lkd-web-kit 0.7.31 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.cjs +23 -0
- package/dist/components/EmptyState/index.cjs +38 -52
- package/dist/components/EmptyState/index.js +37 -48
- package/dist/components/Icon.cjs +46 -50
- package/dist/components/Icon.js +44 -46
- package/dist/components/InfinityLoadMoreButton/index.cjs +30 -42
- package/dist/components/InfinityLoadMoreButton/index.js +28 -38
- package/dist/components/InfinitySelect/index.cjs +126 -168
- package/dist/components/InfinitySelect/index.js +125 -164
- package/dist/components/MyCheckboxGroup/index.cjs +14 -22
- package/dist/components/MyCheckboxGroup/index.js +13 -18
- package/dist/components/MyDateInput/index.cjs +12 -18
- package/dist/components/MyDateInput/index.js +11 -14
- package/dist/components/MyDatePickerInput/CalendarIcon.cjs +45 -64
- package/dist/components/MyDatePickerInput/CalendarIcon.js +43 -61
- package/dist/components/MyDatePickerInput/index.cjs +12 -18
- package/dist/components/MyDatePickerInput/index.js +11 -14
- package/dist/components/MyDateTimePicker/index.cjs +12 -18
- package/dist/components/MyDateTimePicker/index.js +11 -14
- package/dist/components/MyMonthPickerInput/index.cjs +12 -18
- package/dist/components/MyMonthPickerInput/index.js +11 -14
- package/dist/components/MyMultiSelect/index.cjs +9 -9
- package/dist/components/MyMultiSelect/index.js +8 -5
- package/dist/components/MyNotifications/index.cjs +11 -16
- package/dist/components/MyNotifications/index.js +10 -12
- package/dist/components/MyNumberInput/index.cjs +9 -15
- package/dist/components/MyNumberInput/index.js +8 -11
- package/dist/components/MyRadioGroup/index.cjs +14 -22
- package/dist/components/MyRadioGroup/index.js +13 -18
- package/dist/components/MySelect/index.cjs +9 -15
- package/dist/components/MySelect/index.js +8 -11
- package/dist/components/MyTextInput/index.cjs +9 -15
- package/dist/components/MyTextInput/index.js +8 -11
- package/dist/components/MyTextarea/index.cjs +9 -15
- package/dist/components/MyTextarea/index.js +8 -11
- package/dist/components/MyTimeInput/index.cjs +9 -15
- package/dist/components/MyTimeInput/index.js +8 -11
- package/dist/components/NavItems.cjs +28 -38
- package/dist/components/NavItems.js +26 -34
- package/dist/consts/http-status.cjs +66 -69
- package/dist/consts/http-status.js +66 -65
- package/dist/consts/revalidate.cjs +10 -13
- package/dist/consts/revalidate.js +10 -9
- package/dist/contexts/NavigationHistoryContext/hook.cjs +41 -42
- package/dist/contexts/NavigationHistoryContext/hook.js +40 -38
- package/dist/contexts/NavigationHistoryContext/index.cjs +31 -28
- package/dist/contexts/NavigationHistoryContext/index.js +30 -24
- package/dist/contexts/PageDataContext/index.cjs +15 -18
- package/dist/contexts/PageDataContext/index.js +14 -14
- package/dist/form/Form.cjs +19 -28
- package/dist/form/Form.js +18 -24
- package/dist/form/FormSubmitButton.cjs +15 -27
- package/dist/form/FormSubmitButton.js +14 -23
- package/dist/form/base/FormCheckbox.cjs +15 -23
- package/dist/form/base/FormCheckbox.js +14 -19
- package/dist/form/base/FormCheckboxGroup.cjs +10 -16
- package/dist/form/base/FormCheckboxGroup.js +9 -12
- package/dist/form/base/FormDateInput.cjs +10 -16
- package/dist/form/base/FormDateInput.js +9 -12
- package/dist/form/base/FormDatePickerInput.cjs +10 -16
- package/dist/form/base/FormDatePickerInput.js +9 -12
- package/dist/form/base/FormDateTimePicker.cjs +10 -16
- package/dist/form/base/FormDateTimePicker.js +9 -12
- package/dist/form/base/FormMonthPickerInput.cjs +10 -16
- package/dist/form/base/FormMonthPickerInput.js +9 -12
- package/dist/form/base/FormMultiSelect.cjs +10 -16
- package/dist/form/base/FormMultiSelect.js +9 -12
- package/dist/form/base/FormNumberInput.cjs +12 -16
- package/dist/form/base/FormNumberInput.js +10 -12
- package/dist/form/base/FormRadioGroup.cjs +10 -16
- package/dist/form/base/FormRadioGroup.js +9 -12
- package/dist/form/base/FormSelect.cjs +10 -16
- package/dist/form/base/FormSelect.js +9 -12
- package/dist/form/base/FormSelectInfinity.cjs +15 -21
- package/dist/form/base/FormSelectInfinity.js +14 -17
- package/dist/form/base/FormTextInput.cjs +10 -16
- package/dist/form/base/FormTextInput.js +9 -12
- package/dist/form/base/FormTextarea.cjs +10 -10
- package/dist/form/base/FormTextarea.js +9 -6
- package/dist/form/base/FormTimeInput.cjs +18 -24
- package/dist/form/base/FormTimeInput.js +17 -20
- package/dist/form/utils/nullable-but-required.cjs +14 -17
- package/dist/form/utils/nullable-but-required.js +13 -13
- package/dist/form/utils/optional-but-required.cjs +14 -17
- package/dist/form/utils/optional-but-required.js +13 -13
- package/dist/form/utils/zodValidator.cjs +9 -13
- package/dist/form/utils/zodValidator.js +9 -9
- package/dist/hocs/withController.cjs +43 -54
- package/dist/hocs/withController.js +42 -50
- package/dist/hocs/withModalManager.cjs +29 -35
- package/dist/hocs/withModalManager.js +28 -31
- package/dist/hooks/useBreakpoint.cjs +8 -12
- package/dist/hooks/useBreakpoint.js +7 -8
- package/dist/hooks/useFetchNextPageOnScroll.cjs +13 -21
- package/dist/hooks/useFetchNextPageOnScroll.js +13 -17
- package/dist/hooks/useOnScrollProgress.cjs +33 -37
- package/dist/hooks/useOnScrollProgress.js +32 -33
- package/dist/hooks/useUpdateSearchParams.cjs +22 -22
- package/dist/hooks/useUpdateSearchParams.js +21 -18
- package/dist/hooks/useZodConfig.cjs +14 -19
- package/dist/hooks/useZodConfig.js +12 -15
- package/dist/index.cjs +130 -136
- package/dist/index.d.ts +14 -16
- package/dist/index.js +62 -61
- package/dist/mantine/breakpoints-with-px.cjs +9 -12
- package/dist/mantine/breakpoints-with-px.js +9 -8
- package/dist/mantine/my-default-theme.cjs +23 -41
- package/dist/mantine/my-default-theme.js +22 -37
- package/dist/mantine/to-tailwind-colors.cjs +9 -18
- package/dist/mantine/to-tailwind-colors.js +9 -14
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.cjs +35 -70
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +34 -42
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.cjs +700 -811
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +701 -804
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.cjs +44 -64
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +44 -60
- package/dist/utils/array/groupBy.cjs +30 -40
- package/dist/utils/array/groupBy.js +30 -36
- package/dist/utils/array/shuffleArray.cjs +11 -17
- package/dist/utils/array/shuffleArray.js +11 -13
- package/dist/utils/formatBytes.cjs +12 -11
- package/dist/utils/formatBytes.js +12 -7
- package/dist/utils/isInfinityEmpty.cjs +3 -6
- package/dist/utils/isInfinityEmpty.js +3 -2
- package/dist/utils/ky/addBodyJsonHook.cjs +9 -10
- package/dist/utils/ky/addBodyJsonHook.js +8 -6
- package/dist/utils/ky/parseJson.cjs +6 -9
- package/dist/utils/ky/parseJson.js +6 -5
- package/dist/utils/new-route.cjs +30 -39
- package/dist/utils/new-route.js +30 -35
- package/dist/utils/query-stringify.cjs +5 -8
- package/dist/utils/query-stringify.js +5 -4
- package/dist/utils/virtual-styles.cjs +21 -26
- package/dist/utils/virtual-styles.js +21 -22
- package/package.json +67 -65
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
import { jsx } from
|
|
2
|
-
import { CheckboxGroup, Group, Stack
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
{
|
|
14
|
-
...option
|
|
15
|
-
},
|
|
16
|
-
String(option.value) || String(index)
|
|
17
|
-
)) }) });
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Checkbox, CheckboxGroup, Group, Stack } from "@mantine/core";
|
|
3
|
+
//#region src/components/MyCheckboxGroup/index.tsx
|
|
4
|
+
var MyCheckboxGroup = ({ options, orientation = "horizontal", gap = "md", ...checkboxGroupProps }) => {
|
|
5
|
+
const Container = orientation === "horizontal" ? Group : Stack;
|
|
6
|
+
return /* @__PURE__ */ jsx(CheckboxGroup, {
|
|
7
|
+
...checkboxGroupProps,
|
|
8
|
+
children: /* @__PURE__ */ jsx(Container, {
|
|
9
|
+
gap,
|
|
10
|
+
children: options.map((option, index) => /* @__PURE__ */ jsx(Checkbox, { ...option }, String(option.value) || String(index)))
|
|
11
|
+
})
|
|
12
|
+
});
|
|
18
13
|
};
|
|
19
|
-
|
|
14
|
+
//#endregion
|
|
20
15
|
export { MyCheckboxGroup };
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
leftSectionPointerEvents: "none",
|
|
14
|
-
variant: props.readOnly ? "filled" : "default",
|
|
15
|
-
...props
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
|
|
1
|
+
require("../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
const require_CalendarIcon = require("../MyDatePickerInput/CalendarIcon.cjs");
|
|
3
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
let _mantine_dates = require("@mantine/dates");
|
|
5
|
+
//#region src/components/MyDateInput/index.tsx
|
|
6
|
+
var MyDateInput = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_dates.DateInput, {
|
|
7
|
+
leftSection: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_CalendarIcon.default, { size: props.size }),
|
|
8
|
+
leftSectionPointerEvents: "none",
|
|
9
|
+
variant: props.readOnly ? "filled" : "default",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
//#endregion
|
|
19
13
|
exports.MyDateInput = MyDateInput;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
);
|
|
14
|
-
|
|
1
|
+
import CalendarIcon from "../MyDatePickerInput/CalendarIcon.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { DateInput } from "@mantine/dates";
|
|
4
|
+
//#region src/components/MyDateInput/index.tsx
|
|
5
|
+
var MyDateInput = (props) => /* @__PURE__ */ jsx(DateInput, {
|
|
6
|
+
leftSection: /* @__PURE__ */ jsx(CalendarIcon, { size: props.size }),
|
|
7
|
+
leftSectionPointerEvents: "none",
|
|
8
|
+
variant: props.readOnly ? "filled" : "default",
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
//#endregion
|
|
15
12
|
export { MyDateInput };
|
|
@@ -1,65 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
{
|
|
45
|
-
fillRule: "evenodd",
|
|
46
|
-
clipRule: "evenodd",
|
|
47
|
-
d: "M3.25 10.75C3.25 10.3358 3.58579 10 4 10H20C20.4142 10 20.75 10.3358 20.75 10.75C20.75 11.1642 20.4142 11.5 20 11.5H4C3.58579 11.5 3.25 11.1642 3.25 10.75Z",
|
|
48
|
-
fill: "currentColor"
|
|
49
|
-
}
|
|
50
|
-
),
|
|
51
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
52
|
-
"path",
|
|
53
|
-
{
|
|
54
|
-
fillRule: "evenodd",
|
|
55
|
-
clipRule: "evenodd",
|
|
56
|
-
d: "M7 14.3929C7 14.0378 7.28782 13.75 7.64286 13.75H9.35714C9.71218 13.75 10 14.0378 10 14.3929V16.1071C10 16.4622 9.71218 16.75 9.35714 16.75H7.64286C7.28782 16.75 7 16.4622 7 16.1071V14.3929Z",
|
|
57
|
-
fill: "currentColor"
|
|
58
|
-
}
|
|
59
|
-
)
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
);
|
|
1
|
+
require("../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
3
|
+
//#region src/components/MyDatePickerInput/CalendarIcon.tsx
|
|
4
|
+
var CalendarIcon = ({ size = "sm", ...props }) => {
|
|
5
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
width: size === "sm" ? 20 : 24,
|
|
10
|
+
height: size === "sm" ? 20 : 24,
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
13
|
+
fillRule: "evenodd",
|
|
14
|
+
clipRule: "evenodd",
|
|
15
|
+
d: "M6 5.5C5.66848 5.5 5.35054 5.6317 5.11612 5.86612C4.8817 6.10054 4.75 6.41848 4.75 6.75V18.75C4.75 19.0815 4.8817 19.3995 5.11612 19.6339C5.35054 19.8683 5.66848 20 6 20H18C18.3315 20 18.6495 19.8683 18.8839 19.6339C19.1183 19.3995 19.25 19.0815 19.25 18.75V6.75C19.25 6.41848 19.1183 6.10054 18.8839 5.86612C18.6495 5.6317 18.3315 5.5 18 5.5H6ZM4.05546 4.80546C4.57118 4.28973 5.27065 4 6 4H18C18.7293 4 19.4288 4.28973 19.9445 4.80546C20.4603 5.32118 20.75 6.02065 20.75 6.75V18.75C20.75 19.4793 20.4603 20.1788 19.9445 20.6945C19.4288 21.2103 18.7293 21.5 18 21.5H6C5.27065 21.5 4.57118 21.2103 4.05546 20.6945C3.53973 20.1788 3.25 19.4793 3.25 18.75V6.75C3.25 6.02065 3.53973 5.32118 4.05546 4.80546Z",
|
|
16
|
+
fill: "currentColor"
|
|
17
|
+
}),
|
|
18
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
19
|
+
fillRule: "evenodd",
|
|
20
|
+
clipRule: "evenodd",
|
|
21
|
+
d: "M16 2C16.4142 2 16.75 2.33579 16.75 2.75V6.75C16.75 7.16421 16.4142 7.5 16 7.5C15.5858 7.5 15.25 7.16421 15.25 6.75V2.75C15.25 2.33579 15.5858 2 16 2Z",
|
|
22
|
+
fill: "currentColor"
|
|
23
|
+
}),
|
|
24
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
25
|
+
fillRule: "evenodd",
|
|
26
|
+
clipRule: "evenodd",
|
|
27
|
+
d: "M8 2C8.41421 2 8.75 2.33579 8.75 2.75V6.75C8.75 7.16421 8.41421 7.5 8 7.5C7.58579 7.5 7.25 7.16421 7.25 6.75V2.75C7.25 2.33579 7.58579 2 8 2Z",
|
|
28
|
+
fill: "currentColor"
|
|
29
|
+
}),
|
|
30
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
31
|
+
fillRule: "evenodd",
|
|
32
|
+
clipRule: "evenodd",
|
|
33
|
+
d: "M3.25 10.75C3.25 10.3358 3.58579 10 4 10H20C20.4142 10 20.75 10.3358 20.75 10.75C20.75 11.1642 20.4142 11.5 20 11.5H4C3.58579 11.5 3.25 11.1642 3.25 10.75Z",
|
|
34
|
+
fill: "currentColor"
|
|
35
|
+
}),
|
|
36
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
37
|
+
fillRule: "evenodd",
|
|
38
|
+
clipRule: "evenodd",
|
|
39
|
+
d: "M7 14.3929C7 14.0378 7.28782 13.75 7.64286 13.75H9.35714C9.71218 13.75 10 14.0378 10 14.3929V16.1071C10 16.4622 9.71218 16.75 9.35714 16.75H7.64286C7.28782 16.75 7 16.4622 7 16.1071V14.3929Z",
|
|
40
|
+
fill: "currentColor"
|
|
41
|
+
})
|
|
42
|
+
]
|
|
43
|
+
});
|
|
63
44
|
};
|
|
64
|
-
|
|
65
|
-
|
|
45
|
+
//#endregion
|
|
46
|
+
exports.default = CalendarIcon;
|
|
@@ -1,63 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
fillRule: "evenodd",
|
|
44
|
-
clipRule: "evenodd",
|
|
45
|
-
d: "M3.25 10.75C3.25 10.3358 3.58579 10 4 10H20C20.4142 10 20.75 10.3358 20.75 10.75C20.75 11.1642 20.4142 11.5 20 11.5H4C3.58579 11.5 3.25 11.1642 3.25 10.75Z",
|
|
46
|
-
fill: "currentColor"
|
|
47
|
-
}
|
|
48
|
-
),
|
|
49
|
-
/* @__PURE__ */ jsx(
|
|
50
|
-
"path",
|
|
51
|
-
{
|
|
52
|
-
fillRule: "evenodd",
|
|
53
|
-
clipRule: "evenodd",
|
|
54
|
-
d: "M7 14.3929C7 14.0378 7.28782 13.75 7.64286 13.75H9.35714C9.71218 13.75 10 14.0378 10 14.3929V16.1071C10 16.4622 9.71218 16.75 9.35714 16.75H7.64286C7.28782 16.75 7 16.4622 7 16.1071V14.3929Z",
|
|
55
|
-
fill: "currentColor"
|
|
56
|
-
}
|
|
57
|
-
)
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
);
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
//#region src/components/MyDatePickerInput/CalendarIcon.tsx
|
|
3
|
+
var CalendarIcon = ({ size = "sm", ...props }) => {
|
|
4
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
viewBox: "0 0 24 24",
|
|
6
|
+
fill: "none",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size === "sm" ? 20 : 24,
|
|
9
|
+
height: size === "sm" ? 20 : 24,
|
|
10
|
+
children: [
|
|
11
|
+
/* @__PURE__ */ jsx("path", {
|
|
12
|
+
fillRule: "evenodd",
|
|
13
|
+
clipRule: "evenodd",
|
|
14
|
+
d: "M6 5.5C5.66848 5.5 5.35054 5.6317 5.11612 5.86612C4.8817 6.10054 4.75 6.41848 4.75 6.75V18.75C4.75 19.0815 4.8817 19.3995 5.11612 19.6339C5.35054 19.8683 5.66848 20 6 20H18C18.3315 20 18.6495 19.8683 18.8839 19.6339C19.1183 19.3995 19.25 19.0815 19.25 18.75V6.75C19.25 6.41848 19.1183 6.10054 18.8839 5.86612C18.6495 5.6317 18.3315 5.5 18 5.5H6ZM4.05546 4.80546C4.57118 4.28973 5.27065 4 6 4H18C18.7293 4 19.4288 4.28973 19.9445 4.80546C20.4603 5.32118 20.75 6.02065 20.75 6.75V18.75C20.75 19.4793 20.4603 20.1788 19.9445 20.6945C19.4288 21.2103 18.7293 21.5 18 21.5H6C5.27065 21.5 4.57118 21.2103 4.05546 20.6945C3.53973 20.1788 3.25 19.4793 3.25 18.75V6.75C3.25 6.02065 3.53973 5.32118 4.05546 4.80546Z",
|
|
15
|
+
fill: "currentColor"
|
|
16
|
+
}),
|
|
17
|
+
/* @__PURE__ */ jsx("path", {
|
|
18
|
+
fillRule: "evenodd",
|
|
19
|
+
clipRule: "evenodd",
|
|
20
|
+
d: "M16 2C16.4142 2 16.75 2.33579 16.75 2.75V6.75C16.75 7.16421 16.4142 7.5 16 7.5C15.5858 7.5 15.25 7.16421 15.25 6.75V2.75C15.25 2.33579 15.5858 2 16 2Z",
|
|
21
|
+
fill: "currentColor"
|
|
22
|
+
}),
|
|
23
|
+
/* @__PURE__ */ jsx("path", {
|
|
24
|
+
fillRule: "evenodd",
|
|
25
|
+
clipRule: "evenodd",
|
|
26
|
+
d: "M8 2C8.41421 2 8.75 2.33579 8.75 2.75V6.75C8.75 7.16421 8.41421 7.5 8 7.5C7.58579 7.5 7.25 7.16421 7.25 6.75V2.75C7.25 2.33579 7.58579 2 8 2Z",
|
|
27
|
+
fill: "currentColor"
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ jsx("path", {
|
|
30
|
+
fillRule: "evenodd",
|
|
31
|
+
clipRule: "evenodd",
|
|
32
|
+
d: "M3.25 10.75C3.25 10.3358 3.58579 10 4 10H20C20.4142 10 20.75 10.3358 20.75 10.75C20.75 11.1642 20.4142 11.5 20 11.5H4C3.58579 11.5 3.25 11.1642 3.25 10.75Z",
|
|
33
|
+
fill: "currentColor"
|
|
34
|
+
}),
|
|
35
|
+
/* @__PURE__ */ jsx("path", {
|
|
36
|
+
fillRule: "evenodd",
|
|
37
|
+
clipRule: "evenodd",
|
|
38
|
+
d: "M7 14.3929C7 14.0378 7.28782 13.75 7.64286 13.75H9.35714C9.71218 13.75 10 14.0378 10 14.3929V16.1071C10 16.4622 9.71218 16.75 9.35714 16.75H7.64286C7.28782 16.75 7 16.4622 7 16.1071V14.3929Z",
|
|
39
|
+
fill: "currentColor"
|
|
40
|
+
})
|
|
41
|
+
]
|
|
42
|
+
});
|
|
61
43
|
};
|
|
62
|
-
|
|
44
|
+
//#endregion
|
|
63
45
|
export { CalendarIcon as default };
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
leftSectionPointerEvents: "none",
|
|
14
|
-
variant: props.readOnly ? "filled" : "default",
|
|
15
|
-
...props
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
|
|
1
|
+
require("../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
const require_CalendarIcon = require("./CalendarIcon.cjs");
|
|
3
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
let _mantine_dates = require("@mantine/dates");
|
|
5
|
+
//#region src/components/MyDatePickerInput/index.tsx
|
|
6
|
+
var MyDatePickerInput = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_dates.DatePickerInput, {
|
|
7
|
+
leftSection: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_CalendarIcon.default, { size: props.size }),
|
|
8
|
+
leftSectionPointerEvents: "none",
|
|
9
|
+
variant: props.readOnly ? "filled" : "default",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
//#endregion
|
|
19
13
|
exports.MyDatePickerInput = MyDatePickerInput;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
);
|
|
14
|
-
|
|
1
|
+
import CalendarIcon from "./CalendarIcon.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { DatePickerInput } from "@mantine/dates";
|
|
4
|
+
//#region src/components/MyDatePickerInput/index.tsx
|
|
5
|
+
var MyDatePickerInput = (props) => /* @__PURE__ */ jsx(DatePickerInput, {
|
|
6
|
+
leftSection: /* @__PURE__ */ jsx(CalendarIcon, { size: props.size }),
|
|
7
|
+
leftSectionPointerEvents: "none",
|
|
8
|
+
variant: props.readOnly ? "filled" : "default",
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
//#endregion
|
|
15
12
|
export { MyDatePickerInput };
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
leftSectionPointerEvents: "none",
|
|
14
|
-
variant: props.readOnly ? "filled" : "default",
|
|
15
|
-
...props
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
|
|
1
|
+
require("../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
const require_CalendarIcon = require("../MyDatePickerInput/CalendarIcon.cjs");
|
|
3
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
let _mantine_dates = require("@mantine/dates");
|
|
5
|
+
//#region src/components/MyDateTimePicker/index.tsx
|
|
6
|
+
var MyDateTimePicker = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_dates.DateTimePicker, {
|
|
7
|
+
leftSection: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_CalendarIcon.default, { size: props.size }),
|
|
8
|
+
leftSectionPointerEvents: "none",
|
|
9
|
+
variant: props.readOnly ? "filled" : "default",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
//#endregion
|
|
19
13
|
exports.MyDateTimePicker = MyDateTimePicker;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
);
|
|
14
|
-
|
|
1
|
+
import CalendarIcon from "../MyDatePickerInput/CalendarIcon.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { DateTimePicker } from "@mantine/dates";
|
|
4
|
+
//#region src/components/MyDateTimePicker/index.tsx
|
|
5
|
+
var MyDateTimePicker = (props) => /* @__PURE__ */ jsx(DateTimePicker, {
|
|
6
|
+
leftSection: /* @__PURE__ */ jsx(CalendarIcon, { size: props.size }),
|
|
7
|
+
leftSectionPointerEvents: "none",
|
|
8
|
+
variant: props.readOnly ? "filled" : "default",
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
//#endregion
|
|
15
12
|
export { MyDateTimePicker };
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
leftSectionPointerEvents: "none",
|
|
14
|
-
variant: props.readOnly ? "filled" : "default",
|
|
15
|
-
...props
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
|
|
1
|
+
require("../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
const require_CalendarIcon = require("../MyDatePickerInput/CalendarIcon.cjs");
|
|
3
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
let _mantine_dates = require("@mantine/dates");
|
|
5
|
+
//#region src/components/MyMonthPickerInput/index.tsx
|
|
6
|
+
var MyMonthPickerInput = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_dates.MonthPickerInput, {
|
|
7
|
+
leftSection: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_CalendarIcon.default, { size: props.size }),
|
|
8
|
+
leftSectionPointerEvents: "none",
|
|
9
|
+
variant: props.readOnly ? "filled" : "default",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
//#endregion
|
|
19
13
|
exports.MyMonthPickerInput = MyMonthPickerInput;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
);
|
|
14
|
-
|
|
1
|
+
import CalendarIcon from "../MyDatePickerInput/CalendarIcon.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { MonthPickerInput } from "@mantine/dates";
|
|
4
|
+
//#region src/components/MyMonthPickerInput/index.tsx
|
|
5
|
+
var MyMonthPickerInput = (props) => /* @__PURE__ */ jsx(MonthPickerInput, {
|
|
6
|
+
leftSection: /* @__PURE__ */ jsx(CalendarIcon, { size: props.size }),
|
|
7
|
+
leftSectionPointerEvents: "none",
|
|
8
|
+
variant: props.readOnly ? "filled" : "default",
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
//#endregion
|
|
15
12
|
export { MyMonthPickerInput };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
require("../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
3
|
+
let _mantine_core = require("@mantine/core");
|
|
4
|
+
//#region src/components/MyMultiSelect/index.tsx
|
|
5
|
+
var MyMultiSelect = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.MultiSelect, {
|
|
6
|
+
variant: props.readOnly ? "filled" : "default",
|
|
7
|
+
...props
|
|
8
|
+
});
|
|
9
|
+
//#endregion
|
|
10
10
|
exports.MyMultiSelect = MyMultiSelect;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { jsx } from
|
|
2
|
-
import { MultiSelect } from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { MultiSelect } from "@mantine/core";
|
|
3
|
+
//#region src/components/MyMultiSelect/index.tsx
|
|
4
|
+
var MyMultiSelect = (props) => /* @__PURE__ */ jsx(MultiSelect, {
|
|
5
|
+
variant: props.readOnly ? "filled" : "default",
|
|
6
|
+
...props
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
6
9
|
export { MyMultiSelect };
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
position: "top-center",
|
|
13
|
-
...props
|
|
14
|
-
}
|
|
15
|
-
);
|
|
16
|
-
|
|
1
|
+
require("../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
;/* empty css */
|
|
3
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
let _mantine_notifications = require("@mantine/notifications");
|
|
5
|
+
//#region src/components/MyNotifications/index.tsx
|
|
6
|
+
var MyNotifications = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_notifications.Notifications, {
|
|
7
|
+
position: "top-center",
|
|
8
|
+
pauseResetOnHover: "notification",
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
//#endregion
|
|
17
12
|
exports.MyNotifications = MyNotifications;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
);
|
|
12
|
-
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Notifications } from "@mantine/notifications";
|
|
4
|
+
//#region src/components/MyNotifications/index.tsx
|
|
5
|
+
var MyNotifications = (props) => /* @__PURE__ */ jsx(Notifications, {
|
|
6
|
+
position: "top-center",
|
|
7
|
+
pauseResetOnHover: "notification",
|
|
8
|
+
...props
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
13
11
|
export { MyNotifications };
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
variant: props.readOnly ? "filled" : "default",
|
|
12
|
-
...props
|
|
13
|
-
}
|
|
14
|
-
);
|
|
15
|
-
|
|
1
|
+
require("../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
3
|
+
let _mantine_core = require("@mantine/core");
|
|
4
|
+
//#region src/components/MyNumberInput/index.tsx
|
|
5
|
+
var MyNumberInput = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.NumberInput, {
|
|
6
|
+
variant: props.readOnly ? "filled" : "default",
|
|
7
|
+
...props
|
|
8
|
+
});
|
|
9
|
+
//#endregion
|
|
16
10
|
exports.MyNumberInput = MyNumberInput;
|