lkd-web-kit 0.8.0 → 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 -17
  25. package/dist/components/MyNotifications/index.js +10 -13
  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 -10
  67. package/dist/form/base/FormMultiSelect.js +9 -6
  68. package/dist/form/base/FormNumberInput.cjs +12 -12
  69. package/dist/form/base/FormNumberInput.js +10 -8
  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 +13 -13
  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 -42
  108. package/dist/mantine/my-default-theme.js +22 -38
  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 -870
  114. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +701 -863
  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 -14
  126. package/dist/utils/ky/addBodyJsonHook.js +8 -10
  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 +17 -16
package/dist/form/Form.js CHANGED
@@ -1,26 +1,20 @@
1
- 'use client';
2
- import { jsx } from 'react/jsx-runtime';
3
- import { Box } from '@mantine/core';
4
- import { FormProvider } from 'react-hook-form';
5
-
6
- const Form = ({
7
- methods,
8
- onSubmit = () => {
9
- },
10
- onSubmitError,
11
- ...rest
12
- }) => {
13
- return /* @__PURE__ */ jsx(FormProvider, { ...methods, children: /* @__PURE__ */ jsx(
14
- Box,
15
- {
16
- component: "form",
17
- onSubmit: (e) => {
18
- e.stopPropagation();
19
- methods.handleSubmit(onSubmit, onSubmitError)(e);
20
- },
21
- ...rest
22
- }
23
- ) });
1
+ "use client";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import { Box } from "@mantine/core";
4
+ import { FormProvider } from "react-hook-form";
5
+ //#region src/form/Form.tsx
6
+ var Form = ({ methods, onSubmit = () => {}, onSubmitError, ...rest }) => {
7
+ return /* @__PURE__ */ jsx(FormProvider, {
8
+ ...methods,
9
+ children: /* @__PURE__ */ jsx(Box, {
10
+ component: "form",
11
+ onSubmit: (e) => {
12
+ e.stopPropagation();
13
+ methods.handleSubmit(onSubmit, onSubmitError)(e);
14
+ },
15
+ ...rest
16
+ })
17
+ });
24
18
  };
25
-
19
+ //#endregion
26
20
  export { Form };
@@ -1,29 +1,17 @@
1
- 'use client';
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
-
6
- const jsxRuntime = require('react/jsx-runtime');
7
- const core = require('@mantine/core');
8
- const reactHookForm = require('react-hook-form');
9
-
10
- const FormSubmitButton = ({
11
- disabled,
12
- disabledWhenSuccess,
13
- ...props
14
- }) => {
15
- const {
16
- formState: { isSubmitting, isSubmitSuccessful }
17
- } = reactHookForm.useFormContext();
18
- return /* @__PURE__ */ jsxRuntime.jsx(
19
- core.Button,
20
- {
21
- disabled: disabled ?? (isSubmitSuccessful && disabledWhenSuccess),
22
- loading: isSubmitting,
23
- type: "submit",
24
- ...props
25
- }
26
- );
1
+ "use client";
2
+ require("../../_virtual/_rolldown/runtime.cjs");
3
+ let react_jsx_runtime = require("react/jsx-runtime");
4
+ let _mantine_core = require("@mantine/core");
5
+ let react_hook_form = require("react-hook-form");
6
+ //#region src/form/FormSubmitButton.tsx
7
+ var FormSubmitButton = ({ disabled, disabledWhenSuccess, ...props }) => {
8
+ const { formState: { isSubmitting, isSubmitSuccessful } } = (0, react_hook_form.useFormContext)();
9
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Button, {
10
+ disabled: disabled ?? (isSubmitSuccessful && disabledWhenSuccess),
11
+ loading: isSubmitting,
12
+ type: "submit",
13
+ ...props
14
+ });
27
15
  };
28
-
16
+ //#endregion
29
17
  exports.FormSubmitButton = FormSubmitButton;
@@ -1,25 +1,16 @@
1
- 'use client';
2
- import { jsx } from 'react/jsx-runtime';
3
- import { Button } from '@mantine/core';
4
- import { useFormContext } from 'react-hook-form';
5
-
6
- const FormSubmitButton = ({
7
- disabled,
8
- disabledWhenSuccess,
9
- ...props
10
- }) => {
11
- const {
12
- formState: { isSubmitting, isSubmitSuccessful }
13
- } = useFormContext();
14
- return /* @__PURE__ */ jsx(
15
- Button,
16
- {
17
- disabled: disabled ?? (isSubmitSuccessful && disabledWhenSuccess),
18
- loading: isSubmitting,
19
- type: "submit",
20
- ...props
21
- }
22
- );
1
+ "use client";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import { Button } from "@mantine/core";
4
+ import { useFormContext } from "react-hook-form";
5
+ //#region src/form/FormSubmitButton.tsx
6
+ var FormSubmitButton = ({ disabled, disabledWhenSuccess, ...props }) => {
7
+ const { formState: { isSubmitting, isSubmitSuccessful } } = useFormContext();
8
+ return /* @__PURE__ */ jsx(Button, {
9
+ disabled: disabled ?? (isSubmitSuccessful && disabledWhenSuccess),
10
+ loading: isSubmitting,
11
+ type: "submit",
12
+ ...props
13
+ });
23
14
  };
24
-
15
+ //#endregion
25
16
  export { FormSubmitButton };
@@ -1,24 +1,16 @@
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
- const withController = require('../../hocs/withController.cjs');
8
-
9
- const FormCheckbox = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
- core.Checkbox,
11
- {
12
- ...field,
13
- checked: Boolean(field.value),
14
- onChange: (e) => {
15
- if (props.value)
16
- field.onChange(e.currentTarget.checked ? props.value : "");
17
- else
18
- field.onChange(e.currentTarget.checked);
19
- },
20
- ...props
21
- }
22
- ));
23
-
1
+ require("../../../_virtual/_rolldown/runtime.cjs");
2
+ const require_withController = require("../../hocs/withController.cjs");
3
+ let react_jsx_runtime = require("react/jsx-runtime");
4
+ let _mantine_core = require("@mantine/core");
5
+ //#region src/form/base/FormCheckbox.tsx
6
+ var FormCheckbox = require_withController.withController(({ field, props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_mantine_core.Checkbox, {
7
+ ...field,
8
+ checked: Boolean(field.value),
9
+ onChange: (e) => {
10
+ if (props.value) field.onChange(e.currentTarget.checked ? props.value : "");
11
+ else field.onChange(e.currentTarget.checked);
12
+ },
13
+ ...props
14
+ }));
15
+ //#endregion
24
16
  exports.FormCheckbox = FormCheckbox;
@@ -1,20 +1,15 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { Checkbox } from '@mantine/core';
3
- import { withController } from '../../hocs/withController.js';
4
-
5
- const FormCheckbox = withController(({ field, props }) => /* @__PURE__ */ jsx(
6
- Checkbox,
7
- {
8
- ...field,
9
- checked: Boolean(field.value),
10
- onChange: (e) => {
11
- if (props.value)
12
- field.onChange(e.currentTarget.checked ? props.value : "");
13
- else
14
- field.onChange(e.currentTarget.checked);
15
- },
16
- ...props
17
- }
18
- ));
19
-
1
+ import { withController } from "../../hocs/withController.js";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import { Checkbox } from "@mantine/core";
4
+ //#region src/form/base/FormCheckbox.tsx
5
+ var FormCheckbox = withController(({ field, props }) => /* @__PURE__ */ jsx(Checkbox, {
6
+ ...field,
7
+ checked: Boolean(field.value),
8
+ onChange: (e) => {
9
+ if (props.value) field.onChange(e.currentTarget.checked ? props.value : "");
10
+ else field.onChange(e.currentTarget.checked);
11
+ },
12
+ ...props
13
+ }));
14
+ //#endregion
20
15
  export { FormCheckbox };
@@ -1,17 +1,11 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('../../components/MyCheckboxGroup/index.cjs');
7
- const withController = require('../../hocs/withController.cjs');
8
-
9
- const FormCheckboxGroup = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
- index.MyCheckboxGroup,
11
- {
12
- ...field,
13
- ...props
14
- }
15
- ));
16
-
1
+ require("../../../_virtual/_rolldown/runtime.cjs");
2
+ const require_index = require("../../components/MyCheckboxGroup/index.cjs");
3
+ const require_withController = require("../../hocs/withController.cjs");
4
+ let react_jsx_runtime = require("react/jsx-runtime");
5
+ //#region src/form/base/FormCheckboxGroup.tsx
6
+ var FormCheckboxGroup = require_withController.withController(({ field, props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.MyCheckboxGroup, {
7
+ ...field,
8
+ ...props
9
+ }));
10
+ //#endregion
17
11
  exports.FormCheckboxGroup = FormCheckboxGroup;
@@ -1,13 +1,10 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { MyCheckboxGroup } from '../../components/MyCheckboxGroup/index.js';
3
- import { withController } from '../../hocs/withController.js';
4
-
5
- const FormCheckboxGroup = withController(({ field, props }) => /* @__PURE__ */ jsx(
6
- MyCheckboxGroup,
7
- {
8
- ...field,
9
- ...props
10
- }
11
- ));
12
-
1
+ import { MyCheckboxGroup } from "../../components/MyCheckboxGroup/index.js";
2
+ import { withController } from "../../hocs/withController.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/form/base/FormCheckboxGroup.tsx
5
+ var FormCheckboxGroup = withController(({ field, props }) => /* @__PURE__ */ jsx(MyCheckboxGroup, {
6
+ ...field,
7
+ ...props
8
+ }));
9
+ //#endregion
13
10
  export { FormCheckboxGroup };
@@ -1,17 +1,11 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('../../components/MyDateInput/index.cjs');
7
- const withController = require('../../hocs/withController.cjs');
8
-
9
- const FormDateInput = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
- index.MyDateInput,
11
- {
12
- ...field,
13
- ...props
14
- }
15
- ));
16
-
1
+ require("../../../_virtual/_rolldown/runtime.cjs");
2
+ const require_index = require("../../components/MyDateInput/index.cjs");
3
+ const require_withController = require("../../hocs/withController.cjs");
4
+ let react_jsx_runtime = require("react/jsx-runtime");
5
+ //#region src/form/base/FormDateInput.tsx
6
+ var FormDateInput = require_withController.withController(({ field, props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.MyDateInput, {
7
+ ...field,
8
+ ...props
9
+ }));
10
+ //#endregion
17
11
  exports.FormDateInput = FormDateInput;
@@ -1,13 +1,10 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { MyDateInput } from '../../components/MyDateInput/index.js';
3
- import { withController } from '../../hocs/withController.js';
4
-
5
- const FormDateInput = withController(({ field, props }) => /* @__PURE__ */ jsx(
6
- MyDateInput,
7
- {
8
- ...field,
9
- ...props
10
- }
11
- ));
12
-
1
+ import { MyDateInput } from "../../components/MyDateInput/index.js";
2
+ import { withController } from "../../hocs/withController.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/form/base/FormDateInput.tsx
5
+ var FormDateInput = withController(({ field, props }) => /* @__PURE__ */ jsx(MyDateInput, {
6
+ ...field,
7
+ ...props
8
+ }));
9
+ //#endregion
13
10
  export { FormDateInput };
@@ -1,17 +1,11 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('../../components/MyDatePickerInput/index.cjs');
7
- const withController = require('../../hocs/withController.cjs');
8
-
9
- const FormDatePickerInput = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
- index.MyDatePickerInput,
11
- {
12
- ...field,
13
- ...props
14
- }
15
- ));
16
-
1
+ require("../../../_virtual/_rolldown/runtime.cjs");
2
+ const require_index = require("../../components/MyDatePickerInput/index.cjs");
3
+ const require_withController = require("../../hocs/withController.cjs");
4
+ let react_jsx_runtime = require("react/jsx-runtime");
5
+ //#region src/form/base/FormDatePickerInput.tsx
6
+ var FormDatePickerInput = require_withController.withController(({ field, props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.MyDatePickerInput, {
7
+ ...field,
8
+ ...props
9
+ }));
10
+ //#endregion
17
11
  exports.FormDatePickerInput = FormDatePickerInput;
@@ -1,13 +1,10 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { MyDatePickerInput } from '../../components/MyDatePickerInput/index.js';
3
- import { withController } from '../../hocs/withController.js';
4
-
5
- const FormDatePickerInput = withController(({ field, props }) => /* @__PURE__ */ jsx(
6
- MyDatePickerInput,
7
- {
8
- ...field,
9
- ...props
10
- }
11
- ));
12
-
1
+ import { MyDatePickerInput } from "../../components/MyDatePickerInput/index.js";
2
+ import { withController } from "../../hocs/withController.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/form/base/FormDatePickerInput.tsx
5
+ var FormDatePickerInput = withController(({ field, props }) => /* @__PURE__ */ jsx(MyDatePickerInput, {
6
+ ...field,
7
+ ...props
8
+ }));
9
+ //#endregion
13
10
  export { FormDatePickerInput };
@@ -1,17 +1,11 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('../../components/MyDateTimePicker/index.cjs');
7
- const withController = require('../../hocs/withController.cjs');
8
-
9
- const FormDateTimePicker = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
- index.MyDateTimePicker,
11
- {
12
- ...field,
13
- ...props
14
- }
15
- ));
16
-
1
+ require("../../../_virtual/_rolldown/runtime.cjs");
2
+ const require_index = require("../../components/MyDateTimePicker/index.cjs");
3
+ const require_withController = require("../../hocs/withController.cjs");
4
+ let react_jsx_runtime = require("react/jsx-runtime");
5
+ //#region src/form/base/FormDateTimePicker.tsx
6
+ var FormDateTimePicker = require_withController.withController(({ field, props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.MyDateTimePicker, {
7
+ ...field,
8
+ ...props
9
+ }));
10
+ //#endregion
17
11
  exports.FormDateTimePicker = FormDateTimePicker;
@@ -1,13 +1,10 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { MyDateTimePicker } from '../../components/MyDateTimePicker/index.js';
3
- import { withController } from '../../hocs/withController.js';
4
-
5
- const FormDateTimePicker = withController(({ field, props }) => /* @__PURE__ */ jsx(
6
- MyDateTimePicker,
7
- {
8
- ...field,
9
- ...props
10
- }
11
- ));
12
-
1
+ import { MyDateTimePicker } from "../../components/MyDateTimePicker/index.js";
2
+ import { withController } from "../../hocs/withController.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/form/base/FormDateTimePicker.tsx
5
+ var FormDateTimePicker = withController(({ field, props }) => /* @__PURE__ */ jsx(MyDateTimePicker, {
6
+ ...field,
7
+ ...props
8
+ }));
9
+ //#endregion
13
10
  export { FormDateTimePicker };
@@ -1,17 +1,11 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('../../components/MyMonthPickerInput/index.cjs');
7
- const withController = require('../../hocs/withController.cjs');
8
-
9
- const FormMonthPickerInput = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
- index.MyMonthPickerInput,
11
- {
12
- ...field,
13
- ...props
14
- }
15
- ));
16
-
1
+ require("../../../_virtual/_rolldown/runtime.cjs");
2
+ const require_index = require("../../components/MyMonthPickerInput/index.cjs");
3
+ const require_withController = require("../../hocs/withController.cjs");
4
+ let react_jsx_runtime = require("react/jsx-runtime");
5
+ //#region src/form/base/FormMonthPickerInput.tsx
6
+ var FormMonthPickerInput = require_withController.withController(({ field, props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.MyMonthPickerInput, {
7
+ ...field,
8
+ ...props
9
+ }));
10
+ //#endregion
17
11
  exports.FormMonthPickerInput = FormMonthPickerInput;
@@ -1,13 +1,10 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { MyMonthPickerInput } from '../../components/MyMonthPickerInput/index.js';
3
- import { withController } from '../../hocs/withController.js';
4
-
5
- const FormMonthPickerInput = withController(({ field, props }) => /* @__PURE__ */ jsx(
6
- MyMonthPickerInput,
7
- {
8
- ...field,
9
- ...props
10
- }
11
- ));
12
-
1
+ import { MyMonthPickerInput } from "../../components/MyMonthPickerInput/index.js";
2
+ import { withController } from "../../hocs/withController.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/form/base/FormMonthPickerInput.tsx
5
+ var FormMonthPickerInput = withController(({ field, props }) => /* @__PURE__ */ jsx(MyMonthPickerInput, {
6
+ ...field,
7
+ ...props
8
+ }));
9
+ //#endregion
13
10
  export { FormMonthPickerInput };
@@ -1,11 +1,11 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('../../components/MyMultiSelect/index.cjs');
7
- const withController = require('../../hocs/withController.cjs');
8
-
9
- const FormMultiSelect = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(index.MyMultiSelect, { ...field, ...props }));
10
-
1
+ require("../../../_virtual/_rolldown/runtime.cjs");
2
+ const require_index = require("../../components/MyMultiSelect/index.cjs");
3
+ const require_withController = require("../../hocs/withController.cjs");
4
+ let react_jsx_runtime = require("react/jsx-runtime");
5
+ //#region src/form/base/FormMultiSelect.tsx
6
+ var FormMultiSelect = require_withController.withController(({ field, props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.MyMultiSelect, {
7
+ ...field,
8
+ ...props
9
+ }));
10
+ //#endregion
11
11
  exports.FormMultiSelect = FormMultiSelect;
@@ -1,7 +1,10 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { MyMultiSelect } from '../../components/MyMultiSelect/index.js';
3
- import { withController } from '../../hocs/withController.js';
4
-
5
- const FormMultiSelect = withController(({ field, props }) => /* @__PURE__ */ jsx(MyMultiSelect, { ...field, ...props }));
6
-
1
+ import { MyMultiSelect } from "../../components/MyMultiSelect/index.js";
2
+ import { withController } from "../../hocs/withController.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/form/base/FormMultiSelect.tsx
5
+ var FormMultiSelect = withController(({ field, props }) => /* @__PURE__ */ jsx(MyMultiSelect, {
6
+ ...field,
7
+ ...props
8
+ }));
9
+ //#endregion
7
10
  export { FormMultiSelect };
@@ -1,13 +1,13 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('../../components/MyNumberInput/index.cjs');
7
- const withController = require('../../hocs/withController.cjs');
8
-
9
- const FormNumberInput = withController.withController(
10
- ({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(index.MyNumberInput, { ...field, ...props })
11
- );
12
-
1
+ const require_runtime = require("../../../_virtual/_rolldown/runtime.cjs");
2
+ const require_index = require("../../components/MyNumberInput/index.cjs");
3
+ const require_withController = require("../../hocs/withController.cjs");
4
+ let react = require("react");
5
+ react = require_runtime.__toESM(react, 1);
6
+ let react_jsx_runtime = require("react/jsx-runtime");
7
+ //#region src/form/base/FormNumberInput.tsx
8
+ var FormNumberInput = require_withController.withController(({ field, props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.MyNumberInput, {
9
+ ...field,
10
+ ...props
11
+ }));
12
+ //#endregion
13
13
  exports.FormNumberInput = FormNumberInput;
@@ -1,9 +1,11 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { MyNumberInput } from '../../components/MyNumberInput/index.js';
3
- import { withController } from '../../hocs/withController.js';
4
-
5
- const FormNumberInput = withController(
6
- ({ field, props }) => /* @__PURE__ */ jsx(MyNumberInput, { ...field, ...props })
7
- );
8
-
1
+ import { MyNumberInput } from "../../components/MyNumberInput/index.js";
2
+ import { withController } from "../../hocs/withController.js";
3
+ import "react";
4
+ import { jsx } from "react/jsx-runtime";
5
+ //#region src/form/base/FormNumberInput.tsx
6
+ var FormNumberInput = withController(({ field, props }) => /* @__PURE__ */ jsx(MyNumberInput, {
7
+ ...field,
8
+ ...props
9
+ }));
10
+ //#endregion
9
11
  export { FormNumberInput };
@@ -1,17 +1,11 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
-
5
- const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('../../components/MyRadioGroup/index.cjs');
7
- const withController = require('../../hocs/withController.cjs');
8
-
9
- const FormRadioGroup = withController.withController(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
- index.MyRadioGroup,
11
- {
12
- ...field,
13
- ...props
14
- }
15
- ));
16
-
1
+ require("../../../_virtual/_rolldown/runtime.cjs");
2
+ const require_index = require("../../components/MyRadioGroup/index.cjs");
3
+ const require_withController = require("../../hocs/withController.cjs");
4
+ let react_jsx_runtime = require("react/jsx-runtime");
5
+ //#region src/form/base/FormRadioGroup.tsx
6
+ var FormRadioGroup = require_withController.withController(({ field, props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.MyRadioGroup, {
7
+ ...field,
8
+ ...props
9
+ }));
10
+ //#endregion
17
11
  exports.FormRadioGroup = FormRadioGroup;
@@ -1,13 +1,10 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { MyRadioGroup } from '../../components/MyRadioGroup/index.js';
3
- import { withController } from '../../hocs/withController.js';
4
-
5
- const FormRadioGroup = withController(({ field, props }) => /* @__PURE__ */ jsx(
6
- MyRadioGroup,
7
- {
8
- ...field,
9
- ...props
10
- }
11
- ));
12
-
1
+ import { MyRadioGroup } from "../../components/MyRadioGroup/index.js";
2
+ import { withController } from "../../hocs/withController.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/form/base/FormRadioGroup.tsx
5
+ var FormRadioGroup = withController(({ field, props }) => /* @__PURE__ */ jsx(MyRadioGroup, {
6
+ ...field,
7
+ ...props
8
+ }));
9
+ //#endregion
13
10
  export { FormRadioGroup };