@mantine-vue/core 3.2.0 → 3.4.0
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/cjs/index.cjs +626 -200
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +651 -230
- package/esm/index.mjs.map +1 -1
- package/lib/components/ActionBar/ActionBar.context.d.ts +6 -0
- package/lib/components/ActionBar/ActionBar.d.ts +15 -0
- package/lib/components/ActionBar/ActionBar.types.d.ts +59 -0
- package/lib/components/ActionBar/ActionBar.vue.d.ts +35 -0
- package/lib/components/ActionBar/ActionBarCloseButton/ActionBarCloseButton.d.ts +6 -0
- package/lib/components/ActionBar/ActionBarCloseButton/ActionBarCloseButton.types.d.ts +3 -0
- package/lib/components/ActionBar/ActionBarCloseButton/ActionBarCloseButton.vue.d.ts +6 -0
- package/lib/components/ActionBar/ActionBarDivider/ActionBarDivider.d.ts +2 -0
- package/lib/components/ActionBar/ActionBarDivider/ActionBarDivider.types.d.ts +3 -0
- package/lib/components/ActionBar/ActionBarDivider/ActionBarDivider.vue.d.ts +3 -0
- package/lib/components/ActionBar/index.d.ts +3 -0
- package/lib/components/Autocomplete/Autocomplete.d.ts +2 -2
- package/lib/components/Cascader/Cascader.d.ts +2 -2
- package/lib/components/Cascader/Cascader.types.d.ts +6 -0
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.types.d.ts +4 -0
- package/lib/components/ColorInput/ColorInput.d.ts +2 -2
- package/lib/components/ColorInput/ColorInput.types.d.ts +2 -0
- package/lib/components/Combobox/data-utils.d.ts +4 -0
- package/lib/components/Combobox/index.d.ts +1 -1
- package/lib/components/MultiSelect/MultiSelect.d.ts +2 -2
- package/lib/components/Notification/Notification.types.d.ts +2 -1
- package/lib/components/NumberInput/number-input-utils.d.ts +2 -0
- package/lib/components/PasswordInput/PasswordInput.types.d.ts +2 -0
- package/lib/components/PasswordInput/PasswordInput.vue.d.ts +1 -0
- package/lib/components/RollingNumber/RollingNumber.types.d.ts +1 -1
- package/lib/components/Select/Select.d.ts +2 -2
- package/lib/components/Stepper/Stepper.context.d.ts +1 -0
- package/lib/components/Stepper/Stepper.types.d.ts +7 -0
- package/lib/components/Stepper/Stepper.vue.d.ts +1 -0
- package/lib/components/TagsInput/TagsInput.d.ts +2 -2
- package/lib/components/Tooltip/Tooltip.types.d.ts +2 -0
- package/lib/components/TreeSelect/TreeSelect.d.ts +2 -2
- package/lib/components/index.d.ts +1 -0
- package/package.json +3 -3
- package/styles.css +207 -94
- package/styles.layer.css +207 -94
package/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Comment, Fragment, Teleport, Text as Text$1, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createStaticVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, h, inject, isVNode, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onBeforeUpdate, onMounted, onUnmounted, onUpdated, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useSlots, watch, watchEffect, withCtx } from "vue";
|
|
2
|
-
import { DOTS, assignRef, clampUseMovePosition, mergeRefs, normalizeRadialValue, useClickOutside, useClipboard, useCollapse, useElementSize, useFloatingWindow, useFocusReturn, useFocusTrap, useHorizontalCollapse, useId, useLongPress, useMounted, useMove, usePagination, useRadialMove, useReducedMotion, useScrollSpy, useScroller, useUncontrolled, useWindowEvent } from "@mantine-vue/hooks";
|
|
1
|
+
import { Comment, Fragment, Teleport, Text as Text$1, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createStaticVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, h, inject, isVNode, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onBeforeUpdate, onMounted, onUnmounted, onUpdated, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useId, useSlots, watch, watchEffect, withCtx } from "vue";
|
|
2
|
+
import { DOTS, assignRef, clampUseMovePosition, mergeRefs, normalizeRadialValue, useClickOutside, useClipboard, useCollapse, useElementSize, useFloatingWindow, useFocusReturn, useFocusTrap, useHorizontalCollapse, useId as useId$1, useLongPress, useMounted, useMove, usePagination, useRadialMove, useReducedMotion, useScrollSpy, useScroller, useUncontrolled, useWindowEvent } from "@mantine-vue/hooks";
|
|
3
3
|
import { arrow, autoUpdate, flip, hide, inline, limitShift, offset, shift, size, useFloating } from "@floating-ui/vue";
|
|
4
4
|
//#region ../utils/esm/index.mjs
|
|
5
5
|
function keys(object) {
|
|
@@ -1737,7 +1737,7 @@ function hashStyleProps(styles, media) {
|
|
|
1737
1737
|
return `mantine-vue-${Math.abs(hash).toString(36)}`;
|
|
1738
1738
|
}
|
|
1739
1739
|
function useRandomClassName() {
|
|
1740
|
-
return `mantine-vue-${Math.random().toString(36).slice(2, 9)}`;
|
|
1740
|
+
return `mantine-vue-${(getCurrentInstance() ? useId() : Math.random().toString(36).slice(2, 9)).replace(/[^A-Za-z0-9_-]/g, "-")}`;
|
|
1741
1741
|
}
|
|
1742
1742
|
//#endregion
|
|
1743
1743
|
//#region src/core/Box/style-props/style-props-data.ts
|
|
@@ -2615,7 +2615,7 @@ var Overlay_module_default = { root: "_root_qjtu2_1" };
|
|
|
2615
2615
|
//#endregion
|
|
2616
2616
|
//#region src/components/Overlay/Overlay.vue?vue&type=script&setup=true&lang.ts
|
|
2617
2617
|
/** Module scope: created once, not per component instance. */
|
|
2618
|
-
var defaultProps$
|
|
2618
|
+
var defaultProps$72 = { zIndex: getDefaultZIndex("modal") };
|
|
2619
2619
|
var varsResolver$93 = createVarsResolver((_, { gradient, color, backgroundOpacity, blur, radius, zIndex }) => ({ root: {
|
|
2620
2620
|
"--overlay-bg": gradient || (color !== void 0 || backgroundOpacity !== void 0) && rgba(color || "#000", backgroundOpacity ?? .6) || void 0,
|
|
2621
2621
|
"--overlay-filter": blur ? `blur(${rem(blur)})` : void 0,
|
|
@@ -2659,7 +2659,7 @@ var Overlay = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
|
2659
2659
|
setup(__props, { expose: __expose }) {
|
|
2660
2660
|
const rawProps = __props;
|
|
2661
2661
|
const attrs = useAttrs();
|
|
2662
|
-
const props = useProps("Overlay", defaultProps$
|
|
2662
|
+
const props = useProps("Overlay", defaultProps$72, rawProps);
|
|
2663
2663
|
const getStyles = useStyles({
|
|
2664
2664
|
name: "Overlay",
|
|
2665
2665
|
classes: Overlay_module_default,
|
|
@@ -2918,7 +2918,7 @@ var Container_module_default = { root: "_root_1nxsn_1" };
|
|
|
2918
2918
|
//#endregion
|
|
2919
2919
|
//#region src/components/Container/Container.vue?vue&type=script&setup=true&lang.ts
|
|
2920
2920
|
/** Module scope: created once, not per component instance. */
|
|
2921
|
-
var defaultProps$
|
|
2921
|
+
var defaultProps$71 = { strategy: "block" };
|
|
2922
2922
|
var varsResolver$91 = createVarsResolver((_, { size, fluid }) => ({ root: { "--container-size": fluid ? void 0 : getSize(size, "container-size") } }));
|
|
2923
2923
|
//#endregion
|
|
2924
2924
|
//#region src/components/Container/Container.ts
|
|
@@ -2948,7 +2948,7 @@ var Container = factory(/* @__PURE__ */ defineComponent({
|
|
|
2948
2948
|
setup(__props, { expose: __expose }) {
|
|
2949
2949
|
const rawProps = __props;
|
|
2950
2950
|
const attrs = useAttrs();
|
|
2951
|
-
const props = useProps("Container", defaultProps$
|
|
2951
|
+
const props = useProps("Container", defaultProps$71, rawProps);
|
|
2952
2952
|
const getStyles = useStyles({
|
|
2953
2953
|
name: "Container",
|
|
2954
2954
|
classes: Container_module_default,
|
|
@@ -3051,7 +3051,7 @@ var Divider_module_default = {
|
|
|
3051
3051
|
};
|
|
3052
3052
|
//#endregion
|
|
3053
3053
|
//#region src/components/Divider/Divider.vue?vue&type=script&setup=true&lang.ts
|
|
3054
|
-
var defaultProps$
|
|
3054
|
+
var defaultProps$70 = {
|
|
3055
3055
|
orientation: "horizontal",
|
|
3056
3056
|
labelPosition: "center",
|
|
3057
3057
|
variant: "solid"
|
|
@@ -3098,7 +3098,7 @@ var Divider = factory(/* @__PURE__ */ defineComponent({
|
|
|
3098
3098
|
const rawProps = __props;
|
|
3099
3099
|
const attrs = useAttrs();
|
|
3100
3100
|
const slots = useSlots();
|
|
3101
|
-
const props = useProps("Divider", defaultProps$
|
|
3101
|
+
const props = useProps("Divider", defaultProps$70, rawProps);
|
|
3102
3102
|
const getStyles = useStyles({
|
|
3103
3103
|
name: "Divider",
|
|
3104
3104
|
classes: Divider_module_default,
|
|
@@ -3156,7 +3156,7 @@ var varsResolver$88 = createVarsResolver((theme, { variant, lineClamp, gradient,
|
|
|
3156
3156
|
"--text-line-clamp": typeof lineClamp === "number" ? lineClamp.toString() : void 0,
|
|
3157
3157
|
"--text-text-wrap": textWrap
|
|
3158
3158
|
} }));
|
|
3159
|
-
var defaultProps$
|
|
3159
|
+
var defaultProps$69 = { inherit: false };
|
|
3160
3160
|
//#endregion
|
|
3161
3161
|
//#region src/components/Text/Text.ts
|
|
3162
3162
|
var Text = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
@@ -3203,7 +3203,7 @@ var Text = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
|
3203
3203
|
setup(__props, { expose: __expose }) {
|
|
3204
3204
|
const rawProps = __props;
|
|
3205
3205
|
const attrs = useAttrs();
|
|
3206
|
-
const props = useProps("Text", defaultProps$
|
|
3206
|
+
const props = useProps("Text", defaultProps$69, rawProps);
|
|
3207
3207
|
const getStyles = useStyles({
|
|
3208
3208
|
name: props.__staticSelector ?? "Text",
|
|
3209
3209
|
classes: Text_module_default,
|
|
@@ -3258,7 +3258,7 @@ var Text = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
|
3258
3258
|
var Anchor_module_default = { root: "_root_mirc9_1" };
|
|
3259
3259
|
//#endregion
|
|
3260
3260
|
//#region src/components/Anchor/Anchor.vue?vue&type=script&setup=true&lang.ts
|
|
3261
|
-
var defaultProps$
|
|
3261
|
+
var defaultProps$68 = { underline: "hover" };
|
|
3262
3262
|
//#endregion
|
|
3263
3263
|
//#region src/components/Anchor/Anchor.ts
|
|
3264
3264
|
var Anchor = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
@@ -3284,7 +3284,7 @@ var Anchor = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
|
3284
3284
|
setup(__props, { expose: __expose }) {
|
|
3285
3285
|
const rawProps = __props;
|
|
3286
3286
|
const attrs = useAttrs();
|
|
3287
|
-
const props = useProps("Anchor", defaultProps$
|
|
3287
|
+
const props = useProps("Anchor", defaultProps$68, rawProps);
|
|
3288
3288
|
const rootElement = ref(null);
|
|
3289
3289
|
const setRootRef = (node) => {
|
|
3290
3290
|
rootElement.value = node;
|
|
@@ -3353,7 +3353,7 @@ function getTitleSize(order, size) {
|
|
|
3353
3353
|
}
|
|
3354
3354
|
//#endregion
|
|
3355
3355
|
//#region src/components/Title/Title.vue?vue&type=script&setup=true&lang.ts
|
|
3356
|
-
var defaultProps$
|
|
3356
|
+
var defaultProps$67 = { order: 1 };
|
|
3357
3357
|
var varsResolver$87 = createVarsResolver((_, { order, size, lineClamp, textWrap }) => {
|
|
3358
3358
|
const values = getTitleSize(order || 1, size);
|
|
3359
3359
|
return { root: {
|
|
@@ -3387,7 +3387,7 @@ var Title = factory(/* @__PURE__ */ defineComponent({
|
|
|
3387
3387
|
setup(__props, { expose: __expose }) {
|
|
3388
3388
|
const rawProps = __props;
|
|
3389
3389
|
const attrs = useAttrs();
|
|
3390
|
-
const props = useProps("Title", defaultProps$
|
|
3390
|
+
const props = useProps("Title", defaultProps$67, rawProps);
|
|
3391
3391
|
const order = computed(() => props.order ?? 1);
|
|
3392
3392
|
const validOrder = computed(() => [
|
|
3393
3393
|
1,
|
|
@@ -3574,7 +3574,7 @@ function getMarkColor({ color, theme, defaultShade }) {
|
|
|
3574
3574
|
}
|
|
3575
3575
|
//#endregion
|
|
3576
3576
|
//#region src/components/Mark/Mark.vue?vue&type=script&setup=true&lang.ts
|
|
3577
|
-
var defaultProps$
|
|
3577
|
+
var defaultProps$66 = { color: "yellow" };
|
|
3578
3578
|
/** Module scope: created once, not per component instance. */
|
|
3579
3579
|
var varsResolver$84 = createVarsResolver((theme, { color }) => ({ root: {
|
|
3580
3580
|
"--mark-bg-dark": getMarkColor({
|
|
@@ -3608,7 +3608,7 @@ var Mark = factory(/* @__PURE__ */ defineComponent({
|
|
|
3608
3608
|
setup(__props, { expose: __expose }) {
|
|
3609
3609
|
const rawProps = __props;
|
|
3610
3610
|
const attrs = useAttrs();
|
|
3611
|
-
const props = useProps("Mark", defaultProps$
|
|
3611
|
+
const props = useProps("Mark", defaultProps$66, rawProps);
|
|
3612
3612
|
const getStyles = useStyles({
|
|
3613
3613
|
name: "Mark",
|
|
3614
3614
|
classes: Mark_module_default,
|
|
@@ -3789,7 +3789,7 @@ var Skeleton_module_default = {
|
|
|
3789
3789
|
//#endregion
|
|
3790
3790
|
//#region src/components/Skeleton/Skeleton.vue?vue&type=script&setup=true&lang.ts
|
|
3791
3791
|
/** Module scope: created once, not per component instance. */
|
|
3792
|
-
var defaultProps$
|
|
3792
|
+
var defaultProps$65 = {
|
|
3793
3793
|
visible: true,
|
|
3794
3794
|
animate: true
|
|
3795
3795
|
};
|
|
@@ -3835,7 +3835,7 @@ var Skeleton = factory(/* @__PURE__ */ defineComponent({
|
|
|
3835
3835
|
setup(__props, { expose: __expose }) {
|
|
3836
3836
|
const rawProps = __props;
|
|
3837
3837
|
const attrs = useAttrs();
|
|
3838
|
-
const props = useProps("Skeleton", defaultProps$
|
|
3838
|
+
const props = useProps("Skeleton", defaultProps$65, rawProps);
|
|
3839
3839
|
const getStyles = useStyles({
|
|
3840
3840
|
name: "Skeleton",
|
|
3841
3841
|
classes: Skeleton_module_default,
|
|
@@ -3884,7 +3884,7 @@ var varsResolver$80 = createVarsResolver((_, { radius, size }) => ({ root: {
|
|
|
3884
3884
|
"--cs-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
3885
3885
|
"--cs-size": rem(size)
|
|
3886
3886
|
} }));
|
|
3887
|
-
var defaultProps$
|
|
3887
|
+
var defaultProps$64 = { withShadow: true };
|
|
3888
3888
|
//#endregion
|
|
3889
3889
|
//#region src/components/ColorSwatch/ColorSwatch.ts
|
|
3890
3890
|
var ColorSwatch = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
@@ -3914,7 +3914,7 @@ var ColorSwatch = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
|
3914
3914
|
setup(__props, { expose: __expose }) {
|
|
3915
3915
|
const rawProps = __props;
|
|
3916
3916
|
const attrs = useAttrs();
|
|
3917
|
-
const props = useProps("ColorSwatch", defaultProps$
|
|
3917
|
+
const props = useProps("ColorSwatch", defaultProps$64, rawProps);
|
|
3918
3918
|
const getStyles = useStyles({
|
|
3919
3919
|
name: "ColorSwatch",
|
|
3920
3920
|
props,
|
|
@@ -3968,7 +3968,7 @@ var _hoisted_2$7 = [
|
|
|
3968
3968
|
"aria-label"
|
|
3969
3969
|
];
|
|
3970
3970
|
var _hoisted_3$2 = ["name", "value"];
|
|
3971
|
-
var defaultProps$
|
|
3971
|
+
var defaultProps$63 = {
|
|
3972
3972
|
step: 1,
|
|
3973
3973
|
withLabel: true
|
|
3974
3974
|
};
|
|
@@ -4024,7 +4024,7 @@ var AngleSlider = factory(/* @__PURE__ */ defineComponent({
|
|
|
4024
4024
|
const props_ = __props;
|
|
4025
4025
|
const emit = __emit;
|
|
4026
4026
|
const attrs = useAttrs();
|
|
4027
|
-
const props = useProps("AngleSlider", defaultProps$
|
|
4027
|
+
const props = useProps("AngleSlider", defaultProps$63, props_);
|
|
4028
4028
|
const rootRef = ref(null);
|
|
4029
4029
|
const [value, setValue] = useUncontrolled({
|
|
4030
4030
|
value: () => props.modelValue,
|
|
@@ -4074,7 +4074,7 @@ var AngleSlider = factory(/* @__PURE__ */ defineComponent({
|
|
|
4074
4074
|
}
|
|
4075
4075
|
function handleKeyDown(event) {
|
|
4076
4076
|
if (props.disabled) return;
|
|
4077
|
-
const step = props.step ?? defaultProps$
|
|
4077
|
+
const step = props.step ?? defaultProps$63.step;
|
|
4078
4078
|
let nextValue = value.value;
|
|
4079
4079
|
if (event.key === "ArrowLeft" || event.key === "ArrowDown") {
|
|
4080
4080
|
event.preventDefault();
|
|
@@ -4762,7 +4762,7 @@ var ActionIcon_module_default = {
|
|
|
4762
4762
|
};
|
|
4763
4763
|
//#endregion
|
|
4764
4764
|
//#region src/components/ActionIcon/ActionIconGroup/ActionIconGroup.vue?vue&type=script&setup=true&lang.ts
|
|
4765
|
-
var defaultProps$
|
|
4765
|
+
var defaultProps$62 = { orientation: "horizontal" };
|
|
4766
4766
|
var varsResolver$76 = createVarsResolver((_, { borderWidth }) => ({ group: { "--ai-border-width": rem(borderWidth) } }));
|
|
4767
4767
|
//#endregion
|
|
4768
4768
|
//#region src/components/ActionIcon/ActionIconGroup/ActionIconGroup.ts
|
|
@@ -4785,7 +4785,7 @@ var ActionIconGroup = factory(/* @__PURE__ */ defineComponent({
|
|
|
4785
4785
|
setup(__props, { expose: __expose }) {
|
|
4786
4786
|
const rawProps = __props;
|
|
4787
4787
|
const attrs = useAttrs();
|
|
4788
|
-
const props = useProps("ActionIconGroup", defaultProps$
|
|
4788
|
+
const props = useProps("ActionIconGroup", defaultProps$62, rawProps);
|
|
4789
4789
|
const getStyles = useStyles({
|
|
4790
4790
|
name: "ActionIconGroup",
|
|
4791
4791
|
props,
|
|
@@ -5065,7 +5065,7 @@ var CloseIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
5065
5065
|
var CloseButton_module_default = { root: "_root_uv1i7_1" };
|
|
5066
5066
|
//#endregion
|
|
5067
5067
|
//#region src/components/CloseButton/CloseButton.vue?vue&type=script&setup=true&lang.ts
|
|
5068
|
-
var defaultProps$
|
|
5068
|
+
var defaultProps$61 = { variant: "subtle" };
|
|
5069
5069
|
var varsResolver$73 = createVarsResolver((_, { size, radius, iconSize }) => ({ root: {
|
|
5070
5070
|
"--cb-size": getSize(size, "cb-size"),
|
|
5071
5071
|
"--cb-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
@@ -5106,7 +5106,7 @@ var CloseButton = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
|
5106
5106
|
const rawProps = __props;
|
|
5107
5107
|
const attrs = useAttrs();
|
|
5108
5108
|
const slots = useSlots();
|
|
5109
|
-
const props = useProps("CloseButton", defaultProps$
|
|
5109
|
+
const props = useProps("CloseButton", defaultProps$61, rawProps);
|
|
5110
5110
|
const getStyles = useStyles({
|
|
5111
5111
|
name: props.__staticSelector || "CloseButton",
|
|
5112
5112
|
props,
|
|
@@ -5398,7 +5398,7 @@ var Button_default = /* @__PURE__ */ defineComponent({
|
|
|
5398
5398
|
});
|
|
5399
5399
|
//#endregion
|
|
5400
5400
|
//#region src/components/Button/ButtonGroup/ButtonGroup.vue?vue&type=script&setup=true&lang.ts
|
|
5401
|
-
var defaultProps$
|
|
5401
|
+
var defaultProps$60 = { orientation: "horizontal" };
|
|
5402
5402
|
var varsResolver$71 = createVarsResolver((_, { borderWidth }) => ({ group: { "--button-border-width": rem(borderWidth) } }));
|
|
5403
5403
|
//#endregion
|
|
5404
5404
|
//#region src/components/Button/ButtonGroup/ButtonGroup.ts
|
|
@@ -5421,7 +5421,7 @@ var ButtonGroup = factory(/* @__PURE__ */ defineComponent({
|
|
|
5421
5421
|
setup(__props, { expose: __expose }) {
|
|
5422
5422
|
const rawProps = __props;
|
|
5423
5423
|
const attrs = useAttrs();
|
|
5424
|
-
const props = useProps("ButtonGroup", defaultProps$
|
|
5424
|
+
const props = useProps("ButtonGroup", defaultProps$60, rawProps);
|
|
5425
5425
|
const getStyles = useStyles({
|
|
5426
5426
|
name: "ButtonGroup",
|
|
5427
5427
|
props,
|
|
@@ -5630,7 +5630,7 @@ var Burger = factory(/* @__PURE__ */ defineComponent({
|
|
|
5630
5630
|
});
|
|
5631
5631
|
//#endregion
|
|
5632
5632
|
//#region src/components/Collapse/Collapse.vue?vue&type=script&setup=true&lang.ts
|
|
5633
|
-
var defaultProps$
|
|
5633
|
+
var defaultProps$59 = {
|
|
5634
5634
|
transitionDuration: 200,
|
|
5635
5635
|
transitionTimingFunction: "ease",
|
|
5636
5636
|
animateOpacity: true,
|
|
@@ -5669,11 +5669,11 @@ var Collapse = factory(/* @__PURE__ */ defineComponent({
|
|
|
5669
5669
|
const env = useMantineEnv();
|
|
5670
5670
|
const theme = useMantineTheme();
|
|
5671
5671
|
const shouldReduceMotion = useReducedMotion(false, { getInitialValueInEffect: false });
|
|
5672
|
-
const transitionDuration = computed(() => props.transitionDuration ?? defaultProps$
|
|
5673
|
-
const transitionTimingFunction = computed(() => props.transitionTimingFunction ?? defaultProps$
|
|
5674
|
-
const animateOpacity = computed(() => props.animateOpacity ?? defaultProps$
|
|
5675
|
-
const orientation = computed(() => props.orientation ?? defaultProps$
|
|
5676
|
-
const keepMounted = computed(() => props.keepMounted ?? defaultProps$
|
|
5672
|
+
const transitionDuration = computed(() => props.transitionDuration ?? defaultProps$59.transitionDuration);
|
|
5673
|
+
const transitionTimingFunction = computed(() => props.transitionTimingFunction ?? defaultProps$59.transitionTimingFunction);
|
|
5674
|
+
const animateOpacity = computed(() => props.animateOpacity ?? defaultProps$59.animateOpacity);
|
|
5675
|
+
const orientation = computed(() => props.orientation ?? defaultProps$59.orientation);
|
|
5676
|
+
const keepMounted = computed(() => props.keepMounted ?? defaultProps$59.keepMounted);
|
|
5677
5677
|
const duration = computed(() => theme.value.respectReducedMotion && shouldReduceMotion.value ? 0 : transitionDuration.value);
|
|
5678
5678
|
const collapseInput = {
|
|
5679
5679
|
expanded: () => props.expanded,
|
|
@@ -5725,7 +5725,7 @@ var Collapse = factory(/* @__PURE__ */ defineComponent({
|
|
|
5725
5725
|
}));
|
|
5726
5726
|
//#endregion
|
|
5727
5727
|
//#region src/components/CopyButton/CopyButton.vue?vue&type=script&setup=true&lang.ts
|
|
5728
|
-
var defaultProps$
|
|
5728
|
+
var defaultProps$58 = { timeout: 1e3 };
|
|
5729
5729
|
//#endregion
|
|
5730
5730
|
//#region src/components/CopyButton/CopyButton.vue
|
|
5731
5731
|
var CopyButton_default = /* @__PURE__ */ defineComponent({
|
|
@@ -5739,7 +5739,7 @@ var CopyButton_default = /* @__PURE__ */ defineComponent({
|
|
|
5739
5739
|
setup(__props) {
|
|
5740
5740
|
const rawProps = __props;
|
|
5741
5741
|
const attrs = useAttrs();
|
|
5742
|
-
const props = useProps("CopyButton", defaultProps$
|
|
5742
|
+
const props = useProps("CopyButton", defaultProps$58, rawProps);
|
|
5743
5743
|
const clipboard = useClipboard({ timeout: props.timeout });
|
|
5744
5744
|
const copy = () => clipboard.copy(props.value);
|
|
5745
5745
|
return (_ctx, _cache) => {
|
|
@@ -5758,7 +5758,7 @@ var LoadingOverlay_module_default = {
|
|
|
5758
5758
|
};
|
|
5759
5759
|
//#endregion
|
|
5760
5760
|
//#region src/components/LoadingOverlay/LoadingOverlay.vue?vue&type=script&setup=true&lang.ts
|
|
5761
|
-
var defaultProps$
|
|
5761
|
+
var defaultProps$57 = {
|
|
5762
5762
|
transitionProps: {
|
|
5763
5763
|
transition: "fade",
|
|
5764
5764
|
duration: 0
|
|
@@ -5801,7 +5801,7 @@ var LoadingOverlay = factory(/* @__PURE__ */ defineComponent({
|
|
|
5801
5801
|
const rawProps = __props;
|
|
5802
5802
|
const emit = __emit;
|
|
5803
5803
|
const attrs = useAttrs();
|
|
5804
|
-
const props = useProps("LoadingOverlay", defaultProps$
|
|
5804
|
+
const props = useProps("LoadingOverlay", defaultProps$57, rawProps);
|
|
5805
5805
|
const theme = useMantineTheme();
|
|
5806
5806
|
const getStyles = useStyles({
|
|
5807
5807
|
name: "LoadingOverlay",
|
|
@@ -5816,11 +5816,11 @@ var LoadingOverlay = factory(/* @__PURE__ */ defineComponent({
|
|
|
5816
5816
|
unstyled: props.unstyled
|
|
5817
5817
|
});
|
|
5818
5818
|
const overlayProps = computed(() => ({
|
|
5819
|
-
...defaultProps$
|
|
5819
|
+
...defaultProps$57.overlayProps,
|
|
5820
5820
|
...props.overlayProps
|
|
5821
5821
|
}));
|
|
5822
5822
|
const transitionProps = computed(() => ({
|
|
5823
|
-
...defaultProps$
|
|
5823
|
+
...defaultProps$57.transitionProps,
|
|
5824
5824
|
...props.transitionProps
|
|
5825
5825
|
}));
|
|
5826
5826
|
const rootElement = ref(null);
|
|
@@ -5946,7 +5946,7 @@ var CardSection = polymorphicFactory(CardSection_default, { classes: Card_module
|
|
|
5946
5946
|
//#endregion
|
|
5947
5947
|
//#region src/components/Card/Card.vue?vue&type=script&setup=true&lang.ts
|
|
5948
5948
|
var varsResolver$67 = createVarsResolver((_, { padding }) => ({ root: { "--card-padding": getSpacing(padding) } }));
|
|
5949
|
-
var defaultProps$
|
|
5949
|
+
var defaultProps$56 = { orientation: "vertical" };
|
|
5950
5950
|
//#endregion
|
|
5951
5951
|
//#region src/components/Card/Card.ts
|
|
5952
5952
|
var Card = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
@@ -5979,7 +5979,7 @@ var Card = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
|
5979
5979
|
const rawProps = __props;
|
|
5980
5980
|
const attrs = useAttrs();
|
|
5981
5981
|
const slots = useSlots();
|
|
5982
|
-
const props = useProps("Card", defaultProps$
|
|
5982
|
+
const props = useProps("Card", defaultProps$56, rawProps);
|
|
5983
5983
|
const getStyles = useStyles({
|
|
5984
5984
|
name: "Card",
|
|
5985
5985
|
props,
|
|
@@ -6119,7 +6119,7 @@ var Alert = factory(/* @__PURE__ */ defineComponent({
|
|
|
6119
6119
|
const slots = useSlots();
|
|
6120
6120
|
const attrs = useAttrs();
|
|
6121
6121
|
const props = useProps("Alert", null, rawProps);
|
|
6122
|
-
const rootId = useId(props.id);
|
|
6122
|
+
const rootId = useId$1(props.id);
|
|
6123
6123
|
const getStyles = useStyles({
|
|
6124
6124
|
name: "Alert",
|
|
6125
6125
|
props,
|
|
@@ -6194,7 +6194,7 @@ var Blockquote_module_default = {
|
|
|
6194
6194
|
};
|
|
6195
6195
|
//#endregion
|
|
6196
6196
|
//#region src/components/Blockquote/Blockquote.vue?vue&type=script&setup=true&lang.ts
|
|
6197
|
-
var defaultProps$
|
|
6197
|
+
var defaultProps$55 = { iconSize: 48 };
|
|
6198
6198
|
var varsResolver$65 = createVarsResolver((theme, { color, iconSize, radius, textWrap }) => {
|
|
6199
6199
|
const darkParsed = parseThemeColor({
|
|
6200
6200
|
color: color || theme.primaryColor,
|
|
@@ -6262,7 +6262,7 @@ var Blockquote = factory(/* @__PURE__ */ defineComponent({
|
|
|
6262
6262
|
const rawProps = __props;
|
|
6263
6263
|
const attrs = useAttrs();
|
|
6264
6264
|
const slots = useSlots();
|
|
6265
|
-
const props = useProps("Blockquote", defaultProps$
|
|
6265
|
+
const props = useProps("Blockquote", defaultProps$55, rawProps);
|
|
6266
6266
|
const getStyles = useStyles({
|
|
6267
6267
|
name: "Blockquote",
|
|
6268
6268
|
props,
|
|
@@ -6308,7 +6308,7 @@ var Breadcrumbs_module_default = {
|
|
|
6308
6308
|
//#endregion
|
|
6309
6309
|
//#region src/components/Breadcrumbs/Breadcrumbs.vue?vue&type=script&setup=true&lang.ts
|
|
6310
6310
|
var varsResolver$64 = createVarsResolver((_, { separatorMargin }) => ({ root: { "--bc-separator-margin": getSpacing(separatorMargin) } }));
|
|
6311
|
-
var defaultProps$
|
|
6311
|
+
var defaultProps$54 = { separator: "/" };
|
|
6312
6312
|
//#endregion
|
|
6313
6313
|
//#region src/components/Breadcrumbs/Breadcrumbs.ts
|
|
6314
6314
|
var Breadcrumbs = factory(/* @__PURE__ */ defineComponent({
|
|
@@ -6342,7 +6342,7 @@ var Breadcrumbs = factory(/* @__PURE__ */ defineComponent({
|
|
|
6342
6342
|
const rawProps = __props;
|
|
6343
6343
|
const attrs = useAttrs();
|
|
6344
6344
|
const slots = useSlots();
|
|
6345
|
-
const props = useProps("Breadcrumbs", defaultProps$
|
|
6345
|
+
const props = useProps("Breadcrumbs", defaultProps$54, rawProps);
|
|
6346
6346
|
const getStyles = useStyles({
|
|
6347
6347
|
name: "Breadcrumbs",
|
|
6348
6348
|
props,
|
|
@@ -6480,7 +6480,7 @@ var varsResolver$63 = createVarsResolver((_, { size, spacing }) => ({ root: {
|
|
|
6480
6480
|
"--list-lh": getLineHeight(size),
|
|
6481
6481
|
"--list-spacing": getSpacing(spacing)
|
|
6482
6482
|
} }));
|
|
6483
|
-
var defaultProps$
|
|
6483
|
+
var defaultProps$53 = { type: "unordered" };
|
|
6484
6484
|
//#endregion
|
|
6485
6485
|
//#region src/components/List/List.ts
|
|
6486
6486
|
var List = factory(/* @__PURE__ */ defineComponent({
|
|
@@ -6534,7 +6534,7 @@ var List = factory(/* @__PURE__ */ defineComponent({
|
|
|
6534
6534
|
const rawProps = __props;
|
|
6535
6535
|
const attrs = useAttrs();
|
|
6536
6536
|
const slots = useSlots();
|
|
6537
|
-
const props = useProps("List", defaultProps$
|
|
6537
|
+
const props = useProps("List", defaultProps$53, rawProps);
|
|
6538
6538
|
const getStyles = useStyles({
|
|
6539
6539
|
name: "List",
|
|
6540
6540
|
props,
|
|
@@ -6639,7 +6639,7 @@ function getPositionVariables(position = "top-end", offset = 0) {
|
|
|
6639
6639
|
}
|
|
6640
6640
|
//#endregion
|
|
6641
6641
|
//#region src/components/Indicator/Indicator.vue?vue&type=script&setup=true&lang.ts
|
|
6642
|
-
var defaultProps$
|
|
6642
|
+
var defaultProps$52 = {
|
|
6643
6643
|
position: "top-end",
|
|
6644
6644
|
offset: 0,
|
|
6645
6645
|
showZero: true,
|
|
@@ -6709,7 +6709,7 @@ var Indicator = factory(/* @__PURE__ */ defineComponent({
|
|
|
6709
6709
|
const rawProps = __props;
|
|
6710
6710
|
const attrs = useAttrs();
|
|
6711
6711
|
const slots = useSlots();
|
|
6712
|
-
const props = useProps("Indicator", defaultProps$
|
|
6712
|
+
const props = useProps("Indicator", defaultProps$52, rawProps);
|
|
6713
6713
|
const getStyles = useStyles({
|
|
6714
6714
|
name: "Indicator",
|
|
6715
6715
|
props,
|
|
@@ -7131,7 +7131,7 @@ var SimpleGrid_module_default = {
|
|
|
7131
7131
|
};
|
|
7132
7132
|
//#endregion
|
|
7133
7133
|
//#region src/components/SimpleGrid/SimpleGrid.vue?vue&type=script&setup=true&lang.ts
|
|
7134
|
-
var defaultProps$
|
|
7134
|
+
var defaultProps$51 = {
|
|
7135
7135
|
cols: 1,
|
|
7136
7136
|
spacing: "md",
|
|
7137
7137
|
type: "media"
|
|
@@ -7162,7 +7162,7 @@ var SimpleGrid = factory(/* @__PURE__ */ defineComponent({
|
|
|
7162
7162
|
setup(__props, { expose: __expose }) {
|
|
7163
7163
|
const rawProps = __props;
|
|
7164
7164
|
const attrs = useAttrs();
|
|
7165
|
-
const props = useProps("SimpleGrid", defaultProps$
|
|
7165
|
+
const props = useProps("SimpleGrid", defaultProps$51, rawProps);
|
|
7166
7166
|
const getStyles = useStyles({
|
|
7167
7167
|
name: "SimpleGrid",
|
|
7168
7168
|
props,
|
|
@@ -7319,7 +7319,7 @@ var GridColVariables_default = /* @__PURE__ */ defineComponent({
|
|
|
7319
7319
|
});
|
|
7320
7320
|
//#endregion
|
|
7321
7321
|
//#region src/components/Grid/GridCol/GridCol.vue?vue&type=script&setup=true&lang.ts
|
|
7322
|
-
var defaultProps$
|
|
7322
|
+
var defaultProps$50 = { span: 12 };
|
|
7323
7323
|
//#endregion
|
|
7324
7324
|
//#region src/components/Grid/GridCol/GridCol.vue
|
|
7325
7325
|
var GridCol_default = /* @__PURE__ */ defineComponent({
|
|
@@ -7339,7 +7339,7 @@ var GridCol_default = /* @__PURE__ */ defineComponent({
|
|
|
7339
7339
|
setup(__props, { expose: __expose }) {
|
|
7340
7340
|
const rawProps = __props;
|
|
7341
7341
|
const attrs = useAttrs();
|
|
7342
|
-
const props = useProps("GridCol", defaultProps$
|
|
7342
|
+
const props = useProps("GridCol", defaultProps$50, rawProps);
|
|
7343
7343
|
const ctx = useGridContext();
|
|
7344
7344
|
const responsiveClassName = useRandomClassName();
|
|
7345
7345
|
const rootElement = ref(null);
|
|
@@ -7453,7 +7453,7 @@ var varsResolver$59 = createVarsResolver((_, { justify, align, overflow }) => ({
|
|
|
7453
7453
|
"--grid-align": align,
|
|
7454
7454
|
"--grid-overflow": overflow
|
|
7455
7455
|
} }));
|
|
7456
|
-
var defaultProps$
|
|
7456
|
+
var defaultProps$49 = {
|
|
7457
7457
|
gap: "md",
|
|
7458
7458
|
columns: 12
|
|
7459
7459
|
};
|
|
@@ -7489,7 +7489,7 @@ var Grid = factory(/* @__PURE__ */ defineComponent({
|
|
|
7489
7489
|
setup(__props, { expose: __expose }) {
|
|
7490
7490
|
const rawProps = __props;
|
|
7491
7491
|
const attrs = useAttrs();
|
|
7492
|
-
const props = useProps("Grid", defaultProps$
|
|
7492
|
+
const props = useProps("Grid", defaultProps$49, rawProps);
|
|
7493
7493
|
const responsiveClassName = useRandomClassName();
|
|
7494
7494
|
const getStyles = useStyles({
|
|
7495
7495
|
name: "Grid",
|
|
@@ -7622,7 +7622,7 @@ var ScrollAreaCorner = /* @__PURE__ */ defineComponent({
|
|
|
7622
7622
|
});
|
|
7623
7623
|
//#endregion
|
|
7624
7624
|
//#region src/components/ScrollArea/ScrollAreaRoot/ScrollAreaRoot.vue?vue&type=script&setup=true&lang.ts
|
|
7625
|
-
var defaultProps$
|
|
7625
|
+
var defaultProps$48 = {
|
|
7626
7626
|
scrollHideDelay: 1e3,
|
|
7627
7627
|
type: "hover"
|
|
7628
7628
|
};
|
|
@@ -7652,7 +7652,7 @@ var ScrollAreaRoot = factory(/* @__PURE__ */ defineComponent({
|
|
|
7652
7652
|
*/
|
|
7653
7653
|
const rawProps = __props;
|
|
7654
7654
|
const attrs = useAttrs();
|
|
7655
|
-
const props = useProps("ScrollAreaRoot", defaultProps$
|
|
7655
|
+
const props = useProps("ScrollAreaRoot", defaultProps$48, rawProps);
|
|
7656
7656
|
const viewport = ref(null);
|
|
7657
7657
|
const content = ref(null);
|
|
7658
7658
|
const scrollbarX = ref(null);
|
|
@@ -7660,8 +7660,8 @@ var ScrollAreaRoot = factory(/* @__PURE__ */ defineComponent({
|
|
|
7660
7660
|
const cornerWidth = ref(0);
|
|
7661
7661
|
const cornerHeight = ref(0);
|
|
7662
7662
|
provideScrollAreaContext({
|
|
7663
|
-
type: props.type ?? defaultProps$
|
|
7664
|
-
scrollHideDelay: props.scrollHideDelay ?? defaultProps$
|
|
7663
|
+
type: props.type ?? defaultProps$48.type,
|
|
7664
|
+
scrollHideDelay: props.scrollHideDelay ?? defaultProps$48.scrollHideDelay,
|
|
7665
7665
|
scrollbars: props.scrollbars,
|
|
7666
7666
|
viewport,
|
|
7667
7667
|
onViewportChange: (node) => {
|
|
@@ -8343,7 +8343,7 @@ var ScrollArea_module_default = {
|
|
|
8343
8343
|
};
|
|
8344
8344
|
//#endregion
|
|
8345
8345
|
//#region src/components/ScrollArea/ScrollArea.vue?vue&type=script&setup=true&lang.ts
|
|
8346
|
-
var defaultProps$
|
|
8346
|
+
var defaultProps$47 = {
|
|
8347
8347
|
scrollHideDelay: 1e3,
|
|
8348
8348
|
type: "hover",
|
|
8349
8349
|
scrollbars: "xy"
|
|
@@ -8408,7 +8408,7 @@ var ScrollArea_default = /* @__PURE__ */ defineComponent({
|
|
|
8408
8408
|
const rawProps = __props;
|
|
8409
8409
|
const emit = __emit;
|
|
8410
8410
|
const attrs = useAttrs();
|
|
8411
|
-
const props = useProps("ScrollArea", defaultProps$
|
|
8411
|
+
const props = useProps("ScrollArea", defaultProps$47, rawProps);
|
|
8412
8412
|
const viewport = ref(null);
|
|
8413
8413
|
const content = ref(null);
|
|
8414
8414
|
const hovered = ref(false);
|
|
@@ -8743,7 +8743,7 @@ var Accordion_module_default = {
|
|
|
8743
8743
|
//#endregion
|
|
8744
8744
|
//#region src/components/Accordion/Accordion.vue?vue&type=script&setup=true&lang.ts
|
|
8745
8745
|
var VALUE_ERROR$1 = "Accordion.Item component was rendered with invalid value or without value";
|
|
8746
|
-
var defaultProps$
|
|
8746
|
+
var defaultProps$46 = {
|
|
8747
8747
|
multiple: false,
|
|
8748
8748
|
loop: true,
|
|
8749
8749
|
disableChevronRotation: false,
|
|
@@ -8825,8 +8825,8 @@ var Accordion_default = /* @__PURE__ */ defineComponent({
|
|
|
8825
8825
|
const emit = __emit;
|
|
8826
8826
|
const slots = useSlots();
|
|
8827
8827
|
const attrs = useAttrs();
|
|
8828
|
-
const props = useProps("Accordion", defaultProps$
|
|
8829
|
-
const uid = useId(props.id);
|
|
8828
|
+
const props = useProps("Accordion", defaultProps$46, rawProps);
|
|
8829
|
+
const uid = useId$1(props.id);
|
|
8830
8830
|
const [currentValue, setCurrentValue] = useUncontrolled({
|
|
8831
8831
|
value: () => props.value,
|
|
8832
8832
|
defaultValue: props.defaultValue,
|
|
@@ -9223,7 +9223,7 @@ var Scroller_module_default = {
|
|
|
9223
9223
|
//#endregion
|
|
9224
9224
|
//#region src/components/Scroller/Scroller.vue?vue&type=script&setup=true&lang.ts
|
|
9225
9225
|
var _hoisted_1$31 = ["data-draggable"];
|
|
9226
|
-
var defaultProps$
|
|
9226
|
+
var defaultProps$45 = {
|
|
9227
9227
|
scrollAmount: 200,
|
|
9228
9228
|
draggable: true
|
|
9229
9229
|
};
|
|
@@ -9295,7 +9295,7 @@ var Scroller = factory(/* @__PURE__ */ defineComponent({
|
|
|
9295
9295
|
const rawProps = __props;
|
|
9296
9296
|
const slots = useSlots();
|
|
9297
9297
|
const attrs = useAttrs();
|
|
9298
|
-
const props = useProps("Scroller", defaultProps$
|
|
9298
|
+
const props = useProps("Scroller", defaultProps$45, rawProps);
|
|
9299
9299
|
const scroller = useScroller({
|
|
9300
9300
|
scrollAmount: props.scrollAmount,
|
|
9301
9301
|
draggable: props.draggable
|
|
@@ -9701,7 +9701,7 @@ var TableDataRenderer = defineComponent({
|
|
|
9701
9701
|
});
|
|
9702
9702
|
//#endregion
|
|
9703
9703
|
//#region src/components/Table/Table.vue?vue&type=script&setup=true&lang.ts
|
|
9704
|
-
var defaultProps$
|
|
9704
|
+
var defaultProps$44 = {
|
|
9705
9705
|
withRowBorders: true,
|
|
9706
9706
|
verticalSpacing: 7
|
|
9707
9707
|
};
|
|
@@ -9781,7 +9781,7 @@ var Table_default = /* @__PURE__ */ defineComponent({
|
|
|
9781
9781
|
const rawProps = __props;
|
|
9782
9782
|
const slots = useSlots();
|
|
9783
9783
|
const attrs = useAttrs();
|
|
9784
|
-
const props = useProps("Table", defaultProps$
|
|
9784
|
+
const props = useProps("Table", defaultProps$44, rawProps);
|
|
9785
9785
|
const getStyles = useStyles({
|
|
9786
9786
|
name: "Table",
|
|
9787
9787
|
props,
|
|
@@ -9852,7 +9852,7 @@ var Table_default = /* @__PURE__ */ defineComponent({
|
|
|
9852
9852
|
});
|
|
9853
9853
|
//#endregion
|
|
9854
9854
|
//#region src/components/Table/TableScrollContainer.vue?vue&type=script&setup=true&lang.ts
|
|
9855
|
-
var defaultProps$
|
|
9855
|
+
var defaultProps$43 = { type: "scrollarea" };
|
|
9856
9856
|
var varsResolver$54 = createVarsResolver((_, { minWidth, maxHeight, type }) => ({ scrollContainer: {
|
|
9857
9857
|
"--table-min-width": rem(minWidth),
|
|
9858
9858
|
"--table-max-height": rem(maxHeight),
|
|
@@ -9881,7 +9881,7 @@ var TableScrollContainer = factory(/* @__PURE__ */ defineComponent({
|
|
|
9881
9881
|
setup(__props, { expose: __expose }) {
|
|
9882
9882
|
const rawProps = __props;
|
|
9883
9883
|
const attrs = useAttrs();
|
|
9884
|
-
const props = useProps("TableScrollContainer", defaultProps$
|
|
9884
|
+
const props = useProps("TableScrollContainer", defaultProps$43, rawProps);
|
|
9885
9885
|
const getStyles = useStyles({
|
|
9886
9886
|
name: "TableScrollContainer",
|
|
9887
9887
|
props,
|
|
@@ -10074,7 +10074,7 @@ var ProgressRoot = factory(/* @__PURE__ */ defineComponent({
|
|
|
10074
10074
|
});
|
|
10075
10075
|
//#endregion
|
|
10076
10076
|
//#region src/components/Progress/ProgressSection/ProgressSection.vue?vue&type=script&setup=true&lang.ts
|
|
10077
|
-
var defaultProps$
|
|
10077
|
+
var defaultProps$42 = { withAria: true };
|
|
10078
10078
|
//#endregion
|
|
10079
10079
|
//#region src/components/Progress/ProgressSection/ProgressSection.ts
|
|
10080
10080
|
var ProgressSection = factory(/* @__PURE__ */ defineComponent({
|
|
@@ -10108,7 +10108,7 @@ var ProgressSection = factory(/* @__PURE__ */ defineComponent({
|
|
|
10108
10108
|
setup(__props, { expose: __expose }) {
|
|
10109
10109
|
const rawProps = __props;
|
|
10110
10110
|
const attrs = useAttrs();
|
|
10111
|
-
const props = useProps("ProgressSection", defaultProps$
|
|
10111
|
+
const props = useProps("ProgressSection", defaultProps$42, rawProps);
|
|
10112
10112
|
const ctx = useProgressContext();
|
|
10113
10113
|
const theme = useMantineTheme();
|
|
10114
10114
|
const ariaAttributes = computed(() => props.withAria === false ? {} : {
|
|
@@ -10364,7 +10364,7 @@ var RingProgress_module_default = {
|
|
|
10364
10364
|
//#endregion
|
|
10365
10365
|
//#region src/components/RingProgress/RingProgress.vue?vue&type=script&setup=true&lang.ts
|
|
10366
10366
|
var _hoisted_1$30 = ["viewBox"];
|
|
10367
|
-
var defaultProps$
|
|
10367
|
+
var defaultProps$41 = {
|
|
10368
10368
|
size: 120,
|
|
10369
10369
|
thickness: 12,
|
|
10370
10370
|
startAngle: 270
|
|
@@ -10373,7 +10373,7 @@ var defaultProps$40 = {
|
|
|
10373
10373
|
var varsResolver$52 = createVarsResolver((_, { size, thickness, transitionDuration, startAngle }) => ({
|
|
10374
10374
|
root: {
|
|
10375
10375
|
"--rp-size": rem(size),
|
|
10376
|
-
"--rp-label-offset": rem((thickness ?? defaultProps$
|
|
10376
|
+
"--rp-label-offset": rem((thickness ?? defaultProps$41.thickness) * 2),
|
|
10377
10377
|
"--rp-transition-duration": transitionDuration ? `${transitionDuration}ms` : void 0
|
|
10378
10378
|
},
|
|
10379
10379
|
svg: { "--rp-start-angle": `${startAngle}deg` }
|
|
@@ -10434,7 +10434,7 @@ var RingProgress = factory(/* @__PURE__ */ defineComponent({
|
|
|
10434
10434
|
const rawProps = __props;
|
|
10435
10435
|
const slots = useSlots();
|
|
10436
10436
|
const attrs = useAttrs();
|
|
10437
|
-
const props = useProps("RingProgress", defaultProps$
|
|
10437
|
+
const props = useProps("RingProgress", defaultProps$41, rawProps);
|
|
10438
10438
|
const getStyles = useStyles({
|
|
10439
10439
|
name: "RingProgress",
|
|
10440
10440
|
props,
|
|
@@ -10447,8 +10447,8 @@ var RingProgress = factory(/* @__PURE__ */ defineComponent({
|
|
|
10447
10447
|
vars: props.vars,
|
|
10448
10448
|
varsResolver: varsResolver$52
|
|
10449
10449
|
});
|
|
10450
|
-
const size = computed(() => props.size ?? defaultProps$
|
|
10451
|
-
const thickness = computed(() => props.thickness ?? defaultProps$
|
|
10450
|
+
const size = computed(() => props.size ?? defaultProps$41.size);
|
|
10451
|
+
const thickness = computed(() => props.thickness ?? defaultProps$41.thickness);
|
|
10452
10452
|
const clampedThickness = computed(() => getClampedThickness(thickness.value, size.value));
|
|
10453
10453
|
const label = computed(() => slots.label?.() ?? props.label);
|
|
10454
10454
|
/**
|
|
@@ -10738,16 +10738,17 @@ function getRenderSlotsFromValues({ value, previousValue, prefix, suffix, decima
|
|
|
10738
10738
|
});
|
|
10739
10739
|
}
|
|
10740
10740
|
var RollingNumber_module_default = {
|
|
10741
|
-
root: "
|
|
10742
|
-
|
|
10743
|
-
|
|
10744
|
-
|
|
10745
|
-
|
|
10741
|
+
root: "_root_j0d70_1",
|
|
10742
|
+
copyValue: "_copyValue_j0d70_12",
|
|
10743
|
+
digit: "_digit_j0d70_22",
|
|
10744
|
+
digitColumn: "_digitColumn_j0d70_43",
|
|
10745
|
+
"mantine-rolling-number-roll": "_mantine-rolling-number-roll_j0d70_1",
|
|
10746
|
+
char: "_char_j0d70_56"
|
|
10746
10747
|
};
|
|
10747
10748
|
//#endregion
|
|
10748
10749
|
//#region src/components/RollingNumber/RollingNumber.vue?vue&type=script&setup=true&lang.ts
|
|
10749
10750
|
var _hoisted_1$28 = ["data-empty"];
|
|
10750
|
-
var defaultProps$
|
|
10751
|
+
var defaultProps$40 = {
|
|
10751
10752
|
animationDuration: 600,
|
|
10752
10753
|
timingFunction: "ease",
|
|
10753
10754
|
decimalSeparator: ".",
|
|
@@ -10801,7 +10802,7 @@ var RollingNumber = factory(/* @__PURE__ */ defineComponent({
|
|
|
10801
10802
|
setup(__props, { expose: __expose }) {
|
|
10802
10803
|
const rawProps = __props;
|
|
10803
10804
|
const attrs = useAttrs();
|
|
10804
|
-
const props = useProps("RollingNumber", defaultProps$
|
|
10805
|
+
const props = useProps("RollingNumber", defaultProps$40, rawProps);
|
|
10805
10806
|
/** Kept so each digit knows where it is rolling from. */
|
|
10806
10807
|
const previousValue = ref(props.value);
|
|
10807
10808
|
watch(() => props.value, (_, oldValue) => {
|
|
@@ -10873,7 +10874,7 @@ var RollingNumber = factory(/* @__PURE__ */ defineComponent({
|
|
|
10873
10874
|
role: unref(props).withLiveRegion ? "status" : "img",
|
|
10874
10875
|
"aria-label": accessibleValue.value
|
|
10875
10876
|
}), {
|
|
10876
|
-
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(renderSlots.value, (slot) => {
|
|
10877
|
+
default: withCtx(() => [createElementVNode("span", mergeProps(unref(getStyles)("copyValue"), { "aria-hidden": "true" }), toDisplayString(accessibleValue.value), 17), (openBlock(true), createElementBlock(Fragment, null, renderList(renderSlots.value, (slot) => {
|
|
10877
10878
|
return openBlock(), createElementBlock(Fragment, { key: slot.key }, [slot.type === "digit" ? (openBlock(), createBlock(unref(DigitColumn), {
|
|
10878
10879
|
key: 0,
|
|
10879
10880
|
digit: slot.digit,
|
|
@@ -11100,7 +11101,7 @@ var varsResolver$50 = createVarsResolver((theme, { bulletSize, lineWidth, radius
|
|
|
11100
11101
|
autoContrast
|
|
11101
11102
|
}) : void 0
|
|
11102
11103
|
} }));
|
|
11103
|
-
var defaultProps$
|
|
11104
|
+
var defaultProps$39 = {
|
|
11104
11105
|
active: -1,
|
|
11105
11106
|
align: "left"
|
|
11106
11107
|
};
|
|
@@ -11139,7 +11140,7 @@ var Timeline = factory(/* @__PURE__ */ defineComponent({
|
|
|
11139
11140
|
const rawProps = __props;
|
|
11140
11141
|
const attrs = useAttrs();
|
|
11141
11142
|
const slots = useSlots();
|
|
11142
|
-
const props = useProps("Timeline", defaultProps$
|
|
11143
|
+
const props = useProps("Timeline", defaultProps$39, rawProps);
|
|
11143
11144
|
const getStyles = useStyles({
|
|
11144
11145
|
name: "Timeline",
|
|
11145
11146
|
props,
|
|
@@ -11156,7 +11157,7 @@ var Timeline = factory(/* @__PURE__ */ defineComponent({
|
|
|
11156
11157
|
const renderTimeline = Object.assign((slotProps) => {
|
|
11157
11158
|
const children = (slotProps.nodes?.() ?? []).filter(Boolean);
|
|
11158
11159
|
const hasOpposite = children.some((item) => item.props?.opposite != null || item.children?.opposite != null);
|
|
11159
|
-
const active = props.active ?? defaultProps$
|
|
11160
|
+
const active = props.active ?? defaultProps$39.active;
|
|
11160
11161
|
const items = children.map((item, index) => {
|
|
11161
11162
|
const itemActive = props.reverseActive ? active >= children.length - index - 1 : active >= index;
|
|
11162
11163
|
const lineActive = props.reverseActive ? active >= children.length - index - 1 : active - 1 >= index;
|
|
@@ -11280,7 +11281,7 @@ function highlighter(value, _highlight, options = {}) {
|
|
|
11280
11281
|
//#endregion
|
|
11281
11282
|
//#region src/components/Highlight/Highlight.vue?vue&type=script&setup=true&lang.ts
|
|
11282
11283
|
var _hoisted_1$27 = { key: 1 };
|
|
11283
|
-
var defaultProps$
|
|
11284
|
+
var defaultProps$38 = {
|
|
11284
11285
|
color: "yellow",
|
|
11285
11286
|
wholeWord: false,
|
|
11286
11287
|
caseInsensitive: true,
|
|
@@ -11342,7 +11343,7 @@ var Highlight = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
|
11342
11343
|
const rawProps = __props;
|
|
11343
11344
|
const attrs = useAttrs();
|
|
11344
11345
|
const slots = useSlots();
|
|
11345
|
-
const props = useProps("Highlight", defaultProps$
|
|
11346
|
+
const props = useProps("Highlight", defaultProps$38, rawProps);
|
|
11346
11347
|
function getChunks() {
|
|
11347
11348
|
const text = slots.default?.().map((node) => String(node.children ?? "")).join("") ?? "";
|
|
11348
11349
|
const isTermArray = Array.isArray(props.highlight) && typeof props.highlight[0] === "object";
|
|
@@ -11415,7 +11416,7 @@ var Highlight = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
|
11415
11416
|
};
|
|
11416
11417
|
}
|
|
11417
11418
|
}), { classes: Text.classes });
|
|
11418
|
-
var Typography_module_default = { root: "
|
|
11419
|
+
var Typography_module_default = { root: "_root_whr49_1" };
|
|
11419
11420
|
//#endregion
|
|
11420
11421
|
//#region src/components/Typography/Typography.ts
|
|
11421
11422
|
var Typography = factory(/* @__PURE__ */ defineComponent({
|
|
@@ -11484,7 +11485,7 @@ var _hoisted_4 = [
|
|
|
11484
11485
|
"stroke-width",
|
|
11485
11486
|
"stroke-dasharray"
|
|
11486
11487
|
];
|
|
11487
|
-
var defaultProps$
|
|
11488
|
+
var defaultProps$37 = {
|
|
11488
11489
|
size: 200,
|
|
11489
11490
|
thickness: 12,
|
|
11490
11491
|
orientation: "up",
|
|
@@ -11546,7 +11547,7 @@ var SemiCircleProgress = factory(/* @__PURE__ */ defineComponent({
|
|
|
11546
11547
|
const rawProps = __props;
|
|
11547
11548
|
const attrs = useAttrs();
|
|
11548
11549
|
const slots = useSlots();
|
|
11549
|
-
const props = useProps("SemiCircleProgress", defaultProps$
|
|
11550
|
+
const props = useProps("SemiCircleProgress", defaultProps$37, rawProps);
|
|
11550
11551
|
const getStyles = useStyles({
|
|
11551
11552
|
name: "SemiCircleProgress",
|
|
11552
11553
|
props,
|
|
@@ -11559,8 +11560,8 @@ var SemiCircleProgress = factory(/* @__PURE__ */ defineComponent({
|
|
|
11559
11560
|
vars: props.vars,
|
|
11560
11561
|
varsResolver: varsResolver$49
|
|
11561
11562
|
});
|
|
11562
|
-
const size = computed(() => props.size ?? defaultProps$
|
|
11563
|
-
const thickness = computed(() => props.thickness ?? defaultProps$
|
|
11563
|
+
const size = computed(() => props.size ?? defaultProps$37.size);
|
|
11564
|
+
const thickness = computed(() => props.thickness ?? defaultProps$37.thickness);
|
|
11564
11565
|
const coordinateForCircle = computed(() => size.value / 2);
|
|
11565
11566
|
const radius = computed(() => (size.value - 2 * thickness.value) / 2);
|
|
11566
11567
|
const circumference = computed(() => Math.PI * radius.value);
|
|
@@ -11624,7 +11625,7 @@ var Spoiler_module_default = {
|
|
|
11624
11625
|
//#endregion
|
|
11625
11626
|
//#region src/components/Spoiler/Spoiler.vue?vue&type=script&setup=true&lang.ts
|
|
11626
11627
|
var _hoisted_1$25 = ["id"];
|
|
11627
|
-
var defaultProps$
|
|
11628
|
+
var defaultProps$36 = {
|
|
11628
11629
|
maxHeight: 100,
|
|
11629
11630
|
defaultExpanded: false
|
|
11630
11631
|
};
|
|
@@ -11689,7 +11690,7 @@ var Spoiler = factory(/* @__PURE__ */ defineComponent({
|
|
|
11689
11690
|
const emit = __emit;
|
|
11690
11691
|
const slots = useSlots();
|
|
11691
11692
|
const attrs = useAttrs();
|
|
11692
|
-
const props = useProps("Spoiler", defaultProps$
|
|
11693
|
+
const props = useProps("Spoiler", defaultProps$36, rawProps);
|
|
11693
11694
|
const getStyles = useStyles({
|
|
11694
11695
|
name: "Spoiler",
|
|
11695
11696
|
props,
|
|
@@ -11702,7 +11703,7 @@ var Spoiler = factory(/* @__PURE__ */ defineComponent({
|
|
|
11702
11703
|
vars: props.vars,
|
|
11703
11704
|
varsResolver: varsResolver$48
|
|
11704
11705
|
});
|
|
11705
|
-
const id = useId(props.id);
|
|
11706
|
+
const id = useId$1(props.id);
|
|
11706
11707
|
const [show, setShowState] = useUncontrolled({
|
|
11707
11708
|
value: computed(() => props.expanded),
|
|
11708
11709
|
defaultValue: props.defaultExpanded,
|
|
@@ -11714,7 +11715,7 @@ var Spoiler = factory(/* @__PURE__ */ defineComponent({
|
|
|
11714
11715
|
const currentLabel = computed(() => show.value ? resolveNode(props.hideLabel, slots.hideLabel) : resolveNode(props.showLabel, slots.showLabel));
|
|
11715
11716
|
/** Stable functional component: `MantineNode` values are arbitrary VNode children. */
|
|
11716
11717
|
const renderLabel = () => currentLabel.value;
|
|
11717
|
-
const maxHeight = computed(() => props.maxHeight ?? defaultProps$
|
|
11718
|
+
const maxHeight = computed(() => props.maxHeight ?? defaultProps$36.maxHeight);
|
|
11718
11719
|
const hasSpoiler = computed(() => hasNode(currentLabel.value) && maxHeight.value < height.value);
|
|
11719
11720
|
const ariaLabel = computed(() => show.value ? props.hideAriaLabel : props.showAriaLabel);
|
|
11720
11721
|
const contentStyle = computed(() => ({ maxHeight: !show.value ? rem(maxHeight.value) : height.value ? rem(height.value) : void 0 }));
|
|
@@ -11774,7 +11775,7 @@ var Fieldset_module_default = {
|
|
|
11774
11775
|
};
|
|
11775
11776
|
//#endregion
|
|
11776
11777
|
//#region src/components/Fieldset/Fieldset.vue?vue&type=script&setup=true&lang.ts
|
|
11777
|
-
var defaultProps$
|
|
11778
|
+
var defaultProps$35 = { variant: "default" };
|
|
11778
11779
|
var varsResolver$47 = createVarsResolver((_, { radius }) => ({ root: { "--fieldset-radius": radius === void 0 ? void 0 : getRadius(radius) } }));
|
|
11779
11780
|
//#endregion
|
|
11780
11781
|
//#region src/components/Fieldset/Fieldset.ts
|
|
@@ -11810,7 +11811,7 @@ var Fieldset = factory(/* @__PURE__ */ defineComponent({
|
|
|
11810
11811
|
const rawProps = __props;
|
|
11811
11812
|
const attrs = useAttrs();
|
|
11812
11813
|
const slots = useSlots();
|
|
11813
|
-
const props = useProps("Fieldset", defaultProps$
|
|
11814
|
+
const props = useProps("Fieldset", defaultProps$35, rawProps);
|
|
11814
11815
|
const getStyles = useStyles({
|
|
11815
11816
|
name: "Fieldset",
|
|
11816
11817
|
props,
|
|
@@ -12164,7 +12165,7 @@ var varsResolver$44 = createVarsResolver((_, { size }) => ({ label: {
|
|
|
12164
12165
|
"--input-label-size": getFontSize(size),
|
|
12165
12166
|
"--input-asterisk-color": void 0
|
|
12166
12167
|
} }));
|
|
12167
|
-
var defaultProps$
|
|
12168
|
+
var defaultProps$34 = { labelElement: "label" };
|
|
12168
12169
|
//#endregion
|
|
12169
12170
|
//#region src/components/Input/InputLabel/InputLabel.ts
|
|
12170
12171
|
var InputLabel = factory(/* @__PURE__ */ defineComponent({
|
|
@@ -12195,7 +12196,7 @@ var InputLabel = factory(/* @__PURE__ */ defineComponent({
|
|
|
12195
12196
|
setup(__props, { expose: __expose }) {
|
|
12196
12197
|
const rawProps = __props;
|
|
12197
12198
|
const attrs = useAttrs();
|
|
12198
|
-
const props = useProps("InputLabel", defaultProps$
|
|
12199
|
+
const props = useProps("InputLabel", defaultProps$34, rawProps);
|
|
12199
12200
|
const wrapperCtx = useInputWrapperContext();
|
|
12200
12201
|
const ownGetStyles = useStyles({
|
|
12201
12202
|
name: "InputWrapper",
|
|
@@ -12434,7 +12435,7 @@ var InputWrapper = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
12434
12435
|
const slots = useSlots();
|
|
12435
12436
|
const attrs = useAttrs();
|
|
12436
12437
|
const props = useProps("InputWrapper", { labelElement: "label" }, rawProps);
|
|
12437
|
-
const idBase = useId(props.id);
|
|
12438
|
+
const idBase = useId$1(props.id);
|
|
12438
12439
|
const getStyles = useStyles({
|
|
12439
12440
|
name: "InputWrapper",
|
|
12440
12441
|
props,
|
|
@@ -12630,7 +12631,7 @@ var varsResolver$42 = createVarsResolver((_, props, ctx) => ({ wrapper: {
|
|
|
12630
12631
|
function renderContent(content) {
|
|
12631
12632
|
return typeof content === "function" ? content() : content;
|
|
12632
12633
|
}
|
|
12633
|
-
var defaultProps$
|
|
12634
|
+
var defaultProps$33 = {
|
|
12634
12635
|
component: "input",
|
|
12635
12636
|
leftSectionPointerEvents: "none",
|
|
12636
12637
|
rightSectionPointerEvents: "none",
|
|
@@ -12776,7 +12777,7 @@ var Input = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
|
12776
12777
|
const emit = __emit;
|
|
12777
12778
|
const slots = useSlots();
|
|
12778
12779
|
const attrs = useAttrs();
|
|
12779
|
-
const props = useProps("Input", defaultProps$
|
|
12780
|
+
const props = useProps("Input", defaultProps$33, rawProps);
|
|
12780
12781
|
const [value, setValue] = useUncontrolled({
|
|
12781
12782
|
value: () => props.modelValue,
|
|
12782
12783
|
defaultValue: props.defaultValue,
|
|
@@ -12962,7 +12963,7 @@ var Input = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
|
12962
12963
|
});
|
|
12963
12964
|
//#endregion
|
|
12964
12965
|
//#region src/components/InputBase/InputBase.vue?vue&type=script&setup=true&lang.ts
|
|
12965
|
-
var defaultProps$
|
|
12966
|
+
var defaultProps$32 = {
|
|
12966
12967
|
component: "input",
|
|
12967
12968
|
__staticSelector: "InputBase",
|
|
12968
12969
|
withAria: true,
|
|
@@ -13167,7 +13168,7 @@ var InputBase = polymorphicFactory(/* @__PURE__ */ defineComponent({
|
|
|
13167
13168
|
"Input",
|
|
13168
13169
|
"InputWrapper",
|
|
13169
13170
|
"InputBase"
|
|
13170
|
-
], defaultProps$
|
|
13171
|
+
], defaultProps$32, rawProps);
|
|
13171
13172
|
const stylePropNames = new Set(Object.keys(STYLE_PROPS_DATA));
|
|
13172
13173
|
const wrapperStyleProps = computed(() => Object.fromEntries(Object.entries(attrs).filter(([key]) => stylePropNames.has(key))));
|
|
13173
13174
|
const inputAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([key]) => key !== "class" && key !== "style" && !stylePropNames.has(key))));
|
|
@@ -13585,7 +13586,7 @@ var Notification_module_default = {
|
|
|
13585
13586
|
};
|
|
13586
13587
|
//#endregion
|
|
13587
13588
|
//#region src/components/Notification/Notification.vue?vue&type=script&setup=true&lang.ts
|
|
13588
|
-
var defaultProps$
|
|
13589
|
+
var defaultProps$31 = { withCloseButton: true };
|
|
13589
13590
|
var varsResolver$41 = createVarsResolver((theme, { radius, color }) => ({ root: {
|
|
13590
13591
|
"--notification-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
13591
13592
|
"--notification-color": color ? getThemeColor(color, theme) : void 0
|
|
@@ -13647,7 +13648,7 @@ var Notification = factory(/* @__PURE__ */ defineComponent({
|
|
|
13647
13648
|
const emit = __emit;
|
|
13648
13649
|
const attrs = useAttrs();
|
|
13649
13650
|
const slots = useSlots();
|
|
13650
|
-
const props = useProps("Notification", defaultProps$
|
|
13651
|
+
const props = useProps("Notification", defaultProps$31, rawProps);
|
|
13651
13652
|
const getStyles = useStyles({
|
|
13652
13653
|
name: "Notification",
|
|
13653
13654
|
props,
|
|
@@ -13850,13 +13851,21 @@ var leadingZerosPattern = /^-?0\d+(\.\d+)?\.?$/;
|
|
|
13850
13851
|
var trailingZerosPattern = /\.\d*0$/;
|
|
13851
13852
|
var trailingDecimalSeparatorPattern = /^-?\d+\.$/;
|
|
13852
13853
|
function clamp$3(value, min, max) {
|
|
13853
|
-
return Math.min(max ??
|
|
13854
|
+
return Math.min(max ?? Number.POSITIVE_INFINITY, Math.max(min ?? Number.NEGATIVE_INFINITY, value));
|
|
13854
13855
|
}
|
|
13855
13856
|
function clampBigInt(value, min, max) {
|
|
13856
13857
|
if (min !== void 0 && value < min) return min;
|
|
13857
13858
|
if (max !== void 0 && value > max) return max;
|
|
13858
13859
|
return value;
|
|
13859
13860
|
}
|
|
13861
|
+
function canStep(value) {
|
|
13862
|
+
if (typeof value === "number") return value < Number.MAX_SAFE_INTEGER;
|
|
13863
|
+
return value === "" || value !== "-" && !Number.isNaN(Number(value)) && Number(value) < Number.MAX_SAFE_INTEGER;
|
|
13864
|
+
}
|
|
13865
|
+
function canStepBigInt(value, allowNegative) {
|
|
13866
|
+
if (typeof value === "bigint") return true;
|
|
13867
|
+
return value === "" || value !== "-" && (allowNegative || !value.startsWith("-")) && /^-?\d+$/.test(value);
|
|
13868
|
+
}
|
|
13860
13869
|
function stripFormatting(value, options) {
|
|
13861
13870
|
let next = value;
|
|
13862
13871
|
if (options.prefix && next.startsWith(options.prefix)) next = next.slice(options.prefix.length);
|
|
@@ -13886,9 +13895,19 @@ function parseNumberInputValue(rawValue, allowDecimal, allowNegative, allowLeadi
|
|
|
13886
13895
|
return parsed;
|
|
13887
13896
|
}
|
|
13888
13897
|
function sanitizeNumberInputString(rawValue, allowDecimal, allowNegative, decimalScale) {
|
|
13889
|
-
let normalized =
|
|
13890
|
-
|
|
13891
|
-
|
|
13898
|
+
let normalized = "";
|
|
13899
|
+
let hasDecimalSeparator = false;
|
|
13900
|
+
for (const character of rawValue) {
|
|
13901
|
+
if (character === "." && !allowDecimal) break;
|
|
13902
|
+
if (/\d/.test(character)) normalized += character;
|
|
13903
|
+
else if (character === "-" && allowNegative && normalized.length === 0) normalized = "-";
|
|
13904
|
+
else if (character === "." && allowDecimal && !hasDecimalSeparator) {
|
|
13905
|
+
normalized += character;
|
|
13906
|
+
hasDecimalSeparator = true;
|
|
13907
|
+
}
|
|
13908
|
+
}
|
|
13909
|
+
if (normalized.startsWith(".")) normalized = `0${normalized}`;
|
|
13910
|
+
else if (normalized.startsWith("-.")) normalized = `-0${normalized.slice(1)}`;
|
|
13892
13911
|
if (typeof decimalScale === "number" && normalized.includes(".")) {
|
|
13893
13912
|
const [integerPart, decimalPart = ""] = normalized.split(".");
|
|
13894
13913
|
return `${integerPart}.${decimalPart.slice(0, decimalScale)}`;
|
|
@@ -14108,7 +14127,6 @@ var NumberInput = factory(/* @__PURE__ */ defineComponent({
|
|
|
14108
14127
|
const slots = useSlots();
|
|
14109
14128
|
const attrs = useAttrs();
|
|
14110
14129
|
const inputRef = ref(null);
|
|
14111
|
-
const isEditing = ref(false);
|
|
14112
14130
|
const isBigIntMode = computed(() => typeof props.modelValue === "bigint" || typeof props.defaultValue === "bigint");
|
|
14113
14131
|
const [value, setValue] = useUncontrolled({
|
|
14114
14132
|
value: () => props.modelValue,
|
|
@@ -14141,11 +14159,7 @@ var NumberInput = factory(/* @__PURE__ */ defineComponent({
|
|
|
14141
14159
|
thousandsGroupStyle: props.thousandsGroupStyle,
|
|
14142
14160
|
thousandSeparator: props.thousandSeparator
|
|
14143
14161
|
}));
|
|
14144
|
-
const
|
|
14145
|
-
...formatterOptions.value,
|
|
14146
|
-
fixedDecimalScale: isEditing.value || typeof nextValue === "string" ? false : formatterOptions.value.fixedDecimalScale
|
|
14147
|
-
});
|
|
14148
|
-
const displayValue = computed(() => value.value === "" || value.value === "-" ? String(value.value) : formatNumber(value.value, getFormatterOptions()));
|
|
14162
|
+
const displayValue = computed(() => value.value === "" || value.value === "-" ? String(value.value) : formatNumber(value.value, formatterOptions.value));
|
|
14149
14163
|
const clampCaretToFormatting = (input) => {
|
|
14150
14164
|
const { min, max } = getCaretBoundaries(input.value, formatterOptions.value);
|
|
14151
14165
|
const start = input.selectionStart;
|
|
@@ -14158,6 +14172,14 @@ var NumberInput = factory(/* @__PURE__ */ defineComponent({
|
|
|
14158
14172
|
const scheduleCaretClamp = (input) => {
|
|
14159
14173
|
setTimeout(() => clampCaretToFormatting(input), 0);
|
|
14160
14174
|
};
|
|
14175
|
+
const getFormattedCaretPosition = (value, formattedValue, position) => {
|
|
14176
|
+
let formattedPosition = 0;
|
|
14177
|
+
for (const character of value.slice(0, position)) {
|
|
14178
|
+
const nextPosition = formattedValue.indexOf(character, formattedPosition);
|
|
14179
|
+
if (nextPosition !== -1) formattedPosition = nextPosition + 1;
|
|
14180
|
+
}
|
|
14181
|
+
return formattedPosition;
|
|
14182
|
+
};
|
|
14161
14183
|
const commitValue = (nextValue, source = "event") => {
|
|
14162
14184
|
if (props.clampBehavior === "strict") {
|
|
14163
14185
|
const numeric = toNumeric(nextValue);
|
|
@@ -14169,18 +14191,19 @@ var NumberInput = factory(/* @__PURE__ */ defineComponent({
|
|
|
14169
14191
|
const raw = typeof nextValue === "bigint" ? nextValue.toString() : String(nextValue);
|
|
14170
14192
|
emit("value-change", {
|
|
14171
14193
|
floatValue: typeof nextValue === "number" ? nextValue : Number.isNaN(Number(raw)) ? void 0 : Number(raw),
|
|
14172
|
-
formattedValue: nextValue === "" ? "" : formatNumber(nextValue,
|
|
14194
|
+
formattedValue: nextValue === "" ? "" : formatNumber(nextValue, formatterOptions.value),
|
|
14173
14195
|
value: raw
|
|
14174
14196
|
}, { source });
|
|
14175
14197
|
};
|
|
14198
|
+
const canStepValue = computed(() => isBigIntMode.value ? canStepBigInt(value.value, props.allowNegative) : canStep(value.value));
|
|
14176
14199
|
const stepValue = (direction) => {
|
|
14177
|
-
if (props.disabled || props.readOnly) return;
|
|
14200
|
+
if (props.disabled || props.readOnly || !canStepValue.value) return;
|
|
14178
14201
|
if (isBigIntMode.value) {
|
|
14179
14202
|
const current = typeof value.value === "bigint" ? value.value : BigInt(0);
|
|
14180
14203
|
const step = typeof props.step === "bigint" ? props.step : BigInt(props.step);
|
|
14181
14204
|
const start = typeof props.startValue === "bigint" ? props.startValue : BigInt(props.startValue);
|
|
14182
14205
|
const next = (value.value === "" || value.value === "-" ? start : current) + step * BigInt(direction);
|
|
14183
|
-
const min = typeof props.min === "bigint" ? props.min : props.min === void 0 ? void 0 : BigInt(props.min);
|
|
14206
|
+
const min = typeof props.min === "bigint" ? props.min : props.min === void 0 ? props.allowNegative ? void 0 : BigInt(0) : BigInt(props.min);
|
|
14184
14207
|
const max = typeof props.max === "bigint" ? props.max : props.max === void 0 ? void 0 : BigInt(props.max);
|
|
14185
14208
|
const clamped = clampBigInt(next, min, max);
|
|
14186
14209
|
if (max !== void 0 && next > max) emit("max-reached");
|
|
@@ -14270,7 +14293,7 @@ var NumberInput = factory(/* @__PURE__ */ defineComponent({
|
|
|
14270
14293
|
onPointercancel: clearHold
|
|
14271
14294
|
}, () => h(NumberInputChevron, { direction: "down" }))]);
|
|
14272
14295
|
/** The step controls double as the right section unless one was supplied. */
|
|
14273
|
-
const rightSection = computed(() => props.hideControls || props.readOnly ? props.rightSection : props.rightSection !== void 0 || slots.rightSection ? props.rightSection : controls);
|
|
14296
|
+
const rightSection = computed(() => props.hideControls || props.readOnly || !canStepValue.value ? props.rightSection : props.rightSection !== void 0 || slots.rightSection ? props.rightSection : controls);
|
|
14274
14297
|
const rightSectionPointerEvents = computed(() => props.rightSectionPointerEvents ?? (props.disabled ? "none" : void 0));
|
|
14275
14298
|
const rightSectionWidth = computed(() => props.rightSectionWidth ?? `var(--ni-right-section-width-${props.size || "sm"})`);
|
|
14276
14299
|
/** `bigint` values are integers only, so the numeric keypad is the right hint. */
|
|
@@ -14287,22 +14310,52 @@ var NumberInput = factory(/* @__PURE__ */ defineComponent({
|
|
|
14287
14310
|
};
|
|
14288
14311
|
__expose({ rootElement });
|
|
14289
14312
|
function onInput(event) {
|
|
14290
|
-
isEditing.value = true;
|
|
14291
14313
|
const input = event.currentTarget;
|
|
14292
|
-
const
|
|
14314
|
+
const inputValue = input.value;
|
|
14315
|
+
const selectionStart = input.selectionStart;
|
|
14316
|
+
const selectionEnd = input.selectionEnd;
|
|
14317
|
+
const rawValue = stripFormatting(inputValue, formatterOptions.value);
|
|
14293
14318
|
const decimalSeparator = props.decimalSeparator || ".";
|
|
14294
|
-
const sanitized = sanitizeNumberInputString(props.allowedDecimalSeparators.filter((separator) => separator !== decimalSeparator).reduce((acc, separator) => acc.split(separator).join("."), rawValue.replace(decimalSeparator, ".")), props.allowDecimal, props.allowNegative, props.decimalScale);
|
|
14319
|
+
const sanitized = sanitizeNumberInputString(props.allowedDecimalSeparators.filter((separator) => separator !== decimalSeparator).reduce((acc, separator) => acc.split(separator).join("."), rawValue.replace(decimalSeparator, ".")), isBigIntMode.value ? false : props.allowDecimal, props.allowNegative, props.decimalScale);
|
|
14295
14320
|
const nextValue = isBigIntMode.value ? parseBigIntInputValue(sanitized, props.allowNegative, props.allowLeadingZeros) : parseNumberInputValue(sanitized, props.allowDecimal, props.allowNegative, props.allowLeadingZeros, props.decimalScale, props.fixedDecimalScale);
|
|
14296
14321
|
if (props.clampBehavior === "strict" && !isBigIntMode.value && !isStrictAllowed(nextValue, typeof props.min === "number" ? props.min : void 0, typeof props.max === "number" ? props.max : void 0)) {
|
|
14297
14322
|
restoreInputValue(input, displayValue.value);
|
|
14298
14323
|
return;
|
|
14299
14324
|
}
|
|
14300
|
-
const formattedNextValue = nextValue === "" || nextValue === "-" ? String(nextValue) : formatNumber(nextValue,
|
|
14301
|
-
if (input.value !== formattedNextValue)
|
|
14325
|
+
const formattedNextValue = nextValue === "" || nextValue === "-" ? String(nextValue) : formatNumber(nextValue, formatterOptions.value);
|
|
14326
|
+
if (input.value !== formattedNextValue) {
|
|
14327
|
+
restoreInputValue(input, formattedNextValue);
|
|
14328
|
+
if (props.fixedDecimalScale && selectionStart !== null && selectionEnd !== null) input.setSelectionRange(getFormattedCaretPosition(inputValue, formattedNextValue, selectionStart), getFormattedCaretPosition(inputValue, formattedNextValue, selectionEnd));
|
|
14329
|
+
}
|
|
14302
14330
|
scheduleCaretClamp(input);
|
|
14303
|
-
commitValue(nextValue);
|
|
14331
|
+
if (!Object.is(nextValue, value.value)) commitValue(nextValue);
|
|
14304
14332
|
}
|
|
14305
14333
|
function onKeydown(event) {
|
|
14334
|
+
const input = event.currentTarget;
|
|
14335
|
+
if (event.key === "Backspace" && !props.readOnly && !props.disabled && input.selectionStart !== null && input.selectionStart === input.selectionEnd) {
|
|
14336
|
+
if (input.selectionStart === 0) event.preventDefault();
|
|
14337
|
+
else if (props.fixedDecimalScale && typeof props.decimalScale === "number") {
|
|
14338
|
+
const decimalPosition = input.value.indexOf(props.decimalSeparator);
|
|
14339
|
+
const isAfterDecimalSeparator = input.value[input.selectionStart - 1] === props.decimalSeparator;
|
|
14340
|
+
const deletePosition = input.selectionStart - (isAfterDecimalSeparator ? 2 : 1);
|
|
14341
|
+
if (deletePosition >= 0 && deletePosition < decimalPosition) {
|
|
14342
|
+
const nextInputValue = input.value.slice(0, deletePosition) + input.value.slice(deletePosition + 1);
|
|
14343
|
+
const unformattedValue = stripFormatting(nextInputValue, formatterOptions.value);
|
|
14344
|
+
const [integerPart, decimalPart = ""] = (unformattedValue.startsWith("-") ? unformattedValue.slice(1) : unformattedValue).split(".");
|
|
14345
|
+
if (!/\d/.test(integerPart) && /^0*$/.test(decimalPart)) {
|
|
14346
|
+
event.preventDefault();
|
|
14347
|
+
input.value = "";
|
|
14348
|
+
input.setSelectionRange(0, 0);
|
|
14349
|
+
input.dispatchEvent(new Event("input", { bubbles: true }));
|
|
14350
|
+
} else if (isAfterDecimalSeparator) {
|
|
14351
|
+
event.preventDefault();
|
|
14352
|
+
input.value = nextInputValue;
|
|
14353
|
+
input.setSelectionRange(deletePosition, deletePosition);
|
|
14354
|
+
input.dispatchEvent(new Event("input", { bubbles: true }));
|
|
14355
|
+
}
|
|
14356
|
+
}
|
|
14357
|
+
}
|
|
14358
|
+
}
|
|
14306
14359
|
if (!props.readOnly && props.withKeyboardEvents && event.key === "ArrowUp") {
|
|
14307
14360
|
event.preventDefault();
|
|
14308
14361
|
stepValue(1);
|
|
@@ -14311,7 +14364,7 @@ var NumberInput = factory(/* @__PURE__ */ defineComponent({
|
|
|
14311
14364
|
event.preventDefault();
|
|
14312
14365
|
stepValue(-1);
|
|
14313
14366
|
}
|
|
14314
|
-
scheduleCaretClamp(
|
|
14367
|
+
scheduleCaretClamp(input);
|
|
14315
14368
|
}
|
|
14316
14369
|
function onKeyup(event) {
|
|
14317
14370
|
scheduleCaretClamp(event.currentTarget);
|
|
@@ -14320,12 +14373,10 @@ var NumberInput = factory(/* @__PURE__ */ defineComponent({
|
|
|
14320
14373
|
scheduleCaretClamp(event.currentTarget);
|
|
14321
14374
|
}
|
|
14322
14375
|
function onFocus(event) {
|
|
14323
|
-
|
|
14324
|
-
if (props.selectAllOnFocus) setTimeout(() => event.currentTarget.select(), 0);
|
|
14376
|
+
if (props.selectAllOnFocus) window.setTimeout(() => inputRef.value?.select(), 0);
|
|
14325
14377
|
else scheduleCaretClamp(event.currentTarget);
|
|
14326
14378
|
}
|
|
14327
14379
|
function onBlur() {
|
|
14328
|
-
isEditing.value = false;
|
|
14329
14380
|
let sanitizedValue = value.value;
|
|
14330
14381
|
const min = typeof props.min === "number" ? props.min : void 0;
|
|
14331
14382
|
const max = typeof props.max === "number" ? props.max : void 0;
|
|
@@ -14424,7 +14475,7 @@ var NumberInput = factory(/* @__PURE__ */ defineComponent({
|
|
|
14424
14475
|
var Group_module_default = { root: "_root_7pazr_1" };
|
|
14425
14476
|
//#endregion
|
|
14426
14477
|
//#region src/components/Group/Group.vue?vue&type=script&setup=true&lang.ts
|
|
14427
|
-
var defaultProps$
|
|
14478
|
+
var defaultProps$30 = {
|
|
14428
14479
|
preventGrowOverflow: true,
|
|
14429
14480
|
gap: "md",
|
|
14430
14481
|
align: "center",
|
|
@@ -14464,7 +14515,7 @@ var Group = factory(/* @__PURE__ */ defineComponent({
|
|
|
14464
14515
|
const rawProps = __props;
|
|
14465
14516
|
const attrs = useAttrs();
|
|
14466
14517
|
const slots = useSlots();
|
|
14467
|
-
const props = useProps("Group", defaultProps$
|
|
14518
|
+
const props = useProps("Group", defaultProps$30, rawProps);
|
|
14468
14519
|
const rootElement = ref(null);
|
|
14469
14520
|
const setRootRef = (node) => {
|
|
14470
14521
|
rootElement.value = node;
|
|
@@ -14543,7 +14594,7 @@ var regex = {
|
|
|
14543
14594
|
number: /^[0-9]+$/,
|
|
14544
14595
|
alphanumeric: /^[a-zA-Z0-9]+$/i
|
|
14545
14596
|
};
|
|
14546
|
-
var defaultProps$
|
|
14597
|
+
var defaultProps$29 = {
|
|
14547
14598
|
gap: "sm",
|
|
14548
14599
|
length: 4,
|
|
14549
14600
|
manageFocus: true,
|
|
@@ -14636,13 +14687,13 @@ var PinInput = factory(/* @__PURE__ */ defineComponent({
|
|
|
14636
14687
|
const rawProps = __props;
|
|
14637
14688
|
const emit = __emit;
|
|
14638
14689
|
const attrs = useAttrs();
|
|
14639
|
-
const props = useProps("PinInput", defaultProps$
|
|
14640
|
-
const uuid = useId(props.id);
|
|
14690
|
+
const props = useProps("PinInput", defaultProps$29, rawProps);
|
|
14691
|
+
const uuid = useId$1(props.id);
|
|
14641
14692
|
const focusedIndex = ref(-1);
|
|
14642
14693
|
const inputsRef = ref([]);
|
|
14643
14694
|
/** Guards `onComplete` so it fires once per completion, not on every keystroke after. */
|
|
14644
14695
|
const completed = ref(false);
|
|
14645
|
-
const currentLength = computed(() => props.length ?? defaultProps$
|
|
14696
|
+
const currentLength = computed(() => props.length ?? defaultProps$29.length);
|
|
14646
14697
|
const getStyles = useStyles({
|
|
14647
14698
|
name: "PinInput",
|
|
14648
14699
|
classes: PinInput_module_default,
|
|
@@ -14960,7 +15011,7 @@ var NativeSelectChevron_default = /* @__PURE__ */ defineComponent({
|
|
|
14960
15011
|
});
|
|
14961
15012
|
//#endregion
|
|
14962
15013
|
//#region src/components/NativeSelect/NativeSelect.vue?vue&type=script&setup=true&lang.ts
|
|
14963
|
-
var defaultProps$
|
|
15014
|
+
var defaultProps$28 = {
|
|
14964
15015
|
size: "sm",
|
|
14965
15016
|
rightSectionPointerEvents: "none"
|
|
14966
15017
|
};
|
|
@@ -15052,7 +15103,7 @@ var NativeSelect = factory(/* @__PURE__ */ defineComponent({
|
|
|
15052
15103
|
const emit = __emit;
|
|
15053
15104
|
const slots = useSlots();
|
|
15054
15105
|
const attrs = useAttrs();
|
|
15055
|
-
const props = useProps("NativeSelect", defaultProps$
|
|
15106
|
+
const props = useProps("NativeSelect", defaultProps$28, rawProps);
|
|
15056
15107
|
/**
|
|
15057
15108
|
* `option` and `optgroup` trees are built with `h` because they are generated from
|
|
15058
15109
|
* data, not written in the template.
|
|
@@ -15424,7 +15475,7 @@ var varsResolver$36 = createVarsResolver((_, { duration, gap, repeat, fadeEdgeCo
|
|
|
15424
15475
|
"--marquee-fade-color": fadeEdgeColor,
|
|
15425
15476
|
"--marquee-fade-size": fadeEdgeSize
|
|
15426
15477
|
} }));
|
|
15427
|
-
var defaultProps$
|
|
15478
|
+
var defaultProps$27 = {
|
|
15428
15479
|
repeat: 4,
|
|
15429
15480
|
duration: 1e5,
|
|
15430
15481
|
orientation: "horizontal",
|
|
@@ -15471,7 +15522,7 @@ var Marquee = factory(/* @__PURE__ */ defineComponent({
|
|
|
15471
15522
|
setup(__props, { expose: __expose }) {
|
|
15472
15523
|
const rawProps = __props;
|
|
15473
15524
|
const attrs = useAttrs();
|
|
15474
|
-
const props = useProps("Marquee", defaultProps$
|
|
15525
|
+
const props = useProps("Marquee", defaultProps$27, rawProps);
|
|
15475
15526
|
const getStyles = useStyles({
|
|
15476
15527
|
name: "Marquee",
|
|
15477
15528
|
props,
|
|
@@ -15517,7 +15568,7 @@ var Marquee = factory(/* @__PURE__ */ defineComponent({
|
|
|
15517
15568
|
var Affix_module_default = { root: "_root_rcum7_1" };
|
|
15518
15569
|
//#endregion
|
|
15519
15570
|
//#region src/components/Affix/Affix.vue?vue&type=script&setup=true&lang.ts
|
|
15520
|
-
var defaultProps$
|
|
15571
|
+
var defaultProps$26 = {
|
|
15521
15572
|
position: {
|
|
15522
15573
|
bottom: 0,
|
|
15523
15574
|
right: 0
|
|
@@ -15558,7 +15609,7 @@ var Affix = factory(/* @__PURE__ */ defineComponent({
|
|
|
15558
15609
|
setup(__props, { expose: __expose }) {
|
|
15559
15610
|
const rawProps = __props;
|
|
15560
15611
|
const attrs = useAttrs();
|
|
15561
|
-
const props = useProps("Affix", defaultProps$
|
|
15612
|
+
const props = useProps("Affix", defaultProps$26, rawProps);
|
|
15562
15613
|
const getStyles = useStyles({
|
|
15563
15614
|
name: "Affix",
|
|
15564
15615
|
props,
|
|
@@ -15604,7 +15655,7 @@ var Dialog_module_default = {
|
|
|
15604
15655
|
//#endregion
|
|
15605
15656
|
//#region src/components/Dialog/Dialog.vue?vue&type=script&setup=true&lang.ts
|
|
15606
15657
|
var varsResolver$34 = createVarsResolver((_, { size }) => ({ root: { "--dialog-size": getSize(size, "dialog-size") } }));
|
|
15607
|
-
var defaultProps$
|
|
15658
|
+
var defaultProps$25 = {
|
|
15608
15659
|
shadow: "md",
|
|
15609
15660
|
p: "md",
|
|
15610
15661
|
withBorder: true,
|
|
@@ -15662,7 +15713,7 @@ var Dialog = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
15662
15713
|
const rawProps = __props;
|
|
15663
15714
|
const emit = __emit;
|
|
15664
15715
|
const attrs = useAttrs();
|
|
15665
|
-
const props = useProps("Dialog", defaultProps$
|
|
15716
|
+
const props = useProps("Dialog", defaultProps$25, rawProps);
|
|
15666
15717
|
const env = useMantineEnv();
|
|
15667
15718
|
const getStyles = useStyles({
|
|
15668
15719
|
name: "Dialog",
|
|
@@ -15917,7 +15968,7 @@ function clamp$2(value, min, max) {
|
|
|
15917
15968
|
return Math.min(max, Math.max(min, value));
|
|
15918
15969
|
}
|
|
15919
15970
|
/** `getSymbolLabel` is a function default, so it is resolved by `useProps`. */
|
|
15920
|
-
var defaultProps$
|
|
15971
|
+
var defaultProps$24 = {
|
|
15921
15972
|
size: "sm",
|
|
15922
15973
|
getSymbolLabel: (value) => `${value}`,
|
|
15923
15974
|
count: 5,
|
|
@@ -15999,13 +16050,13 @@ var Rating = factory(/* @__PURE__ */ defineComponent({
|
|
|
15999
16050
|
const emit = __emit;
|
|
16000
16051
|
const slots = useSlots();
|
|
16001
16052
|
const attrs = useAttrs();
|
|
16002
|
-
const props = useProps("Rating", defaultProps$
|
|
16053
|
+
const props = useProps("Rating", defaultProps$24, rawProps);
|
|
16003
16054
|
const rootRef = ref(null);
|
|
16004
16055
|
const hovered = ref(-1);
|
|
16005
16056
|
const isOutside = ref(true);
|
|
16006
16057
|
const { dir } = useDirection();
|
|
16007
|
-
const name = useId(props.name);
|
|
16008
|
-
const id = useId(props.id);
|
|
16058
|
+
const name = useId$1(props.name);
|
|
16059
|
+
const id = useId$1(props.id);
|
|
16009
16060
|
const [currentValue, setCurrentValue] = useUncontrolled({
|
|
16010
16061
|
value: () => props.modelValue,
|
|
16011
16062
|
defaultValue: props.defaultValue,
|
|
@@ -16031,9 +16082,9 @@ var Rating = factory(/* @__PURE__ */ defineComponent({
|
|
|
16031
16082
|
/** A scoped slot is exposed to `RatingItem` as a function of the item value. The slot takes precedence over the prop. */
|
|
16032
16083
|
const emptySymbol = computed(() => (slots.emptySymbol ? (value) => slots.emptySymbol({ value }) : void 0) ?? props.emptySymbol);
|
|
16033
16084
|
const fullSymbol = computed(() => (slots.fullSymbol ? (value) => slots.fullSymbol({ value }) : void 0) ?? props.fullSymbol);
|
|
16034
|
-
const count = computed(() => Math.max(0, Math.floor(props.count ?? defaultProps$
|
|
16085
|
+
const count = computed(() => Math.max(0, Math.floor(props.count ?? defaultProps$24.count)));
|
|
16035
16086
|
const fractions = computed(() => {
|
|
16036
|
-
const value = Math.floor(props.fractions ?? defaultProps$
|
|
16087
|
+
const value = Math.floor(props.fractions ?? defaultProps$24.fractions);
|
|
16037
16088
|
if (value < 0) throw new Error("Rating fractions cannot be negative");
|
|
16038
16089
|
return value;
|
|
16039
16090
|
});
|
|
@@ -16184,13 +16235,15 @@ function useFloatingIndicator({ target, parent, floatingRef, displayAfterTransit
|
|
|
16184
16235
|
if (!targetElement || !parentElement || !floatingElement || typeof window === "undefined") return;
|
|
16185
16236
|
const targetRect = targetElement.getBoundingClientRect();
|
|
16186
16237
|
const parentRect = parentElement.getBoundingClientRect();
|
|
16238
|
+
const scaleX = parentElement.offsetWidth === 0 ? 1 : parentRect.width / parentElement.offsetWidth;
|
|
16239
|
+
const scaleY = parentElement.offsetHeight === 0 ? 1 : parentRect.height / parentElement.offsetHeight;
|
|
16187
16240
|
const targetStyle = window.getComputedStyle(targetElement);
|
|
16188
16241
|
const parentStyle = window.getComputedStyle(parentElement);
|
|
16189
16242
|
const borderTopWidth = toNumber(targetStyle.borderTopWidth) + toNumber(parentStyle.borderTopWidth);
|
|
16190
16243
|
const borderLeftWidth = toNumber(targetStyle.borderLeftWidth) + toNumber(parentStyle.borderLeftWidth);
|
|
16191
|
-
floatingElement.style.transform = `translateY(${targetRect.top - parentRect.top - borderTopWidth}px) translateX(${targetRect.left - parentRect.left - borderLeftWidth}px)`;
|
|
16192
|
-
floatingElement.style.width = `${targetRect.width}px`;
|
|
16193
|
-
floatingElement.style.height = `${targetRect.height}px`;
|
|
16244
|
+
floatingElement.style.transform = `translateY(${(targetRect.top - parentRect.top) / scaleY - borderTopWidth}px) translateX(${(targetRect.left - parentRect.left) / scaleX - borderLeftWidth}px)`;
|
|
16245
|
+
floatingElement.style.width = `${targetRect.width / scaleX}px`;
|
|
16246
|
+
floatingElement.style.height = `${targetRect.height / scaleY}px`;
|
|
16194
16247
|
};
|
|
16195
16248
|
const updatePositionWithoutAnimation = () => {
|
|
16196
16249
|
if (transitionTimeout) clearTimeout(transitionTimeout);
|
|
@@ -16442,7 +16495,7 @@ var SegmentedControl = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
16442
16495
|
const emit = __emit;
|
|
16443
16496
|
const attrs = useAttrs();
|
|
16444
16497
|
const theme = useMantineTheme();
|
|
16445
|
-
const uuid = useId(props.name);
|
|
16498
|
+
const uuid = useId$1(props.name);
|
|
16446
16499
|
const mounted = useMounted();
|
|
16447
16500
|
const parent = ref(null);
|
|
16448
16501
|
const itemRefs = reactive({});
|
|
@@ -17159,7 +17212,7 @@ var PaginationLabel = factory(/* @__PURE__ */ defineComponent({
|
|
|
17159
17212
|
}));
|
|
17160
17213
|
//#endregion
|
|
17161
17214
|
//#region src/components/Pagination/PaginationRoot/PaginationRoot.vue?vue&type=script&setup=true&lang.ts
|
|
17162
|
-
var defaultProps$
|
|
17215
|
+
var defaultProps$23 = {
|
|
17163
17216
|
siblings: 1,
|
|
17164
17217
|
boundaries: 1,
|
|
17165
17218
|
size: "md",
|
|
@@ -17223,7 +17276,7 @@ var PaginationRoot = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
17223
17276
|
const rawProps = __props;
|
|
17224
17277
|
const emit = __emit;
|
|
17225
17278
|
const attrs = useAttrs();
|
|
17226
|
-
const props = useProps("PaginationRoot", defaultProps$
|
|
17279
|
+
const props = useProps("PaginationRoot", defaultProps$23, rawProps);
|
|
17227
17280
|
const pagination = usePagination({
|
|
17228
17281
|
total: () => props.total,
|
|
17229
17282
|
page: () => props.modelValue,
|
|
@@ -17288,7 +17341,7 @@ var PaginationRoot = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
17288
17341
|
});
|
|
17289
17342
|
//#endregion
|
|
17290
17343
|
//#region src/components/Pagination/Pagination.vue?vue&type=script&setup=true&lang.ts
|
|
17291
|
-
var defaultProps$
|
|
17344
|
+
var defaultProps$22 = {
|
|
17292
17345
|
withControls: true,
|
|
17293
17346
|
withPages: true,
|
|
17294
17347
|
siblings: 1,
|
|
@@ -17350,7 +17403,7 @@ var Pagination = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
17350
17403
|
const rawProps = __props;
|
|
17351
17404
|
const emit = __emit;
|
|
17352
17405
|
const attrs = useAttrs();
|
|
17353
|
-
const props = useProps("Pagination", defaultProps$
|
|
17406
|
+
const props = useProps("Pagination", defaultProps$22, rawProps);
|
|
17354
17407
|
const visible = computed(() => props.total > 0 && !(props.hideWithOnePage && props.total === 1));
|
|
17355
17408
|
/** The responsive layout collapses the page list into a "n of m" label. */
|
|
17356
17409
|
const isResponsive = computed(() => props.withPages && props.layout === "responsive");
|
|
@@ -17428,7 +17481,7 @@ var Tabs_module_default = {
|
|
|
17428
17481
|
};
|
|
17429
17482
|
//#endregion
|
|
17430
17483
|
//#region src/components/Tabs/Tabs.vue?vue&type=script&setup=true&lang.ts
|
|
17431
|
-
var defaultProps$
|
|
17484
|
+
var defaultProps$21 = {
|
|
17432
17485
|
keepMounted: true,
|
|
17433
17486
|
orientation: "horizontal",
|
|
17434
17487
|
loop: true,
|
|
@@ -17510,8 +17563,8 @@ var Tabs_default = /* @__PURE__ */ defineComponent({
|
|
|
17510
17563
|
const rawProps = __props;
|
|
17511
17564
|
const emit = __emit;
|
|
17512
17565
|
const attrs = useAttrs();
|
|
17513
|
-
const props = useProps("Tabs", defaultProps$
|
|
17514
|
-
const uid = useId(props.id);
|
|
17566
|
+
const props = useProps("Tabs", defaultProps$21, rawProps);
|
|
17567
|
+
const uid = useId$1(props.id);
|
|
17515
17568
|
const [currentTab, setCurrentTab] = useUncontrolled({
|
|
17516
17569
|
value: () => props.modelValue,
|
|
17517
17570
|
defaultValue: props.defaultValue,
|
|
@@ -17893,6 +17946,215 @@ var Tabs = Object.assign(Tabs_default, {
|
|
|
17893
17946
|
List: TabsList
|
|
17894
17947
|
});
|
|
17895
17948
|
//#endregion
|
|
17949
|
+
//#region src/components/ActionBar/ActionBar.context.ts
|
|
17950
|
+
var [provideActionBarContext, useActionBarContext] = createSafeContext("ActionBar component was not found in tree");
|
|
17951
|
+
//#endregion
|
|
17952
|
+
//#region src/components/ActionBar/ActionBarCloseButton/ActionBarCloseButton.ts
|
|
17953
|
+
var ActionBarCloseButton = /* @__PURE__ */ defineComponent({
|
|
17954
|
+
name: "ActionBarCloseButton",
|
|
17955
|
+
inheritAttrs: false,
|
|
17956
|
+
__name: "ActionBarCloseButton",
|
|
17957
|
+
props: { unstyled: { type: Boolean } },
|
|
17958
|
+
setup(__props) {
|
|
17959
|
+
const props = __props;
|
|
17960
|
+
const attrs = useAttrs();
|
|
17961
|
+
const ctx = useActionBarContext();
|
|
17962
|
+
return (_ctx, _cache) => {
|
|
17963
|
+
return openBlock(), createBlock(unref(CloseButton), mergeProps({
|
|
17964
|
+
...unref(attrs),
|
|
17965
|
+
...unref(ctx).getStyles("closeButton"),
|
|
17966
|
+
...props
|
|
17967
|
+
}, {
|
|
17968
|
+
unstyled: props.unstyled ?? unref(ctx).unstyled,
|
|
17969
|
+
onClick: unref(ctx).close
|
|
17970
|
+
}), null, 16, ["unstyled", "onClick"]);
|
|
17971
|
+
};
|
|
17972
|
+
}
|
|
17973
|
+
});
|
|
17974
|
+
//#endregion
|
|
17975
|
+
//#region src/components/ActionBar/ActionBarDivider/ActionBarDivider.ts
|
|
17976
|
+
var ActionBarDivider = /* @__PURE__ */ defineComponent({
|
|
17977
|
+
name: "ActionBarDivider",
|
|
17978
|
+
inheritAttrs: false,
|
|
17979
|
+
__name: "ActionBarDivider",
|
|
17980
|
+
setup(__props) {
|
|
17981
|
+
const attrs = useAttrs();
|
|
17982
|
+
const ctx = useActionBarContext();
|
|
17983
|
+
return (_ctx, _cache) => {
|
|
17984
|
+
return openBlock(), createBlock(unref(Box), mergeProps({
|
|
17985
|
+
...unref(attrs),
|
|
17986
|
+
...unref(ctx).getStyles("divider")
|
|
17987
|
+
}, {
|
|
17988
|
+
role: unref(attrs).role || "separator",
|
|
17989
|
+
"aria-orientation": unref(attrs)["aria-orientation"] || "vertical"
|
|
17990
|
+
}), null, 16, ["role", "aria-orientation"]);
|
|
17991
|
+
};
|
|
17992
|
+
}
|
|
17993
|
+
});
|
|
17994
|
+
var ActionBar_module_default = {
|
|
17995
|
+
root: "_root_1wjjt_1",
|
|
17996
|
+
divider: "_divider_1wjjt_9"
|
|
17997
|
+
};
|
|
17998
|
+
//#endregion
|
|
17999
|
+
//#region src/components/ActionBar/ActionBar.vue?vue&type=script&setup=true&lang.ts
|
|
18000
|
+
var defaultProps$20 = {
|
|
18001
|
+
withBorder: true,
|
|
18002
|
+
py: "xs",
|
|
18003
|
+
px: "sm",
|
|
18004
|
+
position: {
|
|
18005
|
+
bottom: 30,
|
|
18006
|
+
left: 0,
|
|
18007
|
+
right: 0
|
|
18008
|
+
},
|
|
18009
|
+
transitionProps: {
|
|
18010
|
+
transition: "pop",
|
|
18011
|
+
duration: 200
|
|
18012
|
+
},
|
|
18013
|
+
closeOnEscape: false,
|
|
18014
|
+
withinPortal: true,
|
|
18015
|
+
zIndex: getDefaultZIndex("modal")
|
|
18016
|
+
};
|
|
18017
|
+
//#endregion
|
|
18018
|
+
//#region src/components/ActionBar/ActionBar.ts
|
|
18019
|
+
var ActionBar = factory(/* @__PURE__ */ defineComponent({
|
|
18020
|
+
name: "ActionBar",
|
|
18021
|
+
inheritAttrs: false,
|
|
18022
|
+
__name: "ActionBar",
|
|
18023
|
+
props: {
|
|
18024
|
+
rootRef: {
|
|
18025
|
+
type: [Object, Function],
|
|
18026
|
+
default: void 0
|
|
18027
|
+
},
|
|
18028
|
+
opened: { type: Boolean },
|
|
18029
|
+
transitionProps: { default: void 0 },
|
|
18030
|
+
shadow: { default: void 0 },
|
|
18031
|
+
radius: { default: void 0 },
|
|
18032
|
+
withBorder: {
|
|
18033
|
+
type: Boolean,
|
|
18034
|
+
default: void 0
|
|
18035
|
+
},
|
|
18036
|
+
py: { default: void 0 },
|
|
18037
|
+
px: { default: void 0 },
|
|
18038
|
+
position: { default: void 0 },
|
|
18039
|
+
zIndex: { default: void 0 },
|
|
18040
|
+
withinPortal: {
|
|
18041
|
+
type: Boolean,
|
|
18042
|
+
default: void 0
|
|
18043
|
+
},
|
|
18044
|
+
portalProps: { default: void 0 },
|
|
18045
|
+
closeOnEscape: {
|
|
18046
|
+
type: Boolean,
|
|
18047
|
+
default: void 0
|
|
18048
|
+
},
|
|
18049
|
+
keepMounted: {
|
|
18050
|
+
type: Boolean,
|
|
18051
|
+
default: false
|
|
18052
|
+
},
|
|
18053
|
+
classNames: { default: void 0 },
|
|
18054
|
+
styles: { default: void 0 },
|
|
18055
|
+
vars: { default: void 0 },
|
|
18056
|
+
unstyled: {
|
|
18057
|
+
type: Boolean,
|
|
18058
|
+
default: false
|
|
18059
|
+
}
|
|
18060
|
+
},
|
|
18061
|
+
emits: ["close", "update:opened"],
|
|
18062
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
18063
|
+
const rawProps = __props;
|
|
18064
|
+
const emit = __emit;
|
|
18065
|
+
const attrs = useAttrs();
|
|
18066
|
+
const props = useProps("ActionBar", defaultProps$20, rawProps);
|
|
18067
|
+
const getStyles = useStyles({
|
|
18068
|
+
name: "ActionBar",
|
|
18069
|
+
classes: ActionBar_module_default,
|
|
18070
|
+
props,
|
|
18071
|
+
className: attrs.class,
|
|
18072
|
+
style: attrs.style,
|
|
18073
|
+
classNames: props.classNames,
|
|
18074
|
+
styles: props.styles,
|
|
18075
|
+
vars: props.vars,
|
|
18076
|
+
unstyled: props.unstyled
|
|
18077
|
+
});
|
|
18078
|
+
provideActionBarContext({
|
|
18079
|
+
getStyles,
|
|
18080
|
+
close: handleClose,
|
|
18081
|
+
get unstyled() {
|
|
18082
|
+
return props.unstyled;
|
|
18083
|
+
}
|
|
18084
|
+
});
|
|
18085
|
+
function handleClose() {
|
|
18086
|
+
emit("update:opened", false);
|
|
18087
|
+
emit("close");
|
|
18088
|
+
}
|
|
18089
|
+
function handleKeydown(event) {
|
|
18090
|
+
if (event.key === "Escape" && !event.isComposing) handleClose();
|
|
18091
|
+
}
|
|
18092
|
+
watchEffect((onCleanup) => {
|
|
18093
|
+
if (!props.closeOnEscape || !props.opened || typeof window === "undefined") return;
|
|
18094
|
+
window.addEventListener("keydown", handleKeydown, { passive: true });
|
|
18095
|
+
onCleanup(() => window.removeEventListener("keydown", handleKeydown));
|
|
18096
|
+
});
|
|
18097
|
+
onBeforeUnmount(() => {
|
|
18098
|
+
if (typeof window !== "undefined") window.removeEventListener("keydown", handleKeydown);
|
|
18099
|
+
});
|
|
18100
|
+
const rootElement = ref(null);
|
|
18101
|
+
const setRootRef = (node) => {
|
|
18102
|
+
rootElement.value = node;
|
|
18103
|
+
assignRef(props.rootRef, node);
|
|
18104
|
+
};
|
|
18105
|
+
__expose({ rootElement });
|
|
18106
|
+
return (_ctx, _cache) => {
|
|
18107
|
+
return openBlock(), createBlock(unref(Affix), {
|
|
18108
|
+
"z-index": unref(props).zIndex,
|
|
18109
|
+
position: unref(props).position,
|
|
18110
|
+
"within-portal": unref(props).withinPortal,
|
|
18111
|
+
"portal-props": unref(props).portalProps,
|
|
18112
|
+
unstyled: unref(props).unstyled
|
|
18113
|
+
}, {
|
|
18114
|
+
default: withCtx(() => [createVNode(unref(Transition), mergeProps(unref(props).transitionProps, {
|
|
18115
|
+
mounted: unref(props).opened,
|
|
18116
|
+
"keep-mounted": unref(props).keepMounted
|
|
18117
|
+
}), {
|
|
18118
|
+
default: withCtx((transitionStyles) => [createVNode(unref(Paper), mergeProps({ "root-ref": setRootRef }, {
|
|
18119
|
+
...unref(attrs),
|
|
18120
|
+
...unref(getStyles)("root", { style: transitionStyles })
|
|
18121
|
+
}, {
|
|
18122
|
+
role: "group",
|
|
18123
|
+
shadow: unref(props).shadow,
|
|
18124
|
+
radius: unref(props).radius,
|
|
18125
|
+
"with-border": unref(props).withBorder,
|
|
18126
|
+
py: unref(props).py,
|
|
18127
|
+
px: unref(props).px,
|
|
18128
|
+
unstyled: unref(props).unstyled
|
|
18129
|
+
}), {
|
|
18130
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
18131
|
+
_: 3
|
|
18132
|
+
}, 16, [
|
|
18133
|
+
"shadow",
|
|
18134
|
+
"radius",
|
|
18135
|
+
"with-border",
|
|
18136
|
+
"py",
|
|
18137
|
+
"px",
|
|
18138
|
+
"unstyled"
|
|
18139
|
+
])]),
|
|
18140
|
+
_: 3
|
|
18141
|
+
}, 16, ["mounted", "keep-mounted"])]),
|
|
18142
|
+
_: 3
|
|
18143
|
+
}, 8, [
|
|
18144
|
+
"z-index",
|
|
18145
|
+
"position",
|
|
18146
|
+
"within-portal",
|
|
18147
|
+
"portal-props",
|
|
18148
|
+
"unstyled"
|
|
18149
|
+
]);
|
|
18150
|
+
};
|
|
18151
|
+
}
|
|
18152
|
+
}), {
|
|
18153
|
+
classes: ActionBar_module_default,
|
|
18154
|
+
Divider: ActionBarDivider,
|
|
18155
|
+
CloseButton: ActionBarCloseButton
|
|
18156
|
+
});
|
|
18157
|
+
//#endregion
|
|
17896
18158
|
//#region src/components/Textarea/autosize-utils.ts
|
|
17897
18159
|
/**
|
|
17898
18160
|
* Uses a shared hidden <textarea> to measure row height and calculate
|
|
@@ -18504,7 +18766,8 @@ var varsResolver$28 = createVarsResolver((_, { size }) => ({ root: {
|
|
|
18504
18766
|
} }));
|
|
18505
18767
|
var defaultProps$19 = {
|
|
18506
18768
|
variant: "default",
|
|
18507
|
-
size: "sm"
|
|
18769
|
+
size: "sm",
|
|
18770
|
+
visibilityToggleFocusable: false
|
|
18508
18771
|
};
|
|
18509
18772
|
//#endregion
|
|
18510
18773
|
//#region src/components/PasswordInput/PasswordInput.ts
|
|
@@ -18517,6 +18780,7 @@ var PasswordInput = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
18517
18780
|
defaultValue: {},
|
|
18518
18781
|
visibilityToggleIcon: {},
|
|
18519
18782
|
visibilityToggleButtonProps: {},
|
|
18783
|
+
visibilityToggleFocusable: { type: Boolean },
|
|
18520
18784
|
visible: {
|
|
18521
18785
|
type: Boolean,
|
|
18522
18786
|
default: void 0
|
|
@@ -18636,7 +18900,7 @@ var PasswordInput = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
18636
18900
|
const slots = useSlots();
|
|
18637
18901
|
const attrs = useAttrs();
|
|
18638
18902
|
const props = useProps("PasswordInput", defaultProps$19, rawProps);
|
|
18639
|
-
const uuid = useId(props.id);
|
|
18903
|
+
const uuid = useId$1(props.id);
|
|
18640
18904
|
const fallbackId = ref(`password-input-${Math.random().toString(36).slice(2)}`);
|
|
18641
18905
|
const [visible, setVisible] = useUncontrolled({
|
|
18642
18906
|
value: () => props.visible,
|
|
@@ -18690,7 +18954,7 @@ var PasswordInput = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
18690
18954
|
disabled: props.disabled,
|
|
18691
18955
|
radius: props.radius,
|
|
18692
18956
|
"aria-pressed": visible.value,
|
|
18693
|
-
tabIndex: -1,
|
|
18957
|
+
tabIndex: props.visibilityToggleFocusable ? 0 : -1,
|
|
18694
18958
|
"aria-label": props.visibilityToggleButtonProps?.["aria-label"] || "Toggle password visibility",
|
|
18695
18959
|
variant: props.visibilityToggleButtonProps?.variant ?? "subtle",
|
|
18696
18960
|
color: "gray",
|
|
@@ -18707,7 +18971,7 @@ var PasswordInput = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
18707
18971
|
},
|
|
18708
18972
|
onKeydown: (event) => {
|
|
18709
18973
|
props.visibilityToggleButtonProps?.onKeydown?.(event);
|
|
18710
|
-
if (event.key === " ") {
|
|
18974
|
+
if (event.key === " " || event.key === "Enter") {
|
|
18711
18975
|
event.preventDefault();
|
|
18712
18976
|
toggleVisibility();
|
|
18713
18977
|
}
|
|
@@ -19250,6 +19514,7 @@ var CheckboxCard = factory(/* @__PURE__ */ defineComponent({
|
|
|
19250
19514
|
type: Boolean,
|
|
19251
19515
|
default: void 0
|
|
19252
19516
|
},
|
|
19517
|
+
indeterminate: { type: Boolean },
|
|
19253
19518
|
withBorder: {
|
|
19254
19519
|
type: Boolean,
|
|
19255
19520
|
default: true
|
|
@@ -19298,9 +19563,14 @@ var CheckboxCard = factory(/* @__PURE__ */ defineComponent({
|
|
|
19298
19563
|
varsResolver: varsResolver$27
|
|
19299
19564
|
});
|
|
19300
19565
|
/** Getter keeps the provided object reactive without changing the shape consumers read. */
|
|
19301
|
-
provide(CheckboxCardContextKey, {
|
|
19302
|
-
|
|
19303
|
-
|
|
19566
|
+
provide(CheckboxCardContextKey, {
|
|
19567
|
+
get checked() {
|
|
19568
|
+
return checked.value;
|
|
19569
|
+
},
|
|
19570
|
+
get indeterminate() {
|
|
19571
|
+
return props.indeterminate;
|
|
19572
|
+
}
|
|
19573
|
+
});
|
|
19304
19574
|
const cardStyles = computed(() => getStyles("card", {
|
|
19305
19575
|
className: attrs.class,
|
|
19306
19576
|
style: attrs.style
|
|
@@ -19329,10 +19599,11 @@ var CheckboxCard = factory(/* @__PURE__ */ defineComponent({
|
|
|
19329
19599
|
"__static-selector": "CheckboxCard",
|
|
19330
19600
|
mod: [{
|
|
19331
19601
|
"with-border": props.withBorder,
|
|
19332
|
-
checked: unref(checked)
|
|
19602
|
+
checked: unref(checked),
|
|
19603
|
+
indeterminate: props.indeterminate
|
|
19333
19604
|
}, props.mod],
|
|
19334
19605
|
role: "checkbox",
|
|
19335
|
-
"aria-checked": unref(checked),
|
|
19606
|
+
"aria-checked": props.indeterminate ? "mixed" : unref(checked),
|
|
19336
19607
|
onClick
|
|
19337
19608
|
}), {
|
|
19338
19609
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
@@ -19438,7 +19709,10 @@ var CheckboxIndicator = factory(/* @__PURE__ */ defineComponent({
|
|
|
19438
19709
|
type: Boolean,
|
|
19439
19710
|
default: void 0
|
|
19440
19711
|
},
|
|
19441
|
-
indeterminate: {
|
|
19712
|
+
indeterminate: {
|
|
19713
|
+
type: Boolean,
|
|
19714
|
+
default: void 0
|
|
19715
|
+
},
|
|
19442
19716
|
icon: { default: void 0 },
|
|
19443
19717
|
checked: {
|
|
19444
19718
|
type: Boolean,
|
|
@@ -19469,7 +19743,8 @@ var CheckboxIndicator = factory(/* @__PURE__ */ defineComponent({
|
|
|
19469
19743
|
varsResolver: varsResolver$26
|
|
19470
19744
|
});
|
|
19471
19745
|
const iconStyles = computed(() => getStyles("icon"));
|
|
19472
|
-
const
|
|
19746
|
+
const indeterminate = computed(() => typeof props.indeterminate === "boolean" ? props.indeterminate : cardContext?.indeterminate);
|
|
19747
|
+
const checked = computed(() => typeof props.checked === "boolean" || typeof props.indeterminate === "boolean" ? props.checked || props.indeterminate : cardContext?.checked || cardContext?.indeterminate || false);
|
|
19473
19748
|
const rootElement = ref(null);
|
|
19474
19749
|
const setRootRef = (node) => {
|
|
19475
19750
|
rootElement.value = node;
|
|
@@ -19487,14 +19762,14 @@ var CheckboxIndicator = factory(/* @__PURE__ */ defineComponent({
|
|
|
19487
19762
|
variant: props.variant,
|
|
19488
19763
|
mod: [{
|
|
19489
19764
|
checked: checked.value,
|
|
19490
|
-
indeterminate:
|
|
19765
|
+
indeterminate: indeterminate.value,
|
|
19491
19766
|
disabled: props.disabled
|
|
19492
19767
|
}, props.mod]
|
|
19493
19768
|
}), {
|
|
19494
19769
|
default: withCtx(() => [renderSlot(_ctx.$slots, "icon", normalizeProps(guardReactiveProps({
|
|
19495
|
-
indeterminate:
|
|
19770
|
+
indeterminate: indeterminate.value,
|
|
19496
19771
|
...iconStyles.value
|
|
19497
|
-
})), () => [(openBlock(), createBlock(resolveDynamicComponent(props.icon || unref(CheckboxIcon_default)), mergeProps(iconStyles.value, { indeterminate:
|
|
19772
|
+
})), () => [(openBlock(), createBlock(resolveDynamicComponent(props.icon || unref(CheckboxIcon_default)), mergeProps(iconStyles.value, { indeterminate: indeterminate.value }), null, 16, ["indeterminate"]))])]),
|
|
19498
19773
|
_: 3
|
|
19499
19774
|
}, 16, ["variant", "mod"]);
|
|
19500
19775
|
};
|
|
@@ -19642,7 +19917,7 @@ var Checkbox = factory(/* @__PURE__ */ defineComponent({
|
|
|
19642
19917
|
const slots = useSlots();
|
|
19643
19918
|
const attrs = useAttrs();
|
|
19644
19919
|
const props = useProps("Checkbox", defaultProps$17, rawProps);
|
|
19645
|
-
const uuid = useId(props.id);
|
|
19920
|
+
const uuid = useId$1(props.id);
|
|
19646
19921
|
const groupContext = useCheckboxGroupContext();
|
|
19647
19922
|
const [localChecked, setLocalChecked] = useUncontrolled({
|
|
19648
19923
|
value: () => props.modelValue !== void 0 ? props.modelValue : props.checked,
|
|
@@ -19952,7 +20227,7 @@ var Chip = factory(/* @__PURE__ */ defineComponent({
|
|
|
19952
20227
|
const attrs = useAttrs();
|
|
19953
20228
|
const props = useProps("Chip", defaultProps$16, rawProps);
|
|
19954
20229
|
const groupContext = useChipGroupContext();
|
|
19955
|
-
const uuid = useId(props.id);
|
|
20230
|
+
const uuid = useId$1(props.id);
|
|
19956
20231
|
const [value, setValue] = useUncontrolled({
|
|
19957
20232
|
value: () => props.modelValue !== void 0 ? props.modelValue : props.checked,
|
|
19958
20233
|
defaultValue: props.defaultChecked,
|
|
@@ -20709,7 +20984,7 @@ var RadioGroup = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
20709
20984
|
const slots = useSlots();
|
|
20710
20985
|
const attrs = useAttrs();
|
|
20711
20986
|
const props = useProps("RadioGroup", null, rawProps);
|
|
20712
|
-
const name = useId(props.name);
|
|
20987
|
+
const name = useId$1(props.name);
|
|
20713
20988
|
const [value, setValue] = useUncontrolled({
|
|
20714
20989
|
value: () => props.modelValue,
|
|
20715
20990
|
defaultValue: props.defaultValue,
|
|
@@ -21163,7 +21438,7 @@ var Radio = factory(/* @__PURE__ */ defineComponent({
|
|
|
21163
21438
|
const slots = useSlots();
|
|
21164
21439
|
const attrs = useAttrs();
|
|
21165
21440
|
const props = useProps("Radio", defaultProps$15, rawProps);
|
|
21166
|
-
const uuid = useId(props.id);
|
|
21441
|
+
const uuid = useId$1(props.id);
|
|
21167
21442
|
const groupContext = useRadioGroupContext();
|
|
21168
21443
|
const [localChecked, setLocalChecked] = useUncontrolled({
|
|
21169
21444
|
value: () => props.modelValue !== void 0 ? props.modelValue : props.checked,
|
|
@@ -21629,7 +21904,7 @@ var Switch = factory(/* @__PURE__ */ defineComponent({
|
|
|
21629
21904
|
const slots = useSlots();
|
|
21630
21905
|
const attrs = useAttrs();
|
|
21631
21906
|
const props = useProps("Switch", defaultProps$13, rawProps);
|
|
21632
|
-
const uuid = useId(props.id);
|
|
21907
|
+
const uuid = useId$1(props.id);
|
|
21633
21908
|
const groupContext = useSwitchGroupContext();
|
|
21634
21909
|
const [checked, setChecked] = useUncontrolled({
|
|
21635
21910
|
value: () => props.modelValue,
|
|
@@ -22023,27 +22298,28 @@ var StepperCompleted = /* @__PURE__ */ defineComponent({
|
|
|
22023
22298
|
}
|
|
22024
22299
|
});
|
|
22025
22300
|
var Stepper_module_default = {
|
|
22026
|
-
root: "
|
|
22027
|
-
steps: "
|
|
22028
|
-
separator: "
|
|
22029
|
-
content: "
|
|
22030
|
-
step: "
|
|
22031
|
-
"step--horizontal": "_step--
|
|
22032
|
-
"step--vertical": "_step--
|
|
22033
|
-
verticalSeparator: "
|
|
22034
|
-
stepWrapper: "
|
|
22035
|
-
stepIcon: "
|
|
22036
|
-
stepIconContent: "
|
|
22037
|
-
stepCompletedIcon: "
|
|
22038
|
-
stepBody: "
|
|
22039
|
-
stepLabel: "
|
|
22040
|
-
stepDescription: "
|
|
22301
|
+
root: "_root_1g4m5_1",
|
|
22302
|
+
steps: "_steps_1g4m5_25",
|
|
22303
|
+
separator: "_separator_1g4m5_50",
|
|
22304
|
+
content: "_content_1g4m5_63",
|
|
22305
|
+
step: "_step_1g4m5_25",
|
|
22306
|
+
"step--horizontal": "_step--horizontal_1g4m5_91",
|
|
22307
|
+
"step--vertical": "_step--vertical_1g4m5_94",
|
|
22308
|
+
verticalSeparator: "_verticalSeparator_1g4m5_107",
|
|
22309
|
+
stepWrapper: "_stepWrapper_1g4m5_111",
|
|
22310
|
+
stepIcon: "_stepIcon_1g4m5_125",
|
|
22311
|
+
stepIconContent: "_stepIconContent_1g4m5_160",
|
|
22312
|
+
stepCompletedIcon: "_stepCompletedIcon_1g4m5_163",
|
|
22313
|
+
stepBody: "_stepBody_1g4m5_171",
|
|
22314
|
+
stepLabel: "_stepLabel_1g4m5_187",
|
|
22315
|
+
stepDescription: "_stepDescription_1g4m5_192"
|
|
22041
22316
|
};
|
|
22042
22317
|
//#endregion
|
|
22043
22318
|
//#region src/components/Stepper/Stepper.vue?vue&type=script&setup=true&lang.ts
|
|
22044
22319
|
var defaultProps$11 = {
|
|
22045
22320
|
orientation: "horizontal",
|
|
22046
22321
|
iconPosition: "left",
|
|
22322
|
+
labelPosition: "right",
|
|
22047
22323
|
allowNextStepsSelect: true,
|
|
22048
22324
|
wrap: true
|
|
22049
22325
|
};
|
|
@@ -22126,6 +22402,7 @@ var Stepper_default = /* @__PURE__ */ defineComponent({
|
|
|
22126
22402
|
contentPadding: {},
|
|
22127
22403
|
orientation: {},
|
|
22128
22404
|
iconPosition: {},
|
|
22405
|
+
labelPosition: {},
|
|
22129
22406
|
size: {},
|
|
22130
22407
|
radius: {},
|
|
22131
22408
|
allowNextStepsSelect: {
|
|
@@ -22179,6 +22456,9 @@ var Stepper_default = /* @__PURE__ */ defineComponent({
|
|
|
22179
22456
|
},
|
|
22180
22457
|
get iconPosition() {
|
|
22181
22458
|
return props.iconPosition;
|
|
22459
|
+
},
|
|
22460
|
+
get labelPosition() {
|
|
22461
|
+
return props.orientation === "vertical" ? void 0 : props.labelPosition;
|
|
22182
22462
|
}
|
|
22183
22463
|
});
|
|
22184
22464
|
const rootStyles = computed(() => getStyles("root", {
|
|
@@ -22188,6 +22468,7 @@ var Stepper_default = /* @__PURE__ */ defineComponent({
|
|
|
22188
22468
|
const stepsMod = computed(() => ({
|
|
22189
22469
|
orientation: props.orientation,
|
|
22190
22470
|
iconPosition: props.iconPosition,
|
|
22471
|
+
labelPosition: props.orientation === "vertical" ? void 0 : props.labelPosition,
|
|
22191
22472
|
wrap: props.wrap && props.orientation !== "vertical"
|
|
22192
22473
|
}));
|
|
22193
22474
|
/** Splits the default slot into the steps and the optional completed node. */
|
|
@@ -22447,7 +22728,8 @@ var StepperStep = factory(/* @__PURE__ */ defineComponent({
|
|
|
22447
22728
|
}, {
|
|
22448
22729
|
mod: [{
|
|
22449
22730
|
iconPosition: iconPosition.value,
|
|
22450
|
-
allowClick: unref(props).allowStepClick
|
|
22731
|
+
allowClick: unref(props).allowStepClick,
|
|
22732
|
+
labelPosition: unref(ctx).labelPosition
|
|
22451
22733
|
}, unref(props).mod],
|
|
22452
22734
|
style: rootStyle.value,
|
|
22453
22735
|
tabindex: unref(props).allowStepClick ? 0 : -1
|
|
@@ -22833,7 +23115,7 @@ var TableOfContents = factory(/* @__PURE__ */ defineComponent({
|
|
|
22833
23115
|
const rawProps = __props;
|
|
22834
23116
|
const attrs = useAttrs();
|
|
22835
23117
|
const props = useProps("TableOfContents", defaultProps$9, rawProps);
|
|
22836
|
-
const id = useId();
|
|
23118
|
+
const id = useId$1();
|
|
22837
23119
|
const spy = useScrollSpy(props.scrollSpyOptions ?? {});
|
|
22838
23120
|
assignRef(props.reinitializeRef, spy.reinitialize);
|
|
22839
23121
|
const getStyles = useStyles({
|
|
@@ -27973,7 +28255,7 @@ function useLockScroll(opened) {
|
|
|
27973
28255
|
//#endregion
|
|
27974
28256
|
//#region src/components/ModalBase/use-modal.ts
|
|
27975
28257
|
function useModal(input) {
|
|
27976
|
-
const id = useId(input.id);
|
|
28258
|
+
const id = useId$1(input.id);
|
|
27977
28259
|
const titleMounted = ref(false);
|
|
27978
28260
|
const bodyMounted = ref(false);
|
|
27979
28261
|
useWindowEvent("keydown", (event) => {
|
|
@@ -28051,7 +28333,7 @@ var ModalBase = factory(/* @__PURE__ */ defineComponent({
|
|
|
28051
28333
|
const props = __props;
|
|
28052
28334
|
const emit = __emit;
|
|
28053
28335
|
const attrs = useAttrs();
|
|
28054
|
-
const fallbackId = useId(props.id);
|
|
28336
|
+
const fallbackId = useId$1(props.id);
|
|
28055
28337
|
const modal = useModal({
|
|
28056
28338
|
id: props.id,
|
|
28057
28339
|
opened: () => props.opened,
|
|
@@ -29723,7 +30005,7 @@ var Popover_default = /* @__PURE__ */ defineComponent({
|
|
|
29723
30005
|
const emit = __emit;
|
|
29724
30006
|
const props = useProps("Popover", defaults$2, rawProps);
|
|
29725
30007
|
const { dir } = useDirection();
|
|
29726
|
-
const id = useId(props.id);
|
|
30008
|
+
const id = useId$1(props.id);
|
|
29727
30009
|
const internal = ref(props.defaultOpened);
|
|
29728
30010
|
const isControlled = computed(() => rawProps.opened !== void 0);
|
|
29729
30011
|
const opened = computed(() => isControlled.value ? !!rawProps.opened : internal.value);
|
|
@@ -30294,8 +30576,8 @@ function useTooltip(options) {
|
|
|
30294
30576
|
};
|
|
30295
30577
|
}
|
|
30296
30578
|
var Tooltip_module_default = {
|
|
30297
|
-
tooltip: "
|
|
30298
|
-
arrow: "
|
|
30579
|
+
tooltip: "_tooltip_1mme1_1",
|
|
30580
|
+
arrow: "_arrow_1mme1_34"
|
|
30299
30581
|
};
|
|
30300
30582
|
//#endregion
|
|
30301
30583
|
//#region src/components/Tooltip/Tooltip.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -30380,6 +30662,7 @@ var Tooltip_default = /* @__PURE__ */ defineComponent({
|
|
|
30380
30662
|
arrowPosition: {},
|
|
30381
30663
|
transitionProps: {},
|
|
30382
30664
|
events: {},
|
|
30665
|
+
interactive: { type: Boolean },
|
|
30383
30666
|
inline: {
|
|
30384
30667
|
type: Boolean,
|
|
30385
30668
|
default: false
|
|
@@ -30437,6 +30720,16 @@ var Tooltip_default = /* @__PURE__ */ defineComponent({
|
|
|
30437
30720
|
const slots = useSlots();
|
|
30438
30721
|
const attrs = useAttrs();
|
|
30439
30722
|
const props = useProps("Tooltip", defaults$1, rawProps);
|
|
30723
|
+
let interactiveCloseTimer;
|
|
30724
|
+
const cancelInteractiveClose = () => {
|
|
30725
|
+
clearTimeout(interactiveCloseTimer);
|
|
30726
|
+
interactiveCloseTimer = void 0;
|
|
30727
|
+
};
|
|
30728
|
+
const closeFromPointer = () => {
|
|
30729
|
+
cancelInteractiveClose();
|
|
30730
|
+
if (props.interactive) interactiveCloseTimer = setTimeout(tooltip.close, 50);
|
|
30731
|
+
else tooltip.close();
|
|
30732
|
+
};
|
|
30440
30733
|
const { dir } = useDirection();
|
|
30441
30734
|
const tooltip = useTooltip({
|
|
30442
30735
|
position: () => getFloatingPosition(dir.value, props.position ?? "top"),
|
|
@@ -30469,10 +30762,13 @@ var Tooltip_default = /* @__PURE__ */ defineComponent({
|
|
|
30469
30762
|
});
|
|
30470
30763
|
const referenceHandlers = () => ({
|
|
30471
30764
|
onMouseenter: () => {
|
|
30472
|
-
if ((props.events ?? defaults$1.events).hover)
|
|
30765
|
+
if ((props.events ?? defaults$1.events).hover) {
|
|
30766
|
+
cancelInteractiveClose();
|
|
30767
|
+
tooltip.open();
|
|
30768
|
+
}
|
|
30473
30769
|
},
|
|
30474
30770
|
onMouseleave: () => {
|
|
30475
|
-
if ((props.events ?? defaults$1.events).hover)
|
|
30771
|
+
if ((props.events ?? defaults$1.events).hover) closeFromPointer();
|
|
30476
30772
|
},
|
|
30477
30773
|
onFocus: () => {
|
|
30478
30774
|
if ((props.events ?? defaults$1.events).focus) tooltip.open();
|
|
@@ -30506,7 +30802,10 @@ var Tooltip_default = /* @__PURE__ */ defineComponent({
|
|
|
30506
30802
|
external = null;
|
|
30507
30803
|
}
|
|
30508
30804
|
onMounted(() => props.target && bindExternal());
|
|
30509
|
-
onBeforeUnmount(
|
|
30805
|
+
onBeforeUnmount(() => {
|
|
30806
|
+
cancelInteractiveClose();
|
|
30807
|
+
unbindExternal();
|
|
30808
|
+
});
|
|
30510
30809
|
const arrowPosition = computed(() => props.arrowPosition ?? "side");
|
|
30511
30810
|
/** `merge` draws the arrow as part of the tooltip body, which needs extra styles. */
|
|
30512
30811
|
const mergeStyles = computed(() => arrowPosition.value === "merge" && props.withArrow ? getArrowMergeDropdownStyles({
|
|
@@ -30564,7 +30863,10 @@ var Tooltip_default = /* @__PURE__ */ defineComponent({
|
|
|
30564
30863
|
}, {
|
|
30565
30864
|
role: "tooltip",
|
|
30566
30865
|
"data-multiline": unref(props).multiline || void 0,
|
|
30567
|
-
"data-fixed": unref(props).floatingStrategy === "fixed" || void 0
|
|
30866
|
+
"data-fixed": unref(props).floatingStrategy === "fixed" || void 0,
|
|
30867
|
+
"data-interactive": unref(props).interactive && mounted.value ? true : void 0,
|
|
30868
|
+
onMouseenter: _cache[0] || (_cache[0] = ($event) => unref(props).interactive && (cancelInteractiveClose(), unref(tooltip).open())),
|
|
30869
|
+
onMouseleave: _cache[1] || (_cache[1] = ($event) => unref(props).interactive && closeFromPointer())
|
|
30568
30870
|
}), {
|
|
30569
30871
|
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(renderLabel))), createVNode(unref(FloatingArrow), mergeProps({ ref: setArrow }, unref(getStyles)("arrow"), {
|
|
30570
30872
|
visible: unref(props).withArrow,
|
|
@@ -30586,7 +30888,11 @@ var Tooltip_default = /* @__PURE__ */ defineComponent({
|
|
|
30586
30888
|
"arrow-y"
|
|
30587
30889
|
])]),
|
|
30588
30890
|
_: 1
|
|
30589
|
-
}, 16, [
|
|
30891
|
+
}, 16, [
|
|
30892
|
+
"data-multiline",
|
|
30893
|
+
"data-fixed",
|
|
30894
|
+
"data-interactive"
|
|
30895
|
+
])]),
|
|
30590
30896
|
_: 1
|
|
30591
30897
|
}, 16, ["mounted", "keep-mounted"])]),
|
|
30592
30898
|
_: 1
|
|
@@ -30704,6 +31010,7 @@ var TooltipFloating_default = /* @__PURE__ */ defineComponent({
|
|
|
30704
31010
|
varsResolver: varsResolver$3
|
|
30705
31011
|
});
|
|
30706
31012
|
function move(event) {
|
|
31013
|
+
if (!Number.isFinite(event.clientX) || !Number.isFinite(event.clientY)) return;
|
|
30707
31014
|
const valueOffset = props.offset ?? 10;
|
|
30708
31015
|
const horizontal = state.placement.value.includes("right") ? valueOffset : state.placement.value.includes("left") ? -valueOffset : 0;
|
|
30709
31016
|
const vertical = state.placement.value.includes("bottom") ? valueOffset : state.placement.value.includes("top") ? -valueOffset : 0;
|
|
@@ -30728,8 +31035,8 @@ var TooltipFloating_default = /* @__PURE__ */ defineComponent({
|
|
|
30728
31035
|
{
|
|
30729
31036
|
zIndex: props.zIndex,
|
|
30730
31037
|
display: !props.disabled && opened.value ? "block" : "none",
|
|
30731
|
-
top: state.y.value
|
|
30732
|
-
left: state.x.value
|
|
31038
|
+
top: Number.isFinite(state.y.value) ? `${Math.round(state.y.value)}px` : "",
|
|
31039
|
+
left: Number.isFinite(state.x.value) ? `${Math.round(state.x.value)}px` : ""
|
|
30733
31040
|
}
|
|
30734
31041
|
]);
|
|
30735
31042
|
const label = computed(() => resolveNode(props.label, slots.label));
|
|
@@ -32324,7 +32631,7 @@ var Menubar_default = /* @__PURE__ */ defineComponent({
|
|
|
32324
32631
|
const setRootRef = (el) => {
|
|
32325
32632
|
rootRef.value = el?.$el ?? el;
|
|
32326
32633
|
};
|
|
32327
|
-
const menubarId = useId();
|
|
32634
|
+
const menubarId = useId$1();
|
|
32328
32635
|
const revision = ref(0);
|
|
32329
32636
|
const [openIndexRef, setOpenIndex] = useUncontrolled({
|
|
32330
32637
|
value: () => props.openIndex,
|
|
@@ -32588,7 +32895,7 @@ var MenubarMenu = /* @__PURE__ */ defineComponent({
|
|
|
32588
32895
|
const props = __props;
|
|
32589
32896
|
const attrs = useAttrs();
|
|
32590
32897
|
const ctx = useMenubarContext();
|
|
32591
|
-
const id = useId();
|
|
32898
|
+
const id = useId$1();
|
|
32592
32899
|
const index = computed(() => props.__index);
|
|
32593
32900
|
const opened = computed(() => ctx.openIndex !== null && index.value !== -1 && ctx.openIndex === index.value);
|
|
32594
32901
|
/** Getters keep the provided object reactive without changing the shape consumers read. */
|
|
@@ -33418,7 +33725,7 @@ var ComboboxGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
33418
33725
|
const props = __props;
|
|
33419
33726
|
const attrs = useAttrs();
|
|
33420
33727
|
const ctx = useComboboxContext();
|
|
33421
|
-
const id = useId(props.id);
|
|
33728
|
+
const id = useId$1(props.id);
|
|
33422
33729
|
const groupStyles = computed(() => ctx.getStyles("group", {
|
|
33423
33730
|
className: attrs.class,
|
|
33424
33731
|
style: attrs.style
|
|
@@ -33510,7 +33817,7 @@ var ComboboxOption_default = /* @__PURE__ */ defineComponent({
|
|
|
33510
33817
|
const props = __props;
|
|
33511
33818
|
const attrs = useAttrs();
|
|
33512
33819
|
const ctx = useComboboxContext();
|
|
33513
|
-
const id = useId(props.id);
|
|
33820
|
+
const id = useId$1(props.id);
|
|
33514
33821
|
/**
|
|
33515
33822
|
* The consumer handlers are chained explicitly below, so they must not also reach the
|
|
33516
33823
|
* element through the fallthrough attributes or they would fire twice.
|
|
@@ -33585,7 +33892,7 @@ var ComboboxOptions_default = /* @__PURE__ */ defineComponent({
|
|
|
33585
33892
|
const props = __props;
|
|
33586
33893
|
const attrs = useAttrs();
|
|
33587
33894
|
const ctx = useComboboxContext();
|
|
33588
|
-
const id = useId(props.id);
|
|
33895
|
+
const id = useId$1(props.id);
|
|
33589
33896
|
onMounted(() => ctx.store.setListId(id.value));
|
|
33590
33897
|
/**
|
|
33591
33898
|
* The consumer handler is chained explicitly below, so it must not also reach the
|
|
@@ -33985,6 +34292,18 @@ function getOptionsLockup(options) {
|
|
|
33985
34292
|
options.forEach((item) => isOptionsGroup(item) ? Object.assign(result, getOptionsLockup(item.items)) : result[String(item.value)] = item);
|
|
33986
34293
|
return result;
|
|
33987
34294
|
}
|
|
34295
|
+
/** Finds one enabled option by label, ignoring casing and surrounding whitespace. */
|
|
34296
|
+
function getOptionByLabel(optionsLockup, label) {
|
|
34297
|
+
const normalized = label.trim().toLowerCase();
|
|
34298
|
+
if (!normalized) return void 0;
|
|
34299
|
+
const matches = Object.values(optionsLockup).filter((option) => !option.disabled && option.label.trim().toLowerCase() === normalized);
|
|
34300
|
+
return matches.length === 1 ? matches[0] : void 0;
|
|
34301
|
+
}
|
|
34302
|
+
/** Detects browser autofill and extension writes, which occur without focusing the input. */
|
|
34303
|
+
function isExternalInputChange(event) {
|
|
34304
|
+
const target = event.currentTarget;
|
|
34305
|
+
return !!target && target.ownerDocument.activeElement !== target;
|
|
34306
|
+
}
|
|
33988
34307
|
function defaultOptionsFilter({ options, search, limit }) {
|
|
33989
34308
|
const query = search.trim().toLowerCase();
|
|
33990
34309
|
const result = [];
|
|
@@ -35353,7 +35672,7 @@ var Select = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
35353
35672
|
watch(() => search(), () => {
|
|
35354
35673
|
if (props.selectFirstOptionOnChange) nextTick(combobox.selectFirstOption);
|
|
35355
35674
|
});
|
|
35356
|
-
const id = useId(attrs.id);
|
|
35675
|
+
const id = useId$1(attrs.id);
|
|
35357
35676
|
function clear(event) {
|
|
35358
35677
|
event?.stopPropagation();
|
|
35359
35678
|
changeValue(null, null);
|
|
@@ -35388,6 +35707,16 @@ var Select = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
35388
35707
|
combobox.closeDropdown();
|
|
35389
35708
|
}
|
|
35390
35709
|
function onInput(event) {
|
|
35710
|
+
if (isExternalInputChange(event)) {
|
|
35711
|
+
if (!readOnly.value) {
|
|
35712
|
+
const option = getOptionByLabel(lockup.value, event.currentTarget.value);
|
|
35713
|
+
if (option && String(option.value) !== String(current())) {
|
|
35714
|
+
changeValue(option.value, option);
|
|
35715
|
+
if (!controlled()) internalSearch.value = option.label;
|
|
35716
|
+
}
|
|
35717
|
+
}
|
|
35718
|
+
return;
|
|
35719
|
+
}
|
|
35391
35720
|
setSearch(event.currentTarget.value);
|
|
35392
35721
|
combobox.openDropdown();
|
|
35393
35722
|
}
|
|
@@ -35646,7 +35975,7 @@ var Autocomplete = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
35646
35975
|
watch(() => current(), () => {
|
|
35647
35976
|
if (props.selectFirstOptionOnChange) nextTick(combobox.selectFirstOption);
|
|
35648
35977
|
});
|
|
35649
|
-
const id = useId(attrs.id);
|
|
35978
|
+
const id = useId$1(attrs.id);
|
|
35650
35979
|
function clear(event) {
|
|
35651
35980
|
event?.stopPropagation();
|
|
35652
35981
|
change("");
|
|
@@ -35992,6 +36321,13 @@ var MultiSelect = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
35992
36321
|
else combobox.toggleDropdown();
|
|
35993
36322
|
}
|
|
35994
36323
|
function onFieldInput(event) {
|
|
36324
|
+
if (isExternalInputChange(event)) {
|
|
36325
|
+
if (!readOnly.value) {
|
|
36326
|
+
const option = getOptionByLabel(lockup.value, event.currentTarget.value);
|
|
36327
|
+
if (option && !values.value.includes(option.value) && values.value.length < props.maxValues) setValue([...values.value, option.value]);
|
|
36328
|
+
}
|
|
36329
|
+
return;
|
|
36330
|
+
}
|
|
35995
36331
|
setSearch(event.target.value);
|
|
35996
36332
|
combobox.openDropdown();
|
|
35997
36333
|
}
|
|
@@ -36396,6 +36732,7 @@ var TagsInput = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
36396
36732
|
submit(lockup.value[raw]?.label ?? raw);
|
|
36397
36733
|
}
|
|
36398
36734
|
function onFieldInput(event) {
|
|
36735
|
+
if (isExternalInputChange(event)) return;
|
|
36399
36736
|
const input = event.target.value;
|
|
36400
36737
|
if (props.splitChars.some((char) => input.includes(char))) split(input);
|
|
36401
36738
|
else setSearch(input);
|
|
@@ -36657,7 +36994,8 @@ var ColorInput = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
36657
36994
|
default: true
|
|
36658
36995
|
},
|
|
36659
36996
|
swatches: {},
|
|
36660
|
-
swatchesPerRow: { default: 7 }
|
|
36997
|
+
swatchesPerRow: { default: 7 },
|
|
36998
|
+
fullWidth: { type: Boolean }
|
|
36661
36999
|
},
|
|
36662
37000
|
emits: [
|
|
36663
37001
|
"update:modelValue",
|
|
@@ -36768,6 +37106,7 @@ var ColorInput = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
36768
37106
|
opened: opened.value,
|
|
36769
37107
|
"with-roles": false,
|
|
36770
37108
|
disabled: pickerDisabled.value,
|
|
37109
|
+
width: props.fullWidth ? "target" : void 0,
|
|
36771
37110
|
"__static-selector": "ColorInput",
|
|
36772
37111
|
"onUpdate:opened": onPopoverChange
|
|
36773
37112
|
}), {
|
|
@@ -36834,6 +37173,7 @@ var ColorInput = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
36834
37173
|
"with-picker": props.withPicker,
|
|
36835
37174
|
focusable: false,
|
|
36836
37175
|
size: unref(attrs).size,
|
|
37176
|
+
"full-width": props.fullWidth,
|
|
36837
37177
|
onChange: onPickerChange,
|
|
36838
37178
|
onChangeEnd: onPickerChangeEnd,
|
|
36839
37179
|
onColorSwatchClick
|
|
@@ -36843,12 +37183,17 @@ var ColorInput = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
36843
37183
|
"swatches",
|
|
36844
37184
|
"swatches-per-row",
|
|
36845
37185
|
"with-picker",
|
|
36846
|
-
"size"
|
|
37186
|
+
"size",
|
|
37187
|
+
"full-width"
|
|
36847
37188
|
])]),
|
|
36848
37189
|
_: 1
|
|
36849
37190
|
}, 8, ["class"])]),
|
|
36850
37191
|
_: 3
|
|
36851
|
-
}, 16, [
|
|
37192
|
+
}, 16, [
|
|
37193
|
+
"opened",
|
|
37194
|
+
"disabled",
|
|
37195
|
+
"width"
|
|
37196
|
+
]);
|
|
36852
37197
|
};
|
|
36853
37198
|
}
|
|
36854
37199
|
}), { classes: {
|
|
@@ -37334,6 +37679,7 @@ var TreeSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
37334
37679
|
disabled,
|
|
37335
37680
|
placeholder: !hasValue ? attrs.placeholder : void 0,
|
|
37336
37681
|
onInput: (event) => {
|
|
37682
|
+
if (isExternalInputChange(event)) return;
|
|
37337
37683
|
setSearch(event.target.value);
|
|
37338
37684
|
combobox.openDropdown();
|
|
37339
37685
|
},
|
|
@@ -37375,6 +37721,7 @@ var TreeSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
37375
37721
|
rightSection,
|
|
37376
37722
|
rightSectionPointerEvents: canClear ? "all" : "none",
|
|
37377
37723
|
onInput: (event) => {
|
|
37724
|
+
if (isExternalInputChange(event)) return;
|
|
37378
37725
|
setSearch(event.target.value);
|
|
37379
37726
|
combobox.openDropdown();
|
|
37380
37727
|
},
|
|
@@ -37560,6 +37907,10 @@ var Cascader = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
37560
37907
|
default: true
|
|
37561
37908
|
},
|
|
37562
37909
|
expandTrigger: { default: "click" },
|
|
37910
|
+
safeAreaPolygon: {
|
|
37911
|
+
type: [Boolean, Object],
|
|
37912
|
+
default: true
|
|
37913
|
+
},
|
|
37563
37914
|
searchable: {
|
|
37564
37915
|
type: Boolean,
|
|
37565
37916
|
default: false
|
|
@@ -37651,7 +38002,7 @@ var Cascader = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
37651
38002
|
const emit = __emit;
|
|
37652
38003
|
const slots = useSlots();
|
|
37653
38004
|
const attrs = useAttrs();
|
|
37654
|
-
const id = useId(attrs.id);
|
|
38005
|
+
const id = useId$1(attrs.id);
|
|
37655
38006
|
const internalValue = ref(props.defaultValue ?? null);
|
|
37656
38007
|
const currentValue = computed(() => props.modelValue !== void 0 ? props.modelValue : internalValue.value);
|
|
37657
38008
|
const pathOptions = computed(() => getCascaderPathOptions(props.data, currentValue.value));
|
|
@@ -37739,6 +38090,55 @@ var Cascader = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
37739
38090
|
if (cascaderOptionHasChildren(option)) expandOption(level, option);
|
|
37740
38091
|
else activePath.value = [...activePath.value.slice(0, level), option.value];
|
|
37741
38092
|
};
|
|
38093
|
+
const columnElements = {};
|
|
38094
|
+
const blockedLevel = ref(null);
|
|
38095
|
+
let pendingOption = null;
|
|
38096
|
+
let removeSafeAreaListener = () => {};
|
|
38097
|
+
const disarmSafeArea = () => {
|
|
38098
|
+
removeSafeAreaListener();
|
|
38099
|
+
removeSafeAreaListener = () => {};
|
|
38100
|
+
blockedLevel.value = null;
|
|
38101
|
+
pendingOption = null;
|
|
38102
|
+
};
|
|
38103
|
+
function pointInTriangle(point, a, b, c) {
|
|
38104
|
+
const sign = (p1, p2, p3) => (p1.x - p3.x) * (p2.y - p3.y) - (p2.x - p3.x) * (p1.y - p3.y);
|
|
38105
|
+
const d1 = sign(point, a, b);
|
|
38106
|
+
const d2 = sign(point, b, c);
|
|
38107
|
+
const d3 = sign(point, c, a);
|
|
38108
|
+
return !((d1 < 0 || d2 < 0 || d3 < 0) && (d1 > 0 || d2 > 0 || d3 > 0));
|
|
38109
|
+
}
|
|
38110
|
+
const armSafeArea = (level, reference, floating, event) => {
|
|
38111
|
+
disarmSafeArea();
|
|
38112
|
+
const buffer = (typeof props.safeAreaPolygon === "object" ? props.safeAreaPolygon : void 0)?.buffer ?? .5;
|
|
38113
|
+
const rect = floating.getBoundingClientRect();
|
|
38114
|
+
const referenceRect = reference.getBoundingClientRect();
|
|
38115
|
+
const edgeX = rect.left >= referenceRect.right ? rect.left + buffer : rect.right - buffer;
|
|
38116
|
+
const a = {
|
|
38117
|
+
x: event.clientX,
|
|
38118
|
+
y: event.clientY
|
|
38119
|
+
};
|
|
38120
|
+
const b = {
|
|
38121
|
+
x: edgeX,
|
|
38122
|
+
y: rect.top - buffer
|
|
38123
|
+
};
|
|
38124
|
+
const c = {
|
|
38125
|
+
x: edgeX,
|
|
38126
|
+
y: rect.bottom + buffer
|
|
38127
|
+
};
|
|
38128
|
+
blockedLevel.value = level;
|
|
38129
|
+
const onMouseMove = (moveEvent) => {
|
|
38130
|
+
if (pointInTriangle({
|
|
38131
|
+
x: moveEvent.clientX,
|
|
38132
|
+
y: moveEvent.clientY
|
|
38133
|
+
}, a, b, c)) return;
|
|
38134
|
+
const pending = pendingOption;
|
|
38135
|
+
disarmSafeArea();
|
|
38136
|
+
if (pending) handleOptionMouseEnter(pending.level, pending.option);
|
|
38137
|
+
};
|
|
38138
|
+
floating.ownerDocument.addEventListener("mousemove", onMouseMove);
|
|
38139
|
+
removeSafeAreaListener = () => floating.ownerDocument.removeEventListener("mousemove", onMouseMove);
|
|
38140
|
+
};
|
|
38141
|
+
onBeforeUnmount(disarmSafeArea);
|
|
37742
38142
|
const flatPaths = computed(() => flattenCascaderPaths(props.data));
|
|
37743
38143
|
const isSearching = computed(() => props.searchable && search.value.trim().length > 0 && search.value !== displayString.value);
|
|
37744
38144
|
const showFlatList = computed(() => isSearching.value || !props.withColumns);
|
|
@@ -37805,6 +38205,7 @@ var Cascader = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
37805
38205
|
class: Cascader_module_default.columnsList,
|
|
37806
38206
|
role: "presentation",
|
|
37807
38207
|
onMouseleave: () => {
|
|
38208
|
+
disarmSafeArea();
|
|
37808
38209
|
if (props.expandTrigger === "hover") resetActivePath();
|
|
37809
38210
|
},
|
|
37810
38211
|
onMousemove: () => keyboardNav.value = false
|
|
@@ -37814,6 +38215,9 @@ var Cascader = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
37814
38215
|
const level = windowStart + index;
|
|
37815
38216
|
const isLast = index === visibleColumns.length - 1 && hiddenAfter === 0;
|
|
37816
38217
|
return h("div", {
|
|
38218
|
+
ref: (element) => {
|
|
38219
|
+
columnElements[level] = element;
|
|
38220
|
+
},
|
|
37817
38221
|
class: Cascader_module_default.column,
|
|
37818
38222
|
"data-last": isLast || void 0,
|
|
37819
38223
|
style: {
|
|
@@ -37845,7 +38249,23 @@ var Cascader = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
37845
38249
|
"data-disabled": option.disabled || void 0,
|
|
37846
38250
|
onMousedown: (event) => event.preventDefault(),
|
|
37847
38251
|
onClick: () => handleOptionClick(level, option),
|
|
37848
|
-
onMouseenter: () =>
|
|
38252
|
+
onMouseenter: () => {
|
|
38253
|
+
if (option.disabled) return;
|
|
38254
|
+
if (blockedLevel.value !== null && level <= blockedLevel.value) {
|
|
38255
|
+
pendingOption = {
|
|
38256
|
+
level,
|
|
38257
|
+
option
|
|
38258
|
+
};
|
|
38259
|
+
return;
|
|
38260
|
+
}
|
|
38261
|
+
handleOptionMouseEnter(level, option);
|
|
38262
|
+
},
|
|
38263
|
+
onMouseleave: (event) => {
|
|
38264
|
+
if (pendingOption?.level === level && pendingOption.option.value === option.value) pendingOption = null;
|
|
38265
|
+
if (props.expandTrigger !== "hover" || !props.safeAreaPolygon || option.disabled || activePath.value[level] !== option.value) return;
|
|
38266
|
+
const floating = columnElements[level + 1];
|
|
38267
|
+
if (floating) armSafeArea(level, event.currentTarget, floating, event);
|
|
38268
|
+
}
|
|
37849
38269
|
}, () => [
|
|
37850
38270
|
selected && props.withCheckIcon && props.checkIconPosition === "left" ? h(CheckIcon_default, { class: Cascader_module_default.columnOptionCheck }) : null,
|
|
37851
38271
|
h("span", { class: Cascader_module_default.columnOptionLabel }, [props.renderOption ? props.renderOption(option, level) : slots.renderOption?.({
|
|
@@ -38006,6 +38426,7 @@ var Cascader = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
38006
38426
|
__clearSectionMode: props.clearSectionMode,
|
|
38007
38427
|
rightSectionPointerEvents: attrs.rightSectionPointerEvents || "none",
|
|
38008
38428
|
onInput: (event) => {
|
|
38429
|
+
if (isExternalInputChange(event)) return;
|
|
38009
38430
|
setSearch(event.target.value);
|
|
38010
38431
|
if (canInteract.value) combobox.openDropdown("keyboard");
|
|
38011
38432
|
},
|
|
@@ -38053,6 +38474,6 @@ var Cascader = Object.assign(/* @__PURE__ */ defineComponent({
|
|
|
38053
38474
|
...Cascader_module_default
|
|
38054
38475
|
} });
|
|
38055
38476
|
//#endregion
|
|
38056
|
-
export { Accordion, AccordionChevron, AccordionControl, AccordionItem, AccordionPanel, ActionIcon, ActionIconGroup, ActionIconGroupSection, Affix, Alert, AlphaSlider, Anchor, AngleSlider, AppShell, AppShellAside, AppShellFooter, AppShellHeader, AppShellMain, AppShellNavbar, AppShellSection, AspectRatio, Autocomplete, Avatar, AvatarGroup, BackgroundImage, Badge, Bars, Blockquote, Box, Breadcrumbs, Burger, Button, ButtonGroup, ButtonGroupSection, Card, CardSection, Cascader, Center, CheckIcon_default as CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, CheckboxIcon_default as CheckboxIcon, CheckboxIndicator, Chip, ChipGroup, CloseButton, CloseIcon_default as CloseIcon, Code, Collapse, ColorInput, ColorPicker, ColorSlider, ColorSwatch, Combobox, ComboboxChevron, ComboboxClearButton, ComboboxDropdown, ComboboxDropdownTarget, ComboboxEmpty, ComboboxEventsTarget, ComboboxFooter, ComboboxGroup, ComboboxHeader, ComboboxHiddenInput, ComboboxOption, ComboboxOptions, ComboboxPopover, ComboboxPopoverTarget, ComboboxSearch, ComboboxTarget, Container, CopyButton_default as CopyButton, DEFAULT_COLORS, DEFAULT_THEME, DataList, DataListItem, DataListItemLabel, DataListItemValue, Dialog, DirectionContextKey, DirectionProvider, Divider, Dots, Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerHeader, DrawerOverlay, DrawerRoot, DrawerStack, DrawerTitle, EmptyState, EmptyStateActions, EmptyStateDescription, EmptyStateIndicator, EmptyStateTitle, FLEX_STYLE_PROPS_DATA, Fieldset, FileButton, FileInput, FlatTreeNode_default as FlatTreeNode, Flex, FloatingIndicator, FloatingWindow, FloatingWindowResizeHandle, FocusTrap, FocusTrapInitialFocus, Grid, GridCol, Group, HeadlessMantineProvider, Highlight, HoverCard, HoverCardDropdown, HoverCardGroup, HoverCardTarget, HueSlider, INVALID_PRIMARY_COLOR_ERROR, INVALID_PRIMARY_SHADE_ERROR, Image, Indicator, InlineStyles, Input, InputBase, InputClearButton, InputClearSection, InputDescription, InputError, InputLabel, InputPlaceholder, InputWrapper, JsonInput, Kbd, List, ListItem, Loader, LoadingOverlay, MantineClasses, MantineContextKey, MantineCssVariables, MantineProvider, MantineThemeKey, MantineThemeProvider, Mark, Marquee, MaskInput, Menu, MenuCheckboxGroup, MenuCheckboxItem, MenuContextMenu, MenuDivider, MenuDropdown, MenuItem, MenuLabel, MenuRadioGroup, MenuRadioItem, MenuSearch, MenuSub, MenuSubDropdown, MenuSubItem, MenuSubTarget, MenuTarget, Menubar, MenubarDropdown, MenubarMenu, MenubarTarget, Modal, ModalBase, ModalBaseBody, ModalBaseCloseButton, ModalBaseContent, ModalBaseHeader, ModalBaseOverlay_default as ModalBaseOverlay, ModalBaseTitle, ModalBody, ModalCloseButton, ModalContent, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultiSelect, NativeScrollArea, NativeSelect, NativeSelectOption, NavLink, Notification, NumberFormatter, NumberInput, NumberInputChevron, OptionalPortal_default as OptionalPortal, OptionsDropdown_default as OptionsDropdown, Oval, OverflowList, Overlay, Pagination, PaginationControl, PaginationDots, PaginationFirst, PaginationItems, PaginationItemsGroup, PaginationLabel, PaginationLast, PaginationNext, PaginationPrevious, PaginationRoot, Paper, PasswordInput, PasswordToggleIcon, Pill, PillGroup, PillsInput, PillsInputField, PinInput, Popover, PopoverContextMenu, PopoverDropdown, PopoverTarget, Portal, Progress, ProgressLabel, ProgressRoot, ProgressSection, Radio, RadioCard, RadioGroup, RadioIcon, RadioIndicator, RangeSlider, Rating, RatingItem, RingProgress, RollingNumber, STYLE_PROPS_DATA, ScrollArea, ScrollAreaAutosize, Scroller, SegmentedControl, Select, SemiCircleProgress, SimpleGrid, Skeleton, Slider, Space, Splitter, SplitterPane, Spoiler, Stack, Stepper, StepperCompleted, StepperStep, Switch, SwitchGroup, Table, TableCaption, TableDataRenderer, TableOfContents, TableScrollContainer, TableTbody, TableTd, TableTfoot, TableTh, TableThead, TableTr, Tabs, TabsList, TabsPanel, TabsTab, TagsInput, Text, TextInput, Textarea, ThemeIcon, Timeline, TimelineItem, Title, Tooltip, TooltipFloating_default as TooltipFloating, TooltipGroup, Transition, Tree, TreeSelect, TreeSelectOption, Typography, UnstyledButton, VisuallyHidden, alpha, buildValue, camelToKebabCase, cascaderOptionHasChildren, colorsTuple, convertCssVariables, convertHsvaTo, createEventHandler, createPolymorphicComponent, createProviderColorScheme, createSafeContext, createSafeInjectionContext, createScopedKeydownHandler, createVarsResolver, createWithProps, cssVariablesObjectToString, darken, deepMerge, defaultCssVariablesResolver, defaultLoaders, defaultOptionsFilter, defaultTreeNodeFilter, defaultVariantColorsResolver, em, factory, filterProps, filterTreeData, findClosestNumber, flattenCascaderPaths, flattenTreeData, foldAccents, formatNumber, getVariables as getAppShellVariables, getAutoContrastValue, getBaseValue, getBreakpointValue, getCascaderColumns, getCascaderPathOptions, getContrastColor, getDefaultZIndex, getDigitParts, getFontSize, getGradient, getInitials, getInitialsColor, getLineHeight, getMarkColor, getMergedVariables, getOptionsLockup, getParsedComboboxData, getParsedNativeSelectData, getPositionVariables, getPrimaryContrastColor, getPrimaryShade, getRadius, getRenderSlots, getRenderSlotsFromValues, getSafeId, getShadow, getSize, getSortedBreakpoints, getSpacing, getSplittedTags, getThemeColor, getTitleSize, getTreeExpandedState, hasNode, hashStyleProps, highlighter, hsvaToHex, hsvaToHexa, hsvaToHsl, hsvaToRgba, hsvaToRgbaObject, identity, isColorValid, isEmptyComboboxData, isLightColor, isNumberLike, isOptionsGroup, isPrimitive, isVirtualColor, keys, lighten, luminance, memoize, mergeAsyncChildren, mergeMantineTheme, movePill, moveTreeNode, noop, omitAttrs, parseColor, parseHex, parseHexa, parseHsla, parseHue, parseRgba, parseStyleProps, parseThemeColor, polymorphic, polymorphicFactory, provideGridContext, provideListContext, provideMantineContext, provideMantineTheme, providePillsInputContext, px, rem, resolveColorScheme, resolveNode, rgba, round, toRgba, useAccordionContext, useAccordionItemContext, useAppShellContext, useAvatarGroupContext, useCheckboxCardContext, useCheckboxGroupContext, useChipGroupContext, useCombobox, useComboboxContext, useComboboxTargetProps, useComputedColorScheme, useDataListContext, useDirection, useDrawersStack, useEmptyStateContext, useFloatingIndicator, useForwardedRef, useGridContext, useHoverCardContext, useInputContext, useInputWrapperContext, useListContext, useMantineClassNamesPrefix, useMantineColorScheme, useMantineContext, useMantineCssVariablesResolver, useMantineDeduplicateInlineStyles, useMantineEnv, useMantineIsHeadless, useMantineStyleNonce, useMantineTheme, useMantineWithStaticClasses, useMenuContext, useMenubarContext, useMenubarMenuContext, usePaginationContext, usePillGroupContext, usePillsInputContext, usePillsReorder, useProgressContext, useProps, useRadioCardContext, useRadioGroupContext, useRandomClassName, useSafeMantineTheme, useScrollAreaContext, useSplitterContext, useStepperContext, useStyles, useSwitchGroupContext, useTabsContext, useTree, useVirtualizedCombobox, validateJson, validateMantineTheme, validateOptions, virtualColor };
|
|
38477
|
+
export { Accordion, AccordionChevron, AccordionControl, AccordionItem, AccordionPanel, ActionBar, ActionBarCloseButton, ActionBarDivider, ActionIcon, ActionIconGroup, ActionIconGroupSection, Affix, Alert, AlphaSlider, Anchor, AngleSlider, AppShell, AppShellAside, AppShellFooter, AppShellHeader, AppShellMain, AppShellNavbar, AppShellSection, AspectRatio, Autocomplete, Avatar, AvatarGroup, BackgroundImage, Badge, Bars, Blockquote, Box, Breadcrumbs, Burger, Button, ButtonGroup, ButtonGroupSection, Card, CardSection, Cascader, Center, CheckIcon_default as CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, CheckboxIcon_default as CheckboxIcon, CheckboxIndicator, Chip, ChipGroup, CloseButton, CloseIcon_default as CloseIcon, Code, Collapse, ColorInput, ColorPicker, ColorSlider, ColorSwatch, Combobox, ComboboxChevron, ComboboxClearButton, ComboboxDropdown, ComboboxDropdownTarget, ComboboxEmpty, ComboboxEventsTarget, ComboboxFooter, ComboboxGroup, ComboboxHeader, ComboboxHiddenInput, ComboboxOption, ComboboxOptions, ComboboxPopover, ComboboxPopoverTarget, ComboboxSearch, ComboboxTarget, Container, CopyButton_default as CopyButton, DEFAULT_COLORS, DEFAULT_THEME, DataList, DataListItem, DataListItemLabel, DataListItemValue, Dialog, DirectionContextKey, DirectionProvider, Divider, Dots, Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerHeader, DrawerOverlay, DrawerRoot, DrawerStack, DrawerTitle, EmptyState, EmptyStateActions, EmptyStateDescription, EmptyStateIndicator, EmptyStateTitle, FLEX_STYLE_PROPS_DATA, Fieldset, FileButton, FileInput, FlatTreeNode_default as FlatTreeNode, Flex, FloatingIndicator, FloatingWindow, FloatingWindowResizeHandle, FocusTrap, FocusTrapInitialFocus, Grid, GridCol, Group, HeadlessMantineProvider, Highlight, HoverCard, HoverCardDropdown, HoverCardGroup, HoverCardTarget, HueSlider, INVALID_PRIMARY_COLOR_ERROR, INVALID_PRIMARY_SHADE_ERROR, Image, Indicator, InlineStyles, Input, InputBase, InputClearButton, InputClearSection, InputDescription, InputError, InputLabel, InputPlaceholder, InputWrapper, JsonInput, Kbd, List, ListItem, Loader, LoadingOverlay, MantineClasses, MantineContextKey, MantineCssVariables, MantineProvider, MantineThemeKey, MantineThemeProvider, Mark, Marquee, MaskInput, Menu, MenuCheckboxGroup, MenuCheckboxItem, MenuContextMenu, MenuDivider, MenuDropdown, MenuItem, MenuLabel, MenuRadioGroup, MenuRadioItem, MenuSearch, MenuSub, MenuSubDropdown, MenuSubItem, MenuSubTarget, MenuTarget, Menubar, MenubarDropdown, MenubarMenu, MenubarTarget, Modal, ModalBase, ModalBaseBody, ModalBaseCloseButton, ModalBaseContent, ModalBaseHeader, ModalBaseOverlay_default as ModalBaseOverlay, ModalBaseTitle, ModalBody, ModalCloseButton, ModalContent, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultiSelect, NativeScrollArea, NativeSelect, NativeSelectOption, NavLink, Notification, NumberFormatter, NumberInput, NumberInputChevron, OptionalPortal_default as OptionalPortal, OptionsDropdown_default as OptionsDropdown, Oval, OverflowList, Overlay, Pagination, PaginationControl, PaginationDots, PaginationFirst, PaginationItems, PaginationItemsGroup, PaginationLabel, PaginationLast, PaginationNext, PaginationPrevious, PaginationRoot, Paper, PasswordInput, PasswordToggleIcon, Pill, PillGroup, PillsInput, PillsInputField, PinInput, Popover, PopoverContextMenu, PopoverDropdown, PopoverTarget, Portal, Progress, ProgressLabel, ProgressRoot, ProgressSection, Radio, RadioCard, RadioGroup, RadioIcon, RadioIndicator, RangeSlider, Rating, RatingItem, RingProgress, RollingNumber, STYLE_PROPS_DATA, ScrollArea, ScrollAreaAutosize, Scroller, SegmentedControl, Select, SemiCircleProgress, SimpleGrid, Skeleton, Slider, Space, Splitter, SplitterPane, Spoiler, Stack, Stepper, StepperCompleted, StepperStep, Switch, SwitchGroup, Table, TableCaption, TableDataRenderer, TableOfContents, TableScrollContainer, TableTbody, TableTd, TableTfoot, TableTh, TableThead, TableTr, Tabs, TabsList, TabsPanel, TabsTab, TagsInput, Text, TextInput, Textarea, ThemeIcon, Timeline, TimelineItem, Title, Tooltip, TooltipFloating_default as TooltipFloating, TooltipGroup, Transition, Tree, TreeSelect, TreeSelectOption, Typography, UnstyledButton, VisuallyHidden, alpha, buildValue, camelToKebabCase, cascaderOptionHasChildren, colorsTuple, convertCssVariables, convertHsvaTo, createEventHandler, createPolymorphicComponent, createProviderColorScheme, createSafeContext, createSafeInjectionContext, createScopedKeydownHandler, createVarsResolver, createWithProps, cssVariablesObjectToString, darken, deepMerge, defaultCssVariablesResolver, defaultLoaders, defaultOptionsFilter, defaultTreeNodeFilter, defaultVariantColorsResolver, em, factory, filterProps, filterTreeData, findClosestNumber, flattenCascaderPaths, flattenTreeData, foldAccents, formatNumber, getVariables as getAppShellVariables, getAutoContrastValue, getBaseValue, getBreakpointValue, getCascaderColumns, getCascaderPathOptions, getContrastColor, getDefaultZIndex, getDigitParts, getFontSize, getGradient, getInitials, getInitialsColor, getLineHeight, getMarkColor, getMergedVariables, getOptionByLabel, getOptionsLockup, getParsedComboboxData, getParsedNativeSelectData, getPositionVariables, getPrimaryContrastColor, getPrimaryShade, getRadius, getRenderSlots, getRenderSlotsFromValues, getSafeId, getShadow, getSize, getSortedBreakpoints, getSpacing, getSplittedTags, getThemeColor, getTitleSize, getTreeExpandedState, hasNode, hashStyleProps, highlighter, hsvaToHex, hsvaToHexa, hsvaToHsl, hsvaToRgba, hsvaToRgbaObject, identity, isColorValid, isEmptyComboboxData, isExternalInputChange, isLightColor, isNumberLike, isOptionsGroup, isPrimitive, isVirtualColor, keys, lighten, luminance, memoize, mergeAsyncChildren, mergeMantineTheme, movePill, moveTreeNode, noop, omitAttrs, parseColor, parseHex, parseHexa, parseHsla, parseHue, parseRgba, parseStyleProps, parseThemeColor, polymorphic, polymorphicFactory, provideGridContext, provideListContext, provideMantineContext, provideMantineTheme, providePillsInputContext, px, rem, resolveColorScheme, resolveNode, rgba, round, toRgba, useAccordionContext, useAccordionItemContext, useAppShellContext, useAvatarGroupContext, useCheckboxCardContext, useCheckboxGroupContext, useChipGroupContext, useCombobox, useComboboxContext, useComboboxTargetProps, useComputedColorScheme, useDataListContext, useDirection, useDrawersStack, useEmptyStateContext, useFloatingIndicator, useForwardedRef, useGridContext, useHoverCardContext, useInputContext, useInputWrapperContext, useListContext, useMantineClassNamesPrefix, useMantineColorScheme, useMantineContext, useMantineCssVariablesResolver, useMantineDeduplicateInlineStyles, useMantineEnv, useMantineIsHeadless, useMantineStyleNonce, useMantineTheme, useMantineWithStaticClasses, useMenuContext, useMenubarContext, useMenubarMenuContext, usePaginationContext, usePillGroupContext, usePillsInputContext, usePillsReorder, useProgressContext, useProps, useRadioCardContext, useRadioGroupContext, useRandomClassName, useSafeMantineTheme, useScrollAreaContext, useSplitterContext, useStepperContext, useStyles, useSwitchGroupContext, useTabsContext, useTree, useVirtualizedCombobox, validateJson, validateMantineTheme, validateOptions, virtualColor };
|
|
38057
38478
|
|
|
38058
38479
|
//# sourceMappingURL=index.mjs.map
|