lkd-web-kit 0.2.1 → 0.2.3

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 CHANGED
@@ -28,6 +28,7 @@ import { MantineThemeColors } from '@mantine/core';
28
28
  import { MantineThemeOverride } from '@mantine/core';
29
29
  import { ModalProps } from '@mantine/core';
30
30
  import { MouseEvent as MouseEvent_2 } from 'react';
31
+ import { MultiSelectProps } from '@mantine/core';
31
32
  import { NormalizedOptions } from 'ky';
32
33
  import { NotificationsProps } from '@mantine/notifications';
33
34
  import { NumberInputProps } from '@mantine/core';
@@ -116,6 +117,10 @@ export declare type FormFieldProps<T = unknown> = Parameters<ControllerProps['re
116
117
  };
117
118
  };
118
119
 
120
+ export declare const FormMultiSelect: FC<MyMultiSelectProps & WithFormProps>;
121
+
122
+ export declare type FormMultiSelectProps = MyMultiSelectProps & WithFormProps;
123
+
119
124
  export declare const FormNumberInput: FC<MyNumberInputProps & WithFormProps>;
120
125
 
121
126
  export declare type FormNumberInputProps = MyNumberInputProps & WithFormProps;
@@ -282,6 +287,11 @@ export declare interface MyDateTimePickerProps extends DateTimePickerProps {
282
287
 
283
288
  export declare const myDefaultTheme: MantineThemeOverride;
284
289
 
290
+ export declare const MyMultiSelect: (props: MyMultiSelectProps) => JSX.Element;
291
+
292
+ export declare interface MyMultiSelectProps extends MultiSelectProps {
293
+ }
294
+
285
295
  export declare interface MyNotificationPrpos extends NotificationsProps {
286
296
  }
287
297
 
@@ -330,7 +340,7 @@ declare interface NavigationHistoryProviderProps {
330
340
  children: ReactNode;
331
341
  }
332
342
 
333
- export declare const NavItems: ({ items }: NavItemsProps) => JSX.Element;
343
+ export declare const NavItems: ({ items, activeStrategy }: NavItemsProps) => JSX.Element;
334
344
 
335
345
  export declare interface NavItemsProps {
336
346
  items: {
@@ -344,6 +354,7 @@ export declare interface NavItemsProps {
344
354
  href?: string;
345
355
  isActive?: boolean;
346
356
  }[];
357
+ activeStrategy?: 'equals' | 'includes';
347
358
  }
348
359
 
349
360
  export declare const newHref: <T extends TParams, S extends TSearchParams = TSearchParams>(fn: string | ((args: Args<T, S>) => string)) => (args?: Args<T, S>) => string;
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),l=require("@mantine/core"),i=e=>t.jsx(l.MultiSelect,{variant:e.readOnly?"filled":"default",...e});exports.MyMultiSelect=i;
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../src/components/MyMultiSelect/index.tsx"],"sourcesContent":["import { SelectProps, MultiSelect, MultiSelectProps } from '@mantine/core';\r\n\r\nexport interface MyMultiSelectProps extends MultiSelectProps {}\r\n\r\nexport const MyMultiSelect = (props: MyMultiSelectProps) => (\r\n <MultiSelect\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyMultiSelect","props","jsx","MultiSelect"],"mappings":"gJAIaA,EAAiBC,GAC5BC,EAAA,IAACC,EAAA,YAAA,CACC,QAASF,EAAM,SAAW,SAAW,UACpC,GAAGA,CAAA,CACN"}
@@ -0,0 +1,13 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { MultiSelect as l } from "@mantine/core";
3
+ const o = (t) => /* @__PURE__ */ e(
4
+ l,
5
+ {
6
+ variant: t.readOnly ? "filled" : "default",
7
+ ...t
8
+ }
9
+ );
10
+ export {
11
+ o as MyMultiSelect
12
+ };
13
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../src/components/MyMultiSelect/index.tsx"],"sourcesContent":["import { SelectProps, MultiSelect, MultiSelectProps } from '@mantine/core';\r\n\r\nexport interface MyMultiSelectProps extends MultiSelectProps {}\r\n\r\nexport const MyMultiSelect = (props: MyMultiSelectProps) => (\r\n <MultiSelect\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyMultiSelect","props","jsx","MultiSelect"],"mappings":";;AAIa,MAAAA,IAAgB,CAACC,MAC5B,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,SAASF,EAAM,WAAW,WAAW;AAAA,IACpC,GAAGA;AAAA,EAAA;AACN;"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),c=require("@mantine/core"),r=require("next/link"),i=require("next/navigation"),l=e=>e&&e.__esModule?e:{default:e},m=l(r),d=({items:e})=>{const o=i.usePathname();return a.jsx(c.Stack,{gap:0,children:e.map(({href:n,isActive:u,...t})=>{if(n){const s=u??n.includes(o);return a.jsx(c.NavLink,{active:s,component:m.default,prefetch:!1,href:n,...t},t.label)}return a.jsx(c.NavLink,{active:u,component:"button",...t},t.label)})})};exports.NavItems=d;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),u=require("@mantine/core"),i=require("next/link"),r=require("next/navigation"),d=e=>e&&e.__esModule?e:{default:e},m=d(i),b=({items:e,activeStrategy:o="includes"})=>{const c=r.usePathname();return a.jsx(u.Stack,{gap:0,children:e.map(({href:t,isActive:s,...n})=>{if(t){const l=s??(o==="equals"?t===c:t.includes(c));return a.jsx(u.NavLink,{active:l,component:m.default,prefetch:!1,href:t,...n},n.label)}return a.jsx(u.NavLink,{active:s,component:"button",...n},n.label)})})};exports.NavItems=b;
2
2
  //# sourceMappingURL=NavItems.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavItems.cjs","sources":["../../../src/components/NavItems.tsx"],"sourcesContent":["'use client';\r\nimport { NavLink, Stack } from '@mantine/core';\r\nimport Link from 'next/link';\r\nimport { usePathname } from 'next/navigation';\r\nimport { MouseEvent, ReactNode } from 'react';\r\n\r\nexport interface NavItemsProps {\r\n items: {\r\n leftSection?: ReactNode;\r\n rightSection?: ReactNode;\r\n onClick?: (e: MouseEvent<Element>) => void;\r\n disabled?: boolean;\r\n className?: string;\r\n children?: ReactNode;\r\n label: string;\r\n\r\n // custom props\r\n href?: string;\r\n isActive?: boolean;\r\n }[];\r\n}\r\n\r\nexport const NavItems = ({ items }: NavItemsProps) => {\r\n const pathname = usePathname();\r\n\r\n return (\r\n <Stack gap={0}>\r\n {items.map(({ href, isActive, ...navLinkProps }) => {\r\n if (href) {\r\n const active = isActive ?? href.includes(pathname);\r\n return (\r\n <NavLink\r\n active={active}\r\n key={navLinkProps.label}\r\n component={Link}\r\n prefetch={false}\r\n href={href}\r\n {...navLinkProps}\r\n />\r\n );\r\n }\r\n\r\n return (\r\n <NavLink\r\n key={navLinkProps.label}\r\n active={isActive}\r\n component=\"button\"\r\n {...navLinkProps}\r\n />\r\n );\r\n })}\r\n </Stack>\r\n );\r\n};\r\n"],"names":["NavItems","items","pathname","usePathname","jsx","Stack","href","isActive","navLinkProps","active","NavLink","Link"],"mappings":"2PAsBaA,EAAW,CAAC,CAAE,MAAAC,KAA2B,CACpD,MAAMC,EAAWC,EAAAA,YAAY,EAE7B,OACGC,EAAA,IAAAC,EAAA,MAAA,CAAM,IAAK,EACT,SAAMJ,EAAA,IAAI,CAAC,CAAE,KAAAK,EAAM,SAAAC,EAAU,GAAGC,CAAA,IAAmB,CAClD,GAAIF,EAAM,CACR,MAAMG,EAASF,GAAYD,EAAK,SAASJ,CAAQ,EAE/C,OAAAE,EAAA,IAACM,EAAA,QAAA,CACC,OAAAD,EAEA,UAAWE,EAAA,QACX,SAAU,GACV,KAAAL,EACC,GAAGE,CAAA,EAJCA,EAAa,KAKpB,CAAA,CAKF,OAAAJ,EAAA,IAACM,EAAA,QAAA,CAEC,OAAQH,EACR,UAAU,SACT,GAAGC,CAAA,EAHCA,EAAa,KAIpB,CAEH,CAAA,EACH,CAEJ"}
1
+ {"version":3,"file":"NavItems.cjs","sources":["../../../src/components/NavItems.tsx"],"sourcesContent":["'use client';\r\nimport { NavLink, Stack } from '@mantine/core';\r\nimport Link from 'next/link';\r\nimport { usePathname } from 'next/navigation';\r\nimport path from 'path';\r\nimport { MouseEvent, ReactNode } from 'react';\r\n\r\nexport interface NavItemsProps {\r\n items: {\r\n leftSection?: ReactNode;\r\n rightSection?: ReactNode;\r\n onClick?: (e: MouseEvent<Element>) => void;\r\n disabled?: boolean;\r\n className?: string;\r\n children?: ReactNode;\r\n label: string;\r\n\r\n // custom props\r\n href?: string;\r\n isActive?: boolean;\r\n }[];\r\n activeStrategy?: 'equals' | 'includes';\r\n}\r\n\r\nexport const NavItems = ({ items, activeStrategy = 'includes' }: NavItemsProps) => {\r\n const pathname = usePathname();\r\n\r\n return (\r\n <Stack gap={0}>\r\n {items.map(({ href, isActive, ...navLinkProps }) => {\r\n if (href) {\r\n const active =\r\n isActive ?? (activeStrategy === 'equals' ? href === pathname : href.includes(pathname));\r\n return (\r\n <NavLink\r\n active={active}\r\n key={navLinkProps.label}\r\n component={Link}\r\n prefetch={false}\r\n href={href}\r\n {...navLinkProps}\r\n />\r\n );\r\n }\r\n\r\n return (\r\n <NavLink\r\n key={navLinkProps.label}\r\n active={isActive}\r\n component=\"button\"\r\n {...navLinkProps}\r\n />\r\n );\r\n })}\r\n </Stack>\r\n );\r\n};\r\n"],"names":["NavItems","items","activeStrategy","pathname","usePathname","jsx","Stack","href","isActive","navLinkProps","active","NavLink","Link"],"mappings":"2PAwBaA,EAAW,CAAC,CAAE,MAAAC,EAAO,eAAAC,EAAiB,cAAgC,CACjF,MAAMC,EAAWC,EAAAA,YAAY,EAE7B,OACGC,EAAA,IAAAC,EAAA,MAAA,CAAM,IAAK,EACT,SAAML,EAAA,IAAI,CAAC,CAAE,KAAAM,EAAM,SAAAC,EAAU,GAAGC,CAAA,IAAmB,CAClD,GAAIF,EAAM,CACF,MAAAG,EACJF,IAAaN,IAAmB,SAAWK,IAASJ,EAAWI,EAAK,SAASJ,CAAQ,GAErF,OAAAE,EAAA,IAACM,EAAA,QAAA,CACC,OAAAD,EAEA,UAAWE,EAAA,QACX,SAAU,GACV,KAAAL,EACC,GAAGE,CAAA,EAJCA,EAAa,KAKpB,CAAA,CAKF,OAAAJ,EAAA,IAACM,EAAA,QAAA,CAEC,OAAQH,EACR,UAAU,SACT,GAAGC,CAAA,EAHCA,EAAa,KAIpB,CAEH,CAAA,EACH,CAEJ"}
@@ -1,37 +1,37 @@
1
1
  "use client";
2
2
  import { jsx as m } from "react/jsx-runtime";
3
- import { Stack as l, NavLink as n } from "@mantine/core";
4
- import p from "next/link";
5
- import { usePathname as i } from "next/navigation";
6
- const d = ({ items: r }) => {
7
- const a = i();
8
- return /* @__PURE__ */ m(l, { gap: 0, children: r.map(({ href: e, isActive: o, ...t }) => {
9
- if (e) {
10
- const c = o ?? e.includes(a);
3
+ import { Stack as u, NavLink as a } from "@mantine/core";
4
+ import i from "next/link";
5
+ import { usePathname as p } from "next/navigation";
6
+ const x = ({ items: c, activeStrategy: r = "includes" }) => {
7
+ const o = p();
8
+ return /* @__PURE__ */ m(u, { gap: 0, children: c.map(({ href: t, isActive: n, ...e }) => {
9
+ if (t) {
10
+ const l = n ?? (r === "equals" ? t === o : t.includes(o));
11
11
  return /* @__PURE__ */ m(
12
- n,
12
+ a,
13
13
  {
14
- active: c,
15
- component: p,
14
+ active: l,
15
+ component: i,
16
16
  prefetch: !1,
17
- href: e,
18
- ...t
17
+ href: t,
18
+ ...e
19
19
  },
20
- t.label
20
+ e.label
21
21
  );
22
22
  }
23
23
  return /* @__PURE__ */ m(
24
- n,
24
+ a,
25
25
  {
26
- active: o,
26
+ active: n,
27
27
  component: "button",
28
- ...t
28
+ ...e
29
29
  },
30
- t.label
30
+ e.label
31
31
  );
32
32
  }) });
33
33
  };
34
34
  export {
35
- d as NavItems
35
+ x as NavItems
36
36
  };
37
37
  //# sourceMappingURL=NavItems.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavItems.mjs","sources":["../../../src/components/NavItems.tsx"],"sourcesContent":["'use client';\r\nimport { NavLink, Stack } from '@mantine/core';\r\nimport Link from 'next/link';\r\nimport { usePathname } from 'next/navigation';\r\nimport { MouseEvent, ReactNode } from 'react';\r\n\r\nexport interface NavItemsProps {\r\n items: {\r\n leftSection?: ReactNode;\r\n rightSection?: ReactNode;\r\n onClick?: (e: MouseEvent<Element>) => void;\r\n disabled?: boolean;\r\n className?: string;\r\n children?: ReactNode;\r\n label: string;\r\n\r\n // custom props\r\n href?: string;\r\n isActive?: boolean;\r\n }[];\r\n}\r\n\r\nexport const NavItems = ({ items }: NavItemsProps) => {\r\n const pathname = usePathname();\r\n\r\n return (\r\n <Stack gap={0}>\r\n {items.map(({ href, isActive, ...navLinkProps }) => {\r\n if (href) {\r\n const active = isActive ?? href.includes(pathname);\r\n return (\r\n <NavLink\r\n active={active}\r\n key={navLinkProps.label}\r\n component={Link}\r\n prefetch={false}\r\n href={href}\r\n {...navLinkProps}\r\n />\r\n );\r\n }\r\n\r\n return (\r\n <NavLink\r\n key={navLinkProps.label}\r\n active={isActive}\r\n component=\"button\"\r\n {...navLinkProps}\r\n />\r\n );\r\n })}\r\n </Stack>\r\n );\r\n};\r\n"],"names":["NavItems","items","pathname","usePathname","jsx","Stack","href","isActive","navLinkProps","active","NavLink","Link"],"mappings":";;;;;AAsBO,MAAMA,IAAW,CAAC,EAAE,OAAAC,QAA2B;AACpD,QAAMC,IAAWC,EAAY;AAE7B,SACG,gBAAAC,EAAAC,GAAA,EAAM,KAAK,GACT,UAAMJ,EAAA,IAAI,CAAC,EAAE,MAAAK,GAAM,UAAAC,GAAU,GAAGC,EAAA,MAAmB;AAClD,QAAIF,GAAM;AACR,YAAMG,IAASF,KAAYD,EAAK,SAASJ,CAAQ;AAE/C,aAAA,gBAAAE;AAAA,QAACM;AAAA,QAAA;AAAA,UACC,QAAAD;AAAA,UAEA,WAAWE;AAAA,UACX,UAAU;AAAA,UACV,MAAAL;AAAA,UACC,GAAGE;AAAA,QAAA;AAAA,QAJCA,EAAa;AAAA,MAKpB;AAAA,IAAA;AAKF,WAAA,gBAAAJ;AAAA,MAACM;AAAA,MAAA;AAAA,QAEC,QAAQH;AAAA,QACR,WAAU;AAAA,QACT,GAAGC;AAAA,MAAA;AAAA,MAHCA,EAAa;AAAA,IAIpB;AAAA,EAEH,CAAA,GACH;AAEJ;"}
1
+ {"version":3,"file":"NavItems.mjs","sources":["../../../src/components/NavItems.tsx"],"sourcesContent":["'use client';\r\nimport { NavLink, Stack } from '@mantine/core';\r\nimport Link from 'next/link';\r\nimport { usePathname } from 'next/navigation';\r\nimport path from 'path';\r\nimport { MouseEvent, ReactNode } from 'react';\r\n\r\nexport interface NavItemsProps {\r\n items: {\r\n leftSection?: ReactNode;\r\n rightSection?: ReactNode;\r\n onClick?: (e: MouseEvent<Element>) => void;\r\n disabled?: boolean;\r\n className?: string;\r\n children?: ReactNode;\r\n label: string;\r\n\r\n // custom props\r\n href?: string;\r\n isActive?: boolean;\r\n }[];\r\n activeStrategy?: 'equals' | 'includes';\r\n}\r\n\r\nexport const NavItems = ({ items, activeStrategy = 'includes' }: NavItemsProps) => {\r\n const pathname = usePathname();\r\n\r\n return (\r\n <Stack gap={0}>\r\n {items.map(({ href, isActive, ...navLinkProps }) => {\r\n if (href) {\r\n const active =\r\n isActive ?? (activeStrategy === 'equals' ? href === pathname : href.includes(pathname));\r\n return (\r\n <NavLink\r\n active={active}\r\n key={navLinkProps.label}\r\n component={Link}\r\n prefetch={false}\r\n href={href}\r\n {...navLinkProps}\r\n />\r\n );\r\n }\r\n\r\n return (\r\n <NavLink\r\n key={navLinkProps.label}\r\n active={isActive}\r\n component=\"button\"\r\n {...navLinkProps}\r\n />\r\n );\r\n })}\r\n </Stack>\r\n );\r\n};\r\n"],"names":["NavItems","items","activeStrategy","pathname","usePathname","jsx","Stack","href","isActive","navLinkProps","active","NavLink","Link"],"mappings":";;;;;AAwBO,MAAMA,IAAW,CAAC,EAAE,OAAAC,GAAO,gBAAAC,IAAiB,iBAAgC;AACjF,QAAMC,IAAWC,EAAY;AAE7B,SACG,gBAAAC,EAAAC,GAAA,EAAM,KAAK,GACT,UAAML,EAAA,IAAI,CAAC,EAAE,MAAAM,GAAM,UAAAC,GAAU,GAAGC,EAAA,MAAmB;AAClD,QAAIF,GAAM;AACF,YAAAG,IACJF,MAAaN,MAAmB,WAAWK,MAASJ,IAAWI,EAAK,SAASJ,CAAQ;AAErF,aAAA,gBAAAE;AAAA,QAACM;AAAA,QAAA;AAAA,UACC,QAAAD;AAAA,UAEA,WAAWE;AAAA,UACX,UAAU;AAAA,UACV,MAAAL;AAAA,UACC,GAAGE;AAAA,QAAA;AAAA,QAJCA,EAAa;AAAA,MAKpB;AAAA,IAAA;AAKF,WAAA,gBAAAJ;AAAA,MAACM;AAAA,MAAA;AAAA,QAEC,QAAQH;AAAA,QACR,WAAU;AAAA,QACT,GAAGC;AAAA,MAAA;AAAA,MAHCA,EAAa;AAAA,IAIpB;AAAA,EAEH,CAAA,GACH;AAEJ;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),i=require("../../components/MyMultiSelect/index.cjs"),o=require("../../hocs/withForm.cjs"),u=o.withForm(({field:e,props:t})=>r.jsx(i.MyMultiSelect,{...e,...t}));exports.FormMultiSelect=u;
2
+ //# sourceMappingURL=FormMultiSelect.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormMultiSelect.cjs","sources":["../../../../src/form/base/FormMultiSelect.tsx"],"sourcesContent":["import { MultiSelect, MultiSelectProps } from '@mantine/core';\r\nimport { MyMultiSelect, MyMultiSelectProps } from 'src/components';\r\nimport { WithFormProps, withForm } from 'src/hocs';\r\n\r\nexport type FormMultiSelectProps = MyMultiSelectProps & WithFormProps;\r\n\r\nexport const FormMultiSelect = withForm<FormMultiSelectProps>(({ field, props }) => (\r\n <MyMultiSelect\r\n {...field}\r\n {...props}\r\n />\r\n));\r\n"],"names":["FormMultiSelect","withForm","field","props","jsx","MyMultiSelect"],"mappings":"gNAMaA,EAAkBC,EAAAA,SAA+B,CAAC,CAAE,MAAAC,EAAO,MAAAC,CACtE,IAAAC,EAAA,IAACC,EAAA,cAAA,CACE,GAAGH,EACH,GAAGC,CAAA,CACN,CACD"}
@@ -0,0 +1,14 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { MyMultiSelect as m } from "../../components/MyMultiSelect/index.mjs";
3
+ import { withForm as i } from "../../hocs/withForm.mjs";
4
+ const c = i(({ field: o, props: t }) => /* @__PURE__ */ r(
5
+ m,
6
+ {
7
+ ...o,
8
+ ...t
9
+ }
10
+ ));
11
+ export {
12
+ c as FormMultiSelect
13
+ };
14
+ //# sourceMappingURL=FormMultiSelect.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormMultiSelect.mjs","sources":["../../../../src/form/base/FormMultiSelect.tsx"],"sourcesContent":["import { MultiSelect, MultiSelectProps } from '@mantine/core';\r\nimport { MyMultiSelect, MyMultiSelectProps } from 'src/components';\r\nimport { WithFormProps, withForm } from 'src/hocs';\r\n\r\nexport type FormMultiSelectProps = MyMultiSelectProps & WithFormProps;\r\n\r\nexport const FormMultiSelect = withForm<FormMultiSelectProps>(({ field, props }) => (\r\n <MyMultiSelect\r\n {...field}\r\n {...props}\r\n />\r\n));\r\n"],"names":["FormMultiSelect","withForm","field","props","jsx","MyMultiSelect"],"mappings":";;;AAMO,MAAMA,IAAkBC,EAA+B,CAAC,EAAE,OAAAC,GAAO,OAAAC,EACtE,MAAA,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACE,GAAGH;AAAA,IACH,GAAGC;AAAA,EAAA;AACN,CACD;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FormSelect.cjs","sources":["../../../../src/form/base/FormSelect.tsx"],"sourcesContent":["import { MySelectProps, MySelect } from 'src/components';\r\nimport { WithFormProps, withForm } from 'src/hocs';\r\n\r\nexport type FormSelectProps = MySelectProps & WithFormProps;\r\n\r\nexport const FormSelect = withForm<FormSelectProps>(({ field, props }) => (\r\n <MySelect\r\n {...field}\r\n {...props}\r\n />\r\n));\r\n"],"names":["FormSelect","withForm","field","props","jsx","MySelect"],"mappings":"2MAKaA,EAAaC,EAAAA,SAA0B,CAAC,CAAE,MAAAC,EAAO,MAAAC,CAC5D,IAAAC,EAAA,IAACC,EAAA,SAAA,CACE,GAAGH,EACH,GAAGC,CAAA,CACN,CACD"}
1
+ {"version":3,"file":"FormSelect.cjs","sources":["../../../../src/form/base/FormSelect.tsx"],"sourcesContent":["import { MySelectProps, MyMultiSelect, MySelect } from 'src/components';\r\nimport { WithFormProps, withForm } from 'src/hocs';\r\n\r\nexport type FormSelectProps = MySelectProps & WithFormProps;\r\n\r\nexport const FormSelect = withForm<FormSelectProps>(({ field, props }) => (\r\n <MySelect\r\n {...field}\r\n {...props}\r\n />\r\n));\r\n"],"names":["FormSelect","withForm","field","props","jsx","MySelect"],"mappings":"2MAKaA,EAAaC,EAAAA,SAA0B,CAAC,CAAE,MAAAC,EAAO,MAAAC,CAC5D,IAAAC,EAAA,IAACC,EAAA,SAAA,CACE,GAAGH,EACH,GAAGC,CAAA,CACN,CACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"FormSelect.mjs","sources":["../../../../src/form/base/FormSelect.tsx"],"sourcesContent":["import { MySelectProps, MySelect } from 'src/components';\r\nimport { WithFormProps, withForm } from 'src/hocs';\r\n\r\nexport type FormSelectProps = MySelectProps & WithFormProps;\r\n\r\nexport const FormSelect = withForm<FormSelectProps>(({ field, props }) => (\r\n <MySelect\r\n {...field}\r\n {...props}\r\n />\r\n));\r\n"],"names":["FormSelect","withForm","field","props","jsx","MySelect"],"mappings":";;;AAKO,MAAMA,IAAaC,EAA0B,CAAC,EAAE,OAAAC,GAAO,OAAAC,EAC5D,MAAA,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACE,GAAGH;AAAA,IACH,GAAGC;AAAA,EAAA;AACN,CACD;"}
1
+ {"version":3,"file":"FormSelect.mjs","sources":["../../../../src/form/base/FormSelect.tsx"],"sourcesContent":["import { MySelectProps, MyMultiSelect, MySelect } from 'src/components';\r\nimport { WithFormProps, withForm } from 'src/hocs';\r\n\r\nexport type FormSelectProps = MySelectProps & WithFormProps;\r\n\r\nexport const FormSelect = withForm<FormSelectProps>(({ field, props }) => (\r\n <MySelect\r\n {...field}\r\n {...props}\r\n />\r\n));\r\n"],"names":["FormSelect","withForm","field","props","jsx","MySelect"],"mappings":";;;AAKO,MAAMA,IAAaC,EAA0B,CAAC,EAAE,OAAAC,GAAO,OAAAC,EAC5D,MAAA,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACE,GAAGH;AAAA,IACH,GAAGC;AAAA,EAAA;AACN,CACD;"}
@@ -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"),d=require("./components/MyNotifications/index.cjs"),l=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"),x=require("./consts/http-status.cjs"),P=require("./consts/revalidate.cjs"),e=require("./contexts/NavigationHistoryContext/index.cjs"),t=require("./contexts/PageDataContext/index.cjs"),T=require("./form/Form.cjs"),S=require("./form/FormButtonSubmit.cjs"),f=require("./form/utils/zodValidator.cjs"),h=require("./form/utils/nullable-but-required.cjs"),B=require("./form/utils/optional-but-required.cjs"),M=require("./form/base/FormCheckbox.cjs"),b=require("./form/base/FormDatePickerInput.cjs"),N=require("./form/base/FormDateTimePicker.cjs"),g=require("./form/base/FormNumberInput.cjs"),k=require("./form/base/FormRadioGroup.cjs"),D=require("./form/base/FormSelect.cjs"),v=require("./form/base/FormSelectInfinity.cjs"),R=require("./form/base/FormTextarea.cjs"),w=require("./form/base/FormTextInput.cjs"),r=require("./form/base/FormTimeInput.cjs"),H=require("./hocs/withForm.cjs"),$=require("./hocs/withModalManager.cjs"),E=require("./hooks/useBreakpoint.cjs"),O=require("./hooks/useFetchNextPageOnScroll.cjs"),C=require("./hooks/useOnScrollProgress.cjs"),A=require("./hooks/useUpdateSearchParams.cjs"),J=require("./mantine/breakpoints-with-px.cjs"),_=require("./mantine/to-tailwind-colors.cjs"),U=require("./mantine/my-default-theme.cjs"),K=require("./utils/formatBytes.cjs"),o=require("./utils/ky/addBodyJsonHook.cjs"),L=require("./utils/ky/parseJson.cjs"),i=require("./utils/array/groupBy.cjs"),z=require("./utils/array/shuffleArray.cjs"),G=require("./utils/newHref.cjs"),V=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=d.MyNotifications;exports.MyNumberInput=l.MyNumberInput;exports.MySelect=y.MySelect;exports.MyTextarea=p.MyTextarea;exports.MyTextInput=q.MyTextInput;exports.MyTimeInput=F.MyTimeInput;exports.SelectInfinity=I.SelectInfinity;exports.HttpStatus=x.HttpStatus;exports.Revalidate=P.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=S.FormButtonSubmit;exports.zodValidator=f.zodValidator;exports.nullableButRequired=h.nullableButRequired;exports.optionalButRequired=B.optionalButRequired;exports.FormCheckbox=M.FormCheckbox;exports.FormDatePickerInput=b.FormDatePickerInput;exports.FormDateTimePicker=N.FormDateTimePicker;exports.FormNumberInput=g.FormNumberInput;exports.FormRadioGroup=k.FormRadioGroup;exports.FormSelect=D.FormSelect;exports.FormSelectInfinity=v.FormSelectInfinity;exports.FormTextarea=R.FormTextarea;exports.FormTextInput=w.FormTextInput;exports.FormTimeInput=r.FormTimeInput;exports.numberToTimeInput=r.numberToTimeInput;exports.timeInputToNumber=r.timeInputToNumber;exports.withForm=H.withForm;exports.withModalManager=$.withModalManager;exports.useBreakpoint=E.useBreakpoint;exports.useFetchNextPageOnScroll=O.useFetchNextPageOnScroll;exports.useOnScrollProgress=C.useOnScrollProgress;exports.useUpdateSearchParams=A.useUpdateSearchParams;exports.breakpointsWithPx=J.breakpointsWithPx;exports.toTailwindColors=_.toTailwindColors;exports.myDefaultTheme=U.myDefaultTheme;exports.formatBytes=K.formatBytes;exports.KyError=o.KyError;exports.addBodyJsonHook=o.addBodyJsonHook;exports.parseJSON=L.parseJSON;exports.groupBy=i.groupBy;exports.indexBy=i.indexBy;exports.shuffleArray=z.shuffleArray;exports.newHref=G.newHref;exports.isInfinityEmpty=V.isInfinityEmpty;
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"),q=require("./components/MyTextarea/index.cjs"),p=require("./components/MyTextInput/index.cjs"),F=require("./components/MyTimeInput/index.cjs"),I=require("./components/SelectInfinity/index.cjs"),S=require("./components/MyMultiSelect/index.cjs"),x=require("./consts/http-status.cjs"),P=require("./consts/revalidate.cjs"),e=require("./contexts/NavigationHistoryContext/index.cjs"),t=require("./contexts/PageDataContext/index.cjs"),T=require("./form/Form.cjs"),M=require("./form/FormButtonSubmit.cjs"),f=require("./form/utils/zodValidator.cjs"),h=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"),k=require("./form/base/FormNumberInput.cjs"),D=require("./form/base/FormRadioGroup.cjs"),v=require("./form/base/FormSelect.cjs"),R=require("./form/base/FormSelectInfinity.cjs"),$=require("./form/base/FormTextarea.cjs"),w=require("./form/base/FormTextInput.cjs"),r=require("./form/base/FormTimeInput.cjs"),H=require("./form/base/FormMultiSelect.cjs"),E=require("./hocs/withForm.cjs"),O=require("./hocs/withModalManager.cjs"),C=require("./hooks/useBreakpoint.cjs"),A=require("./hooks/useFetchNextPageOnScroll.cjs"),J=require("./hooks/useOnScrollProgress.cjs"),_=require("./hooks/useUpdateSearchParams.cjs"),U=require("./mantine/breakpoints-with-px.cjs"),K=require("./mantine/to-tailwind-colors.cjs"),L=require("./mantine/my-default-theme.cjs"),z=require("./utils/formatBytes.cjs"),o=require("./utils/ky/addBodyJsonHook.cjs"),G=require("./utils/ky/parseJson.cjs"),i=require("./utils/array/groupBy.cjs"),V=require("./utils/array/shuffleArray.cjs"),W=require("./utils/newHref.cjs"),Q=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=q.MyTextarea;exports.MyTextInput=p.MyTextInput;exports.MyTimeInput=F.MyTimeInput;exports.SelectInfinity=I.SelectInfinity;exports.MyMultiSelect=S.MyMultiSelect;exports.HttpStatus=x.HttpStatus;exports.Revalidate=P.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=M.FormButtonSubmit;exports.zodValidator=f.zodValidator;exports.nullableButRequired=h.nullableButRequired;exports.optionalButRequired=B.optionalButRequired;exports.FormCheckbox=b.FormCheckbox;exports.FormDatePickerInput=N.FormDatePickerInput;exports.FormDateTimePicker=g.FormDateTimePicker;exports.FormNumberInput=k.FormNumberInput;exports.FormRadioGroup=D.FormRadioGroup;exports.FormSelect=v.FormSelect;exports.FormSelectInfinity=R.FormSelectInfinity;exports.FormTextarea=$.FormTextarea;exports.FormTextInput=w.FormTextInput;exports.FormTimeInput=r.FormTimeInput;exports.numberToTimeInput=r.numberToTimeInput;exports.timeInputToNumber=r.timeInputToNumber;exports.FormMultiSelect=H.FormMultiSelect;exports.withForm=E.withForm;exports.withModalManager=O.withModalManager;exports.useBreakpoint=C.useBreakpoint;exports.useFetchNextPageOnScroll=A.useFetchNextPageOnScroll;exports.useOnScrollProgress=J.useOnScrollProgress;exports.useUpdateSearchParams=_.useUpdateSearchParams;exports.breakpointsWithPx=U.breakpointsWithPx;exports.toTailwindColors=K.toTailwindColors;exports.myDefaultTheme=L.myDefaultTheme;exports.formatBytes=z.formatBytes;exports.KyError=o.KyError;exports.addBodyJsonHook=o.addBodyJsonHook;exports.parseJSON=G.parseJSON;exports.groupBy=i.groupBy;exports.indexBy=i.indexBy;exports.shuffleArray=V.shuffleArray;exports.newHref=W.newHref;exports.isInfinityEmpty=Q.isInfinityEmpty;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,106 +1,110 @@
1
1
  import { EmptyState as e } from "./components/EmptyState/index.mjs";
2
2
  import { InfinityLoader as m } from "./components/InfinityLoader/index.mjs";
3
3
  import { NavItems as f } from "./components/NavItems.mjs";
4
- import { Icon as a } from "./components/Icon.mjs";
4
+ 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
- import { MyNotifications as l } from "./components/MyNotifications/index.mjs";
8
- import { MyNumberInput as I } from "./components/MyNumberInput/index.mjs";
7
+ import { MyNotifications as s } from "./components/MyNotifications/index.mjs";
8
+ import { MyNumberInput as d } from "./components/MyNumberInput/index.mjs";
9
9
  import { MySelect as F } from "./components/MySelect/index.mjs";
10
- import { MyTextarea as T } from "./components/MyTextarea/index.mjs";
11
- import { MyTextInput as S } from "./components/MyTextInput/index.mjs";
10
+ import { MyTextarea as P } from "./components/MyTextarea/index.mjs";
11
+ import { MyTextInput as T } from "./components/MyTextInput/index.mjs";
12
12
  import { MyTimeInput as B } from "./components/MyTimeInput/index.mjs";
13
13
  import { SelectInfinity as g } from "./components/SelectInfinity/index.mjs";
14
- import { HttpStatus as k } from "./consts/http-status.mjs";
15
- import { Revalidate as v } from "./consts/revalidate.mjs";
16
- import { NavigationHistoryProvider as R, QP_BACK_URL_NAME as w, useNavigationHistory as E } from "./contexts/NavigationHistoryContext/index.mjs";
17
- import { PageDataProvider as C, usePageData as O } from "./contexts/PageDataContext/index.mjs";
18
- import { Form as q } from "./form/Form.mjs";
19
- import { FormButtonSubmit as K } from "./form/FormButtonSubmit.mjs";
20
- import { zodValidator as U } from "./form/utils/zodValidator.mjs";
21
- import { nullableButRequired as G } from "./form/utils/nullable-but-required.mjs";
22
- import { optionalButRequired as V } from "./form/utils/optional-but-required.mjs";
23
- import { FormCheckbox as j } from "./form/base/FormCheckbox.mjs";
24
- import { FormDatePickerInput as Y } from "./form/base/FormDatePickerInput.mjs";
25
- import { FormDateTimePicker as $ } from "./form/base/FormDateTimePicker.mjs";
26
- import { FormNumberInput as or } from "./form/base/FormNumberInput.mjs";
27
- import { FormRadioGroup as tr } from "./form/base/FormRadioGroup.mjs";
28
- import { FormSelect as pr } from "./form/base/FormSelect.mjs";
29
- import { FormSelectInfinity as xr } from "./form/base/FormSelectInfinity.mjs";
30
- import { FormTextarea as ir } from "./form/base/FormTextarea.mjs";
31
- import { FormTextInput as ur } from "./form/base/FormTextInput.mjs";
32
- import { FormTimeInput as sr, numberToTimeInput as lr, timeInputToNumber as dr } from "./form/base/FormTimeInput.mjs";
33
- import { withForm as cr } from "./hocs/withForm.mjs";
34
- import { withModalManager as Pr } from "./hocs/withModalManager.mjs";
35
- import { useBreakpoint as Mr } from "./hooks/useBreakpoint.mjs";
36
- import { useFetchNextPageOnScroll as Nr } from "./hooks/useFetchNextPageOnScroll.mjs";
37
- import { useOnScrollProgress as br } from "./hooks/useOnScrollProgress.mjs";
38
- import { useUpdateSearchParams as hr } from "./hooks/useUpdateSearchParams.mjs";
39
- import { breakpointsWithPx as Dr } from "./mantine/breakpoints-with-px.mjs";
40
- import { toTailwindColors as Hr } from "./mantine/to-tailwind-colors.mjs";
41
- import { myDefaultTheme as wr } from "./mantine/my-default-theme.mjs";
42
- import { formatBytes as Ar } from "./utils/formatBytes.mjs";
43
- import { KyError as Or, addBodyJsonHook as _r } from "./utils/ky/addBodyJsonHook.mjs";
44
- import { parseJSON as Jr } from "./utils/ky/parseJson.mjs";
45
- import { groupBy as Lr, indexBy as Ur } from "./utils/array/groupBy.mjs";
46
- import { shuffleArray as Gr } from "./utils/array/shuffleArray.mjs";
47
- import { newHref as Vr } from "./utils/newHref.mjs";
48
- import { isInfinityEmpty as jr } from "./utils/isInfinityEmpty.mjs";
14
+ import { MyMultiSelect as k } from "./components/MyMultiSelect/index.mjs";
15
+ import { HttpStatus as v } from "./consts/http-status.mjs";
16
+ import { Revalidate as R } from "./consts/revalidate.mjs";
17
+ import { NavigationHistoryProvider as E, QP_BACK_URL_NAME as A, useNavigationHistory as C } from "./contexts/NavigationHistoryContext/index.mjs";
18
+ import { PageDataProvider as _, usePageData as q } from "./contexts/PageDataContext/index.mjs";
19
+ import { Form as K } from "./form/Form.mjs";
20
+ import { FormButtonSubmit as U } from "./form/FormButtonSubmit.mjs";
21
+ import { zodValidator as G } from "./form/utils/zodValidator.mjs";
22
+ import { nullableButRequired as V } from "./form/utils/nullable-but-required.mjs";
23
+ import { optionalButRequired as j } from "./form/utils/optional-but-required.mjs";
24
+ import { FormCheckbox as Y } from "./form/base/FormCheckbox.mjs";
25
+ import { FormDatePickerInput as $ } from "./form/base/FormDatePickerInput.mjs";
26
+ import { FormDateTimePicker as or } from "./form/base/FormDateTimePicker.mjs";
27
+ import { FormNumberInput as tr } from "./form/base/FormNumberInput.mjs";
28
+ import { FormRadioGroup as pr } from "./form/base/FormRadioGroup.mjs";
29
+ import { FormSelect as xr } from "./form/base/FormSelect.mjs";
30
+ import { FormSelectInfinity as ar } from "./form/base/FormSelectInfinity.mjs";
31
+ import { FormTextarea as ur } from "./form/base/FormTextarea.mjs";
32
+ import { FormTextInput as lr } from "./form/base/FormTextInput.mjs";
33
+ import { FormTimeInput as cr, numberToTimeInput as dr, timeInputToNumber as Ir } from "./form/base/FormTimeInput.mjs";
34
+ import { FormMultiSelect as Mr } from "./form/base/FormMultiSelect.mjs";
35
+ import { withForm as Sr } from "./hocs/withForm.mjs";
36
+ import { withModalManager as Nr } from "./hocs/withModalManager.mjs";
37
+ import { useBreakpoint as br } from "./hooks/useBreakpoint.mjs";
38
+ import { useFetchNextPageOnScroll as hr } from "./hooks/useFetchNextPageOnScroll.mjs";
39
+ import { useOnScrollProgress as Dr } from "./hooks/useOnScrollProgress.mjs";
40
+ import { useUpdateSearchParams as Hr } from "./hooks/useUpdateSearchParams.mjs";
41
+ import { breakpointsWithPx as wr } from "./mantine/breakpoints-with-px.mjs";
42
+ import { toTailwindColors as Ar } from "./mantine/to-tailwind-colors.mjs";
43
+ import { myDefaultTheme as Or } from "./mantine/my-default-theme.mjs";
44
+ import { formatBytes as qr } from "./utils/formatBytes.mjs";
45
+ import { KyError as Kr, addBodyJsonHook as Lr } from "./utils/ky/addBodyJsonHook.mjs";
46
+ import { parseJSON as zr } from "./utils/ky/parseJson.mjs";
47
+ import { groupBy as Qr, indexBy as Vr } from "./utils/array/groupBy.mjs";
48
+ import { shuffleArray as jr } from "./utils/array/shuffleArray.mjs";
49
+ import { newHref as Yr } from "./utils/newHref.mjs";
50
+ import { isInfinityEmpty as $r } from "./utils/isInfinityEmpty.mjs";
49
51
  export {
50
52
  e as EmptyState,
51
- q as Form,
52
- K as FormButtonSubmit,
53
- j as FormCheckbox,
54
- Y as FormDatePickerInput,
55
- $ as FormDateTimePicker,
56
- or as FormNumberInput,
57
- tr as FormRadioGroup,
58
- pr as FormSelect,
59
- xr as FormSelectInfinity,
60
- ur as FormTextInput,
61
- ir as FormTextarea,
62
- sr as FormTimeInput,
63
- k as HttpStatus,
64
- a as Icon,
53
+ K as Form,
54
+ U as FormButtonSubmit,
55
+ Y as FormCheckbox,
56
+ $ as FormDatePickerInput,
57
+ or as FormDateTimePicker,
58
+ Mr as FormMultiSelect,
59
+ tr as FormNumberInput,
60
+ pr as FormRadioGroup,
61
+ xr as FormSelect,
62
+ ar as FormSelectInfinity,
63
+ lr as FormTextInput,
64
+ ur as FormTextarea,
65
+ cr as FormTimeInput,
66
+ v as HttpStatus,
67
+ i as Icon,
65
68
  m as InfinityLoader,
66
- Or as KyError,
69
+ Kr as KyError,
67
70
  n as MyDatePickerInput,
68
71
  y as MyDateTimePicker,
69
- l as MyNotifications,
70
- I as MyNumberInput,
72
+ k as MyMultiSelect,
73
+ s as MyNotifications,
74
+ d as MyNumberInput,
71
75
  F as MySelect,
72
- S as MyTextInput,
73
- T as MyTextarea,
76
+ T as MyTextInput,
77
+ P as MyTextarea,
74
78
  B as MyTimeInput,
75
79
  f as NavItems,
76
- R as NavigationHistoryProvider,
77
- C as PageDataProvider,
78
- w as QP_BACK_URL_NAME,
79
- v as Revalidate,
80
+ E as NavigationHistoryProvider,
81
+ _ as PageDataProvider,
82
+ A as QP_BACK_URL_NAME,
83
+ R as Revalidate,
80
84
  g as SelectInfinity,
81
- _r as addBodyJsonHook,
82
- Dr as breakpointsWithPx,
83
- Ar as formatBytes,
84
- Lr as groupBy,
85
- Ur as indexBy,
86
- jr as isInfinityEmpty,
87
- wr as myDefaultTheme,
88
- Vr as newHref,
89
- G as nullableButRequired,
90
- lr as numberToTimeInput,
91
- V as optionalButRequired,
92
- Jr as parseJSON,
93
- Gr as shuffleArray,
94
- dr as timeInputToNumber,
95
- Hr as toTailwindColors,
96
- Mr as useBreakpoint,
97
- Nr as useFetchNextPageOnScroll,
98
- E as useNavigationHistory,
99
- br as useOnScrollProgress,
100
- O as usePageData,
101
- hr as useUpdateSearchParams,
102
- cr as withForm,
103
- Pr as withModalManager,
104
- U as zodValidator
85
+ Lr as addBodyJsonHook,
86
+ wr as breakpointsWithPx,
87
+ qr as formatBytes,
88
+ Qr as groupBy,
89
+ Vr as indexBy,
90
+ $r as isInfinityEmpty,
91
+ Or as myDefaultTheme,
92
+ Yr as newHref,
93
+ V as nullableButRequired,
94
+ dr as numberToTimeInput,
95
+ j as optionalButRequired,
96
+ zr as parseJSON,
97
+ jr as shuffleArray,
98
+ Ir as timeInputToNumber,
99
+ Ar as toTailwindColors,
100
+ br as useBreakpoint,
101
+ hr as useFetchNextPageOnScroll,
102
+ C as useNavigationHistory,
103
+ Dr as useOnScrollProgress,
104
+ q as usePageData,
105
+ Hr as useUpdateSearchParams,
106
+ Sr as withForm,
107
+ Nr as withModalManager,
108
+ G as zodValidator
105
109
  };
106
110
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lkd-web-kit",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "A template for creating React component libraries with Vite.",
5
5
  "author": "LKD",
6
6
  "license": "MIT",