rez-table-listing-mui 1.2.13 → 1.2.15

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.
Files changed (114) hide show
  1. package/dist/index.d.ts +15 -2
  2. package/dist/index.js +1 -1
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.mjs +1 -1
  5. package/dist/index.mjs.map +1 -1
  6. package/package.json +1 -1
  7. package/src/App.tsx +47 -405
  8. package/src/index.ts +10 -9
  9. package/src/kanban/components/LeadCard.tsx +130 -0
  10. package/src/kanban/constants/kanban-constants.ts +249 -0
  11. package/src/kanban/hooks/hooks.ts +16 -0
  12. package/src/kanban/index.tsx +340 -0
  13. package/src/kanban/services/service.ts +11 -0
  14. package/src/kanban/styles/styles.tsx +256 -0
  15. package/src/kanban/types/types.ts +59 -0
  16. package/src/{components → listing/components}/column-visibility-modal/column-list-item.tsx +1 -1
  17. package/src/{components → listing/components}/column-visibility-modal/index.tsx +1 -1
  18. package/src/{components → listing/components}/filter/components/forms/components/Filter-criteria.tsx +1 -1
  19. package/src/{components → listing/components}/filter/components/forms/index.tsx +1 -1
  20. package/src/{components → listing/components}/filter/components/saved-filter.tsx +2 -2
  21. package/src/{components → listing/components}/filter/components/search/index.tsx +1 -1
  22. package/src/{components → listing/components}/filter/components/tabs/index.tsx +1 -1
  23. package/src/{components → listing/components}/index-table.tsx +1 -1
  24. package/src/{components → listing/components}/pagination/default/index.tsx +1 -1
  25. package/src/{components → listing/components}/search/index.tsx +1 -1
  26. package/src/{components → listing/components}/sorting-modal.tsx/index.tsx +1 -1
  27. package/src/{components → listing/components}/sorting-modal.tsx/sorting-item.tsx +1 -1
  28. package/src/{components → listing/components}/table-change-layout.tsx +1 -1
  29. package/src/{components → listing/components}/table-head-dnd-cell.tsx +1 -1
  30. package/src/{components → listing/components}/table-head-pin.tsx +1 -1
  31. package/src/{components → listing/components}/table-head-popover.tsx +1 -1
  32. package/src/{components → listing/components}/table-head.tsx +1 -1
  33. package/src/{components → listing/components}/table-settings/common/listing-values.tsx +1 -1
  34. package/src/listing/components/table-settings/components/group-by.tsx +513 -0
  35. package/src/listing/components/table-settings/components/lane.tsx +512 -0
  36. package/src/{components → listing/components}/table-settings/components/sorting.tsx +1 -1
  37. package/src/{components → listing/components}/table-settings/constants.ts +12 -0
  38. package/src/{components → listing/components}/table-settings/index.tsx +61 -29
  39. package/src/{components → listing/components}/tabs/index.tsx +1 -1
  40. package/src/{components → listing/components}/topbar/index.tsx +7 -7
  41. package/src/{components → listing/components}/viewmore/index.tsx +1 -1
  42. package/src/{libs → listing/libs}/utils/common.ts +2 -5
  43. package/src/{types → listing/types}/filter-settings.ts +1 -0
  44. package/src/view/KanbanView.tsx +68 -0
  45. package/src/view/ListingView.tsx +421 -0
  46. /package/src/{components → listing/components}/column-visibility-modal/index.scss +0 -0
  47. /package/src/{components → listing/components}/common/confirm-modal/index.tsx +0 -0
  48. /package/src/{components → listing/components}/common/index.scss +0 -0
  49. /package/src/{components → listing/components}/common/index.tsx +0 -0
  50. /package/src/{components → listing/components}/common/loader/loader.tsx +0 -0
  51. /package/src/{components → listing/components}/dropdown/index.scss +0 -0
  52. /package/src/{components → listing/components}/dropdown/index.tsx +0 -0
  53. /package/src/{components → listing/components}/filter/components/attributes-filter.tsx +0 -0
  54. /package/src/{components → listing/components}/filter/components/forms/components/Date.tsx +0 -0
  55. /package/src/{components → listing/components}/filter/components/forms/components/Dropdown.tsx +0 -0
  56. /package/src/{components → listing/components}/filter/components/forms/components/Multi-Select.tsx +0 -0
  57. /package/src/{components → listing/components}/filter/components/forms/components/Select.tsx +0 -0
  58. /package/src/{components → listing/components}/filter/components/forms/components/Textfield.tsx +0 -0
  59. /package/src/{components → listing/components}/filter/components/forms/components/styles.tsx +0 -0
  60. /package/src/{components → listing/components}/filter/components/main-filter.tsx +0 -0
  61. /package/src/{components → listing/components}/filter/components/saved-edit-filter.tsx +0 -0
  62. /package/src/{components → listing/components}/filter/components/tabs/custom-tab-panel.tsx +0 -0
  63. /package/src/{components → listing/components}/filter/index.tsx +0 -0
  64. /package/src/{components → listing/components}/filter/style.ts +0 -0
  65. /package/src/{components → listing/components}/index.scss +0 -0
  66. /package/src/{components → listing/components}/inputs/checkbox/index.tsx +0 -0
  67. /package/src/{components → listing/components}/inputs/index.scss +0 -0
  68. /package/src/{components → listing/components}/inputs/switch.tsx +0 -0
  69. /package/src/{components → listing/components}/login/index.tsx +0 -0
  70. /package/src/{components → listing/components}/nestedcomponent/index.scss +0 -0
  71. /package/src/{components → listing/components}/nestedcomponent/index.tsx +0 -0
  72. /package/src/{components → listing/components}/pagination/default/index.scss +0 -0
  73. /package/src/{components → listing/components}/search/style.ts +0 -0
  74. /package/src/{components → listing/components}/table-body-dnd-cell.tsx +0 -0
  75. /package/src/{components → listing/components}/table-body.tsx +0 -0
  76. /package/src/{components → listing/components}/table-dnd.tsx +0 -0
  77. /package/src/{components → listing/components}/table-settings/common/draggable-listitem.tsx +0 -0
  78. /package/src/{components → listing/components}/table-settings/common/info-alert.tsx +0 -0
  79. /package/src/{components → listing/components}/table-settings/components/column.tsx +0 -0
  80. /package/src/{components → listing/components}/table-settings/components/custom-button.tsx +0 -0
  81. /package/src/{components → listing/components}/table-settings/components/custom-dialog.tsx +0 -0
  82. /package/src/{components → listing/components}/table-settings/components/quick-tab.tsx +0 -0
  83. /package/src/{components → listing/components}/table-settings/components/toggle-button-switch.tsx +0 -0
  84. /package/src/{components → listing/components}/table-settings/style.ts +0 -0
  85. /package/src/{components → listing/components}/table-settings/tabs/horizontal/index.tsx +0 -0
  86. /package/src/{components → listing/components}/table-settings/tabs/styles.ts +0 -0
  87. /package/src/{components → listing/components}/table-settings/tabs/vertical/custom-tab-panel.tsx +0 -0
  88. /package/src/{components → listing/components}/table-settings/tabs/vertical/index.tsx +0 -0
  89. /package/src/{components → listing/components}/table.tsx +0 -0
  90. /package/src/{components → listing/components}/tabs/index.scss +0 -0
  91. /package/src/{components → listing/components}/tabs/styles.ts +0 -0
  92. /package/src/{components → listing/components}/topbar/index.scss +0 -0
  93. /package/src/{components → listing/components}/viewmore/index.scss +0 -0
  94. /package/src/{libs → listing/libs}/hooks/useCraftTable.tsx +0 -0
  95. /package/src/{libs → listing/libs}/hooks/useCraftTableFilterSettings.tsx +0 -0
  96. /package/src/{libs → listing/libs}/hooks/useDefaultColumns.tsx +0 -0
  97. /package/src/{libs → listing/libs}/hooks/useElementWidth.tsx +0 -0
  98. /package/src/{libs → listing/libs}/hooks/useEntityTableAPI.tsx +0 -0
  99. /package/src/{libs → listing/libs}/hooks/useEntityTableHooks.ts +0 -0
  100. /package/src/{libs → listing/libs}/hooks/useFullScreen.tsx +0 -0
  101. /package/src/{libs → listing/libs}/hooks/useOutsideClick.tsx +0 -0
  102. /package/src/{libs → listing/libs}/utils/Data-format.ts +0 -0
  103. /package/src/{libs → listing/libs}/utils/amount-format.ts +0 -0
  104. /package/src/{libs → listing/libs}/utils/apiColumn.ts +0 -0
  105. /package/src/{libs → listing/libs}/utils/date-format.ts +0 -0
  106. /package/src/{libs → listing/libs}/utils/debounce.ts +0 -0
  107. /package/src/{libs → listing/libs}/utils/make-data.ts +0 -0
  108. /package/src/{libs → listing/libs}/utils/make-hierar-data.ts +0 -0
  109. /package/src/{libs → listing/libs}/utils/make-nested-data.ts +0 -0
  110. /package/src/{libs → listing/libs}/utils/rows-data.ts +0 -0
  111. /package/src/{types → listing/types}/common.ts +0 -0
  112. /package/src/{types → listing/types}/filter.ts +0 -0
  113. /package/src/{types → listing/types}/table-options.ts +0 -0
  114. /package/src/{types → listing/types}/table.ts +0 -0
