rez-table-listing-mui 1.2.13 → 1.2.14

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 (112) hide show
  1. package/dist/index.d.ts +116 -1
  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 +331 -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 +132 -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 +6 -6
  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 +6 -6
  33. package/src/{components → listing/components}/table-settings/common/listing-values.tsx +1 -1
  34. package/src/{components → listing/components}/table-settings/components/sorting.tsx +1 -1
  35. package/src/{components → listing/components}/tabs/index.tsx +1 -1
  36. package/src/{components → listing/components}/topbar/index.tsx +7 -7
  37. package/src/{components → listing/components}/viewmore/index.tsx +1 -1
  38. package/src/{libs → listing/libs}/hooks/useDefaultColumns.tsx +1 -0
  39. package/src/{libs → listing/libs}/utils/common.ts +1 -1
  40. package/src/view/KanbanView.tsx +16 -0
  41. package/src/view/ListingView.tsx +423 -0
  42. /package/src/{components → listing/components}/column-visibility-modal/index.scss +0 -0
  43. /package/src/{components → listing/components}/common/confirm-modal/index.tsx +0 -0
  44. /package/src/{components → listing/components}/common/index.scss +0 -0
  45. /package/src/{components → listing/components}/common/index.tsx +0 -0
  46. /package/src/{components → listing/components}/common/loader/loader.tsx +0 -0
  47. /package/src/{components → listing/components}/dropdown/index.scss +0 -0
  48. /package/src/{components → listing/components}/dropdown/index.tsx +0 -0
  49. /package/src/{components → listing/components}/filter/components/attributes-filter.tsx +0 -0
  50. /package/src/{components → listing/components}/filter/components/forms/components/Date.tsx +0 -0
  51. /package/src/{components → listing/components}/filter/components/forms/components/Dropdown.tsx +0 -0
  52. /package/src/{components → listing/components}/filter/components/forms/components/Multi-Select.tsx +0 -0
  53. /package/src/{components → listing/components}/filter/components/forms/components/Select.tsx +0 -0
  54. /package/src/{components → listing/components}/filter/components/forms/components/Textfield.tsx +0 -0
  55. /package/src/{components → listing/components}/filter/components/forms/components/styles.tsx +0 -0
  56. /package/src/{components → listing/components}/filter/components/main-filter.tsx +0 -0
  57. /package/src/{components → listing/components}/filter/components/saved-edit-filter.tsx +0 -0
  58. /package/src/{components → listing/components}/filter/components/tabs/custom-tab-panel.tsx +0 -0
  59. /package/src/{components → listing/components}/filter/index.tsx +0 -0
  60. /package/src/{components → listing/components}/filter/style.ts +0 -0
  61. /package/src/{components → listing/components}/index.scss +0 -0
  62. /package/src/{components → listing/components}/inputs/checkbox/index.tsx +0 -0
  63. /package/src/{components → listing/components}/inputs/index.scss +0 -0
  64. /package/src/{components → listing/components}/inputs/switch.tsx +0 -0
  65. /package/src/{components → listing/components}/login/index.tsx +0 -0
  66. /package/src/{components → listing/components}/nestedcomponent/index.scss +0 -0
  67. /package/src/{components → listing/components}/nestedcomponent/index.tsx +0 -0
  68. /package/src/{components → listing/components}/pagination/default/index.scss +0 -0
  69. /package/src/{components → listing/components}/search/style.ts +0 -0
  70. /package/src/{components → listing/components}/table-body-dnd-cell.tsx +0 -0
  71. /package/src/{components → listing/components}/table-body.tsx +0 -0
  72. /package/src/{components → listing/components}/table-dnd.tsx +0 -0
  73. /package/src/{components → listing/components}/table-settings/common/draggable-listitem.tsx +0 -0
  74. /package/src/{components → listing/components}/table-settings/common/info-alert.tsx +0 -0
  75. /package/src/{components → listing/components}/table-settings/components/column.tsx +0 -0
  76. /package/src/{components → listing/components}/table-settings/components/custom-button.tsx +0 -0
  77. /package/src/{components → listing/components}/table-settings/components/custom-dialog.tsx +0 -0
  78. /package/src/{components → listing/components}/table-settings/components/quick-tab.tsx +0 -0
  79. /package/src/{components → listing/components}/table-settings/components/toggle-button-switch.tsx +0 -0
  80. /package/src/{components → listing/components}/table-settings/constants.ts +0 -0
  81. /package/src/{components → listing/components}/table-settings/index.tsx +0 -0
  82. /package/src/{components → listing/components}/table-settings/style.ts +0 -0
  83. /package/src/{components → listing/components}/table-settings/tabs/horizontal/index.tsx +0 -0
  84. /package/src/{components → listing/components}/table-settings/tabs/styles.ts +0 -0
  85. /package/src/{components → listing/components}/table-settings/tabs/vertical/custom-tab-panel.tsx +0 -0
  86. /package/src/{components → listing/components}/table-settings/tabs/vertical/index.tsx +0 -0
  87. /package/src/{components → listing/components}/table.tsx +0 -0
  88. /package/src/{components → listing/components}/tabs/index.scss +0 -0
  89. /package/src/{components → listing/components}/tabs/styles.ts +0 -0
  90. /package/src/{components → listing/components}/topbar/index.scss +0 -0
  91. /package/src/{components → listing/components}/viewmore/index.scss +0 -0
  92. /package/src/{libs → listing/libs}/hooks/useCraftTable.tsx +0 -0
  93. /package/src/{libs → listing/libs}/hooks/useCraftTableFilterSettings.tsx +0 -0
  94. /package/src/{libs → listing/libs}/hooks/useElementWidth.tsx +0 -0
  95. /package/src/{libs → listing/libs}/hooks/useEntityTableAPI.tsx +0 -0
  96. /package/src/{libs → listing/libs}/hooks/useEntityTableHooks.ts +0 -0
  97. /package/src/{libs → listing/libs}/hooks/useFullScreen.tsx +0 -0
  98. /package/src/{libs → listing/libs}/hooks/useOutsideClick.tsx +0 -0
  99. /package/src/{libs → listing/libs}/utils/Data-format.ts +0 -0
  100. /package/src/{libs → listing/libs}/utils/amount-format.ts +0 -0
  101. /package/src/{libs → listing/libs}/utils/apiColumn.ts +0 -0
  102. /package/src/{libs → listing/libs}/utils/date-format.ts +0 -0
  103. /package/src/{libs → listing/libs}/utils/debounce.ts +0 -0
  104. /package/src/{libs → listing/libs}/utils/make-data.ts +0 -0
  105. /package/src/{libs → listing/libs}/utils/make-hierar-data.ts +0 -0
  106. /package/src/{libs → listing/libs}/utils/make-nested-data.ts +0 -0
  107. /package/src/{libs → listing/libs}/utils/rows-data.ts +0 -0
  108. /package/src/{types → listing/types}/common.ts +0 -0
  109. /package/src/{types → listing/types}/filter-settings.ts +0 -0
  110. /package/src/{types → listing/types}/filter.ts +0 -0
  111. /package/src/{types → listing/types}/table-options.ts +0 -0
  112. /package/src/{types → listing/types}/table.ts +0 -0
