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.
Files changed (135) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +23 -0
  2. package/dist/components/EmptyState/index.cjs +38 -52
  3. package/dist/components/EmptyState/index.js +37 -48
  4. package/dist/components/Icon.cjs +46 -50
  5. package/dist/components/Icon.js +44 -46
  6. package/dist/components/InfinityLoadMoreButton/index.cjs +30 -42
  7. package/dist/components/InfinityLoadMoreButton/index.js +28 -38
  8. package/dist/components/InfinitySelect/index.cjs +126 -168
  9. package/dist/components/InfinitySelect/index.js +125 -164
  10. package/dist/components/MyCheckboxGroup/index.cjs +14 -22
  11. package/dist/components/MyCheckboxGroup/index.js +13 -18
  12. package/dist/components/MyDateInput/index.cjs +12 -18
  13. package/dist/components/MyDateInput/index.js +11 -14
  14. package/dist/components/MyDatePickerInput/CalendarIcon.cjs +45 -64
  15. package/dist/components/MyDatePickerInput/CalendarIcon.js +43 -61
  16. package/dist/components/MyDatePickerInput/index.cjs +12 -18
  17. package/dist/components/MyDatePickerInput/index.js +11 -14
  18. package/dist/components/MyDateTimePicker/index.cjs +12 -18
  19. package/dist/components/MyDateTimePicker/index.js +11 -14
  20. package/dist/components/MyMonthPickerInput/index.cjs +12 -18
  21. package/dist/components/MyMonthPickerInput/index.js +11 -14
  22. package/dist/components/MyMultiSelect/index.cjs +9 -9
  23. package/dist/components/MyMultiSelect/index.js +8 -5
  24. package/dist/components/MyNotifications/index.cjs +11 -16
  25. package/dist/components/MyNotifications/index.js +10 -12
  26. package/dist/components/MyNumberInput/index.cjs +9 -15
  27. package/dist/components/MyNumberInput/index.js +8 -11
  28. package/dist/components/MyRadioGroup/index.cjs +14 -22
  29. package/dist/components/MyRadioGroup/index.js +13 -18
  30. package/dist/components/MySelect/index.cjs +9 -15
  31. package/dist/components/MySelect/index.js +8 -11
  32. package/dist/components/MyTextInput/index.cjs +9 -15
  33. package/dist/components/MyTextInput/index.js +8 -11
  34. package/dist/components/MyTextarea/index.cjs +9 -15
  35. package/dist/components/MyTextarea/index.js +8 -11
  36. package/dist/components/MyTimeInput/index.cjs +9 -15
  37. package/dist/components/MyTimeInput/index.js +8 -11
  38. package/dist/components/NavItems.cjs +28 -38
  39. package/dist/components/NavItems.js +26 -34
  40. package/dist/consts/http-status.cjs +66 -69
  41. package/dist/consts/http-status.js +66 -65
  42. package/dist/consts/revalidate.cjs +10 -13
  43. package/dist/consts/revalidate.js +10 -9
  44. package/dist/contexts/NavigationHistoryContext/hook.cjs +41 -42
  45. package/dist/contexts/NavigationHistoryContext/hook.js +40 -38
  46. package/dist/contexts/NavigationHistoryContext/index.cjs +31 -28
  47. package/dist/contexts/NavigationHistoryContext/index.js +30 -24
  48. package/dist/contexts/PageDataContext/index.cjs +15 -18
  49. package/dist/contexts/PageDataContext/index.js +14 -14
  50. package/dist/form/Form.cjs +19 -28
  51. package/dist/form/Form.js +18 -24
  52. package/dist/form/FormSubmitButton.cjs +15 -27
  53. package/dist/form/FormSubmitButton.js +14 -23
  54. package/dist/form/base/FormCheckbox.cjs +15 -23
  55. package/dist/form/base/FormCheckbox.js +14 -19
  56. package/dist/form/base/FormCheckboxGroup.cjs +10 -16
  57. package/dist/form/base/FormCheckboxGroup.js +9 -12
  58. package/dist/form/base/FormDateInput.cjs +10 -16
  59. package/dist/form/base/FormDateInput.js +9 -12
  60. package/dist/form/base/FormDatePickerInput.cjs +10 -16
  61. package/dist/form/base/FormDatePickerInput.js +9 -12
  62. package/dist/form/base/FormDateTimePicker.cjs +10 -16
  63. package/dist/form/base/FormDateTimePicker.js +9 -12
  64. package/dist/form/base/FormMonthPickerInput.cjs +10 -16
  65. package/dist/form/base/FormMonthPickerInput.js +9 -12
  66. package/dist/form/base/FormMultiSelect.cjs +10 -16
  67. package/dist/form/base/FormMultiSelect.js +9 -12
  68. package/dist/form/base/FormNumberInput.cjs +12 -16
  69. package/dist/form/base/FormNumberInput.js +10 -12
  70. package/dist/form/base/FormRadioGroup.cjs +10 -16
  71. package/dist/form/base/FormRadioGroup.js +9 -12
  72. package/dist/form/base/FormSelect.cjs +10 -16
  73. package/dist/form/base/FormSelect.js +9 -12
  74. package/dist/form/base/FormSelectInfinity.cjs +15 -21
  75. package/dist/form/base/FormSelectInfinity.js +14 -17
  76. package/dist/form/base/FormTextInput.cjs +10 -16
  77. package/dist/form/base/FormTextInput.js +9 -12
  78. package/dist/form/base/FormTextarea.cjs +10 -10
  79. package/dist/form/base/FormTextarea.js +9 -6
  80. package/dist/form/base/FormTimeInput.cjs +18 -24
  81. package/dist/form/base/FormTimeInput.js +17 -20
  82. package/dist/form/utils/nullable-but-required.cjs +14 -17
  83. package/dist/form/utils/nullable-but-required.js +13 -13
  84. package/dist/form/utils/optional-but-required.cjs +14 -17
  85. package/dist/form/utils/optional-but-required.js +13 -13
  86. package/dist/form/utils/zodValidator.cjs +9 -13
  87. package/dist/form/utils/zodValidator.js +9 -9
  88. package/dist/hocs/withController.cjs +43 -54
  89. package/dist/hocs/withController.js +42 -50
  90. package/dist/hocs/withModalManager.cjs +29 -35
  91. package/dist/hocs/withModalManager.js +28 -31
  92. package/dist/hooks/useBreakpoint.cjs +8 -12
  93. package/dist/hooks/useBreakpoint.js +7 -8
  94. package/dist/hooks/useFetchNextPageOnScroll.cjs +13 -21
  95. package/dist/hooks/useFetchNextPageOnScroll.js +13 -17
  96. package/dist/hooks/useOnScrollProgress.cjs +33 -37
  97. package/dist/hooks/useOnScrollProgress.js +32 -33
  98. package/dist/hooks/useUpdateSearchParams.cjs +22 -22
  99. package/dist/hooks/useUpdateSearchParams.js +21 -18
  100. package/dist/hooks/useZodConfig.cjs +14 -19
  101. package/dist/hooks/useZodConfig.js +12 -15
  102. package/dist/index.cjs +130 -136
  103. package/dist/index.d.ts +14 -16
  104. package/dist/index.js +62 -61
  105. package/dist/mantine/breakpoints-with-px.cjs +9 -12
  106. package/dist/mantine/breakpoints-with-px.js +9 -8
  107. package/dist/mantine/my-default-theme.cjs +23 -41
  108. package/dist/mantine/my-default-theme.js +22 -37
  109. package/dist/mantine/to-tailwind-colors.cjs +9 -18
  110. package/dist/mantine/to-tailwind-colors.js +9 -14
  111. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.cjs +35 -70
  112. package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +34 -42
  113. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.cjs +700 -811
  114. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +701 -804
  115. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.cjs +44 -64
  116. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +44 -60
  117. package/dist/utils/array/groupBy.cjs +30 -40
  118. package/dist/utils/array/groupBy.js +30 -36
  119. package/dist/utils/array/shuffleArray.cjs +11 -17
  120. package/dist/utils/array/shuffleArray.js +11 -13
  121. package/dist/utils/formatBytes.cjs +12 -11
  122. package/dist/utils/formatBytes.js +12 -7
  123. package/dist/utils/isInfinityEmpty.cjs +3 -6
  124. package/dist/utils/isInfinityEmpty.js +3 -2
  125. package/dist/utils/ky/addBodyJsonHook.cjs +9 -10
  126. package/dist/utils/ky/addBodyJsonHook.js +8 -6
  127. package/dist/utils/ky/parseJson.cjs +6 -9
  128. package/dist/utils/ky/parseJson.js +6 -5
  129. package/dist/utils/new-route.cjs +30 -39
  130. package/dist/utils/new-route.js +30 -35
  131. package/dist/utils/query-stringify.cjs +5 -8
  132. package/dist/utils/query-stringify.js +5 -4
  133. package/dist/utils/virtual-styles.cjs +21 -26
  134. package/dist/utils/virtual-styles.js +21 -22
  135. package/package.json +67 -65
