@hed-hog/operations 0.0.327 → 0.0.329
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-tasks.controller.d.ts +3 -3
- package/dist/operations.service.d.ts +3 -3
- package/hedhog/frontend/app/_components/collaborator-form-screen.tsx.ejs +7 -7
- package/hedhog/frontend/app/_components/department-picker.tsx.ejs +125 -0
- package/hedhog/frontend/app/_components/department-select-with-create.tsx.ejs +64 -325
- package/hedhog/frontend/app/_components/project-form-screen.tsx.ejs +16 -16
- package/hedhog/frontend/app/_components/system-user-picker.tsx.ejs +198 -0
- package/hedhog/frontend/app/_components/system-user-select-with-create.tsx.ejs +107 -569
- package/hedhog/frontend/messages/en.json +79 -10
- package/hedhog/frontend/messages/operations/en.json +67 -3
- package/hedhog/frontend/messages/operations/pt.json +67 -3
- package/hedhog/frontend/messages/pt.json +77 -8
- package/package.json +5 -5
- package/hedhog/frontend/app/_components/collaborator-details-screen.tsx.ejs +0 -476
- package/hedhog/frontend/app/_components/collaborator-select-with-create.tsx.ejs +0 -261
- package/hedhog/frontend/app/_components/contract-content-editor.tsx.ejs +0 -258
- package/hedhog/frontend/app/_components/person-select-with-create.tsx.ejs +0 -1
- package/hedhog/frontend/messages/en.json.ejs +0 -2060
- package/hedhog/frontend/messages/operations/operations/en.json +0 -2102
- package/hedhog/frontend/messages/operations/operations/pt.json +0 -2111
- package/hedhog/frontend/messages/pt.json.ejs +0 -2067
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/async-options-combobox.d.ts +0 -29
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/async-options-combobox.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/async-options-combobox.js +0 -95
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/async-options-combobox.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/async-options-combobox.tsx +0 -233
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-costs-section.d.ts +0 -10
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-costs-section.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-costs-section.js +0 -577
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-costs-section.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-costs-section.tsx +0 -868
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-details-screen.d.ts +0 -4
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-details-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-details-screen.js +0 -337
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-details-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-details-screen.tsx +0 -476
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-form-screen.d.ts +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-form-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-form-screen.js +0 -1348
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-form-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-form-screen.tsx +0 -2233
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-select-with-create.d.ts +0 -12
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-select-with-create.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-select-with-create.js +0 -162
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-select-with-create.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/collaborator-select-with-create.tsx +0 -261
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-content-editor.d.ts +0 -18
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-content-editor.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-content-editor.js +0 -145
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-content-editor.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-content-editor.tsx +0 -258
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-details-screen.d.ts +0 -4
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-details-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-details-screen.js +0 -223
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-details-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-details-screen.tsx +0 -342
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-form-screen.d.ts +0 -58
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-form-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-form-screen.js +0 -438
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-form-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/contract-form-screen.tsx +0 -698
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/department-select-with-create.d.ts +0 -20
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/department-select-with-create.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/department-select-with-create.js +0 -233
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/department-select-with-create.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/department-select-with-create.tsx +0 -392
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/my-project-summary-screen.d.ts +0 -4
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/my-project-summary-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/my-project-summary-screen.js +0 -814
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/my-project-summary-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/my-project-summary-screen.tsx +0 -1288
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-calendar-view.d.ts +0 -21
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-calendar-view.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-calendar-view.js +0 -174
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-calendar-view.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-calendar-view.tsx +0 -306
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-header.d.ts +0 -10
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-header.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-header.js +0 -12
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-header.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/operations-header.tsx +0 -29
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/person-select-with-create.d.ts +0 -15
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/person-select-with-create.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/person-select-with-create.js +0 -501
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/person-select-with-create.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/person-select-with-create.tsx +0 -853
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-costs-section.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-costs-section.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-costs-section.js +0 -847
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-costs-section.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-costs-section.tsx +0 -1340
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-details-screen.d.ts +0 -4
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-details-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-details-screen.js +0 -2930
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-details-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-details-screen.tsx +0 -4378
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-form-screen.d.ts +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-form-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-form-screen.js +0 -1013
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-form-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/project-form-screen.tsx +0 -1745
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/section-card.d.ts +0 -13
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/section-card.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/section-card.js +0 -38
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/section-card.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/section-card.tsx +0 -74
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/status-badge.d.ts +0 -7
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/status-badge.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/status-badge.js +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/status-badge.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/status-badge.tsx +0 -15
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/system-user-select-with-create.d.ts +0 -18
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/system-user-select-with-create.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/system-user-select-with-create.js +0 -406
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/system-user-select-with-create.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/system-user-select-with-create.tsx +0 -660
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-detail-sheet.d.ts +0 -26
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-detail-sheet.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-detail-sheet.js +0 -332
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-detail-sheet.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-detail-sheet.tsx +0 -518
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-file-attachments.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-file-attachments.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-file-attachments.js +0 -255
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-file-attachments.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/task-file-attachments.tsx +0 -388
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/timesheet-task-create-sheet.d.ts +0 -10
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/timesheet-task-create-sheet.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/timesheet-task-create-sheet.js +0 -131
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/timesheet-task-create-sheet.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_components/timesheet-task-create-sheet.tsx +0 -214
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/api.d.ts +0 -108
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/api.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/api.js +0 -162
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/api.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/api.ts +0 -428
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/hooks/use-operations-access.d.ts +0 -8
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/hooks/use-operations-access.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/hooks/use-operations-access.js +0 -36
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/hooks/use-operations-access.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/hooks/use-operations-access.ts +0 -44
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/types.d.ts +0 -837
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/types.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/types.js +0 -3
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/types.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/types.ts +0 -861
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/format.d.ts +0 -16
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/format.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/format.js +0 -182
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/format.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/format.ts +0 -250
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/forms.d.ts +0 -4
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/forms.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/forms.js +0 -51
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/forms.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/utils/forms.ts +0 -61
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/approvals/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/approvals/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/approvals/page.js +0 -954
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/approvals/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/approvals/page.tsx +0 -1277
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborator-types/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborator-types/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborator-types/page.js +0 -488
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborator-types/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborator-types/page.tsx +0 -805
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/edit/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/edit/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/edit/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/edit/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/edit/page.tsx +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/[id]/page.tsx +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/new/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/new/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/new/page.js +0 -8
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/new/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/new/page.tsx +0 -5
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/page.js +0 -612
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/collaborators/page.tsx +0 -939
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/edit/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/edit/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/edit/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/edit/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/edit/page.tsx +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/[id]/page.tsx +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/new/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/new/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/new/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/new/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/new/page.tsx +0 -17
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/page.js +0 -348
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/contracts/page.tsx +0 -536
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/departments/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/departments/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/departments/page.js +0 -401
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/departments/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/departments/page.tsx +0 -607
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/layout.d.ts +0 -5
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/layout.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/layout.js +0 -7
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/layout.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/layout.tsx +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/[id]/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/[id]/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/[id]/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/[id]/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/[id]/page.tsx +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/page.js +0 -321
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-projects/page.tsx +0 -440
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-tasks/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-tasks/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-tasks/page.js +0 -939
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-tasks/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/my-tasks/page.tsx +0 -1499
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/async-options-combobox.d.ts +0 -29
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/async-options-combobox.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/async-options-combobox.js +0 -95
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/async-options-combobox.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/async-options-combobox.tsx +0 -233
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-costs-section.d.ts +0 -10
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-costs-section.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-costs-section.js +0 -577
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-costs-section.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-costs-section.tsx +0 -868
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-details-screen.d.ts +0 -4
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-details-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-details-screen.js +0 -337
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-details-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-details-screen.tsx +0 -476
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-form-screen.d.ts +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-form-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-form-screen.js +0 -1348
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-form-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-form-screen.tsx +0 -2233
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-select-with-create.d.ts +0 -12
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-select-with-create.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-select-with-create.js +0 -162
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-select-with-create.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/collaborator-select-with-create.tsx +0 -261
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-content-editor.d.ts +0 -18
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-content-editor.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-content-editor.js +0 -145
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-content-editor.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-content-editor.tsx +0 -258
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-details-screen.d.ts +0 -4
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-details-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-details-screen.js +0 -223
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-details-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-details-screen.tsx +0 -342
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-form-screen.d.ts +0 -58
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-form-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-form-screen.js +0 -438
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-form-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/contract-form-screen.tsx +0 -698
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/department-select-with-create.d.ts +0 -20
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/department-select-with-create.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/department-select-with-create.js +0 -233
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/department-select-with-create.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/department-select-with-create.tsx +0 -392
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/my-project-summary-screen.d.ts +0 -4
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/my-project-summary-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/my-project-summary-screen.js +0 -814
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/my-project-summary-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/my-project-summary-screen.tsx +0 -1288
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-calendar-view.d.ts +0 -21
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-calendar-view.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-calendar-view.js +0 -174
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-calendar-view.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-calendar-view.tsx +0 -306
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-header.d.ts +0 -10
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-header.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-header.js +0 -12
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-header.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/operations-header.tsx +0 -29
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/person-select-with-create.d.ts +0 -15
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/person-select-with-create.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/person-select-with-create.js +0 -501
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/person-select-with-create.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/person-select-with-create.tsx +0 -853
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-cost-report-screen.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-cost-report-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-cost-report-screen.js +0 -459
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-cost-report-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-cost-report-screen.tsx +0 -598
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-costs-section.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-costs-section.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-costs-section.js +0 -876
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-costs-section.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-costs-section.tsx +0 -1368
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-details-screen.d.ts +0 -4
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-details-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-details-screen.js +0 -2930
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-details-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-details-screen.tsx +0 -4378
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-form-screen.d.ts +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-form-screen.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-form-screen.js +0 -1013
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-form-screen.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/project-form-screen.tsx +0 -1745
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/section-card.d.ts +0 -13
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/section-card.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/section-card.js +0 -38
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/section-card.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/section-card.tsx +0 -74
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/status-badge.d.ts +0 -7
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/status-badge.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/status-badge.js +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/status-badge.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/status-badge.tsx +0 -15
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/system-user-select-with-create.d.ts +0 -18
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/system-user-select-with-create.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/system-user-select-with-create.js +0 -406
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/system-user-select-with-create.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/system-user-select-with-create.tsx +0 -660
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-detail-sheet.d.ts +0 -26
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-detail-sheet.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-detail-sheet.js +0 -332
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-detail-sheet.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-detail-sheet.tsx +0 -518
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-file-attachments.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-file-attachments.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-file-attachments.js +0 -255
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-file-attachments.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/task-file-attachments.tsx +0 -388
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/timesheet-task-create-sheet.d.ts +0 -10
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/timesheet-task-create-sheet.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/timesheet-task-create-sheet.js +0 -131
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/timesheet-task-create-sheet.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_components/timesheet-task-create-sheet.tsx +0 -214
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/api.d.ts +0 -108
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/api.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/api.js +0 -162
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/api.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/api.ts +0 -428
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/hooks/use-operations-access.d.ts +0 -8
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/hooks/use-operations-access.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/hooks/use-operations-access.js +0 -36
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/hooks/use-operations-access.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/hooks/use-operations-access.ts +0 -44
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/types.d.ts +0 -837
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/types.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/types.js +0 -3
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/types.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/types.ts +0 -861
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/format.d.ts +0 -16
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/format.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/format.js +0 -182
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/format.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/format.ts +0 -250
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/forms.d.ts +0 -4
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/forms.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/forms.js +0 -51
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/forms.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/utils/forms.ts +0 -61
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/approvals/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/approvals/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/approvals/page.js +0 -954
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/approvals/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/approvals/page.tsx +0 -1277
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborator-types/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborator-types/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborator-types/page.js +0 -488
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborator-types/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborator-types/page.tsx +0 -805
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/edit/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/edit/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/edit/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/edit/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/edit/page.tsx +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/[id]/page.tsx +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/new/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/new/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/new/page.js +0 -8
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/new/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/new/page.tsx +0 -5
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/page.js +0 -612
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/collaborators/page.tsx +0 -939
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/edit/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/edit/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/edit/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/edit/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/edit/page.tsx +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/[id]/page.tsx +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/new/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/new/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/new/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/new/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/new/page.tsx +0 -17
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/page.js +0 -348
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/contracts/page.tsx +0 -536
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/departments/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/departments/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/departments/page.js +0 -401
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/departments/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/departments/page.tsx +0 -607
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/layout.d.ts +0 -5
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/layout.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/layout.js +0 -7
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/layout.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/layout.tsx +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/[id]/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/[id]/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/[id]/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/[id]/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/[id]/page.tsx +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/page.js +0 -321
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-projects/page.tsx +0 -440
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-tasks/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-tasks/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-tasks/page.js +0 -939
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-tasks/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/my-tasks/page.tsx +0 -1499
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/page.js +0 -8
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/page.tsx +0 -5
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-categories/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-categories/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-categories/page.js +0 -436
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-categories/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-categories/page.tsx +0 -675
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-types/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-types/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-types/page.js +0 -563
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-types/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/project-cost-types/page.tsx +0 -846
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/costs-report/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/costs-report/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/costs-report/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/costs-report/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/costs-report/page.tsx +0 -10
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/edit/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/edit/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/edit/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/edit/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/edit/page.tsx +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/[id]/page.tsx +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/new/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/new/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/new/page.js +0 -8
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/new/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/new/page.tsx +0 -5
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/page.js +0 -492
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/projects/page.tsx +0 -757
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/collaborators/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/collaborators/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/collaborators/page.js +0 -342
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/collaborators/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/collaborators/page.tsx +0 -430
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/projects/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/projects/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/projects/page.js +0 -338
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/projects/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/reports/projects/page.tsx +0 -428
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/schedule-adjustments/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/schedule-adjustments/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/schedule-adjustments/page.js +0 -660
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/schedule-adjustments/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/schedule-adjustments/page.tsx +0 -992
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/time-off/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/time-off/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/time-off/page.js +0 -515
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/time-off/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/time-off/page.tsx +0 -707
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/timesheets/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/timesheets/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/timesheets/page.js +0 -1141
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/timesheets/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/timesheets/page.tsx +0 -1705
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/page.js +0 -8
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/page.tsx +0 -5
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-categories/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-categories/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-categories/page.js +0 -436
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-categories/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-categories/page.tsx +0 -675
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-types/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-types/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-types/page.js +0 -563
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-types/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/project-cost-types/page.tsx +0 -846
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/edit/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/edit/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/edit/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/edit/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/edit/page.tsx +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/page.d.ts +0 -6
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/page.js +0 -9
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/[id]/page.tsx +0 -11
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/new/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/new/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/new/page.js +0 -8
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/new/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/new/page.tsx +0 -5
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/page.js +0 -492
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/projects/page.tsx +0 -757
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/collaborators/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/collaborators/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/collaborators/page.js +0 -342
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/collaborators/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/collaborators/page.tsx +0 -430
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/projects/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/projects/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/projects/page.js +0 -338
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/projects/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/reports/projects/page.tsx +0 -428
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/schedule-adjustments/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/schedule-adjustments/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/schedule-adjustments/page.js +0 -660
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/schedule-adjustments/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/schedule-adjustments/page.tsx +0 -992
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/time-off/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/time-off/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/time-off/page.js +0 -515
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/time-off/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/time-off/page.tsx +0 -707
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/timesheets/page.d.ts +0 -2
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/timesheets/page.d.ts.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/timesheets/page.js +0 -1141
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/timesheets/page.js.map +0 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/timesheets/page.tsx +0 -1705
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
type CalendarItem = {
|
|
2
|
-
id: number | string;
|
|
3
|
-
date: string;
|
|
4
|
-
title: string;
|
|
5
|
-
subtitle?: string | null;
|
|
6
|
-
meta?: string | null;
|
|
7
|
-
kind?: string | null;
|
|
8
|
-
statusLabel?: string | null;
|
|
9
|
-
badgeClassName?: string | null;
|
|
10
|
-
};
|
|
11
|
-
export declare function OperationsCalendarView({ locale, items, emptyLabel, onOpenItem, onDateSelect, actionLabel, onMonthChange, }: {
|
|
12
|
-
locale: string;
|
|
13
|
-
items: CalendarItem[];
|
|
14
|
-
emptyLabel: string;
|
|
15
|
-
onOpenItem: (item: CalendarItem) => void;
|
|
16
|
-
onDateSelect?: (date: string, items: CalendarItem[]) => void;
|
|
17
|
-
actionLabel: string;
|
|
18
|
-
onMonthChange?: (year: number, month: number) => void;
|
|
19
|
-
}): import("react").JSX.Element;
|
|
20
|
-
export type { CalendarItem as OperationsCalendarItem };
|
|
21
|
-
//# sourceMappingURL=operations-calendar-view.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations-calendar-view.d.ts","sourceRoot":"","sources":["operations-calendar-view.tsx"],"names":[],"mappings":"AAkBA,KAAK,YAAY,GAAG;IAClB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC,CAAC;AAgCF,wBAAgB,sBAAsB,CAAC,EACrC,MAAM,EACN,KAAK,EACL,UAAU,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,aAAa,GACd,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IACzC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;IAC7D,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvD,+BAoOA;AAED,YAAY,EAAE,YAAY,IAAI,sBAAsB,EAAE,CAAC"}
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
'use client';
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.OperationsCalendarView = OperationsCalendarView;
|
|
5
|
-
const button_1 = require("@/components/ui/button");
|
|
6
|
-
const utils_1 = require("@/lib/utils");
|
|
7
|
-
const date_fns_1 = require("date-fns");
|
|
8
|
-
const lucide_react_1 = require("lucide-react");
|
|
9
|
-
const react_1 = require("react");
|
|
10
|
-
function formatMonthLabel(date, locale) {
|
|
11
|
-
return new Intl.DateTimeFormat(locale, {
|
|
12
|
-
month: 'long',
|
|
13
|
-
year: 'numeric',
|
|
14
|
-
}).format(date);
|
|
15
|
-
}
|
|
16
|
-
function formatDayNumber(date, locale) {
|
|
17
|
-
return new Intl.DateTimeFormat(locale, {
|
|
18
|
-
day: 'numeric',
|
|
19
|
-
}).format(date);
|
|
20
|
-
}
|
|
21
|
-
function formatDateKey(date) {
|
|
22
|
-
const year = date.getFullYear();
|
|
23
|
-
const month = String(date.getMonth() + 1).padStart(2, '0');
|
|
24
|
-
const day = String(date.getDate()).padStart(2, '0');
|
|
25
|
-
return `${year}-${month}-${day}`;
|
|
26
|
-
}
|
|
27
|
-
function buildWeekdayLabels(locale) {
|
|
28
|
-
const monday = new Date(Date.UTC(2024, 0, 1, 12, 0, 0));
|
|
29
|
-
return Array.from({ length: 7 }, (_, index) => new Intl.DateTimeFormat(locale, { weekday: 'short' })
|
|
30
|
-
.format((0, date_fns_1.addDays)(monday, index))
|
|
31
|
-
.slice(0, 3));
|
|
32
|
-
}
|
|
33
|
-
function OperationsCalendarView({ locale, items, emptyLabel, onOpenItem, onDateSelect, actionLabel, onMonthChange, }) {
|
|
34
|
-
var _a;
|
|
35
|
-
const [currentMonth, setCurrentMonth] = (0, react_1.useState)(() => new Date());
|
|
36
|
-
const [selectedDate, setSelectedDate] = (0, react_1.useState)(null);
|
|
37
|
-
const weekdayLabels = (0, react_1.useMemo)(() => buildWeekdayLabels(locale), [locale]);
|
|
38
|
-
const onMonthChangeRef = (0, react_1.useRef)(onMonthChange);
|
|
39
|
-
onMonthChangeRef.current = onMonthChange;
|
|
40
|
-
(0, react_1.useEffect)(() => {
|
|
41
|
-
var _a;
|
|
42
|
-
(_a = onMonthChangeRef.current) === null || _a === void 0 ? void 0 : _a.call(onMonthChangeRef, currentMonth.getFullYear(), currentMonth.getMonth() + 1);
|
|
43
|
-
}, [currentMonth]);
|
|
44
|
-
const itemMap = (0, react_1.useMemo)(() => {
|
|
45
|
-
const mapped = new Map();
|
|
46
|
-
items.forEach((item) => {
|
|
47
|
-
var _a;
|
|
48
|
-
const key = item.date;
|
|
49
|
-
const current = (_a = mapped.get(key)) !== null && _a !== void 0 ? _a : [];
|
|
50
|
-
current.push(item);
|
|
51
|
-
mapped.set(key, current);
|
|
52
|
-
});
|
|
53
|
-
return mapped;
|
|
54
|
-
}, [items]);
|
|
55
|
-
const gridStart = (0, date_fns_1.startOfWeek)((0, date_fns_1.startOfMonth)(currentMonth), {
|
|
56
|
-
weekStartsOn: 1,
|
|
57
|
-
});
|
|
58
|
-
const gridEnd = (0, date_fns_1.endOfWeek)((0, date_fns_1.addDays)(gridStart, 41), {
|
|
59
|
-
weekStartsOn: 1,
|
|
60
|
-
});
|
|
61
|
-
const days = (0, date_fns_1.eachDayOfInterval)({ start: gridStart, end: gridEnd });
|
|
62
|
-
const selectedItems = selectedDate
|
|
63
|
-
? ((_a = itemMap.get(formatDateKey(selectedDate))) !== null && _a !== void 0 ? _a : [])
|
|
64
|
-
: [];
|
|
65
|
-
return (<div className="space-y-4">
|
|
66
|
-
<div className="flex items-center justify-between rounded-2xl border border-border/70 bg-muted/20 px-3 py-2.5">
|
|
67
|
-
<button_1.Button type="button" variant="ghost" size="icon" className="cursor-pointer rounded-full" onClick={() => {
|
|
68
|
-
setCurrentMonth((current) => (0, date_fns_1.subMonths)(current, 1));
|
|
69
|
-
setSelectedDate(null);
|
|
70
|
-
}}>
|
|
71
|
-
<lucide_react_1.ChevronLeft className="size-4"/>
|
|
72
|
-
</button_1.Button>
|
|
73
|
-
<div className="text-sm font-semibold capitalize text-foreground">
|
|
74
|
-
{formatMonthLabel(currentMonth, locale)}
|
|
75
|
-
</div>
|
|
76
|
-
<button_1.Button type="button" variant="ghost" size="icon" className="cursor-pointer rounded-full" onClick={() => {
|
|
77
|
-
setCurrentMonth((current) => (0, date_fns_1.addMonths)(current, 1));
|
|
78
|
-
setSelectedDate(null);
|
|
79
|
-
}}>
|
|
80
|
-
<lucide_react_1.ChevronRight className="size-4"/>
|
|
81
|
-
</button_1.Button>
|
|
82
|
-
</div>
|
|
83
|
-
|
|
84
|
-
<div className="rounded-3xl border border-border/70 bg-card p-3 shadow-xs lg:p-4">
|
|
85
|
-
<div className="mb-2 grid grid-cols-7">
|
|
86
|
-
{weekdayLabels.map((label, index) => (<div key={`${label}-${index}`} className="py-1 text-center text-[11px] font-medium uppercase tracking-wide text-muted-foreground">
|
|
87
|
-
{label}
|
|
88
|
-
</div>))}
|
|
89
|
-
</div>
|
|
90
|
-
|
|
91
|
-
<div className="grid grid-cols-7 gap-1 lg:gap-2">
|
|
92
|
-
{days.map((day) => {
|
|
93
|
-
var _a;
|
|
94
|
-
const key = formatDateKey(day);
|
|
95
|
-
const dayItems = (_a = itemMap.get(key)) !== null && _a !== void 0 ? _a : [];
|
|
96
|
-
const inMonth = (0, date_fns_1.isSameMonth)(day, currentMonth);
|
|
97
|
-
const isSelected = selectedDate !== null && (0, date_fns_1.isSameDay)(day, selectedDate);
|
|
98
|
-
return (<button key={key} type="button" disabled={!inMonth} onClick={() => {
|
|
99
|
-
const nextDate = selectedDate !== null && (0, date_fns_1.isSameDay)(selectedDate, day)
|
|
100
|
-
? null
|
|
101
|
-
: day;
|
|
102
|
-
setSelectedDate(nextDate);
|
|
103
|
-
if (nextDate) {
|
|
104
|
-
onDateSelect === null || onDateSelect === void 0 ? void 0 : onDateSelect(key, dayItems);
|
|
105
|
-
}
|
|
106
|
-
}} className={(0, utils_1.cn)('min-h-24 rounded-2xl border border-border/60 p-2 text-left transition-colors lg:min-h-32', inMonth
|
|
107
|
-
? 'cursor-pointer bg-background/90 hover:border-border hover:bg-muted/30'
|
|
108
|
-
: 'cursor-default bg-muted/20 opacity-35', isSelected && 'ring-1 ring-primary/35')}>
|
|
109
|
-
<div className="flex items-start justify-between gap-2">
|
|
110
|
-
<span className={(0, utils_1.cn)('flex size-8 items-center justify-center rounded-full text-sm', isSelected
|
|
111
|
-
? 'bg-primary font-semibold text-primary-foreground'
|
|
112
|
-
: 'text-foreground')}>
|
|
113
|
-
{formatDayNumber(day, locale)}
|
|
114
|
-
</span>
|
|
115
|
-
{dayItems.length ? (<span className="rounded-full bg-primary/10 px-2 py-0.5 text-[10px] font-semibold text-primary">
|
|
116
|
-
{dayItems.length}
|
|
117
|
-
</span>) : null}
|
|
118
|
-
</div>
|
|
119
|
-
|
|
120
|
-
{inMonth && dayItems.length ? (<div className="mt-2 hidden space-y-1 lg:block">
|
|
121
|
-
{dayItems.slice(0, 3).map((item) => {
|
|
122
|
-
var _a, _b;
|
|
123
|
-
return (<div key={`${item.id}-${(_a = item.kind) !== null && _a !== void 0 ? _a : 'item'}`} className={(0, utils_1.cn)('truncate rounded-md px-2 py-1 text-[10px] font-medium', (_b = item.badgeClassName) !== null && _b !== void 0 ? _b : 'bg-muted text-foreground')} title={item.title}>
|
|
124
|
-
{item.title}
|
|
125
|
-
</div>);
|
|
126
|
-
})}
|
|
127
|
-
{dayItems.length > 3 ? (<div className="text-center text-[10px] text-muted-foreground">
|
|
128
|
-
+{dayItems.length - 3}
|
|
129
|
-
</div>) : null}
|
|
130
|
-
</div>) : null}
|
|
131
|
-
|
|
132
|
-
{inMonth && dayItems.length ? (<div className="mt-2 flex justify-center gap-1 lg:hidden">
|
|
133
|
-
{dayItems.slice(0, 3).map((item) => {
|
|
134
|
-
var _a, _b, _c;
|
|
135
|
-
return (<span key={`${item.id}-${(_a = item.kind) !== null && _a !== void 0 ? _a : 'item'}`} className={(0, utils_1.cn)('size-1.5 rounded-full', (_c = (_b = item.badgeClassName) === null || _b === void 0 ? void 0 : _b.split(' ')[0]) !== null && _c !== void 0 ? _c : 'bg-primary')}/>);
|
|
136
|
-
})}
|
|
137
|
-
</div>) : null}
|
|
138
|
-
</button>);
|
|
139
|
-
})}
|
|
140
|
-
</div>
|
|
141
|
-
</div>
|
|
142
|
-
|
|
143
|
-
<div className="rounded-2xl border border-border/70 bg-card p-4">
|
|
144
|
-
{selectedDate && selectedItems.length ? (<div className="space-y-3">
|
|
145
|
-
{selectedItems.map((item) => {
|
|
146
|
-
var _a, _b;
|
|
147
|
-
return (<div key={`${item.id}-${(_a = item.kind) !== null && _a !== void 0 ? _a : 'item'}`} className="flex flex-col gap-3 rounded-xl border border-border/60 px-4 py-3 lg:flex-row lg:items-center lg:justify-between">
|
|
148
|
-
<div className="min-w-0 space-y-1">
|
|
149
|
-
<div className="flex flex-wrap items-center gap-2">
|
|
150
|
-
<div className="truncate font-medium text-foreground">
|
|
151
|
-
{item.title}
|
|
152
|
-
</div>
|
|
153
|
-
{item.statusLabel ? (<span className={(0, utils_1.cn)('rounded-full px-2 py-0.5 text-[11px] font-medium', (_b = item.badgeClassName) !== null && _b !== void 0 ? _b : 'bg-muted text-foreground')}>
|
|
154
|
-
{item.statusLabel}
|
|
155
|
-
</span>) : null}
|
|
156
|
-
</div>
|
|
157
|
-
{item.subtitle ? (<div className="text-sm text-muted-foreground">
|
|
158
|
-
{item.subtitle}
|
|
159
|
-
</div>) : null}
|
|
160
|
-
{item.meta ? (<div className="text-xs text-muted-foreground">
|
|
161
|
-
{item.meta}
|
|
162
|
-
</div>) : null}
|
|
163
|
-
</div>
|
|
164
|
-
|
|
165
|
-
<button_1.Button type="button" variant="outline" size="sm" className="cursor-pointer" onClick={() => onOpenItem(item)}>
|
|
166
|
-
{actionLabel}
|
|
167
|
-
</button_1.Button>
|
|
168
|
-
</div>);
|
|
169
|
-
})}
|
|
170
|
-
</div>) : (<div className="text-sm text-muted-foreground">{emptyLabel}</div>)}
|
|
171
|
-
</div>
|
|
172
|
-
</div>);
|
|
173
|
-
}
|
|
174
|
-
//# sourceMappingURL=operations-calendar-view.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations-calendar-view.js","sourceRoot":"","sources":["operations-calendar-view.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;AA2Db,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,CAAC,CAAC,CAAC,IAAI,CACV;kBAAA,EAAE,GAAG,CACL;kBAAA,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CACf,CAAC,GAAG,CAAC,SAAS,CAAC,+BAA+B,CAC5C;sBAAA,CAAC,IAAI,CAAC,QAAQ,CAChB;oBAAA,EAAE,GAAG,CAAC,CACP,CAAC,CAAC,CAAC,IAAI,CACR;kBAAA,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACX,CAAC,GAAG,CAAC,SAAS,CAAC,+BAA+B,CAC5C;sBAAA,CAAC,IAAI,CAAC,IAAI,CACZ;oBAAA,EAAE,GAAG,CAAC,CACP,CAAC,CAAC,CAAC,IAAI,CACV;gBAAA,EAAE,GAAG,CAEL;;gBAAA,CAAC,eAAM,CACL,IAAI,CAAC,QAAQ,CACb,OAAO,CAAC,SAAS,CACjB,IAAI,CAAC,IAAI,CACT,SAAS,CAAC,gBAAgB,CAC1B,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAEhC;kBAAA,CAAC,WAAW,CACd;gBAAA,EAAE,eAAM,CACV;cAAA,EAAE,GAAG,CAAC,CACP,CAAA;aAAA,CAAC,CACJ;UAAA,EAAE,GAAG,CAAC,CACP,CAAC,CAAC,CAAC,CACF,CAAC,GAAG,CAAC,SAAS,CAAC,+BAA+B,CAAC,CAAC,UAAU,CAAC,EAAE,GAAG,CAAC,CAClE,CACH;MAAA,EAAE,GAAG,CACP;IAAA,EAAE,GAAG,CAAC,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import { Button } from '@/components/ui/button';
|
|
4
|
-
import { cn } from '@/lib/utils';
|
|
5
|
-
import {
|
|
6
|
-
addDays,
|
|
7
|
-
addMonths,
|
|
8
|
-
eachDayOfInterval,
|
|
9
|
-
endOfWeek,
|
|
10
|
-
isSameDay,
|
|
11
|
-
isSameMonth,
|
|
12
|
-
startOfMonth,
|
|
13
|
-
startOfWeek,
|
|
14
|
-
subMonths,
|
|
15
|
-
} from 'date-fns';
|
|
16
|
-
import { ChevronLeft, ChevronRight } from 'lucide-react';
|
|
17
|
-
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
18
|
-
|
|
19
|
-
type CalendarItem = {
|
|
20
|
-
id: number | string;
|
|
21
|
-
date: string;
|
|
22
|
-
title: string;
|
|
23
|
-
subtitle?: string | null;
|
|
24
|
-
meta?: string | null;
|
|
25
|
-
kind?: string | null;
|
|
26
|
-
statusLabel?: string | null;
|
|
27
|
-
badgeClassName?: string | null;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
function formatMonthLabel(date: Date, locale: string) {
|
|
31
|
-
return new Intl.DateTimeFormat(locale, {
|
|
32
|
-
month: 'long',
|
|
33
|
-
year: 'numeric',
|
|
34
|
-
}).format(date);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function formatDayNumber(date: Date, locale: string) {
|
|
38
|
-
return new Intl.DateTimeFormat(locale, {
|
|
39
|
-
day: 'numeric',
|
|
40
|
-
}).format(date);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
function formatDateKey(date: Date) {
|
|
44
|
-
const year = date.getFullYear();
|
|
45
|
-
const month = String(date.getMonth() + 1).padStart(2, '0');
|
|
46
|
-
const day = String(date.getDate()).padStart(2, '0');
|
|
47
|
-
return `${year}-${month}-${day}`;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
function buildWeekdayLabels(locale: string) {
|
|
51
|
-
const monday = new Date(Date.UTC(2024, 0, 1, 12, 0, 0));
|
|
52
|
-
|
|
53
|
-
return Array.from({ length: 7 }, (_, index) =>
|
|
54
|
-
new Intl.DateTimeFormat(locale, { weekday: 'short' })
|
|
55
|
-
.format(addDays(monday, index))
|
|
56
|
-
.slice(0, 3)
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function OperationsCalendarView({
|
|
61
|
-
locale,
|
|
62
|
-
items,
|
|
63
|
-
emptyLabel,
|
|
64
|
-
onOpenItem,
|
|
65
|
-
onDateSelect,
|
|
66
|
-
actionLabel,
|
|
67
|
-
onMonthChange,
|
|
68
|
-
}: {
|
|
69
|
-
locale: string;
|
|
70
|
-
items: CalendarItem[];
|
|
71
|
-
emptyLabel: string;
|
|
72
|
-
onOpenItem: (item: CalendarItem) => void;
|
|
73
|
-
onDateSelect?: (date: string, items: CalendarItem[]) => void;
|
|
74
|
-
actionLabel: string;
|
|
75
|
-
onMonthChange?: (year: number, month: number) => void;
|
|
76
|
-
}) {
|
|
77
|
-
const [currentMonth, setCurrentMonth] = useState(() => new Date());
|
|
78
|
-
const [selectedDate, setSelectedDate] = useState<Date | null>(null);
|
|
79
|
-
const weekdayLabels = useMemo(() => buildWeekdayLabels(locale), [locale]);
|
|
80
|
-
|
|
81
|
-
const onMonthChangeRef = useRef(onMonthChange);
|
|
82
|
-
onMonthChangeRef.current = onMonthChange;
|
|
83
|
-
|
|
84
|
-
useEffect(() => {
|
|
85
|
-
onMonthChangeRef.current?.(
|
|
86
|
-
currentMonth.getFullYear(),
|
|
87
|
-
currentMonth.getMonth() + 1
|
|
88
|
-
);
|
|
89
|
-
}, [currentMonth]);
|
|
90
|
-
|
|
91
|
-
const itemMap = useMemo(() => {
|
|
92
|
-
const mapped = new Map<string, CalendarItem[]>();
|
|
93
|
-
|
|
94
|
-
items.forEach((item) => {
|
|
95
|
-
const key = item.date;
|
|
96
|
-
const current = mapped.get(key) ?? [];
|
|
97
|
-
current.push(item);
|
|
98
|
-
mapped.set(key, current);
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
return mapped;
|
|
102
|
-
}, [items]);
|
|
103
|
-
|
|
104
|
-
const gridStart = startOfWeek(startOfMonth(currentMonth), {
|
|
105
|
-
weekStartsOn: 1,
|
|
106
|
-
});
|
|
107
|
-
const gridEnd = endOfWeek(addDays(gridStart, 41), {
|
|
108
|
-
weekStartsOn: 1,
|
|
109
|
-
});
|
|
110
|
-
const days = eachDayOfInterval({ start: gridStart, end: gridEnd });
|
|
111
|
-
|
|
112
|
-
const selectedItems = selectedDate
|
|
113
|
-
? (itemMap.get(formatDateKey(selectedDate)) ?? [])
|
|
114
|
-
: [];
|
|
115
|
-
|
|
116
|
-
return (
|
|
117
|
-
<div className="space-y-4">
|
|
118
|
-
<div className="flex items-center justify-between rounded-2xl border border-border/70 bg-muted/20 px-3 py-2.5">
|
|
119
|
-
<Button
|
|
120
|
-
type="button"
|
|
121
|
-
variant="ghost"
|
|
122
|
-
size="icon"
|
|
123
|
-
className="cursor-pointer rounded-full"
|
|
124
|
-
onClick={() => {
|
|
125
|
-
setCurrentMonth((current) => subMonths(current, 1));
|
|
126
|
-
setSelectedDate(null);
|
|
127
|
-
}}
|
|
128
|
-
>
|
|
129
|
-
<ChevronLeft className="size-4" />
|
|
130
|
-
</Button>
|
|
131
|
-
<div className="text-sm font-semibold capitalize text-foreground">
|
|
132
|
-
{formatMonthLabel(currentMonth, locale)}
|
|
133
|
-
</div>
|
|
134
|
-
<Button
|
|
135
|
-
type="button"
|
|
136
|
-
variant="ghost"
|
|
137
|
-
size="icon"
|
|
138
|
-
className="cursor-pointer rounded-full"
|
|
139
|
-
onClick={() => {
|
|
140
|
-
setCurrentMonth((current) => addMonths(current, 1));
|
|
141
|
-
setSelectedDate(null);
|
|
142
|
-
}}
|
|
143
|
-
>
|
|
144
|
-
<ChevronRight className="size-4" />
|
|
145
|
-
</Button>
|
|
146
|
-
</div>
|
|
147
|
-
|
|
148
|
-
<div className="rounded-3xl border border-border/70 bg-card p-3 shadow-xs lg:p-4">
|
|
149
|
-
<div className="mb-2 grid grid-cols-7">
|
|
150
|
-
{weekdayLabels.map((label, index) => (
|
|
151
|
-
<div
|
|
152
|
-
key={`${label}-${index}`}
|
|
153
|
-
className="py-1 text-center text-[11px] font-medium uppercase tracking-wide text-muted-foreground"
|
|
154
|
-
>
|
|
155
|
-
{label}
|
|
156
|
-
</div>
|
|
157
|
-
))}
|
|
158
|
-
</div>
|
|
159
|
-
|
|
160
|
-
<div className="grid grid-cols-7 gap-1 lg:gap-2">
|
|
161
|
-
{days.map((day) => {
|
|
162
|
-
const key = formatDateKey(day);
|
|
163
|
-
const dayItems = itemMap.get(key) ?? [];
|
|
164
|
-
const inMonth = isSameMonth(day, currentMonth);
|
|
165
|
-
const isSelected =
|
|
166
|
-
selectedDate !== null && isSameDay(day, selectedDate);
|
|
167
|
-
|
|
168
|
-
return (
|
|
169
|
-
<button
|
|
170
|
-
key={key}
|
|
171
|
-
type="button"
|
|
172
|
-
disabled={!inMonth}
|
|
173
|
-
onClick={() => {
|
|
174
|
-
const nextDate =
|
|
175
|
-
selectedDate !== null && isSameDay(selectedDate, day)
|
|
176
|
-
? null
|
|
177
|
-
: day;
|
|
178
|
-
setSelectedDate(nextDate);
|
|
179
|
-
if (nextDate) {
|
|
180
|
-
onDateSelect?.(key, dayItems);
|
|
181
|
-
}
|
|
182
|
-
}}
|
|
183
|
-
className={cn(
|
|
184
|
-
'min-h-24 rounded-2xl border border-border/60 p-2 text-left transition-colors lg:min-h-32',
|
|
185
|
-
inMonth
|
|
186
|
-
? 'cursor-pointer bg-background/90 hover:border-border hover:bg-muted/30'
|
|
187
|
-
: 'cursor-default bg-muted/20 opacity-35',
|
|
188
|
-
isSelected && 'ring-1 ring-primary/35'
|
|
189
|
-
)}
|
|
190
|
-
>
|
|
191
|
-
<div className="flex items-start justify-between gap-2">
|
|
192
|
-
<span
|
|
193
|
-
className={cn(
|
|
194
|
-
'flex size-8 items-center justify-center rounded-full text-sm',
|
|
195
|
-
isSelected
|
|
196
|
-
? 'bg-primary font-semibold text-primary-foreground'
|
|
197
|
-
: 'text-foreground'
|
|
198
|
-
)}
|
|
199
|
-
>
|
|
200
|
-
{formatDayNumber(day, locale)}
|
|
201
|
-
</span>
|
|
202
|
-
{dayItems.length ? (
|
|
203
|
-
<span className="rounded-full bg-primary/10 px-2 py-0.5 text-[10px] font-semibold text-primary">
|
|
204
|
-
{dayItems.length}
|
|
205
|
-
</span>
|
|
206
|
-
) : null}
|
|
207
|
-
</div>
|
|
208
|
-
|
|
209
|
-
{inMonth && dayItems.length ? (
|
|
210
|
-
<div className="mt-2 hidden space-y-1 lg:block">
|
|
211
|
-
{dayItems.slice(0, 3).map((item) => (
|
|
212
|
-
<div
|
|
213
|
-
key={`${item.id}-${item.kind ?? 'item'}`}
|
|
214
|
-
className={cn(
|
|
215
|
-
'truncate rounded-md px-2 py-1 text-[10px] font-medium',
|
|
216
|
-
item.badgeClassName ?? 'bg-muted text-foreground'
|
|
217
|
-
)}
|
|
218
|
-
title={item.title}
|
|
219
|
-
>
|
|
220
|
-
{item.title}
|
|
221
|
-
</div>
|
|
222
|
-
))}
|
|
223
|
-
{dayItems.length > 3 ? (
|
|
224
|
-
<div className="text-center text-[10px] text-muted-foreground">
|
|
225
|
-
+{dayItems.length - 3}
|
|
226
|
-
</div>
|
|
227
|
-
) : null}
|
|
228
|
-
</div>
|
|
229
|
-
) : null}
|
|
230
|
-
|
|
231
|
-
{inMonth && dayItems.length ? (
|
|
232
|
-
<div className="mt-2 flex justify-center gap-1 lg:hidden">
|
|
233
|
-
{dayItems.slice(0, 3).map((item) => (
|
|
234
|
-
<span
|
|
235
|
-
key={`${item.id}-${item.kind ?? 'item'}`}
|
|
236
|
-
className={cn(
|
|
237
|
-
'size-1.5 rounded-full',
|
|
238
|
-
item.badgeClassName?.split(' ')[0] ?? 'bg-primary'
|
|
239
|
-
)}
|
|
240
|
-
/>
|
|
241
|
-
))}
|
|
242
|
-
</div>
|
|
243
|
-
) : null}
|
|
244
|
-
</button>
|
|
245
|
-
);
|
|
246
|
-
})}
|
|
247
|
-
</div>
|
|
248
|
-
</div>
|
|
249
|
-
|
|
250
|
-
<div className="rounded-2xl border border-border/70 bg-card p-4">
|
|
251
|
-
{selectedDate && selectedItems.length ? (
|
|
252
|
-
<div className="space-y-3">
|
|
253
|
-
{selectedItems.map((item) => (
|
|
254
|
-
<div
|
|
255
|
-
key={`${item.id}-${item.kind ?? 'item'}`}
|
|
256
|
-
className="flex flex-col gap-3 rounded-xl border border-border/60 px-4 py-3 lg:flex-row lg:items-center lg:justify-between"
|
|
257
|
-
>
|
|
258
|
-
<div className="min-w-0 space-y-1">
|
|
259
|
-
<div className="flex flex-wrap items-center gap-2">
|
|
260
|
-
<div className="truncate font-medium text-foreground">
|
|
261
|
-
{item.title}
|
|
262
|
-
</div>
|
|
263
|
-
{item.statusLabel ? (
|
|
264
|
-
<span
|
|
265
|
-
className={cn(
|
|
266
|
-
'rounded-full px-2 py-0.5 text-[11px] font-medium',
|
|
267
|
-
item.badgeClassName ?? 'bg-muted text-foreground'
|
|
268
|
-
)}
|
|
269
|
-
>
|
|
270
|
-
{item.statusLabel}
|
|
271
|
-
</span>
|
|
272
|
-
) : null}
|
|
273
|
-
</div>
|
|
274
|
-
{item.subtitle ? (
|
|
275
|
-
<div className="text-sm text-muted-foreground">
|
|
276
|
-
{item.subtitle}
|
|
277
|
-
</div>
|
|
278
|
-
) : null}
|
|
279
|
-
{item.meta ? (
|
|
280
|
-
<div className="text-xs text-muted-foreground">
|
|
281
|
-
{item.meta}
|
|
282
|
-
</div>
|
|
283
|
-
) : null}
|
|
284
|
-
</div>
|
|
285
|
-
|
|
286
|
-
<Button
|
|
287
|
-
type="button"
|
|
288
|
-
variant="outline"
|
|
289
|
-
size="sm"
|
|
290
|
-
className="cursor-pointer"
|
|
291
|
-
onClick={() => onOpenItem(item)}
|
|
292
|
-
>
|
|
293
|
-
{actionLabel}
|
|
294
|
-
</Button>
|
|
295
|
-
</div>
|
|
296
|
-
))}
|
|
297
|
-
</div>
|
|
298
|
-
) : (
|
|
299
|
-
<div className="text-sm text-muted-foreground">{emptyLabel}</div>
|
|
300
|
-
)}
|
|
301
|
-
</div>
|
|
302
|
-
</div>
|
|
303
|
-
);
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
export type { CalendarItem as OperationsCalendarItem };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
interface OperationsHeaderProps {
|
|
3
|
-
title: string;
|
|
4
|
-
description: string;
|
|
5
|
-
current: string;
|
|
6
|
-
actions?: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export declare function OperationsHeader({ title, description, current, actions, }: OperationsHeaderProps): import("react").JSX.Element;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=operations-header.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations-header.d.ts","sourceRoot":"","sources":["operations-header.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,WAAW,EACX,OAAO,EACP,OAAO,GACR,EAAE,qBAAqB,+BAavB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OperationsHeader = OperationsHeader;
|
|
4
|
-
const entity_list_1 = require("@/components/entity-list");
|
|
5
|
-
function OperationsHeader({ title, description, current, actions, }) {
|
|
6
|
-
return (<entity_list_1.PageHeader title={title} description={description} actions={actions} breadcrumbs={[
|
|
7
|
-
{ label: 'Home', href: '/' },
|
|
8
|
-
{ label: 'Operations', href: '/operations' },
|
|
9
|
-
{ label: current },
|
|
10
|
-
]}/>);
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=operations-header.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations-header.js","sourceRoot":"","sources":["operations-header.tsx"],"names":[],"mappings":";;AAUA,4CAkBC;AA5BD,0DAAsD;AAUtD,SAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,WAAW,EACX,OAAO,EACP,OAAO,GACe;IACtB,OAAO,CACL,CAAC,wBAAU,CACT,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,WAAW,CAAC,CAAC;YACX,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE;YAC5B,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE;YAC5C,EAAE,KAAK,EAAE,OAAO,EAAE;SACnB,CAAC,EACF,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { PageHeader } from '@/components/entity-list';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
interface OperationsHeaderProps {
|
|
5
|
-
title: string;
|
|
6
|
-
description: string;
|
|
7
|
-
current: string;
|
|
8
|
-
actions?: ReactNode;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function OperationsHeader({
|
|
12
|
-
title,
|
|
13
|
-
description,
|
|
14
|
-
current,
|
|
15
|
-
actions,
|
|
16
|
-
}: OperationsHeaderProps) {
|
|
17
|
-
return (
|
|
18
|
-
<PageHeader
|
|
19
|
-
title={title}
|
|
20
|
-
description={description}
|
|
21
|
-
actions={actions}
|
|
22
|
-
breadcrumbs={[
|
|
23
|
-
{ label: 'Home', href: '/' },
|
|
24
|
-
{ label: 'Operations', href: '/operations' },
|
|
25
|
-
{ label: current },
|
|
26
|
-
]}
|
|
27
|
-
/>
|
|
28
|
-
);
|
|
29
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
type PersonTypeFilter = 'individual' | 'company' | 'all';
|
|
2
|
-
export declare function PersonSelectWithCreate({ label, entityLabel, value, onChange, selectPlaceholder, personTypeFilter, createType, lockCreateType, initialSelectedLabel, disabled, }: {
|
|
3
|
-
label: string;
|
|
4
|
-
entityLabel: string;
|
|
5
|
-
value?: string | number | null;
|
|
6
|
-
onChange: (personId: number | null, personName: string) => void;
|
|
7
|
-
selectPlaceholder: string;
|
|
8
|
-
personTypeFilter?: PersonTypeFilter;
|
|
9
|
-
createType?: Exclude<PersonTypeFilter, 'all'>;
|
|
10
|
-
lockCreateType?: boolean;
|
|
11
|
-
initialSelectedLabel?: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
}): import("react").JSX.Element;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=person-select-with-create.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"person-select-with-create.d.ts","sourceRoot":"","sources":["person-select-with-create.tsx"],"names":[],"mappings":"AAmEA,KAAK,gBAAgB,GAAG,YAAY,GAAG,SAAS,GAAG,KAAK,CAAC;AA8dzD,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,iBAAiB,EACjB,gBAAwB,EACxB,UAAyB,EACzB,cAAsB,EACtB,oBAAyB,EACzB,QAAgB,GACjB,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAChE,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAC;IAC9C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,+BA6RA"}
|