lkd-web-kit 0.3.0 → 0.3.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/index.d.ts +10 -0
- package/dist/src/components/MyMonthPickerInput/index.cjs +2 -0
- package/dist/src/components/MyMonthPickerInput/index.cjs.map +1 -0
- package/dist/src/components/MyMonthPickerInput/index.mjs +15 -0
- package/dist/src/components/MyMonthPickerInput/index.mjs.map +1 -0
- package/dist/src/form/base/FormMonthPickerInput.cjs +2 -0
- package/dist/src/form/base/FormMonthPickerInput.cjs.map +1 -0
- package/dist/src/form/base/FormMonthPickerInput.mjs +14 -0
- package/dist/src/form/base/FormMonthPickerInput.mjs.map +1 -0
- package/dist/src/index.cjs +1 -1
- package/dist/src/index.mjs +92 -88
- package/dist/src/index.mjs.map +1 -1
- package/dist/src/mantine/my-default-theme.cjs +1 -1
- package/dist/src/mantine/my-default-theme.cjs.map +1 -1
- package/dist/src/mantine/my-default-theme.mjs +9 -15
- package/dist/src/mantine/my-default-theme.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ import { MantineColorShade } from '@mantine/core';
|
|
|
27
27
|
import { MantineThemeColors } from '@mantine/core';
|
|
28
28
|
import { MantineThemeOverride } from '@mantine/core';
|
|
29
29
|
import { ModalProps } from '@mantine/core';
|
|
30
|
+
import { MonthPickerInputProps } from '@mantine/dates';
|
|
30
31
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
31
32
|
import { MultiSelectProps } from '@mantine/core';
|
|
32
33
|
import { NormalizedOptions } from 'ky';
|
|
@@ -125,6 +126,10 @@ export declare type FormFieldProps<T = unknown> = Parameters<ControllerProps['re
|
|
|
125
126
|
};
|
|
126
127
|
};
|
|
127
128
|
|
|
129
|
+
export declare const FormMonthPickerInput: FC<MyMonthPickerInputProps & WithFormProps>;
|
|
130
|
+
|
|
131
|
+
export declare type FormMonthPickerInputProps = WithFormProps & MyMonthPickerInputProps;
|
|
132
|
+
|
|
128
133
|
export declare const FormMultiSelect: FC<MyMultiSelectProps & WithFormProps>;
|
|
129
134
|
|
|
130
135
|
export declare type FormMultiSelectProps = MyMultiSelectProps & WithFormProps;
|
|
@@ -295,6 +300,11 @@ export declare interface MyDateTimePickerProps extends DateTimePickerProps {
|
|
|
295
300
|
|
|
296
301
|
export declare const myDefaultTheme: MantineThemeOverride;
|
|
297
302
|
|
|
303
|
+
export declare const MyMonthPickerInput: (props: MyMonthPickerInputProps) => JSX.Element;
|
|
304
|
+
|
|
305
|
+
export declare interface MyMonthPickerInputProps extends MonthPickerInputProps<any> {
|
|
306
|
+
}
|
|
307
|
+
|
|
298
308
|
export declare const MyMultiSelect: (props: MyMultiSelectProps) => JSX.Element;
|
|
299
309
|
|
|
300
310
|
export declare interface MyMultiSelectProps extends MultiSelectProps {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),n=require("@mantine/dates"),i=require("../MyDatePickerInput/CalendarIcon.cjs"),r=e=>t.jsx(n.MonthPickerInput,{leftSection:t.jsx(i,{size:e.size}),variant:e.readOnly?"filled":"default",...e});exports.MyMonthPickerInput=r;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/components/MyMonthPickerInput/index.tsx"],"sourcesContent":["import {\r\n DateTimePicker,\r\n DateTimePickerProps,\r\n MonthPickerInput,\r\n MonthPickerInputProps,\r\n} from '@mantine/dates';\r\nimport CalendarIcon from '../MyDatePickerInput/CalendarIcon';\r\n\r\nexport interface MyMonthPickerInputProps extends MonthPickerInputProps<any> {}\r\n\r\nexport const MyMonthPickerInput = (props: MyMonthPickerInputProps) => (\r\n <MonthPickerInput\r\n leftSection={<CalendarIcon size={props.size} />}\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyMonthPickerInput","props","jsx","MonthPickerInput","CalendarIcon"],"mappings":"oMAUaA,EAAsBC,GACjCC,EAAA,IAACC,EAAA,iBAAA,CACC,YAAaD,EAAA,IAACE,EAAa,CAAA,KAAMH,EAAM,KAAM,EAC7C,QAASA,EAAM,SAAW,SAAW,UACpC,GAAGA,CAAA,CACN"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { MonthPickerInput as i } from "@mantine/dates";
|
|
3
|
+
import n from "../MyDatePickerInput/CalendarIcon.mjs";
|
|
4
|
+
const f = (t) => /* @__PURE__ */ e(
|
|
5
|
+
i,
|
|
6
|
+
{
|
|
7
|
+
leftSection: /* @__PURE__ */ e(n, { size: t.size }),
|
|
8
|
+
variant: t.readOnly ? "filled" : "default",
|
|
9
|
+
...t
|
|
10
|
+
}
|
|
11
|
+
);
|
|
12
|
+
export {
|
|
13
|
+
f as MyMonthPickerInput
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../src/components/MyMonthPickerInput/index.tsx"],"sourcesContent":["import {\r\n DateTimePicker,\r\n DateTimePickerProps,\r\n MonthPickerInput,\r\n MonthPickerInputProps,\r\n} from '@mantine/dates';\r\nimport CalendarIcon from '../MyDatePickerInput/CalendarIcon';\r\n\r\nexport interface MyMonthPickerInputProps extends MonthPickerInputProps<any> {}\r\n\r\nexport const MyMonthPickerInput = (props: MyMonthPickerInputProps) => (\r\n <MonthPickerInput\r\n leftSection={<CalendarIcon size={props.size} />}\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyMonthPickerInput","props","jsx","MonthPickerInput","CalendarIcon"],"mappings":";;;AAUa,MAAAA,IAAqB,CAACC,MACjC,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,aAAa,gBAAAD,EAACE,GAAa,EAAA,MAAMH,EAAM,MAAM;AAAA,IAC7C,SAASA,EAAM,WAAW,WAAW;AAAA,IACpC,GAAGA;AAAA,EAAA;AACN;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),o=require("../../components/MyMonthPickerInput/index.cjs"),n=require("../../hocs/withForm.cjs"),i=n.withForm(({field:t,props:e})=>r.jsx(o.MyMonthPickerInput,{...t,...e}));exports.FormMonthPickerInput=i;
|
|
2
|
+
//# sourceMappingURL=FormMonthPickerInput.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormMonthPickerInput.cjs","sources":["../../../../src/form/base/FormMonthPickerInput.tsx"],"sourcesContent":["import { MyMonthPickerInput, MyMonthPickerInputProps } from 'src/components';\r\nimport { WithFormProps, withForm } from 'src/hocs';\r\n\r\nexport type FormMonthPickerInputProps = WithFormProps & MyMonthPickerInputProps;\r\n\r\nexport const FormMonthPickerInput = withForm<MyMonthPickerInputProps>(({ field, props }) => (\r\n <MyMonthPickerInput\r\n {...field}\r\n {...props}\r\n />\r\n));\r\n"],"names":["FormMonthPickerInput","withForm","field","props","jsx","MyMonthPickerInput"],"mappings":"qNAKaA,EAAuBC,EAAAA,SAAkC,CAAC,CAAE,MAAAC,EAAO,MAAAC,CAC9E,IAAAC,EAAA,IAACC,EAAA,mBAAA,CACE,GAAGH,EACH,GAAGC,CAAA,CACN,CACD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { MyMonthPickerInput as m } from "../../components/MyMonthPickerInput/index.mjs";
|
|
3
|
+
import { withForm as i } from "../../hocs/withForm.mjs";
|
|
4
|
+
const e = i(({ field: o, props: r }) => /* @__PURE__ */ t(
|
|
5
|
+
m,
|
|
6
|
+
{
|
|
7
|
+
...o,
|
|
8
|
+
...r
|
|
9
|
+
}
|
|
10
|
+
));
|
|
11
|
+
export {
|
|
12
|
+
e as FormMonthPickerInput
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=FormMonthPickerInput.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormMonthPickerInput.mjs","sources":["../../../../src/form/base/FormMonthPickerInput.tsx"],"sourcesContent":["import { MyMonthPickerInput, MyMonthPickerInputProps } from 'src/components';\r\nimport { WithFormProps, withForm } from 'src/hocs';\r\n\r\nexport type FormMonthPickerInputProps = WithFormProps & MyMonthPickerInputProps;\r\n\r\nexport const FormMonthPickerInput = withForm<MyMonthPickerInputProps>(({ field, props }) => (\r\n <MyMonthPickerInput\r\n {...field}\r\n {...props}\r\n />\r\n));\r\n"],"names":["FormMonthPickerInput","withForm","field","props","jsx","MyMonthPickerInput"],"mappings":";;;AAKO,MAAMA,IAAuBC,EAAkC,CAAC,EAAE,OAAAC,GAAO,OAAAC,EAC9E,MAAA,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACE,GAAGH;AAAA,IACH,GAAGC;AAAA,EAAA;AACN,CACD;"}
|
package/dist/src/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./components/EmptyState/index.cjs"),u=require("./components/InfinityLoader/index.cjs"),a=require("./components/NavItems.cjs"),s=require("./components/Icon.cjs"),c=require("./components/MyDatePickerInput/index.cjs"),m=require("./components/MyDateTimePicker/index.cjs"),l=require("./components/MyNotifications/index.cjs"),d=require("./components/MyNumberInput/index.cjs"),y=require("./components/MySelect/index.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./components/EmptyState/index.cjs"),u=require("./components/InfinityLoader/index.cjs"),a=require("./components/NavItems.cjs"),s=require("./components/Icon.cjs"),c=require("./components/MyDatePickerInput/index.cjs"),m=require("./components/MyDateTimePicker/index.cjs"),l=require("./components/MyNotifications/index.cjs"),d=require("./components/MyNumberInput/index.cjs"),y=require("./components/MySelect/index.cjs"),p=require("./components/MyTextarea/index.cjs"),q=require("./components/MyTextInput/index.cjs"),F=require("./components/MyTimeInput/index.cjs"),I=require("./components/SelectInfinity/index.cjs"),M=require("./components/MyMultiSelect/index.cjs"),P=require("./components/MyMonthPickerInput/index.cjs"),x=require("./consts/http-status.cjs"),S=require("./consts/revalidate.cjs"),e=require("./contexts/NavigationHistoryContext/index.cjs"),t=require("./contexts/PageDataContext/index.cjs"),T=require("./form/Form.cjs"),h=require("./form/FormButtonSubmit.cjs"),f=require("./form/utils/zodValidator.cjs"),k=require("./form/utils/nullable-but-required.cjs"),B=require("./form/utils/optional-but-required.cjs"),b=require("./form/base/FormCheckbox.cjs"),N=require("./form/base/FormDatePickerInput.cjs"),g=require("./form/base/FormDateTimePicker.cjs"),D=require("./form/base/FormNumberInput.cjs"),v=require("./form/base/FormRadioGroup.cjs"),$=require("./form/base/FormSelect.cjs"),R=require("./form/base/FormSelectInfinity.cjs"),w=require("./form/base/FormTextarea.cjs"),H=require("./form/base/FormTextInput.cjs"),r=require("./form/base/FormTimeInput.cjs"),E=require("./form/base/FormMultiSelect.cjs"),O=require("./form/base/FormMonthPickerInput.cjs"),C=require("./hocs/withForm.cjs"),A=require("./hocs/withModalManager.cjs"),J=require("./hooks/useBreakpoint.cjs"),_=require("./hooks/useFetchNextPageOnScroll.cjs"),U=require("./hooks/useOnScrollProgress.cjs"),K=require("./hooks/useUpdateSearchParams.cjs"),L=require("./mantine/breakpoints-with-px.cjs"),z=require("./mantine/to-tailwind-colors.cjs"),G=require("./mantine/my-default-theme.cjs"),V=require("./utils/formatBytes.cjs"),o=require("./utils/ky/addBodyJsonHook.cjs"),W=require("./utils/ky/parseJson.cjs"),i=require("./utils/array/groupBy.cjs"),Q=require("./utils/array/shuffleArray.cjs"),j=require("./utils/newHref.cjs"),X=require("./utils/isInfinityEmpty.cjs");exports.EmptyState=n.EmptyState;exports.InfinityLoader=u.InfinityLoader;exports.NavItems=a.NavItems;exports.Icon=s.Icon;exports.MyDatePickerInput=c.MyDatePickerInput;exports.MyDateTimePicker=m.MyDateTimePicker;exports.MyNotifications=l.MyNotifications;exports.MyNumberInput=d.MyNumberInput;exports.MySelect=y.MySelect;exports.MyTextarea=p.MyTextarea;exports.MyTextInput=q.MyTextInput;exports.MyTimeInput=F.MyTimeInput;exports.SelectInfinity=I.SelectInfinity;exports.MyMultiSelect=M.MyMultiSelect;exports.MyMonthPickerInput=P.MyMonthPickerInput;exports.HttpStatus=x.HttpStatus;exports.Revalidate=S.Revalidate;exports.NavigationHistoryProvider=e.NavigationHistoryProvider;exports.QP_BACK_URL_NAME=e.QP_BACK_URL_NAME;exports.useNavigationHistory=e.useNavigationHistory;exports.PageDataProvider=t.PageDataProvider;exports.usePageData=t.usePageData;exports.Form=T.Form;exports.FormButtonSubmit=h.FormButtonSubmit;exports.zodValidator=f.zodValidator;exports.nullableButRequired=k.nullableButRequired;exports.optionalButRequired=B.optionalButRequired;exports.FormCheckbox=b.FormCheckbox;exports.FormDatePickerInput=N.FormDatePickerInput;exports.FormDateTimePicker=g.FormDateTimePicker;exports.FormNumberInput=D.FormNumberInput;exports.FormRadioGroup=v.FormRadioGroup;exports.FormSelect=$.FormSelect;exports.FormSelectInfinity=R.FormSelectInfinity;exports.FormTextarea=w.FormTextarea;exports.FormTextInput=H.FormTextInput;exports.FormTimeInput=r.FormTimeInput;exports.numberToTimeInput=r.numberToTimeInput;exports.timeInputToNumber=r.timeInputToNumber;exports.FormMultiSelect=E.FormMultiSelect;exports.FormMonthPickerInput=O.FormMonthPickerInput;exports.withForm=C.withForm;exports.withModalManager=A.withModalManager;exports.useBreakpoint=J.useBreakpoint;exports.useFetchNextPageOnScroll=_.useFetchNextPageOnScroll;exports.useOnScrollProgress=U.useOnScrollProgress;exports.useUpdateSearchParams=K.useUpdateSearchParams;exports.breakpointsWithPx=L.breakpointsWithPx;exports.toTailwindColors=z.toTailwindColors;exports.myDefaultTheme=G.myDefaultTheme;exports.formatBytes=V.formatBytes;exports.KyError=o.KyError;exports.addBodyJsonHook=o.addBodyJsonHook;exports.parseJSON=W.parseJSON;exports.groupBy=i.groupBy;exports.indexBy=i.indexBy;exports.shuffleArray=Q.shuffleArray;exports.newHref=j.newHref;exports.isInfinityEmpty=X.isInfinityEmpty;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/src/index.mjs
CHANGED
|
@@ -5,106 +5,110 @@ import { Icon as i } from "./components/Icon.mjs";
|
|
|
5
5
|
import { MyDatePickerInput as n } from "./components/MyDatePickerInput/index.mjs";
|
|
6
6
|
import { MyDateTimePicker as y } from "./components/MyDateTimePicker/index.mjs";
|
|
7
7
|
import { MyNotifications as s } from "./components/MyNotifications/index.mjs";
|
|
8
|
-
import { MyNumberInput as
|
|
9
|
-
import { MySelect as
|
|
8
|
+
import { MyNumberInput as I } from "./components/MyNumberInput/index.mjs";
|
|
9
|
+
import { MySelect as d } from "./components/MySelect/index.mjs";
|
|
10
10
|
import { MyTextarea as P } from "./components/MyTextarea/index.mjs";
|
|
11
11
|
import { MyTextInput as T } from "./components/MyTextInput/index.mjs";
|
|
12
|
-
import { MyTimeInput as
|
|
13
|
-
import { SelectInfinity as
|
|
14
|
-
import { MyMultiSelect as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
12
|
+
import { MyTimeInput as k } from "./components/MyTimeInput/index.mjs";
|
|
13
|
+
import { SelectInfinity as B } from "./components/SelectInfinity/index.mjs";
|
|
14
|
+
import { MyMultiSelect as g } from "./components/MyMultiSelect/index.mjs";
|
|
15
|
+
import { MyMonthPickerInput as v } from "./components/MyMonthPickerInput/index.mjs";
|
|
16
|
+
import { HttpStatus as R } from "./consts/http-status.mjs";
|
|
17
|
+
import { Revalidate as E } from "./consts/revalidate.mjs";
|
|
18
|
+
import { NavigationHistoryProvider as C, QP_BACK_URL_NAME as O, useNavigationHistory as _ } from "./contexts/NavigationHistoryContext/index.mjs";
|
|
19
|
+
import { PageDataProvider as J, usePageData as K } from "./contexts/PageDataContext/index.mjs";
|
|
20
|
+
import { Form as U } from "./form/Form.mjs";
|
|
21
|
+
import { FormButtonSubmit as G } from "./form/FormButtonSubmit.mjs";
|
|
22
|
+
import { zodValidator as V } from "./form/utils/zodValidator.mjs";
|
|
23
|
+
import { nullableButRequired as j } from "./form/utils/nullable-but-required.mjs";
|
|
24
|
+
import { optionalButRequired as Y } from "./form/utils/optional-but-required.mjs";
|
|
25
|
+
import { FormCheckbox as $ } from "./form/base/FormCheckbox.mjs";
|
|
26
|
+
import { FormDatePickerInput as or } from "./form/base/FormDatePickerInput.mjs";
|
|
27
|
+
import { FormDateTimePicker as tr } from "./form/base/FormDateTimePicker.mjs";
|
|
28
|
+
import { FormNumberInput as pr } from "./form/base/FormNumberInput.mjs";
|
|
29
|
+
import { FormRadioGroup as xr } from "./form/base/FormRadioGroup.mjs";
|
|
30
|
+
import { FormSelect as ar } from "./form/base/FormSelect.mjs";
|
|
31
|
+
import { FormSelectInfinity as ur } from "./form/base/FormSelectInfinity.mjs";
|
|
32
|
+
import { FormTextarea as lr } from "./form/base/FormTextarea.mjs";
|
|
33
|
+
import { FormTextInput as cr } from "./form/base/FormTextInput.mjs";
|
|
34
|
+
import { FormTimeInput as Mr, numberToTimeInput as dr, timeInputToNumber as Fr } from "./form/base/FormTimeInput.mjs";
|
|
35
|
+
import { FormMultiSelect as Sr } from "./form/base/FormMultiSelect.mjs";
|
|
36
|
+
import { FormMonthPickerInput as hr } from "./form/base/FormMonthPickerInput.mjs";
|
|
37
|
+
import { withForm as Nr } from "./hocs/withForm.mjs";
|
|
38
|
+
import { withModalManager as br } from "./hocs/withModalManager.mjs";
|
|
39
|
+
import { useBreakpoint as Dr } from "./hooks/useBreakpoint.mjs";
|
|
40
|
+
import { useFetchNextPageOnScroll as Hr } from "./hooks/useFetchNextPageOnScroll.mjs";
|
|
41
|
+
import { useOnScrollProgress as wr } from "./hooks/useOnScrollProgress.mjs";
|
|
42
|
+
import { useUpdateSearchParams as Ar } from "./hooks/useUpdateSearchParams.mjs";
|
|
43
|
+
import { breakpointsWithPx as Or } from "./mantine/breakpoints-with-px.mjs";
|
|
44
|
+
import { toTailwindColors as qr } from "./mantine/to-tailwind-colors.mjs";
|
|
45
|
+
import { myDefaultTheme as Kr } from "./mantine/my-default-theme.mjs";
|
|
46
|
+
import { formatBytes as Ur } from "./utils/formatBytes.mjs";
|
|
47
|
+
import { KyError as Gr, addBodyJsonHook as Qr } from "./utils/ky/addBodyJsonHook.mjs";
|
|
48
|
+
import { parseJSON as Wr } from "./utils/ky/parseJson.mjs";
|
|
49
|
+
import { groupBy as Xr, indexBy as Yr } from "./utils/array/groupBy.mjs";
|
|
50
|
+
import { shuffleArray as $r } from "./utils/array/shuffleArray.mjs";
|
|
51
|
+
import { newHref as oo } from "./utils/newHref.mjs";
|
|
52
|
+
import { isInfinityEmpty as to } from "./utils/isInfinityEmpty.mjs";
|
|
51
53
|
export {
|
|
52
54
|
e as EmptyState,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
pr as
|
|
61
|
-
xr as
|
|
62
|
-
ar as
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
55
|
+
U as Form,
|
|
56
|
+
G as FormButtonSubmit,
|
|
57
|
+
$ as FormCheckbox,
|
|
58
|
+
or as FormDatePickerInput,
|
|
59
|
+
tr as FormDateTimePicker,
|
|
60
|
+
hr as FormMonthPickerInput,
|
|
61
|
+
Sr as FormMultiSelect,
|
|
62
|
+
pr as FormNumberInput,
|
|
63
|
+
xr as FormRadioGroup,
|
|
64
|
+
ar as FormSelect,
|
|
65
|
+
ur as FormSelectInfinity,
|
|
66
|
+
cr as FormTextInput,
|
|
67
|
+
lr as FormTextarea,
|
|
68
|
+
Mr as FormTimeInput,
|
|
69
|
+
R as HttpStatus,
|
|
67
70
|
i as Icon,
|
|
68
71
|
m as InfinityLoader,
|
|
69
|
-
|
|
72
|
+
Gr as KyError,
|
|
70
73
|
n as MyDatePickerInput,
|
|
71
74
|
y as MyDateTimePicker,
|
|
72
|
-
|
|
75
|
+
v as MyMonthPickerInput,
|
|
76
|
+
g as MyMultiSelect,
|
|
73
77
|
s as MyNotifications,
|
|
74
|
-
|
|
75
|
-
|
|
78
|
+
I as MyNumberInput,
|
|
79
|
+
d as MySelect,
|
|
76
80
|
T as MyTextInput,
|
|
77
81
|
P as MyTextarea,
|
|
78
|
-
|
|
82
|
+
k as MyTimeInput,
|
|
79
83
|
f as NavItems,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
84
|
+
C as NavigationHistoryProvider,
|
|
85
|
+
J as PageDataProvider,
|
|
86
|
+
O as QP_BACK_URL_NAME,
|
|
87
|
+
E as Revalidate,
|
|
88
|
+
B as SelectInfinity,
|
|
89
|
+
Qr as addBodyJsonHook,
|
|
90
|
+
Or as breakpointsWithPx,
|
|
91
|
+
Ur as formatBytes,
|
|
92
|
+
Xr as groupBy,
|
|
93
|
+
Yr as indexBy,
|
|
94
|
+
to as isInfinityEmpty,
|
|
95
|
+
Kr as myDefaultTheme,
|
|
96
|
+
oo as newHref,
|
|
97
|
+
j as nullableButRequired,
|
|
94
98
|
dr as numberToTimeInput,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
99
|
+
Y as optionalButRequired,
|
|
100
|
+
Wr as parseJSON,
|
|
101
|
+
$r as shuffleArray,
|
|
102
|
+
Fr as timeInputToNumber,
|
|
103
|
+
qr as toTailwindColors,
|
|
104
|
+
Dr as useBreakpoint,
|
|
105
|
+
Hr as useFetchNextPageOnScroll,
|
|
106
|
+
_ as useNavigationHistory,
|
|
107
|
+
wr as useOnScrollProgress,
|
|
108
|
+
K as usePageData,
|
|
109
|
+
Ar as useUpdateSearchParams,
|
|
110
|
+
Nr as withForm,
|
|
111
|
+
br as withModalManager,
|
|
112
|
+
V as zodValidator
|
|
109
113
|
};
|
|
110
114
|
//# sourceMappingURL=index.mjs.map
|
package/dist/src/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@mantine/core"),t=require("./breakpoints-with-px.cjs"),o={breakpoints:t.breakpointsWithPx,cursorType:"pointer",components:{Notification:e.Notification.extend({defaultProps:{withBorder:!0}}),AppShell:e.AppShell.extend({defaultProps:{padding:0}}),Select:e.Select.extend({defaultProps:{allowDeselect:!1,withCheckIcon:!1,clearable:!0}}),Menu:e.Menu.extend({defaultProps:{position:"bottom-end"}}),Tooltip:e.Tooltip.extend({defaultProps:{multiline:!0,w:300}})
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@mantine/core"),t=require("./breakpoints-with-px.cjs"),o={breakpoints:t.breakpointsWithPx,cursorType:"pointer",components:{Notification:e.Notification.extend({defaultProps:{withBorder:!0}}),AppShell:e.AppShell.extend({defaultProps:{padding:0}}),Select:e.Select.extend({defaultProps:{allowDeselect:!1,withCheckIcon:!1,clearable:!0}}),Menu:e.Menu.extend({defaultProps:{position:"bottom-end"}}),Tooltip:e.Tooltip.extend({defaultProps:{multiline:!0,w:300}})}};exports.myDefaultTheme=o;
|
|
2
2
|
//# sourceMappingURL=my-default-theme.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"my-default-theme.cjs","sources":["../../../src/mantine/my-default-theme.ts"],"sourcesContent":["import {\r\n AppShell,\r\n MantineTheme,\r\n Menu,\r\n Select,\r\n Tooltip,\r\n Notification,\r\n MantineThemeOverride,\r\n Portal,\r\n} from '@mantine/core';\r\nimport { breakpointsWithPx } from './breakpoints-with-px';\r\n\r\nexport const myDefaultTheme: MantineThemeOverride = {\r\n breakpoints: breakpointsWithPx,\r\n cursorType: 'pointer',\r\n components: {\r\n Notification: Notification.extend({\r\n defaultProps: {\r\n withBorder: true,\r\n },\r\n }),\r\n AppShell: AppShell.extend({\r\n defaultProps: {\r\n padding: 0,\r\n },\r\n }),\r\n Select: Select.extend({\r\n defaultProps: {\r\n allowDeselect: false,\r\n withCheckIcon: false,\r\n clearable: true,\r\n },\r\n }),\r\n Menu: Menu.extend({\r\n defaultProps: {\r\n position: 'bottom-end',\r\n },\r\n }),\r\n Tooltip: Tooltip.extend({\r\n defaultProps: {\r\n multiline: true,\r\n w: 300,\r\n },\r\n }),\r\n
|
|
1
|
+
{"version":3,"file":"my-default-theme.cjs","sources":["../../../src/mantine/my-default-theme.ts"],"sourcesContent":["import {\r\n AppShell,\r\n MantineTheme,\r\n Menu,\r\n Select,\r\n Tooltip,\r\n Notification,\r\n MantineThemeOverride,\r\n Portal,\r\n} from '@mantine/core';\r\nimport { breakpointsWithPx } from './breakpoints-with-px';\r\n\r\nexport const myDefaultTheme: MantineThemeOverride = {\r\n breakpoints: breakpointsWithPx,\r\n cursorType: 'pointer',\r\n components: {\r\n Notification: Notification.extend({\r\n defaultProps: {\r\n withBorder: true,\r\n },\r\n }),\r\n AppShell: AppShell.extend({\r\n defaultProps: {\r\n padding: 0,\r\n },\r\n }),\r\n Select: Select.extend({\r\n defaultProps: {\r\n allowDeselect: false,\r\n withCheckIcon: false,\r\n clearable: true,\r\n },\r\n }),\r\n Menu: Menu.extend({\r\n defaultProps: {\r\n position: 'bottom-end',\r\n },\r\n }),\r\n Tooltip: Tooltip.extend({\r\n defaultProps: {\r\n multiline: true,\r\n w: 300,\r\n },\r\n }),\r\n },\r\n};\r\n"],"names":["myDefaultTheme","breakpointsWithPx","Notification","AppShell","Select","Menu","Tooltip"],"mappings":"wJAYaA,EAAuC,CAClD,YAAaC,EAAA,kBACb,WAAY,UACZ,WAAY,CACV,aAAcC,eAAa,OAAO,CAChC,aAAc,CACZ,WAAY,EAAA,CACd,CACD,EACD,SAAUC,WAAS,OAAO,CACxB,aAAc,CACZ,QAAS,CAAA,CACX,CACD,EACD,OAAQC,SAAO,OAAO,CACpB,aAAc,CACZ,cAAe,GACf,cAAe,GACf,UAAW,EAAA,CACb,CACD,EACD,KAAMC,OAAK,OAAO,CAChB,aAAc,CACZ,SAAU,YAAA,CACZ,CACD,EACD,QAASC,UAAQ,OAAO,CACtB,aAAc,CACZ,UAAW,GACX,EAAG,GAAA,CAEN,CAAA,CAAA,CAEL"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { breakpointsWithPx as
|
|
3
|
-
const
|
|
4
|
-
breakpoints:
|
|
1
|
+
import { Tooltip as e, Menu as t, Select as o, AppShell as l, Notification as i } from "@mantine/core";
|
|
2
|
+
import { breakpointsWithPx as p } from "./breakpoints-with-px.mjs";
|
|
3
|
+
const a = {
|
|
4
|
+
breakpoints: p,
|
|
5
5
|
cursorType: "pointer",
|
|
6
6
|
components: {
|
|
7
|
-
Notification:
|
|
7
|
+
Notification: i.extend({
|
|
8
8
|
defaultProps: {
|
|
9
9
|
withBorder: !0
|
|
10
10
|
}
|
|
@@ -14,33 +14,27 @@ const d = {
|
|
|
14
14
|
padding: 0
|
|
15
15
|
}
|
|
16
16
|
}),
|
|
17
|
-
Select:
|
|
17
|
+
Select: o.extend({
|
|
18
18
|
defaultProps: {
|
|
19
19
|
allowDeselect: !1,
|
|
20
20
|
withCheckIcon: !1,
|
|
21
21
|
clearable: !0
|
|
22
22
|
}
|
|
23
23
|
}),
|
|
24
|
-
Menu:
|
|
24
|
+
Menu: t.extend({
|
|
25
25
|
defaultProps: {
|
|
26
26
|
position: "bottom-end"
|
|
27
27
|
}
|
|
28
28
|
}),
|
|
29
|
-
Tooltip:
|
|
29
|
+
Tooltip: e.extend({
|
|
30
30
|
defaultProps: {
|
|
31
31
|
multiline: !0,
|
|
32
32
|
w: 300
|
|
33
33
|
}
|
|
34
|
-
}),
|
|
35
|
-
// borrar en v8
|
|
36
|
-
Portal: e.extend({
|
|
37
|
-
defaultProps: {
|
|
38
|
-
reuseTargetNode: !0
|
|
39
|
-
}
|
|
40
34
|
})
|
|
41
35
|
}
|
|
42
36
|
};
|
|
43
37
|
export {
|
|
44
|
-
|
|
38
|
+
a as myDefaultTheme
|
|
45
39
|
};
|
|
46
40
|
//# sourceMappingURL=my-default-theme.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"my-default-theme.mjs","sources":["../../../src/mantine/my-default-theme.ts"],"sourcesContent":["import {\r\n AppShell,\r\n MantineTheme,\r\n Menu,\r\n Select,\r\n Tooltip,\r\n Notification,\r\n MantineThemeOverride,\r\n Portal,\r\n} from '@mantine/core';\r\nimport { breakpointsWithPx } from './breakpoints-with-px';\r\n\r\nexport const myDefaultTheme: MantineThemeOverride = {\r\n breakpoints: breakpointsWithPx,\r\n cursorType: 'pointer',\r\n components: {\r\n Notification: Notification.extend({\r\n defaultProps: {\r\n withBorder: true,\r\n },\r\n }),\r\n AppShell: AppShell.extend({\r\n defaultProps: {\r\n padding: 0,\r\n },\r\n }),\r\n Select: Select.extend({\r\n defaultProps: {\r\n allowDeselect: false,\r\n withCheckIcon: false,\r\n clearable: true,\r\n },\r\n }),\r\n Menu: Menu.extend({\r\n defaultProps: {\r\n position: 'bottom-end',\r\n },\r\n }),\r\n Tooltip: Tooltip.extend({\r\n defaultProps: {\r\n multiline: true,\r\n w: 300,\r\n },\r\n }),\r\n
|
|
1
|
+
{"version":3,"file":"my-default-theme.mjs","sources":["../../../src/mantine/my-default-theme.ts"],"sourcesContent":["import {\r\n AppShell,\r\n MantineTheme,\r\n Menu,\r\n Select,\r\n Tooltip,\r\n Notification,\r\n MantineThemeOverride,\r\n Portal,\r\n} from '@mantine/core';\r\nimport { breakpointsWithPx } from './breakpoints-with-px';\r\n\r\nexport const myDefaultTheme: MantineThemeOverride = {\r\n breakpoints: breakpointsWithPx,\r\n cursorType: 'pointer',\r\n components: {\r\n Notification: Notification.extend({\r\n defaultProps: {\r\n withBorder: true,\r\n },\r\n }),\r\n AppShell: AppShell.extend({\r\n defaultProps: {\r\n padding: 0,\r\n },\r\n }),\r\n Select: Select.extend({\r\n defaultProps: {\r\n allowDeselect: false,\r\n withCheckIcon: false,\r\n clearable: true,\r\n },\r\n }),\r\n Menu: Menu.extend({\r\n defaultProps: {\r\n position: 'bottom-end',\r\n },\r\n }),\r\n Tooltip: Tooltip.extend({\r\n defaultProps: {\r\n multiline: true,\r\n w: 300,\r\n },\r\n }),\r\n },\r\n};\r\n"],"names":["myDefaultTheme","breakpointsWithPx","Notification","AppShell","Select","Menu","Tooltip"],"mappings":";;AAYO,MAAMA,IAAuC;AAAA,EAClD,aAAaC;AAAA,EACb,YAAY;AAAA,EACZ,YAAY;AAAA,IACV,cAAcC,EAAa,OAAO;AAAA,MAChC,cAAc;AAAA,QACZ,YAAY;AAAA,MAAA;AAAA,IACd,CACD;AAAA,IACD,UAAUC,EAAS,OAAO;AAAA,MACxB,cAAc;AAAA,QACZ,SAAS;AAAA,MAAA;AAAA,IACX,CACD;AAAA,IACD,QAAQC,EAAO,OAAO;AAAA,MACpB,cAAc;AAAA,QACZ,eAAe;AAAA,QACf,eAAe;AAAA,QACf,WAAW;AAAA,MAAA;AAAA,IACb,CACD;AAAA,IACD,MAAMC,EAAK,OAAO;AAAA,MAChB,cAAc;AAAA,QACZ,UAAU;AAAA,MAAA;AAAA,IACZ,CACD;AAAA,IACD,SAASC,EAAQ,OAAO;AAAA,MACtB,cAAc;AAAA,QACZ,WAAW;AAAA,QACX,GAAG;AAAA,MAAA;AAAA,IAEN,CAAA;AAAA,EAAA;AAEL;"}
|