@imj_media/ui 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.esm.js +6703 -9212
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +9 -14
- package/dist/index.js.map +1 -1
- package/dist/modules/Alert/components/atoms/AlertHeader.d.ts.map +1 -1
- package/dist/modules/Button/stories/Button.stories.d.ts.map +1 -1
- package/dist/modules/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/modules/DatePicker/atoms/NavigationButton.d.ts +0 -2
- package/dist/modules/DatePicker/atoms/NavigationButton.d.ts.map +1 -1
- package/dist/modules/DatePicker/molecules/CalendarHeader.d.ts.map +1 -1
- package/dist/modules/DatePicker/molecules/DateInput.d.ts.map +1 -1
- package/dist/modules/DatePicker/molecules/MultipleCalendarsHeader.d.ts.map +1 -1
- package/dist/modules/Dropdown/components/Dropdown.d.ts.map +1 -1
- package/dist/modules/Dropdown/components/organisms/TagsMultiple.d.ts +2 -1
- package/dist/modules/Dropdown/components/organisms/TagsMultiple.d.ts.map +1 -1
- package/dist/modules/Icon/Icon.d.ts +1 -1
- package/dist/modules/Icon/Icon.d.ts.map +1 -1
- package/dist/modules/Icon/components/LegacyIcon.d.ts.map +1 -1
- package/dist/modules/Icon/constants/size.d.ts +2 -0
- package/dist/modules/Icon/constants/size.d.ts.map +1 -1
- package/dist/modules/Icon/stories/Icon.stories.d.ts.map +1 -1
- package/dist/modules/IconFont/components/index.d.ts +2 -0
- package/dist/modules/IconFont/components/index.d.ts.map +1 -0
- package/dist/modules/IconFont/components/organims/IconFont.d.ts +8 -0
- package/dist/modules/IconFont/components/organims/IconFont.d.ts.map +1 -0
- package/dist/modules/IconFont/components/organims/index.d.ts +2 -0
- package/dist/modules/IconFont/components/organims/index.d.ts.map +1 -0
- package/dist/modules/IconFont/index.d.ts +2 -0
- package/dist/modules/IconFont/index.d.ts.map +1 -0
- package/dist/modules/InnerButton/index.d.ts.map +1 -1
- package/dist/modules/InnerButton/stories/InnerButton.stories.d.ts.map +1 -1
- package/dist/modules/Input/components/Input.d.ts.map +1 -1
- package/dist/modules/Input/hooks/useInputSlots.d.ts +4 -4
- package/dist/modules/Input/hooks/useInputSlots.d.ts.map +1 -1
- package/dist/modules/Lightbox/components/organisms/Lightbox.d.ts.map +1 -1
- package/dist/modules/Lists/components/atoms/index.d.ts +0 -1
- package/dist/modules/Lists/components/atoms/index.d.ts.map +1 -1
- package/dist/modules/Lists/components/index.d.ts +0 -1
- package/dist/modules/Lists/components/index.d.ts.map +1 -1
- package/dist/modules/Lists/components/molecules/ListItemRadio.d.ts.map +1 -1
- package/dist/modules/Lists/components/molecules/ListItemToggle.d.ts.map +1 -1
- package/dist/modules/Lists/components/molecules/ListItemUser.d.ts.map +1 -1
- package/dist/modules/Lists/components/organisms/List.d.ts.map +1 -1
- package/dist/modules/Lists/components/organisms/ListAlphabetic.d.ts.map +1 -1
- package/dist/modules/Lists/components/organisms/ListBase.d.ts.map +1 -1
- package/dist/modules/Lists/components/organisms/ListFilters.d.ts.map +1 -1
- package/dist/modules/Lists/components/organisms/ListFiltersCheckbox.d.ts.map +1 -1
- package/dist/modules/Lists/components/organisms/ListUsersSelect.d.ts.map +1 -1
- package/dist/modules/Lists/components/organisms/ListWithToggle.d.ts.map +1 -1
- package/dist/modules/Pagination/components/organisms/Pagination.d.ts.map +1 -1
- package/dist/modules/ProgressBar/components/organisms/Container.d.ts +24 -0
- package/dist/modules/ProgressBar/components/organisms/Container.d.ts.map +1 -0
- package/dist/modules/ProgressBar/components/organisms/atoms/BarProgress.d.ts +17 -0
- package/dist/modules/ProgressBar/components/organisms/atoms/BarProgress.d.ts.map +1 -0
- package/dist/modules/ProgressBar/components/organisms/atoms/HelperText.d.ts +17 -0
- package/dist/modules/ProgressBar/components/organisms/atoms/HelperText.d.ts.map +1 -0
- package/dist/modules/ProgressBar/components/organisms/atoms/LabelProgress.d.ts +17 -0
- package/dist/modules/ProgressBar/components/organisms/atoms/LabelProgress.d.ts.map +1 -0
- package/dist/modules/ProgressBar/components/organisms/atoms/index.d.ts +4 -0
- package/dist/modules/ProgressBar/components/organisms/atoms/index.d.ts.map +1 -0
- package/dist/modules/ProgressBar/components/organisms/index.d.ts +1 -1
- package/dist/modules/ProgressBar/components/organisms/index.d.ts.map +1 -1
- package/dist/modules/ProgressBar/index.d.ts +2 -1
- package/dist/modules/ProgressBar/index.d.ts.map +1 -1
- package/dist/modules/ProgressBar/stories/progressbar.stories.d.ts +18 -3
- package/dist/modules/ProgressBar/stories/progressbar.stories.d.ts.map +1 -1
- package/dist/modules/Table/Table.d.ts +1 -1
- package/dist/modules/Table/Table.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/ActionsCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/ActionsCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/AvatarsCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/AvatarsCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/ButtonCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/ButtonCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/CheckboxCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/CheckboxCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/DateCell.d.ts +34 -0
- package/dist/modules/Table/components/atoms/DateCell.d.ts.map +1 -0
- package/dist/modules/Table/components/atoms/DropdownCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/DropdownCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/FilterIcon.d.ts +5 -0
- package/dist/modules/Table/components/atoms/FilterIcon.d.ts.map +1 -0
- package/dist/modules/Table/components/atoms/IconCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/IconCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/LinkCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/LinkCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/PrimaryCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/PrimaryCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/ProgressBarCell.d.ts +5 -1
- package/dist/modules/Table/components/atoms/ProgressBarCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/SkeletonCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/SkeletonCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/StarsCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/StarsCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/StatusCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/StatusCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/TableCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/TableCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/TagsCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/TagsCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/TextFieldCell.d.ts +1 -1
- package/dist/modules/Table/components/atoms/TextFieldCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/index.d.ts +1 -0
- package/dist/modules/Table/components/atoms/index.d.ts.map +1 -1
- package/dist/modules/Table/components/molecules/CellRenderer.d.ts +5 -1
- package/dist/modules/Table/components/molecules/CellRenderer.d.ts.map +1 -1
- package/dist/modules/Table/components/molecules/FilterCard.d.ts.map +1 -1
- package/dist/modules/Table/components/molecules/HeaderCell.d.ts +1 -1
- package/dist/modules/Table/components/molecules/HeaderCell.d.ts.map +1 -1
- package/dist/modules/Table/components/molecules/TableRow.d.ts +2 -1
- package/dist/modules/Table/components/molecules/TableRow.d.ts.map +1 -1
- package/dist/modules/Table/components/organisms/TableBody.d.ts.map +1 -1
- package/dist/modules/Table/components/organisms/TableHeader.d.ts.map +1 -1
- package/dist/modules/Table/components/organisms/TableToolbar.d.ts +1 -1
- package/dist/modules/Table/components/organisms/TableToolbar.d.ts.map +1 -1
- package/dist/modules/Table/hooks/useTableConfig.d.ts +54 -0
- package/dist/modules/Table/hooks/useTableConfig.d.ts.map +1 -0
- package/dist/modules/Table/stories/Table.stories.d.ts +19 -0
- package/dist/modules/Table/stories/Table.stories.d.ts.map +1 -1
- package/dist/modules/Table/types/filter.d.ts.map +1 -1
- package/dist/modules/Table/utils/cellStyles.d.ts +6 -2
- package/dist/modules/Table/utils/cellStyles.d.ts.map +1 -1
- package/dist/modules/Table/utils/filterUtils.d.ts.map +1 -1
- package/dist/modules/Table/utils/filtering.d.ts.map +1 -1
- package/dist/modules/Tag/index.d.ts.map +1 -1
- package/dist/modules/Textarea/components/organisms/Textarea.d.ts.map +1 -1
- package/dist/modules/Visual/Index.d.ts.map +1 -1
- package/dist/modules/index.d.ts +0 -1
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/shared/const/colors.d.ts +2 -0
- package/dist/shared/const/colors.d.ts.map +1 -1
- package/dist/shared/hooks/useDragAndDrop.d.ts.map +1 -1
- package/dist/shared/types/button.d.ts +2 -2
- package/dist/shared/types/button.d.ts.map +1 -1
- package/dist/shared/types/buttongroup.d.ts +2 -2
- package/dist/shared/types/buttongroup.d.ts.map +1 -1
- package/dist/shared/types/icon.d.ts +5 -4
- package/dist/shared/types/icon.d.ts.map +1 -1
- package/dist/shared/types/list.d.ts +2 -2
- package/dist/shared/types/list.d.ts.map +1 -1
- package/dist/shared/types/progressbar.d.ts +107 -6
- package/dist/shared/types/progressbar.d.ts.map +1 -1
- package/dist/shared/types/table.d.ts +73 -2
- package/dist/shared/types/table.d.ts.map +1 -1
- package/dist/shared/types/title.d.ts +2 -1
- package/dist/shared/types/title.d.ts.map +1 -1
- package/dist/shared/types/types.d.ts +7 -3
- package/dist/shared/types/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/modules/DatePicker/organisms/OldDatepicker.d.ts +0 -60
- package/dist/modules/DatePicker/organisms/OldDatepicker.d.ts.map +0 -1
- package/dist/modules/InnerProgressBar/components/index.d.ts +0 -2
- package/dist/modules/InnerProgressBar/components/index.d.ts.map +0 -1
- package/dist/modules/InnerProgressBar/components/organisms/Container.d.ts +0 -3
- package/dist/modules/InnerProgressBar/components/organisms/Container.d.ts.map +0 -1
- package/dist/modules/InnerProgressBar/components/organisms/atoms/BarProgress.d.ts +0 -6
- package/dist/modules/InnerProgressBar/components/organisms/atoms/BarProgress.d.ts.map +0 -1
- package/dist/modules/InnerProgressBar/components/organisms/atoms/LabelProgress.d.ts +0 -6
- package/dist/modules/InnerProgressBar/components/organisms/atoms/LabelProgress.d.ts.map +0 -1
- package/dist/modules/InnerProgressBar/components/organisms/index.d.ts +0 -2
- package/dist/modules/InnerProgressBar/components/organisms/index.d.ts.map +0 -1
- package/dist/modules/InnerProgressBar/index.d.ts +0 -2
- package/dist/modules/InnerProgressBar/index.d.ts.map +0 -1
- package/dist/modules/InnerProgressBar/stories/progressbar.stories.d.ts +0 -15
- package/dist/modules/InnerProgressBar/stories/progressbar.stories.d.ts.map +0 -1
- package/dist/modules/Lists/components/atoms/DragHandleIcon.d.ts +0 -11
- package/dist/modules/Lists/components/atoms/DragHandleIcon.d.ts.map +0 -1
- package/dist/modules/ProgressBar/components/organisms/ProgressBar.d.ts +0 -8
- package/dist/modules/ProgressBar/components/organisms/ProgressBar.d.ts.map +0 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
+
/**
|
|
3
|
+
* Formatos de fecha disponibles
|
|
4
|
+
* - 'short': 14/12/2025 (dd/MM/yyyy) - POR DEFECTO
|
|
5
|
+
* - 'long': 14 de diciembre de 2025
|
|
6
|
+
* - 'medium': 14 dic 2025
|
|
7
|
+
* - 'iso': 2025-12-14
|
|
8
|
+
* - 'datetime-short': 14/12/2025 14:30
|
|
9
|
+
* - 'datetime-long': 14 de diciembre de 2025 14:30
|
|
10
|
+
* - 'time': 14:30
|
|
11
|
+
* - 'relative': hace 2 días, ayer, hoy, mañana, etc.
|
|
12
|
+
* - 'month-year': diciembre 2025
|
|
13
|
+
* - 'day-month': 14 de diciembre
|
|
14
|
+
*/
|
|
15
|
+
export type DateFormat = 'short' | 'long' | 'medium' | 'iso' | 'datetime-short' | 'datetime-long' | 'time' | 'relative' | 'month-year' | 'day-month';
|
|
16
|
+
export interface DateCellProps extends TableCellComponentProps {
|
|
17
|
+
/** Formato de fecha a usar */
|
|
18
|
+
dateFormat?: DateFormat;
|
|
19
|
+
/** Locale para formateo (por defecto: 'es-ES') */
|
|
20
|
+
locale?: string;
|
|
21
|
+
/** Texto a mostrar cuando la fecha es inválida (por defecto: '-') */
|
|
22
|
+
fallback?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Parsea cualquier valor de fecha a un objeto Date válido
|
|
26
|
+
* Soporta: Date, string ISO, timestamp, y formatos comunes
|
|
27
|
+
*/
|
|
28
|
+
export declare const parseDate: (value: unknown) => Date | null;
|
|
29
|
+
/**
|
|
30
|
+
* Formatea una fecha según el formato especificado
|
|
31
|
+
*/
|
|
32
|
+
export declare const formatDate: (date: Date, format?: DateFormat, locale?: string) => string;
|
|
33
|
+
export declare const DateCell: import('react').MemoExoticComponent<({ value, column, state, className, onCellFocus, stickyLeft, isLastLocked, dateFormat, locale, fallback, }: DateCellProps) => import("react/jsx-runtime").JSX.Element>;
|
|
34
|
+
//# sourceMappingURL=DateCell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/DateCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAI9D;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,UAAU,GAClB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,KAAK,GACL,gBAAgB,GAChB,eAAe,GACf,MAAM,GACN,UAAU,GACV,YAAY,GACZ,WAAW,CAAA;AAEf,MAAM,WAAW,aAAc,SAAQ,uBAAuB;IAC5D,8BAA8B;IAC9B,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,kDAAkD;IAClD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,qEAAqE;IACrE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,OAAO,KAAG,IAAI,GAAG,IAqDjD,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,GACrB,MAAM,IAAI,EACV,SAAQ,UAAoB,EAC5B,SAAQ,MAAgB,KACvB,MAsEF,CAAA;AA6ED,eAAO,MAAM,QAAQ,kJAWlB,aAAa,6CAyCd,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const DropdownCell: ({ value, state, onChange, className, column, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const DropdownCell: ({ value, state, onChange, className, column, onCellFocus, stickyLeft, isLastLocked, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=DropdownCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/DropdownCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAI9D,eAAO,MAAM,YAAY,GAAI,
|
|
1
|
+
{"version":3,"file":"DropdownCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/DropdownCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAI9D,eAAO,MAAM,YAAY,GAAI,uFAS1B,uBAAuB,4CAmBzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterIcon.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/FilterIcon.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAQnD,eAAO,MAAM,UAAU,GAAI,UAAU;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,mDAK5D,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const IconCell: ({ value, column, state, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const IconCell: ({ value, column, state, className, onCellFocus, stickyLeft, isLastLocked, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=IconCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/IconCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAK9D,eAAO,MAAM,QAAQ,GAAI,
|
|
1
|
+
{"version":3,"file":"IconCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/IconCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAK9D,eAAO,MAAM,QAAQ,GAAI,6EAQtB,uBAAuB,4CAiBzB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const LinkCell: ({ value, row, column, state, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const LinkCell: ({ value, row, column, state, className, onCellFocus, stickyLeft, isLastLocked, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=LinkCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/LinkCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAI9D,eAAO,MAAM,QAAQ,GAAI,
|
|
1
|
+
{"version":3,"file":"LinkCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/LinkCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAI9D,eAAO,MAAM,QAAQ,GAAI,kFAStB,uBAAuB,4CA4BzB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const PrimaryCell: import('react').MemoExoticComponent<({ value, row, column, state, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
2
|
+
export declare const PrimaryCell: import('react').MemoExoticComponent<({ value, row, column, state, className, onCellFocus, stickyLeft, isLastLocked, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
3
|
//# sourceMappingURL=PrimaryCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrimaryCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/PrimaryCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAM9D,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"PrimaryCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/PrimaryCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAM9D,eAAO,MAAM,WAAW,yHASrB,uBAAuB,6CA+CxB,CAAA"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Celda de tabla con barra de progreso
|
|
4
|
+
* Reutiliza el componente BarProgress atómico
|
|
5
|
+
*/
|
|
6
|
+
export declare const ProgressBarCell: ({ value, column, state, className, onCellFocus, stickyLeft, isLastLocked, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
7
|
//# sourceMappingURL=ProgressBarCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBarCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/ProgressBarCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"ProgressBarCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/ProgressBarCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAK9D;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,6EAQ7B,uBAAuB,4CA6CzB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const SkeletonCell: ({ column, className, state, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const SkeletonCell: ({ column, className, state, onCellFocus, stickyLeft, isLastLocked, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=SkeletonCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SkeletonCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/SkeletonCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAK9D,eAAO,MAAM,YAAY,GAAI,
|
|
1
|
+
{"version":3,"file":"SkeletonCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/SkeletonCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAK9D,eAAO,MAAM,YAAY,GAAI,sEAO1B,uBAAuB,4CAWzB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const StarsCell: ({ value, column, state, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const StarsCell: ({ value, column, state, className, onCellFocus, stickyLeft, isLastLocked, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=StarsCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StarsCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/StarsCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAK9D,eAAO,MAAM,SAAS,GAAI,
|
|
1
|
+
{"version":3,"file":"StarsCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/StarsCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAK9D,eAAO,MAAM,SAAS,GAAI,6EAQvB,uBAAuB,4CA4BzB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const StatusCell: import('react').MemoExoticComponent<({ value, column, state, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
2
|
+
export declare const StatusCell: import('react').MemoExoticComponent<({ value, column, state, className, onCellFocus, stickyLeft, isLastLocked, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
3
|
//# sourceMappingURL=StatusCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/StatusCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"StatusCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/StatusCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAiB9D,eAAO,MAAM,UAAU,oHAQpB,uBAAuB,6CA8GxB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const TableCell: import('react').MemoExoticComponent<({ value, row, column, state, onChange, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
2
|
+
export declare const TableCell: import('react').MemoExoticComponent<({ value, row, column, state, onChange, className, onCellFocus, stickyLeft, isLastLocked, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
3
|
//# sourceMappingURL=TableCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAK9D,eAAO,MAAM,SAAS,mIAUnB,uBAAuB,6CAgCxB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const TagsCell: import('react').MemoExoticComponent<({ value, column, state, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
2
|
+
export declare const TagsCell: import('react').MemoExoticComponent<({ value, column, state, className, onCellFocus, stickyLeft, isLastLocked, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
3
|
//# sourceMappingURL=TagsCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagsCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/TagsCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AA+B9D,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"TagsCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/TagsCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AA+B9D,eAAO,MAAM,QAAQ,oHAQlB,uBAAuB,6CA0DxB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableCellComponentProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const TextFieldCell: ({ value, column, state, onChange, className, onCellFocus, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const TextFieldCell: ({ value, column, state, onChange, className, onCellFocus, stickyLeft, isLastLocked, }: TableCellComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=TextFieldCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextFieldCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/TextFieldCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAK9D,eAAO,MAAM,aAAa,GAAI,
|
|
1
|
+
{"version":3,"file":"TextFieldCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/TextFieldCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAK9D,eAAO,MAAM,aAAa,GAAI,uFAS3B,uBAAuB,4CA6DzB,CAAA"}
|
|
@@ -13,4 +13,5 @@ export { TagsCell } from './TagsCell';
|
|
|
13
13
|
export { CheckboxCell } from './CheckboxCell';
|
|
14
14
|
export { IconCell } from './IconCell';
|
|
15
15
|
export { StarsCell } from './StarsCell';
|
|
16
|
+
export { DateCell, parseDate, formatDate, type DateFormat, type DateCellProps } from './DateCell';
|
|
16
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -7,7 +7,11 @@ interface CellRendererProps<T = any> {
|
|
|
7
7
|
onCellFocus?: (rowId: string | number, columnId: string) => void;
|
|
8
8
|
isCellFocused?: (rowId: string | number, columnId: string) => boolean;
|
|
9
9
|
onCellChange?: (rowId: string | number, columnId: string, value: any) => void;
|
|
10
|
+
/** Posición left para columnas sticky (en píxeles) */
|
|
11
|
+
stickyLeft?: number;
|
|
12
|
+
/** Es la última columna bloqueada (para mostrar borde separador) */
|
|
13
|
+
isLastLocked?: boolean;
|
|
10
14
|
}
|
|
11
|
-
export declare const CellRenderer: <T>({ column, row, value, selected, onCellFocus, isCellFocused, onCellChange }: CellRendererProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const CellRenderer: <T>({ column, row, value, selected, onCellFocus, isCellFocused, onCellChange, stickyLeft, isLastLocked }: CellRendererProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
12
16
|
export {};
|
|
13
17
|
//# sourceMappingURL=CellRenderer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CellRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/molecules/CellRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAa,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"CellRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/molecules/CellRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAa,MAAM,sBAAsB,CAAA;AAoBzE,UAAU,iBAAiB,CAAC,CAAC,GAAG,GAAG;IACjC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,CAAA;IACvB,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,CAAA;IACjB,KAAK,EAAE,GAAG,CAAA;IACV,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAChE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAA;IACrE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;IAC7E,sDAAsD;IACtD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,oEAAoE;IACpE,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,eAAO,MAAM,YAAY,GAAI,CAAC,EAAG,sGAU9B,iBAAiB,CAAC,CAAC,CAAC,4CAwFtB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterCard.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/molecules/FilterCard.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,oBAAoB,EAAoC,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"FilterCard.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/molecules/FilterCard.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,oBAAoB,EAAoC,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AA4B/G,UAAU,eAAe;IACvB,MAAM,EAAE,oBAAoB,CAAA;IAC5B,UAAU,EAAE,kBAAkB,CAAA;IAC9B,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC,KAAK,IAAI,CAAA;IAC5E,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,UAAU,GAAI,uDAAuD,eAAe,4CAiQhG,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { HeaderCellProps } from '../../../../shared/types/table';
|
|
2
|
-
export declare const HeaderCell: ({ column, sortable, filterable, lockable, resizable, sortDirection, filterActive, locked, onSort, onFilter, onLock, onResize, onResizeDoubleClick, onResizeHover, className, }: HeaderCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const HeaderCell: ({ column, sortable, filterable, lockable, resizable, sortDirection, filterActive, locked, isLastLocked, stickyLeft, onSort, onFilter, onLock, onResize, onResizeDoubleClick, onResizeHover, className, }: HeaderCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=HeaderCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/molecules/HeaderCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"HeaderCell.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/molecules/HeaderCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAMtD,eAAO,MAAM,UAAU,GAAI,0MAkBxB,eAAe,4CAgRjB,CAAA"}
|
|
@@ -3,6 +3,7 @@ interface TableRowProps<T = any> {
|
|
|
3
3
|
row: RowConfig<T>;
|
|
4
4
|
columns: ColumnConfig<T>[];
|
|
5
5
|
selected?: boolean;
|
|
6
|
+
selectedIds?: (string | number)[];
|
|
6
7
|
expandable?: boolean;
|
|
7
8
|
onSelect?: (row: RowConfig<T>) => void;
|
|
8
9
|
onExpand?: (row: RowConfig<T>) => void;
|
|
@@ -13,6 +14,6 @@ interface TableRowProps<T = any> {
|
|
|
13
14
|
isCellFocused?: (rowId: string | number, columnId: string) => boolean;
|
|
14
15
|
onCellChange?: (rowId: string | number, columnId: string, value: any) => void;
|
|
15
16
|
}
|
|
16
|
-
export declare const TableRow: <T>({ row, columns, selected, expandable, onSelect, onExpand, onClick, showSelection, showExpand, onCellFocus, isCellFocused, onCellChange, }: TableRowProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const TableRow: <T>({ row, columns, selected, selectedIds, expandable, onSelect, onExpand, onClick, showSelection, showExpand, onCellFocus, isCellFocused, onCellChange, }: TableRowProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
17
18
|
export {};
|
|
18
19
|
//# sourceMappingURL=TableRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/molecules/TableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/molecules/TableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAM9D,UAAU,aAAa,CAAC,CAAC,GAAG,GAAG;IAC7B,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,CAAA;IACjB,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAA;IACjC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IACtC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IACtC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IACrC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,I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,IAAI,CAAA;SACpB,CAAA;KACF,CAAA;IACD,WAAW,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAA;IACjC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IACxC,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IACzC,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IACzC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAChE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAA;IACrE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;CAC9E;AAED,eAAO,MAAM,SAAS,GAAI,CAAC,EAAG,wKAe3B,cAAc,CAAC,CAAC,CAAC,4CAsDnB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/organisms/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/organisms/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAK7E,UAAU,gBAAgB,CAAC,CAAC,GAAG,GAAG;IAChC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAA;IAC1B,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IACxB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAA;IACzC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACpD,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAChD,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,KAAK,IAAI,CAAA;CAChE;AAED,eAAO,MAAM,WAAW,GAAI,CAAC,EAAG,yLAgB7B,gBAAgB,CAAC,CAAC,CAAC,4CA2JrB,CAAA"}
|
|
@@ -11,6 +11,6 @@ interface TableToolbarProps extends TableToolbarConfig {
|
|
|
11
11
|
onFiltersApply?: (filters: AdvancedFilterConfig[]) => void;
|
|
12
12
|
className?: string;
|
|
13
13
|
}
|
|
14
|
-
export declare const TableToolbar: ({ showSearch, searchPlaceholder,
|
|
14
|
+
export declare const TableToolbar: ({ showSearch, searchPlaceholder, showColumnConfig, showCustomAction, customActionLabel, customActionIcon, showSecondCustomAction, secondCustomActionLabel, secondCustomActionIcon, showFilters, onSearch, onFilter, onCustomAction, onSecondCustomAction, selectedCount, columns, rows, filters, onColumnConfig, onColumnVisibilityChange, onColumnReorder, onFiltersApply, className, }: TableToolbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=TableToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/organisms/TableToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAWvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"TableToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/components/organisms/TableToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAWvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAIzD,UAAU,iBAAkB,SAAQ,kBAAkB;IACpD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IACxB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;IACZ,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAA;IAChC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;IAC3B,wBAAwB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IACvE,eAAe,CAAC,EAAE,CAAC,gBAAgB,EAAE,YAAY,EAAE,KAAK,IAAI,CAAA;IAC5D,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,oBAAoB,EAAE,KAAK,IAAI,CAAA;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,YAAY,GAAI,0XAwB1B,iBAAiB,4CAwYnB,CAAA"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ColumnConfig, TableConfigState, SortConfig, FilterConfig } from '../../../shared/types/table';
|
|
2
|
+
interface UseTableConfigOptions {
|
|
3
|
+
/** Clave única para identificar esta tabla en localStorage */
|
|
4
|
+
configKey?: string;
|
|
5
|
+
/** Habilitar persistencia en localStorage */
|
|
6
|
+
persistConfig?: boolean;
|
|
7
|
+
/** Columnas iniciales de la tabla */
|
|
8
|
+
initialColumns: ColumnConfig[];
|
|
9
|
+
/** Ordenamiento inicial */
|
|
10
|
+
initialSort?: SortConfig;
|
|
11
|
+
/** Filtros iniciales */
|
|
12
|
+
initialFilters?: FilterConfig[];
|
|
13
|
+
/** Callback cuando cambia la configuración */
|
|
14
|
+
onConfigChange?: (config: TableConfigState, changeType: string) => void;
|
|
15
|
+
}
|
|
16
|
+
interface UseTableConfigReturn {
|
|
17
|
+
/** Columnas con la configuración aplicada */
|
|
18
|
+
columns: ColumnConfig[];
|
|
19
|
+
/** Ordenamiento actual */
|
|
20
|
+
sort?: SortConfig;
|
|
21
|
+
/** Filtros actuales */
|
|
22
|
+
filters: FilterConfig[];
|
|
23
|
+
/** Actualizar orden de columnas */
|
|
24
|
+
updateColumnOrder: (newColumns: ColumnConfig[]) => void;
|
|
25
|
+
/** Actualizar visibilidad de columna */
|
|
26
|
+
updateColumnVisibility: (columnId: string, visible: boolean) => void;
|
|
27
|
+
/** Actualizar bloqueo de columna */
|
|
28
|
+
updateColumnLock: (columnId: string, locked: boolean) => void;
|
|
29
|
+
/** Actualizar ancho de columna */
|
|
30
|
+
updateColumnWidth: (columnId: string, width: number | string) => void;
|
|
31
|
+
/** Actualizar ordenamiento */
|
|
32
|
+
updateSort: (newSort: SortConfig) => void;
|
|
33
|
+
/** Actualizar filtros */
|
|
34
|
+
updateFilters: (newFilters: FilterConfig[]) => void;
|
|
35
|
+
/** Resetear configuración a valores iniciales */
|
|
36
|
+
resetConfig: () => void;
|
|
37
|
+
/** Configuración actual completa */
|
|
38
|
+
currentConfig: TableConfigState;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Hook para manejar la persistencia de configuración de tabla en localStorage
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```tsx
|
|
45
|
+
* const { columns, updateColumnOrder, updateColumnLock } = useTableConfig({
|
|
46
|
+
* configKey: 'my-table',
|
|
47
|
+
* persistConfig: true,
|
|
48
|
+
* initialColumns: myColumns,
|
|
49
|
+
* })
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export declare const useTableConfig: ({ configKey, persistConfig, initialColumns, initialSort, initialFilters, onConfigChange, }: UseTableConfigOptions) => UseTableConfigReturn;
|
|
53
|
+
export {};
|
|
54
|
+
//# sourceMappingURL=useTableConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTableConfig.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/hooks/useTableConfig.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAoB,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKjH,UAAU,qBAAqB;IAC7B,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,6CAA6C;IAC7C,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,qCAAqC;IACrC,cAAc,EAAE,YAAY,EAAE,CAAA;IAC9B,2BAA2B;IAC3B,WAAW,CAAC,EAAE,UAAU,CAAA;IACxB,wBAAwB;IACxB,cAAc,CAAC,EAAE,YAAY,EAAE,CAAA;IAC/B,8CAA8C;IAC9C,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;CACxE;AAED,UAAU,oBAAoB;IAC5B,6CAA6C;IAC7C,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,0BAA0B;IAC1B,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,uBAAuB;IACvB,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,mCAAmC;IACnC,iBAAiB,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,KAAK,IAAI,CAAA;IACvD,wCAAwC;IACxC,sBAAsB,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IACpE,oCAAoC;IACpC,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;IAC7D,kCAAkC;IAClC,iBAAiB,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAA;IACrE,8BAA8B;IAC9B,UAAU,EAAE,CAAC,OAAO,EAAE,UAAU,KAAK,IAAI,CAAA;IACzC,yBAAyB;IACzB,aAAa,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,KAAK,IAAI,CAAA;IACnD,iDAAiD;IACjD,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,oCAAoC;IACpC,aAAa,EAAE,gBAAgB,CAAA;CAChC;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,GAAI,4FAO5B,qBAAqB,KAAG,oBAkN1B,CAAA"}
|
|
@@ -67,4 +67,23 @@ export declare const RealData: StoryObj<typeof Table>;
|
|
|
67
67
|
* - `internalFilters`: Aplicar filtros internamente o solo emitir evento (por defecto: false)
|
|
68
68
|
*/
|
|
69
69
|
export declare const ControlDeFiltros: StoryObj<typeof Table>;
|
|
70
|
+
/**
|
|
71
|
+
* Historia para demostrar las diferentes formas de configurar StatusCell
|
|
72
|
+
*/
|
|
73
|
+
export declare const StatusCellExamples: StoryObj<typeof Table>;
|
|
74
|
+
/**
|
|
75
|
+
* Configuración completa de tabla - Screenshot/Showcase
|
|
76
|
+
* Muestra todas las configuraciones posibles de la tabla
|
|
77
|
+
*/
|
|
78
|
+
export declare const TableShowcase: StoryObj<typeof Table>;
|
|
79
|
+
/**
|
|
80
|
+
* Historia para demostrar la persistencia de configuración en localStorage
|
|
81
|
+
*/
|
|
82
|
+
export declare const PersistConfigExample: StoryObj<typeof Table>;
|
|
83
|
+
/**
|
|
84
|
+
* Historia para demostrar filas expandibles con checkboxes individuales
|
|
85
|
+
* Basado en el diseño de Figma: cada fila es un registro individual
|
|
86
|
+
* La selección es INTERNA - no requiere estado externo
|
|
87
|
+
*/
|
|
88
|
+
export declare const ExpandableWithSelection: StoryObj<typeof Table>;
|
|
70
89
|
//# sourceMappingURL=Table.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/stories/Table.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"Table.stories.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/stories/Table.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AA6JhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAoB5B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAA;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAgBzB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAY5B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AAc,EAAE,CAAA;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,cAAc,CAAA;IACxB,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,GAAG,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAC/C;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,oBAAoB,EAiIlD,CAAA"}
|
|
@@ -5,19 +5,23 @@ import { CellState, ColumnConfig } from '../../../shared/types/table';
|
|
|
5
5
|
*
|
|
6
6
|
* @param state - Estado actual de la celda (default, hover, selected, disabled, focused)
|
|
7
7
|
* @param additionalClasses - Clases adicionales opcionales
|
|
8
|
+
* @param locked - Si la columna está bloqueada (sticky)
|
|
9
|
+
* @param isLastLocked - Si es la última columna bloqueada (para mostrar borde separador)
|
|
8
10
|
* @returns String con todas las clases CSS combinadas
|
|
9
11
|
*/
|
|
10
|
-
export declare const getTableCellClasses: (state?: CellState, additionalClasses?: string) => string;
|
|
12
|
+
export declare const getTableCellClasses: (state?: CellState, additionalClasses?: string, locked?: boolean, isLastLocked?: boolean) => string;
|
|
11
13
|
/**
|
|
12
14
|
* Genera las propiedades comunes para una celda (data-attributes y estilos)
|
|
13
15
|
* Mantiene consistencia en anchos y identificadores
|
|
14
16
|
*
|
|
15
17
|
* @param column - Configuración de la columna
|
|
18
|
+
* @param stickyLeftOffset - Offset izquierdo para columnas bloqueadas (default: 0)
|
|
16
19
|
* @returns Objeto con data-attributes y estilos para la celda
|
|
17
20
|
*/
|
|
18
|
-
export declare const getTableCellProps: (column: ColumnConfig) => {
|
|
21
|
+
export declare const getTableCellProps: (column: ColumnConfig, stickyLeft?: number) => {
|
|
19
22
|
'data-column-id': string;
|
|
20
23
|
style: {
|
|
24
|
+
left?: number | undefined;
|
|
21
25
|
width: string | number | undefined;
|
|
22
26
|
minWidth: string | number | undefined;
|
|
23
27
|
maxWidth: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cellStyles.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/cellStyles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAE9D
|
|
1
|
+
{"version":3,"file":"cellStyles.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/cellStyles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAE9D;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,GAC9B,QAAO,SAAqB,EAC5B,oBAAoB,MAAM,EAC1B,SAAS,OAAO,EAChB,eAAe,OAAO,KACrB,MA6BF,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,GAAI,QAAQ,YAAY,EAAE,aAAY,MAAU;;;;;;;;CAa7E,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,GAC1B,GAAG,KAAK,CAAC,UAAU,EACnB,cAAc,MAAM,IAAI,SAIzB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterUtils.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/filterUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"filterUtils.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/filterUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAmGhD;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAC9B,OAAO,GAAG,EACV,UAAU,cAAc,EACxB,aAAa,GAAG,EAChB,eAAe,GAAG,KACjB,OAiJF,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,CAAC,EAAE,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,MAAM,EAAE,SAAS,GAAG,EAAE,KAAG,GAcvF,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,CAAC,EAC5B,MAAM,SAAS,CAAC,CAAC,CAAC,EAAE,EACpB,SAAS,oBAAoB,EAAE,EAC/B,SAAS,GAAG,EAAE,KACb,SAAS,CAAC,CAAC,CAAC,EAoCd,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,SAAS,oBAAoB,EAAE,KAAG,OAElE,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,SAAS,oBAAoB,EAAE,KAAG,MAInE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filtering.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/filtering.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"filtering.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/filtering.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAmD5E,eAAO,MAAM,UAAU,GAAI,CAAC,EAC1B,MAAM,SAAS,CAAC,CAAC,CAAC,EAAE,EACpB,SAAS,YAAY,EAAE,EACvB,SAAS,YAAY,CAAC,CAAC,CAAC,EAAE,KACzB,SAAS,CAAC,CAAC,CAAC,EAiBd,CAAA;AAkHD,eAAO,MAAM,UAAU,GAAI,CAAC,EAC1B,MAAM,SAAS,CAAC,CAAC,CAAC,EAAE,EACpB,aAAa,MAAM,EACnB,SAAS,YAAY,CAAC,CAAC,CAAC,EAAE,KACzB,SAAS,CAAC,CAAC,CAAC,EAkBd,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/Tag/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/Tag/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAS9C,eAAO,MAAM,GAAG,GAAI,uGAYjB,SAAS,4CAkQX,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Textarea/components/organisms/Textarea.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Textarea/components/organisms/Textarea.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAIvD,eAAO,MAAM,QAAQ,GAAI,gJActB,aAAa,4CA2Ff,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Index.d.ts","sourceRoot":"","sources":["../../../src/modules/Visual/Index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAapD,eAAO,MAAM,MAAM,GAAI,mKAcpB,YAAY,
|
|
1
|
+
{"version":3,"file":"Index.d.ts","sourceRoot":"","sources":["../../../src/modules/Visual/Index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAapD,eAAO,MAAM,MAAM,GAAI,mKAcpB,YAAY,mDAyEd,CAAA"}
|
package/dist/modules/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA"}
|
|
@@ -119,5 +119,7 @@ export declare const COLORS_CSS_VARS: {
|
|
|
119
119
|
readonly white: "var(--ui-color-white)";
|
|
120
120
|
readonly black: "var(--ui-color-black)";
|
|
121
121
|
readonly current: "currentColor";
|
|
122
|
+
readonly default: "var(--ui-color-icon-default)";
|
|
123
|
+
readonly danger: "var(--ui-color-icon-danger-default)";
|
|
122
124
|
};
|
|
123
125
|
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../src/shared/const/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwGxB,CAAA;AAED;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../src/shared/const/colors.ts"],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I,CAAA;CACpE;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,UAAU,qBAAqB;;;;;;
|
|
1
|
+
{"version":3,"file":"useDragAndDrop.d.ts","sourceRoot":"","sources":["../../../src/shared/hooks/useDragAndDrop.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,OAAO,CAAA;IACnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;CAC9B;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IACxD,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACxE,SAAS,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAA;IACvC,UAAU,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvE,WAAW,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAA;IACzC,MAAM,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACpE;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,UAAU,qBAAqB;;;;;;CAiQ7D,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonTheme, ButtonColors, IconColor,
|
|
1
|
+
import { ButtonTheme, ButtonColors, IconColor, VisualSlotType, TooltipPosition, TooltipAlignment, TooltipColors, VisualSize, PillSize } from './types';
|
|
2
2
|
import { BadgeColor } from './badge';
|
|
3
3
|
export interface IInnerButtonProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
4
|
ref?: React.RefObject<HTMLButtonElement | HTMLAnchorElement | HTMLDivElement>;
|
|
@@ -13,7 +13,7 @@ export interface IInnerButtonProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
13
13
|
badgeLabel?: string;
|
|
14
14
|
badgeBorder?: boolean;
|
|
15
15
|
color?: ButtonColors;
|
|
16
|
-
icon?:
|
|
16
|
+
icon?: VisualSlotType | React.ReactElement;
|
|
17
17
|
colorIcon?: IconColor;
|
|
18
18
|
slotLeft?: VisualSlotType;
|
|
19
19
|
slotRight?: VisualSlotType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/shared/types/button.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,YAAY,EACZ,SAAS,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/shared/types/button.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,YAAY,EACZ,SAAS,EAGT,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,QAAQ,EACT,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAGpC,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC1E,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,iBAAiB,GAAG,cAAc,CAAC,CAAA;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,KAAK,CAAC,EAAE,WAAW,C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Ae,CAAA;IACjC,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IACnC,YAAY,CAAC,EAAE,aAAa,CAAA;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;IACvC,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAA;CAChB;AAED,MAAM,WAAW,YACf,SAAQ,IAAI,CAAC,iBAAiB,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,cAAc,CAAC;IAC7G,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,CAAA;CAC5D"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ButtonColors, ButtonTheme
|
|
1
|
+
import { ButtonColors, ButtonTheme } from './types';
|
|
2
2
|
export interface ButtonGroupProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
className?: string;
|
|
5
5
|
theme?: ButtonTheme;
|
|
6
6
|
color?: ButtonColors;
|
|
7
|
-
size?:
|
|
7
|
+
size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg';
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=buttongroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttongroup.d.ts","sourceRoot":"","sources":["../../../src/shared/types/buttongroup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"buttongroup.d.ts","sourceRoot":"","sources":["../../../src/shared/types/buttongroup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAe,MAAM,SAAS,CAAA;AAEhE,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CACzC"}
|