@imj_media/ui 1.2.82 → 1.2.84
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/CHANGELOG.md +31 -0
- package/README.md +1 -1
- package/dist/index.css +1 -1
- package/dist/index.esm.js +9499 -9283
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/modules/Modal/Modal.d.ts.map +1 -1
- package/dist/modules/Popup/hooks/usePopup.d.ts +0 -2
- package/dist/modules/Popup/hooks/usePopup.d.ts.map +1 -1
- package/dist/modules/Popup/index.d.ts +1 -0
- package/dist/modules/Popup/index.d.ts.map +1 -1
- package/dist/modules/Popup/stories/popup.stories.d.ts +28 -2
- package/dist/modules/Popup/stories/popup.stories.d.ts.map +1 -1
- package/dist/modules/Popup/utils/popupPosition.d.ts +48 -0
- package/dist/modules/Popup/utils/popupPosition.d.ts.map +1 -0
- package/dist/modules/Popup/utils/popupPosition.test.d.ts +2 -0
- package/dist/modules/Popup/utils/popupPosition.test.d.ts.map +1 -0
- 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.map +1 -1
- package/dist/modules/Table/components/atoms/LinkCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/PrimaryCell.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/TableCell.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.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 +2 -1
- package/dist/modules/Table/components/organisms/TableBody.d.ts.map +1 -1
- package/dist/modules/Table/components/organisms/TableContent.d.ts +3 -1
- package/dist/modules/Table/components/organisms/TableContent.d.ts.map +1 -1
- package/dist/modules/Table/hooks/useTableSelection.d.ts +5 -1
- package/dist/modules/Table/hooks/useTableSelection.d.ts.map +1 -1
- package/dist/modules/Table/queries/hooks/useTableQuery.d.ts +1 -1
- package/dist/modules/Table/stories/ExcludedRowsSelection.stories.d.ts +93 -0
- package/dist/modules/Table/stories/ExcludedRowsSelection.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/Table.stories.d.ts +4 -5
- package/dist/modules/Table/stories/Table.stories.d.ts.map +1 -1
- package/dist/modules/Table/stories/cells/00-CatalogoCompleto.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/00-CatalogoCompleto.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/01-Default.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/01-Default.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/02-Primary.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/02-Primary.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/03-Status.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/03-Status.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/04-Actions.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/04-Actions.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/05-Link.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/05-Link.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/06-Avatars.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/06-Avatars.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/07-TextField.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/07-TextField.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/08-Dropdown.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/08-Dropdown.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/09-Button.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/09-Button.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/10-ProgressBar.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/10-ProgressBar.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/11-Skeleton.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/11-Skeleton.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/12-Tags.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/12-Tags.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/13-Checkbox.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/13-Checkbox.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/14-Icon.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/14-Icon.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/15-Stars.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/15-Stars.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/16-Date.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/16-Date.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/17-NumberNumeric.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/17-NumberNumeric.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/18-BooleanYSelect.stories.d.ts +20 -0
- package/dist/modules/Table/stories/cells/18-BooleanYSelect.stories.d.ts.map +1 -0
- package/dist/modules/Table/stories/cells/shared/tableCellsDecorator.d.ts +7 -0
- package/dist/modules/Table/stories/cells/shared/tableCellsDecorator.d.ts.map +1 -0
- package/dist/modules/Table/utils/excludedRows.d.ts +6 -0
- package/dist/modules/Table/utils/excludedRows.d.ts.map +1 -0
- package/dist/modules/Table/utils/excludedRows.test.d.ts +2 -0
- package/dist/modules/Table/utils/excludedRows.test.d.ts.map +1 -0
- 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/Table/utils/index.d.ts +3 -0
- package/dist/modules/Table/utils/index.d.ts.map +1 -1
- package/dist/modules/Table/utils/tableColumnTransforms.d.ts +15 -0
- package/dist/modules/Table/utils/tableColumnTransforms.d.ts.map +1 -0
- package/dist/modules/Table/utils/tableColumnTransforms.test.d.ts +2 -0
- package/dist/modules/Table/utils/tableColumnTransforms.test.d.ts.map +1 -0
- package/dist/modules/Table/utils/tableDataPipeline.d.ts +38 -0
- package/dist/modules/Table/utils/tableDataPipeline.d.ts.map +1 -0
- package/dist/modules/Table/utils/tableDataPipeline.test.d.ts +2 -0
- package/dist/modules/Table/utils/tableDataPipeline.test.d.ts.map +1 -0
- package/dist/modules/Table/utils/tableFilterDateHelpers.d.ts +20 -0
- package/dist/modules/Table/utils/tableFilterDateHelpers.d.ts.map +1 -0
- package/dist/modules/Tooltip/hooks/useTooltip.d.ts.map +1 -1
- package/dist/modules/Tooltip/utils/tooltipPosition.d.ts +27 -0
- package/dist/modules/Tooltip/utils/tooltipPosition.d.ts.map +1 -0
- package/dist/modules/Tooltip/utils/tooltipPosition.test.d.ts +2 -0
- package/dist/modules/Tooltip/utils/tooltipPosition.test.d.ts.map +1 -0
- package/dist/modules/Wysiwyg/hooks/useWysiwyg.d.ts.map +1 -1
- package/dist/modules/Wysiwyg/utils/wysiwygEditorUtils.d.ts +21 -0
- package/dist/modules/Wysiwyg/utils/wysiwygEditorUtils.d.ts.map +1 -0
- package/dist/modules/Wysiwyg/utils/wysiwygEditorUtils.test.d.ts +2 -0
- package/dist/modules/Wysiwyg/utils/wysiwygEditorUtils.test.d.ts.map +1 -0
- package/dist/shared/types/modal.d.ts +5 -2
- package/dist/shared/types/modal.d.ts.map +1 -1
- package/dist/shared/types/table.d.ts +45 -2
- package/dist/shared/types/table.d.ts.map +1 -1
- package/package.json +134 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Table } from '../../Table';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, excludedRows, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, borderable, hoverable, dense, stickyHeader, stickyCheckbox, stickyActions, showEditActions, configKey, persistConfig, queryPersist, onConfigChange, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, editingRowIds, onEditingRowIdsChange, onEditModeChange, onSuccessComplete, }: import('../../../../shared/types/table').TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
decorators: import('@storybook/react').Decorator[];
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type Story = StoryObj<typeof Table>;
|
|
19
|
+
export declare const Ejemplos: Story;
|
|
20
|
+
//# sourceMappingURL=06-Avatars.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"06-Avatars.stories.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/stories/cells/06-Avatars.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;AAKpC,wBAa+B;AAE/B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAwCpC,eAAO,MAAM,QAAQ,EAAE,KAqBtB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Table } from '../../Table';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, excludedRows, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, borderable, hoverable, dense, stickyHeader, stickyCheckbox, stickyActions, showEditActions, configKey, persistConfig, queryPersist, onConfigChange, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, editingRowIds, onEditingRowIdsChange, onEditModeChange, onSuccessComplete, }: import('../../../../shared/types/table').TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
decorators: import('@storybook/react').Decorator[];
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type Story = StoryObj<typeof Table>;
|
|
19
|
+
export declare const Ejemplos: Story;
|
|
20
|
+
//# sourceMappingURL=07-TextField.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"07-TextField.stories.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/stories/cells/07-TextField.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;AAKpC,wBAc+B;AAE/B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAkDpC,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Table } from '../../Table';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, excludedRows, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, borderable, hoverable, dense, stickyHeader, stickyCheckbox, stickyActions, showEditActions, configKey, persistConfig, queryPersist, onConfigChange, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, editingRowIds, onEditingRowIdsChange, onEditModeChange, onSuccessComplete, }: import('../../../../shared/types/table').TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
decorators: import('@storybook/react').Decorator[];
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type Story = StoryObj<typeof Table>;
|
|
19
|
+
export declare const Ejemplos: Story;
|
|
20
|
+
//# sourceMappingURL=08-Dropdown.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"08-Dropdown.stories.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/stories/cells/08-Dropdown.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;AAKpC,wBAc+B;AAE/B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAuDpC,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Table } from '../../Table';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, excludedRows, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, borderable, hoverable, dense, stickyHeader, stickyCheckbox, stickyActions, showEditActions, configKey, persistConfig, queryPersist, onConfigChange, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, editingRowIds, onEditingRowIdsChange, onEditModeChange, onSuccessComplete, }: import('../../../../shared/types/table').TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
decorators: import('@storybook/react').Decorator[];
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type Story = StoryObj<typeof Table>;
|
|
19
|
+
export declare const Ejemplos: Story;
|
|
20
|
+
//# sourceMappingURL=09-Button.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"09-Button.stories.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/stories/cells/09-Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;AAKpC,wBAa+B;AAE/B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAyCpC,eAAO,MAAM,QAAQ,EAAE,KAgBtB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Table } from '../../Table';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, excludedRows, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, borderable, hoverable, dense, stickyHeader, stickyCheckbox, stickyActions, showEditActions, configKey, persistConfig, queryPersist, onConfigChange, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, editingRowIds, onEditingRowIdsChange, onEditModeChange, onSuccessComplete, }: import('../../../../shared/types/table').TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
decorators: import('@storybook/react').Decorator[];
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type Story = StoryObj<typeof Table>;
|
|
19
|
+
export declare const Ejemplos: Story;
|
|
20
|
+
//# sourceMappingURL=10-ProgressBar.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"10-ProgressBar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/stories/cells/10-ProgressBar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;AAKpC,wBAc+B;AAE/B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAmBpC,eAAO,MAAM,QAAQ,EAAE,KActB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Table } from '../../Table';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, excludedRows, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, borderable, hoverable, dense, stickyHeader, stickyCheckbox, stickyActions, showEditActions, configKey, persistConfig, queryPersist, onConfigChange, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, editingRowIds, onEditingRowIdsChange, onEditModeChange, onSuccessComplete, }: import('../../../../shared/types/table').TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
decorators: import('@storybook/react').Decorator[];
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type Story = StoryObj<typeof Table>;
|
|
19
|
+
export declare const Ejemplos: Story;
|
|
20
|
+
//# sourceMappingURL=11-Skeleton.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"11-Skeleton.stories.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/stories/cells/11-Skeleton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;AAKpC,wBAc+B;AAE/B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAepC,eAAO,MAAM,QAAQ,EAAE,KActB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Table } from '../../Table';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, excludedRows, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, borderable, hoverable, dense, stickyHeader, stickyCheckbox, stickyActions, showEditActions, configKey, persistConfig, queryPersist, onConfigChange, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, editingRowIds, onEditingRowIdsChange, onEditModeChange, onSuccessComplete, }: import('../../../../shared/types/table').TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
decorators: import('@storybook/react').Decorator[];
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type Story = StoryObj<typeof Table>;
|
|
19
|
+
export declare const Ejemplos: Story;
|
|
20
|
+
//# sourceMappingURL=12-Tags.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"12-Tags.stories.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/stories/cells/12-Tags.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;AAMpC,wBAc+B;AAE/B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AA2CpC,eAAO,MAAM,QAAQ,EAAE,KAyBtB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Table } from '../../Table';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, excludedRows, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, borderable, hoverable, dense, stickyHeader, stickyCheckbox, stickyActions, showEditActions, configKey, persistConfig, queryPersist, onConfigChange, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, editingRowIds, onEditingRowIdsChange, onEditModeChange, onSuccessComplete, }: import('../../../../shared/types/table').TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
decorators: import('@storybook/react').Decorator[];
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type Story = StoryObj<typeof Table>;
|
|
19
|
+
export declare const Ejemplos: Story;
|
|
20
|
+
//# sourceMappingURL=13-Checkbox.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"13-Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/stories/cells/13-Checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;AAKpC,wBAc+B;AAE/B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AA8CpC,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Table } from '../../Table';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, excludedRows, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, borderable, hoverable, dense, stickyHeader, stickyCheckbox, stickyActions, showEditActions, configKey, persistConfig, queryPersist, onConfigChange, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, editingRowIds, onEditingRowIdsChange, onEditModeChange, onSuccessComplete, }: import('../../../../shared/types/table').TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
decorators: import('@storybook/react').Decorator[];
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type Story = StoryObj<typeof Table>;
|
|
19
|
+
export declare const Ejemplos: Story;
|
|
20
|
+
//# sourceMappingURL=14-Icon.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"14-Icon.stories.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/stories/cells/14-Icon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;AAMpC,wBAc+B;AAE/B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAqBpC,eAAO,MAAM,QAAQ,EAAE,KAqBtB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Table } from '../../Table';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, excludedRows, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, borderable, hoverable, dense, stickyHeader, stickyCheckbox, stickyActions, showEditActions, configKey, persistConfig, queryPersist, onConfigChange, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, editingRowIds, onEditingRowIdsChange, onEditModeChange, onSuccessComplete, }: import('../../../../shared/types/table').TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
decorators: import('@storybook/react').Decorator[];
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type Story = StoryObj<typeof Table>;
|
|
19
|
+
export declare const Ejemplos: Story;
|
|
20
|
+
//# sourceMappingURL=15-Stars.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"15-Stars.stories.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/stories/cells/15-Stars.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;AAKpC,wBAc+B;AAE/B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAkBpC,eAAO,MAAM,QAAQ,EAAE,KActB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Table } from '../../Table';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, excludedRows, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, borderable, hoverable, dense, stickyHeader, stickyCheckbox, stickyActions, showEditActions, configKey, persistConfig, queryPersist, onConfigChange, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, editingRowIds, onEditingRowIdsChange, onEditModeChange, onSuccessComplete, }: import('../../../../shared/types/table').TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
decorators: import('@storybook/react').Decorator[];
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type Story = StoryObj<typeof Table>;
|
|
19
|
+
export declare const Ejemplos: Story;
|
|
20
|
+
//# sourceMappingURL=16-Date.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"16-Date.stories.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/stories/cells/16-Date.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;AAKpC,wBAc+B;AAE/B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAyCpC,eAAO,MAAM,QAAQ,EAAE,KAsBtB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Table } from '../../Table';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, excludedRows, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, borderable, hoverable, dense, stickyHeader, stickyCheckbox, stickyActions, showEditActions, configKey, persistConfig, queryPersist, onConfigChange, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, editingRowIds, onEditingRowIdsChange, onEditModeChange, onSuccessComplete, }: import('../../../../shared/types/table').TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
decorators: import('@storybook/react').Decorator[];
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type Story = StoryObj<typeof Table>;
|
|
19
|
+
export declare const Ejemplos: Story;
|
|
20
|
+
//# sourceMappingURL=17-NumberNumeric.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"17-NumberNumeric.stories.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/stories/cells/17-NumberNumeric.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;AAKpC,wBAc+B;AAE/B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAkCpC,eAAO,MAAM,QAAQ,EAAE,KAmBtB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Table } from '../../Table';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: <T>({ columns: initialColumns, rows: initialRows, loading, empty, selection, excludedRows, pagination: paginationConfig, toolbar: toolbarConfig, sort: initialSort, filters: initialFilters, expandable, resizable, striped, bordered, borderable, hoverable, dense, stickyHeader, stickyCheckbox, stickyActions, showEditActions, configKey, persistConfig, queryPersist, onConfigChange, className, onSort, onFilter, onColumnResize, onColumnReorder, onColumnVisibilityChange, onRowClick, onRowExpand, onHandleChange, editingRowIds, onEditingRowIdsChange, onEditModeChange, onSuccessComplete, }: import('../../../../shared/types/table').TableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
decorators: import('@storybook/react').Decorator[];
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type Story = StoryObj<typeof Table>;
|
|
19
|
+
export declare const Ejemplos: Story;
|
|
20
|
+
//# sourceMappingURL=18-BooleanYSelect.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"18-BooleanYSelect.stories.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Table/stories/cells/18-BooleanYSelect.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;AAKpC,wBAc+B;AAE/B,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAgCpC,eAAO,MAAM,QAAQ,EAAE,KAoBtB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Decorator } from '@storybook/react';
|
|
2
|
+
/**
|
|
3
|
+
* Decorador común para historias de celdas: fondo gris, padding y scroll horizontal
|
|
4
|
+
* para que tablas anchas no recorten el contenido.
|
|
5
|
+
*/
|
|
6
|
+
export declare const tableCellsDecorator: Decorator;
|
|
7
|
+
//# sourceMappingURL=tableCellsDecorator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableCellsDecorator.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/Table/stories/cells/shared/tableCellsDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAajC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ExcludedRowsConfig, RowConfig } from '../../../shared/types/table';
|
|
2
|
+
/**
|
|
3
|
+
* Indica si la fila debe excluirse de la selección según `excludedRows`.
|
|
4
|
+
*/
|
|
5
|
+
export declare function isRowExcludedFromSelection<T>(row: RowConfig<T>, excludedRows?: ExcludedRowsConfig<T>): boolean;
|
|
6
|
+
//# sourceMappingURL=excludedRows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"excludedRows.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/excludedRows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAU1E;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,EAC1C,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,EACjB,YAAY,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,GACnC,OAAO,CAKT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"excludedRows.test.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/excludedRows.test.ts"],"names":[],"mappings":""}
|
|
@@ -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,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;
|
|
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,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAkD/D;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAC9B,OAAO,OAAO,EACd,UAAU,cAAc,EACxB,aAAa,OAAO,EACpB,eAAe,OAAO,KACrB,OAkKF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,CAAC,EAC9B,KAAK,SAAS,CAAC,CAAC,CAAC,EACjB,UAAU,MAAM,EAChB,SAAS,YAAY,CAAC,CAAC,CAAC,EAAE,KACzB,OAcF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,CAAC,EAC5B,MAAM,SAAS,CAAC,CAAC,CAAC,EAAE,EACpB,SAAS,oBAAoB,EAAE,EAC/B,SAAS,YAAY,CAAC,CAAC,CAAC,EAAE,KACzB,SAAS,CAAC,CAAC,CAAC,EAoCd,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,SAAS,oBAAoB,EAAE,KAAG,OAElE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,SAAS,oBAAoB,EAAE,KAAG,MAInE,CAAC"}
|
|
@@ -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,CAAC;
|
|
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,CAAC;AAG7E,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,CAAC;AA0HF,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,CAAC"}
|
|
@@ -2,4 +2,7 @@ export * from './sorting';
|
|
|
2
2
|
export * from './filtering';
|
|
3
3
|
export * from './columnManagement';
|
|
4
4
|
export * from './selection';
|
|
5
|
+
export * from './excludedRows';
|
|
6
|
+
export * from './tableColumnTransforms';
|
|
7
|
+
export * from './tableDataPipeline';
|
|
5
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ColumnConfig } from '../../../shared/types/table';
|
|
2
|
+
/**
|
|
3
|
+
* Añade columna de acciones de edición o fusiona con columna `actions` existente.
|
|
4
|
+
* Misma semántica que el `useMemo` previo en `Table.tsx`.
|
|
5
|
+
*/
|
|
6
|
+
export declare function buildColumnsWithEditActions<T>(params: {
|
|
7
|
+
effectiveColumns: ColumnConfig<T>[];
|
|
8
|
+
hasEditableColumns: boolean;
|
|
9
|
+
showEditActions: boolean | undefined;
|
|
10
|
+
}): ColumnConfig<T>[];
|
|
11
|
+
/**
|
|
12
|
+
* Marca `resizable: true` en columnas sin `width` explícito (salvo `resizable === false`).
|
|
13
|
+
*/
|
|
14
|
+
export declare function applyAutoResizeFlagsToColumns<T>(columns: ColumnConfig<T>[]): ColumnConfig<T>[];
|
|
15
|
+
//# sourceMappingURL=tableColumnTransforms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableColumnTransforms.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/tableColumnTransforms.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAa,MAAM,sBAAsB,CAAC;AAEpE;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,MAAM,EAAE;IACrD,gBAAgB,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IACpC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,OAAO,GAAG,SAAS,CAAC;CACtC,GAAG,YAAY,CAAC,CAAC,CAAC,EAAE,CAqEpB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,GAAG,YAAY,CAAC,CAAC,CAAC,EAAE,CAO9F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableColumnTransforms.test.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/tableColumnTransforms.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ColumnConfig, EmptyState, PaginationConfig, RowConfig, SortConfig, TableToolbarConfig } from '../../../shared/types/table';
|
|
2
|
+
import { AdvancedFilterConfig } from '../types/filter';
|
|
3
|
+
/**
|
|
4
|
+
* Búsqueda interna por columnas visibles (misma lógica que `Table.tsx`).
|
|
5
|
+
*/
|
|
6
|
+
export declare function searchRowsWithColumns<T>(params: {
|
|
7
|
+
initialRows: RowConfig<T>[];
|
|
8
|
+
columns: ColumnConfig<T>[];
|
|
9
|
+
internalSearchQuery: string;
|
|
10
|
+
internalSearchEnabled: boolean | undefined;
|
|
11
|
+
}): RowConfig<T>[];
|
|
12
|
+
export declare function filterRowsWithAdvancedFilters<T>(params: {
|
|
13
|
+
searchedRows: RowConfig<T>[];
|
|
14
|
+
filters: AdvancedFilterConfig[];
|
|
15
|
+
columns: ColumnConfig<T>[];
|
|
16
|
+
internalFiltersEnabled: boolean | undefined;
|
|
17
|
+
}): RowConfig<T>[];
|
|
18
|
+
export declare function sortRowsByColumn<T>(params: {
|
|
19
|
+
filteredRows: RowConfig<T>[];
|
|
20
|
+
sortConfig: SortConfig | null | undefined;
|
|
21
|
+
columns: ColumnConfig<T>[];
|
|
22
|
+
}): RowConfig<T>[];
|
|
23
|
+
export declare function paginateRowsForDisplay<T>(params: {
|
|
24
|
+
sortedRows: RowConfig<T>[];
|
|
25
|
+
paginationConfig: PaginationConfig | undefined;
|
|
26
|
+
toolbarConfig: TableToolbarConfig | undefined;
|
|
27
|
+
totalAfterFilters: number;
|
|
28
|
+
}): RowConfig<T>[];
|
|
29
|
+
export declare function resolveEffectiveEmptyState(params: {
|
|
30
|
+
empty: EmptyState;
|
|
31
|
+
rowsWithEditStateLength: number;
|
|
32
|
+
internalSearchQuery: string;
|
|
33
|
+
filtersLength: number;
|
|
34
|
+
initialRowsLength: number;
|
|
35
|
+
searchedRowsLength: number;
|
|
36
|
+
filteredRowsLength: number;
|
|
37
|
+
}): EmptyState;
|
|
38
|
+
//# sourceMappingURL=tableDataPipeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableDataPipeline.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/tableDataPipeline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,UAAU,EACV,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE5D;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,MAAM,EAAE;IAC/C,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IAC5B,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IAC3B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,qBAAqB,EAAE,OAAO,GAAG,SAAS,CAAC;CAC5C,GAAG,SAAS,CAAC,CAAC,CAAC,EAAE,CA+BjB;AAED,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,MAAM,EAAE;IACvD,YAAY,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7B,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAChC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IAC3B,sBAAsB,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,GAAG,SAAS,CAAC,CAAC,CAAC,EAAE,CAejB;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,MAAM,EAAE;IAC1C,YAAY,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7B,UAAU,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;CAC5B,GAAG,SAAS,CAAC,CAAC,CAAC,EAAE,CAkCjB;AAED,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,MAAM,EAAE;IAChD,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IAC3B,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC/C,aAAa,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC9C,iBAAiB,EAAE,MAAM,CAAC;CAC3B,GAAG,SAAS,CAAC,CAAC,CAAC,EAAE,CAwBjB;AAED,wBAAgB,0BAA0B,CAAC,MAAM,EAAE;IACjD,KAAK,EAAE,UAAU,CAAC;IAClB,uBAAuB,EAAE,MAAM,CAAC;IAChC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;CAC5B,GAAG,UAAU,CA0Cb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableDataPipeline.test.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/tableDataPipeline.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helpers compartidos para detección y parseo de fechas en filtros de tabla
|
|
3
|
+
* (`filterUtils` y `filtering`).
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Indica si el valor es un string con prefijo de fecha YYYY-MM-DD (o ISO).
|
|
7
|
+
*/
|
|
8
|
+
export declare const isDateString: (value: unknown) => boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Parsea una cadena de fecha (YYYY-MM-DD o ISO) a `Date` en hora local (solo parte fecha).
|
|
11
|
+
*/
|
|
12
|
+
export declare const parseDate: (dateStr: string) => Date;
|
|
13
|
+
/**
|
|
14
|
+
* Rango [start, end] para operadores de fecha relativa (mes/año actual o anterior).
|
|
15
|
+
*/
|
|
16
|
+
export declare const getRelativeDateRange: (operator: string) => {
|
|
17
|
+
start: Date;
|
|
18
|
+
end: Date;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=tableFilterDateHelpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableFilterDateHelpers.d.ts","sourceRoot":"","sources":["../../../../src/modules/Table/utils/tableFilterDateHelpers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,OAAO,OAAO,KAAG,OAG7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,SAAS,MAAM,KAAG,IAG3C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,UAAU,MAAM,KAAG;IAAE,KAAK,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,IAAI,CAAA;CA4B/E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTooltip.d.ts","sourceRoot":"","sources":["../../../../src/modules/Tooltip/hooks/useTooltip.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"useTooltip.d.ts","sourceRoot":"","sources":["../../../../src/modules/Tooltip/hooks/useTooltip.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxD,eAAO,MAAM,UAAU,GACrB,WAAU,MAAc,EACxB,YAAW,MAAiB,EAC5B,WAAU,OAAe,EACzB,QAAO,MAAU,EACjB,WAAU,OAAe;;;;;;;;;;;;;;CAgO1B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PositionCoords } from '../../../shared/types/tooltip';
|
|
2
|
+
export type TooltipPositionInput = {
|
|
3
|
+
position: string;
|
|
4
|
+
alignment: string;
|
|
5
|
+
absolute: boolean;
|
|
6
|
+
triggerRect: DOMRectReadOnly;
|
|
7
|
+
tooltipRect: DOMRectReadOnly;
|
|
8
|
+
containerRect: DOMRectReadOnly | null;
|
|
9
|
+
viewportWidth: number;
|
|
10
|
+
viewportHeight: number;
|
|
11
|
+
};
|
|
12
|
+
/** Resultado del cálculo: coords, cierre por coords inválidas, o sin op (sin contenedor en absoluto). */
|
|
13
|
+
export type TooltipPositionResult = {
|
|
14
|
+
status: 'noop';
|
|
15
|
+
} | {
|
|
16
|
+
status: 'close';
|
|
17
|
+
} | {
|
|
18
|
+
status: 'ok';
|
|
19
|
+
coords: PositionCoords;
|
|
20
|
+
/** Solo definido cuando hubo flip en modo absoluto; el hook debe hacer `setAdjustedPosition` en ese caso. */
|
|
21
|
+
flippedAdjustedPosition?: string;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Calcula top/left del tooltip y, en modo absoluto, si hizo falta voltear la posición por espacio.
|
|
25
|
+
*/
|
|
26
|
+
export declare function computeTooltipCoords(input: TooltipPositionInput): TooltipPositionResult;
|
|
27
|
+
//# sourceMappingURL=tooltipPosition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltipPosition.d.ts","sourceRoot":"","sources":["../../../../src/modules/Tooltip/utils/tooltipPosition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAKxD,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,eAAe,CAAC;IAC7B,WAAW,EAAE,eAAe,CAAC;IAC7B,aAAa,EAAE,eAAe,GAAG,IAAI,CAAC;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,yGAAyG;AACzG,MAAM,MAAM,qBAAqB,GAC7B;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAClB;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GACnB;IACE,MAAM,EAAE,IAAI,CAAC;IACb,MAAM,EAAE,cAAc,CAAC;IACvB,6GAA6G;IAC7G,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAkIN;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,oBAAoB,GAAG,qBAAqB,CA8LvF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltipPosition.test.d.ts","sourceRoot":"","sources":["../../../../src/modules/Tooltip/utils/tooltipPosition.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWysiwyg.d.ts","sourceRoot":"","sources":["../../../../src/modules/Wysiwyg/hooks/useWysiwyg.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useWysiwyg.d.ts","sourceRoot":"","sources":["../../../../src/modules/Wysiwyg/hooks/useWysiwyg.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,UAAU;;;;;2BA6FT,MAAM,UAAU,MAAM;;;yBAyRxB,MAAM;6BAQJ,MAAM;;oBAYiB,MAAM;;;CAkC1C,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lógica pura compartida del editor WYSIWYG (formatos, URL de enlaces).
|
|
3
|
+
* El hook `useWysiwyg` orquesta Selection API y estado; aquí vive el razonamiento reutilizable y testeable.
|
|
4
|
+
*/
|
|
5
|
+
/** Comandos tipo `document.execCommand` → tag HTML para alternar formato. */
|
|
6
|
+
export declare const WYSIWYG_COMMAND_TO_TAG: Record<string, string>;
|
|
7
|
+
/**
|
|
8
|
+
* Normaliza texto de URL para atributo `href` (trim, `https://` por defecto).
|
|
9
|
+
* @returns `null` si el input queda vacío.
|
|
10
|
+
*/
|
|
11
|
+
export declare function normalizeLinkHref(input: string): string | null;
|
|
12
|
+
/**
|
|
13
|
+
* Acumula formatos activos recorriendo ancestros desde el nodo común del rango hasta `editorRoot` (excl.).
|
|
14
|
+
* @returns `null` si la selección no debe actualizar formatos (fuera del editor cuando hay root).
|
|
15
|
+
*/
|
|
16
|
+
export declare function collectActiveFormatsFromAncestors(range: Range, editorRoot: HTMLElement | null): Set<string> | null;
|
|
17
|
+
/**
|
|
18
|
+
* Indica si `tag` (nombre lógico: bold, italic, …) está activo en la selección actual.
|
|
19
|
+
*/
|
|
20
|
+
export declare function isFormatActiveAtRange(tag: string, range: Range, editorRoot: HTMLElement | null): boolean;
|
|
21
|
+
//# sourceMappingURL=wysiwygEditorUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wysiwygEditorUtils.d.ts","sourceRoot":"","sources":["../../../../src/modules/Wysiwyg/utils/wysiwygEditorUtils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,6EAA6E;AAC7E,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAKzD,CAAC;AAEF;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAO9D;AAuCD;;;GAGG;AACH,wBAAgB,iCAAiC,CAC/C,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,WAAW,GAAG,IAAI,GAC7B,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI,CAgBpB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,WAAW,GAAG,IAAI,GAC7B,OAAO,CAWT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wysiwygEditorUtils.test.d.ts","sourceRoot":"","sources":["../../../../src/modules/Wysiwyg/utils/wysiwygEditorUtils.test.ts"],"names":[],"mappings":""}
|
|
@@ -90,8 +90,11 @@ export interface ModalProps {
|
|
|
90
90
|
closeAtCorner?: boolean;
|
|
91
91
|
showCloseButton?: boolean;
|
|
92
92
|
title?: string;
|
|
93
|
-
/**
|
|
94
|
-
|
|
93
|
+
/**
|
|
94
|
+
* z-index del overlay raíz. `50` (por defecto) y `60` (p. ej. AlertDialog anidado) usan tokens;
|
|
95
|
+
* cualquier otro número se aplica vía `style` (p. ej. `1200` para quedar por encima de popovers en portal ~1000).
|
|
96
|
+
*/
|
|
97
|
+
zIndex?: number;
|
|
95
98
|
hideFooter?: boolean;
|
|
96
99
|
/**
|
|
97
100
|
* Sistema nuevo: Icono principal del Modal
|