@hed-hog/operations 0.0.322 → 0.0.326
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/controllers/operations-collaborators.controller.d.ts +14 -0
- package/dist/controllers/operations-collaborators.controller.d.ts.map +1 -1
- package/dist/controllers/operations-collaborators.controller.js +25 -0
- package/dist/controllers/operations-collaborators.controller.js.map +1 -1
- package/dist/controllers/operations-project-costs.controller.d.ts +422 -0
- package/dist/controllers/operations-project-costs.controller.d.ts.map +1 -0
- package/dist/controllers/operations-project-costs.controller.js +250 -0
- package/dist/controllers/operations-project-costs.controller.js.map +1 -0
- package/dist/controllers/operations-reports.controller.d.ts +9 -0
- package/dist/controllers/operations-reports.controller.d.ts.map +1 -1
- package/dist/controllers/operations-tasks.controller.d.ts +42 -0
- package/dist/controllers/operations-tasks.controller.d.ts.map +1 -1
- package/dist/controllers/operations-tasks.controller.js +48 -0
- package/dist/controllers/operations-tasks.controller.js.map +1 -1
- package/dist/controllers/operations-timesheets.controller.d.ts +1 -0
- package/dist/controllers/operations-timesheets.controller.d.ts.map +1 -1
- package/dist/dto/create-collaborator-project-assignment.dto.d.ts +5 -0
- package/dist/dto/create-collaborator-project-assignment.dto.d.ts.map +1 -0
- package/dist/dto/create-collaborator-project-assignment.dto.js +30 -0
- package/dist/dto/create-collaborator-project-assignment.dto.js.map +1 -0
- package/dist/dto/create-project-cost-category.dto.d.ts +10 -0
- package/dist/dto/create-project-cost-category.dto.d.ts.map +1 -0
- package/dist/dto/create-project-cost-category.dto.js +59 -0
- package/dist/dto/create-project-cost-category.dto.js.map +1 -0
- package/dist/dto/create-project-cost-type.dto.d.ts +14 -0
- package/dist/dto/create-project-cost-type.dto.d.ts.map +1 -0
- package/dist/dto/create-project-cost-type.dto.js +87 -0
- package/dist/dto/create-project-cost-type.dto.js.map +1 -0
- package/dist/dto/create-project-cost.dto.d.ts +22 -0
- package/dist/dto/create-project-cost.dto.d.ts.map +1 -0
- package/dist/dto/create-project-cost.dto.js +135 -0
- package/dist/dto/create-project-cost.dto.js.map +1 -0
- package/dist/dto/get-project-cost-report.dto.d.ts +10 -0
- package/dist/dto/get-project-cost-report.dto.d.ts.map +1 -0
- package/dist/dto/get-project-cost-report.dto.js +65 -0
- package/dist/dto/get-project-cost-report.dto.js.map +1 -0
- package/dist/dto/list-project-cost-categories.dto.d.ts +6 -0
- package/dist/dto/list-project-cost-categories.dto.d.ts.map +1 -0
- package/dist/dto/list-project-cost-categories.dto.js +34 -0
- package/dist/dto/list-project-cost-categories.dto.js.map +1 -0
- package/dist/dto/list-project-cost-types.dto.d.ts +8 -0
- package/dist/dto/list-project-cost-types.dto.d.ts.map +1 -0
- package/dist/dto/list-project-cost-types.dto.js +45 -0
- package/dist/dto/list-project-cost-types.dto.js.map +1 -0
- package/dist/dto/list-project-costs.dto.d.ts +14 -0
- package/dist/dto/list-project-costs.dto.d.ts.map +1 -0
- package/dist/dto/list-project-costs.dto.js +81 -0
- package/dist/dto/list-project-costs.dto.js.map +1 -0
- package/dist/dto/list-tasks.dto.d.ts +1 -0
- package/dist/dto/list-tasks.dto.d.ts.map +1 -1
- package/dist/dto/list-tasks.dto.js +6 -0
- package/dist/dto/list-tasks.dto.js.map +1 -1
- package/dist/dto/list-timesheets.dto.d.ts +1 -0
- package/dist/dto/list-timesheets.dto.d.ts.map +1 -1
- package/dist/dto/list-timesheets.dto.js +7 -0
- package/dist/dto/list-timesheets.dto.js.map +1 -1
- package/dist/dto/update-collaborator-project-assignment.dto.d.ts +11 -0
- package/dist/dto/update-collaborator-project-assignment.dto.d.ts.map +1 -0
- package/dist/dto/update-collaborator-project-assignment.dto.js +65 -0
- package/dist/dto/update-collaborator-project-assignment.dto.js.map +1 -0
- package/dist/dto/update-project-cost-category.dto.d.ts +6 -0
- package/dist/dto/update-project-cost-category.dto.d.ts.map +1 -0
- package/dist/dto/update-project-cost-category.dto.js +9 -0
- package/dist/dto/update-project-cost-category.dto.js.map +1 -0
- package/dist/dto/update-project-cost-type.dto.d.ts +6 -0
- package/dist/dto/update-project-cost-type.dto.d.ts.map +1 -0
- package/dist/dto/update-project-cost-type.dto.js +9 -0
- package/dist/dto/update-project-cost-type.dto.js.map +1 -0
- package/dist/dto/update-project-cost.dto.d.ts +6 -0
- package/dist/dto/update-project-cost.dto.d.ts.map +1 -0
- package/dist/dto/update-project-cost.dto.js +9 -0
- package/dist/dto/update-project-cost.dto.js.map +1 -0
- package/dist/operations.module.d.ts.map +1 -1
- package/dist/operations.module.js +2 -0
- package/dist/operations.module.js.map +1 -1
- package/dist/operations.service.d.ts +571 -1
- package/dist/operations.service.d.ts.map +1 -1
- package/dist/operations.service.js +1793 -69
- package/dist/operations.service.js.map +1 -1
- package/hedhog/data/integration_event_catalog.yaml +313 -0
- package/hedhog/data/menu.yaml +52 -0
- package/hedhog/data/operations_project_cost_category.yaml +80 -0
- package/hedhog/data/operations_project_cost_type.yaml +503 -0
- package/hedhog/data/route.yaml +274 -0
- package/hedhog/data/setting_group.yaml +21 -0
- package/hedhog/frontend/app/_components/collaborator-costs-section.tsx.ejs +2 -18
- package/hedhog/frontend/app/_components/collaborator-form-screen.tsx.ejs +593 -297
- package/hedhog/frontend/app/_components/collaborator-tasks-tab.tsx.ejs +358 -0
- package/hedhog/frontend/app/_components/collaborator-timesheets-tab.tsx.ejs +242 -0
- package/hedhog/frontend/app/_components/my-project-summary-screen.tsx.ejs +533 -296
- package/hedhog/frontend/app/_components/person-select-with-create.tsx.ejs +1 -853
- package/hedhog/frontend/app/_components/project-assignments-tab.tsx.ejs +450 -0
- package/hedhog/frontend/app/_components/project-cost-report-screen.tsx.ejs +602 -0
- package/hedhog/frontend/app/_components/project-costs-section.tsx.ejs +1401 -0
- package/hedhog/frontend/app/_components/project-details-screen.tsx.ejs +2248 -2063
- package/hedhog/frontend/app/_components/project-form-screen.tsx.ejs +56 -11
- package/hedhog/frontend/app/_components/task-detail-sheet.tsx.ejs +454 -96
- package/hedhog/frontend/app/_components/task-form-sheet.tsx.ejs +784 -0
- package/hedhog/frontend/app/_lib/api.ts.ejs +256 -0
- package/hedhog/frontend/app/_lib/hooks/use-mention-items.ts.ejs +28 -0
- package/hedhog/frontend/app/_lib/types.ts.ejs +190 -0
- package/hedhog/frontend/app/_lib/utils/format.ts.ejs +9 -3
- package/hedhog/frontend/app/collaborators/page.tsx.ejs +18 -7
- package/hedhog/frontend/app/my-tasks/page.tsx.ejs +536 -328
- package/hedhog/frontend/app/project-cost-categories/page.tsx.ejs +674 -0
- package/hedhog/frontend/app/project-cost-types/page.tsx.ejs +845 -0
- package/hedhog/frontend/app/projects/[id]/costs-report/page.tsx.ejs +10 -0
- package/hedhog/frontend/app/reports/collaborators/page.tsx.ejs +20 -349
- package/hedhog/frontend/app/reports/projects/page.tsx.ejs +217 -485
- package/hedhog/frontend/messages/en.json +257 -5
- package/hedhog/frontend/messages/en.json.ejs +2060 -0
- package/hedhog/frontend/messages/operations/en.json +2068 -0
- package/hedhog/frontend/messages/operations/operations/en.json +2102 -0
- package/hedhog/frontend/messages/operations/operations/pt.json +2111 -0
- package/hedhog/frontend/messages/operations/pt.json +2072 -0
- package/hedhog/frontend/messages/pt.json +256 -4
- package/hedhog/frontend/messages/pt.json.ejs +2067 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/async-options-combobox.d.ts +29 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/async-options-combobox.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/async-options-combobox.js +95 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/async-options-combobox.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/async-options-combobox.tsx +233 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-costs-section.d.ts +10 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-costs-section.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-costs-section.js +577 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-costs-section.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-costs-section.tsx +868 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-details-screen.d.ts +4 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-details-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-details-screen.js +337 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-details-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-details-screen.tsx +476 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-form-screen.d.ts +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-form-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-form-screen.js +1348 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-form-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-form-screen.tsx +2233 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-select-with-create.d.ts +12 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-select-with-create.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-select-with-create.js +162 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-select-with-create.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-select-with-create.tsx +261 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-content-editor.d.ts +18 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-content-editor.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-content-editor.js +145 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-content-editor.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-content-editor.tsx +258 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-details-screen.d.ts +4 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-details-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-details-screen.js +223 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-details-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-details-screen.tsx +342 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-form-screen.d.ts +58 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-form-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-form-screen.js +438 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-form-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-form-screen.tsx +698 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/department-select-with-create.d.ts +20 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/department-select-with-create.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/department-select-with-create.js +233 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/department-select-with-create.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/department-select-with-create.tsx +392 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/my-project-summary-screen.d.ts +4 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/my-project-summary-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/my-project-summary-screen.js +814 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/my-project-summary-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/my-project-summary-screen.tsx +1288 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-calendar-view.d.ts +21 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-calendar-view.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-calendar-view.js +174 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-calendar-view.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-calendar-view.tsx +306 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-header.d.ts +10 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-header.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-header.js +12 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-header.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-header.tsx +29 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/person-select-with-create.d.ts +15 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/person-select-with-create.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/person-select-with-create.js +501 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/person-select-with-create.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/person-select-with-create.tsx +853 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-costs-section.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-costs-section.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-costs-section.js +847 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-costs-section.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-costs-section.tsx +1340 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-details-screen.d.ts +4 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-details-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-details-screen.js +2930 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-details-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-details-screen.tsx +4378 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-form-screen.d.ts +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-form-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-form-screen.js +1013 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-form-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-form-screen.tsx +1745 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/section-card.d.ts +13 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/section-card.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/section-card.js +38 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/section-card.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/section-card.tsx +74 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/status-badge.d.ts +7 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/status-badge.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/status-badge.js +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/status-badge.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/status-badge.tsx +15 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/system-user-select-with-create.d.ts +18 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/system-user-select-with-create.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/system-user-select-with-create.js +406 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/system-user-select-with-create.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/system-user-select-with-create.tsx +660 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-detail-sheet.d.ts +26 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-detail-sheet.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-detail-sheet.js +332 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-detail-sheet.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-detail-sheet.tsx +518 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-file-attachments.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-file-attachments.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-file-attachments.js +255 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-file-attachments.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-file-attachments.tsx +388 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/timesheet-task-create-sheet.d.ts +10 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/timesheet-task-create-sheet.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/timesheet-task-create-sheet.js +131 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/timesheet-task-create-sheet.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/timesheet-task-create-sheet.tsx +214 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/api.d.ts +108 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/api.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/api.js +162 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/api.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/api.ts +428 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/hooks/use-operations-access.d.ts +8 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/hooks/use-operations-access.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/hooks/use-operations-access.js +36 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/hooks/use-operations-access.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/hooks/use-operations-access.ts +44 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/types.d.ts +837 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/types.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/types.js +3 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/types.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/types.ts +861 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/format.d.ts +16 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/format.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/format.js +182 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/format.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/format.ts +250 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/forms.d.ts +4 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/forms.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/forms.js +51 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/forms.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/forms.ts +61 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/approvals/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/approvals/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/approvals/page.js +954 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/approvals/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/approvals/page.tsx +1277 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborator-types/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborator-types/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborator-types/page.js +488 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborator-types/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborator-types/page.tsx +805 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/edit/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/edit/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/edit/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/edit/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/edit/page.tsx +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/page.tsx +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/new/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/new/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/new/page.js +8 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/new/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/new/page.tsx +5 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/page.js +612 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/page.tsx +939 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/edit/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/edit/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/edit/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/edit/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/edit/page.tsx +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/page.tsx +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/new/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/new/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/new/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/new/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/new/page.tsx +17 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/page.js +348 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/page.tsx +536 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/departments/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/departments/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/departments/page.js +401 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/departments/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/departments/page.tsx +607 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/layout.d.ts +5 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/layout.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/layout.js +7 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/layout.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/layout.tsx +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/[id]/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/[id]/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/[id]/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/[id]/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/[id]/page.tsx +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/page.js +321 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/page.tsx +440 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-tasks/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-tasks/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-tasks/page.js +939 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-tasks/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-tasks/page.tsx +1499 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/async-options-combobox.d.ts +29 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/async-options-combobox.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/async-options-combobox.js +95 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/async-options-combobox.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/async-options-combobox.tsx +233 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-costs-section.d.ts +10 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-costs-section.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-costs-section.js +577 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-costs-section.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-costs-section.tsx +868 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-details-screen.d.ts +4 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-details-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-details-screen.js +337 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-details-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-details-screen.tsx +476 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-form-screen.d.ts +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-form-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-form-screen.js +1348 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-form-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-form-screen.tsx +2233 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-select-with-create.d.ts +12 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-select-with-create.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-select-with-create.js +162 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-select-with-create.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-select-with-create.tsx +261 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-content-editor.d.ts +18 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-content-editor.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-content-editor.js +145 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-content-editor.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-content-editor.tsx +258 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-details-screen.d.ts +4 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-details-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-details-screen.js +223 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-details-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-details-screen.tsx +342 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-form-screen.d.ts +58 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-form-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-form-screen.js +438 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-form-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-form-screen.tsx +698 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/department-select-with-create.d.ts +20 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/department-select-with-create.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/department-select-with-create.js +233 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/department-select-with-create.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/department-select-with-create.tsx +392 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/my-project-summary-screen.d.ts +4 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/my-project-summary-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/my-project-summary-screen.js +814 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/my-project-summary-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/my-project-summary-screen.tsx +1288 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-calendar-view.d.ts +21 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-calendar-view.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-calendar-view.js +174 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-calendar-view.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-calendar-view.tsx +306 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-header.d.ts +10 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-header.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-header.js +12 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-header.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-header.tsx +29 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/person-select-with-create.d.ts +15 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/person-select-with-create.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/person-select-with-create.js +501 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/person-select-with-create.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/person-select-with-create.tsx +853 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-cost-report-screen.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-cost-report-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-cost-report-screen.js +459 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-cost-report-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-cost-report-screen.tsx +598 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-costs-section.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-costs-section.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-costs-section.js +876 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-costs-section.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-costs-section.tsx +1368 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-details-screen.d.ts +4 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-details-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-details-screen.js +2930 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-details-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-details-screen.tsx +4378 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-form-screen.d.ts +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-form-screen.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-form-screen.js +1013 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-form-screen.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-form-screen.tsx +1745 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/section-card.d.ts +13 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/section-card.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/section-card.js +38 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/section-card.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/section-card.tsx +74 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/status-badge.d.ts +7 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/status-badge.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/status-badge.js +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/status-badge.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/status-badge.tsx +15 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/system-user-select-with-create.d.ts +18 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/system-user-select-with-create.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/system-user-select-with-create.js +406 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/system-user-select-with-create.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/system-user-select-with-create.tsx +660 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-detail-sheet.d.ts +26 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-detail-sheet.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-detail-sheet.js +332 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-detail-sheet.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-detail-sheet.tsx +518 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-file-attachments.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-file-attachments.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-file-attachments.js +255 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-file-attachments.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-file-attachments.tsx +388 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/timesheet-task-create-sheet.d.ts +10 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/timesheet-task-create-sheet.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/timesheet-task-create-sheet.js +131 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/timesheet-task-create-sheet.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/timesheet-task-create-sheet.tsx +214 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/api.d.ts +108 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/api.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/api.js +162 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/api.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/api.ts +428 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/hooks/use-operations-access.d.ts +8 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/hooks/use-operations-access.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/hooks/use-operations-access.js +36 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/hooks/use-operations-access.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/hooks/use-operations-access.ts +44 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/types.d.ts +837 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/types.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/types.js +3 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/types.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/types.ts +861 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/format.d.ts +16 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/format.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/format.js +182 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/format.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/format.ts +250 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/forms.d.ts +4 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/forms.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/forms.js +51 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/forms.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/forms.ts +61 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/approvals/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/approvals/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/approvals/page.js +954 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/approvals/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/approvals/page.tsx +1277 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborator-types/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborator-types/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborator-types/page.js +488 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborator-types/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborator-types/page.tsx +805 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/edit/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/edit/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/edit/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/edit/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/edit/page.tsx +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/page.tsx +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/new/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/new/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/new/page.js +8 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/new/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/new/page.tsx +5 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/page.js +612 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/page.tsx +939 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/edit/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/edit/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/edit/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/edit/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/edit/page.tsx +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/page.tsx +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/new/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/new/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/new/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/new/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/new/page.tsx +17 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/page.js +348 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/page.tsx +536 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/departments/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/departments/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/departments/page.js +401 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/departments/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/departments/page.tsx +607 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/layout.d.ts +5 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/layout.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/layout.js +7 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/layout.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/layout.tsx +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/[id]/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/[id]/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/[id]/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/[id]/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/[id]/page.tsx +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/page.js +321 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/page.tsx +440 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-tasks/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-tasks/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-tasks/page.js +939 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-tasks/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-tasks/page.tsx +1499 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/page.js +8 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/page.tsx +5 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-categories/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-categories/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-categories/page.js +436 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-categories/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-categories/page.tsx +675 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-types/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-types/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-types/page.js +563 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-types/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-types/page.tsx +846 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/costs-report/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/costs-report/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/costs-report/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/costs-report/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/costs-report/page.tsx +10 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/edit/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/edit/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/edit/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/edit/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/edit/page.tsx +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/page.tsx +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/new/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/new/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/new/page.js +8 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/new/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/new/page.tsx +5 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/page.js +492 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/page.tsx +757 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/collaborators/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/collaborators/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/collaborators/page.js +342 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/collaborators/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/collaborators/page.tsx +430 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/projects/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/projects/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/projects/page.js +338 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/projects/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/projects/page.tsx +428 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/schedule-adjustments/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/schedule-adjustments/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/schedule-adjustments/page.js +660 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/schedule-adjustments/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/schedule-adjustments/page.tsx +992 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/time-off/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/time-off/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/time-off/page.js +515 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/time-off/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/time-off/page.tsx +707 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/timesheets/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/timesheets/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/timesheets/page.js +1141 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/timesheets/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/timesheets/page.tsx +1705 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/page.js +8 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/page.tsx +5 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-categories/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-categories/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-categories/page.js +436 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-categories/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-categories/page.tsx +675 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-types/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-types/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-types/page.js +563 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-types/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-types/page.tsx +846 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/edit/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/edit/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/edit/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/edit/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/edit/page.tsx +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/page.d.ts +6 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/page.js +9 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/page.tsx +11 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/new/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/new/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/new/page.js +8 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/new/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/new/page.tsx +5 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/page.js +492 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/page.tsx +757 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/collaborators/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/collaborators/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/collaborators/page.js +342 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/collaborators/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/collaborators/page.tsx +430 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/projects/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/projects/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/projects/page.js +338 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/projects/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/projects/page.tsx +428 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/schedule-adjustments/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/schedule-adjustments/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/schedule-adjustments/page.js +660 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/schedule-adjustments/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/schedule-adjustments/page.tsx +992 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/time-off/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/time-off/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/time-off/page.js +515 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/time-off/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/time-off/page.tsx +707 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/timesheets/page.d.ts +2 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/timesheets/page.d.ts.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/timesheets/page.js +1141 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/timesheets/page.js.map +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/timesheets/page.tsx +1705 -0
- package/hedhog/table/operations_collaborator.yaml +5 -0
- package/hedhog/table/operations_collaborator_compensation_history.yaml +4 -0
- package/hedhog/table/operations_project_assignment.yaml +1 -0
- package/hedhog/table/operations_project_cost.yaml +93 -0
- package/hedhog/table/operations_project_cost_category.yaml +37 -0
- package/hedhog/table/operations_project_cost_type.yaml +55 -0
- package/hedhog/table/operations_task_comment.yaml +26 -0
- package/package.json +6 -6
- package/src/controllers/operations-collaborators.controller.ts +26 -0
- package/src/controllers/operations-project-costs.controller.ts +249 -0
- package/src/controllers/operations-tasks.controller.ts +49 -0
- package/src/dto/create-collaborator-project-assignment.dto.ts +14 -0
- package/src/dto/create-project-cost-category.dto.ts +37 -0
- package/src/dto/create-project-cost-type.dto.ts +64 -0
- package/src/dto/create-project-cost.dto.ts +126 -0
- package/src/dto/get-project-cost-report.dto.ts +46 -0
- package/src/dto/list-project-cost-categories.dto.ts +17 -0
- package/src/dto/list-project-cost-types.dto.ts +28 -0
- package/src/dto/list-project-costs.dto.ts +59 -0
- package/src/dto/list-tasks.dto.ts +7 -0
- package/src/dto/list-timesheets.dto.ts +7 -1
- package/src/dto/update-collaborator-project-assignment.dto.ts +58 -0
- package/src/dto/update-project-cost-category.dto.ts +4 -0
- package/src/dto/update-project-cost-type.dto.ts +4 -0
- package/src/dto/update-project-cost.dto.ts +4 -0
- package/src/operations.module.ts +2 -0
- package/src/operations.service.ts +2472 -61
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
import { Input } from '@/components/ui/input';
|
|
20
20
|
import { KpiCardsGrid } from '@/components/ui/kpi-cards-grid';
|
|
21
21
|
import { Label } from '@/components/ui/label';
|
|
22
|
+
import { Progress } from '@/components/ui/progress';
|
|
22
23
|
import {
|
|
23
24
|
Select,
|
|
24
25
|
SelectContent,
|
|
@@ -26,6 +27,12 @@ import {
|
|
|
26
27
|
SelectTrigger,
|
|
27
28
|
SelectValue,
|
|
28
29
|
} from '@/components/ui/select';
|
|
30
|
+
import {
|
|
31
|
+
Sheet,
|
|
32
|
+
SheetContent,
|
|
33
|
+
SheetHeader,
|
|
34
|
+
SheetTitle,
|
|
35
|
+
} from '@/components/ui/sheet';
|
|
29
36
|
import {
|
|
30
37
|
Table,
|
|
31
38
|
TableBody,
|
|
@@ -34,6 +41,7 @@ import {
|
|
|
34
41
|
TableHeader,
|
|
35
42
|
TableRow,
|
|
36
43
|
} from '@/components/ui/table';
|
|
44
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';
|
|
37
45
|
import { ToggleGroup, ToggleGroupItem } from '@/components/ui/toggle-group';
|
|
38
46
|
import {
|
|
39
47
|
closestCenter,
|
|
@@ -48,6 +56,7 @@ import {
|
|
|
48
56
|
} from '@dnd-kit/core';
|
|
49
57
|
import { CSS } from '@dnd-kit/utilities';
|
|
50
58
|
import { useApp, useQuery } from '@hed-hog/next-app-provider';
|
|
59
|
+
import { AnimatePresence, motion } from 'framer-motion';
|
|
51
60
|
import {
|
|
52
61
|
AlarmClock,
|
|
53
62
|
Archive,
|
|
@@ -59,10 +68,12 @@ import {
|
|
|
59
68
|
LayoutGrid,
|
|
60
69
|
List,
|
|
61
70
|
Loader2,
|
|
71
|
+
MessageSquare,
|
|
72
|
+
Paperclip,
|
|
62
73
|
Pencil,
|
|
63
74
|
PlayCircle,
|
|
64
75
|
Plus,
|
|
65
|
-
|
|
76
|
+
Timer,
|
|
66
77
|
Trash2,
|
|
67
78
|
} from 'lucide-react';
|
|
68
79
|
import { useTranslations } from 'next-intl';
|
|
@@ -71,16 +82,19 @@ import { useCallback, useMemo, useState } from 'react';
|
|
|
71
82
|
import { OperationsHeader } from '../_components/operations-header';
|
|
72
83
|
import { StatusBadge } from '../_components/status-badge';
|
|
73
84
|
import {
|
|
85
|
+
TaskCommentsSection,
|
|
74
86
|
TaskDetailSheet,
|
|
75
87
|
type TaskDetailSheetData,
|
|
76
88
|
} from '../_components/task-detail-sheet';
|
|
89
|
+
import { TaskFileAttachments } from '../_components/task-file-attachments';
|
|
77
90
|
import { fetchOperations, mutateOperations } from '../_lib/api';
|
|
91
|
+
import { useMentionItems } from '../_lib/hooks/use-mention-items';
|
|
78
92
|
import type {
|
|
79
93
|
OperationsProjectOption,
|
|
80
94
|
OperationsTaskOption,
|
|
81
95
|
PaginatedResponse,
|
|
82
96
|
} from '../_lib/types';
|
|
83
|
-
import { getStatusBadgeClass } from '../_lib/utils/format';
|
|
97
|
+
import { formatDate, getStatusBadgeClass } from '../_lib/utils/format';
|
|
84
98
|
|
|
85
99
|
type TaskViewMode = 'table' | 'cards' | 'board';
|
|
86
100
|
|
|
@@ -164,6 +178,48 @@ function getTaskPriorityLabel(value?: string | null) {
|
|
|
164
178
|
return labels[value ?? ''] ?? String(value ?? '');
|
|
165
179
|
}
|
|
166
180
|
|
|
181
|
+
function getPriorityClassName(priority?: string | null) {
|
|
182
|
+
if (priority === 'high') return 'border-rose-300 bg-rose-100 text-rose-700';
|
|
183
|
+
if (priority === 'medium')
|
|
184
|
+
return 'border-amber-300 bg-amber-100 text-amber-700';
|
|
185
|
+
return 'border-emerald-300 bg-emerald-100 text-emerald-700';
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
function getTaskProgress(status?: string | null) {
|
|
189
|
+
const map: Record<string, number> = {
|
|
190
|
+
todo: 0,
|
|
191
|
+
doing: 33,
|
|
192
|
+
review: 66,
|
|
193
|
+
done: 100,
|
|
194
|
+
};
|
|
195
|
+
return map[status ?? ''] ?? 0;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
function isPastDue(dueDate?: string | null) {
|
|
199
|
+
if (!dueDate) return false;
|
|
200
|
+
return new Date(dueDate) < new Date();
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
function getColumnClassName(columnId: BoardColumnId) {
|
|
204
|
+
const styles: Record<BoardColumnId, string> = {
|
|
205
|
+
todo: 'from-slate-500/20 via-slate-500/5 to-transparent',
|
|
206
|
+
doing: 'from-sky-500/20 via-cyan-500/5 to-transparent',
|
|
207
|
+
review: 'from-amber-500/20 via-yellow-500/5 to-transparent',
|
|
208
|
+
done: 'from-emerald-500/20 via-green-500/5 to-transparent',
|
|
209
|
+
};
|
|
210
|
+
return styles[columnId];
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
function getColumnDotClassName(columnId: BoardColumnId) {
|
|
214
|
+
const styles: Record<BoardColumnId, string> = {
|
|
215
|
+
todo: 'bg-slate-500',
|
|
216
|
+
doing: 'bg-sky-500',
|
|
217
|
+
review: 'bg-amber-500',
|
|
218
|
+
done: 'bg-emerald-500',
|
|
219
|
+
};
|
|
220
|
+
return styles[columnId];
|
|
221
|
+
}
|
|
222
|
+
|
|
167
223
|
function getInitials(value?: string | null) {
|
|
168
224
|
const parts = String(value ?? '')
|
|
169
225
|
.trim()
|
|
@@ -248,7 +304,8 @@ export default function OperationsMyTasksPage() {
|
|
|
248
304
|
const commonT = useTranslations('operations.Common');
|
|
249
305
|
const detailT = useTranslations('operations.ProjectDetailsPage');
|
|
250
306
|
|
|
251
|
-
const { request, currentLocaleCode } = useApp();
|
|
307
|
+
const { request, currentLocaleCode, getSettingValue } = useApp();
|
|
308
|
+
const mentionItems = useMentionItems(request);
|
|
252
309
|
const [search, setSearch] = useState('');
|
|
253
310
|
const [statusFilter, setStatusFilter] = useState('all');
|
|
254
311
|
const [page, setPage] = useState(1);
|
|
@@ -276,6 +333,7 @@ export default function OperationsMyTasksPage() {
|
|
|
276
333
|
const [taskFormOpen, setTaskFormOpen] = useState(false);
|
|
277
334
|
const [editingTaskId, setEditingTaskId] = useState<number | null>(null);
|
|
278
335
|
const [taskFormLoading, setTaskFormLoading] = useState(false);
|
|
336
|
+
const [archivingTaskId, setArchivingTaskId] = useState<number | null>(null);
|
|
279
337
|
const [taskFormData, setTaskFormData] =
|
|
280
338
|
useState<TaskFormState>(EMPTY_TASK_FORM);
|
|
281
339
|
const [inlineCreateColumn, setInlineCreateColumn] =
|
|
@@ -459,12 +517,22 @@ export default function OperationsMyTasksPage() {
|
|
|
459
517
|
|
|
460
518
|
const handleArchiveTask = useCallback(
|
|
461
519
|
async (taskId: number) => {
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
520
|
+
setArchivingTaskId(taskId);
|
|
521
|
+
try {
|
|
522
|
+
await mutateOperations(
|
|
523
|
+
request,
|
|
524
|
+
`/operations/tasks/${taskId}`,
|
|
525
|
+
'PATCH',
|
|
526
|
+
{ archived: true }
|
|
527
|
+
);
|
|
528
|
+
setSelectedTask(null);
|
|
529
|
+
setBoardOverride(null);
|
|
530
|
+
await refetchAll();
|
|
531
|
+
} catch {
|
|
532
|
+
// ignore
|
|
533
|
+
} finally {
|
|
534
|
+
setArchivingTaskId(null);
|
|
535
|
+
}
|
|
468
536
|
},
|
|
469
537
|
[request, refetchAll]
|
|
470
538
|
);
|
|
@@ -719,19 +787,31 @@ export default function OperationsMyTasksPage() {
|
|
|
719
787
|
{(isOver) => (
|
|
720
788
|
<div
|
|
721
789
|
className={[
|
|
722
|
-
'rounded-
|
|
790
|
+
'flex min-h-[32rem] flex-col overflow-hidden rounded-3xl border bg-linear-to-b p-3 transition-all',
|
|
791
|
+
getColumnClassName(column.id),
|
|
723
792
|
isOver
|
|
724
|
-
? 'border-primary
|
|
793
|
+
? 'border-primary shadow-lg ring-2 ring-primary/15'
|
|
725
794
|
: 'border-border',
|
|
726
795
|
].join(' ')}
|
|
727
796
|
>
|
|
728
|
-
<div className="mb-3 flex items-center justify-between">
|
|
729
|
-
<div className="
|
|
730
|
-
<
|
|
731
|
-
|
|
797
|
+
<div className="mb-3 flex items-center justify-between gap-3 rounded-2xl border bg-background/85 p-3 shadow-xs">
|
|
798
|
+
<div className="min-w-0">
|
|
799
|
+
<div className="flex items-center gap-2 text-sm font-semibold">
|
|
800
|
+
<span
|
|
801
|
+
className={[
|
|
802
|
+
'size-2.5 rounded-full',
|
|
803
|
+
getColumnDotClassName(column.id),
|
|
804
|
+
].join(' ')}
|
|
805
|
+
/>
|
|
806
|
+
{column.label}
|
|
807
|
+
</div>
|
|
808
|
+
<div className="mt-1 text-xs text-muted-foreground">
|
|
809
|
+
{boardColumns[column.id].length}{' '}
|
|
810
|
+
{detailT('kanban.items')}
|
|
811
|
+
</div>
|
|
732
812
|
</div>
|
|
733
813
|
<div className="flex items-center gap-1">
|
|
734
|
-
<span className="rounded-full bg-background px-2 py-0.5 text-xs text-muted-foreground">
|
|
814
|
+
<span className="rounded-full border bg-background px-2 py-0.5 text-xs font-medium text-muted-foreground">
|
|
735
815
|
{boardColumns[column.id].length}
|
|
736
816
|
</span>
|
|
737
817
|
<button
|
|
@@ -747,129 +827,182 @@ export default function OperationsMyTasksPage() {
|
|
|
747
827
|
</div>
|
|
748
828
|
</div>
|
|
749
829
|
|
|
750
|
-
<div className="
|
|
751
|
-
{
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
className={[
|
|
780
|
-
'shrink-0 rounded-full px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide',
|
|
781
|
-
task.priority === 'high'
|
|
782
|
-
? 'bg-rose-100 text-rose-700'
|
|
783
|
-
: task.priority === 'medium'
|
|
784
|
-
? 'bg-amber-100 text-amber-700'
|
|
785
|
-
: 'bg-emerald-100 text-emerald-700',
|
|
786
|
-
].join(' ')}
|
|
787
|
-
>
|
|
788
|
-
{getTaskPriorityLabel(task.priority)}
|
|
789
|
-
</span>
|
|
790
|
-
<Button
|
|
791
|
-
type="button"
|
|
792
|
-
variant="ghost"
|
|
793
|
-
size="icon"
|
|
794
|
-
className="size-7 shrink-0 rounded-full"
|
|
795
|
-
onPointerDown={(event) =>
|
|
796
|
-
event.stopPropagation()
|
|
797
|
-
}
|
|
798
|
-
onClick={(event) => {
|
|
799
|
-
event.stopPropagation();
|
|
830
|
+
<div className="flex flex-1 flex-col gap-2">
|
|
831
|
+
<AnimatePresence initial={false}>
|
|
832
|
+
{boardColumns[column.id].map((task) => {
|
|
833
|
+
const taskTags = task.tags
|
|
834
|
+
? task.tags
|
|
835
|
+
.split(',')
|
|
836
|
+
.map((t) => t.trim())
|
|
837
|
+
.filter(Boolean)
|
|
838
|
+
: [];
|
|
839
|
+
const comments = task.commentCount ?? 0;
|
|
840
|
+
return (
|
|
841
|
+
<DraggableTaskCard key={task.id} task={task}>
|
|
842
|
+
{(isDragging) => (
|
|
843
|
+
<motion.div
|
|
844
|
+
initial={{ opacity: 0, scale: 0.96 }}
|
|
845
|
+
animate={{ opacity: 1, scale: 1 }}
|
|
846
|
+
exit={{ opacity: 0, scale: 0.95, y: -4 }}
|
|
847
|
+
transition={{ duration: 0.18 }}
|
|
848
|
+
role="button"
|
|
849
|
+
tabIndex={0}
|
|
850
|
+
onClick={() =>
|
|
851
|
+
!isDragging && openEditTaskForm(task)
|
|
852
|
+
}
|
|
853
|
+
onKeyDown={(event) => {
|
|
854
|
+
if (
|
|
855
|
+
event.key === 'Enter' ||
|
|
856
|
+
event.key === ' '
|
|
857
|
+
) {
|
|
858
|
+
event.preventDefault();
|
|
800
859
|
openEditTaskForm(task);
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
860
|
+
}
|
|
861
|
+
}}
|
|
862
|
+
className={[
|
|
863
|
+
'group w-full cursor-pointer rounded-2xl border bg-card p-3 text-left shadow-xs transition',
|
|
864
|
+
isDragging
|
|
865
|
+
? 'opacity-0'
|
|
866
|
+
: 'hover:border-primary/40 hover:shadow-lg',
|
|
867
|
+
].join(' ')}
|
|
868
|
+
>
|
|
869
|
+
<div className="mb-3 flex items-start justify-between gap-2">
|
|
870
|
+
<div className="min-w-0 space-y-1">
|
|
871
|
+
<p className="line-clamp-2 text-sm font-semibold leading-snug">
|
|
872
|
+
{task.name}
|
|
873
|
+
</p>
|
|
874
|
+
<p className="truncate text-[11px] text-muted-foreground">
|
|
875
|
+
{[task.projectName, task.projectCode]
|
|
876
|
+
.filter(Boolean)
|
|
877
|
+
.join(' • ') ||
|
|
878
|
+
commonT('labels.notAvailable')}
|
|
879
|
+
</p>
|
|
880
|
+
{task.description ? (
|
|
881
|
+
<p className="line-clamp-2 text-xs leading-5 text-muted-foreground">
|
|
882
|
+
{task.description.replace(
|
|
883
|
+
/<[^>]*>/g,
|
|
884
|
+
''
|
|
885
|
+
)}
|
|
886
|
+
</p>
|
|
887
|
+
) : null}
|
|
888
|
+
</div>
|
|
811
889
|
<span
|
|
812
|
-
|
|
813
|
-
|
|
890
|
+
className={[
|
|
891
|
+
'shrink-0 rounded-full border px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide',
|
|
892
|
+
getPriorityClassName(task.priority),
|
|
893
|
+
].join(' ')}
|
|
814
894
|
>
|
|
815
|
-
{
|
|
895
|
+
{getTaskPriorityLabel(task.priority)}
|
|
816
896
|
</span>
|
|
817
|
-
))}
|
|
818
|
-
</div>
|
|
819
|
-
) : null}
|
|
820
|
-
|
|
821
|
-
<div className="flex items-center justify-between text-xs text-muted-foreground">
|
|
822
|
-
<span className="inline-flex items-center gap-1">
|
|
823
|
-
<AlarmClock className="size-3.5" />
|
|
824
|
-
{task.dueDate
|
|
825
|
-
? normalizeDateInputValue(task.dueDate)
|
|
826
|
-
.split('-')
|
|
827
|
-
.reverse()
|
|
828
|
-
.join('/')
|
|
829
|
-
: '-'}
|
|
830
|
-
</span>
|
|
831
|
-
<span>
|
|
832
|
-
{task.estimateHours != null
|
|
833
|
-
? `${task.estimateHours}h`
|
|
834
|
-
: ''}
|
|
835
|
-
</span>
|
|
836
|
-
</div>
|
|
837
|
-
|
|
838
|
-
{task.assigneeName ? (
|
|
839
|
-
<div className="mt-2 flex items-center gap-1.5">
|
|
840
|
-
<div className="flex size-5 shrink-0 items-center justify-center overflow-hidden rounded-full bg-muted text-[9px] font-semibold uppercase text-muted-foreground ring-1 ring-border">
|
|
841
|
-
{(() => {
|
|
842
|
-
const photoUrl = getUserPhotoUrl(
|
|
843
|
-
task.assigneeUserPhotoId
|
|
844
|
-
);
|
|
845
|
-
const avatarUrl =
|
|
846
|
-
task.assigneePersonAvatarId
|
|
847
|
-
? getPersonAvatarUrl(
|
|
848
|
-
task.assigneePersonAvatarId
|
|
849
|
-
)
|
|
850
|
-
: null;
|
|
851
|
-
const imgSrc = photoUrl ?? avatarUrl;
|
|
852
|
-
return imgSrc ? (
|
|
853
|
-
// eslint-disable-next-line @next/next/no-img-element
|
|
854
|
-
<img
|
|
855
|
-
src={imgSrc}
|
|
856
|
-
alt={task.assigneeName}
|
|
857
|
-
className="size-full object-cover"
|
|
858
|
-
/>
|
|
859
|
-
) : (
|
|
860
|
-
getInitials(task.assigneeName)
|
|
861
|
-
);
|
|
862
|
-
})()}
|
|
863
897
|
</div>
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
898
|
+
|
|
899
|
+
{taskTags.length > 0 ? (
|
|
900
|
+
<div className="mb-3 flex flex-wrap gap-1">
|
|
901
|
+
{taskTags.slice(0, 4).map((tag) => (
|
|
902
|
+
<span
|
|
903
|
+
key={`${task.id}-${tag}`}
|
|
904
|
+
className="rounded-full border bg-muted/60 px-2 py-0.5 text-[10px] font-medium text-muted-foreground"
|
|
905
|
+
>
|
|
906
|
+
{tag}
|
|
907
|
+
</span>
|
|
908
|
+
))}
|
|
909
|
+
{taskTags.length > 4 ? (
|
|
910
|
+
<span className="rounded-full border bg-muted/60 px-2 py-0.5 text-[10px] font-medium text-muted-foreground">
|
|
911
|
+
+{taskTags.length - 4}
|
|
912
|
+
</span>
|
|
913
|
+
) : null}
|
|
914
|
+
</div>
|
|
915
|
+
) : null}
|
|
916
|
+
|
|
917
|
+
<div className="grid grid-cols-2 gap-2 text-xs">
|
|
918
|
+
<div
|
|
919
|
+
className={[
|
|
920
|
+
'rounded-xl border bg-muted/20 px-2 py-1.5',
|
|
921
|
+
isPastDue(task.dueDate) &&
|
|
922
|
+
task.status !== 'done'
|
|
923
|
+
? 'border-rose-500/30 bg-rose-500/10 text-rose-700 dark:text-rose-300'
|
|
924
|
+
: 'text-muted-foreground',
|
|
925
|
+
].join(' ')}
|
|
926
|
+
>
|
|
927
|
+
<span className="flex items-center gap-1">
|
|
928
|
+
<AlarmClock className="size-3.5" />
|
|
929
|
+
{formatDate(
|
|
930
|
+
task.dueDate,
|
|
931
|
+
getSettingValue,
|
|
932
|
+
currentLocaleCode
|
|
933
|
+
)}
|
|
934
|
+
</span>
|
|
935
|
+
</div>
|
|
936
|
+
<div className="rounded-xl border bg-muted/20 px-2 py-1.5 text-muted-foreground">
|
|
937
|
+
<span className="flex items-center gap-1">
|
|
938
|
+
<Timer className="size-3.5" />
|
|
939
|
+
{task.estimateHours != null
|
|
940
|
+
? `${task.estimateHours}h`
|
|
941
|
+
: '—'}
|
|
942
|
+
</span>
|
|
943
|
+
</div>
|
|
944
|
+
</div>
|
|
945
|
+
|
|
946
|
+
<div className="mt-3 space-y-1.5">
|
|
947
|
+
<div className="flex items-center justify-between text-[11px] text-muted-foreground">
|
|
948
|
+
<span>Progresso</span>
|
|
949
|
+
<span>
|
|
950
|
+
{getTaskProgress(task.status)}%
|
|
951
|
+
</span>
|
|
952
|
+
</div>
|
|
953
|
+
<Progress
|
|
954
|
+
value={getTaskProgress(task.status)}
|
|
955
|
+
className="h-1.5"
|
|
956
|
+
/>
|
|
957
|
+
</div>
|
|
958
|
+
|
|
959
|
+
<div className="mt-3 flex items-center justify-between gap-3 border-t pt-3">
|
|
960
|
+
<div className="flex min-w-0 items-center gap-2">
|
|
961
|
+
<div className="flex size-7 shrink-0 items-center justify-center overflow-hidden rounded-full bg-muted text-[10px] font-semibold uppercase text-muted-foreground ring-1 ring-border">
|
|
962
|
+
{(() => {
|
|
963
|
+
const photoUrl = getUserPhotoUrl(
|
|
964
|
+
task.assigneeUserPhotoId
|
|
965
|
+
);
|
|
966
|
+
const avatarUrl =
|
|
967
|
+
task.assigneePersonAvatarId
|
|
968
|
+
? getPersonAvatarUrl(
|
|
969
|
+
task.assigneePersonAvatarId
|
|
970
|
+
)
|
|
971
|
+
: null;
|
|
972
|
+
const imgSrc =
|
|
973
|
+
photoUrl ?? avatarUrl;
|
|
974
|
+
return imgSrc ? (
|
|
975
|
+
// eslint-disable-next-line @next/next/no-img-element
|
|
976
|
+
<img
|
|
977
|
+
src={imgSrc}
|
|
978
|
+
alt={task.assigneeName ?? ''}
|
|
979
|
+
className="size-full object-cover"
|
|
980
|
+
/>
|
|
981
|
+
) : (
|
|
982
|
+
getInitials(task.assigneeName)
|
|
983
|
+
);
|
|
984
|
+
})()}
|
|
985
|
+
</div>
|
|
986
|
+
<span className="truncate text-[11px] text-muted-foreground">
|
|
987
|
+
{task.assigneeName ?? '—'}
|
|
988
|
+
</span>
|
|
989
|
+
</div>
|
|
990
|
+
<div className="flex shrink-0 items-center gap-2 text-[11px] text-muted-foreground">
|
|
991
|
+
<span className="inline-flex items-center gap-1">
|
|
992
|
+
<MessageSquare className="size-3.5" />
|
|
993
|
+
{comments}
|
|
994
|
+
</span>
|
|
995
|
+
<span className="inline-flex items-center gap-1">
|
|
996
|
+
<Paperclip className="size-3.5" />0
|
|
997
|
+
</span>
|
|
998
|
+
</div>
|
|
999
|
+
</div>
|
|
1000
|
+
</motion.div>
|
|
1001
|
+
)}
|
|
1002
|
+
</DraggableTaskCard>
|
|
1003
|
+
);
|
|
1004
|
+
})}
|
|
1005
|
+
</AnimatePresence>
|
|
873
1006
|
</div>
|
|
874
1007
|
|
|
875
1008
|
{inlineCreateColumn === column.id ? (
|
|
@@ -1102,6 +1235,7 @@ export default function OperationsMyTasksPage() {
|
|
|
1102
1235
|
<TaskDetailSheet
|
|
1103
1236
|
task={selectedTask}
|
|
1104
1237
|
open={selectedTask !== null}
|
|
1238
|
+
defaultTab="comments"
|
|
1105
1239
|
onOpenChange={(open) => {
|
|
1106
1240
|
if (!open) setSelectedTask(null);
|
|
1107
1241
|
}}
|
|
@@ -1194,7 +1328,7 @@ export default function OperationsMyTasksPage() {
|
|
|
1194
1328
|
</DialogContent>
|
|
1195
1329
|
</Dialog>
|
|
1196
1330
|
|
|
1197
|
-
<
|
|
1331
|
+
<Sheet
|
|
1198
1332
|
open={taskFormOpen}
|
|
1199
1333
|
onOpenChange={(open) => {
|
|
1200
1334
|
if (!taskFormLoading) {
|
|
@@ -1206,209 +1340,283 @@ export default function OperationsMyTasksPage() {
|
|
|
1206
1340
|
}
|
|
1207
1341
|
}}
|
|
1208
1342
|
>
|
|
1209
|
-
<
|
|
1210
|
-
<
|
|
1211
|
-
<
|
|
1343
|
+
<SheetContent className="flex w-full flex-col overflow-hidden sm:max-w-xl">
|
|
1344
|
+
<SheetHeader className="shrink-0">
|
|
1345
|
+
<SheetTitle>
|
|
1212
1346
|
{editingTaskId
|
|
1213
1347
|
? detailT('taskForm.titleEdit')
|
|
1214
1348
|
: detailT('taskForm.titleNew')}
|
|
1215
|
-
</
|
|
1216
|
-
</
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
<
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
<SelectTrigger className="w-full" id="task-project">
|
|
1230
|
-
<SelectValue
|
|
1231
|
-
placeholder={t('dialogs.createProjectPlaceholder')}
|
|
1232
|
-
/>
|
|
1233
|
-
</SelectTrigger>
|
|
1234
|
-
<SelectContent>
|
|
1235
|
-
{projectOptions.map((project) => (
|
|
1236
|
-
<SelectItem key={project.id} value={String(project.id)}>
|
|
1237
|
-
{project.label}
|
|
1238
|
-
</SelectItem>
|
|
1239
|
-
))}
|
|
1240
|
-
</SelectContent>
|
|
1241
|
-
</Select>
|
|
1242
|
-
</div>
|
|
1243
|
-
|
|
1244
|
-
<div className="space-y-2">
|
|
1245
|
-
<Label htmlFor="task-name">
|
|
1246
|
-
{detailT('taskForm.nameLabel')} *
|
|
1247
|
-
</Label>
|
|
1248
|
-
<Input
|
|
1249
|
-
id="task-name"
|
|
1250
|
-
value={taskFormData.name}
|
|
1251
|
-
onChange={(event) =>
|
|
1252
|
-
setTaskFormData((prev) => ({
|
|
1253
|
-
...prev,
|
|
1254
|
-
name: event.target.value,
|
|
1255
|
-
}))
|
|
1256
|
-
}
|
|
1257
|
-
placeholder={detailT('taskForm.namePlaceholder')}
|
|
1258
|
-
/>
|
|
1259
|
-
</div>
|
|
1260
|
-
|
|
1261
|
-
<div className="space-y-2">
|
|
1262
|
-
<Label htmlFor="task-description">
|
|
1263
|
-
{detailT('taskForm.descriptionLabel')}
|
|
1264
|
-
</Label>
|
|
1265
|
-
<RichTextEditor
|
|
1266
|
-
value={taskFormData.description}
|
|
1267
|
-
onChange={(val) =>
|
|
1268
|
-
setTaskFormData((prev) => ({
|
|
1269
|
-
...prev,
|
|
1270
|
-
description: val,
|
|
1271
|
-
}))
|
|
1272
|
-
}
|
|
1273
|
-
/>
|
|
1274
|
-
</div>
|
|
1349
|
+
</SheetTitle>
|
|
1350
|
+
</SheetHeader>
|
|
1351
|
+
|
|
1352
|
+
<Tabs defaultValue="info" className="flex min-h-0 flex-1 flex-col">
|
|
1353
|
+
<TabsList className="mx-4 grid w-[calc(100%-2rem)] shrink-0 grid-cols-2">
|
|
1354
|
+
<TabsTrigger value="info">
|
|
1355
|
+
{detailT('taskForm.tabInfo')}
|
|
1356
|
+
</TabsTrigger>
|
|
1357
|
+
{editingTaskId ? (
|
|
1358
|
+
<TabsTrigger value="comments">
|
|
1359
|
+
{detailT('taskForm.tabComments')}
|
|
1360
|
+
</TabsTrigger>
|
|
1361
|
+
) : null}
|
|
1362
|
+
</TabsList>
|
|
1275
1363
|
|
|
1276
|
-
<
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1364
|
+
<TabsContent
|
|
1365
|
+
value="info"
|
|
1366
|
+
className="flex min-h-0 flex-1 flex-col data-[state=inactive]:hidden"
|
|
1367
|
+
>
|
|
1368
|
+
<div className="flex-1 space-y-4 overflow-y-auto px-4 py-2">
|
|
1369
|
+
<div className="space-y-2">
|
|
1370
|
+
<Label htmlFor="task-project">
|
|
1371
|
+
{commonT('labels.project')}
|
|
1372
|
+
</Label>
|
|
1373
|
+
<Select
|
|
1374
|
+
value={taskFormData.projectId}
|
|
1375
|
+
onValueChange={(value) =>
|
|
1376
|
+
setTaskFormData((prev) => ({
|
|
1377
|
+
...prev,
|
|
1378
|
+
projectId: value,
|
|
1379
|
+
}))
|
|
1380
|
+
}
|
|
1381
|
+
>
|
|
1382
|
+
<SelectTrigger className="w-full" id="task-project">
|
|
1383
|
+
<SelectValue
|
|
1384
|
+
placeholder={t('dialogs.createProjectPlaceholder')}
|
|
1385
|
+
/>
|
|
1386
|
+
</SelectTrigger>
|
|
1387
|
+
<SelectContent>
|
|
1388
|
+
{projectOptions.map((project) => (
|
|
1389
|
+
<SelectItem key={project.id} value={String(project.id)}>
|
|
1390
|
+
{project.label}
|
|
1391
|
+
</SelectItem>
|
|
1392
|
+
))}
|
|
1393
|
+
</SelectContent>
|
|
1394
|
+
</Select>
|
|
1395
|
+
</div>
|
|
1396
|
+
|
|
1397
|
+
<div className="space-y-2">
|
|
1398
|
+
<Label htmlFor="task-name">
|
|
1399
|
+
{detailT('taskForm.nameLabel')} *
|
|
1400
|
+
</Label>
|
|
1401
|
+
<Input
|
|
1402
|
+
id="task-name"
|
|
1403
|
+
value={taskFormData.name}
|
|
1404
|
+
onChange={(event) =>
|
|
1405
|
+
setTaskFormData((prev) => ({
|
|
1406
|
+
...prev,
|
|
1407
|
+
name: event.target.value,
|
|
1408
|
+
}))
|
|
1409
|
+
}
|
|
1410
|
+
placeholder={detailT('taskForm.namePlaceholder')}
|
|
1411
|
+
/>
|
|
1412
|
+
</div>
|
|
1413
|
+
|
|
1414
|
+
<div className="space-y-2">
|
|
1415
|
+
<Label htmlFor="task-description">
|
|
1416
|
+
{detailT('taskForm.descriptionLabel')}
|
|
1417
|
+
</Label>
|
|
1418
|
+
<RichTextEditor
|
|
1419
|
+
value={taskFormData.description}
|
|
1420
|
+
onChange={(val) =>
|
|
1421
|
+
setTaskFormData((prev) => ({
|
|
1422
|
+
...prev,
|
|
1423
|
+
description: val,
|
|
1424
|
+
}))
|
|
1425
|
+
}
|
|
1426
|
+
mentions={mentionItems}
|
|
1427
|
+
/>
|
|
1428
|
+
</div>
|
|
1429
|
+
|
|
1430
|
+
<div className="grid grid-cols-2 gap-3">
|
|
1431
|
+
<div className="space-y-2">
|
|
1432
|
+
<Label>{detailT('taskForm.priorityLabel')}</Label>
|
|
1433
|
+
<Select
|
|
1434
|
+
value={taskFormData.priority}
|
|
1435
|
+
onValueChange={(value) =>
|
|
1436
|
+
setTaskFormData((prev) => ({
|
|
1437
|
+
...prev,
|
|
1438
|
+
priority: value as TaskFormState['priority'],
|
|
1439
|
+
}))
|
|
1440
|
+
}
|
|
1441
|
+
>
|
|
1442
|
+
<SelectTrigger className="w-full">
|
|
1443
|
+
<SelectValue />
|
|
1444
|
+
</SelectTrigger>
|
|
1445
|
+
<SelectContent>
|
|
1446
|
+
<SelectItem value="low">
|
|
1447
|
+
{getTaskPriorityLabel('low')}
|
|
1448
|
+
</SelectItem>
|
|
1449
|
+
<SelectItem value="medium">
|
|
1450
|
+
{getTaskPriorityLabel('medium')}
|
|
1451
|
+
</SelectItem>
|
|
1452
|
+
<SelectItem value="high">
|
|
1453
|
+
{getTaskPriorityLabel('high')}
|
|
1454
|
+
</SelectItem>
|
|
1455
|
+
</SelectContent>
|
|
1456
|
+
</Select>
|
|
1457
|
+
</div>
|
|
1304
1458
|
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1459
|
+
<div className="space-y-2">
|
|
1460
|
+
<Label>{detailT('taskForm.columnLabel')}</Label>
|
|
1461
|
+
<Select
|
|
1462
|
+
value={taskFormData.status}
|
|
1463
|
+
onValueChange={(value) =>
|
|
1464
|
+
setTaskFormData((prev) => ({
|
|
1465
|
+
...prev,
|
|
1466
|
+
status: value as BoardColumnId,
|
|
1467
|
+
}))
|
|
1468
|
+
}
|
|
1469
|
+
>
|
|
1470
|
+
<SelectTrigger className="w-full">
|
|
1471
|
+
<SelectValue />
|
|
1472
|
+
</SelectTrigger>
|
|
1473
|
+
<SelectContent>
|
|
1474
|
+
{KANBAN_COLUMNS.map((column) => (
|
|
1475
|
+
<SelectItem key={column.id} value={column.id}>
|
|
1476
|
+
{column.label}
|
|
1477
|
+
</SelectItem>
|
|
1478
|
+
))}
|
|
1479
|
+
</SelectContent>
|
|
1480
|
+
</Select>
|
|
1481
|
+
</div>
|
|
1482
|
+
</div>
|
|
1483
|
+
|
|
1484
|
+
<div className="grid grid-cols-2 gap-3">
|
|
1485
|
+
<div className="space-y-2">
|
|
1486
|
+
<Label htmlFor="task-due-date">
|
|
1487
|
+
{detailT('taskForm.deadlineLabel')}
|
|
1488
|
+
</Label>
|
|
1489
|
+
<Input
|
|
1490
|
+
id="task-due-date"
|
|
1491
|
+
type="date"
|
|
1492
|
+
value={taskFormData.dueDate}
|
|
1493
|
+
onChange={(event) =>
|
|
1494
|
+
setTaskFormData((prev) => ({
|
|
1495
|
+
...prev,
|
|
1496
|
+
dueDate: event.target.value,
|
|
1497
|
+
}))
|
|
1498
|
+
}
|
|
1499
|
+
/>
|
|
1500
|
+
</div>
|
|
1329
1501
|
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1502
|
+
<div className="space-y-2">
|
|
1503
|
+
<Label htmlFor="task-estimate">
|
|
1504
|
+
{detailT('taskForm.estimateLabel')}
|
|
1505
|
+
</Label>
|
|
1506
|
+
<Input
|
|
1507
|
+
id="task-estimate"
|
|
1508
|
+
type="number"
|
|
1509
|
+
min="0"
|
|
1510
|
+
step="0.5"
|
|
1511
|
+
placeholder="0"
|
|
1512
|
+
value={taskFormData.estimateHours}
|
|
1513
|
+
onChange={(event) =>
|
|
1514
|
+
setTaskFormData((prev) => ({
|
|
1515
|
+
...prev,
|
|
1516
|
+
estimateHours: event.target.value,
|
|
1517
|
+
}))
|
|
1518
|
+
}
|
|
1519
|
+
/>
|
|
1520
|
+
</div>
|
|
1521
|
+
</div>
|
|
1522
|
+
|
|
1523
|
+
<div className="space-y-2">
|
|
1524
|
+
<Label htmlFor="task-tags">
|
|
1525
|
+
{detailT('taskForm.tagsLabel')}
|
|
1526
|
+
</Label>
|
|
1527
|
+
<Input
|
|
1528
|
+
id="task-tags"
|
|
1529
|
+
value={taskFormData.tags}
|
|
1530
|
+
onChange={(event) =>
|
|
1531
|
+
setTaskFormData((prev) => ({
|
|
1532
|
+
...prev,
|
|
1533
|
+
tags: event.target.value,
|
|
1534
|
+
}))
|
|
1535
|
+
}
|
|
1536
|
+
placeholder={detailT('taskForm.tagsPlaceholder')}
|
|
1537
|
+
/>
|
|
1538
|
+
</div>
|
|
1539
|
+
|
|
1540
|
+
{editingTaskId ? (
|
|
1541
|
+
<div className="space-y-1.5">
|
|
1542
|
+
<Label className="flex items-center gap-1.5">
|
|
1543
|
+
<Paperclip className="size-3.5" />
|
|
1544
|
+
{detailT('taskForm.attachmentsLabel')}
|
|
1545
|
+
</Label>
|
|
1546
|
+
<TaskFileAttachments taskId={editingTaskId} />
|
|
1547
|
+
</div>
|
|
1548
|
+
) : null}
|
|
1346
1549
|
</div>
|
|
1347
1550
|
|
|
1348
|
-
<div className="
|
|
1349
|
-
<
|
|
1350
|
-
{
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1551
|
+
<div className="mt-4 flex flex-wrap items-center justify-between gap-2 border-t px-4 pb-4 pt-4">
|
|
1552
|
+
<div className="flex gap-2">
|
|
1553
|
+
{editingTaskId ? (
|
|
1554
|
+
<Button
|
|
1555
|
+
type="button"
|
|
1556
|
+
variant="outline"
|
|
1557
|
+
disabled={
|
|
1558
|
+
taskFormLoading || archivingTaskId === editingTaskId
|
|
1559
|
+
}
|
|
1560
|
+
onClick={() => {
|
|
1561
|
+
if (!editingTaskId) return;
|
|
1562
|
+
const id = editingTaskId;
|
|
1563
|
+
setTaskFormOpen(false);
|
|
1564
|
+
setEditingTaskId(null);
|
|
1565
|
+
setTaskFormData(EMPTY_TASK_FORM);
|
|
1566
|
+
void handleArchiveTask(id);
|
|
1567
|
+
}}
|
|
1568
|
+
>
|
|
1569
|
+
{archivingTaskId === editingTaskId ? (
|
|
1570
|
+
<Loader2 className="mr-2 size-4 animate-spin" />
|
|
1571
|
+
) : (
|
|
1572
|
+
<Archive className="mr-2 size-4" />
|
|
1573
|
+
)}
|
|
1574
|
+
{commonT('actions.archive')}
|
|
1575
|
+
</Button>
|
|
1576
|
+
) : null}
|
|
1577
|
+
</div>
|
|
1578
|
+
<div className="flex gap-2">
|
|
1579
|
+
<Button
|
|
1580
|
+
variant="ghost"
|
|
1581
|
+
onClick={() => {
|
|
1582
|
+
setTaskFormOpen(false);
|
|
1583
|
+
setEditingTaskId(null);
|
|
1584
|
+
setTaskFormData(EMPTY_TASK_FORM);
|
|
1585
|
+
}}
|
|
1586
|
+
disabled={taskFormLoading}
|
|
1587
|
+
>
|
|
1588
|
+
{commonT('actions.cancel')}
|
|
1589
|
+
</Button>
|
|
1590
|
+
<Button
|
|
1591
|
+
onClick={() => void handleTaskFormSubmit()}
|
|
1592
|
+
disabled={
|
|
1593
|
+
taskFormLoading ||
|
|
1594
|
+
!taskFormData.projectId ||
|
|
1595
|
+
!taskFormData.name.trim()
|
|
1596
|
+
}
|
|
1597
|
+
>
|
|
1598
|
+
{taskFormLoading ? (
|
|
1599
|
+
<Loader2 className="size-4 animate-spin" />
|
|
1600
|
+
) : null}
|
|
1601
|
+
{editingTaskId
|
|
1602
|
+
? commonT('actions.save')
|
|
1603
|
+
: t('actions.create')}
|
|
1604
|
+
</Button>
|
|
1605
|
+
</div>
|
|
1366
1606
|
</div>
|
|
1367
|
-
</
|
|
1607
|
+
</TabsContent>
|
|
1368
1608
|
|
|
1369
|
-
|
|
1370
|
-
<
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
placeholder={detailT('taskForm.tagsPlaceholder')}
|
|
1381
|
-
/>
|
|
1382
|
-
</div>
|
|
1383
|
-
</div>
|
|
1384
|
-
<DialogFooter className="gap-2 sm:justify-between">
|
|
1385
|
-
<Button
|
|
1386
|
-
variant="ghost"
|
|
1387
|
-
onClick={() => {
|
|
1388
|
-
setTaskFormOpen(false);
|
|
1389
|
-
setEditingTaskId(null);
|
|
1390
|
-
setTaskFormData(EMPTY_TASK_FORM);
|
|
1391
|
-
}}
|
|
1392
|
-
disabled={taskFormLoading}
|
|
1393
|
-
>
|
|
1394
|
-
{commonT('actions.cancel')}
|
|
1395
|
-
</Button>
|
|
1396
|
-
<Button
|
|
1397
|
-
onClick={() => void handleTaskFormSubmit()}
|
|
1398
|
-
disabled={
|
|
1399
|
-
taskFormLoading ||
|
|
1400
|
-
!taskFormData.projectId ||
|
|
1401
|
-
!taskFormData.name.trim()
|
|
1402
|
-
}
|
|
1403
|
-
>
|
|
1404
|
-
{taskFormLoading ? (
|
|
1405
|
-
<Loader2 className="size-4 animate-spin" />
|
|
1406
|
-
) : null}
|
|
1407
|
-
{editingTaskId ? commonT('actions.save') : t('actions.create')}
|
|
1408
|
-
</Button>
|
|
1409
|
-
</DialogFooter>
|
|
1410
|
-
</DialogContent>
|
|
1411
|
-
</Dialog>
|
|
1609
|
+
{editingTaskId ? (
|
|
1610
|
+
<TabsContent
|
|
1611
|
+
value="comments"
|
|
1612
|
+
className="min-h-0 flex-1 overflow-y-auto px-4 py-2 data-[state=inactive]:hidden"
|
|
1613
|
+
>
|
|
1614
|
+
<TaskCommentsSection taskId={editingTaskId} />
|
|
1615
|
+
</TabsContent>
|
|
1616
|
+
) : null}
|
|
1617
|
+
</Tabs>
|
|
1618
|
+
</SheetContent>
|
|
1619
|
+
</Sheet>
|
|
1412
1620
|
</Page>
|
|
1413
1621
|
);
|
|
1414
1622
|
}
|