lkd-web-kit 0.3.0 → 0.3.2
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.js +779 -0
- package/dist/{index.d.ts → main.d.ts} +10 -0
- package/package.json +19 -31
- package/dist/src/components/EmptyState/index.cjs +0 -2
- package/dist/src/components/EmptyState/index.cjs.map +0 -1
- package/dist/src/components/EmptyState/index.mjs +0 -37
- package/dist/src/components/EmptyState/index.mjs.map +0 -1
- package/dist/src/components/Icon.cjs +0 -2
- package/dist/src/components/Icon.cjs.map +0 -1
- package/dist/src/components/Icon.mjs +0 -48
- package/dist/src/components/Icon.mjs.map +0 -1
- package/dist/src/components/InfinityLoader/index.cjs +0 -2
- package/dist/src/components/InfinityLoader/index.cjs.map +0 -1
- package/dist/src/components/InfinityLoader/index.mjs +0 -7
- package/dist/src/components/InfinityLoader/index.mjs.map +0 -1
- package/dist/src/components/MyDatePickerInput/CalendarIcon.cjs +0 -2
- package/dist/src/components/MyDatePickerInput/CalendarIcon.cjs.map +0 -1
- package/dist/src/components/MyDatePickerInput/CalendarIcon.mjs +0 -62
- package/dist/src/components/MyDatePickerInput/CalendarIcon.mjs.map +0 -1
- package/dist/src/components/MyDatePickerInput/index.cjs +0 -2
- package/dist/src/components/MyDatePickerInput/index.cjs.map +0 -1
- package/dist/src/components/MyDatePickerInput/index.mjs +0 -15
- package/dist/src/components/MyDatePickerInput/index.mjs.map +0 -1
- package/dist/src/components/MyDateTimePicker/index.cjs +0 -2
- package/dist/src/components/MyDateTimePicker/index.cjs.map +0 -1
- package/dist/src/components/MyDateTimePicker/index.mjs +0 -15
- package/dist/src/components/MyDateTimePicker/index.mjs.map +0 -1
- package/dist/src/components/MyMultiSelect/index.cjs +0 -2
- package/dist/src/components/MyMultiSelect/index.cjs.map +0 -1
- package/dist/src/components/MyMultiSelect/index.mjs +0 -13
- package/dist/src/components/MyMultiSelect/index.mjs.map +0 -1
- package/dist/src/components/MyNotifications/index.cjs +0 -2
- package/dist/src/components/MyNotifications/index.cjs.map +0 -1
- package/dist/src/components/MyNotifications/index.mjs +0 -14
- package/dist/src/components/MyNotifications/index.mjs.map +0 -1
- package/dist/src/components/MyNumberInput/index.cjs +0 -2
- package/dist/src/components/MyNumberInput/index.cjs.map +0 -1
- package/dist/src/components/MyNumberInput/index.mjs +0 -13
- package/dist/src/components/MyNumberInput/index.mjs.map +0 -1
- package/dist/src/components/MySelect/index.cjs +0 -2
- package/dist/src/components/MySelect/index.cjs.map +0 -1
- package/dist/src/components/MySelect/index.mjs +0 -13
- package/dist/src/components/MySelect/index.mjs.map +0 -1
- package/dist/src/components/MyTextInput/index.cjs +0 -2
- package/dist/src/components/MyTextInput/index.cjs.map +0 -1
- package/dist/src/components/MyTextInput/index.mjs +0 -13
- package/dist/src/components/MyTextInput/index.mjs.map +0 -1
- package/dist/src/components/MyTextarea/index.cjs +0 -2
- package/dist/src/components/MyTextarea/index.cjs.map +0 -1
- package/dist/src/components/MyTextarea/index.mjs +0 -13
- package/dist/src/components/MyTextarea/index.mjs.map +0 -1
- package/dist/src/components/MyTimeInput/index.cjs +0 -2
- package/dist/src/components/MyTimeInput/index.cjs.map +0 -1
- package/dist/src/components/MyTimeInput/index.mjs +0 -13
- package/dist/src/components/MyTimeInput/index.mjs.map +0 -1
- package/dist/src/components/NavItems.cjs +0 -2
- package/dist/src/components/NavItems.cjs.map +0 -1
- package/dist/src/components/NavItems.mjs +0 -37
- package/dist/src/components/NavItems.mjs.map +0 -1
- package/dist/src/components/SelectInfinity/index.cjs +0 -2
- package/dist/src/components/SelectInfinity/index.cjs.map +0 -1
- package/dist/src/components/SelectInfinity/index.mjs +0 -107
- package/dist/src/components/SelectInfinity/index.mjs.map +0 -1
- package/dist/src/consts/http-status.cjs +0 -2
- package/dist/src/consts/http-status.cjs.map +0 -1
- package/dist/src/consts/http-status.mjs +0 -5
- package/dist/src/consts/http-status.mjs.map +0 -1
- package/dist/src/consts/revalidate.cjs +0 -2
- package/dist/src/consts/revalidate.cjs.map +0 -1
- package/dist/src/consts/revalidate.mjs +0 -5
- package/dist/src/consts/revalidate.mjs.map +0 -1
- package/dist/src/contexts/NavigationHistoryContext/index.cjs +0 -2
- package/dist/src/contexts/NavigationHistoryContext/index.cjs.map +0 -1
- package/dist/src/contexts/NavigationHistoryContext/index.mjs +0 -48
- package/dist/src/contexts/NavigationHistoryContext/index.mjs.map +0 -1
- package/dist/src/contexts/PageDataContext/index.cjs +0 -2
- package/dist/src/contexts/PageDataContext/index.cjs.map +0 -1
- package/dist/src/contexts/PageDataContext/index.mjs +0 -16
- package/dist/src/contexts/PageDataContext/index.mjs.map +0 -1
- package/dist/src/form/Form.cjs +0 -2
- package/dist/src/form/Form.cjs.map +0 -1
- package/dist/src/form/Form.mjs +0 -24
- package/dist/src/form/Form.mjs.map +0 -1
- package/dist/src/form/FormButtonSubmit.cjs +0 -2
- package/dist/src/form/FormButtonSubmit.cjs.map +0 -1
- package/dist/src/form/FormButtonSubmit.mjs +0 -19
- package/dist/src/form/FormButtonSubmit.mjs.map +0 -1
- package/dist/src/form/base/FormCheckbox.cjs +0 -2
- package/dist/src/form/base/FormCheckbox.cjs.map +0 -1
- package/dist/src/form/base/FormCheckbox.mjs +0 -15
- package/dist/src/form/base/FormCheckbox.mjs.map +0 -1
- package/dist/src/form/base/FormDatePickerInput.cjs +0 -2
- package/dist/src/form/base/FormDatePickerInput.cjs.map +0 -1
- package/dist/src/form/base/FormDatePickerInput.mjs +0 -14
- package/dist/src/form/base/FormDatePickerInput.mjs.map +0 -1
- package/dist/src/form/base/FormDateTimePicker.cjs +0 -2
- package/dist/src/form/base/FormDateTimePicker.cjs.map +0 -1
- package/dist/src/form/base/FormDateTimePicker.mjs +0 -14
- package/dist/src/form/base/FormDateTimePicker.mjs.map +0 -1
- package/dist/src/form/base/FormMultiSelect.cjs +0 -2
- package/dist/src/form/base/FormMultiSelect.cjs.map +0 -1
- package/dist/src/form/base/FormMultiSelect.mjs +0 -14
- package/dist/src/form/base/FormMultiSelect.mjs.map +0 -1
- package/dist/src/form/base/FormNumberInput.cjs +0 -2
- package/dist/src/form/base/FormNumberInput.cjs.map +0 -1
- package/dist/src/form/base/FormNumberInput.mjs +0 -14
- package/dist/src/form/base/FormNumberInput.mjs.map +0 -1
- package/dist/src/form/base/FormRadioGroup.cjs +0 -2
- package/dist/src/form/base/FormRadioGroup.cjs.map +0 -1
- package/dist/src/form/base/FormRadioGroup.mjs +0 -14
- package/dist/src/form/base/FormRadioGroup.mjs.map +0 -1
- package/dist/src/form/base/FormSelect.cjs +0 -2
- package/dist/src/form/base/FormSelect.cjs.map +0 -1
- package/dist/src/form/base/FormSelect.mjs +0 -14
- package/dist/src/form/base/FormSelect.mjs.map +0 -1
- package/dist/src/form/base/FormSelectInfinity.cjs +0 -2
- package/dist/src/form/base/FormSelectInfinity.cjs.map +0 -1
- package/dist/src/form/base/FormSelectInfinity.mjs +0 -14
- package/dist/src/form/base/FormSelectInfinity.mjs.map +0 -1
- package/dist/src/form/base/FormTextInput.cjs +0 -2
- package/dist/src/form/base/FormTextInput.cjs.map +0 -1
- package/dist/src/form/base/FormTextInput.mjs +0 -14
- package/dist/src/form/base/FormTextInput.mjs.map +0 -1
- package/dist/src/form/base/FormTextarea.cjs +0 -2
- package/dist/src/form/base/FormTextarea.cjs.map +0 -1
- package/dist/src/form/base/FormTextarea.mjs +0 -14
- package/dist/src/form/base/FormTextarea.mjs.map +0 -1
- package/dist/src/form/base/FormTimeInput.cjs +0 -2
- package/dist/src/form/base/FormTimeInput.cjs.map +0 -1
- package/dist/src/form/base/FormTimeInput.mjs +0 -22
- package/dist/src/form/base/FormTimeInput.mjs.map +0 -1
- package/dist/src/form/utils/nullable-but-required.cjs +0 -2
- package/dist/src/form/utils/nullable-but-required.cjs.map +0 -1
- package/dist/src/form/utils/nullable-but-required.mjs +0 -11
- package/dist/src/form/utils/nullable-but-required.mjs.map +0 -1
- package/dist/src/form/utils/optional-but-required.cjs +0 -2
- package/dist/src/form/utils/optional-but-required.cjs.map +0 -1
- package/dist/src/form/utils/optional-but-required.mjs +0 -11
- package/dist/src/form/utils/optional-but-required.mjs.map +0 -1
- package/dist/src/form/utils/zodValidator.cjs +0 -2
- package/dist/src/form/utils/zodValidator.cjs.map +0 -1
- package/dist/src/form/utils/zodValidator.mjs +0 -10
- package/dist/src/form/utils/zodValidator.mjs.map +0 -1
- package/dist/src/hocs/withForm.cjs +0 -2
- package/dist/src/hocs/withForm.cjs.map +0 -1
- package/dist/src/hocs/withForm.mjs +0 -46
- package/dist/src/hocs/withForm.mjs.map +0 -1
- package/dist/src/hocs/withModalManager.cjs +0 -2
- package/dist/src/hocs/withModalManager.cjs.map +0 -1
- package/dist/src/hocs/withModalManager.mjs +0 -29
- package/dist/src/hocs/withModalManager.mjs.map +0 -1
- package/dist/src/hooks/useBreakpoint.cjs +0 -2
- package/dist/src/hooks/useBreakpoint.cjs.map +0 -1
- package/dist/src/hooks/useBreakpoint.mjs +0 -9
- package/dist/src/hooks/useBreakpoint.mjs.map +0 -1
- package/dist/src/hooks/useFetchNextPageOnScroll.cjs +0 -2
- package/dist/src/hooks/useFetchNextPageOnScroll.cjs.map +0 -1
- package/dist/src/hooks/useFetchNextPageOnScroll.mjs +0 -20
- package/dist/src/hooks/useFetchNextPageOnScroll.mjs.map +0 -1
- package/dist/src/hooks/useOnScrollProgress.cjs +0 -2
- package/dist/src/hooks/useOnScrollProgress.cjs.map +0 -1
- package/dist/src/hooks/useOnScrollProgress.mjs +0 -26
- package/dist/src/hooks/useOnScrollProgress.mjs.map +0 -1
- package/dist/src/hooks/useUpdateSearchParams.cjs +0 -2
- package/dist/src/hooks/useUpdateSearchParams.cjs.map +0 -1
- package/dist/src/hooks/useUpdateSearchParams.mjs +0 -19
- package/dist/src/hooks/useUpdateSearchParams.mjs.map +0 -1
- package/dist/src/index.cjs +0 -2
- package/dist/src/index.cjs.map +0 -1
- package/dist/src/index.mjs +0 -110
- package/dist/src/index.mjs.map +0 -1
- package/dist/src/mantine/breakpoints-with-px.cjs +0 -2
- package/dist/src/mantine/breakpoints-with-px.cjs.map +0 -1
- package/dist/src/mantine/breakpoints-with-px.mjs +0 -12
- package/dist/src/mantine/breakpoints-with-px.mjs.map +0 -1
- package/dist/src/mantine/my-default-theme.cjs +0 -2
- package/dist/src/mantine/my-default-theme.cjs.map +0 -1
- package/dist/src/mantine/my-default-theme.mjs +0 -46
- package/dist/src/mantine/my-default-theme.mjs.map +0 -1
- package/dist/src/mantine/to-tailwind-colors.cjs +0 -2
- package/dist/src/mantine/to-tailwind-colors.cjs.map +0 -1
- package/dist/src/mantine/to-tailwind-colors.mjs +0 -11
- package/dist/src/mantine/to-tailwind-colors.mjs.map +0 -1
- package/dist/src/utils/array/groupBy.cjs +0 -2
- package/dist/src/utils/array/groupBy.cjs.map +0 -1
- package/dist/src/utils/array/groupBy.mjs +0 -35
- package/dist/src/utils/array/groupBy.mjs.map +0 -1
- package/dist/src/utils/array/shuffleArray.cjs +0 -2
- package/dist/src/utils/array/shuffleArray.cjs.map +0 -1
- package/dist/src/utils/array/shuffleArray.mjs +0 -14
- package/dist/src/utils/array/shuffleArray.mjs.map +0 -1
- package/dist/src/utils/formatBytes.cjs +0 -2
- package/dist/src/utils/formatBytes.cjs.map +0 -1
- package/dist/src/utils/formatBytes.mjs +0 -9
- package/dist/src/utils/formatBytes.mjs.map +0 -1
- package/dist/src/utils/isInfinityEmpty.cjs +0 -2
- package/dist/src/utils/isInfinityEmpty.cjs.map +0 -1
- package/dist/src/utils/isInfinityEmpty.mjs +0 -5
- package/dist/src/utils/isInfinityEmpty.mjs.map +0 -1
- package/dist/src/utils/ky/addBodyJsonHook.cjs +0 -2
- package/dist/src/utils/ky/addBodyJsonHook.cjs.map +0 -1
- package/dist/src/utils/ky/addBodyJsonHook.mjs +0 -13
- package/dist/src/utils/ky/addBodyJsonHook.mjs.map +0 -1
- package/dist/src/utils/ky/parseJson.cjs +0 -2
- package/dist/src/utils/ky/parseJson.cjs.map +0 -1
- package/dist/src/utils/ky/parseJson.mjs +0 -7
- package/dist/src/utils/ky/parseJson.mjs.map +0 -1
- package/dist/src/utils/newHref.cjs +0 -2
- package/dist/src/utils/newHref.cjs.map +0 -1
- package/dist/src/utils/newHref.mjs +0 -21
- package/dist/src/utils/newHref.mjs.map +0 -1
|
@@ -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 {
|
package/package.json
CHANGED
|
@@ -1,26 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lkd-web-kit",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "A template for creating React component libraries with Vite.",
|
|
5
5
|
"author": "LKD",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"files": [
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
"*.css"
|
|
13
|
-
],
|
|
14
|
-
"main": "./dist/src/index.cjs",
|
|
15
|
-
"module": "./dist/src/index.mjs",
|
|
16
|
-
"types": "./dist/index.d.ts",
|
|
17
|
-
"export": {
|
|
18
|
-
".": {
|
|
19
|
-
"require": "./dist/src/index.cjs",
|
|
20
|
-
"import": "./dist/src/index.mjs",
|
|
21
|
-
"types": "./dist/index.d.ts"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
8
|
+
"files": ["dist"],
|
|
9
|
+
"exports": "./dist/main.js",
|
|
10
|
+
"module": "./dist/main.js",
|
|
11
|
+
"types": "./dist/main.d.ts",
|
|
24
12
|
"scripts": {
|
|
25
13
|
"test": "vitest run",
|
|
26
14
|
"test:watch": "vitest",
|
|
@@ -33,26 +21,26 @@
|
|
|
33
21
|
"@testing-library/jest-dom": "^6.6.3",
|
|
34
22
|
"@testing-library/react": "^16.3.0",
|
|
35
23
|
"@testing-library/user-event": "^14.6.1",
|
|
36
|
-
"@types/node": "^
|
|
37
|
-
"@types/react": "^19.1.
|
|
38
|
-
"@types/react-dom": "^19.1.
|
|
39
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
40
|
-
"@typescript-eslint/parser": "^8.
|
|
41
|
-
"@vitejs/plugin-react-swc": "^3.
|
|
42
|
-
"@vitest/coverage-v8": "^3.1.
|
|
43
|
-
"eslint": "^9.
|
|
44
|
-
"eslint-config-prettier": "^10.1.
|
|
24
|
+
"@types/node": "^22.15.18",
|
|
25
|
+
"@types/react": "^19.1.4",
|
|
26
|
+
"@types/react-dom": "^19.1.5",
|
|
27
|
+
"@typescript-eslint/eslint-plugin": "^8.32.1",
|
|
28
|
+
"@typescript-eslint/parser": "^8.32.1",
|
|
29
|
+
"@vitejs/plugin-react-swc": "^3.9.0",
|
|
30
|
+
"@vitest/coverage-v8": "^3.1.3",
|
|
31
|
+
"eslint": "^9.26.0",
|
|
32
|
+
"eslint-config-prettier": "^10.1.5",
|
|
45
33
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
46
34
|
"eslint-plugin-react": "^7.37.5",
|
|
47
35
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
48
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
49
|
-
"jsdom": "^26.
|
|
36
|
+
"eslint-plugin-react-refresh": "^0.4.20",
|
|
37
|
+
"jsdom": "^26.1.0",
|
|
50
38
|
"prettier": "^3.5.3",
|
|
51
39
|
"rollup-preserve-directives": "^1.1.3",
|
|
52
40
|
"typescript": "^5.8.3",
|
|
53
|
-
"vite": "^6.
|
|
54
|
-
"vite-plugin-dts": "^4.5.
|
|
55
|
-
"vitest": "^3.1.
|
|
41
|
+
"vite": "^6.3.5",
|
|
42
|
+
"vite-plugin-dts": "^4.5.4",
|
|
43
|
+
"vitest": "^3.1.3"
|
|
56
44
|
},
|
|
57
45
|
"peerDependencies": {
|
|
58
46
|
"@mantine/core": "^8.0.1",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),i=require("clsx"),a=require("../Icon.cjs"),o=e=>e&&e.__esModule?e:{default:e},d=o(i),u={sm:48,md:60,lg:84},m=({label:e,action:c,icon:s,className:l,size:r="md",...n})=>t.jsxs("div",{className:d.default("justfiy-center flex flex-col items-center gap-1",l),...n,children:[s&&t.jsx(a.Icon,{i:s,size:u[r],className:"text-gray-2"}),t.jsx("p",{className:"text-gray-6 text-sm font-semibold",children:e}),t.jsx("div",{children:c})]});exports.EmptyState=m;
|
|
2
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/components/EmptyState/index.tsx"],"sourcesContent":["import clsx from 'clsx';\r\nimport { ComponentProps, ReactNode } from 'react';\r\nimport { IconFC, Icon } from '../Icon';\r\n\r\nexport interface EmptyProps extends ComponentProps<'div'> {\r\n label: ReactNode;\r\n action?: ReactNode;\r\n icon?: IconFC;\r\n size?: keyof typeof pxBySize;\r\n}\r\n\r\nconst pxBySize = {\r\n sm: 48,\r\n md: 60,\r\n lg: 84,\r\n};\r\n\r\nexport const EmptyState = ({\r\n label,\r\n action,\r\n icon,\r\n className,\r\n size = 'md',\r\n ...props\r\n}: EmptyProps) => {\r\n return (\r\n <div\r\n className={clsx('justfiy-center flex flex-col items-center gap-1', className)}\r\n {...props}\r\n >\r\n {icon && (\r\n <Icon\r\n i={icon}\r\n size={pxBySize[size]}\r\n className=\"text-gray-2\"\r\n />\r\n )}\r\n <p className=\"text-gray-6 text-sm font-semibold\">{label}</p>\r\n <div>{action}</div>\r\n </div>\r\n );\r\n};\r\n"],"names":["pxBySize","EmptyState","label","action","icon","className","size","props","jsxs","clsx","jsx","Icon"],"mappings":"0MAWMA,EAAW,CACf,GAAI,GACJ,GAAI,GACJ,GAAI,EACN,EAEaC,EAAa,CAAC,CACzB,MAAAC,EACA,OAAAC,EACA,KAAAC,EACA,UAAAC,EACA,KAAAC,EAAO,KACP,GAAGC,CACL,IAEIC,EAAA,KAAC,MAAA,CACC,UAAWC,EAAAA,QAAK,kDAAmDJ,CAAS,EAC3E,GAAGE,EAEH,SAAA,CACCH,GAAAM,EAAA,IAACC,EAAA,KAAA,CACC,EAAGP,EACH,KAAMJ,EAASM,CAAI,EACnB,UAAU,aAAA,CACZ,EAEDI,EAAA,IAAA,IAAA,CAAE,UAAU,oCAAqC,SAAMR,EAAA,EACxDQ,EAAAA,IAAC,OAAK,SAAOP,CAAA,CAAA,CAAA,CAAA,CACf"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import o from "clsx";
|
|
3
|
-
import { Icon as a } from "../Icon.mjs";
|
|
4
|
-
const x = {
|
|
5
|
-
sm: 48,
|
|
6
|
-
md: 60,
|
|
7
|
-
lg: 84
|
|
8
|
-
}, f = ({
|
|
9
|
-
label: s,
|
|
10
|
-
action: m,
|
|
11
|
-
icon: t,
|
|
12
|
-
className: r,
|
|
13
|
-
size: i = "md",
|
|
14
|
-
...c
|
|
15
|
-
}) => /* @__PURE__ */ l(
|
|
16
|
-
"div",
|
|
17
|
-
{
|
|
18
|
-
className: o("justfiy-center flex flex-col items-center gap-1", r),
|
|
19
|
-
...c,
|
|
20
|
-
children: [
|
|
21
|
-
t && /* @__PURE__ */ e(
|
|
22
|
-
a,
|
|
23
|
-
{
|
|
24
|
-
i: t,
|
|
25
|
-
size: x[i],
|
|
26
|
-
className: "text-gray-2"
|
|
27
|
-
}
|
|
28
|
-
),
|
|
29
|
-
/* @__PURE__ */ e("p", { className: "text-gray-6 text-sm font-semibold", children: s }),
|
|
30
|
-
/* @__PURE__ */ e("div", { children: m })
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
);
|
|
34
|
-
export {
|
|
35
|
-
f as EmptyState
|
|
36
|
-
};
|
|
37
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../src/components/EmptyState/index.tsx"],"sourcesContent":["import clsx from 'clsx';\r\nimport { ComponentProps, ReactNode } from 'react';\r\nimport { IconFC, Icon } from '../Icon';\r\n\r\nexport interface EmptyProps extends ComponentProps<'div'> {\r\n label: ReactNode;\r\n action?: ReactNode;\r\n icon?: IconFC;\r\n size?: keyof typeof pxBySize;\r\n}\r\n\r\nconst pxBySize = {\r\n sm: 48,\r\n md: 60,\r\n lg: 84,\r\n};\r\n\r\nexport const EmptyState = ({\r\n label,\r\n action,\r\n icon,\r\n className,\r\n size = 'md',\r\n ...props\r\n}: EmptyProps) => {\r\n return (\r\n <div\r\n className={clsx('justfiy-center flex flex-col items-center gap-1', className)}\r\n {...props}\r\n >\r\n {icon && (\r\n <Icon\r\n i={icon}\r\n size={pxBySize[size]}\r\n className=\"text-gray-2\"\r\n />\r\n )}\r\n <p className=\"text-gray-6 text-sm font-semibold\">{label}</p>\r\n <div>{action}</div>\r\n </div>\r\n );\r\n};\r\n"],"names":["pxBySize","EmptyState","label","action","icon","className","size","props","jsxs","clsx","jsx","Icon"],"mappings":";;;AAWA,MAAMA,IAAW;AAAA,EACf,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN,GAEaC,IAAa,CAAC;AAAA,EACzB,OAAAC;AAAA,EACA,QAAAC;AAAA,EACA,MAAAC;AAAA,EACA,WAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,GAAGC;AACL,MAEI,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,EAAK,mDAAmDJ,CAAS;AAAA,IAC3E,GAAGE;AAAA,IAEH,UAAA;AAAA,MACCH,KAAA,gBAAAM;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,GAAGP;AAAA,UACH,MAAMJ,EAASM,CAAI;AAAA,UACnB,WAAU;AAAA,QAAA;AAAA,MACZ;AAAA,MAED,gBAAAI,EAAA,KAAA,EAAE,WAAU,qCAAqC,UAAMR,GAAA;AAAA,MACxD,gBAAAQ,EAAC,SAAK,UAAOP,EAAA,CAAA;AAAA,IAAA;AAAA,EAAA;AACf;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),n=require("clsx"),d=t=>t&&t.__esModule?t:{default:t},r=d(n),c=({i:t,size:e="md",style:i,rotate:h,className:s,...o})=>l.jsx(t,{...typeof e=="number"?{height:e,width:e}:u[e],viewBox:"0 0 24 24",style:{...i,transform:`rotate(${h}deg)`},className:r.default("shrink-0",s),...o}),u={xs:{height:16,width:16},sm:{height:20,width:20},md:{height:24,width:24},lg:{height:28,width:28},xl:{height:32,width:32},"2xl":{height:40,width:40}};exports.Icon=c;
|
|
2
|
-
//# sourceMappingURL=Icon.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.cjs","sources":["../../../src/components/Icon.tsx"],"sourcesContent":["'use client';\r\nimport clsx from 'clsx';\r\nimport React, { ComponentPropsWithoutRef } from 'react';\r\n\r\nexport type IconFC = React.FC<ComponentPropsWithoutRef<'svg'>>;\r\nexport interface IconProps extends ComponentPropsWithoutRef<'svg'> {\r\n i: IconFC;\r\n /**\r\n * @property xs: 16px\r\n * @property sm: 20px\r\n * @property md: 24px\r\n * @property lg: 28px\r\n * @property xl: 32px\r\n * @property 2xl: 40px\r\n */\r\n size?: keyof typeof stylesBySize | number;\r\n}\r\n\r\nexport const Icon = ({ i: I, size = 'md', style, rotate, className, ...rest }: IconProps) => {\r\n /* \r\n Para que no haya colisiones de ids al renderizar el icono en varios lados, le pasamos este id a la prop idprefix.\r\n Esta prop es agregada gracias al archivo svgr-dynamic-ids.js que se encuentra en la raíz del proyecto.\r\n */\r\n\r\n return (\r\n <I\r\n {...(typeof size === 'number'\r\n ? {\r\n height: size,\r\n width: size,\r\n }\r\n : stylesBySize[size])}\r\n viewBox=\"0 0 24 24\"\r\n style={{\r\n ...style,\r\n transform: `rotate(${rotate}deg)`,\r\n }}\r\n className={clsx('shrink-0', className)}\r\n {...rest}\r\n />\r\n );\r\n};\r\n\r\nconst stylesBySize = {\r\n xs: {\r\n height: 16,\r\n width: 16,\r\n },\r\n sm: {\r\n height: 20,\r\n width: 20,\r\n },\r\n md: {\r\n height: 24,\r\n width: 24,\r\n },\r\n lg: {\r\n height: 28,\r\n width: 28,\r\n },\r\n xl: {\r\n height: 32,\r\n width: 32,\r\n },\r\n ['2xl']: {\r\n height: 40,\r\n width: 40,\r\n },\r\n};\r\n"],"names":["Icon","I","size","style","rotate","className","rest","jsx","stylesBySize","clsx"],"mappings":"8LAkBaA,EAAO,CAAC,CAAE,EAAGC,EAAG,KAAAC,EAAO,KAAM,MAAAC,EAAO,OAAAC,EAAQ,UAAAC,EAAW,GAAGC,CAAA,IAOnEC,EAAA,IAACN,EAAA,CACE,GAAI,OAAOC,GAAS,SACjB,CACE,OAAQA,EACR,MAAOA,CAAA,EAETM,EAAaN,CAAI,EACrB,QAAQ,YACR,MAAO,CACL,GAAGC,EACH,UAAW,UAAUC,CAAM,MAC7B,EACA,UAAWK,EAAAA,QAAK,WAAYJ,CAAS,EACpC,GAAGC,CAAA,CACN,EAIEE,EAAe,CACnB,GAAI,CACF,OAAQ,GACR,MAAO,EACT,EACA,GAAI,CACF,OAAQ,GACR,MAAO,EACT,EACA,GAAI,CACF,OAAQ,GACR,MAAO,EACT,EACA,GAAI,CACF,OAAQ,GACR,MAAO,EACT,EACA,GAAI,CACF,OAAQ,GACR,MAAO,EACT,EACC,MAAQ,CACP,OAAQ,GACR,MAAO,EAAA,CAEX"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
3
|
-
import d from "clsx";
|
|
4
|
-
const n = ({ i: h, size: t = "md", style: i, rotate: e, className: o, ...r }) => /* @__PURE__ */ s(
|
|
5
|
-
h,
|
|
6
|
-
{
|
|
7
|
-
...typeof t == "number" ? {
|
|
8
|
-
height: t,
|
|
9
|
-
width: t
|
|
10
|
-
} : m[t],
|
|
11
|
-
viewBox: "0 0 24 24",
|
|
12
|
-
style: {
|
|
13
|
-
...i,
|
|
14
|
-
transform: `rotate(${e}deg)`
|
|
15
|
-
},
|
|
16
|
-
className: d("shrink-0", o),
|
|
17
|
-
...r
|
|
18
|
-
}
|
|
19
|
-
), m = {
|
|
20
|
-
xs: {
|
|
21
|
-
height: 16,
|
|
22
|
-
width: 16
|
|
23
|
-
},
|
|
24
|
-
sm: {
|
|
25
|
-
height: 20,
|
|
26
|
-
width: 20
|
|
27
|
-
},
|
|
28
|
-
md: {
|
|
29
|
-
height: 24,
|
|
30
|
-
width: 24
|
|
31
|
-
},
|
|
32
|
-
lg: {
|
|
33
|
-
height: 28,
|
|
34
|
-
width: 28
|
|
35
|
-
},
|
|
36
|
-
xl: {
|
|
37
|
-
height: 32,
|
|
38
|
-
width: 32
|
|
39
|
-
},
|
|
40
|
-
"2xl": {
|
|
41
|
-
height: 40,
|
|
42
|
-
width: 40
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
export {
|
|
46
|
-
n as Icon
|
|
47
|
-
};
|
|
48
|
-
//# sourceMappingURL=Icon.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.mjs","sources":["../../../src/components/Icon.tsx"],"sourcesContent":["'use client';\r\nimport clsx from 'clsx';\r\nimport React, { ComponentPropsWithoutRef } from 'react';\r\n\r\nexport type IconFC = React.FC<ComponentPropsWithoutRef<'svg'>>;\r\nexport interface IconProps extends ComponentPropsWithoutRef<'svg'> {\r\n i: IconFC;\r\n /**\r\n * @property xs: 16px\r\n * @property sm: 20px\r\n * @property md: 24px\r\n * @property lg: 28px\r\n * @property xl: 32px\r\n * @property 2xl: 40px\r\n */\r\n size?: keyof typeof stylesBySize | number;\r\n}\r\n\r\nexport const Icon = ({ i: I, size = 'md', style, rotate, className, ...rest }: IconProps) => {\r\n /* \r\n Para que no haya colisiones de ids al renderizar el icono en varios lados, le pasamos este id a la prop idprefix.\r\n Esta prop es agregada gracias al archivo svgr-dynamic-ids.js que se encuentra en la raíz del proyecto.\r\n */\r\n\r\n return (\r\n <I\r\n {...(typeof size === 'number'\r\n ? {\r\n height: size,\r\n width: size,\r\n }\r\n : stylesBySize[size])}\r\n viewBox=\"0 0 24 24\"\r\n style={{\r\n ...style,\r\n transform: `rotate(${rotate}deg)`,\r\n }}\r\n className={clsx('shrink-0', className)}\r\n {...rest}\r\n />\r\n );\r\n};\r\n\r\nconst stylesBySize = {\r\n xs: {\r\n height: 16,\r\n width: 16,\r\n },\r\n sm: {\r\n height: 20,\r\n width: 20,\r\n },\r\n md: {\r\n height: 24,\r\n width: 24,\r\n },\r\n lg: {\r\n height: 28,\r\n width: 28,\r\n },\r\n xl: {\r\n height: 32,\r\n width: 32,\r\n },\r\n ['2xl']: {\r\n height: 40,\r\n width: 40,\r\n },\r\n};\r\n"],"names":["Icon","I","size","style","rotate","className","rest","jsx","stylesBySize","clsx"],"mappings":";;;AAkBO,MAAMA,IAAO,CAAC,EAAE,GAAGC,GAAG,MAAAC,IAAO,MAAM,OAAAC,GAAO,QAAAC,GAAQ,WAAAC,GAAW,GAAGC,EAAA,MAOnE,gBAAAC;AAAA,EAACN;AAAA,EAAA;AAAA,IACE,GAAI,OAAOC,KAAS,WACjB;AAAA,MACE,QAAQA;AAAA,MACR,OAAOA;AAAA,IAAA,IAETM,EAAaN,CAAI;AAAA,IACrB,SAAQ;AAAA,IACR,OAAO;AAAA,MACL,GAAGC;AAAA,MACH,WAAW,UAAUC,CAAM;AAAA,IAC7B;AAAA,IACA,WAAWK,EAAK,YAAYJ,CAAS;AAAA,IACpC,GAAGC;AAAA,EAAA;AACN,GAIEE,IAAe;AAAA,EACnB,IAAI;AAAA,IACF,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACA,IAAI;AAAA,IACF,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACA,IAAI;AAAA,IACF,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACA,IAAI;AAAA,IACF,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACA,IAAI;AAAA,IACF,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACC,OAAQ;AAAA,IACP,QAAQ;AAAA,IACR,OAAO;AAAA,EAAA;AAEX;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),t=require("@mantine/core"),a=({infinity:e,loaderProps:s,...o})=>r.jsx(t.Center,{...o,children:e.isFetching?r.jsx(t.Loader,{...s}):!e.hasNextPage&&(e.data?.pages.length??0)>1&&r.jsx("p",{children:"No hay más resultados"})});exports.InfinityLoader=a;
|
|
2
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/components/InfinityLoader/index.tsx"],"sourcesContent":["import { Center, CenterProps, Loader, LoaderProps } from '@mantine/core';\r\nimport { InfiniteData } from '@tanstack/react-query';\r\nimport { InfiniteQueryHookResult } from 'react-query-kit';\r\n\r\nexport interface InfinityLoaderProps extends CenterProps {\r\n infinity: InfiniteQueryHookResult<InfiniteData<{ data: unknown[] }>, unknown>;\r\n loaderProps?: LoaderProps;\r\n}\r\n\r\nexport const InfinityLoader = ({ infinity, loaderProps, ...props }: InfinityLoaderProps) => {\r\n return (\r\n <Center {...props}>\r\n {infinity.isFetching ? (\r\n <Loader {...loaderProps} />\r\n ) : (\r\n !infinity.hasNextPage &&\r\n (infinity.data?.pages.length ?? 0) > 1 && <p>No hay más resultados</p>\r\n )}\r\n </Center>\r\n );\r\n};\r\n"],"names":["InfinityLoader","infinity","loaderProps","props","jsx","Center","Loader"],"mappings":"gJASaA,EAAiB,CAAC,CAAE,SAAAC,EAAU,YAAAC,EAAa,GAAGC,KAEvDC,EAAA,IAACC,UAAQ,GAAGF,EACT,WAAS,WACRC,EAAA,IAACE,EAAQ,OAAA,CAAA,GAAGJ,CAAa,CAAA,EAEzB,CAACD,EAAS,cACTA,EAAS,MAAM,MAAM,QAAU,GAAK,GAAKG,EAAAA,IAAC,IAAE,CAAA,SAAA,uBAAA,CAAqB,CAEtE,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { Center as a, Loader as s } from "@mantine/core";
|
|
3
|
-
const m = ({ infinity: e, loaderProps: o, ...t }) => /* @__PURE__ */ r(a, { ...t, children: e.isFetching ? /* @__PURE__ */ r(s, { ...o }) : !e.hasNextPage && (e.data?.pages.length ?? 0) > 1 && /* @__PURE__ */ r("p", { children: "No hay más resultados" }) });
|
|
4
|
-
export {
|
|
5
|
-
m as InfinityLoader
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../src/components/InfinityLoader/index.tsx"],"sourcesContent":["import { Center, CenterProps, Loader, LoaderProps } from '@mantine/core';\r\nimport { InfiniteData } from '@tanstack/react-query';\r\nimport { InfiniteQueryHookResult } from 'react-query-kit';\r\n\r\nexport interface InfinityLoaderProps extends CenterProps {\r\n infinity: InfiniteQueryHookResult<InfiniteData<{ data: unknown[] }>, unknown>;\r\n loaderProps?: LoaderProps;\r\n}\r\n\r\nexport const InfinityLoader = ({ infinity, loaderProps, ...props }: InfinityLoaderProps) => {\r\n return (\r\n <Center {...props}>\r\n {infinity.isFetching ? (\r\n <Loader {...loaderProps} />\r\n ) : (\r\n !infinity.hasNextPage &&\r\n (infinity.data?.pages.length ?? 0) > 1 && <p>No hay más resultados</p>\r\n )}\r\n </Center>\r\n );\r\n};\r\n"],"names":["InfinityLoader","infinity","loaderProps","props","jsx","Center","Loader"],"mappings":";;AASO,MAAMA,IAAiB,CAAC,EAAE,UAAAC,GAAU,aAAAC,GAAa,GAAGC,QAEvD,gBAAAC,EAACC,KAAQ,GAAGF,GACT,YAAS,aACR,gBAAAC,EAACE,GAAQ,EAAA,GAAGJ,EAAa,CAAA,IAEzB,CAACD,EAAS,gBACTA,EAAS,MAAM,MAAM,UAAU,KAAK,KAAK,gBAAAG,EAAC,KAAE,EAAA,UAAA,wBAAA,CAAqB,EAEtE,CAAA;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),C=({size:l="sm",...d})=>e.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:l==="sm"?20:24,height:l==="sm"?20:24,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5C5.66848 5.5 5.35054 5.6317 5.11612 5.86612C4.8817 6.10054 4.75 6.41848 4.75 6.75V18.75C4.75 19.0815 4.8817 19.3995 5.11612 19.6339C5.35054 19.8683 5.66848 20 6 20H18C18.3315 20 18.6495 19.8683 18.8839 19.6339C19.1183 19.3995 19.25 19.0815 19.25 18.75V6.75C19.25 6.41848 19.1183 6.10054 18.8839 5.86612C18.6495 5.6317 18.3315 5.5 18 5.5H6ZM4.05546 4.80546C4.57118 4.28973 5.27065 4 6 4H18C18.7293 4 19.4288 4.28973 19.9445 4.80546C20.4603 5.32118 20.75 6.02065 20.75 6.75V18.75C20.75 19.4793 20.4603 20.1788 19.9445 20.6945C19.4288 21.2103 18.7293 21.5 18 21.5H6C5.27065 21.5 4.57118 21.2103 4.05546 20.6945C3.53973 20.1788 3.25 19.4793 3.25 18.75V6.75C3.25 6.02065 3.53973 5.32118 4.05546 4.80546Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 2C16.4142 2 16.75 2.33579 16.75 2.75V6.75C16.75 7.16421 16.4142 7.5 16 7.5C15.5858 7.5 15.25 7.16421 15.25 6.75V2.75C15.25 2.33579 15.5858 2 16 2Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 2C8.41421 2 8.75 2.33579 8.75 2.75V6.75C8.75 7.16421 8.41421 7.5 8 7.5C7.58579 7.5 7.25 7.16421 7.25 6.75V2.75C7.25 2.33579 7.58579 2 8 2Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10.75C3.25 10.3358 3.58579 10 4 10H20C20.4142 10 20.75 10.3358 20.75 10.75C20.75 11.1642 20.4142 11.5 20 11.5H4C3.58579 11.5 3.25 11.1642 3.25 10.75Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14.3929C7 14.0378 7.28782 13.75 7.64286 13.75H9.35714C9.71218 13.75 10 14.0378 10 14.3929V16.1071C10 16.4622 9.71218 16.75 9.35714 16.75H7.64286C7.28782 16.75 7 16.4622 7 16.1071V14.3929Z",fill:"currentColor"})]});module.exports=C;
|
|
2
|
-
//# sourceMappingURL=CalendarIcon.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarIcon.cjs","sources":["../../../../src/components/MyDatePickerInput/CalendarIcon.tsx"],"sourcesContent":["import { MantineSize } from '@mantine/core';\r\nimport { ComponentProps } from 'react';\r\n\r\ninterface CalendarIconProps {\r\n size?: MantineSize;\r\n}\r\n\r\nconst CalendarIcon = ({ size = 'sm', ...props }: CalendarIconProps) => {\r\n return (\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width={size === 'sm' ? 20 : 24}\r\n height={size === 'sm' ? 20 : 24}\r\n >\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M6 5.5C5.66848 5.5 5.35054 5.6317 5.11612 5.86612C4.8817 6.10054 4.75 6.41848 4.75 6.75V18.75C4.75 19.0815 4.8817 19.3995 5.11612 19.6339C5.35054 19.8683 5.66848 20 6 20H18C18.3315 20 18.6495 19.8683 18.8839 19.6339C19.1183 19.3995 19.25 19.0815 19.25 18.75V6.75C19.25 6.41848 19.1183 6.10054 18.8839 5.86612C18.6495 5.6317 18.3315 5.5 18 5.5H6ZM4.05546 4.80546C4.57118 4.28973 5.27065 4 6 4H18C18.7293 4 19.4288 4.28973 19.9445 4.80546C20.4603 5.32118 20.75 6.02065 20.75 6.75V18.75C20.75 19.4793 20.4603 20.1788 19.9445 20.6945C19.4288 21.2103 18.7293 21.5 18 21.5H6C5.27065 21.5 4.57118 21.2103 4.05546 20.6945C3.53973 20.1788 3.25 19.4793 3.25 18.75V6.75C3.25 6.02065 3.53973 5.32118 4.05546 4.80546Z\"\r\n fill=\"currentColor\"\r\n />\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M16 2C16.4142 2 16.75 2.33579 16.75 2.75V6.75C16.75 7.16421 16.4142 7.5 16 7.5C15.5858 7.5 15.25 7.16421 15.25 6.75V2.75C15.25 2.33579 15.5858 2 16 2Z\"\r\n fill=\"currentColor\"\r\n />\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M8 2C8.41421 2 8.75 2.33579 8.75 2.75V6.75C8.75 7.16421 8.41421 7.5 8 7.5C7.58579 7.5 7.25 7.16421 7.25 6.75V2.75C7.25 2.33579 7.58579 2 8 2Z\"\r\n fill=\"currentColor\"\r\n />\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M3.25 10.75C3.25 10.3358 3.58579 10 4 10H20C20.4142 10 20.75 10.3358 20.75 10.75C20.75 11.1642 20.4142 11.5 20 11.5H4C3.58579 11.5 3.25 11.1642 3.25 10.75Z\"\r\n fill=\"currentColor\"\r\n />\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M7 14.3929C7 14.0378 7.28782 13.75 7.64286 13.75H9.35714C9.71218 13.75 10 14.0378 10 14.3929V16.1071C10 16.4622 9.71218 16.75 9.35714 16.75H7.64286C7.28782 16.75 7 16.4622 7 16.1071V14.3929Z\"\r\n fill=\"currentColor\"\r\n />\r\n </svg>\r\n );\r\n};\r\n\r\nexport default CalendarIcon;\r\n"],"names":["CalendarIcon","size","props","jsxs","jsx"],"mappings":"kDAOMA,EAAe,CAAC,CAAE,KAAAC,EAAO,KAAM,GAAGC,KAEpCC,EAAA,KAAC,MAAA,CACC,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAOF,IAAS,KAAO,GAAK,GAC5B,OAAQA,IAAS,KAAO,GAAK,GAE7B,SAAA,CAAAG,EAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,msBACF,KAAK,cAAA,CACP,EACAA,EAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,yJACF,KAAK,cAAA,CACP,EACAA,EAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,gJACF,KAAK,cAAA,CACP,EACAA,EAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,8JACF,KAAK,cAAA,CACP,EACAA,EAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,iMACF,KAAK,cAAA,CAAA,CACP,CAAA,CACF"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { jsxs as C, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
const r = ({ size: e = "sm", ...d }) => /* @__PURE__ */ C(
|
|
3
|
-
"svg",
|
|
4
|
-
{
|
|
5
|
-
viewBox: "0 0 24 24",
|
|
6
|
-
fill: "none",
|
|
7
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
-
width: e === "sm" ? 20 : 24,
|
|
9
|
-
height: e === "sm" ? 20 : 24,
|
|
10
|
-
children: [
|
|
11
|
-
/* @__PURE__ */ l(
|
|
12
|
-
"path",
|
|
13
|
-
{
|
|
14
|
-
fillRule: "evenodd",
|
|
15
|
-
clipRule: "evenodd",
|
|
16
|
-
d: "M6 5.5C5.66848 5.5 5.35054 5.6317 5.11612 5.86612C4.8817 6.10054 4.75 6.41848 4.75 6.75V18.75C4.75 19.0815 4.8817 19.3995 5.11612 19.6339C5.35054 19.8683 5.66848 20 6 20H18C18.3315 20 18.6495 19.8683 18.8839 19.6339C19.1183 19.3995 19.25 19.0815 19.25 18.75V6.75C19.25 6.41848 19.1183 6.10054 18.8839 5.86612C18.6495 5.6317 18.3315 5.5 18 5.5H6ZM4.05546 4.80546C4.57118 4.28973 5.27065 4 6 4H18C18.7293 4 19.4288 4.28973 19.9445 4.80546C20.4603 5.32118 20.75 6.02065 20.75 6.75V18.75C20.75 19.4793 20.4603 20.1788 19.9445 20.6945C19.4288 21.2103 18.7293 21.5 18 21.5H6C5.27065 21.5 4.57118 21.2103 4.05546 20.6945C3.53973 20.1788 3.25 19.4793 3.25 18.75V6.75C3.25 6.02065 3.53973 5.32118 4.05546 4.80546Z",
|
|
17
|
-
fill: "currentColor"
|
|
18
|
-
}
|
|
19
|
-
),
|
|
20
|
-
/* @__PURE__ */ l(
|
|
21
|
-
"path",
|
|
22
|
-
{
|
|
23
|
-
fillRule: "evenodd",
|
|
24
|
-
clipRule: "evenodd",
|
|
25
|
-
d: "M16 2C16.4142 2 16.75 2.33579 16.75 2.75V6.75C16.75 7.16421 16.4142 7.5 16 7.5C15.5858 7.5 15.25 7.16421 15.25 6.75V2.75C15.25 2.33579 15.5858 2 16 2Z",
|
|
26
|
-
fill: "currentColor"
|
|
27
|
-
}
|
|
28
|
-
),
|
|
29
|
-
/* @__PURE__ */ l(
|
|
30
|
-
"path",
|
|
31
|
-
{
|
|
32
|
-
fillRule: "evenodd",
|
|
33
|
-
clipRule: "evenodd",
|
|
34
|
-
d: "M8 2C8.41421 2 8.75 2.33579 8.75 2.75V6.75C8.75 7.16421 8.41421 7.5 8 7.5C7.58579 7.5 7.25 7.16421 7.25 6.75V2.75C7.25 2.33579 7.58579 2 8 2Z",
|
|
35
|
-
fill: "currentColor"
|
|
36
|
-
}
|
|
37
|
-
),
|
|
38
|
-
/* @__PURE__ */ l(
|
|
39
|
-
"path",
|
|
40
|
-
{
|
|
41
|
-
fillRule: "evenodd",
|
|
42
|
-
clipRule: "evenodd",
|
|
43
|
-
d: "M3.25 10.75C3.25 10.3358 3.58579 10 4 10H20C20.4142 10 20.75 10.3358 20.75 10.75C20.75 11.1642 20.4142 11.5 20 11.5H4C3.58579 11.5 3.25 11.1642 3.25 10.75Z",
|
|
44
|
-
fill: "currentColor"
|
|
45
|
-
}
|
|
46
|
-
),
|
|
47
|
-
/* @__PURE__ */ l(
|
|
48
|
-
"path",
|
|
49
|
-
{
|
|
50
|
-
fillRule: "evenodd",
|
|
51
|
-
clipRule: "evenodd",
|
|
52
|
-
d: "M7 14.3929C7 14.0378 7.28782 13.75 7.64286 13.75H9.35714C9.71218 13.75 10 14.0378 10 14.3929V16.1071C10 16.4622 9.71218 16.75 9.35714 16.75H7.64286C7.28782 16.75 7 16.4622 7 16.1071V14.3929Z",
|
|
53
|
-
fill: "currentColor"
|
|
54
|
-
}
|
|
55
|
-
)
|
|
56
|
-
]
|
|
57
|
-
}
|
|
58
|
-
);
|
|
59
|
-
export {
|
|
60
|
-
r as default
|
|
61
|
-
};
|
|
62
|
-
//# sourceMappingURL=CalendarIcon.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarIcon.mjs","sources":["../../../../src/components/MyDatePickerInput/CalendarIcon.tsx"],"sourcesContent":["import { MantineSize } from '@mantine/core';\r\nimport { ComponentProps } from 'react';\r\n\r\ninterface CalendarIconProps {\r\n size?: MantineSize;\r\n}\r\n\r\nconst CalendarIcon = ({ size = 'sm', ...props }: CalendarIconProps) => {\r\n return (\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width={size === 'sm' ? 20 : 24}\r\n height={size === 'sm' ? 20 : 24}\r\n >\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M6 5.5C5.66848 5.5 5.35054 5.6317 5.11612 5.86612C4.8817 6.10054 4.75 6.41848 4.75 6.75V18.75C4.75 19.0815 4.8817 19.3995 5.11612 19.6339C5.35054 19.8683 5.66848 20 6 20H18C18.3315 20 18.6495 19.8683 18.8839 19.6339C19.1183 19.3995 19.25 19.0815 19.25 18.75V6.75C19.25 6.41848 19.1183 6.10054 18.8839 5.86612C18.6495 5.6317 18.3315 5.5 18 5.5H6ZM4.05546 4.80546C4.57118 4.28973 5.27065 4 6 4H18C18.7293 4 19.4288 4.28973 19.9445 4.80546C20.4603 5.32118 20.75 6.02065 20.75 6.75V18.75C20.75 19.4793 20.4603 20.1788 19.9445 20.6945C19.4288 21.2103 18.7293 21.5 18 21.5H6C5.27065 21.5 4.57118 21.2103 4.05546 20.6945C3.53973 20.1788 3.25 19.4793 3.25 18.75V6.75C3.25 6.02065 3.53973 5.32118 4.05546 4.80546Z\"\r\n fill=\"currentColor\"\r\n />\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M16 2C16.4142 2 16.75 2.33579 16.75 2.75V6.75C16.75 7.16421 16.4142 7.5 16 7.5C15.5858 7.5 15.25 7.16421 15.25 6.75V2.75C15.25 2.33579 15.5858 2 16 2Z\"\r\n fill=\"currentColor\"\r\n />\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M8 2C8.41421 2 8.75 2.33579 8.75 2.75V6.75C8.75 7.16421 8.41421 7.5 8 7.5C7.58579 7.5 7.25 7.16421 7.25 6.75V2.75C7.25 2.33579 7.58579 2 8 2Z\"\r\n fill=\"currentColor\"\r\n />\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M3.25 10.75C3.25 10.3358 3.58579 10 4 10H20C20.4142 10 20.75 10.3358 20.75 10.75C20.75 11.1642 20.4142 11.5 20 11.5H4C3.58579 11.5 3.25 11.1642 3.25 10.75Z\"\r\n fill=\"currentColor\"\r\n />\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M7 14.3929C7 14.0378 7.28782 13.75 7.64286 13.75H9.35714C9.71218 13.75 10 14.0378 10 14.3929V16.1071C10 16.4622 9.71218 16.75 9.35714 16.75H7.64286C7.28782 16.75 7 16.4622 7 16.1071V14.3929Z\"\r\n fill=\"currentColor\"\r\n />\r\n </svg>\r\n );\r\n};\r\n\r\nexport default CalendarIcon;\r\n"],"names":["CalendarIcon","size","props","jsxs","jsx"],"mappings":";AAOA,MAAMA,IAAe,CAAC,EAAE,MAAAC,IAAO,MAAM,GAAGC,QAEpC,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,OAAM;AAAA,IACN,OAAOF,MAAS,OAAO,KAAK;AAAA,IAC5B,QAAQA,MAAS,OAAO,KAAK;AAAA,IAE7B,UAAA;AAAA,MAAA,gBAAAG;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,UAAS;AAAA,UACT,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MACP;AAAA,MACA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,UAAS;AAAA,UACT,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MACP;AAAA,MACA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,UAAS;AAAA,UACT,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MACP;AAAA,MACA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,UAAS;AAAA,UACT,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MACP;AAAA,MACA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,UAAS;AAAA,UACT,UAAS;AAAA,UACT,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MAAA;AAAA,IACP;AAAA,EAAA;AACF;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),i=require("@mantine/dates"),n=require("./CalendarIcon.cjs"),r=e=>t.jsx(i.DatePickerInput,{leftSection:t.jsx(n,{size:e.size}),variant:e.readOnly?"filled":"default",...e});exports.MyDatePickerInput=r;
|
|
2
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/components/MyDatePickerInput/index.tsx"],"sourcesContent":["import { DatePickerInputProps, DatePickerInput } from '@mantine/dates';\r\nimport CalendarIcon from './CalendarIcon';\r\n\r\nexport interface MyDatePickerInputProps extends DatePickerInputProps<any> {}\r\n\r\nexport const MyDatePickerInput = (props: MyDatePickerInputProps) => (\r\n <DatePickerInput\r\n leftSection={<CalendarIcon size={props.size} />}\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyDatePickerInput","props","jsx","DatePickerInput","CalendarIcon"],"mappings":"iLAKaA,EAAqBC,GAChCC,EAAA,IAACC,EAAA,gBAAA,CACC,YAAaD,EAAA,IAACE,EAAa,CAAA,KAAMH,EAAM,KAAM,EAC7C,QAASA,EAAM,SAAW,SAAW,UACpC,GAAGA,CAAA,CACN"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { DatePickerInput as i } from "@mantine/dates";
|
|
3
|
-
import r from "./CalendarIcon.mjs";
|
|
4
|
-
const f = (e) => /* @__PURE__ */ t(
|
|
5
|
-
i,
|
|
6
|
-
{
|
|
7
|
-
leftSection: /* @__PURE__ */ t(r, { size: e.size }),
|
|
8
|
-
variant: e.readOnly ? "filled" : "default",
|
|
9
|
-
...e
|
|
10
|
-
}
|
|
11
|
-
);
|
|
12
|
-
export {
|
|
13
|
-
f as MyDatePickerInput
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../src/components/MyDatePickerInput/index.tsx"],"sourcesContent":["import { DatePickerInputProps, DatePickerInput } from '@mantine/dates';\r\nimport CalendarIcon from './CalendarIcon';\r\n\r\nexport interface MyDatePickerInputProps extends DatePickerInputProps<any> {}\r\n\r\nexport const MyDatePickerInput = (props: MyDatePickerInputProps) => (\r\n <DatePickerInput\r\n leftSection={<CalendarIcon size={props.size} />}\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyDatePickerInput","props","jsx","DatePickerInput","CalendarIcon"],"mappings":";;;AAKa,MAAAA,IAAoB,CAACC,MAChC,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;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),i=require("@mantine/dates"),r=require("../MyDatePickerInput/CalendarIcon.cjs"),a=e=>t.jsx(i.DateTimePicker,{leftSection:t.jsx(r,{size:e.size}),variant:e.readOnly?"filled":"default",...e});exports.MyDateTimePicker=a;
|
|
2
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/components/MyDateTimePicker/index.tsx"],"sourcesContent":["import { DateTimePicker, DateTimePickerProps } from '@mantine/dates';\r\nimport CalendarIcon from '../MyDatePickerInput/CalendarIcon';\r\n\r\nexport interface MyDateTimePickerProps extends DateTimePickerProps {}\r\n\r\nexport const MyDateTimePicker = (props: MyDateTimePickerProps) => (\r\n <DateTimePicker\r\n leftSection={<CalendarIcon size={props.size} />}\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyDateTimePicker","props","jsx","DateTimePicker","CalendarIcon"],"mappings":"oMAKaA,EAAoBC,GAC/BC,EAAA,IAACC,EAAA,eAAA,CACC,YAAaD,EAAA,IAACE,EAAa,CAAA,KAAMH,EAAM,KAAM,EAC7C,QAASA,EAAM,SAAW,SAAW,UACpC,GAAGA,CAAA,CACN"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { DateTimePicker as t } from "@mantine/dates";
|
|
3
|
-
import r from "../MyDatePickerInput/CalendarIcon.mjs";
|
|
4
|
-
const f = (e) => /* @__PURE__ */ i(
|
|
5
|
-
t,
|
|
6
|
-
{
|
|
7
|
-
leftSection: /* @__PURE__ */ i(r, { size: e.size }),
|
|
8
|
-
variant: e.readOnly ? "filled" : "default",
|
|
9
|
-
...e
|
|
10
|
-
}
|
|
11
|
-
);
|
|
12
|
-
export {
|
|
13
|
-
f as MyDateTimePicker
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../src/components/MyDateTimePicker/index.tsx"],"sourcesContent":["import { DateTimePicker, DateTimePickerProps } from '@mantine/dates';\r\nimport CalendarIcon from '../MyDatePickerInput/CalendarIcon';\r\n\r\nexport interface MyDateTimePickerProps extends DateTimePickerProps {}\r\n\r\nexport const MyDateTimePicker = (props: MyDateTimePickerProps) => (\r\n <DateTimePicker\r\n leftSection={<CalendarIcon size={props.size} />}\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyDateTimePicker","props","jsx","DateTimePicker","CalendarIcon"],"mappings":";;;AAKa,MAAAA,IAAmB,CAACC,MAC/B,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;"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),o=require("@mantine/notifications");;/* empty css */const e=i=>t.jsx(o.Notifications,{position:"top-center",...i});exports.MyNotifications=e;
|
|
2
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/components/MyNotifications/index.tsx"],"sourcesContent":["import { Notifications, NotificationsProps } from '@mantine/notifications';\r\nimport '@mantine/notifications/styles.css';\r\n\r\nexport interface MyNotificationPrpos extends NotificationsProps {}\r\n\r\nexport const MyNotifications = (props: MyNotificationPrpos) => (\r\n <Notifications\r\n position=\"top-center\"\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyNotifications","props","jsx","Notifications"],"mappings":"gOAKa,MAAAA,EAAmBC,GAC9BC,EAAA,IAACC,EAAA,cAAA,CACC,SAAS,aACR,GAAGF,CAAA,CACN"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { Notifications as i } from "@mantine/notifications";
|
|
3
|
-
/* empty css */
|
|
4
|
-
const n = (o) => /* @__PURE__ */ t(
|
|
5
|
-
i,
|
|
6
|
-
{
|
|
7
|
-
position: "top-center",
|
|
8
|
-
...o
|
|
9
|
-
}
|
|
10
|
-
);
|
|
11
|
-
export {
|
|
12
|
-
n as MyNotifications
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../src/components/MyNotifications/index.tsx"],"sourcesContent":["import { Notifications, NotificationsProps } from '@mantine/notifications';\r\nimport '@mantine/notifications/styles.css';\r\n\r\nexport interface MyNotificationPrpos extends NotificationsProps {}\r\n\r\nexport const MyNotifications = (props: MyNotificationPrpos) => (\r\n <Notifications\r\n position=\"top-center\"\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyNotifications","props","jsx","Notifications"],"mappings":";;;AAKa,MAAAA,IAAkB,CAACC,MAC9B,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,UAAS;AAAA,IACR,GAAGF;AAAA,EAAA;AACN;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/components/MyNumberInput/index.tsx"],"sourcesContent":["import { NumberInput, NumberInputProps } from '@mantine/core';\r\n\r\nexport interface MyNumberInputProps extends NumberInputProps {}\r\n\r\nexport const MyNumberInput = (props: MyNumberInputProps) => (\r\n <NumberInput\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyNumberInput","props","jsx","NumberInput"],"mappings":"gJAIaA,EAAiBC,GAC5BC,EAAA,IAACC,EAAA,YAAA,CACC,QAASF,EAAM,SAAW,SAAW,UACpC,GAAGA,CAAA,CACN"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { NumberInput as e } from "@mantine/core";
|
|
3
|
-
const o = (r) => /* @__PURE__ */ t(
|
|
4
|
-
e,
|
|
5
|
-
{
|
|
6
|
-
variant: r.readOnly ? "filled" : "default",
|
|
7
|
-
...r
|
|
8
|
-
}
|
|
9
|
-
);
|
|
10
|
-
export {
|
|
11
|
-
o as MyNumberInput
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../src/components/MyNumberInput/index.tsx"],"sourcesContent":["import { NumberInput, NumberInputProps } from '@mantine/core';\r\n\r\nexport interface MyNumberInputProps extends NumberInputProps {}\r\n\r\nexport const MyNumberInput = (props: MyNumberInputProps) => (\r\n <NumberInput\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyNumberInput","props","jsx","NumberInput"],"mappings":";;AAIa,MAAAA,IAAgB,CAACC,MAC5B,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,SAASF,EAAM,WAAW,WAAW;AAAA,IACpC,GAAGA;AAAA,EAAA;AACN;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/components/MySelect/index.tsx"],"sourcesContent":["import { Select, SelectProps } from '@mantine/core';\r\n\r\nexport interface MySelectProps extends SelectProps {}\r\n\r\nexport const MySelect = (props: MySelectProps) => (\r\n <Select\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MySelect","props","jsx","Select"],"mappings":"gJAIaA,EAAYC,GACvBC,EAAA,IAACC,EAAA,OAAA,CACC,QAASF,EAAM,SAAW,SAAW,UACpC,GAAGA,CAAA,CACN"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { Select as l } from "@mantine/core";
|
|
3
|
-
const a = (e) => /* @__PURE__ */ t(
|
|
4
|
-
l,
|
|
5
|
-
{
|
|
6
|
-
variant: e.readOnly ? "filled" : "default",
|
|
7
|
-
...e
|
|
8
|
-
}
|
|
9
|
-
);
|
|
10
|
-
export {
|
|
11
|
-
a as MySelect
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../src/components/MySelect/index.tsx"],"sourcesContent":["import { Select, SelectProps } from '@mantine/core';\r\n\r\nexport interface MySelectProps extends SelectProps {}\r\n\r\nexport const MySelect = (props: MySelectProps) => (\r\n <Select\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MySelect","props","jsx","Select"],"mappings":";;AAIa,MAAAA,IAAW,CAACC,MACvB,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,SAASF,EAAM,WAAW,WAAW;AAAA,IACpC,GAAGA;AAAA,EAAA;AACN;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/components/MyTextInput/index.tsx"],"sourcesContent":["import { TextInput, TextInputProps } from '@mantine/core';\r\n\r\nexport interface MyTextInputProps extends TextInputProps {}\r\n\r\nexport const MyTextInput = (props: MyTextInputProps) => (\r\n <TextInput\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyTextInput","props","jsx","TextInput"],"mappings":"gJAIaA,EAAeC,GAC1BC,EAAA,IAACC,EAAA,UAAA,CACC,QAASF,EAAM,SAAW,SAAW,UACpC,GAAGA,CAAA,CACN"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { TextInput as r } from "@mantine/core";
|
|
3
|
-
const a = (t) => /* @__PURE__ */ e(
|
|
4
|
-
r,
|
|
5
|
-
{
|
|
6
|
-
variant: t.readOnly ? "filled" : "default",
|
|
7
|
-
...t
|
|
8
|
-
}
|
|
9
|
-
);
|
|
10
|
-
export {
|
|
11
|
-
a as MyTextInput
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../src/components/MyTextInput/index.tsx"],"sourcesContent":["import { TextInput, TextInputProps } from '@mantine/core';\r\n\r\nexport interface MyTextInputProps extends TextInputProps {}\r\n\r\nexport const MyTextInput = (props: MyTextInputProps) => (\r\n <TextInput\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyTextInput","props","jsx","TextInput"],"mappings":";;AAIa,MAAAA,IAAc,CAACC,MAC1B,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,SAASF,EAAM,WAAW,WAAW;AAAA,IACpC,GAAGA;AAAA,EAAA;AACN;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/components/MyTextarea/index.tsx"],"sourcesContent":["import { Textarea, TextareaProps } from '@mantine/core';\r\n\r\nexport interface MyTextareaProps extends TextareaProps {}\r\n\r\nexport const MyTextarea = (props: MyTextareaProps) => (\r\n <Textarea\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyTextarea","props","jsx","Textarea"],"mappings":"gJAIaA,EAAcC,GACzBC,EAAA,IAACC,EAAA,SAAA,CACC,QAASF,EAAM,SAAW,SAAW,UACpC,GAAGA,CAAA,CACN"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { Textarea as r } from "@mantine/core";
|
|
3
|
-
const f = (a) => /* @__PURE__ */ e(
|
|
4
|
-
r,
|
|
5
|
-
{
|
|
6
|
-
variant: a.readOnly ? "filled" : "default",
|
|
7
|
-
...a
|
|
8
|
-
}
|
|
9
|
-
);
|
|
10
|
-
export {
|
|
11
|
-
f as MyTextarea
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../src/components/MyTextarea/index.tsx"],"sourcesContent":["import { Textarea, TextareaProps } from '@mantine/core';\r\n\r\nexport interface MyTextareaProps extends TextareaProps {}\r\n\r\nexport const MyTextarea = (props: MyTextareaProps) => (\r\n <Textarea\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyTextarea","props","jsx","Textarea"],"mappings":";;AAIa,MAAAA,IAAa,CAACC,MACzB,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,SAASF,EAAM,WAAW,WAAW;AAAA,IACpC,GAAGA;AAAA,EAAA;AACN;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/components/MyTimeInput/index.tsx"],"sourcesContent":["import { TextInput } from '@mantine/core';\r\nimport { TimeInputProps } from '@mantine/dates';\r\n\r\nexport interface MyTimeInputProps extends TimeInputProps {}\r\n\r\nexport const MyTimeInput = (props: MyTimeInputProps) => (\r\n <TextInput\r\n variant={props.readOnly ? 'filled' : 'default'}\r\n {...props}\r\n />\r\n);\r\n"],"names":["MyTimeInput","props","jsx","TextInput"],"mappings":"gJAKaA,EAAeC,GAC1BC,EAAA,IAACC,EAAA,UAAA,CACC,QAASF,EAAM,SAAW,SAAW,UACpC,GAAGA,CAAA,CACN"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { TextInput as r } from "@mantine/core";
|
|
3
|
-
const n = (t) => /* @__PURE__ */ e(
|
|
4
|
-
r,
|
|
5
|
-
{
|
|
6
|
-
variant: t.readOnly ? "filled" : "default",
|
|
7
|
-
...t
|
|
8
|
-
}
|
|
9
|
-
);
|
|
10
|
-
export {
|
|
11
|
-
n as MyTimeInput
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=index.mjs.map
|