@@ -1,20 +1,15 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { CheckboxGroup, Group, Stack, Checkbox } from '@mantine/core';
3
-
4
- const MyCheckboxGroup = ({
5
- options,
6
- orientation = "horizontal",
7
- gap = "md",
8
- ...checkboxGroupProps
9
- }) => {
10
- const Container = orientation === "horizontal" ? Group : Stack;
11
- return /* @__PURE__ */ jsx(CheckboxGroup, { ...checkboxGroupProps, children: /* @__PURE__ */ jsx(Container, { gap, children: options.map((option, index) => /* @__PURE__ */ jsx(
12
- Checkbox,
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
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const dates = require('@mantine/dates');
7
- const CalendarIcon = require('../MyDatePickerInput/CalendarIcon.cjs');
8
-
9
- const MyDateInput = (props) => /* @__PURE__ */ jsxRuntime.jsx(
10
- dates.DateInput,
11
- {
12
- leftSection: /* @__PURE__ */ jsxRuntime.jsx(CalendarIcon, { size: props.size }),
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 { jsx } from 'react/jsx-runtime';
2
- import { DateInput } from '@mantine/dates';
3
- import CalendarIcon from '../MyDatePickerInput/CalendarIcon.js';
4
-
5
- const MyDateInput = (props) => /* @__PURE__ */ jsx(
6
- DateInput,
7
- {
8
- leftSection: /* @__PURE__ */ jsx(CalendarIcon, { size: props.size }),
9
- leftSectionPointerEvents: "none",
10
- variant: props.readOnly ? "filled" : "default",
11
- ...props
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
- 'use strict';
2
-
3
- const jsxRuntime = require('react/jsx-runtime');
4
-
5
- const CalendarIcon = ({ size = "sm", ...props }) => {
6
- return /* @__PURE__ */ jsxRuntime.jsxs(
7
- "svg",
8
- {
9
- viewBox: "0 0 24 24",
10
- fill: "none",
11
- xmlns: "http://www.w3.org/2000/svg",
12
- width: size === "sm" ? 20 : 24,
13
- height: size === "sm" ? 20 : 24,
14
- children: [
15
- /* @__PURE__ */ jsxRuntime.jsx(
16
- "path",
17
- {
18
- fillRule: "evenodd",
19
- clipRule: "evenodd",
20
- 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",
21
- fill: "currentColor"
22
- }
23
- ),
24
- /* @__PURE__ */ jsxRuntime.jsx(
25
- "path",
26
- {
27
- fillRule: "evenodd",
28
- clipRule: "evenodd",
29
- 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",
30
- fill: "currentColor"
31
- }
32
- ),
33
- /* @__PURE__ */ jsxRuntime.jsx(
34
- "path",
35
- {
36
- fillRule: "evenodd",
37
- clipRule: "evenodd",
38
- 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",
39
- fill: "currentColor"
40
- }
41
- ),
42
- /* @__PURE__ */ jsxRuntime.jsx(
43
- "path",
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
- module.exports = CalendarIcon;
45
+ //#endregion
46
+ exports.default = CalendarIcon;
@@ -1,63 +1,45 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
-
3
- const CalendarIcon = ({ size = "sm", ...props }) => {
4
- return /* @__PURE__ */ jsxs(
5
- "svg",
6
- {
7
- viewBox: "0 0 24 24",
8
- fill: "none",
9
- xmlns: "http://www.w3.org/2000/svg",
10
- width: size === "sm" ? 20 : 24,
11
- height: size === "sm" ? 20 : 24,
12
- children: [
13
- /* @__PURE__ */ jsx(
14
- "path",
15
- {
16
- fillRule: "evenodd",
17
- clipRule: "evenodd",
18
- 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",
19
- fill: "currentColor"
20
- }
21
- ),
22
- /* @__PURE__ */ jsx(
23
- "path",
24
- {
25
- fillRule: "evenodd",
26
- clipRule: "evenodd",
27
- 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",
28
- fill: "currentColor"
29
- }
30
- ),
31
- /* @__PURE__ */ jsx(
32
- "path",
33
- {
34
- fillRule: "evenodd",
35
- clipRule: "evenodd",
36
- 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",
37
- fill: "currentColor"
38
- }
39
- ),
40
- /* @__PURE__ */ jsx(
41
- "path",
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
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const dates = require('@mantine/dates');
7
- const CalendarIcon = require('./CalendarIcon.cjs');
8
-
9
- const MyDatePickerInput = (props) => /* @__PURE__ */ jsxRuntime.jsx(
10
- dates.DatePickerInput,
11
- {
12
- leftSection: /* @__PURE__ */ jsxRuntime.jsx(CalendarIcon, { size: props.size }),
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 { jsx } from 'react/jsx-runtime';
2
- import { DatePickerInput } from '@mantine/dates';
3
- import CalendarIcon from './CalendarIcon.js';
4
-
5
- const MyDatePickerInput = (props) => /* @__PURE__ */ jsx(
6
- DatePickerInput,
7
- {
8
- leftSection: /* @__PURE__ */ jsx(CalendarIcon, { size: props.size }),
9
- leftSectionPointerEvents: "none",
10
- variant: props.readOnly ? "filled" : "default",
11
- ...props
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
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const dates = require('@mantine/dates');
7
- const CalendarIcon = require('../MyDatePickerInput/CalendarIcon.cjs');
8
-
9
- const MyDateTimePicker = (props) => /* @__PURE__ */ jsxRuntime.jsx(
10
- dates.DateTimePicker,
11
- {
12
- leftSection: /* @__PURE__ */ jsxRuntime.jsx(CalendarIcon, { size: props.size }),
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 { jsx } from 'react/jsx-runtime';
2
- import { DateTimePicker } from '@mantine/dates';
3
- import CalendarIcon from '../MyDatePickerInput/CalendarIcon.js';
4
-
5
- const MyDateTimePicker = (props) => /* @__PURE__ */ jsx(
6
- DateTimePicker,
7
- {
8
- leftSection: /* @__PURE__ */ jsx(CalendarIcon, { size: props.size }),
9
- leftSectionPointerEvents: "none",
10
- variant: props.readOnly ? "filled" : "default",
11
- ...props
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
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const dates = require('@mantine/dates');
7
- const CalendarIcon = require('../MyDatePickerInput/CalendarIcon.cjs');
8
-
9
- const MyMonthPickerInput = (props) => /* @__PURE__ */ jsxRuntime.jsx(
10
- dates.MonthPickerInput,
11
- {
12
- leftSection: /* @__PURE__ */ jsxRuntime.jsx(CalendarIcon, { size: props.size }),
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 { jsx } from 'react/jsx-runtime';
2
- import { MonthPickerInput } from '@mantine/dates';
3
- import CalendarIcon from '../MyDatePickerInput/CalendarIcon.js';
4
-
5
- const MyMonthPickerInput = (props) => /* @__PURE__ */ jsx(
6
- MonthPickerInput,
7
- {
8
- leftSection: /* @__PURE__ */ jsx(CalendarIcon, { size: props.size }),
9
- leftSectionPointerEvents: "none",
10
- variant: props.readOnly ? "filled" : "default",
11
- ...props
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
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const core = require('@mantine/core');
7
-
8
- const MyMultiSelect = (props) => /* @__PURE__ */ jsxRuntime.jsx(core.MultiSelect, { variant: props.readOnly ? "filled" : "default", ...props });
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 'react/jsx-runtime';
2
- import { MultiSelect } from '@mantine/core';
3
-
4
- const MyMultiSelect = (props) => /* @__PURE__ */ jsx(MultiSelect, { variant: props.readOnly ? "filled" : "default", ...props });
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
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const notifications = require('@mantine/notifications');
7
- ;/* empty css */
8
-
9
- const MyNotifications = (props) => /* @__PURE__ */ jsxRuntime.jsx(
10
- notifications.Notifications,
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
- import { jsx } from 'react/jsx-runtime';
2
- import { Notifications } from '@mantine/notifications';
3
- /* empty css */
4
-
5
- const MyNotifications = (props) => /* @__PURE__ */ jsx(
6
- Notifications,
7
- {
8
- position: "top-center",
9
- ...props
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
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const core = require('@mantine/core');
7
-
8
- const MyNumberInput = (props) => /* @__PURE__ */ jsxRuntime.jsx(
9
- core.NumberInput,
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;