package/dist/index.d.ts CHANGED
@@ -90,6 +90,7 @@ interface FilterMasterStateProps {
90
90
  }
91
91
 
92
92
  interface QuickFilterModalProps {
93
+ view?: string;
93
94
  show?: boolean;
94
95
  filterSettingStates: craftTableFilterSettingsOptionsProps;
95
96
  onClose?: () => void;
@@ -329,7 +330,7 @@ declare function TableTabs({ loading, tabsData, activeTab, onClick, tableStates,
329
330
 
330
331
  declare function TableFilter({ onClose, columnsData, tableStates, onDeleteFilter, onSaveFilter, onUpdateFilter, dropdownData, }: FilterDrawerProps): react_jsx_runtime.JSX.Element;
331
332
 
332
- declare function QuickFilterSettings({ show, filterSettingStates, onClose, columnsData, columnsDataLoading, tabsApiData, tabsApiDataLoading, onSaveSettingsData, }: QuickFilterModalProps): react_jsx_runtime.JSX.Element;
333
+ declare function QuickFilterSettings({ view, show, filterSettingStates, onClose, columnsData, columnsDataLoading, tabsApiData, tabsApiDataLoading, onSaveSettingsData, }: QuickFilterModalProps): react_jsx_runtime.JSX.Element;
333
334
 
334
335
  interface TableSearchProps {
335
336
  value: string;
@@ -337,5 +338,17 @@ interface TableSearchProps {
337
338
  }
338
339
  declare const TableSearch: ({ value, onChange, }: TableSearchProps) => JSX.Element;
339
340
 
340
- export { TableFilter as CraftTableFilter, TableSearch as CraftTableSearch, QuickFilterSettings as CraftTableSettings, TableTabs as CraftTableTabs, TableWrapper, useCraftTable, useCraftTableFilterSettings };
341
+ declare const Kanban: ({ metaData, data, isLoading, KanbanCardComponent, showSettings, onOpenSettings, }: {
342
+ metaData: any;
343
+ data: any;
344
+ isLoading?: boolean;
345
+ KanbanCardComponent: React.ComponentType<{
346
+ key: string | number;
347
+ cardData: any;
348
+ }>;
349
+ showSettings: boolean;
350
+ onOpenSettings?: () => void;
351
+ }) => react_jsx_runtime.JSX.Element;
352
+
353
+ export { TableFilter as CraftTableFilter, TableSearch as CraftTableSearch, QuickFilterSettings as CraftTableSettings, TableTabs as CraftTableTabs, Kanban as KanbanWrapper, TableWrapper, useCraftTable, useCraftTableFilterSettings };
341
354
  export type { CraftTableComponentProps, CraftTableFeatureProps, CraftTableOptionsProps, CraftTablePaginationProps, CraftTableProps, CustomRenderContext, CustomRenderFnMap, FilterOptionsProps, TableHeaderProps, TopbarOptionsProps, craftTableFilterSettingsOptionsProps, settingsOptionsProps };