package/dist/index.d.ts CHANGED
@@ -337,5 +337,120 @@ interface TableSearchProps {
337
337
  }
338
338
  declare const TableSearch: ({ value, onChange, }: TableSearchProps) => JSX.Element;
339
339
 
340
- export { TableFilter as CraftTableFilter, TableSearch as CraftTableSearch, QuickFilterSettings as CraftTableSettings, TableTabs as CraftTableTabs, TableWrapper, useCraftTable, useCraftTableFilterSettings };
340
+ interface LeadData {
341
+ id: string | number;
342
+ entity_type: string;
343
+ name: string | null;
344
+ status: string;
345
+ parent_type: string | null;
346
+ parent_id: string | null;
347
+ primary_email: string | null;
348
+ primary_mobile: string | null;
349
+ code: string;
350
+ created_by: string;
351
+ created_date: string;
352
+ modified_by: string | null;
353
+ modified_date: string | null;
354
+ enterprise_id: number;
355
+ organization_id: number;
356
+ appcode: string | null;
357
+ level_id: string;
358
+ level_type: string;
359
+ campus: string | null;
360
+ first_name: string | null;
361
+ last_name: string | null;
362
+ relationship_student: string | null;
363
+ phone_number: string | null;
364
+ email: string | null;
365
+ pin_code: string | null;
366
+ first_name_std: string | null;
367
+ last_name_std: string | null;
368
+ gender: string | null;
369
+ academic_year: string | null;
370
+ curr_grade: string | null;
371
+ source: string | null;
372
+ stage: string | null;
373
+ lead_owner: string | null;
374
+ lead_owner_name: string | null;
375
+ profile: {
376
+ signedUrl: string;
377
+ fileName: string;
378
+ id: string | number;
379
+ };
380
+ lead_source: string | null;
381
+ school_code: string | null;
382
+ source_details: string | null;
383
+ lead_status: string;
384
+ assigned_counselor: string | null;
385
+ lead_priority: string | null;
386
+ lead_score: string | null;
387
+ conversion_probability: string | null;
388
+ expected_admission_year: string | null;
389
+ budget_range: string | null;
390
+ enrollment_timeline: string | null;
391
+ lead_temperature: string | null;
392
+ utm_source: string | null;
393
+ student_first_name: string;
394
+ student_middle_name: string;
395
+ student_last_name: string;
396
+ student_gender: string;
397
+ student_age: string | null;
398
+ current_grade: string;
399
+ admission_grade: string;
400
+ current_school: string | null;
401
+ number_input: string | null;
402
+ current_board: string | null;
403
+ special_needs: string | null;
404
+ special_needs_details: string | null;
405
+ previous_school_reason: string | null;
406
+ academic_performance: string | null;
407
+ interested_academic_year: string | null;
408
+ father_salutation: string | null;
409
+ father_first_name: string | null;
410
+ father_last_name: string | null;
411
+ father_mobile: string | null;
412
+ father_email: string | null;
413
+ father_qualification: string | null;
414
+ father_occupation: string | null;
415
+ father_designation: string | null;
416
+ father_company: string | null;
417
+ father_annual_income: string | null;
418
+ father_office_address: string | null;
419
+ mother_salutation: string | null;
420
+ mother_first_name: string | null;
421
+ mother_last_name: string | null;
422
+ mother_email: string | null;
423
+ mother_mobile: string | null;
424
+ mother_qualification: string | null;
425
+ mother_designation: string | null;
426
+ mother_company: string | null;
427
+ mother_annual_income: string | null;
428
+ mother_office_address: string | null;
429
+ mother_occupation: string | null;
430
+ how_did_you_hear: string | null;
431
+ specific_requirements: string | null;
432
+ parent_questions: string | null;
433
+ special_requirements: string | null;
434
+ comments: string | null;
435
+ lead_reasons: string | null;
436
+ referral_source: string | null;
437
+ campaign_code: string | null;
438
+ DOB: string | null;
439
+ date: string | null;
440
+ enquiry_date: string;
441
+ student_dob: string | null;
442
+ date_input: string | null;
443
+ sub_lane_id: number;
444
+ }
445
+
446
+ declare const Kanban: ({ rawData, isLoading, KanbanCardComponent, }: {
447
+ rawData: any;
448
+ isLoading?: boolean;
449
+ KanbanCardComponent: React.ComponentType<{
450
+ key: string | number;
451
+ lead: LeadData;
452
+ }>;
453
+ }) => react_jsx_runtime.JSX.Element;
454
+
455
+ export { TableFilter as CraftTableFilter, TableSearch as CraftTableSearch, QuickFilterSettings as CraftTableSettings, TableTabs as CraftTableTabs, Kanban as KanbanWrapper, TableWrapper, useCraftTable, useCraftTableFilterSettings };
341
456
  export type { CraftTableComponentProps, CraftTableFeatureProps, CraftTableOptionsProps, CraftTablePaginationProps, CraftTableProps, CustomRenderContext, CustomRenderFnMap, FilterOptionsProps, TableHeaderProps, TopbarOptionsProps, craftTableFilterSettingsOptionsProps, settingsOptionsProps };