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.
- 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 -17
- package/dist/components/MyNotifications/index.js +10 -13
- 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 -10
- package/dist/form/base/FormMultiSelect.js +9 -6
- package/dist/form/base/FormNumberInput.cjs +12 -12
- package/dist/form/base/FormNumberInput.js +10 -8
- 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 +13 -13
- 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 -42
- package/dist/mantine/my-default-theme.js +22 -38
- 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 -870
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +701 -863
- 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 -14
- package/dist/utils/ky/addBodyJsonHook.js +8 -10
- 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 +17 -16
package/dist/form/Form.js
CHANGED
|
@@ -1,26 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
import { jsx } from
|
|
3
|
-
import { Box } from
|
|
4
|
-
import { FormProvider } from
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
2
|
-
import { jsx } from
|
|
3
|
-
import { Button } from
|
|
4
|
-
import { useFormContext } from
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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 };
|