@beweco/aurora-ui 0.1.3 → 0.1.5
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/assets/css/styles.css +1 -1
- package/dist/index.cjs.js +1182 -235
- package/dist/index.esm.js +1165 -241
- package/dist/types/components/add-holiday-form/AddHolidayForm.d.ts +10 -0
- package/dist/types/components/add-holiday-form/AddHolidayForm.d.ts.map +1 -0
- package/dist/types/components/add-holiday-form/AddHolidayForm.types.d.ts +56 -0
- package/dist/types/components/add-holiday-form/AddHolidayForm.types.d.ts.map +1 -0
- package/dist/types/components/add-holiday-form/index.d.ts +3 -0
- package/dist/types/components/add-holiday-form/index.d.ts.map +1 -0
- package/dist/types/components/button/Button.types.d.ts +1 -1
- package/dist/types/components/button/Button.types.d.ts.map +1 -1
- package/dist/types/components/color-selector/ColorSelector.d.ts +5 -0
- package/dist/types/components/color-selector/ColorSelector.d.ts.map +1 -0
- package/dist/types/components/color-selector/ColorSelector.types.d.ts +5 -0
- package/dist/types/components/color-selector/ColorSelector.types.d.ts.map +1 -0
- package/dist/types/components/color-selector/index.d.ts +3 -0
- package/dist/types/components/color-selector/index.d.ts.map +1 -0
- package/dist/types/components/datepicker/DatePicker.d.ts +4 -0
- package/dist/types/components/datepicker/DatePicker.d.ts.map +1 -0
- package/dist/types/components/datepicker/DatePicker.types.d.ts +5 -0
- package/dist/types/components/datepicker/DatePicker.types.d.ts.map +1 -0
- package/dist/types/components/datepicker/index.d.ts +3 -0
- package/dist/types/components/datepicker/index.d.ts.map +1 -0
- package/dist/types/components/daterangepicker/DateRangePicker.d.ts +5 -0
- package/dist/types/components/daterangepicker/DateRangePicker.d.ts.map +1 -0
- package/dist/types/components/daterangepicker/DateRangePicker.types.d.ts +5 -0
- package/dist/types/components/daterangepicker/DateRangePicker.types.d.ts.map +1 -0
- package/dist/types/components/daterangepicker/index.d.ts +3 -0
- package/dist/types/components/daterangepicker/index.d.ts.map +1 -0
- package/dist/types/components/h2/H2.d.ts +4 -0
- package/dist/types/components/h2/H2.d.ts.map +1 -0
- package/dist/types/components/h2/H2.types.d.ts +4 -0
- package/dist/types/components/h2/H2.types.d.ts.map +1 -0
- package/dist/types/components/h2/index.d.ts +3 -0
- package/dist/types/components/h2/index.d.ts.map +1 -0
- package/dist/types/components/h3/H3.d.ts +4 -0
- package/dist/types/components/h3/H3.d.ts.map +1 -0
- package/dist/types/components/h3/H3.types.d.ts +4 -0
- package/dist/types/components/h3/H3.types.d.ts.map +1 -0
- package/dist/types/components/h3/index.d.ts +3 -0
- package/dist/types/components/h3/index.d.ts.map +1 -0
- package/dist/types/components/h4/H4.d.ts +4 -0
- package/dist/types/components/h4/H4.d.ts.map +1 -0
- package/dist/types/components/h4/H4.types.d.ts +4 -0
- package/dist/types/components/h4/H4.types.d.ts.map +1 -0
- package/dist/types/components/h4/index.d.ts +3 -0
- package/dist/types/components/h4/index.d.ts.map +1 -0
- package/dist/types/components/input/Input.d.ts.map +1 -1
- package/dist/types/components/modal/Modal.d.ts +5 -0
- package/dist/types/components/modal/Modal.d.ts.map +1 -0
- package/dist/types/components/modal/Modal.types.d.ts +4 -0
- package/dist/types/components/modal/Modal.types.d.ts.map +1 -0
- package/dist/types/components/modal/_internal/ModalBody.d.ts +3 -0
- package/dist/types/components/modal/_internal/ModalBody.d.ts.map +1 -0
- package/dist/types/components/modal/_internal/ModalContent.d.ts +6 -0
- package/dist/types/components/modal/_internal/ModalContent.d.ts.map +1 -0
- package/dist/types/components/modal/_internal/ModalFooter.d.ts +3 -0
- package/dist/types/components/modal/_internal/ModalFooter.d.ts.map +1 -0
- package/dist/types/components/modal/_internal/ModalHeader.d.ts +3 -0
- package/dist/types/components/modal/_internal/ModalHeader.d.ts.map +1 -0
- package/dist/types/components/modal/_internal/index.d.ts +5 -0
- package/dist/types/components/modal/_internal/index.d.ts.map +1 -0
- package/dist/types/components/modal/index.d.ts +4 -0
- package/dist/types/components/modal/index.d.ts.map +1 -0
- package/dist/types/components/p/P.d.ts +4 -0
- package/dist/types/components/p/P.d.ts.map +1 -0
- package/dist/types/components/p/P.types.d.ts +4 -0
- package/dist/types/components/p/P.types.d.ts.map +1 -0
- package/dist/types/components/p/index.d.ts +3 -0
- package/dist/types/components/p/index.d.ts.map +1 -0
- package/dist/types/components/pagination/Pagination.d.ts +5 -0
- package/dist/types/components/pagination/Pagination.d.ts.map +1 -0
- package/dist/types/components/pagination/Pagination.types.d.ts +4 -0
- package/dist/types/components/pagination/Pagination.types.d.ts.map +1 -0
- package/dist/types/components/pagination/index.d.ts +3 -0
- package/dist/types/components/pagination/index.d.ts.map +1 -0
- package/dist/types/components/schedule-row/index.d.ts +3 -0
- package/dist/types/components/schedule-row/index.d.ts.map +1 -0
- package/dist/types/components/schedule-row/schedule-row.d.ts +14 -0
- package/dist/types/components/schedule-row/schedule-row.d.ts.map +1 -0
- package/dist/types/components/schedule-row/schedule-row.types.d.ts +68 -0
- package/dist/types/components/schedule-row/schedule-row.types.d.ts.map +1 -0
- package/dist/types/components/switch/Switch.d.ts +4 -0
- package/dist/types/components/switch/Switch.d.ts.map +1 -0
- package/dist/types/components/switch/Switch.types.d.ts +3 -0
- package/dist/types/components/switch/Switch.types.d.ts.map +1 -0
- package/dist/types/components/switch/index.d.ts +3 -0
- package/dist/types/components/switch/index.d.ts.map +1 -0
- package/dist/types/components/table/AuraTable.d.ts +9 -0
- package/dist/types/components/table/AuraTable.d.ts.map +1 -0
- package/dist/types/components/table/AuraTable.types.d.ts +15 -0
- package/dist/types/components/table/AuraTable.types.d.ts.map +1 -0
- package/dist/types/components/table/_internal/TableBody.d.ts +5 -0
- package/dist/types/components/table/_internal/TableBody.d.ts.map +1 -0
- package/dist/types/components/table/_internal/TableCell.d.ts +4 -0
- package/dist/types/components/table/_internal/TableCell.d.ts.map +1 -0
- package/dist/types/components/table/_internal/TableColumn.d.ts +5 -0
- package/dist/types/components/table/_internal/TableColumn.d.ts.map +1 -0
- package/dist/types/components/table/_internal/TableHeader.d.ts +5 -0
- package/dist/types/components/table/_internal/TableHeader.d.ts.map +1 -0
- package/dist/types/components/table/_internal/TableRow.d.ts +4 -0
- package/dist/types/components/table/_internal/TableRow.d.ts.map +1 -0
- package/dist/types/components/table/_internal/index.d.ts +7 -0
- package/dist/types/components/table/_internal/index.d.ts.map +1 -0
- package/dist/types/components/table/index.d.ts +3 -0
- package/dist/types/components/table/index.d.ts.map +1 -0
- package/dist/types/components/textarea/Textarea.d.ts +7 -0
- package/dist/types/components/textarea/Textarea.d.ts.map +1 -0
- package/dist/types/components/textarea/Textarea.types.d.ts +3 -0
- package/dist/types/components/textarea/Textarea.types.d.ts.map +1 -0
- package/dist/types/components/textarea/index.d.ts +3 -0
- package/dist/types/components/textarea/index.d.ts.map +1 -0
- package/dist/types/components/time-input/TimeInput.d.ts +7 -0
- package/dist/types/components/time-input/TimeInput.d.ts.map +1 -0
- package/dist/types/components/time-input/TimeInput.types.d.ts +5 -0
- package/dist/types/components/time-input/TimeInput.types.d.ts.map +1 -0
- package/dist/types/components/time-input/index.d.ts +3 -0
- package/dist/types/components/time-input/index.d.ts.map +1 -0
- package/dist/types/components/toast/GlobalToast.d.ts +2 -0
- package/dist/types/components/toast/GlobalToast.d.ts.map +1 -0
- package/dist/types/components/toast/index.d.ts +2 -0
- package/dist/types/components/toast/index.d.ts.map +1 -0
- package/dist/types/contexts/theme/index.d.ts +2 -2
- package/dist/types/contexts/theme/index.d.ts.map +1 -1
- package/dist/types/contexts/theme/theme-context.d.ts.map +1 -1
- package/dist/types/contexts/theme/theme-context.type.d.ts +6 -3
- package/dist/types/contexts/theme/theme-context.type.d.ts.map +1 -1
- package/dist/types/contexts/toast/index.d.ts +3 -0
- package/dist/types/contexts/toast/index.d.ts.map +1 -0
- package/dist/types/contexts/toast/toast.context.d.ts +4 -0
- package/dist/types/contexts/toast/toast.context.d.ts.map +1 -0
- package/dist/types/contexts/toast/toast.context.type.d.ts +15 -0
- package/dist/types/contexts/toast/toast.context.type.d.ts.map +1 -0
- package/dist/types/index.d.ts +25 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/providers/theme/theme-provider.d.ts +10 -2
- package/dist/types/providers/theme/theme-provider.d.ts.map +1 -1
- package/dist/types/providers/theme/theme-provider.types.d.ts +8 -0
- package/dist/types/providers/theme/theme-provider.types.d.ts.map +1 -1
- package/dist/types/providers/theme/theme.utils.d.ts +5 -0
- package/dist/types/providers/theme/theme.utils.d.ts.map +1 -0
- package/dist/types/providers/theme/useThemeManager.d.ts +12 -0
- package/dist/types/providers/theme/useThemeManager.d.ts.map +1 -0
- package/dist/types/providers/toast/index.d.ts +2 -0
- package/dist/types/providers/toast/index.d.ts.map +1 -0
- package/dist/types/providers/toast/toast-provider.d.ts +7 -0
- package/dist/types/providers/toast/toast-provider.d.ts.map +1 -0
- package/dist/types/styles/colors.default.d.ts +385 -74
- package/dist/types/styles/colors.default.d.ts.map +1 -1
- package/dist/types/types/calendar.types.d.ts +12 -0
- package/dist/types/types/calendar.types.d.ts.map +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { AddHolidayFormProps } from "./AddHolidayForm.types";
|
|
3
|
+
/**
|
|
4
|
+
* A form component for adding single or date-range holidays.
|
|
5
|
+
* It includes options for setting a date or a date range, an optional title,
|
|
6
|
+
* and handles form submission and state reset.
|
|
7
|
+
* The 'Add' button is disabled until a date is selected.
|
|
8
|
+
*/
|
|
9
|
+
export declare const AddHolidayForm: React.FC<AddHolidayFormProps>;
|
|
10
|
+
//# sourceMappingURL=AddHolidayForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddHolidayForm.d.ts","sourceRoot":"","sources":["../../../../src/components/add-holiday-form/AddHolidayForm.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EACX,mBAAmB,EAEnB,MAAM,wBAAwB,CAAC;AAoBhC;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6IxD,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { RadioGroupProps } from "@heroui/react";
|
|
2
|
+
import type { Holiday } from "../../types/calendar.types";
|
|
3
|
+
import type { ButtonProps } from "../button";
|
|
4
|
+
import type { DateRangePickerProps } from "../daterangepicker";
|
|
5
|
+
/**
|
|
6
|
+
* Defines the translation strings for the AddHolidayForm component.
|
|
7
|
+
*/
|
|
8
|
+
export interface AddHolidayFormTranslations {
|
|
9
|
+
/** Title for the form section. @default "Add holiday" */
|
|
10
|
+
addHolidayTitle?: string;
|
|
11
|
+
/** Label for the 'single day' radio option. @default "Day" */
|
|
12
|
+
dayOption?: string;
|
|
13
|
+
/** Label for the 'date range' radio option. @default "Date range" */
|
|
14
|
+
dateRangeOption?: string;
|
|
15
|
+
/** Aria-label for the date range picker. @default "Select date range" */
|
|
16
|
+
selectDateRangeAriaLabel?: string;
|
|
17
|
+
/** Aria-label for the single date picker. @default "Select date" */
|
|
18
|
+
selectDateAriaLabel?: string;
|
|
19
|
+
/** Label for the holiday title input field. @default "Title (optional)" */
|
|
20
|
+
optionalTitle?: string;
|
|
21
|
+
/** Placeholder for the holiday title input field. @default "e.g., Summer vacation" */
|
|
22
|
+
titlePlaceholder?: string;
|
|
23
|
+
/** Text for the add button. @default "Add" */
|
|
24
|
+
addButton?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Defines the props for the AddHolidayForm component.
|
|
28
|
+
*/
|
|
29
|
+
export interface AddHolidayFormProps {
|
|
30
|
+
/**
|
|
31
|
+
* Custom translation strings for the component.
|
|
32
|
+
*/
|
|
33
|
+
translations?: AddHolidayFormTranslations;
|
|
34
|
+
/**
|
|
35
|
+
* Callback function triggered when the 'add' button is clicked.
|
|
36
|
+
* @param holiday - The new holiday object to be added.
|
|
37
|
+
*/
|
|
38
|
+
onAddHoliday: (holiday: Omit<Holiday, "id">) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Optional CSS class name for the root element.
|
|
41
|
+
*/
|
|
42
|
+
className?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Props to be passed to the underlying HeroUI RadioGroup component.
|
|
45
|
+
*/
|
|
46
|
+
radioGroupProps?: RadioGroupProps;
|
|
47
|
+
/**
|
|
48
|
+
* Props to be passed to the underlying DateRangePicker component.
|
|
49
|
+
*/
|
|
50
|
+
dateRangePickerProps?: DateRangePickerProps;
|
|
51
|
+
/**
|
|
52
|
+
* Props to be passed to the underlying Button component.
|
|
53
|
+
*/
|
|
54
|
+
buttonProps?: ButtonProps;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=AddHolidayForm.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddHolidayForm.types.d.ts","sourceRoot":"","sources":["../../../../src/components/add-holiday-form/AddHolidayForm.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,0BAA0B;IAC1C,yDAAyD;IACzD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qEAAqE;IACrE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yEAAyE;IACzE,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,oEAAoE;IACpE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,2EAA2E;IAC3E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sFAAsF;IACtF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,0BAA0B,CAAC;IAC1C;;;OAGG;IACH,YAAY,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,IAAI,CAAC;IACrD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;OAEG;IACH,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/add-holiday-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EACX,mBAAmB,EACnB,0BAA0B,GAC1B,MAAM,wBAAwB,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type React from "react";
|
|
|
3
3
|
export type ButtonProps = Omit<HeroUIButtonProps, "color" | "size" | "variant" | "radius"> & {
|
|
4
4
|
color?: "primary" | "default" | "secondary" | "success" | "warning" | "danger";
|
|
5
5
|
size?: "sm" | "md" | "lg";
|
|
6
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "faded";
|
|
6
|
+
variant?: "solid" | "bordered" | "light" | "flat" | "faded" | "ghost" | "shadow";
|
|
7
7
|
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
8
8
|
startContent?: React.ReactNode;
|
|
9
9
|
endContent?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.types.d.ts","sourceRoot":"","sources":["../../../../src/components/button/Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,WAAW,GAAG,IAAI,CAC7B,iBAAiB,EACjB,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CACvC,GAAG;IACH,KAAK,CAAC,EACH,SAAS,GACT,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,QAAQ,CAAC;IACZ,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"Button.types.d.ts","sourceRoot":"","sources":["../../../../src/components/button/Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,WAAW,GAAG,IAAI,CAC7B,iBAAiB,EACjB,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CACvC,GAAG;IACH,KAAK,CAAC,EACH,SAAS,GACT,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,QAAQ,CAAC;IACZ,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EACL,OAAO,GACP,UAAU,GACV,OAAO,GACP,MAAM,GACN,OAAO,GACP,OAAO,GACP,QAAQ,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IAC9C,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/color-selector/ColorSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAEvE,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAgEtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorSelector.types.d.ts","sourceRoot":"","sources":["../../../../src/components/color-selector/ColorSelector.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACzC,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/color-selector/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/datepicker/DatePicker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAsBhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePicker.types.d.ts","sourceRoot":"","sources":["../../../../src/components/datepicker/DatePicker.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,IAAI,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAE5E,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,mBAAmB,EAAE,OAAO,CAAC,GAAG;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/datepicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/daterangepicker/DateRangePicker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,wBAAwB,CAAC;AAEhC,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAsB1D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateRangePicker.types.d.ts","sourceRoot":"","sources":["../../../../src/components/daterangepicker/DateRangePicker.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,IAAI,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAEtF,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,wBAAwB,EAAE,OAAO,CAAC,GAAG;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/daterangepicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,YAAY,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"H2.d.ts","sourceRoot":"","sources":["../../../../src/components/h2/H2.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,OAAO,CAMhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"H2.types.d.ts","sourceRoot":"","sources":["../../../../src/components/h2/H2.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,OAAQ,SAAQ,cAAc,CAAC,kBAAkB,CAAC;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/h2/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"H3.d.ts","sourceRoot":"","sources":["../../../../src/components/h3/H3.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,OAAO,CAMhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"H3.types.d.ts","sourceRoot":"","sources":["../../../../src/components/h3/H3.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,OAAQ,SAAQ,cAAc,CAAC,kBAAkB,CAAC;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/h3/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"H4.d.ts","sourceRoot":"","sources":["../../../../src/components/h4/H4.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,OAAO,CAMhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"H4.types.d.ts","sourceRoot":"","sources":["../../../../src/components/h4/H4.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,OAAQ,SAAQ,cAAc,CAAC,kBAAkB,CAAC;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/h4/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,cAAc,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA6BtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/Modal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,QAAA,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CASzB,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.types.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/Modal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEpE,MAAM,WAAW,UAAW,SAAQ,gBAAgB;CAEnD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalBody.d.ts","sourceRoot":"","sources":["../../../../../src/components/modal/_internal/ModalBody.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS,gHAAkB,CAAC;AAElC,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/modal/_internal/ModalContent.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,YAAY;;;CAAqB,CAAC;AAExC,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/modal/_internal/ModalFooter.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW,qHAAoB,CAAC;AAEtC,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/modal/_internal/ModalHeader.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW,qHAAoB,CAAC;AAEtC,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/modal/_internal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"P.d.ts","sourceRoot":"","sources":["../../../../src/components/p/P.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,eAAO,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAM9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"P.types.d.ts","sourceRoot":"","sources":["../../../../src/components/p/P.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,MAAO,SAAQ,cAAc,CAAC,oBAAoB,CAAC;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/p/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/Pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAEzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pagination.types.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/Pagination.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,IAAI,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAE9E,MAAM,WAAW,eAAgB,SAAQ,qBAAqB;CAE7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/schedule-row/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EACX,gBAAgB,EAChB,WAAW,EACX,QAAQ,GACR,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { ScheduleRowProps } from "./schedule-row.types";
|
|
3
|
+
/**
|
|
4
|
+
* @component ScheduleRow
|
|
5
|
+
* @description A React component for managing the schedule of a single day.
|
|
6
|
+
* It allows users to open or close the schedule, add or remove time slots,
|
|
7
|
+
* and modify the start and end times of each slot. The component is fully
|
|
8
|
+
* controlled and reports changes to the parent via the `onChange` callback.
|
|
9
|
+
*
|
|
10
|
+
* @param {ScheduleRowProps} props - The props for the component.
|
|
11
|
+
* @returns {React.ReactElement} The rendered ScheduleRow component.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ScheduleRow: React.FC<ScheduleRowProps>;
|
|
14
|
+
//# sourceMappingURL=schedule-row.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedule-row.d.ts","sourceRoot":"","sources":["../../../../src/components/schedule-row/schedule-row.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,gBAAgB,EAAY,MAAM,sBAAsB,CAAC;AAEvE;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA4LlD,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @interface TimeSlot
|
|
3
|
+
* @description Represents a single time slot with a start and end time.
|
|
4
|
+
* @property {string} from - The start time of the slot (e.g., "09:00").
|
|
5
|
+
* @property {string} to - The end time of the slot (e.g., "17:00").
|
|
6
|
+
* @property {string | null} [error] - An optional error message for the time slot.
|
|
7
|
+
*/
|
|
8
|
+
export interface TimeSlot {
|
|
9
|
+
from: string;
|
|
10
|
+
to: string;
|
|
11
|
+
error?: string | null;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @interface DaySchedule
|
|
15
|
+
* @description Represents the schedule for a single day, including its open status and time slots.
|
|
16
|
+
* @property {boolean} isOpen - Whether the schedule for this day is active.
|
|
17
|
+
* @property {TimeSlot[]} timeSlots - An array of time slots for the day.
|
|
18
|
+
*/
|
|
19
|
+
export interface DaySchedule {
|
|
20
|
+
isOpen: boolean;
|
|
21
|
+
timeSlots: TimeSlot[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @interface ScheduleRowProps
|
|
25
|
+
* @description Props for the ScheduleRow component.
|
|
26
|
+
*/
|
|
27
|
+
export type ScheduleRowProps = {
|
|
28
|
+
/**
|
|
29
|
+
* @property {string} day - The day of the week for this schedule row (e.g., "Monday").
|
|
30
|
+
*/
|
|
31
|
+
day: string;
|
|
32
|
+
/**
|
|
33
|
+
* @property {DaySchedule} daySchedule - The initial schedule data for the day.
|
|
34
|
+
*/
|
|
35
|
+
daySchedule: DaySchedule;
|
|
36
|
+
/**
|
|
37
|
+
* @property {object} translations - An object containing translated strings for the component.
|
|
38
|
+
* @property {string} translations.from - Label for the "from" time input.
|
|
39
|
+
* @property {string} translations.to - Label for the "to" time input.
|
|
40
|
+
* @property {string} translations.open - Text to display when the schedule is open.
|
|
41
|
+
* @property {string} translations.closed - Text to display when the schedule is closed.
|
|
42
|
+
* @property {string} translations.copyToAll - Label for the "Copy to all" button.
|
|
43
|
+
* @property {string} translations.addTimeSlot - Label for the "Add time slot" button.
|
|
44
|
+
*/
|
|
45
|
+
translations: {
|
|
46
|
+
from: string;
|
|
47
|
+
to: string;
|
|
48
|
+
open: string;
|
|
49
|
+
closed: string;
|
|
50
|
+
copyToAll: string;
|
|
51
|
+
addTimeSlot: string;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* @function onChange
|
|
55
|
+
* @description Callback function that is invoked when the schedule is modified.
|
|
56
|
+
* @param {DaySchedule} newSchedule - The updated schedule object.
|
|
57
|
+
* @returns {void}
|
|
58
|
+
*/
|
|
59
|
+
onChange: (newSchedule: DaySchedule) => void;
|
|
60
|
+
/**
|
|
61
|
+
* @function onCopyToAll
|
|
62
|
+
* @description Callback function that is invoked when the "Copy to all" button is clicked.
|
|
63
|
+
* @param {DaySchedule} schedule - The current schedule object to be copied.
|
|
64
|
+
* @returns {void}
|
|
65
|
+
*/
|
|
66
|
+
onCopyToAll: (day: string) => void;
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=schedule-row.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedule-row.types.d.ts","sourceRoot":"","sources":["../../../../src/components/schedule-row/schedule-row.types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,QAAQ;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED;;;;;GAKG;AACH,MAAM,WAAW,WAAW;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,QAAQ,EAAE,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC;IACzB;;;;;;;;OAQG;IACH,YAAY,EAAE;QACb,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;KACpB,CAAC;IACF;;;;;OAKG;IACH,QAAQ,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAC;IAC7C;;;;;OAKG;IACH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/Switch.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAKxC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Switch.types.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/Switch.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEtE,MAAM,MAAM,WAAW,GAAG,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,UAAU,CAAC;AACrD,YAAY,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { AuraTableProps, TableItem } from "./AuraTable.types";
|
|
3
|
+
type AuraTableWithChildrenProps<T extends TableItem> = AuraTableProps<T> & {
|
|
4
|
+
renderCell?: (item: T, columnKey: string | number) => React.ReactNode;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export declare function AuraTable<T extends TableItem>({ columns, items, renderCell, children, ...props }: AuraTableWithChildrenProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=AuraTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuraTable.d.ts","sourceRoot":"","sources":["../../../../src/components/table/AuraTable.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnE,KAAK,0BAA0B,CAAC,CAAC,SAAS,SAAS,IAAI,cAAc,CAAC,CAAC,CAAC,GAAG;IAC1E,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACtE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,wBAAgB,SAAS,CAAC,CAAC,SAAS,SAAS,EAAE,EAC9C,OAAO,EACP,KAAK,EACL,UAAU,EACV,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,0BAA0B,CAAC,CAAC,CAAC,2CAoB/B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { TableProps as HeroTableProps } from "@heroui/react";
|
|
2
|
+
import type React from "react";
|
|
3
|
+
export interface ColumnDef {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export interface TableItem {
|
|
8
|
+
id: string | number;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export type AuraTableProps<T extends TableItem> = Omit<HeroTableProps, "children"> & {
|
|
12
|
+
columns: ColumnDef[];
|
|
13
|
+
items: T[];
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=AuraTable.types.d.ts.map
|