@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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import { EmptyState, Page } from '@/components/entity-list';
|
|
4
|
+
import { RichTextEditor } from '@/components/rich-text-editor';
|
|
4
5
|
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar';
|
|
5
6
|
import { Button } from '@/components/ui/button';
|
|
6
7
|
import {
|
|
@@ -12,6 +13,7 @@ import {
|
|
|
12
13
|
} from '@/components/ui/dialog';
|
|
13
14
|
import { Input } from '@/components/ui/input';
|
|
14
15
|
import { Label } from '@/components/ui/label';
|
|
16
|
+
import { Progress } from '@/components/ui/progress';
|
|
15
17
|
import {
|
|
16
18
|
Select,
|
|
17
19
|
SelectContent,
|
|
@@ -19,6 +21,12 @@ import {
|
|
|
19
21
|
SelectTrigger,
|
|
20
22
|
SelectValue,
|
|
21
23
|
} from '@/components/ui/select';
|
|
24
|
+
import {
|
|
25
|
+
Sheet,
|
|
26
|
+
SheetContent,
|
|
27
|
+
SheetHeader,
|
|
28
|
+
SheetTitle,
|
|
29
|
+
} from '@/components/ui/sheet';
|
|
22
30
|
import {
|
|
23
31
|
Table,
|
|
24
32
|
TableBody,
|
|
@@ -27,7 +35,7 @@ import {
|
|
|
27
35
|
TableHeader,
|
|
28
36
|
TableRow,
|
|
29
37
|
} from '@/components/ui/table';
|
|
30
|
-
import {
|
|
38
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';
|
|
31
39
|
import {
|
|
32
40
|
closestCenter,
|
|
33
41
|
DndContext,
|
|
@@ -41,19 +49,24 @@ import {
|
|
|
41
49
|
} from '@dnd-kit/core';
|
|
42
50
|
import { CSS } from '@dnd-kit/utilities';
|
|
43
51
|
import { useApp, useQuery } from '@hed-hog/next-app-provider';
|
|
52
|
+
import { AnimatePresence, motion } from 'framer-motion';
|
|
44
53
|
import {
|
|
45
54
|
AlarmClock,
|
|
46
55
|
Archive,
|
|
47
56
|
ArchiveRestore,
|
|
48
57
|
FolderKanban,
|
|
58
|
+
Loader2,
|
|
59
|
+
MessageSquare,
|
|
60
|
+
Paperclip,
|
|
49
61
|
Pencil,
|
|
50
62
|
Plus,
|
|
51
|
-
|
|
63
|
+
Timer,
|
|
52
64
|
Trash2,
|
|
53
65
|
} from 'lucide-react';
|
|
54
66
|
import { useTranslations } from 'next-intl';
|
|
55
67
|
import { useCallback, useMemo, useState } from 'react';
|
|
56
68
|
import { fetchOperations, mutateOperations } from '../_lib/api';
|
|
69
|
+
import { useMentionItems } from '../_lib/hooks/use-mention-items';
|
|
57
70
|
import type {
|
|
58
71
|
OperationsMyProjectSummary,
|
|
59
72
|
OperationsTaskOption,
|
|
@@ -67,7 +80,12 @@ import {
|
|
|
67
80
|
import { OperationsHeader } from './operations-header';
|
|
68
81
|
import { SectionCard } from './section-card';
|
|
69
82
|
import { StatusBadge } from './status-badge';
|
|
70
|
-
import {
|
|
83
|
+
import {
|
|
84
|
+
TaskCommentsSection,
|
|
85
|
+
TaskDetailSheet,
|
|
86
|
+
type TaskDetailSheetData,
|
|
87
|
+
} from './task-detail-sheet';
|
|
88
|
+
import { TaskFileAttachments } from './task-file-attachments';
|
|
71
89
|
|
|
72
90
|
type BoardColumnId = 'todo' | 'doing' | 'review' | 'done';
|
|
73
91
|
|
|
@@ -84,6 +102,8 @@ type BoardTask = {
|
|
|
84
102
|
assigneeName: string | null;
|
|
85
103
|
assigneeUserPhotoId: number | null;
|
|
86
104
|
assigneePersonAvatarId: number | null;
|
|
105
|
+
commentCount: number;
|
|
106
|
+
fileCount: number;
|
|
87
107
|
};
|
|
88
108
|
|
|
89
109
|
type TaskFormState = {
|
|
@@ -149,6 +169,11 @@ function apiTaskToBoardTask(
|
|
|
149
169
|
const status = KANBAN_COLUMNS.some((c) => c.id === row.status)
|
|
150
170
|
? (row.status as BoardColumnId)
|
|
151
171
|
: 'todo';
|
|
172
|
+
const taskCounts = row as typeof row & {
|
|
173
|
+
commentCount?: number | null;
|
|
174
|
+
fileCount?: number | null;
|
|
175
|
+
};
|
|
176
|
+
|
|
152
177
|
return {
|
|
153
178
|
id: row.id,
|
|
154
179
|
name: row.name,
|
|
@@ -162,6 +187,10 @@ function apiTaskToBoardTask(
|
|
|
162
187
|
assigneeName: row.assigneeName ?? null,
|
|
163
188
|
assigneeUserPhotoId: row.assigneeUserPhotoId ?? null,
|
|
164
189
|
assigneePersonAvatarId: row.assigneePersonAvatarId ?? null,
|
|
190
|
+
commentCount:
|
|
191
|
+
((row as unknown as Record<string, unknown>).commentCount as number) ?? 0,
|
|
192
|
+
fileCount:
|
|
193
|
+
((row as unknown as Record<string, unknown>).fileCount as number) ?? 0,
|
|
165
194
|
};
|
|
166
195
|
}
|
|
167
196
|
|
|
@@ -225,6 +254,64 @@ function getTaskPriorityLabel(value?: string | null) {
|
|
|
225
254
|
return labels[value ?? ''] ?? String(value ?? '');
|
|
226
255
|
}
|
|
227
256
|
|
|
257
|
+
function getPriorityClassName(priority?: string | null) {
|
|
258
|
+
if (priority === 'high') return 'border-rose-300 bg-rose-100 text-rose-700';
|
|
259
|
+
if (priority === 'medium')
|
|
260
|
+
return 'border-amber-300 bg-amber-100 text-amber-700';
|
|
261
|
+
return 'border-emerald-300 bg-emerald-100 text-emerald-700';
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
function getTaskProgress(status?: string | null) {
|
|
265
|
+
const map: Record<string, number> = {
|
|
266
|
+
todo: 0,
|
|
267
|
+
doing: 33,
|
|
268
|
+
review: 66,
|
|
269
|
+
done: 100,
|
|
270
|
+
};
|
|
271
|
+
return map[status ?? ''] ?? 0;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
function isPastDue(dueDate?: string | null) {
|
|
275
|
+
if (!dueDate) return false;
|
|
276
|
+
return new Date(dueDate) < new Date();
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
function getTaskTags(task: BoardTask) {
|
|
280
|
+
if (!task.tags) return [];
|
|
281
|
+
return task.tags
|
|
282
|
+
.split(',')
|
|
283
|
+
.map((tag) => tag.trim())
|
|
284
|
+
.filter(Boolean);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
function getTaskCommentCount(task: BoardTask) {
|
|
288
|
+
return task.commentCount ?? 0;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
function getTaskAttachmentCount(task: BoardTask) {
|
|
292
|
+
return task.fileCount ?? 0;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
function getColumnClassName(columnId: BoardColumnId) {
|
|
296
|
+
const styles: Record<BoardColumnId, string> = {
|
|
297
|
+
todo: 'from-slate-500/20 via-slate-500/5 to-transparent',
|
|
298
|
+
doing: 'from-sky-500/20 via-cyan-500/5 to-transparent',
|
|
299
|
+
review: 'from-amber-500/20 via-yellow-500/5 to-transparent',
|
|
300
|
+
done: 'from-emerald-500/20 via-green-500/5 to-transparent',
|
|
301
|
+
};
|
|
302
|
+
return styles[columnId];
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
function getColumnDotClassName(columnId: BoardColumnId) {
|
|
306
|
+
const styles: Record<BoardColumnId, string> = {
|
|
307
|
+
todo: 'bg-slate-500',
|
|
308
|
+
doing: 'bg-sky-500',
|
|
309
|
+
review: 'bg-amber-500',
|
|
310
|
+
done: 'bg-emerald-500',
|
|
311
|
+
};
|
|
312
|
+
return styles[columnId];
|
|
313
|
+
}
|
|
314
|
+
|
|
228
315
|
function DraggableTaskCard({
|
|
229
316
|
task,
|
|
230
317
|
children,
|
|
@@ -266,6 +353,8 @@ export function MyProjectSummaryScreen({ projectId }: { projectId: number }) {
|
|
|
266
353
|
const formT = useTranslations('operations.ProjectFormPage');
|
|
267
354
|
const { request, currentLocaleCode, getSettingValue } = useApp();
|
|
268
355
|
|
|
356
|
+
const mentionItems = useMentionItems(request);
|
|
357
|
+
|
|
269
358
|
const getProjectStatusLabel = (value?: string | null) => {
|
|
270
359
|
if (!value) return commonT('labels.notAvailable');
|
|
271
360
|
try {
|
|
@@ -471,14 +560,26 @@ export function MyProjectSummaryScreen({ projectId }: { projectId: number }) {
|
|
|
471
560
|
taskFormData,
|
|
472
561
|
]);
|
|
473
562
|
|
|
563
|
+
const [archivingTaskId, setArchivingTaskId] = useState<number | null>(null);
|
|
564
|
+
|
|
474
565
|
const handleArchiveTask = useCallback(
|
|
475
566
|
async (taskId: number) => {
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
567
|
+
setArchivingTaskId(taskId);
|
|
568
|
+
try {
|
|
569
|
+
await mutateOperations(
|
|
570
|
+
request,
|
|
571
|
+
`/operations/tasks/${taskId}`,
|
|
572
|
+
'PATCH',
|
|
573
|
+
{ archived: true }
|
|
574
|
+
);
|
|
575
|
+
setBoardState(null);
|
|
576
|
+
setSelectedTask(null);
|
|
577
|
+
await refetchAll();
|
|
578
|
+
} catch {
|
|
579
|
+
// ignore
|
|
580
|
+
} finally {
|
|
581
|
+
setArchivingTaskId(null);
|
|
582
|
+
}
|
|
482
583
|
},
|
|
483
584
|
[request, refetchAll]
|
|
484
585
|
);
|
|
@@ -615,134 +716,208 @@ export function MyProjectSummaryScreen({ projectId }: { projectId: number }) {
|
|
|
615
716
|
{(isOver) => (
|
|
616
717
|
<div
|
|
617
718
|
className={[
|
|
618
|
-
'rounded-
|
|
619
|
-
|
|
719
|
+
'flex min-h-128 flex-col overflow-hidden rounded-3xl border bg-linear-to-b p-3 transition-all',
|
|
720
|
+
getColumnClassName(column.id),
|
|
721
|
+
isOver
|
|
722
|
+
? 'border-primary shadow-lg ring-2 ring-primary/15'
|
|
723
|
+
: 'border-border',
|
|
620
724
|
].join(' ')}
|
|
621
725
|
>
|
|
622
|
-
<div className="mb-3 flex items-center justify-between">
|
|
623
|
-
<div className="
|
|
624
|
-
<
|
|
625
|
-
|
|
726
|
+
<div className="mb-3 flex items-center justify-between gap-3 rounded-2xl border bg-background/85 p-3 shadow-xs">
|
|
727
|
+
<div className="min-w-0">
|
|
728
|
+
<div className="flex items-center gap-2 text-sm font-semibold">
|
|
729
|
+
<span
|
|
730
|
+
className={[
|
|
731
|
+
'size-2.5 rounded-full',
|
|
732
|
+
getColumnDotClassName(column.id),
|
|
733
|
+
].join(' ')}
|
|
734
|
+
/>
|
|
735
|
+
{column.label}
|
|
736
|
+
</div>
|
|
737
|
+
<div className="mt-1 text-xs text-muted-foreground">
|
|
738
|
+
{taskColumns[column.id].length} {t('kanban.items')}
|
|
739
|
+
</div>
|
|
740
|
+
</div>
|
|
741
|
+
<div className="flex items-center gap-1">
|
|
742
|
+
<span className="rounded-full border bg-background px-2 py-0.5 text-xs font-medium text-muted-foreground">
|
|
743
|
+
{taskColumns[column.id].length}
|
|
744
|
+
</span>
|
|
745
|
+
<button
|
|
746
|
+
type="button"
|
|
747
|
+
className="flex size-5 cursor-pointer items-center justify-center rounded-full text-muted-foreground transition hover:bg-muted hover:text-foreground"
|
|
748
|
+
onClick={() => openCreateTaskForm(column.id)}
|
|
749
|
+
>
|
|
750
|
+
<Plus className="size-3.5" />
|
|
751
|
+
</button>
|
|
626
752
|
</div>
|
|
627
|
-
<span className="rounded-full bg-background px-2 py-0.5 text-xs text-muted-foreground">
|
|
628
|
-
{taskColumns[column.id].length}
|
|
629
|
-
</span>
|
|
630
753
|
</div>
|
|
631
754
|
|
|
632
|
-
<div className="
|
|
633
|
-
{
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
:
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
: task.priority === 'medium'
|
|
658
|
-
? 'bg-amber-100 text-amber-700'
|
|
659
|
-
: 'bg-emerald-100 text-emerald-700',
|
|
660
|
-
].join(' ')}
|
|
661
|
-
>
|
|
662
|
-
{getTaskPriorityLabel(task.priority)}
|
|
663
|
-
</span>
|
|
664
|
-
<Button
|
|
665
|
-
type="button"
|
|
666
|
-
variant="ghost"
|
|
667
|
-
size="icon"
|
|
668
|
-
className="size-7 shrink-0 rounded-full"
|
|
669
|
-
onPointerDown={(event) =>
|
|
670
|
-
event.stopPropagation()
|
|
671
|
-
}
|
|
672
|
-
onClick={(event) => {
|
|
673
|
-
event.stopPropagation();
|
|
755
|
+
<div className="flex flex-1 flex-col gap-2">
|
|
756
|
+
<AnimatePresence initial={false}>
|
|
757
|
+
{taskColumns[column.id].map((task) => {
|
|
758
|
+
const tags = getTaskTags(task);
|
|
759
|
+
const comments = getTaskCommentCount(task);
|
|
760
|
+
const attachments = getTaskAttachmentCount(task);
|
|
761
|
+
return (
|
|
762
|
+
<DraggableTaskCard key={task.id} task={task}>
|
|
763
|
+
{(isDragging) => (
|
|
764
|
+
<motion.div
|
|
765
|
+
initial={{ opacity: 0, scale: 0.96 }}
|
|
766
|
+
animate={{ opacity: 1, scale: 1 }}
|
|
767
|
+
exit={{ opacity: 0, scale: 0.95, y: -4 }}
|
|
768
|
+
transition={{ duration: 0.18 }}
|
|
769
|
+
role="button"
|
|
770
|
+
tabIndex={0}
|
|
771
|
+
onClick={() =>
|
|
772
|
+
!isDragging && openEditTaskForm(task)
|
|
773
|
+
}
|
|
774
|
+
onKeyDown={(event) => {
|
|
775
|
+
if (
|
|
776
|
+
event.key === 'Enter' ||
|
|
777
|
+
event.key === ' '
|
|
778
|
+
) {
|
|
779
|
+
event.preventDefault();
|
|
674
780
|
openEditTaskForm(task);
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
781
|
+
}
|
|
782
|
+
}}
|
|
783
|
+
className={[
|
|
784
|
+
'group w-full cursor-pointer rounded-2xl border bg-card p-3 text-left shadow-xs transition',
|
|
785
|
+
isDragging
|
|
786
|
+
? 'opacity-0'
|
|
787
|
+
: 'hover:border-primary/40 hover:shadow-lg',
|
|
788
|
+
].join(' ')}
|
|
789
|
+
>
|
|
790
|
+
<div className="mb-3 flex items-start justify-between gap-2">
|
|
791
|
+
<div className="min-w-0 space-y-1">
|
|
792
|
+
<p className="line-clamp-2 text-sm font-semibold leading-snug">
|
|
793
|
+
{task.name}
|
|
794
|
+
</p>
|
|
795
|
+
{task.description ? (
|
|
796
|
+
<p className="line-clamp-2 text-xs leading-5 text-muted-foreground">
|
|
797
|
+
{task.description.replace(
|
|
798
|
+
/<[^>]*>/g,
|
|
799
|
+
''
|
|
800
|
+
)}
|
|
801
|
+
</p>
|
|
802
|
+
) : null}
|
|
803
|
+
</div>
|
|
685
804
|
<span
|
|
686
|
-
|
|
687
|
-
|
|
805
|
+
className={[
|
|
806
|
+
'shrink-0 rounded-full border px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide',
|
|
807
|
+
getPriorityClassName(task.priority),
|
|
808
|
+
].join(' ')}
|
|
688
809
|
>
|
|
689
|
-
{
|
|
810
|
+
{getTaskPriorityLabel(task.priority)}
|
|
690
811
|
</span>
|
|
691
|
-
))}
|
|
692
|
-
</div>
|
|
693
|
-
) : null}
|
|
694
|
-
|
|
695
|
-
<div className="flex items-center justify-between text-xs text-muted-foreground">
|
|
696
|
-
<span className="inline-flex items-center gap-1">
|
|
697
|
-
<AlarmClock className="size-3.5" />
|
|
698
|
-
{formatDate(
|
|
699
|
-
task.dueDate,
|
|
700
|
-
getSettingValue,
|
|
701
|
-
currentLocaleCode
|
|
702
|
-
)}
|
|
703
|
-
</span>
|
|
704
|
-
<span>
|
|
705
|
-
{task.estimateHours != null
|
|
706
|
-
? `${task.estimateHours}h`
|
|
707
|
-
: ''}
|
|
708
|
-
</span>
|
|
709
|
-
</div>
|
|
710
|
-
|
|
711
|
-
{task.assigneeName ? (
|
|
712
|
-
<div className="mt-2 flex items-center gap-1.5">
|
|
713
|
-
<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">
|
|
714
|
-
{(() => {
|
|
715
|
-
const photoUrl = getUserPhotoUrl(
|
|
716
|
-
task.assigneeUserPhotoId
|
|
717
|
-
);
|
|
718
|
-
const avatarUrl =
|
|
719
|
-
task.assigneePersonAvatarId
|
|
720
|
-
? getPersonAvatarUrl(
|
|
721
|
-
task.assigneePersonAvatarId
|
|
722
|
-
)
|
|
723
|
-
: null;
|
|
724
|
-
const imgSrc = photoUrl ?? avatarUrl;
|
|
725
|
-
return imgSrc ? (
|
|
726
|
-
// eslint-disable-next-line @next/next/no-img-element
|
|
727
|
-
<img
|
|
728
|
-
src={imgSrc}
|
|
729
|
-
alt={task.assigneeName}
|
|
730
|
-
className="size-full object-cover"
|
|
731
|
-
/>
|
|
732
|
-
) : (
|
|
733
|
-
getInitials(task.assigneeName)
|
|
734
|
-
);
|
|
735
|
-
})()}
|
|
736
812
|
</div>
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
813
|
+
|
|
814
|
+
{tags.length > 0 ? (
|
|
815
|
+
<div className="mb-3 flex flex-wrap gap-1">
|
|
816
|
+
{tags.slice(0, 4).map((tag) => (
|
|
817
|
+
<span
|
|
818
|
+
key={`${task.id}-${tag}`}
|
|
819
|
+
className="rounded-full border bg-muted/60 px-2 py-0.5 text-[10px] font-medium text-muted-foreground"
|
|
820
|
+
>
|
|
821
|
+
{tag}
|
|
822
|
+
</span>
|
|
823
|
+
))}
|
|
824
|
+
{tags.length > 4 ? (
|
|
825
|
+
<span className="rounded-full border bg-muted/60 px-2 py-0.5 text-[10px] font-medium text-muted-foreground">
|
|
826
|
+
+{tags.length - 4}
|
|
827
|
+
</span>
|
|
828
|
+
) : null}
|
|
829
|
+
</div>
|
|
830
|
+
) : null}
|
|
831
|
+
|
|
832
|
+
<div className="grid grid-cols-2 gap-2 text-xs">
|
|
833
|
+
<div
|
|
834
|
+
className={[
|
|
835
|
+
'rounded-xl border bg-muted/20 px-2 py-1.5',
|
|
836
|
+
isPastDue(task.dueDate) &&
|
|
837
|
+
task.status !== 'done'
|
|
838
|
+
? 'border-rose-500/30 bg-rose-500/10 text-rose-700 dark:text-rose-300'
|
|
839
|
+
: 'text-muted-foreground',
|
|
840
|
+
].join(' ')}
|
|
841
|
+
>
|
|
842
|
+
<span className="flex items-center gap-1">
|
|
843
|
+
<AlarmClock className="size-3.5" />
|
|
844
|
+
{formatDate(
|
|
845
|
+
task.dueDate,
|
|
846
|
+
getSettingValue,
|
|
847
|
+
currentLocaleCode
|
|
848
|
+
)}
|
|
849
|
+
</span>
|
|
850
|
+
</div>
|
|
851
|
+
<div className="rounded-xl border bg-muted/20 px-2 py-1.5 text-muted-foreground">
|
|
852
|
+
<span className="flex items-center gap-1">
|
|
853
|
+
<Timer className="size-3.5" />
|
|
854
|
+
{task.estimateHours != null
|
|
855
|
+
? `${task.estimateHours}h`
|
|
856
|
+
: '—'}
|
|
857
|
+
</span>
|
|
858
|
+
</div>
|
|
859
|
+
</div>
|
|
860
|
+
|
|
861
|
+
<div className="mt-3 space-y-1.5">
|
|
862
|
+
<div className="flex items-center justify-between text-[11px] text-muted-foreground">
|
|
863
|
+
<span>Progresso</span>
|
|
864
|
+
<span>
|
|
865
|
+
{getTaskProgress(task.status)}%
|
|
866
|
+
</span>
|
|
867
|
+
</div>
|
|
868
|
+
<Progress
|
|
869
|
+
value={getTaskProgress(task.status)}
|
|
870
|
+
className="h-1.5"
|
|
871
|
+
/>
|
|
872
|
+
</div>
|
|
873
|
+
|
|
874
|
+
<div className="mt-3 flex items-center justify-between gap-3 border-t pt-3">
|
|
875
|
+
<div className="flex min-w-0 items-center gap-2">
|
|
876
|
+
<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">
|
|
877
|
+
{(() => {
|
|
878
|
+
const photoUrl = getUserPhotoUrl(
|
|
879
|
+
task.assigneeUserPhotoId
|
|
880
|
+
);
|
|
881
|
+
const avatarUrl =
|
|
882
|
+
task.assigneePersonAvatarId
|
|
883
|
+
? getPersonAvatarUrl(
|
|
884
|
+
task.assigneePersonAvatarId
|
|
885
|
+
)
|
|
886
|
+
: null;
|
|
887
|
+
const imgSrc = photoUrl ?? avatarUrl;
|
|
888
|
+
return imgSrc ? (
|
|
889
|
+
// eslint-disable-next-line @next/next/no-img-element
|
|
890
|
+
<img
|
|
891
|
+
src={imgSrc}
|
|
892
|
+
alt={task.assigneeName ?? ''}
|
|
893
|
+
className="size-full object-cover"
|
|
894
|
+
/>
|
|
895
|
+
) : (
|
|
896
|
+
getInitials(task.assigneeName)
|
|
897
|
+
);
|
|
898
|
+
})()}
|
|
899
|
+
</div>
|
|
900
|
+
<span className="truncate text-[11px] text-muted-foreground">
|
|
901
|
+
{task.assigneeName ?? '—'}
|
|
902
|
+
</span>
|
|
903
|
+
</div>
|
|
904
|
+
<div className="flex shrink-0 items-center gap-2 text-[11px] text-muted-foreground">
|
|
905
|
+
<span className="inline-flex items-center gap-1">
|
|
906
|
+
<MessageSquare className="size-3.5" />
|
|
907
|
+
{comments}
|
|
908
|
+
</span>
|
|
909
|
+
<span className="inline-flex items-center gap-1">
|
|
910
|
+
<Paperclip className="size-3.5" />
|
|
911
|
+
{attachments}
|
|
912
|
+
</span>
|
|
913
|
+
</div>
|
|
914
|
+
</div>
|
|
915
|
+
</motion.div>
|
|
916
|
+
)}
|
|
917
|
+
</DraggableTaskCard>
|
|
918
|
+
);
|
|
919
|
+
})}
|
|
920
|
+
</AnimatePresence>
|
|
746
921
|
</div>
|
|
747
922
|
</div>
|
|
748
923
|
)}
|
|
@@ -901,6 +1076,7 @@ export function MyProjectSummaryScreen({ projectId }: { projectId: number }) {
|
|
|
901
1076
|
<TaskDetailSheet
|
|
902
1077
|
task={selectedTask}
|
|
903
1078
|
open={selectedTask !== null}
|
|
1079
|
+
defaultTab="comments"
|
|
904
1080
|
onOpenChange={(open) => {
|
|
905
1081
|
if (!open) setSelectedTask(null);
|
|
906
1082
|
}}
|
|
@@ -964,7 +1140,7 @@ export function MyProjectSummaryScreen({ projectId }: { projectId: number }) {
|
|
|
964
1140
|
}
|
|
965
1141
|
/>
|
|
966
1142
|
|
|
967
|
-
<
|
|
1143
|
+
<Sheet
|
|
968
1144
|
open={taskFormOpen}
|
|
969
1145
|
onOpenChange={(open) => {
|
|
970
1146
|
if (!open) {
|
|
@@ -974,181 +1150,242 @@ export function MyProjectSummaryScreen({ projectId }: { projectId: number }) {
|
|
|
974
1150
|
}
|
|
975
1151
|
}}
|
|
976
1152
|
>
|
|
977
|
-
<
|
|
978
|
-
<
|
|
979
|
-
<
|
|
1153
|
+
<SheetContent className="flex w-full flex-col overflow-hidden sm:max-w-xl">
|
|
1154
|
+
<SheetHeader className="shrink-0">
|
|
1155
|
+
<SheetTitle>
|
|
980
1156
|
{editingTaskId ? t('taskForm.titleEdit') : t('taskForm.titleNew')}
|
|
981
|
-
</
|
|
982
|
-
</
|
|
983
|
-
|
|
984
|
-
<
|
|
985
|
-
<
|
|
986
|
-
<
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
{
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1157
|
+
</SheetTitle>
|
|
1158
|
+
</SheetHeader>
|
|
1159
|
+
|
|
1160
|
+
<Tabs defaultValue="info" className="flex min-h-0 flex-1 flex-col">
|
|
1161
|
+
<TabsList className="mx-4 grid w-[calc(100%-2rem)] shrink-0 grid-cols-2">
|
|
1162
|
+
<TabsTrigger value="info">{t('taskForm.tabInfo')}</TabsTrigger>
|
|
1163
|
+
{editingTaskId ? (
|
|
1164
|
+
<TabsTrigger value="comments">
|
|
1165
|
+
{t('taskForm.tabComments')}
|
|
1166
|
+
</TabsTrigger>
|
|
1167
|
+
) : null}
|
|
1168
|
+
</TabsList>
|
|
1169
|
+
|
|
1170
|
+
<TabsContent
|
|
1171
|
+
value="info"
|
|
1172
|
+
className="flex min-h-0 flex-1 flex-col data-[state=inactive]:hidden"
|
|
1173
|
+
>
|
|
1174
|
+
<div className="flex-1 space-y-4 overflow-y-auto px-4 py-2">
|
|
1175
|
+
<div className="space-y-1.5">
|
|
1176
|
+
<Label htmlFor="task-name">{t('taskForm.nameLabel')} *</Label>
|
|
1177
|
+
<Input
|
|
1178
|
+
id="task-name"
|
|
1179
|
+
placeholder={t('taskForm.namePlaceholder')}
|
|
1180
|
+
value={taskFormData.name}
|
|
1181
|
+
onChange={(e) =>
|
|
1182
|
+
setTaskFormData((prev) => ({
|
|
1183
|
+
...prev,
|
|
1184
|
+
name: e.target.value,
|
|
1185
|
+
}))
|
|
1186
|
+
}
|
|
1187
|
+
/>
|
|
1188
|
+
</div>
|
|
1189
|
+
|
|
1190
|
+
<div className="space-y-1.5">
|
|
1191
|
+
<Label htmlFor="task-description">
|
|
1192
|
+
{t('taskForm.descriptionLabel')}
|
|
1193
|
+
</Label>
|
|
1194
|
+
<RichTextEditor
|
|
1195
|
+
value={taskFormData.description}
|
|
1196
|
+
onChange={(val) =>
|
|
1197
|
+
setTaskFormData((prev) => ({
|
|
1198
|
+
...prev,
|
|
1199
|
+
description: val,
|
|
1200
|
+
}))
|
|
1201
|
+
}
|
|
1202
|
+
mentions={mentionItems}
|
|
1203
|
+
/>
|
|
1204
|
+
</div>
|
|
1205
|
+
|
|
1206
|
+
<div className="grid grid-cols-2 gap-3">
|
|
1207
|
+
<div className="space-y-1.5">
|
|
1208
|
+
<Label>{t('taskForm.priorityLabel')}</Label>
|
|
1209
|
+
<Select
|
|
1210
|
+
value={taskFormData.priority}
|
|
1211
|
+
onValueChange={(v) =>
|
|
1212
|
+
setTaskFormData((prev) => ({
|
|
1213
|
+
...prev,
|
|
1214
|
+
priority: v as TaskFormState['priority'],
|
|
1215
|
+
}))
|
|
1216
|
+
}
|
|
1217
|
+
>
|
|
1218
|
+
<SelectTrigger className="w-full">
|
|
1219
|
+
<SelectValue />
|
|
1220
|
+
</SelectTrigger>
|
|
1221
|
+
<SelectContent>
|
|
1222
|
+
<SelectItem value="low">
|
|
1223
|
+
{getTaskPriorityLabel('low')}
|
|
1224
|
+
</SelectItem>
|
|
1225
|
+
<SelectItem value="medium">
|
|
1226
|
+
{getTaskPriorityLabel('medium')}
|
|
1227
|
+
</SelectItem>
|
|
1228
|
+
<SelectItem value="high">
|
|
1229
|
+
{getTaskPriorityLabel('high')}
|
|
1230
|
+
</SelectItem>
|
|
1231
|
+
</SelectContent>
|
|
1232
|
+
</Select>
|
|
1233
|
+
</div>
|
|
1046
1234
|
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1235
|
+
<div className="space-y-1.5">
|
|
1236
|
+
<Label>{t('taskForm.columnLabel')}</Label>
|
|
1237
|
+
<Select
|
|
1238
|
+
value={taskFormData.status}
|
|
1239
|
+
onValueChange={(v) =>
|
|
1240
|
+
setTaskFormData((prev) => ({
|
|
1241
|
+
...prev,
|
|
1242
|
+
status: v as BoardColumnId,
|
|
1243
|
+
}))
|
|
1244
|
+
}
|
|
1245
|
+
>
|
|
1246
|
+
<SelectTrigger className="w-full">
|
|
1247
|
+
<SelectValue />
|
|
1248
|
+
</SelectTrigger>
|
|
1249
|
+
<SelectContent>
|
|
1250
|
+
{KANBAN_COLUMNS.map((col) => (
|
|
1251
|
+
<SelectItem key={col.id} value={col.id}>
|
|
1252
|
+
{col.label}
|
|
1253
|
+
</SelectItem>
|
|
1254
|
+
))}
|
|
1255
|
+
</SelectContent>
|
|
1256
|
+
</Select>
|
|
1257
|
+
</div>
|
|
1258
|
+
</div>
|
|
1259
|
+
|
|
1260
|
+
<div className="grid grid-cols-2 gap-3">
|
|
1261
|
+
<div className="space-y-1.5">
|
|
1262
|
+
<Label htmlFor="task-due-date">
|
|
1263
|
+
{t('taskForm.deadlineLabel')}
|
|
1264
|
+
</Label>
|
|
1265
|
+
<Input
|
|
1266
|
+
id="task-due-date"
|
|
1267
|
+
type="date"
|
|
1268
|
+
value={taskFormData.dueDate}
|
|
1269
|
+
onChange={(e) =>
|
|
1270
|
+
setTaskFormData((prev) => ({
|
|
1271
|
+
...prev,
|
|
1272
|
+
dueDate: e.target.value,
|
|
1273
|
+
}))
|
|
1274
|
+
}
|
|
1275
|
+
/>
|
|
1276
|
+
</div>
|
|
1071
1277
|
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1278
|
+
<div className="space-y-1.5">
|
|
1279
|
+
<Label htmlFor="task-estimate">
|
|
1280
|
+
{t('taskForm.estimateLabel')}
|
|
1281
|
+
</Label>
|
|
1282
|
+
<Input
|
|
1283
|
+
id="task-estimate"
|
|
1284
|
+
type="number"
|
|
1285
|
+
min="0"
|
|
1286
|
+
step="0.5"
|
|
1287
|
+
placeholder="0"
|
|
1288
|
+
value={taskFormData.estimateHours}
|
|
1289
|
+
onChange={(e) =>
|
|
1290
|
+
setTaskFormData((prev) => ({
|
|
1291
|
+
...prev,
|
|
1292
|
+
estimateHours: e.target.value,
|
|
1293
|
+
}))
|
|
1294
|
+
}
|
|
1295
|
+
/>
|
|
1296
|
+
</div>
|
|
1297
|
+
</div>
|
|
1298
|
+
|
|
1299
|
+
<div className="space-y-1.5">
|
|
1300
|
+
<Label htmlFor="task-tags">{t('taskForm.tagsLabel')}</Label>
|
|
1301
|
+
<Input
|
|
1302
|
+
id="task-tags"
|
|
1303
|
+
placeholder={t('taskForm.tagsPlaceholder')}
|
|
1304
|
+
value={taskFormData.tags}
|
|
1305
|
+
onChange={(e) =>
|
|
1306
|
+
setTaskFormData((prev) => ({
|
|
1307
|
+
...prev,
|
|
1308
|
+
tags: e.target.value,
|
|
1309
|
+
}))
|
|
1310
|
+
}
|
|
1311
|
+
/>
|
|
1312
|
+
</div>
|
|
1313
|
+
|
|
1314
|
+
{editingTaskId ? (
|
|
1315
|
+
<div className="space-y-1.5">
|
|
1316
|
+
<Label className="flex items-center gap-1.5">
|
|
1317
|
+
<Paperclip className="size-3.5" />
|
|
1318
|
+
{t('taskForm.attachmentsLabel')}
|
|
1319
|
+
</Label>
|
|
1320
|
+
<TaskFileAttachments taskId={editingTaskId} />
|
|
1321
|
+
</div>
|
|
1322
|
+
) : null}
|
|
1088
1323
|
</div>
|
|
1089
1324
|
|
|
1090
|
-
<div className="
|
|
1091
|
-
<
|
|
1092
|
-
{
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1325
|
+
<div className="mt-4 flex flex-wrap items-center justify-between gap-2 border-t px-4 pb-4 pt-4">
|
|
1326
|
+
<div className="flex gap-2">
|
|
1327
|
+
{editingTaskId ? (
|
|
1328
|
+
<Button
|
|
1329
|
+
type="button"
|
|
1330
|
+
variant="outline"
|
|
1331
|
+
disabled={
|
|
1332
|
+
taskFormLoading || archivingTaskId === editingTaskId
|
|
1333
|
+
}
|
|
1334
|
+
onClick={() => {
|
|
1335
|
+
if (!editingTaskId) return;
|
|
1336
|
+
const id = editingTaskId;
|
|
1337
|
+
setTaskFormOpen(false);
|
|
1338
|
+
setEditingTaskId(null);
|
|
1339
|
+
setTaskFormData(EMPTY_TASK_FORM);
|
|
1340
|
+
void handleArchiveTask(id);
|
|
1341
|
+
}}
|
|
1342
|
+
>
|
|
1343
|
+
{archivingTaskId === editingTaskId ? (
|
|
1344
|
+
<Loader2 className="mr-2 size-4 animate-spin" />
|
|
1345
|
+
) : (
|
|
1346
|
+
<Archive className="mr-2 size-4" />
|
|
1347
|
+
)}
|
|
1348
|
+
{commonT('actions.archive')}
|
|
1349
|
+
</Button>
|
|
1350
|
+
) : null}
|
|
1351
|
+
</div>
|
|
1352
|
+
<div className="flex gap-2">
|
|
1353
|
+
<Button
|
|
1354
|
+
variant="outline"
|
|
1355
|
+
onClick={() => {
|
|
1356
|
+
setTaskFormOpen(false);
|
|
1357
|
+
setEditingTaskId(null);
|
|
1358
|
+
setTaskFormData(EMPTY_TASK_FORM);
|
|
1359
|
+
}}
|
|
1360
|
+
disabled={taskFormLoading}
|
|
1361
|
+
>
|
|
1362
|
+
{commonT('actions.cancel')}
|
|
1363
|
+
</Button>
|
|
1364
|
+
<Button
|
|
1365
|
+
onClick={() => void handleTaskFormSubmit()}
|
|
1366
|
+
disabled={taskFormLoading || !taskFormData.name.trim()}
|
|
1367
|
+
>
|
|
1368
|
+
{taskFormLoading
|
|
1369
|
+
? t('taskForm.saving')
|
|
1370
|
+
: editingTaskId
|
|
1371
|
+
? commonT('actions.save')
|
|
1372
|
+
: commonT('actions.create')}
|
|
1373
|
+
</Button>
|
|
1374
|
+
</div>
|
|
1108
1375
|
</div>
|
|
1109
|
-
</
|
|
1376
|
+
</TabsContent>
|
|
1110
1377
|
|
|
1111
|
-
|
|
1112
|
-
<
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
}
|
|
1123
|
-
/>
|
|
1124
|
-
</div>
|
|
1125
|
-
</div>
|
|
1126
|
-
|
|
1127
|
-
<DialogFooter className="mt-4">
|
|
1128
|
-
<Button
|
|
1129
|
-
variant="outline"
|
|
1130
|
-
onClick={() => {
|
|
1131
|
-
setTaskFormOpen(false);
|
|
1132
|
-
setEditingTaskId(null);
|
|
1133
|
-
setTaskFormData(EMPTY_TASK_FORM);
|
|
1134
|
-
}}
|
|
1135
|
-
disabled={taskFormLoading}
|
|
1136
|
-
>
|
|
1137
|
-
{commonT('actions.cancel')}
|
|
1138
|
-
</Button>
|
|
1139
|
-
<Button
|
|
1140
|
-
onClick={() => void handleTaskFormSubmit()}
|
|
1141
|
-
disabled={taskFormLoading || !taskFormData.name.trim()}
|
|
1142
|
-
>
|
|
1143
|
-
{taskFormLoading
|
|
1144
|
-
? t('taskForm.saving')
|
|
1145
|
-
: editingTaskId
|
|
1146
|
-
? commonT('actions.save')
|
|
1147
|
-
: commonT('actions.create')}
|
|
1148
|
-
</Button>
|
|
1149
|
-
</DialogFooter>
|
|
1150
|
-
</DialogContent>
|
|
1151
|
-
</Dialog>
|
|
1378
|
+
{editingTaskId ? (
|
|
1379
|
+
<TabsContent
|
|
1380
|
+
value="comments"
|
|
1381
|
+
className="min-h-0 flex-1 overflow-y-auto px-4 py-2 data-[state=inactive]:hidden"
|
|
1382
|
+
>
|
|
1383
|
+
<TaskCommentsSection taskId={editingTaskId} />
|
|
1384
|
+
</TabsContent>
|
|
1385
|
+
) : null}
|
|
1386
|
+
</Tabs>
|
|
1387
|
+
</SheetContent>
|
|
1388
|
+
</Sheet>
|
|
1152
1389
|
|
|
1153
1390
|
<Dialog
|
|
1154
1391
|
open={deletePromptTask !== null}
|