@fastnd/components 1.0.10 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/components/EmptyState/EmptyState.d.ts +8 -0
  2. package/dist/components/ExpandButton/ExpandButton.d.ts +10 -0
  3. package/dist/components/ProgressCircle/ProgressCircle.d.ts +6 -0
  4. package/dist/components/ScoreBar/ScoreBar.d.ts +6 -0
  5. package/dist/components/SearchInput/SearchInput.d.ts +10 -0
  6. package/dist/components/SegmentedControl/SegmentedControl.d.ts +15 -0
  7. package/dist/components/index.d.ts +12 -0
  8. package/dist/components.js +845 -637
  9. package/dist/features/data-visualization/CardView/CardView.d.ts +24 -0
  10. package/dist/features/data-visualization/ConfigPopover/ConfigPopover.d.ts +12 -0
  11. package/dist/features/data-visualization/DataGrid/DataGrid.d.ts +34 -0
  12. package/dist/features/data-visualization/DataGrid/ResultCount.d.ts +8 -0
  13. package/dist/features/data-visualization/DataTable/DataTable.d.ts +17 -0
  14. package/dist/features/data-visualization/DataVisualizationPage/DataVisualizationPage.d.ts +8 -0
  15. package/dist/features/data-visualization/DomainSwitcher/DomainSwitcher.d.ts +9 -0
  16. package/dist/features/data-visualization/ListView/ListView.d.ts +19 -0
  17. package/dist/features/data-visualization/MoreFiltersPopover/MoreFiltersPopover.d.ts +12 -0
  18. package/dist/features/data-visualization/Toolbar/Toolbar.d.ts +22 -0
  19. package/dist/features/data-visualization/cells/CellDouble.d.ts +7 -0
  20. package/dist/features/data-visualization/cells/CellLink.d.ts +7 -0
  21. package/dist/features/data-visualization/cells/CellPrice.d.ts +7 -0
  22. package/dist/features/data-visualization/cells/InventoryBadge.d.ts +8 -0
  23. package/dist/features/data-visualization/cells/LifecycleStatusBadge.d.ts +8 -0
  24. package/dist/features/data-visualization/cells/index.d.ts +10 -0
  25. package/dist/features/data-visualization/index.d.ts +19 -0
  26. package/dist/features/data-visualization/types.d.ts +79 -0
  27. package/package.json +1 -1
@@ -1,77 +1,77 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('._status-badge_1vytb_3{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .625rem;border-radius:1rem;font-size:.75rem;font-weight:500;line-height:1;color:var(--custom-color, var(--current-color));background-color:var(--custom-bg, var(--current-bg));white-space:nowrap}._status-badge_1vytb_3:before{content:"";display:block;width:6px;height:6px;border-radius:50%;background-color:var(--custom-color, var(--current-color))}._status-badge--neu_1vytb_26{--current-color: hsl(var(--status-neu));--current-bg: hsl(var(--status-neu) / .1)}._status-badge--offen_1vytb_31{--current-color: hsl(var(--status-offen));--current-bg: hsl(var(--status-offen) / .1)}._status-badge--in-prufung_1vytb_36{--current-color: hsl(var(--status-in-prufung));--current-bg: hsl(var(--status-in-prufung) / .1)}._status-badge--validierung_1vytb_41{--current-color: hsl(var(--status-validierung));--current-bg: hsl(var(--status-validierung) / .1)}._status-badge--abgeschlossen_1vytb_46{--current-color: hsl(var(--status-abgeschlossen));--current-bg: hsl(var(--status-abgeschlossen) / .1)}._favorite-btn_1f4wz_3{background:none;border:none;color:var(--custom-color, hsl(var(--muted-foreground) / .5));cursor:pointer;display:flex;align-items:center;justify-content:center;padding:.375rem;border-radius:var(--radius);transition:all .2s ease}._favorite-btn_1f4wz_3:hover,._favorite-btn_1f4wz_3:focus-visible{background-color:hsl(var(--muted));color:var(--custom-active-color, hsl(var(--score-medium)));outline:none}._favorite-btn--active_1f4wz_23{color:var(--custom-active-color, hsl(var(--score-medium)))}._favorite-btn_1f4wz_3 svg{width:18px;height:18px;fill:currentColor}._status-legend__item_1935r_3{display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem;border-radius:calc(var(--radius) - 2px);cursor:pointer;transition:background-color .2s ease;border:1px solid transparent;background:none;width:100%}._status-legend__item_1935r_3:hover,._status-legend__item_1935r_3:focus-visible{background-color:hsl(var(--muted));outline:none}._status-legend__item--active_1935r_22{background-color:hsl(var(--muted));border-color:hsl(var(--border))}._status-legend__label-wrap_1935r_27{display:flex;align-items:center;gap:.5rem}._status-legend__color_1935r_33{width:12px;height:12px;border-radius:50%;flex-shrink:0;background-color:var(--custom-color, var(--current-color))}._status-legend__label_1935r_27{font-size:.875rem;color:hsl(var(--foreground));font-weight:500}._status-legend__count_1935r_47{font-family:var(--font-grotesk);font-size:.875rem;color:hsl(var(--muted-foreground));font-weight:600;background-color:hsl(var(--secondary));padding:.125rem .5rem;border-radius:1rem}._color-neu_1935r_57{--current-color: hsl(var(--status-neu))}._color-offen_1935r_61{--current-color: hsl(var(--status-offen))}._color-in-prufung_1935r_65{--current-color: hsl(var(--status-in-prufung))}._color-validierung_1935r_69{--current-color: hsl(var(--status-validierung))}._color-abgeschlossen_1935r_73{--current-color: hsl(var(--status-abgeschlossen))}._color-alle_1935r_77{--current-color: hsl(var(--status-alle))}._status-overview__chart-container_1f9eq_3{position:relative;width:200px;height:200px;margin:1rem auto 2rem;display:flex;align-items:center;justify-content:center}._status-chart-svg_1f9eq_13{width:100%;height:100%;position:absolute;top:0;left:0;filter:drop-shadow(var(--shadow-sm));pointer-events:none}._status-chart__segment_1f9eq_23{transition:all .3s cubic-bezier(.4,0,.2,1);stroke-linecap:butt;pointer-events:stroke}._status-chart__segment_1f9eq_23:hover,._status-chart__segment--hovered_1f9eq_30{stroke-width:48px;filter:brightness(1.1)}._status-chart__segment--dimmed_1f9eq_35{opacity:.6;filter:grayscale(.2)}._status-chart__hole_1f9eq_40{width:120px;height:120px;background-color:hsl(var(--card));border-radius:50%;position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:inset var(--shadow-sm);clip-path:circle(50%)}._status-chart__total-value_1f9eq_55{font-family:var(--font-clash);font-size:2rem;font-weight:600;line-height:1;color:hsl(var(--foreground))}._status-chart__total-label_1f9eq_63{font-size:.75rem;color:hsl(var(--muted-foreground));text-transform:uppercase;letter-spacing:.05em;margin-top:.25rem}._table-container_fgnrg_3{overflow-x:auto}._project-table_fgnrg_7{width:100%;border-collapse:separate;border-spacing:0;text-align:left;table-layout:fixed}._project-table__head_fgnrg_15 th{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:hsl(var(--muted-foreground));padding:.75rem 1rem;border-bottom:1px solid hsl(var(--border));font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._project-table__head_fgnrg_15 th:nth-child(1){width:auto}._project-table__head_fgnrg_15 th:nth-child(2){width:20%}._project-table__head_fgnrg_15 th:nth-child(3){width:150px}._project-table__head_fgnrg_15 th:nth-child(4){width:160px}._project-table__row_fgnrg_33{transition:background-color .15s ease;cursor:default}._project-table__row_fgnrg_33:hover{background-color:hsl(var(--muted) / .5)}._project-table__row_fgnrg_33 td{padding:1rem;border-bottom:1px solid hsl(var(--border));font-size:.875rem;color:hsl(var(--foreground));vertical-align:middle}._project-table__row_fgnrg_33 td:nth-child(1),._project-table__row_fgnrg_33 td:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._project-table__row_fgnrg_33 td:nth-child(3),._project-table__row_fgnrg_33 td:nth-child(4){overflow:visible}._project-table__row_fgnrg_33:last-child td{border-bottom:none}._project-table__name-cell_fgnrg_66{display:flex;align-items:center;gap:.5rem}._project-table__favorite_fgnrg_72{margin-left:-.5rem}._project-table__name-wrapper_fgnrg_76{display:flex;flex-direction:column;overflow:hidden;min-width:0}._project-table__name_fgnrg_66{font-weight:500;color:hsl(var(--foreground));line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._project-table__app_fgnrg_92,._project-table__date-secondary_fgnrg_93{font-size:.75rem;color:hsl(var(--muted-foreground));margin-top:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._project-table__client_fgnrg_102,._project-table__date-main_fgnrg_103{color:hsl(var(--muted-foreground));font-size:.8125rem;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._project-table__date-main_fgnrg_103{color:hsl(var(--foreground));font-weight:500}._avatar_1ml48_3{width:1.5rem;height:1.5rem;border-radius:50%;background-color:hsl(var(--secondary));border:1px solid hsl(var(--border));display:flex;align-items:center;justify-content:center;font-size:.625rem;font-weight:600;color:hsl(var(--foreground));text-transform:uppercase}._avatar-group_1ml48_18{display:flex;align-items:center}._group-member_1ml48_23{margin-right:-.5rem;position:relative;z-index:1;border:2px solid hsl(var(--card))}._group-member_1ml48_23:hover{z-index:10}._btn_lw4l4_3{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;white-space:nowrap;border-radius:calc(var(--radius) - 2px);font-size:.875rem;font-weight:500;transition:all .2s cubic-bezier(.16,1,.3,1);cursor:pointer;border:1px solid transparent}._btn_lw4l4_3:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}._btn_lw4l4_3:active{transform:scale(.98)}._btn--primary_lw4l4_27{background:var(--gradient-header);color:#fff;padding:.5rem 1rem;box-shadow:var(--shadow-sm)}._btn--primary_lw4l4_27:hover{box-shadow:var(--shadow-md);opacity:.9}._btn--outline_lw4l4_39{background-color:transparent;border-color:hsl(var(--border));color:hsl(var(--foreground));padding:.375rem .75rem;min-width:110px}._btn--outline_lw4l4_39:hover{background-color:hsl(var(--secondary));color:hsl(var(--foreground))}._btn--ghost_lw4l4_52{background-color:transparent;color:hsl(var(--muted-foreground));padding:.375rem}._btn--ghost_lw4l4_52:hover{background-color:hsl(var(--secondary));color:hsl(var(--foreground))}._btn--sm_lw4l4_63{padding:.2rem .4rem;font-size:.75rem;min-width:auto!important}._badge_144f0_3{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font-family:var(--font-grotesk);font-weight:800}._badge--high_144f0_12{background-color:hsl(var(--destructive) / .1);color:hsl(var(--destructive));border:1px solid hsl(var(--destructive) / .2)}._badge--medium_144f0_18{background-color:hsl(var(--score-medium) / .1);color:hsl(var(--score-medium));border:1px solid hsl(var(--score-medium) / .2)}._badge--low_144f0_24{background-color:hsl(var(--secondary));color:hsl(var(--muted-foreground));border:1px solid hsl(var(--border))}._badge--size-small_144f0_30{width:1.5rem;height:1.5rem;border-radius:.375rem;font-size:.75rem}._badge--size-large_144f0_37{width:2.25rem;height:2.25rem;border-radius:.5rem;font-size:1.125rem}._badge--size-large_144f0_37._badge--low_144f0_24{font-size:.875rem}._badge_1ru08_3{display:inline-flex;align-items:center;gap:.5rem;padding:.375rem .75rem;background-color:hsl(var(--secondary));border-radius:2rem;font-size:.8125rem;font-weight:500}._status-dropdown_1t4xn_3{position:relative;display:inline-block;width:88px}._status-trigger_1t4xn_9{width:100%!important;justify-content:space-between!important}._status-menu_1t4xn_14{position:absolute;top:100%;right:0;margin-top:.25rem;background-color:hsl(var(--popover));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);box-shadow:var(--shadow-lg);z-index:100;width:100%;min-width:88px;display:none;padding:.25rem;animation:_fadeIn_1t4xn_1 .15s ease-out}._status-menu_1t4xn_14._is-open_1t4xn_31{display:block}._status-menu-item_1t4xn_35{width:100%;padding:.5rem .75rem;font-size:.8125rem;text-align:left;background:none;border:none;cursor:pointer;border-radius:calc(var(--radius) - 4px);color:hsl(var(--foreground));transition:background-color .1s}._status-menu-item_1t4xn_35:hover{background-color:hsl(var(--secondary))}._status-menu-item_1t4xn_35._is-active_1t4xn_52{font-weight:500}._icon_1t4xn_56{width:1rem;height:1rem;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}._icon-sm_1t4xn_65{width:.875rem;height:.875rem}@keyframes _fadeIn_1t4xn_1{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}._checklist_ylbeh_3{display:flex;flex-direction:column;gap:.5rem}._check-item_ylbeh_9{display:flex;align-items:center;gap:.5rem;font-size:.875rem}._check-item_ylbeh_9 input[type=checkbox]{width:1rem;height:1rem;accent-color:hsl(var(--primary));cursor:pointer}._check-item_ylbeh_9 label{cursor:pointer}._check-item_ylbeh_9._is-done_ylbeh_27 label{text-decoration:line-through;color:hsl(var(--muted-foreground))}._checklist--readonly_ylbeh_32 ._check-item_ylbeh_9 label{cursor:pointer}._checklist--readonly_ylbeh_32 ._check-item_ylbeh_9 input[type=checkbox]{pointer-events:all}._form-control_ylbeh_40{width:100%;padding:.125rem;border:none;background:transparent;color:hsl(var(--foreground));font-family:inherit;font-size:.875rem;border-radius:calc(var(--radius) - 2px);transition:background-color .2s}._form-control_ylbeh_40:focus{outline:none;background-color:hsl(var(--background))}._is-done_ylbeh_27 ._form-control_ylbeh_40{text-decoration:line-through;color:hsl(var(--muted-foreground))}._dashboard_10t3c_4{width:100%;display:grid;grid-template-columns:35% 65%;gap:1.5rem}@media(max-width:1024px){._dashboard_10t3c_4{grid-template-columns:1fr}}._dashboard-card_10t3c_17{background-color:hsl(var(--card));border-radius:var(--radius);box-shadow:var(--shadow-card);border:1px solid hsl(var(--border));padding:1.5rem 2.5%;display:flex;flex-direction:column}._dashboard-card__header_10t3c_27{margin-bottom:1.5rem}._dashboard-card__title_10t3c_31{font-family:var(--font-clash);font-size:1.5rem;font-weight:500;color:hsl(var(--foreground));margin:0}._status-legend_10t3c_39{display:flex;flex-direction:column;gap:.75rem}._project-filters_10t3c_45{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}._project-filters__search_10t3c_54{padding:.5rem 1rem;border:1px solid hsl(var(--border));border-radius:var(--radius);background-color:hsl(var(--input));font-family:var(--font-inter);font-size:.875rem;color:hsl(var(--foreground));width:250px;transition:border-color .2s,box-shadow .2s}._project-filters__search_10t3c_54:focus{outline:none;border-color:hsl(var(--primary));box-shadow:0 0 0 2px hsl(var(--primary) / .2)}._task-item_1ekm1_4{display:grid;grid-template-columns:55% 15% 30%;align-items:center;gap:0;padding:.75rem 5%;border-bottom:1px solid hsl(var(--border));transition:background-color .2s ease;cursor:pointer;font-family:var(--font-inter)}._task-item_1ekm1_4:last-child{border-bottom:none}._task-item_1ekm1_4:hover{background-color:hsl(var(--muted) / .5)}._task-item__content_1ekm1_25{display:flex;flex-direction:column;gap:.375rem;min-width:0}._task-item__title-group_1ekm1_32{display:flex;align-items:center;gap:.375rem;min-width:0}._task-item__title_1ekm1_32{color:hsl(var(--foreground));margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.875rem;font-weight:500;line-height:1.25rem;font-family:var(--font-inter)}._task-item__meta_1ekm1_52{display:flex;align-items:center;gap:1.25rem;color:hsl(var(--muted-foreground));font-size:.625rem;line-height:.875rem;font-family:var(--font-inter);min-width:0}._meta-user_1ekm1_64{display:flex;align-items:center;flex-shrink:0}._meta-project_1ekm1_70{display:flex;align-items:center;gap:.375rem;color:hsl(var(--muted-foreground));font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.75rem;flex:0 1 auto}._meta-project_1ekm1_70 ._icon-sm_1ekm1_83{flex-shrink:0}._task-item__deadline_1ekm1_88{white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right;font-family:var(--font-grotesk);font-size:.75rem;line-height:1rem}._deadline-urgent_1ekm1_97{color:hsl(var(--score-low));font-weight:500}._deadline-normal_1ekm1_102{color:hsl(var(--muted-foreground))}._task-item__actions_1ekm1_107{display:flex;align-items:center;gap:.5rem;justify-content:flex-end}._icon_1ekm1_83{width:1rem;height:1rem;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}._icon-sm_1ekm1_83{width:.875rem;height:.875rem;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}@media(max-width:640px){._task-item_1ekm1_4{grid-template-columns:1fr auto;grid-template-rows:auto auto;grid-template-areas:"content actions" "deadline actions";gap:.25rem .75rem}._task-item__content_1ekm1_25{grid-area:content}._task-item__deadline_1ekm1_88{grid-area:deadline;text-align:left}._task-item__actions_1ekm1_107{grid-area:actions;align-self:center}}._modal-overlay_sth7y_4{position:fixed;inset:0;background-color:#0f172a66;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;z-index:50;opacity:0;pointer-events:none;transition:opacity .2s ease-out;padding:1rem}._modal-overlay_sth7y_4._is-active_sth7y_19{opacity:1;pointer-events:all}._modal-content_sth7y_25{background-color:hsl(var(--popover));color:hsl(var(--popover-foreground));font-family:var(--font-inter);border-radius:var(--radius);box-shadow:var(--shadow-lg);width:100%;max-width:600px;max-height:90vh;display:flex;flex-direction:column;transform:scale(.95) translateY(10px);transition:transform .2s ease-out;overflow:hidden}._modal-overlay_sth7y_4._is-active_sth7y_19 ._modal-content_sth7y_25{transform:scale(1) translateY(0)}._modal-header_sth7y_46{padding:1.25rem 1.5rem;border-bottom:1px solid hsl(var(--border));display:flex;align-items:center;justify-content:space-between;flex-shrink:0}._modal-header-title_sth7y_56{margin:0;font-family:var(--font-clash);font-weight:500;font-size:1.25rem;line-height:1.75rem;color:hsl(var(--foreground))}._modal-body_sth7y_66{padding:1.5rem;overflow-y:auto;display:flex;flex-direction:column;gap:1.5rem;scrollbar-width:thin;scrollbar-color:hsl(var(--border)) transparent}._modal-body_sth7y_66::-webkit-scrollbar{width:4px}._modal-body_sth7y_66::-webkit-scrollbar-thumb{background-color:hsl(var(--border));border-radius:2px}._modal-footer_sth7y_85{padding:1rem 1.5rem;border-top:1px solid hsl(var(--border));display:flex;justify-content:flex-end;gap:.5rem;background:hsl(var(--muted) / .3);flex-shrink:0}._view-group_sth7y_96{display:flex;flex-direction:column;gap:.375rem}._view-label_sth7y_103{font-size:.625rem;line-height:.875rem;color:hsl(var(--muted-foreground));text-transform:uppercase;letter-spacing:.08em;font-weight:600;font-family:var(--font-inter)}._view-badge-row_sth7y_113{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:flex-start}._view-task-title_sth7y_121{margin:0;font-family:var(--font-clash);font-weight:600;font-size:1.25rem;line-height:1.4;color:hsl(var(--foreground))}._view-value-strong_sth7y_131{font-family:var(--font-grotesk);font-weight:500;font-size:.9375rem;color:hsl(var(--foreground))}._view-description_sth7y_139{font-size:.875rem;line-height:1.6;margin:0;color:hsl(var(--foreground));font-family:var(--font-inter)}._text-muted_sth7y_147{color:hsl(var(--muted-foreground));font-style:italic}._form-group_sth7y_153{display:flex;flex-direction:column;gap:.5rem}._form-row_sth7y_159{display:grid;grid-template-columns:1fr 1fr;gap:1rem}._form-label_sth7y_165{font-size:.625rem;line-height:.875rem;font-weight:600;color:hsl(var(--muted-foreground));text-transform:uppercase;letter-spacing:.08em;font-family:var(--font-inter)}._form-control_sth7y_175{width:100%;padding:.625rem .75rem;border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);background-color:hsl(var(--background));color:hsl(var(--foreground));font-family:var(--font-inter);font-size:.875rem;line-height:1.25rem;transition:border-color .2s,box-shadow .2s;box-sizing:border-box;appearance:auto}._form-control_sth7y_175:focus{outline:none;border-color:hsl(var(--primary));box-shadow:0 0 0 3px hsl(var(--primary) / .12)}._textarea_sth7y_196{resize:vertical;min-height:80px}._icon_sth7y_203{width:1.25rem;height:1.25rem;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}._icon-pencil_sth7y_214{width:.875rem;height:.875rem;fill:currentColor}@media(max-width:640px){._form-row_sth7y_159{grid-template-columns:1fr}}:root{--surface: #ffffff;--surface-variant: #f0f1f2;--surface-hover: #f7f7f7;--border: #e0e4eb;--border-variant: rgba(0, 20, 41, .1);--on-surface: #001429;--on-surface-variant: #576472;--on-surface-light: #9aa2aa;--primary: #0073e6;--primary-variant: rgba(0, 115, 230, .07);--primary-container: rgba(0, 115, 230, .05);--error: #bd0c38;--error-variant: rgba(189, 12, 56, .07);--color-success: #1ec489;--color-success-variant: rgba(69, 220, 166, .2);--color-warning: #efaf55;--color-warning-variant: rgba(239, 175, 85, .25);--color-info: #8c46c4;--color-info-variant: rgba(169, 62, 255, .15);--color-danger: #f34e2a;--color-danger-variant: rgba(243, 78, 42, .2);--destructive: #bd0c38;--score-high: #1ec489;--score-medium: #efaf55;--score-low: #f34e2a;--sidebar-background: #ffffff;--sidebar-foreground: #001429;--sidebar-primary: #0073e6;--sidebar-accent: #f0f1f2;--sidebar-border: #e0e4eb;--status-alle: #576472;--status-neu: #0073e6;--status-offen: #efaf55;--status-in-prufung: #f34e2a;--status-validierung: #1ec489;--status-abgeschlossen: #1ec489;--radius: .5rem;--font-inter: "Inter", sans-serif;--font-clash: "Clash Grotesk", sans-serif;--font-grotesk: "Space Grotesk", sans-serif;--shadow-sm: 0 1px 2px 0 rgba(0, 20, 41, .04);--shadow-md: 0 4px 6px -1px rgba(0, 20, 41, .08);--shadow-lg: 0 10px 15px -3px rgba(0, 20, 41, .1);--shadow-card: 0 2px 8px rgba(0, 20, 41, .06);--gradient-primary: linear-gradient(135deg, #0073e6, #0053a3);--gradient-header: linear-gradient(135deg, #0053a3, #0073e6)}@media(prefers-color-scheme:dark){:root{--surface: #000000;--surface-variant: #18191b;--surface-hover: #0d0d0d;--border: #14181f;--border-variant: rgba(255, 255, 255, .1);--on-surface: #ffffff;--on-surface-variant: #9aa2aa;--on-surface-light: #576472;--primary: #0073e6;--primary-variant: rgba(0, 115, 230, .07);--primary-container: rgba(0, 115, 230, .05);--error: #bd0c38;--error-variant: rgba(189, 12, 56, .07);--color-success: #1ec489;--color-success-variant: rgba(69, 220, 166, .2);--color-warning: #efaf55;--color-warning-variant: rgba(239, 175, 85, .25);--color-info: #8c46c4;--color-info-variant: rgba(169, 62, 255, .15);--color-danger: #f34e2a;--color-danger-variant: rgba(243, 78, 42, .2);--sidebar-background: #000000;--sidebar-foreground: #ffffff;--sidebar-primary: #0073e6;--sidebar-accent: #18191b;--sidebar-border: #14181f;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .3);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .4);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .5);--shadow-card: 0 2px 8px rgba(0, 0, 0, .3)}}._widget-card_1fdjp_4{background-color:hsl(var(--card));color:hsl(var(--card-foreground));border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-card);display:flex;flex-direction:column;height:100%;max-width:520px;overflow:hidden;font-family:var(--font-inter);animation:_fadeIn_1fdjp_1 .4s ease-out}._widget-header_1fdjp_20{display:flex;justify-content:space-between;align-items:center;padding:1rem 5%;border-bottom:1px solid hsl(var(--border));background:hsl(var(--card));flex-shrink:0}._widget-header__title_1fdjp_30{margin:0;font-family:var(--font-clash);font-size:1.25rem;font-weight:500;line-height:1.3;color:hsl(var(--foreground));letter-spacing:-.02em}._task-list_1fdjp_41{display:flex;flex-direction:column;overflow-y:auto;flex:1 1 0;scrollbar-width:thin;scrollbar-color:hsl(var(--border)) transparent}._task-list_1fdjp_41::-webkit-scrollbar{width:4px}._task-list_1fdjp_41::-webkit-scrollbar-track{background:transparent}._task-list_1fdjp_41::-webkit-scrollbar-thumb{background-color:hsl(var(--border));border-radius:2px}._icon_1fdjp_65{width:1rem;height:1rem;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}._icon-sm_1fdjp_75{width:.875rem;height:.875rem}@keyframes _fadeIn_1fdjp_1{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}')),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { jsx as e, jsxs as n } from "react/jsx-runtime";
3
- import w, { useState as I, useRef as oe, useEffect as z, useMemo as F } from "react";
4
- function X(a) {
5
- var l, r, o = "";
6
- if (typeof a == "string" || typeof a == "number") o += a;
1
+ (function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('._status-badge_c7rzu_3{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .625rem;border-radius:1rem;font-size:.75rem;font-weight:500;line-height:1;color:var(--custom-color, var(--current-color));background-color:var(--custom-bg, var(--current-bg));white-space:nowrap}._status-badge_c7rzu_3:before{content:"";display:block;width:6px;height:6px;border-radius:50%;background-color:var(--custom-color, var(--current-color))}._status-badge--neu_c7rzu_26{--current-color: var(--status-neu);--current-bg: color-mix(in srgb, var(--status-neu), transparent 90%)}._status-badge--offen_c7rzu_31{--current-color: var(--status-offen);--current-bg: color-mix(in srgb, var(--status-offen), transparent 90%)}._status-badge--in-prufung_c7rzu_36{--current-color: var(--status-in-prufung);--current-bg: color-mix(in srgb, var(--status-in-prufung), transparent 90%)}._status-badge--validierung_c7rzu_41{--current-color: var(--status-validierung);--current-bg: color-mix(in srgb, var(--status-validierung), transparent 90%)}._status-badge--abgeschlossen_c7rzu_46{--current-color: var(--status-abgeschlossen);--current-bg: color-mix(in srgb, var(--status-abgeschlossen), transparent 90%)}._favorite-btn_1jlmc_3{background:none;border:none;color:var(--custom-color, var(--on-surface-light));cursor:pointer;display:flex;align-items:center;justify-content:center;padding:.375rem;border-radius:var(--radius);transition:all .2s ease}._favorite-btn_1jlmc_3:hover,._favorite-btn_1jlmc_3:focus-visible{background-color:var(--surface-variant);color:var(--custom-active-color, var(--color-warning));outline:none}._favorite-btn--active_1jlmc_23{color:var(--custom-active-color, var(--color-warning))}._favorite-btn_1jlmc_3 svg{width:18px;height:18px;fill:currentColor}._status-legend__item_1xv4z_3{display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem;border-radius:calc(var(--radius) - 2px);cursor:pointer;transition:background-color .2s ease;border:1px solid transparent;background:none;width:100%}._status-legend__item_1xv4z_3:hover,._status-legend__item_1xv4z_3:focus-visible{background-color:var(--surface-variant);outline:none}._status-legend__item--active_1xv4z_22{background-color:var(--surface-variant);border-color:var(--border)}._status-legend__label-wrap_1xv4z_27{display:flex;align-items:center;gap:.5rem}._status-legend__color_1xv4z_33{width:12px;height:12px;border-radius:50%;flex-shrink:0;background-color:var(--custom-color, var(--current-color))}._status-legend__label_1xv4z_27{font-size:.875rem;color:var(--on-surface);font-weight:500}._status-legend__count_1xv4z_47{font-family:var(--font-grotesk);font-size:.875rem;color:var(--on-surface-variant);font-weight:600;background-color:var(--surface-variant);padding:.125rem .5rem;border-radius:1rem}._color-neu_1xv4z_57{--current-color: var(--status-neu)}._color-offen_1xv4z_61{--current-color: var(--status-offen)}._color-in-prufung_1xv4z_65{--current-color: var(--status-in-prufung)}._color-validierung_1xv4z_69{--current-color: var(--status-validierung)}._color-abgeschlossen_1xv4z_73{--current-color: var(--status-abgeschlossen)}._color-alle_1xv4z_77{--current-color: var(--status-alle)}._status-overview__chart-container_6nwc9_3{position:relative;width:200px;height:200px;margin:1rem auto 2rem;display:flex;align-items:center;justify-content:center}._status-chart-svg_6nwc9_13{width:100%;height:100%;position:absolute;top:0;left:0;filter:drop-shadow(var(--shadow-sm));pointer-events:none}._status-chart__segment_6nwc9_23{transition:all .3s cubic-bezier(.4,0,.2,1);stroke-linecap:butt;pointer-events:stroke}._status-chart__segment_6nwc9_23:hover,._status-chart__segment--hovered_6nwc9_30{stroke-width:48px;filter:brightness(1.1)}._status-chart__segment--dimmed_6nwc9_35{opacity:.6;filter:grayscale(.2)}._status-chart__hole_6nwc9_40{width:120px;height:120px;background-color:var(--surface);border-radius:50%;position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:inset var(--shadow-sm);clip-path:circle(50%)}._status-chart__total-value_6nwc9_55{font-family:var(--font-clash);font-size:2rem;font-weight:600;line-height:1;color:var(--on-surface)}._status-chart__total-label_6nwc9_63{font-size:.75rem;color:var(--on-surface-variant);text-transform:uppercase;letter-spacing:.05em;margin-top:.25rem}._table-container_y8cqq_3{overflow-x:auto}._project-table_y8cqq_7{width:100%;border-collapse:separate;border-spacing:0;text-align:left;table-layout:fixed}._project-table__head_y8cqq_15 th{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:var(--on-surface-variant);padding:.75rem 1rem;border-bottom:1px solid var(--border);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._project-table__head_y8cqq_15 th:nth-child(1){width:auto}._project-table__head_y8cqq_15 th:nth-child(2){width:20%}._project-table__head_y8cqq_15 th:nth-child(3){width:150px}._project-table__head_y8cqq_15 th:nth-child(4){width:160px}._project-table__row_y8cqq_33{transition:background-color .15s ease;cursor:default}._project-table__row_y8cqq_33:hover{background-color:var(--surface-hover)}._project-table__row_y8cqq_33 td{padding:1rem;border-bottom:1px solid var(--border);font-size:.875rem;color:var(--on-surface);vertical-align:middle}._project-table__row_y8cqq_33 td:nth-child(1),._project-table__row_y8cqq_33 td:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._project-table__row_y8cqq_33 td:nth-child(3),._project-table__row_y8cqq_33 td:nth-child(4){overflow:visible}._project-table__row_y8cqq_33:last-child td{border-bottom:none}._project-table__name-cell_y8cqq_66{display:flex;align-items:center;gap:.5rem}._project-table__favorite_y8cqq_72{margin-left:-.5rem}._project-table__name-wrapper_y8cqq_76{display:flex;flex-direction:column;overflow:hidden;min-width:0}._project-table__name_y8cqq_66{font-weight:500;color:var(--on-surface);line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._project-table__app_y8cqq_92,._project-table__date-secondary_y8cqq_93{font-size:.75rem;color:var(--on-surface-variant);margin-top:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._project-table__client_y8cqq_102,._project-table__date-main_y8cqq_103{color:var(--on-surface-variant);font-size:.8125rem;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._project-table__date-main_y8cqq_103{color:var(--on-surface);font-weight:500}._avatar_17ic7_3{width:1.5rem;height:1.5rem;border-radius:50%;background-color:var(--surface-variant);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:.625rem;font-weight:600;color:var(--on-surface);text-transform:uppercase}._avatar-group_17ic7_18{display:flex;align-items:center}._group-member_17ic7_23{margin-right:-.5rem;position:relative;z-index:1;border:2px solid var(--surface)}._group-member_17ic7_23:hover{z-index:10}._btn_7bh63_3{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;white-space:nowrap;border-radius:calc(var(--radius) - 2px);font-size:.875rem;font-weight:500;transition:all .2s cubic-bezier(.16,1,.3,1);cursor:pointer;border:1px solid transparent}._btn_7bh63_3:focus-visible{outline:2px solid var(--primary);outline-offset:2px}._btn_7bh63_3:active{transform:scale(.98)}._btn--primary_7bh63_27{background:var(--gradient-header);color:#fff;padding:.5rem 1rem;box-shadow:var(--shadow-sm)}._btn--primary_7bh63_27:hover{box-shadow:var(--shadow-md);opacity:.9}._btn--outline_7bh63_39{background-color:transparent;border-color:var(--border);color:var(--on-surface);padding:.375rem .75rem;min-width:110px}._btn--outline_7bh63_39:hover{background-color:var(--surface-variant);color:var(--on-surface)}._btn--ghost_7bh63_52{background-color:transparent;color:var(--on-surface-variant);padding:.375rem}._btn--ghost_7bh63_52:hover{background-color:var(--surface-variant);color:var(--on-surface)}._btn--sm_7bh63_63{padding:.2rem .4rem;font-size:.75rem;min-width:auto!important}._badge_1e35x_3{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font-family:var(--font-grotesk);font-weight:800}._badge--high_1e35x_12{background-color:var(--error-variant);color:var(--error);border:1px solid color-mix(in srgb,var(--error),transparent 80%)}._badge--medium_1e35x_18{background-color:var(--color-warning-variant);color:var(--color-warning);border:1px solid color-mix(in srgb,var(--color-warning),transparent 80%)}._badge--low_1e35x_24{background-color:var(--surface-variant);color:var(--on-surface-variant);border:1px solid var(--border)}._badge--size-small_1e35x_30{width:1.5rem;height:1.5rem;border-radius:.375rem;font-size:.75rem}._badge--size-large_1e35x_37{width:2.25rem;height:2.25rem;border-radius:.5rem;font-size:1.125rem}._badge--size-large_1e35x_37._badge--low_1e35x_24{font-size:.875rem}._badge_1j9lv_3{display:inline-flex;align-items:center;gap:.5rem;padding:.375rem .75rem;background-color:var(--surface-variant);border-radius:2rem;font-size:.8125rem;font-weight:500}._status-dropdown_15zae_3{position:relative;display:inline-block;width:88px}._status-trigger_15zae_9{width:100%!important;justify-content:space-between!important}._status-menu_15zae_14{position:absolute;top:100%;right:0;margin-top:.25rem;background-color:var(--surface);border:1px solid var(--border);border-radius:calc(var(--radius) - 2px);box-shadow:var(--shadow-lg);z-index:100;width:100%;min-width:88px;display:none;padding:.25rem;animation:_fadeIn_15zae_1 .15s ease-out}._status-menu_15zae_14._is-open_15zae_31{display:block}._status-menu-item_15zae_35{width:100%;padding:.5rem .75rem;font-size:.8125rem;text-align:left;background:none;border:none;cursor:pointer;border-radius:calc(var(--radius) - 4px);color:var(--on-surface);transition:background-color .1s}._status-menu-item_15zae_35:hover{background-color:var(--surface-variant)}._status-menu-item_15zae_35._is-active_15zae_52{font-weight:500}._icon_15zae_56{width:1rem;height:1rem;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}._icon-sm_15zae_65{width:.875rem;height:.875rem}@keyframes _fadeIn_15zae_1{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}._checklist_ulozz_3{display:flex;flex-direction:column;gap:.5rem}._check-item_ulozz_9{display:flex;align-items:center;gap:.5rem;font-size:.875rem}._check-item_ulozz_9 input[type=checkbox]{width:1rem;height:1rem;accent-color:var(--primary);cursor:pointer}._check-item_ulozz_9 label{cursor:pointer}._check-item_ulozz_9._is-done_ulozz_27 label{text-decoration:line-through;color:var(--on-surface-variant)}._checklist--readonly_ulozz_32 ._check-item_ulozz_9 label{cursor:pointer}._checklist--readonly_ulozz_32 ._check-item_ulozz_9 input[type=checkbox]{pointer-events:all}._form-control_ulozz_40{width:100%;padding:.125rem;border:none;background:transparent;color:var(--on-surface);font-family:inherit;font-size:.875rem;border-radius:calc(var(--radius) - 2px);transition:background-color .2s}._form-control_ulozz_40:focus{outline:none;background-color:var(--surface)}._is-done_ulozz_27 ._form-control_ulozz_40{text-decoration:line-through;color:var(--on-surface-variant)}._searchInput_16e7c_3{display:flex;align-items:center;gap:.5rem;padding:.375rem .75rem;border:1px solid var(--border);border-radius:1rem;background-color:var(--surface-variant);transition:border-color .15s ease,box-shadow .15s ease;min-width:200px}._searchInput_16e7c_3:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary),transparent 85%)}._icon_16e7c_20{width:14px;height:14px;color:var(--on-surface-variant);flex-shrink:0}._field_16e7c_27{border:none;background:none;font-family:var(--font-inter);font-size:.8125rem;color:var(--on-surface);outline:none;width:100%}._field_16e7c_27::placeholder{color:var(--on-surface-variant)}@media(max-width:1024px){._searchInput_16e7c_3{min-width:160px}}@media(max-width:640px){._searchInput_16e7c_3{flex:1;min-width:0}}._btn_6gx9b_3{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .5rem;border:1px solid var(--border);background:none;border-radius:calc(var(--radius) - 2px);font-family:var(--font-inter);font-size:.6875rem;font-weight:500;color:var(--on-surface-variant);cursor:pointer;transition:all .15s ease}._btn_6gx9b_3:hover{border-color:color-mix(in srgb,var(--primary),transparent 60%);color:var(--primary);background-color:var(--primary-container)}._btn_6gx9b_3:focus-visible{outline:2px solid var(--primary);outline-offset:1px}._chevron_6gx9b_30{width:12px;height:12px;transition:transform .2s ease;flex-shrink:0}._btn--open_6gx9b_37 ._chevron_6gx9b_30{transform:rotate(180deg)}._circle_gvt69_3{position:relative;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center}._svg_gvt69_12{width:100%;height:100%;transform:rotate(-90deg)}._track_gvt69_18{fill:none;stroke:var(--surface-variant);stroke-width:3}._fill_gvt69_24{fill:none;stroke-width:3;stroke-linecap:round;transition:stroke-dashoffset .4s ease}._label_gvt69_31{position:absolute;font-family:var(--font-grotesk);font-size:.5625rem;font-weight:600;color:var(--on-surface)}._bar_l0q8t_3{display:flex;align-items:center;gap:.5rem}._track_l0q8t_9{width:60px;height:4px;background-color:var(--surface-variant);border-radius:2px;overflow:hidden}._fill_l0q8t_17{height:100%;border-radius:2px;background:var(--gradient-primary)}._value_l0q8t_23{font-family:var(--font-grotesk);font-size:.75rem;font-weight:500;color:var(--on-surface-variant);min-width:28px}._empty_26icj_3{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1rem;text-align:center}._icon_26icj_12{width:48px;height:48px;color:var(--on-surface-light);margin-bottom:1rem}._title_26icj_19{font-family:var(--font-clash);font-size:1.125rem;font-weight:500;color:var(--on-surface);margin-bottom:.25rem}._text_26icj_27{font-size:.8125rem;color:var(--on-surface-variant)}._toggle_176y2_3{display:inline-flex;background-color:var(--surface-variant);border-radius:calc(var(--radius) - 2px);padding:3px;gap:2px}._btn_176y2_11{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .75rem;border:none;background:none;border-radius:calc(var(--radius) - 4px);font-family:var(--font-inter);font-size:.8125rem;font-weight:500;color:var(--on-surface-variant);cursor:pointer;transition:all .15s ease;white-space:nowrap}._btn_176y2_11:hover{color:var(--on-surface)}._btn_176y2_11:focus-visible{outline:2px solid var(--primary);outline-offset:1px}._btn--active_176y2_37{background-color:var(--surface);color:var(--on-surface);box-shadow:var(--shadow-sm)}._icon_176y2_43{width:16px;height:16px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}._icon_176y2_43>svg{width:100%;height:100%}._dashboard_1mbco_4{width:100%;display:grid;grid-template-columns:35% 65%;gap:1.5rem}@media(max-width:1024px){._dashboard_1mbco_4{grid-template-columns:1fr}}._dashboard-card_1mbco_17{background-color:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-card);border:1px solid var(--border);padding:1.5rem 2.5%;display:flex;flex-direction:column}._dashboard-card__header_1mbco_27{margin-bottom:1.5rem}._dashboard-card__title_1mbco_31{font-family:var(--font-clash);font-size:1.5rem;font-weight:500;color:var(--on-surface);margin:0}._status-legend_1mbco_39{display:flex;flex-direction:column;gap:.75rem}._project-filters_1mbco_45{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}._project-filters__search_1mbco_54{padding:.5rem 1rem;border:1px solid var(--border);border-radius:var(--radius);background-color:var(--surface-variant);font-family:var(--font-inter);font-size:.875rem;color:var(--on-surface);width:250px;transition:border-color .2s,box-shadow .2s}._project-filters__search_1mbco_54:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary),transparent 80%)}._task-item_15khb_4{display:grid;grid-template-columns:55% 15% 30%;align-items:center;gap:0;padding:.75rem 5%;border-bottom:1px solid var(--border);transition:background-color .2s ease;cursor:pointer;font-family:var(--font-inter)}._task-item_15khb_4:last-child{border-bottom:none}._task-item_15khb_4:hover{background-color:var(--surface-hover)}._task-item__content_15khb_25{display:flex;flex-direction:column;gap:.375rem;min-width:0}._task-item__title-group_15khb_32{display:flex;align-items:center;gap:.375rem;min-width:0}._task-item__title_15khb_32{color:var(--on-surface);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.875rem;font-weight:500;line-height:1.25rem;font-family:var(--font-inter)}._task-item__meta_15khb_52{display:flex;align-items:center;gap:1.25rem;color:var(--on-surface-variant);font-size:.625rem;line-height:.875rem;font-family:var(--font-inter);min-width:0}._meta-user_15khb_64{display:flex;align-items:center;flex-shrink:0}._meta-project_15khb_70{display:flex;align-items:center;gap:.375rem;color:var(--on-surface-variant);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.75rem;flex:0 1 auto}._meta-project_15khb_70 ._icon-sm_15khb_83{flex-shrink:0}._task-item__deadline_15khb_88{white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right;font-family:var(--font-grotesk);font-size:.75rem;line-height:1rem}._deadline-urgent_15khb_97{color:var(--color-danger);font-weight:500}._deadline-normal_15khb_102{color:var(--on-surface-variant)}._task-item__actions_15khb_107{display:flex;align-items:center;gap:.5rem;justify-content:flex-end}._icon_15khb_83{width:1rem;height:1rem;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}._icon-sm_15khb_83{width:.875rem;height:.875rem;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}@media(max-width:640px){._task-item_15khb_4{grid-template-columns:1fr auto;grid-template-rows:auto auto;grid-template-areas:"content actions" "deadline actions";gap:.25rem .75rem}._task-item__content_15khb_25{grid-area:content}._task-item__deadline_15khb_88{grid-area:deadline;text-align:left}._task-item__actions_15khb_107{grid-area:actions;align-self:center}}._modal-overlay_m18cx_4{position:fixed;inset:0;background-color:#0f172a66;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;z-index:50;opacity:0;pointer-events:none;transition:opacity .2s ease-out;padding:1rem}._modal-overlay_m18cx_4._is-active_m18cx_19{opacity:1;pointer-events:all}._modal-content_m18cx_25{background-color:var(--surface);color:var(--on-surface);font-family:var(--font-inter);border-radius:var(--radius);box-shadow:var(--shadow-lg);width:100%;max-width:600px;max-height:90vh;display:flex;flex-direction:column;transform:scale(.95) translateY(10px);transition:transform .2s ease-out;overflow:hidden}._modal-overlay_m18cx_4._is-active_m18cx_19 ._modal-content_m18cx_25{transform:scale(1) translateY(0)}._modal-header_m18cx_46{padding:1.25rem 1.5rem;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;flex-shrink:0}._modal-header-title_m18cx_55{margin:0;font-family:var(--font-clash);font-weight:500;font-size:1.25rem;line-height:1.75rem;color:var(--on-surface)}._modal-body_m18cx_65{padding:1.5rem;overflow-y:auto;display:flex;flex-direction:column;gap:1.5rem;scrollbar-width:thin;scrollbar-color:var(--border) transparent}._modal-body_m18cx_65::-webkit-scrollbar{width:4px}._modal-body_m18cx_65::-webkit-scrollbar-thumb{background-color:var(--border);border-radius:2px}._modal-footer_m18cx_84{padding:1rem 1.5rem;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:.5rem;background:var(--surface-hover);flex-shrink:0}._view-group_m18cx_95{display:flex;flex-direction:column;gap:.375rem}._view-label_m18cx_101{font-size:.625rem;line-height:.875rem;color:var(--on-surface-variant);text-transform:uppercase;letter-spacing:.08em;font-weight:600;font-family:var(--font-inter)}._view-badge-row_m18cx_111{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:flex-start}._view-task-title_m18cx_118{margin:0;font-family:var(--font-clash);font-weight:600;font-size:1.25rem;line-height:1.4;color:var(--on-surface)}._view-value-strong_m18cx_127{font-family:var(--font-grotesk);font-weight:500;font-size:.9375rem;color:var(--on-surface)}._view-description_m18cx_134{font-size:.875rem;line-height:1.6;margin:0;color:var(--on-surface);font-family:var(--font-inter)}._text-muted_m18cx_142{color:var(--on-surface-variant);font-style:italic}._form-group_m18cx_148{display:flex;flex-direction:column;gap:.5rem}._form-row_m18cx_154{display:grid;grid-template-columns:1fr 1fr;gap:1rem}._form-label_m18cx_160{font-size:.625rem;line-height:.875rem;font-weight:600;color:var(--on-surface-variant);text-transform:uppercase;letter-spacing:.08em;font-family:var(--font-inter)}._form-control_m18cx_170{width:100%;padding:.625rem .75rem;border:1px solid var(--border);border-radius:calc(var(--radius) - 2px);background-color:var(--surface);color:var(--on-surface);font-family:var(--font-inter);font-size:.875rem;line-height:1.25rem;transition:border-color .2s,box-shadow .2s;box-sizing:border-box;appearance:auto}._form-control_m18cx_170:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary),transparent 88%)}._textarea_m18cx_191{resize:vertical;min-height:80px}._icon_m18cx_197{width:1.25rem;height:1.25rem;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}._icon-pencil_m18cx_207{width:.875rem;height:.875rem;fill:currentColor}@media(max-width:640px){._form-row_m18cx_154{grid-template-columns:1fr}}:root{--surface: #ffffff;--surface-variant: #f0f1f2;--surface-hover: #f7f7f7;--border: #e0e4eb;--border-variant: rgba(0, 20, 41, .1);--on-surface: #001429;--on-surface-variant: #576472;--on-surface-light: #9aa2aa;--primary: #0073e6;--primary-variant: rgba(0, 115, 230, .07);--primary-container: rgba(0, 115, 230, .05);--error: #bd0c38;--error-variant: rgba(189, 12, 56, .07);--color-success: #1ec489;--color-success-dark: #148a5f;--color-success-variant: rgba(69, 220, 166, .2);--color-warning: #efaf55;--color-warning-dark: #b07a1e;--color-warning-variant: rgba(239, 175, 85, .25);--color-info: #8c46c4;--color-info-variant: rgba(169, 62, 255, .15);--color-danger: #f34e2a;--color-danger-variant: rgba(243, 78, 42, .2);--lifecycle-active: var(--color-success);--lifecycle-active-dark: var(--color-success-dark);--lifecycle-nrnd: var(--color-warning);--lifecycle-nrnd-dark: var(--color-warning-dark);--lifecycle-eol: var(--error);--lifecycle-production: var(--primary);--inventory-high: var(--color-success);--inventory-high-dark: var(--color-success-dark);--inventory-medium: var(--color-warning);--inventory-medium-dark: var(--color-warning-dark);--inventory-low: var(--error);--destructive: #bd0c38;--score-high: #1ec489;--score-medium: #efaf55;--score-low: #f34e2a;--sidebar-background: #ffffff;--sidebar-foreground: #001429;--sidebar-primary: #0073e6;--sidebar-accent: #f0f1f2;--sidebar-border: #e0e4eb;--status-alle: #576472;--status-neu: #0073e6;--status-offen: #efaf55;--status-in-prufung: #f34e2a;--status-validierung: #1ec489;--status-abgeschlossen: #1ec489;--radius: .5rem;--font-inter: "Inter", sans-serif;--font-clash: "Clash Grotesk", sans-serif;--font-grotesk: "Space Grotesk", sans-serif;--shadow-sm: 0 1px 2px 0 rgba(0, 20, 41, .04);--shadow-md: 0 4px 6px -1px rgba(0, 20, 41, .08);--shadow-lg: 0 10px 15px -3px rgba(0, 20, 41, .1);--shadow-card: 0 2px 8px rgba(0, 20, 41, .06);--gradient-primary: linear-gradient(135deg, #0073e6, #0053a3);--gradient-header: linear-gradient(135deg, #0053a3, #0073e6)}@media(prefers-color-scheme:dark){:root{--surface: #000000;--surface-variant: #18191b;--surface-hover: #0d0d0d;--border: #14181f;--border-variant: rgba(255, 255, 255, .1);--on-surface: #ffffff;--on-surface-variant: #9aa2aa;--on-surface-light: #576472;--primary: #0073e6;--primary-variant: rgba(0, 115, 230, .07);--primary-container: rgba(0, 115, 230, .05);--error: #bd0c38;--error-variant: rgba(189, 12, 56, .07);--color-success: #1ec489;--color-success-variant: rgba(69, 220, 166, .2);--color-warning: #efaf55;--color-warning-variant: rgba(239, 175, 85, .25);--color-info: #8c46c4;--color-info-variant: rgba(169, 62, 255, .15);--color-danger: #f34e2a;--color-danger-variant: rgba(243, 78, 42, .2);--sidebar-background: #000000;--sidebar-foreground: #ffffff;--sidebar-primary: #0073e6;--sidebar-accent: #18191b;--sidebar-border: #14181f;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .3);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .4);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .5);--shadow-card: 0 2px 8px rgba(0, 0, 0, .3)}}._widget-card_gqjal_4{background-color:var(--surface);color:var(--on-surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card);display:flex;flex-direction:column;height:100%;max-width:520px;overflow:hidden;font-family:var(--font-inter);animation:_fadeIn_gqjal_1 .4s ease-out}._widget-header_gqjal_20{display:flex;justify-content:space-between;align-items:center;padding:1rem 5%;border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0}._widget-header__title_gqjal_30{margin:0;font-family:var(--font-clash);font-size:1.25rem;font-weight:500;line-height:1.3;color:var(--on-surface);letter-spacing:-.02em}._task-list_gqjal_41{display:flex;flex-direction:column;overflow-y:auto;flex:1 1 0;scrollbar-width:thin;scrollbar-color:var(--border) transparent}._task-list_gqjal_41::-webkit-scrollbar{width:4px}._task-list_gqjal_41::-webkit-scrollbar-track{background:transparent}._task-list_gqjal_41::-webkit-scrollbar-thumb{background-color:var(--border);border-radius:2px}._icon_gqjal_64{width:1rem;height:1rem;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}._icon-sm_gqjal_74{width:.875rem;height:.875rem}@keyframes _fadeIn_gqjal_1{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}')),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
+ import { jsx as e, jsxs as i } from "react/jsx-runtime";
3
+ import N, { useState as $, useRef as ge, useEffect as Q, useMemo as O } from "react";
4
+ function ie(a) {
5
+ var t, s, n = "";
6
+ if (typeof a == "string" || typeof a == "number") n += a;
7
7
  else if (typeof a == "object") if (Array.isArray(a)) {
8
- var i = a.length;
9
- for (l = 0; l < i; l++) a[l] && (r = X(a[l])) && (o && (o += " "), o += r);
10
- } else for (r in a) a[r] && (o && (o += " "), o += r);
11
- return o;
8
+ var l = a.length;
9
+ for (t = 0; t < l; t++) a[t] && (s = ie(a[t])) && (n && (n += " "), n += s);
10
+ } else for (s in a) a[s] && (n && (n += " "), n += s);
11
+ return n;
12
12
  }
13
- function v() {
14
- for (var a, l, r = 0, o = "", i = arguments.length; r < i; r++) (a = arguments[r]) && (l = X(a)) && (o && (o += " "), o += l);
15
- return o;
13
+ function b() {
14
+ for (var a, t, s = 0, n = "", l = arguments.length; s < l; s++) (a = arguments[s]) && (t = ie(a)) && (n && (n += " "), n += t);
15
+ return n;
16
16
  }
17
- const Q = {
18
- "status-badge": "_status-badge_1vytb_3",
19
- "status-badge--neu": "_status-badge--neu_1vytb_26",
20
- "status-badge--offen": "_status-badge--offen_1vytb_31",
21
- "status-badge--in-prufung": "_status-badge--in-prufung_1vytb_36",
22
- "status-badge--validierung": "_status-badge--validierung_1vytb_41",
23
- "status-badge--abgeschlossen": "_status-badge--abgeschlossen_1vytb_46"
24
- }, ce = {
17
+ const te = {
18
+ "status-badge": "_status-badge_c7rzu_3",
19
+ "status-badge--neu": "_status-badge--neu_c7rzu_26",
20
+ "status-badge--offen": "_status-badge--offen_c7rzu_31",
21
+ "status-badge--in-prufung": "_status-badge--in-prufung_c7rzu_36",
22
+ "status-badge--validierung": "_status-badge--validierung_c7rzu_41",
23
+ "status-badge--abgeschlossen": "_status-badge--abgeschlossen_c7rzu_46"
24
+ }, be = {
25
25
  neu: "Neu",
26
26
  offen: "Offen",
27
27
  "in-prufung": "In Prüfung",
28
28
  validierung: "Validierung",
29
29
  abgeschlossen: "Abgeschlossen"
30
- }, ee = w.forwardRef(
31
- ({ status: a, color: l, backgroundColor: r, className: o, style: i, ..._ }, u) => {
32
- const f = {
33
- ...i,
34
- "--custom-color": l,
35
- "--custom-bg": r
30
+ }, ce = N.forwardRef(
31
+ ({ status: a, color: t, backgroundColor: s, className: n, style: l, ...o }, d) => {
32
+ const g = {
33
+ ...l,
34
+ "--custom-color": t,
35
+ "--custom-bg": s
36
36
  };
37
37
  return /* @__PURE__ */ e(
38
38
  "span",
39
39
  {
40
- ref: u,
41
- className: v(Q["status-badge"], Q[`status-badge--${a}`], o),
42
- style: f,
43
- ..._,
44
- children: ce[a]
40
+ ref: d,
41
+ className: b(te["status-badge"], te[`status-badge--${a}`], n),
42
+ style: g,
43
+ ...o,
44
+ children: be[a]
45
45
  }
46
46
  );
47
47
  }
48
48
  );
49
- ee.displayName = "StatusBadge";
50
- const Z = {
51
- "favorite-btn": "_favorite-btn_1f4wz_3",
52
- "favorite-btn--active": "_favorite-btn--active_1f4wz_23"
53
- }, te = w.forwardRef(
54
- ({ pressed: a, projectName: l, onToggle: r, color: o, activeColor: i, className: _, style: u, onClick: f, ...m }, g) => {
55
- const t = {
56
- ...u,
57
- "--custom-color": o,
58
- "--custom-active-color": i
59
- }, b = a ? `Von Favoriten entfernen: ${l}` : `Zu Favoriten hinzufügen: ${l}`;
49
+ ce.displayName = "StatusBadge";
50
+ const le = {
51
+ "favorite-btn": "_favorite-btn_1jlmc_3",
52
+ "favorite-btn--active": "_favorite-btn--active_1jlmc_23"
53
+ }, oe = N.forwardRef(
54
+ ({ pressed: a, projectName: t, onToggle: s, color: n, activeColor: l, className: o, style: d, onClick: g, ...m }, h) => {
55
+ const r = {
56
+ ...d,
57
+ "--custom-color": n,
58
+ "--custom-active-color": l
59
+ }, f = a ? `Von Favoriten entfernen: ${t}` : `Zu Favoriten hinzufügen: ${t}`;
60
60
  return /* @__PURE__ */ e(
61
61
  "button",
62
62
  {
63
- ref: g,
63
+ ref: h,
64
64
  type: "button",
65
- className: v(
66
- Z["favorite-btn"],
67
- { [Z["favorite-btn--active"]]: a },
68
- _
65
+ className: b(
66
+ le["favorite-btn"],
67
+ { [le["favorite-btn--active"]]: a },
68
+ o
69
69
  ),
70
- style: t,
70
+ style: r,
71
71
  "aria-pressed": a,
72
- "aria-label": b,
73
- onClick: (j) => {
74
- r?.(!a), f?.(j);
72
+ "aria-label": f,
73
+ onClick: (x) => {
74
+ s?.(!a), g?.(x);
75
75
  },
76
76
  ...m,
77
77
  children: /* @__PURE__ */ e(
@@ -90,392 +90,392 @@ const Z = {
90
90
  );
91
91
  }
92
92
  );
93
- te.displayName = "FavoriteButton";
93
+ oe.displayName = "FavoriteButton";
94
94
  const D = {
95
- "status-legend__item": "_status-legend__item_1935r_3",
96
- "status-legend__item--active": "_status-legend__item--active_1935r_22",
97
- "status-legend__label-wrap": "_status-legend__label-wrap_1935r_27",
98
- "status-legend__color": "_status-legend__color_1935r_33",
99
- "status-legend__label": "_status-legend__label_1935r_27",
100
- "status-legend__count": "_status-legend__count_1935r_47",
101
- "color-neu": "_color-neu_1935r_57",
102
- "color-offen": "_color-offen_1935r_61",
103
- "color-in-prufung": "_color-in-prufung_1935r_65",
104
- "color-validierung": "_color-validierung_1935r_69",
105
- "color-abgeschlossen": "_color-abgeschlossen_1935r_73",
106
- "color-alle": "_color-alle_1935r_77"
107
- }, ae = w.forwardRef(
108
- ({ status: a, label: l, count: r, active: o = !1, color: i, className: _, style: u, ...f }, m) => {
109
- const g = {
110
- ...u,
111
- "--custom-color": i
95
+ "status-legend__item": "_status-legend__item_1xv4z_3",
96
+ "status-legend__item--active": "_status-legend__item--active_1xv4z_22",
97
+ "status-legend__label-wrap": "_status-legend__label-wrap_1xv4z_27",
98
+ "status-legend__color": "_status-legend__color_1xv4z_33",
99
+ "status-legend__label": "_status-legend__label_1xv4z_27",
100
+ "status-legend__count": "_status-legend__count_1xv4z_47",
101
+ "color-neu": "_color-neu_1xv4z_57",
102
+ "color-offen": "_color-offen_1xv4z_61",
103
+ "color-in-prufung": "_color-in-prufung_1xv4z_65",
104
+ "color-validierung": "_color-validierung_1xv4z_69",
105
+ "color-abgeschlossen": "_color-abgeschlossen_1xv4z_73",
106
+ "color-alle": "_color-alle_1xv4z_77"
107
+ }, de = N.forwardRef(
108
+ ({ status: a, label: t, count: s, active: n = !1, color: l, className: o, style: d, ...g }, m) => {
109
+ const h = {
110
+ ...d,
111
+ "--custom-color": l
112
112
  };
113
- return /* @__PURE__ */ n(
113
+ return /* @__PURE__ */ i(
114
114
  "button",
115
115
  {
116
116
  ref: m,
117
117
  type: "button",
118
118
  role: "option",
119
- "aria-selected": o,
120
- className: v(
119
+ "aria-selected": n,
120
+ className: b(
121
121
  D["status-legend__item"],
122
- { [D["status-legend__item--active"]]: o },
123
- _
122
+ { [D["status-legend__item--active"]]: n },
123
+ o
124
124
  ),
125
- style: g,
126
- ...f,
125
+ style: h,
126
+ ...g,
127
127
  children: [
128
- /* @__PURE__ */ n("div", { className: D["status-legend__label-wrap"], children: [
128
+ /* @__PURE__ */ i("div", { className: D["status-legend__label-wrap"], children: [
129
129
  /* @__PURE__ */ e(
130
130
  "span",
131
131
  {
132
- className: v(D["status-legend__color"], D[`color-${a}`]),
132
+ className: b(D["status-legend__color"], D[`color-${a}`]),
133
133
  "aria-hidden": "true"
134
134
  }
135
135
  ),
136
- /* @__PURE__ */ e("span", { className: D["status-legend__label"], children: l })
136
+ /* @__PURE__ */ e("span", { className: D["status-legend__label"], children: t })
137
137
  ] }),
138
- /* @__PURE__ */ e("span", { className: D["status-legend__count"], children: r })
138
+ /* @__PURE__ */ e("span", { className: D["status-legend__count"], children: s })
139
139
  ]
140
140
  }
141
141
  );
142
142
  }
143
143
  );
144
- ae.displayName = "StatusLegendItem";
145
- const L = {
146
- "status-overview__chart-container": "_status-overview__chart-container_1f9eq_3",
147
- "status-chart-svg": "_status-chart-svg_1f9eq_13",
148
- "status-chart__segment": "_status-chart__segment_1f9eq_23",
149
- "status-chart__segment--hovered": "_status-chart__segment--hovered_1f9eq_30",
150
- "status-chart__segment--dimmed": "_status-chart__segment--dimmed_1f9eq_35",
151
- "status-chart__hole": "_status-chart__hole_1f9eq_40",
152
- "status-chart__total-value": "_status-chart__total-value_1f9eq_55",
153
- "status-chart__total-label": "_status-chart__total-label_1f9eq_63"
154
- }, se = w.forwardRef(
155
- ({ data: a, totalLabel: l = "Gesamt", onSegmentClick: r, className: o, ...i }, _) => {
156
- const [u, f] = I(null), m = a.reduce((y, c) => y + c.value, 0), g = 240, t = g / 2, b = 100, j = 40, k = b - j / 2, p = k * 2 * Math.PI;
157
- return /* @__PURE__ */ n(
144
+ de.displayName = "StatusLegendItem";
145
+ const P = {
146
+ "status-overview__chart-container": "_status-overview__chart-container_6nwc9_3",
147
+ "status-chart-svg": "_status-chart-svg_6nwc9_13",
148
+ "status-chart__segment": "_status-chart__segment_6nwc9_23",
149
+ "status-chart__segment--hovered": "_status-chart__segment--hovered_6nwc9_30",
150
+ "status-chart__segment--dimmed": "_status-chart__segment--dimmed_6nwc9_35",
151
+ "status-chart__hole": "_status-chart__hole_6nwc9_40",
152
+ "status-chart__total-value": "_status-chart__total-value_6nwc9_55",
153
+ "status-chart__total-label": "_status-chart__total-label_6nwc9_63"
154
+ }, _e = N.forwardRef(
155
+ ({ data: a, totalLabel: t = "Gesamt", onSegmentClick: s, className: n, ...l }, o) => {
156
+ const [d, g] = $(null), m = a.reduce((w, _) => w + _.value, 0), h = 240, r = h / 2, f = 100, x = 40, y = f - x / 2, p = y * 2 * Math.PI;
157
+ return /* @__PURE__ */ i(
158
158
  "div",
159
159
  {
160
- ref: _,
161
- className: v(L["status-overview__chart-container"], o),
162
- ...i,
160
+ ref: o,
161
+ className: b(P["status-overview__chart-container"], n),
162
+ ...l,
163
163
  children: [
164
164
  /* @__PURE__ */ e(
165
165
  "svg",
166
166
  {
167
- viewBox: `0 0 ${g} ${g}`,
168
- className: L["status-chart-svg"],
167
+ viewBox: `0 0 ${h} ${h}`,
168
+ className: P["status-chart-svg"],
169
169
  role: "img",
170
170
  "aria-label": "Kreisdiagramm der Projektstatus-Verteilung",
171
171
  overflow: "visible",
172
172
  children: m === 0 ? /* @__PURE__ */ e(
173
173
  "circle",
174
174
  {
175
- cx: t,
176
- cy: t,
177
- r: k,
175
+ cx: r,
176
+ cy: r,
177
+ r: y,
178
178
  fill: "none",
179
179
  stroke: "hsl(var(--border))",
180
- strokeWidth: j
180
+ strokeWidth: x
181
181
  }
182
182
  ) : (() => {
183
- let y = 0;
184
- return a.map((c) => {
185
- if (c.value === 0) return null;
186
- const N = c.value / m * 100, h = N / 100 * p, d = y / 100 * p;
187
- return y += N, /* @__PURE__ */ e(
183
+ let w = 0;
184
+ return a.map((_) => {
185
+ if (_.value === 0) return null;
186
+ const k = _.value / m * 100, v = k / 100 * p, u = w / 100 * p;
187
+ return w += k, /* @__PURE__ */ e(
188
188
  "circle",
189
189
  {
190
- cx: t,
191
- cy: t,
192
- r: k,
190
+ cx: r,
191
+ cy: r,
192
+ r: y,
193
193
  fill: "none",
194
- stroke: c.color,
195
- strokeWidth: j,
196
- strokeDasharray: `${h} ${p}`,
197
- strokeDashoffset: -d,
198
- transform: `rotate(-90 ${t} ${t})`,
199
- className: v(L["status-chart__segment"], {
200
- [L["status-chart__segment--hovered"]]: u === c.status,
201
- [L["status-chart__segment--dimmed"]]: u && u !== c.status
194
+ stroke: _.color,
195
+ strokeWidth: x,
196
+ strokeDasharray: `${v} ${p}`,
197
+ strokeDashoffset: -u,
198
+ transform: `rotate(-90 ${r} ${r})`,
199
+ className: b(P["status-chart__segment"], {
200
+ [P["status-chart__segment--hovered"]]: d === _.status,
201
+ [P["status-chart__segment--dimmed"]]: d && d !== _.status
202
202
  }),
203
- onClick: () => r?.(c.status),
204
- onMouseEnter: () => f(c.status),
205
- onMouseLeave: () => f(null),
206
- style: { cursor: r ? "pointer" : "default" },
207
- children: /* @__PURE__ */ e("title", { children: `${c.label}: ${c.value}` })
203
+ onClick: () => s?.(_.status),
204
+ onMouseEnter: () => g(_.status),
205
+ onMouseLeave: () => g(null),
206
+ style: { cursor: s ? "pointer" : "default" },
207
+ children: /* @__PURE__ */ e("title", { children: `${_.label}: ${_.value}` })
208
208
  },
209
- c.status
209
+ _.status
210
210
  );
211
211
  });
212
212
  })()
213
213
  }
214
214
  ),
215
- /* @__PURE__ */ n("div", { className: L["status-chart__hole"], children: [
216
- /* @__PURE__ */ e("span", { className: L["status-chart__total-value"], children: m }),
217
- /* @__PURE__ */ e("span", { className: L["status-chart__total-label"], children: l })
215
+ /* @__PURE__ */ i("div", { className: P["status-chart__hole"], children: [
216
+ /* @__PURE__ */ e("span", { className: P["status-chart__total-value"], children: m }),
217
+ /* @__PURE__ */ e("span", { className: P["status-chart__total-label"], children: t })
218
218
  ] })
219
219
  ]
220
220
  }
221
221
  );
222
222
  }
223
223
  );
224
- se.displayName = "StatusChart";
225
- function J(a) {
226
- const l = new Date(a);
227
- if (isNaN(l.getTime())) return "Ungültiges Datum";
228
- const o = (/* @__PURE__ */ new Date()).getTime() - l.getTime(), i = Math.floor(o / (1e3 * 60 * 60 * 24));
229
- if (i === 0) return "Heute";
230
- if (i === 1) return "Gestern";
231
- if (i < 7) return `vor ${i} Tagen`;
232
- const _ = Math.floor(i / 7);
233
- if (_ < 4)
234
- return _ === 1 ? "vor einer Woche" : `vor ${_} Wochen`;
235
- const u = Math.floor(i / 30);
236
- if (u < 12)
237
- return u === 1 ? "vor einem Monat" : `vor ${u} Monaten`;
238
- const f = Math.floor(i / 365);
239
- return f === 1 ? "vor einem Jahr" : `vor ${f} Jahren`;
224
+ _e.displayName = "StatusChart";
225
+ function se(a) {
226
+ const t = new Date(a);
227
+ if (isNaN(t.getTime())) return "Ungültiges Datum";
228
+ const n = (/* @__PURE__ */ new Date()).getTime() - t.getTime(), l = Math.floor(n / (1e3 * 60 * 60 * 24));
229
+ if (l === 0) return "Heute";
230
+ if (l === 1) return "Gestern";
231
+ if (l < 7) return `vor ${l} Tagen`;
232
+ const o = Math.floor(l / 7);
233
+ if (o < 4)
234
+ return o === 1 ? "vor einer Woche" : `vor ${o} Wochen`;
235
+ const d = Math.floor(l / 30);
236
+ if (d < 12)
237
+ return d === 1 ? "vor einem Monat" : `vor ${d} Monaten`;
238
+ const g = Math.floor(l / 365);
239
+ return g === 1 ? "vor einem Jahr" : `vor ${g} Jahren`;
240
240
  }
241
- const A = {
242
- "table-container": "_table-container_fgnrg_3",
243
- "project-table": "_project-table_fgnrg_7",
244
- "project-table__head": "_project-table__head_fgnrg_15",
245
- "project-table__row": "_project-table__row_fgnrg_33",
246
- "project-table__name-cell": "_project-table__name-cell_fgnrg_66",
247
- "project-table__favorite": "_project-table__favorite_fgnrg_72",
248
- "project-table__name-wrapper": "_project-table__name-wrapper_fgnrg_76",
249
- "project-table__name": "_project-table__name_fgnrg_66",
250
- "project-table__app": "_project-table__app_fgnrg_92",
251
- "project-table__date-secondary": "_project-table__date-secondary_fgnrg_93",
252
- "project-table__client": "_project-table__client_fgnrg_102",
253
- "project-table__date-main": "_project-table__date-main_fgnrg_103"
254
- }, le = w.forwardRef(
255
- ({ rows: a, onToggleFavorite: l, className: r, ...o }, i) => /* @__PURE__ */ e(
241
+ const S = {
242
+ "table-container": "_table-container_y8cqq_3",
243
+ "project-table": "_project-table_y8cqq_7",
244
+ "project-table__head": "_project-table__head_y8cqq_15",
245
+ "project-table__row": "_project-table__row_y8cqq_33",
246
+ "project-table__name-cell": "_project-table__name-cell_y8cqq_66",
247
+ "project-table__favorite": "_project-table__favorite_y8cqq_72",
248
+ "project-table__name-wrapper": "_project-table__name-wrapper_y8cqq_76",
249
+ "project-table__name": "_project-table__name_y8cqq_66",
250
+ "project-table__app": "_project-table__app_y8cqq_92",
251
+ "project-table__date-secondary": "_project-table__date-secondary_y8cqq_93",
252
+ "project-table__client": "_project-table__client_y8cqq_102",
253
+ "project-table__date-main": "_project-table__date-main_y8cqq_103"
254
+ }, ue = N.forwardRef(
255
+ ({ rows: a, onToggleFavorite: t, className: s, ...n }, l) => /* @__PURE__ */ e(
256
256
  "div",
257
257
  {
258
- ref: i,
259
- className: v(A["table-container"], r),
258
+ ref: l,
259
+ className: b(S["table-container"], s),
260
260
  tabIndex: 0,
261
- ...o,
262
- children: /* @__PURE__ */ n("table", { className: A["project-table"], children: [
263
- /* @__PURE__ */ e("thead", { className: A["project-table__head"], children: /* @__PURE__ */ n("tr", { children: [
261
+ ...n,
262
+ children: /* @__PURE__ */ i("table", { className: S["project-table"], children: [
263
+ /* @__PURE__ */ e("thead", { className: S["project-table__head"], children: /* @__PURE__ */ i("tr", { children: [
264
264
  /* @__PURE__ */ e("th", { scope: "col", children: "Projekt / Applikation" }),
265
265
  /* @__PURE__ */ e("th", { scope: "col", children: "Kunde" }),
266
266
  /* @__PURE__ */ e("th", { scope: "col", children: "Status" }),
267
267
  /* @__PURE__ */ e("th", { scope: "col", children: "Aktivität" })
268
268
  ] }) }),
269
- /* @__PURE__ */ e("tbody", { className: A["project-table__body"], children: a.map((_) => /* @__PURE__ */ n(
269
+ /* @__PURE__ */ e("tbody", { className: S["project-table__body"], children: a.map((o) => /* @__PURE__ */ i(
270
270
  "tr",
271
271
  {
272
- className: A["project-table__row"],
273
- "data-status": _.status,
272
+ className: S["project-table__row"],
273
+ "data-status": o.status,
274
274
  children: [
275
- /* @__PURE__ */ e("td", { children: /* @__PURE__ */ n("div", { className: A["project-table__name-cell"], children: [
275
+ /* @__PURE__ */ e("td", { children: /* @__PURE__ */ i("div", { className: S["project-table__name-cell"], children: [
276
276
  /* @__PURE__ */ e(
277
- te,
277
+ oe,
278
278
  {
279
- pressed: _.favorite,
280
- projectName: _.name,
281
- onToggle: (u) => l?.(_.id, u),
282
- className: A["project-table__favorite"]
279
+ pressed: o.favorite,
280
+ projectName: o.name,
281
+ onToggle: (d) => t?.(o.id, d),
282
+ className: S["project-table__favorite"]
283
283
  }
284
284
  ),
285
- /* @__PURE__ */ n("div", { className: A["project-table__name-wrapper"], title: `${_.name}
286
- ${_.app}`, children: [
287
- /* @__PURE__ */ e("div", { className: A["project-table__name"], children: _.name }),
288
- /* @__PURE__ */ e("div", { className: A["project-table__app"], children: _.app })
285
+ /* @__PURE__ */ i("div", { className: S["project-table__name-wrapper"], title: `${o.name}
286
+ ${o.app}`, children: [
287
+ /* @__PURE__ */ e("div", { className: S["project-table__name"], children: o.name }),
288
+ /* @__PURE__ */ e("div", { className: S["project-table__app"], children: o.app })
289
289
  ] })
290
290
  ] }) }),
291
- /* @__PURE__ */ e("td", { title: _.client, children: /* @__PURE__ */ e("span", { className: A["project-table__client"], children: _.client }) }),
292
- /* @__PURE__ */ e("td", { children: /* @__PURE__ */ e(ee, { status: _.status }) }),
293
- /* @__PURE__ */ n("td", { title: `Geändert: ${J(_.updatedAt)}
294
- Erstellt: ${_.createdAt}`, children: [
295
- /* @__PURE__ */ e("div", { className: A["project-table__date-main"], children: J(_.updatedAt) }),
296
- /* @__PURE__ */ n("div", { className: A["project-table__date-secondary"], children: [
291
+ /* @__PURE__ */ e("td", { title: o.client, children: /* @__PURE__ */ e("span", { className: S["project-table__client"], children: o.client }) }),
292
+ /* @__PURE__ */ e("td", { children: /* @__PURE__ */ e(ce, { status: o.status }) }),
293
+ /* @__PURE__ */ i("td", { title: `Geändert: ${se(o.updatedAt)}
294
+ Erstellt: ${o.createdAt}`, children: [
295
+ /* @__PURE__ */ e("div", { className: S["project-table__date-main"], children: se(o.updatedAt) }),
296
+ /* @__PURE__ */ i("div", { className: S["project-table__date-secondary"], children: [
297
297
  "Erstellt: ",
298
- _.createdAt
298
+ o.createdAt
299
299
  ] })
300
300
  ] })
301
301
  ]
302
302
  },
303
- _.id
303
+ o.id
304
304
  )) })
305
305
  ] })
306
306
  }
307
307
  )
308
308
  );
309
- le.displayName = "ProjectTable";
310
- const de = "_avatar_1ml48_3", V = {
311
- avatar: de,
312
- "avatar-group": "_avatar-group_1ml48_18",
313
- "group-member": "_group-member_1ml48_23"
314
- }, B = w.forwardRef(
315
- ({ initials: a, name: l, className: r, ...o }, i) => /* @__PURE__ */ e(
309
+ ue.displayName = "ProjectTable";
310
+ const pe = "_avatar_17ic7_3", U = {
311
+ avatar: pe,
312
+ "avatar-group": "_avatar-group_17ic7_18",
313
+ "group-member": "_group-member_17ic7_23"
314
+ }, B = N.forwardRef(
315
+ ({ initials: a, name: t, className: s, ...n }, l) => /* @__PURE__ */ e(
316
316
  "div",
317
317
  {
318
- ref: i,
319
- className: v(V.avatar, r),
320
- title: l,
321
- "aria-label": l,
322
- ...o,
318
+ ref: l,
319
+ className: b(U.avatar, s),
320
+ title: t,
321
+ "aria-label": t,
322
+ ...n,
323
323
  children: a
324
324
  }
325
325
  )
326
326
  );
327
327
  B.displayName = "Avatar";
328
- const H = w.forwardRef(
329
- ({ children: a, className: l, ...r }, o) => /* @__PURE__ */ e(
328
+ const X = N.forwardRef(
329
+ ({ children: a, className: t, ...s }, n) => /* @__PURE__ */ e(
330
330
  "div",
331
331
  {
332
- ref: o,
333
- className: v(V["avatar-group"], l),
334
- ...r,
335
- children: w.Children.map(a, (i) => w.isValidElement(i) ? w.cloneElement(i, {
336
- className: v(i.props.className, V["group-member"])
337
- }) : i)
332
+ ref: n,
333
+ className: b(U["avatar-group"], t),
334
+ ...s,
335
+ children: N.Children.map(a, (l) => N.isValidElement(l) ? N.cloneElement(l, {
336
+ className: b(l.props.className, U["group-member"])
337
+ }) : l)
338
338
  }
339
339
  )
340
340
  );
341
- H.displayName = "AvatarGroup";
342
- const _e = "_btn_lw4l4_3", E = {
343
- btn: _e,
344
- "btn--primary": "_btn--primary_lw4l4_27",
345
- "btn--outline": "_btn--outline_lw4l4_39",
346
- "btn--ghost": "_btn--ghost_lw4l4_52",
347
- "btn--sm": "_btn--sm_lw4l4_63"
348
- }, P = w.forwardRef(
349
- ({ variant: a, size: l = "md", className: r, children: o, ...i }, _) => /* @__PURE__ */ e(
341
+ X.displayName = "AvatarGroup";
342
+ const fe = "_btn_7bh63_3", V = {
343
+ btn: fe,
344
+ "btn--primary": "_btn--primary_7bh63_27",
345
+ "btn--outline": "_btn--outline_7bh63_39",
346
+ "btn--ghost": "_btn--ghost_7bh63_52",
347
+ "btn--sm": "_btn--sm_7bh63_63"
348
+ }, z = N.forwardRef(
349
+ ({ variant: a, size: t = "md", className: s, children: n, ...l }, o) => /* @__PURE__ */ e(
350
350
  "button",
351
351
  {
352
- ref: _,
353
- className: v(
354
- E.btn,
352
+ ref: o,
353
+ className: b(
354
+ V.btn,
355
355
  {
356
- [E[`btn--${a}`]]: a,
357
- [E[`btn--${l}`]]: l && l !== "md"
356
+ [V[`btn--${a}`]]: a,
357
+ [V[`btn--${t}`]]: t && t !== "md"
358
358
  },
359
- r
359
+ s
360
360
  ),
361
- ...i,
362
- children: o
361
+ ...l,
362
+ children: n
363
363
  }
364
364
  )
365
365
  );
366
- P.displayName = "Button";
367
- const ue = "_badge_144f0_3", O = {
368
- badge: ue,
369
- "badge--high": "_badge--high_144f0_12",
370
- "badge--medium": "_badge--medium_144f0_18",
371
- "badge--low": "_badge--low_144f0_24",
372
- "badge--size-small": "_badge--size-small_144f0_30",
373
- "badge--size-large": "_badge--size-large_144f0_37"
374
- }, me = {
366
+ z.displayName = "Button";
367
+ const Ne = "_badge_1e35x_3", W = {
368
+ badge: Ne,
369
+ "badge--high": "_badge--high_1e35x_12",
370
+ "badge--medium": "_badge--medium_1e35x_18",
371
+ "badge--low": "_badge--low_1e35x_24",
372
+ "badge--size-small": "_badge--size-small_1e35x_30",
373
+ "badge--size-large": "_badge--size-large_1e35x_37"
374
+ }, ke = {
375
375
  high: "!!",
376
376
  medium: "!",
377
377
  low: "-"
378
- }, he = {
378
+ }, we = {
379
379
  high: "Hohe Priorität",
380
380
  medium: "Mittlere Priorität",
381
381
  low: "Niedrige Priorität"
382
- }, K = w.forwardRef(
383
- ({ level: a, size: l = "small", className: r, "aria-label": o, ...i }, _) => {
384
- const u = he[a];
382
+ }, ee = N.forwardRef(
383
+ ({ level: a, size: t = "small", className: s, "aria-label": n, ...l }, o) => {
384
+ const d = we[a];
385
385
  return /* @__PURE__ */ e(
386
386
  "span",
387
387
  {
388
- ref: _,
389
- className: v(
390
- O.badge,
391
- O[`badge--${a}`],
392
- O[`badge--size-${l}`],
393
- r
388
+ ref: o,
389
+ className: b(
390
+ W.badge,
391
+ W[`badge--${a}`],
392
+ W[`badge--size-${t}`],
393
+ s
394
394
  ),
395
- "aria-label": o || u,
396
- ...i,
397
- children: me[a]
395
+ "aria-label": n || d,
396
+ ...l,
397
+ children: ke[a]
398
398
  }
399
399
  );
400
400
  }
401
401
  );
402
- K.displayName = "PriorityBadge";
403
- const ge = "_badge_1ru08_3", pe = {
404
- badge: ge
405
- }, G = w.forwardRef(
406
- ({ className: a, children: l, ...r }, o) => /* @__PURE__ */ e(
402
+ ee.displayName = "PriorityBadge";
403
+ const ye = "_badge_1j9lv_3", xe = {
404
+ badge: ye
405
+ }, Z = N.forwardRef(
406
+ ({ className: a, children: t, ...s }, n) => /* @__PURE__ */ e(
407
407
  "span",
408
408
  {
409
- ref: o,
410
- className: v(pe.badge, a),
411
- ...r,
412
- children: l
409
+ ref: n,
410
+ className: b(xe.badge, a),
411
+ ...s,
412
+ children: t
413
413
  }
414
414
  )
415
415
  );
416
- G.displayName = "Badge";
417
- const fe = "_icon_1t4xn_56", $ = {
418
- "status-dropdown": "_status-dropdown_1t4xn_3",
419
- "status-trigger": "_status-trigger_1t4xn_9",
420
- "status-menu": "_status-menu_1t4xn_14",
421
- "is-open": "_is-open_1t4xn_31",
422
- "status-menu-item": "_status-menu-item_1t4xn_35",
423
- "is-active": "_is-active_1t4xn_52",
424
- icon: fe,
425
- "icon-sm": "_icon-sm_1t4xn_65"
426
- }, ne = w.forwardRef(
427
- ({ value: a, onChange: l, options: r, className: o, "aria-label": i, ..._ }, u) => {
428
- const [f, m] = I(!1), g = oe(null), t = (p) => {
429
- typeof u == "function" ? u(p) : u && (u.current = p), g.current = p;
430
- }, b = r.find((p) => p.value === a) || r[0];
431
- z(() => {
432
- const p = (y) => {
433
- g.current && !g.current.contains(y.target) && m(!1);
416
+ Z.displayName = "Badge";
417
+ const je = "_icon_15zae_56", L = {
418
+ "status-dropdown": "_status-dropdown_15zae_3",
419
+ "status-trigger": "_status-trigger_15zae_9",
420
+ "status-menu": "_status-menu_15zae_14",
421
+ "is-open": "_is-open_15zae_31",
422
+ "status-menu-item": "_status-menu-item_15zae_35",
423
+ "is-active": "_is-active_15zae_52",
424
+ icon: je,
425
+ "icon-sm": "_icon-sm_15zae_65"
426
+ }, me = N.forwardRef(
427
+ ({ value: a, onChange: t, options: s, className: n, "aria-label": l, ...o }, d) => {
428
+ const [g, m] = $(!1), h = ge(null), r = (p) => {
429
+ typeof d == "function" ? d(p) : d && (d.current = p), h.current = p;
430
+ }, f = s.find((p) => p.value === a) || s[0];
431
+ Q(() => {
432
+ const p = (w) => {
433
+ h.current && !h.current.contains(w.target) && m(!1);
434
434
  };
435
435
  return document.addEventListener("mousedown", p), () => document.removeEventListener("mousedown", p);
436
436
  }, []);
437
- const j = (p) => {
438
- p.stopPropagation(), m(!f);
439
- }, k = (p, y) => {
440
- p.stopPropagation(), l && l(y.value), m(!1);
437
+ const x = (p) => {
438
+ p.stopPropagation(), m(!g);
439
+ }, y = (p, w) => {
440
+ p.stopPropagation(), t && t(w.value), m(!1);
441
441
  };
442
- return /* @__PURE__ */ n(
442
+ return /* @__PURE__ */ i(
443
443
  "div",
444
444
  {
445
- ref: t,
446
- className: v($["status-dropdown"], o),
447
- ..._,
445
+ ref: r,
446
+ className: b(L["status-dropdown"], n),
447
+ ...o,
448
448
  children: [
449
- /* @__PURE__ */ n(
450
- P,
449
+ /* @__PURE__ */ i(
450
+ z,
451
451
  {
452
452
  variant: "outline",
453
453
  size: "sm",
454
- className: $["status-trigger"],
455
- onClick: j,
454
+ className: L["status-trigger"],
455
+ onClick: x,
456
456
  "aria-haspopup": "listbox",
457
- "aria-expanded": f,
458
- "aria-label": i,
457
+ "aria-expanded": g,
458
+ "aria-label": l,
459
459
  children: [
460
- b?.label,
461
- /* @__PURE__ */ e("svg", { className: v($.icon, $["icon-sm"]), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", children: /* @__PURE__ */ e("path", { d: "m6 9 6 6 6-6" }) })
460
+ f?.label,
461
+ /* @__PURE__ */ e("svg", { className: b(L.icon, L["icon-sm"]), viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", children: /* @__PURE__ */ e("path", { d: "m6 9 6 6 6-6" }) })
462
462
  ]
463
463
  }
464
464
  ),
465
465
  /* @__PURE__ */ e(
466
466
  "div",
467
467
  {
468
- className: v($["status-menu"], { [$["is-open"]]: f }),
468
+ className: b(L["status-menu"], { [L["is-open"]]: g }),
469
469
  role: "listbox",
470
- children: r.map((p) => /* @__PURE__ */ e(
470
+ children: s.map((p) => /* @__PURE__ */ e(
471
471
  "button",
472
472
  {
473
- className: v($["status-menu-item"], {
474
- [$["is-active"]]: p.value === b?.value
473
+ className: b(L["status-menu-item"], {
474
+ [L["is-active"]]: p.value === f?.value
475
475
  }),
476
476
  role: "option",
477
- "aria-selected": p.value === b?.value,
478
- onClick: (y) => k(y, p),
477
+ "aria-selected": p.value === f?.value,
478
+ onClick: (w) => y(w, p),
479
479
  children: p.label
480
480
  },
481
481
  p.value
@@ -487,43 +487,43 @@ const fe = "_icon_1t4xn_56", $ = {
487
487
  );
488
488
  }
489
489
  );
490
- ne.displayName = "StatusDropdown";
491
- const ve = "_checklist_ylbeh_3", M = {
492
- checklist: ve,
493
- "check-item": "_check-item_ylbeh_9",
494
- "is-done": "_is-done_ylbeh_27",
495
- "checklist--readonly": "_checklist--readonly_ylbeh_32",
496
- "form-control": "_form-control_ylbeh_40"
497
- }, W = w.forwardRef(
498
- ({ items: a, onChange: l, editable: r = !1, className: o, ...i }, _) => {
499
- const u = (m, g) => {
500
- l && l(a.map((t) => t.id === m ? { ...t, checked: g } : t));
501
- }, f = (m, g) => {
502
- l && l(a.map((t) => t.id === m ? { ...t, text: g } : t));
490
+ me.displayName = "StatusDropdown";
491
+ const Se = "_checklist_ulozz_3", T = {
492
+ checklist: Se,
493
+ "check-item": "_check-item_ulozz_9",
494
+ "is-done": "_is-done_ulozz_27",
495
+ "checklist--readonly": "_checklist--readonly_ulozz_32",
496
+ "form-control": "_form-control_ulozz_40"
497
+ }, J = N.forwardRef(
498
+ ({ items: a, onChange: t, editable: s = !1, className: n, ...l }, o) => {
499
+ const d = (m, h) => {
500
+ t && t(a.map((r) => r.id === m ? { ...r, checked: h } : r));
501
+ }, g = (m, h) => {
502
+ t && t(a.map((r) => r.id === m ? { ...r, text: h } : r));
503
503
  };
504
504
  return /* @__PURE__ */ e(
505
505
  "div",
506
506
  {
507
- ref: _,
508
- className: v(M.checklist, { [M["checklist--readonly"]]: !r }, o),
509
- ...i,
510
- children: a.map((m) => /* @__PURE__ */ n("div", { className: v(M["check-item"], { [M["is-done"]]: m.checked }), children: [
507
+ ref: o,
508
+ className: b(T.checklist, { [T["checklist--readonly"]]: !s }, n),
509
+ ...l,
510
+ children: a.map((m) => /* @__PURE__ */ i("div", { className: b(T["check-item"], { [T["is-done"]]: m.checked }), children: [
511
511
  /* @__PURE__ */ e(
512
512
  "input",
513
513
  {
514
514
  type: "checkbox",
515
515
  id: m.id,
516
516
  checked: m.checked,
517
- onChange: (g) => u(m.id, g.target.checked)
517
+ onChange: (h) => d(m.id, h.target.checked)
518
518
  }
519
519
  ),
520
- r ? /* @__PURE__ */ e(
520
+ s ? /* @__PURE__ */ e(
521
521
  "input",
522
522
  {
523
523
  type: "text",
524
- className: M["form-control"],
524
+ className: T["form-control"],
525
525
  value: m.text,
526
- onChange: (g) => f(m.id, g.target.value),
526
+ onChange: (h) => g(m.id, h.target.value),
527
527
  placeholder: "Was ist zu tun?",
528
528
  "aria-label": "Aufgabenbeschreibung bearbeiten"
529
529
  }
@@ -533,16 +533,218 @@ const ve = "_checklist_ylbeh_3", M = {
533
533
  );
534
534
  }
535
535
  );
536
- W.displayName = "Checklist";
537
- const be = "_dashboard_10t3c_4", C = {
538
- dashboard: be,
539
- "dashboard-card": "_dashboard-card_10t3c_17",
540
- "dashboard-card__header": "_dashboard-card__header_10t3c_27",
541
- "dashboard-card__title": "_dashboard-card__title_10t3c_31",
542
- "status-legend": "_status-legend_10t3c_39",
543
- "project-filters": "_project-filters_10t3c_45",
544
- "project-filters__search": "_project-filters__search_10t3c_54"
545
- }, Ne = [
536
+ J.displayName = "Checklist";
537
+ const Ae = "_searchInput_16e7c_3", Ce = "_icon_16e7c_20", $e = "_field_16e7c_27", G = {
538
+ searchInput: Ae,
539
+ icon: Ce,
540
+ field: $e
541
+ }, Ie = N.forwardRef(
542
+ ({
543
+ value: a,
544
+ placeholder: t = "Suche...",
545
+ onChange: s,
546
+ "aria-label": n = "Daten durchsuchen",
547
+ id: l,
548
+ className: o
549
+ }, d) => /* @__PURE__ */ i("label", { className: b(G.searchInput, o), htmlFor: l, children: [
550
+ /* @__PURE__ */ i(
551
+ "svg",
552
+ {
553
+ className: G.icon,
554
+ viewBox: "0 0 24 24",
555
+ fill: "none",
556
+ stroke: "currentColor",
557
+ strokeWidth: "2",
558
+ strokeLinecap: "round",
559
+ strokeLinejoin: "round",
560
+ "aria-hidden": "true",
561
+ children: [
562
+ /* @__PURE__ */ e("circle", { cx: "11", cy: "11", r: "8" }),
563
+ /* @__PURE__ */ e("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
564
+ ]
565
+ }
566
+ ),
567
+ /* @__PURE__ */ e(
568
+ "input",
569
+ {
570
+ ref: d,
571
+ className: G.field,
572
+ type: "search",
573
+ id: l,
574
+ value: a,
575
+ placeholder: t,
576
+ "aria-label": n,
577
+ onChange: (g) => s?.(g.target.value)
578
+ }
579
+ )
580
+ ] })
581
+ );
582
+ Ie.displayName = "SearchInput";
583
+ const ze = "_btn_6gx9b_3", Pe = "_chevron_6gx9b_30", H = {
584
+ btn: ze,
585
+ chevron: Pe,
586
+ "btn--open": "_btn--open_6gx9b_37"
587
+ }, Le = N.forwardRef(
588
+ ({
589
+ expanded: a = !1,
590
+ count: t,
591
+ label: s,
592
+ onClick: n,
593
+ "aria-label": l,
594
+ className: o
595
+ }, d) => {
596
+ const g = s ? `${t ?? ""} ${s}`.trim() : t != null ? String(t) : "";
597
+ return /* @__PURE__ */ i(
598
+ "button",
599
+ {
600
+ ref: d,
601
+ className: b(H.btn, { [H["btn--open"]]: a }, o),
602
+ onClick: n,
603
+ "aria-expanded": a,
604
+ "aria-label": l,
605
+ children: [
606
+ /* @__PURE__ */ e(
607
+ "svg",
608
+ {
609
+ className: H.chevron,
610
+ viewBox: "0 0 24 24",
611
+ fill: "none",
612
+ stroke: "currentColor",
613
+ strokeWidth: "2",
614
+ strokeLinecap: "round",
615
+ strokeLinejoin: "round",
616
+ "aria-hidden": "true",
617
+ children: /* @__PURE__ */ e("polyline", { points: "6 9 12 15 18 9" })
618
+ }
619
+ ),
620
+ g
621
+ ]
622
+ }
623
+ );
624
+ }
625
+ );
626
+ Le.displayName = "ExpandButton";
627
+ const De = "_circle_gvt69_3", Re = "_svg_gvt69_12", Te = "_track_gvt69_18", Me = "_fill_gvt69_24", Be = "_label_gvt69_31", M = {
628
+ circle: De,
629
+ svg: Re,
630
+ track: Te,
631
+ fill: Me,
632
+ label: Be
633
+ }, Y = 14, K = 2 * Math.PI * Y;
634
+ function qe(a) {
635
+ return a >= 75 ? "var(--color-success)" : a >= 50 ? "var(--color-warning)" : "var(--error)";
636
+ }
637
+ const Ee = N.forwardRef(
638
+ ({ value: a, className: t }, s) => {
639
+ const n = Math.max(0, Math.min(100, a)), l = K - n / 100 * K;
640
+ return /* @__PURE__ */ i("div", { ref: s, className: b(M.circle, t), role: "meter", "aria-valuenow": n, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": `${n}%`, children: [
641
+ /* @__PURE__ */ i("svg", { className: M.svg, viewBox: "0 0 36 36", children: [
642
+ /* @__PURE__ */ e("circle", { className: M.track, cx: "18", cy: "18", r: Y }),
643
+ /* @__PURE__ */ e(
644
+ "circle",
645
+ {
646
+ className: M.fill,
647
+ cx: "18",
648
+ cy: "18",
649
+ r: Y,
650
+ stroke: qe(n),
651
+ strokeDasharray: K,
652
+ strokeDashoffset: l
653
+ }
654
+ )
655
+ ] }),
656
+ /* @__PURE__ */ i("span", { className: M.label, children: [
657
+ n,
658
+ "%"
659
+ ] })
660
+ ] });
661
+ }
662
+ );
663
+ Ee.displayName = "ProgressCircle";
664
+ const Fe = "_bar_l0q8t_3", Oe = "_track_l0q8t_9", Ve = "_fill_l0q8t_17", We = "_value_l0q8t_23", q = {
665
+ bar: Fe,
666
+ track: Oe,
667
+ fill: Ve,
668
+ value: We
669
+ }, Ge = N.forwardRef(
670
+ ({ value: a, className: t }, s) => {
671
+ const n = typeof a == "number" && a <= 1 ? a * 100 : a, l = Math.round(n);
672
+ return /* @__PURE__ */ i("div", { ref: s, className: b(q.bar, t), role: "meter", "aria-valuenow": l, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": `${l}%`, children: [
673
+ /* @__PURE__ */ e("div", { className: q.track, children: /* @__PURE__ */ e("div", { className: q.fill, style: { width: `${n}%` } }) }),
674
+ /* @__PURE__ */ i("span", { className: q.value, children: [
675
+ l,
676
+ "%"
677
+ ] })
678
+ ] });
679
+ }
680
+ );
681
+ Ge.displayName = "ScoreBar";
682
+ const He = "_empty_26icj_3", Ke = "_icon_26icj_12", Qe = "_title_26icj_19", Ue = "_text_26icj_27", E = {
683
+ empty: He,
684
+ icon: Ke,
685
+ title: Qe,
686
+ text: Ue
687
+ }, Ze = N.forwardRef(
688
+ ({ title: a, text: t, icon: s, className: n }, l) => /* @__PURE__ */ i("div", { ref: l, className: b(E.empty, n), role: "status", children: [
689
+ s && /* @__PURE__ */ e("div", { className: E.icon, "aria-hidden": "true", children: s }),
690
+ /* @__PURE__ */ e("div", { className: E.title, children: a }),
691
+ t && /* @__PURE__ */ e("div", { className: E.text, children: t })
692
+ ] })
693
+ );
694
+ Ze.displayName = "EmptyState";
695
+ const Je = "_toggle_176y2_3", Ye = "_btn_176y2_11", Xe = "_icon_176y2_43", F = {
696
+ toggle: Je,
697
+ btn: Ye,
698
+ "btn--active": "_btn--active_176y2_37",
699
+ icon: Xe
700
+ }, ea = N.forwardRef(
701
+ ({
702
+ options: a,
703
+ value: t,
704
+ onChange: s,
705
+ "aria-label": n,
706
+ role: l = "tablist",
707
+ className: o
708
+ }, d) => {
709
+ const g = l === "tablist" ? "tab" : "radio", m = l === "tablist" ? "aria-selected" : "aria-checked";
710
+ return /* @__PURE__ */ e(
711
+ "div",
712
+ {
713
+ ref: d,
714
+ className: b(F.toggle, o),
715
+ role: l,
716
+ "aria-label": n,
717
+ children: a.map((h) => {
718
+ const r = h.value === t;
719
+ return /* @__PURE__ */ i(
720
+ "button",
721
+ {
722
+ className: b(F.btn, { [F["btn--active"]]: r }),
723
+ role: g,
724
+ [m]: r,
725
+ onClick: () => s?.(h.value),
726
+ children: [
727
+ h.icon && /* @__PURE__ */ e("span", { className: F.icon, "aria-hidden": "true", children: h.icon }),
728
+ h.label
729
+ ]
730
+ },
731
+ h.value
732
+ );
733
+ })
734
+ }
735
+ );
736
+ }
737
+ );
738
+ ea.displayName = "SegmentedControl";
739
+ const aa = "_dashboard_1mbco_4", A = {
740
+ dashboard: aa,
741
+ "dashboard-card": "_dashboard-card_1mbco_17",
742
+ "dashboard-card__header": "_dashboard-card__header_1mbco_27",
743
+ "dashboard-card__title": "_dashboard-card__title_1mbco_31",
744
+ "status-legend": "_status-legend_1mbco_39",
745
+ "project-filters": "_project-filters_1mbco_45",
746
+ "project-filters__search": "_project-filters__search_1mbco_54"
747
+ }, ta = [
546
748
  { id: "1", name: "E-Commerce Relaunch", client: "Müller GmbH", app: "Shopify CMS", status: "neu", favorite: !1, createdAt: "12.02.2026", updatedAt: (/* @__PURE__ */ new Date()).toISOString() },
547
749
  { id: "2", name: "CRM Integration MVP", client: "TechCorp Inc.", app: "Salesforce API", status: "offen", favorite: !0, createdAt: "15.01.2026", updatedAt: new Date(Date.now() - 2880 * 60 * 1e3).toISOString() },
548
750
  { id: "3", name: "Data Analytics Dashboard", client: "DataViz AG", app: "React / Supabase", status: "in-prufung", favorite: !1, createdAt: "20.02.2026", updatedAt: new Date(Date.now() - 10080 * 60 * 1e3).toISOString() },
@@ -569,117 +771,117 @@ const be = "_dashboard_10t3c_4", C = {
569
771
  createdAt: "05.01.2026",
570
772
  updatedAt: (/* @__PURE__ */ new Date()).toISOString()
571
773
  }
572
- ], we = [
774
+ ], la = [
573
775
  { status: "alle", label: "Alle" },
574
776
  { status: "neu", label: "Neu" },
575
777
  { status: "offen", label: "Offen" },
576
778
  { status: "in-prufung", label: "In Prüfung" },
577
779
  { status: "validierung", label: "Validierung" },
578
780
  { status: "abgeschlossen", label: "Abgeschlossen" }
579
- ], ye = {
781
+ ], sa = {
580
782
  neu: "Neu",
581
783
  offen: "Offen",
582
784
  "in-prufung": "In Prüfung",
583
785
  validierung: "Validierung",
584
786
  abgeschlossen: "Abgeschlossen"
585
- }, ke = w.forwardRef(
586
- ({ initialRows: a = Ne, className: l, ...r }, o) => {
587
- const [i, _] = I(a), [u, f] = I("alle"), [m, g] = I(""), t = F(() => {
588
- const c = {
589
- alle: i.length,
787
+ }, na = N.forwardRef(
788
+ ({ initialRows: a = ta, className: t, ...s }, n) => {
789
+ const [l, o] = $(a), [d, g] = $("alle"), [m, h] = $(""), r = O(() => {
790
+ const _ = {
791
+ alle: l.length,
590
792
  neu: 0,
591
793
  offen: 0,
592
794
  "in-prufung": 0,
593
795
  validierung: 0,
594
796
  abgeschlossen: 0
595
797
  };
596
- return i.forEach((N) => {
597
- c[N.status]++;
598
- }), c;
599
- }, [i]), b = F(() => {
600
- let c = i;
601
- if (u !== "alle" && (c = c.filter((N) => N.status === u)), m.trim() !== "") {
602
- const N = m.toLowerCase().trim();
603
- c = c.filter(
604
- (h) => h.name.toLowerCase().includes(N) || h.client.toLowerCase().includes(N) || h.app.toLowerCase().includes(N)
798
+ return l.forEach((k) => {
799
+ _[k.status]++;
800
+ }), _;
801
+ }, [l]), f = O(() => {
802
+ let _ = l;
803
+ if (d !== "alle" && (_ = _.filter((k) => k.status === d)), m.trim() !== "") {
804
+ const k = m.toLowerCase().trim();
805
+ _ = _.filter(
806
+ (v) => v.name.toLowerCase().includes(k) || v.client.toLowerCase().includes(k) || v.app.toLowerCase().includes(k)
605
807
  );
606
808
  }
607
- return u === "alle" && (c = [...c].sort((N, h) => Number(h.favorite) - Number(N.favorite))), c;
608
- }, [i, u, m]), j = u === "alle" ? "Alle Projekte" : `Projekte: ${ye[u]}`, k = (c, N) => {
609
- _((h) => h.map((d) => d.id === c ? { ...d, favorite: N } : d));
610
- }, p = F(() => [
611
- { status: "neu", label: "Neu", value: t.neu, color: "hsl(var(--status-neu))" },
612
- { status: "offen", label: "Offen", value: t.offen, color: "hsl(var(--status-offen))" },
613
- { status: "in-prufung", label: "In Prüfung", value: t["in-prufung"], color: "hsl(var(--status-in-prufung))" },
614
- { status: "validierung", label: "Validierung", value: t.validierung, color: "hsl(var(--status-validierung))" },
615
- { status: "abgeschlossen", label: "Abgeschlossen", value: t.abgeschlossen, color: "hsl(var(--status-abgeschlossen))" }
616
- ], [t]), y = (c) => {
617
- f(c);
809
+ return d === "alle" && (_ = [..._].sort((k, v) => Number(v.favorite) - Number(k.favorite))), _;
810
+ }, [l, d, m]), x = d === "alle" ? "Alle Projekte" : `Projekte: ${sa[d]}`, y = (_, k) => {
811
+ o((v) => v.map((u) => u.id === _ ? { ...u, favorite: k } : u));
812
+ }, p = O(() => [
813
+ { status: "neu", label: "Neu", value: r.neu, color: "hsl(var(--status-neu))" },
814
+ { status: "offen", label: "Offen", value: r.offen, color: "hsl(var(--status-offen))" },
815
+ { status: "in-prufung", label: "In Prüfung", value: r["in-prufung"], color: "hsl(var(--status-in-prufung))" },
816
+ { status: "validierung", label: "Validierung", value: r.validierung, color: "hsl(var(--status-validierung))" },
817
+ { status: "abgeschlossen", label: "Abgeschlossen", value: r.abgeschlossen, color: "hsl(var(--status-abgeschlossen))" }
818
+ ], [r]), w = (_) => {
819
+ g(_);
618
820
  };
619
- return /* @__PURE__ */ n(
821
+ return /* @__PURE__ */ i(
620
822
  "main",
621
823
  {
622
- ref: o,
623
- className: v(C.dashboard, l),
624
- ...r,
824
+ ref: n,
825
+ className: b(A.dashboard, t),
826
+ ...s,
625
827
  children: [
626
- /* @__PURE__ */ n(
828
+ /* @__PURE__ */ i(
627
829
  "section",
628
830
  {
629
- className: v(C["dashboard-card"], C["status-overview"]),
831
+ className: b(A["dashboard-card"], A["status-overview"]),
630
832
  "aria-label": "Projektstatus Übersicht",
631
833
  children: [
632
- /* @__PURE__ */ e("header", { className: C["dashboard-card__header"], children: /* @__PURE__ */ e("h1", { className: C["dashboard-card__title"], children: "Projekte" }) }),
834
+ /* @__PURE__ */ e("header", { className: A["dashboard-card__header"], children: /* @__PURE__ */ e("h1", { className: A["dashboard-card__title"], children: "Projekte" }) }),
633
835
  /* @__PURE__ */ e(
634
- se,
836
+ _e,
635
837
  {
636
838
  data: p,
637
- onSegmentClick: y
839
+ onSegmentClick: w
638
840
  }
639
841
  ),
640
842
  /* @__PURE__ */ e(
641
843
  "div",
642
844
  {
643
- className: C["status-legend"],
845
+ className: A["status-legend"],
644
846
  role: "listbox",
645
847
  "aria-label": "Nach Status filtern",
646
- children: we.map(({ status: c, label: N }) => /* @__PURE__ */ e(
647
- ae,
848
+ children: la.map(({ status: _, label: k }) => /* @__PURE__ */ e(
849
+ de,
648
850
  {
649
- status: c,
650
- label: N,
651
- count: t[c],
652
- active: u === c,
653
- onClick: () => f(c)
851
+ status: _,
852
+ label: k,
853
+ count: r[_],
854
+ active: d === _,
855
+ onClick: () => g(_)
654
856
  },
655
- c
857
+ _
656
858
  ))
657
859
  }
658
860
  )
659
861
  ]
660
862
  }
661
863
  ),
662
- /* @__PURE__ */ n(
864
+ /* @__PURE__ */ i(
663
865
  "section",
664
866
  {
665
- className: v(C["dashboard-card"], C["project-list"]),
867
+ className: b(A["dashboard-card"], A["project-list"]),
666
868
  "aria-label": "Projektliste",
667
869
  children: [
668
- /* @__PURE__ */ n("div", { className: C["project-filters"], children: [
669
- /* @__PURE__ */ e("h2", { className: C["dashboard-card__title"], children: j }),
870
+ /* @__PURE__ */ i("div", { className: A["project-filters"], children: [
871
+ /* @__PURE__ */ e("h2", { className: A["dashboard-card__title"], children: x }),
670
872
  /* @__PURE__ */ e(
671
873
  "input",
672
874
  {
673
875
  type: "search",
674
- className: C["project-filters__search"],
876
+ className: A["project-filters__search"],
675
877
  "aria-label": "Projekte durchsuchen",
676
878
  placeholder: "Suchen...",
677
879
  value: m,
678
- onChange: (c) => g(c.target.value)
880
+ onChange: (_) => h(_.target.value)
679
881
  }
680
882
  )
681
883
  ] }),
682
- /* @__PURE__ */ e(le, { rows: b, onToggleFavorite: k })
884
+ /* @__PURE__ */ e(ue, { rows: f, onToggleFavorite: y })
683
885
  ]
684
886
  }
685
887
  )
@@ -688,61 +890,61 @@ const be = "_dashboard_10t3c_4", C = {
688
890
  );
689
891
  }
690
892
  );
691
- ke.displayName = "DashboardPage";
692
- const je = "_icon_1ekm1_83", x = {
693
- "task-item": "_task-item_1ekm1_4",
694
- "task-item__content": "_task-item__content_1ekm1_25",
695
- "task-item__title-group": "_task-item__title-group_1ekm1_32",
696
- "task-item__title": "_task-item__title_1ekm1_32",
697
- "task-item__meta": "_task-item__meta_1ekm1_52",
698
- "meta-user": "_meta-user_1ekm1_64",
699
- "meta-project": "_meta-project_1ekm1_70",
700
- "icon-sm": "_icon-sm_1ekm1_83",
701
- "task-item__deadline": "_task-item__deadline_1ekm1_88",
702
- "deadline-urgent": "_deadline-urgent_1ekm1_97",
703
- "deadline-normal": "_deadline-normal_1ekm1_102",
704
- "task-item__actions": "_task-item__actions_1ekm1_107",
705
- icon: je
706
- }, Se = [
893
+ na.displayName = "DashboardPage";
894
+ const ra = "_icon_15khb_83", C = {
895
+ "task-item": "_task-item_15khb_4",
896
+ "task-item__content": "_task-item__content_15khb_25",
897
+ "task-item__title-group": "_task-item__title-group_15khb_32",
898
+ "task-item__title": "_task-item__title_15khb_32",
899
+ "task-item__meta": "_task-item__meta_15khb_52",
900
+ "meta-user": "_meta-user_15khb_64",
901
+ "meta-project": "_meta-project_15khb_70",
902
+ "icon-sm": "_icon-sm_15khb_83",
903
+ "task-item__deadline": "_task-item__deadline_15khb_88",
904
+ "deadline-urgent": "_deadline-urgent_15khb_97",
905
+ "deadline-normal": "_deadline-normal_15khb_102",
906
+ "task-item__actions": "_task-item__actions_15khb_107",
907
+ icon: ra
908
+ }, ia = [
707
909
  { value: "Offen", label: "Offen" },
708
910
  { value: "In Arbeit", label: "In Arbeit" },
709
911
  { value: "Erledigt", label: "Erledigt" }
710
- ], re = w.forwardRef(
711
- ({ title: a, project: l, projectLabel: r, status: o, deadline: i, deadlineType: _ = "normal", priority: u, assignees: f, description: m, onClick: g, onStatusChange: t, className: b, ...j }, k) => {
712
- const p = (c) => {
713
- (c.key === "Enter" || c.key === " ") && (c.preventDefault(), g?.());
714
- }, y = (c) => {
715
- c.stopPropagation();
912
+ ], he = N.forwardRef(
913
+ ({ title: a, project: t, projectLabel: s, status: n, deadline: l, deadlineType: o = "normal", priority: d, assignees: g, description: m, onClick: h, onStatusChange: r, className: f, ...x }, y) => {
914
+ const p = (_) => {
915
+ (_.key === "Enter" || _.key === " ") && (_.preventDefault(), h?.());
916
+ }, w = (_) => {
917
+ _.stopPropagation();
716
918
  };
717
- return /* @__PURE__ */ n(
919
+ return /* @__PURE__ */ i(
718
920
  "article",
719
921
  {
720
- ref: k,
721
- className: v(x["task-item"], b),
922
+ ref: y,
923
+ className: b(C["task-item"], f),
722
924
  role: "listitem",
723
925
  tabIndex: 0,
724
- onClick: g,
926
+ onClick: h,
725
927
  onKeyDown: p,
726
- ...j,
928
+ ...x,
727
929
  children: [
728
- /* @__PURE__ */ n("div", { className: x["task-item__content"], children: [
729
- /* @__PURE__ */ e("div", { className: x["task-item__title-group"], children: /* @__PURE__ */ e("h3", { className: x["task-item__title"], children: a }) }),
730
- /* @__PURE__ */ n("div", { className: x["task-item__meta"], children: [
731
- f.length > 0 && /* @__PURE__ */ e("div", { className: x["meta-user"], children: /* @__PURE__ */ e(H, { children: f.map((c, N) => /* @__PURE__ */ e(B, { initials: c.initials, name: c.name }, N)) }) }),
732
- /* @__PURE__ */ n("div", { className: x["meta-project"], "aria-label": `Projekt: ${r || l}`, children: [
733
- /* @__PURE__ */ e("svg", { className: x["icon-sm"], viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { d: "M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" }) }),
734
- r || l
930
+ /* @__PURE__ */ i("div", { className: C["task-item__content"], children: [
931
+ /* @__PURE__ */ e("div", { className: C["task-item__title-group"], children: /* @__PURE__ */ e("h3", { className: C["task-item__title"], children: a }) }),
932
+ /* @__PURE__ */ i("div", { className: C["task-item__meta"], children: [
933
+ g.length > 0 && /* @__PURE__ */ e("div", { className: C["meta-user"], children: /* @__PURE__ */ e(X, { children: g.map((_, k) => /* @__PURE__ */ e(B, { initials: _.initials, name: _.name }, k)) }) }),
934
+ /* @__PURE__ */ i("div", { className: C["meta-project"], "aria-label": `Projekt: ${s || t}`, children: [
935
+ /* @__PURE__ */ e("svg", { className: C["icon-sm"], viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { d: "M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" }) }),
936
+ s || t
735
937
  ] }),
736
- u && u !== "low" && /* @__PURE__ */ e(K, { level: u, size: "small" })
938
+ d && d !== "low" && /* @__PURE__ */ e(ee, { level: d, size: "small" })
737
939
  ] })
738
940
  ] }),
739
- /* @__PURE__ */ e("div", { className: v(x["task-item__deadline"], x[`deadline-${_}`]), children: i }),
740
- /* @__PURE__ */ e("div", { className: x["task-item__actions"], onClick: y, children: /* @__PURE__ */ e(
741
- ne,
941
+ /* @__PURE__ */ e("div", { className: b(C["task-item__deadline"], C[`deadline-${o}`]), children: l }),
942
+ /* @__PURE__ */ e("div", { className: C["task-item__actions"], onClick: w, children: /* @__PURE__ */ e(
943
+ me,
742
944
  {
743
- options: Se,
744
- value: o,
745
- onChange: t
945
+ options: ia,
946
+ value: n,
947
+ onChange: r
746
948
  }
747
949
  ) })
748
950
  ]
@@ -750,167 +952,167 @@ const je = "_icon_1ekm1_83", x = {
750
952
  );
751
953
  }
752
954
  );
753
- re.displayName = "TaskItem";
754
- const Ae = "_textarea_sth7y_196", Ce = "_icon_sth7y_203", s = {
755
- "modal-overlay": "_modal-overlay_sth7y_4",
756
- "is-active": "_is-active_sth7y_19",
757
- "modal-content": "_modal-content_sth7y_25",
758
- "modal-header": "_modal-header_sth7y_46",
759
- "modal-header-title": "_modal-header-title_sth7y_56",
760
- "modal-body": "_modal-body_sth7y_66",
761
- "modal-footer": "_modal-footer_sth7y_85",
762
- "view-group": "_view-group_sth7y_96",
763
- "view-label": "_view-label_sth7y_103",
764
- "view-badge-row": "_view-badge-row_sth7y_113",
765
- "view-task-title": "_view-task-title_sth7y_121",
766
- "view-value-strong": "_view-value-strong_sth7y_131",
767
- "view-description": "_view-description_sth7y_139",
768
- "text-muted": "_text-muted_sth7y_147",
769
- "form-group": "_form-group_sth7y_153",
770
- "form-row": "_form-row_sth7y_159",
771
- "form-label": "_form-label_sth7y_165",
772
- "form-control": "_form-control_sth7y_175",
773
- textarea: Ae,
774
- icon: Ce,
775
- "icon-pencil": "_icon-pencil_sth7y_214"
776
- }, U = [
955
+ he.displayName = "TaskItem";
956
+ const ca = "_textarea_m18cx_191", oa = "_icon_m18cx_197", c = {
957
+ "modal-overlay": "_modal-overlay_m18cx_4",
958
+ "is-active": "_is-active_m18cx_19",
959
+ "modal-content": "_modal-content_m18cx_25",
960
+ "modal-header": "_modal-header_m18cx_46",
961
+ "modal-header-title": "_modal-header-title_m18cx_55",
962
+ "modal-body": "_modal-body_m18cx_65",
963
+ "modal-footer": "_modal-footer_m18cx_84",
964
+ "view-group": "_view-group_m18cx_95",
965
+ "view-label": "_view-label_m18cx_101",
966
+ "view-badge-row": "_view-badge-row_m18cx_111",
967
+ "view-task-title": "_view-task-title_m18cx_118",
968
+ "view-value-strong": "_view-value-strong_m18cx_127",
969
+ "view-description": "_view-description_m18cx_134",
970
+ "text-muted": "_text-muted_m18cx_142",
971
+ "form-group": "_form-group_m18cx_148",
972
+ "form-row": "_form-row_m18cx_154",
973
+ "form-label": "_form-label_m18cx_160",
974
+ "form-control": "_form-control_m18cx_170",
975
+ textarea: ca,
976
+ icon: oa,
977
+ "icon-pencil": "_icon-pencil_m18cx_207"
978
+ }, ne = [
777
979
  { value: "Q1", label: "Q1 Roadmap" },
778
980
  { value: "FR", label: "Frontend Relaunch" },
779
981
  { value: "UR", label: "User Research" }
780
- ], Y = [
982
+ ], re = [
781
983
  { initials: "FV", name: "Fabian Venmann" },
782
984
  { initials: "LV", name: "Luca Vitiello" },
783
985
  { initials: "AS", name: "Anna Schmidt" }
784
- ], ie = w.forwardRef(
785
- ({ isOpen: a, onClose: l, task: r, onSave: o, initialMode: i = "view", className: _, ...u }, f) => {
786
- const [m, g] = I(i), [t, b] = I(null);
787
- if (z(() => {
788
- a && r && (b({ ...r, checklist: [...r.checklist] }), g(i));
789
- }, [a, r, i]), z(() => {
790
- const d = (S) => {
791
- S.key === "Escape" && a && l();
986
+ ], ve = N.forwardRef(
987
+ ({ isOpen: a, onClose: t, task: s, onSave: n, initialMode: l = "view", className: o, ...d }, g) => {
988
+ const [m, h] = $(l), [r, f] = $(null);
989
+ if (Q(() => {
990
+ a && s && (f({ ...s, checklist: [...s.checklist] }), h(l));
991
+ }, [a, s, l]), Q(() => {
992
+ const u = (j) => {
993
+ j.key === "Escape" && a && t();
792
994
  };
793
- return document.addEventListener("keydown", d), () => document.removeEventListener("keydown", d);
794
- }, [a, l]), !a || !r || !t) return null;
795
- const j = () => {
796
- o && o(t), g("view");
797
- }, k = () => {
798
- l();
799
- }, p = (d) => {
800
- b({ ...t, checklist: d });
801
- }, y = (d) => {
802
- const S = U.find((T) => T.value === d.target.value);
803
- b({
804
- ...t,
805
- project: d.target.value,
806
- projectLabel: S?.label || d.target.value
995
+ return document.addEventListener("keydown", u), () => document.removeEventListener("keydown", u);
996
+ }, [a, t]), !a || !s || !r) return null;
997
+ const x = () => {
998
+ n && n(r), h("view");
999
+ }, y = () => {
1000
+ t();
1001
+ }, p = (u) => {
1002
+ f({ ...r, checklist: u });
1003
+ }, w = (u) => {
1004
+ const j = ne.find((I) => I.value === u.target.value);
1005
+ f({
1006
+ ...r,
1007
+ project: u.target.value,
1008
+ projectLabel: j?.label || u.target.value
807
1009
  });
808
- }, c = (d) => {
809
- const S = Y.find((T) => T.initials.toLowerCase() === d.target.value);
810
- S && b({ ...t, assignees: [S] });
811
- }, N = () => {
812
- const d = {
1010
+ }, _ = (u) => {
1011
+ const j = re.find((I) => I.initials.toLowerCase() === u.target.value);
1012
+ j && f({ ...r, assignees: [j] });
1013
+ }, k = () => {
1014
+ const u = {
813
1015
  id: `check-${Date.now()}`,
814
1016
  text: "",
815
1017
  checked: !1
816
1018
  };
817
- b({
818
- ...t,
819
- checklist: [...t.checklist, d]
1019
+ f({
1020
+ ...r,
1021
+ checklist: [...r.checklist, u]
820
1022
  });
821
- }, h = (d) => {
822
- d.target === d.currentTarget && k();
1023
+ }, v = (u) => {
1024
+ u.target === u.currentTarget && y();
823
1025
  };
824
1026
  return /* @__PURE__ */ e(
825
1027
  "div",
826
1028
  {
827
- ref: f,
828
- className: v(s["modal-overlay"], { [s["is-active"]]: a }, _),
829
- onClick: h,
1029
+ ref: g,
1030
+ className: b(c["modal-overlay"], { [c["is-active"]]: a }, o),
1031
+ onClick: v,
830
1032
  role: "dialog",
831
1033
  "aria-modal": "true",
832
1034
  "aria-labelledby": "modalTitle",
833
- ...u,
834
- children: /* @__PURE__ */ n("div", { className: s["modal-content"], "data-mode": m, children: [
835
- /* @__PURE__ */ n("header", { className: s["modal-header"], children: [
836
- /* @__PURE__ */ e("h2", { className: s["modal-header-title"], id: "modalTitle", children: m === "edit" ? "Aufgabe bearbeiten" : "Aufgaben-Details" }),
837
- /* @__PURE__ */ e(P, { variant: "ghost", onClick: k, "aria-label": "Schließen", children: /* @__PURE__ */ e("svg", { className: s.icon, viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { d: "M18 6 6 18M6 6l12 12" }) }) })
1035
+ ...d,
1036
+ children: /* @__PURE__ */ i("div", { className: c["modal-content"], "data-mode": m, children: [
1037
+ /* @__PURE__ */ i("header", { className: c["modal-header"], children: [
1038
+ /* @__PURE__ */ e("h2", { className: c["modal-header-title"], id: "modalTitle", children: m === "edit" ? "Aufgabe bearbeiten" : "Aufgaben-Details" }),
1039
+ /* @__PURE__ */ e(z, { variant: "ghost", onClick: y, "aria-label": "Schließen", children: /* @__PURE__ */ e("svg", { className: c.icon, viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { d: "M18 6 6 18M6 6l12 12" }) }) })
838
1040
  ] }),
839
- m === "view" ? /* @__PURE__ */ n("div", { className: s["modal-body"], children: [
840
- /* @__PURE__ */ n("div", { className: s["view-group"], children: [
841
- /* @__PURE__ */ e("span", { className: s["view-label"], children: "Titel" }),
842
- /* @__PURE__ */ e("h3", { className: s["view-task-title"], children: t.title })
1041
+ m === "view" ? /* @__PURE__ */ i("div", { className: c["modal-body"], children: [
1042
+ /* @__PURE__ */ i("div", { className: c["view-group"], children: [
1043
+ /* @__PURE__ */ e("span", { className: c["view-label"], children: "Titel" }),
1044
+ /* @__PURE__ */ e("h3", { className: c["view-task-title"], children: r.title })
843
1045
  ] }),
844
- /* @__PURE__ */ n("div", { className: s["view-badge-row"], children: [
845
- /* @__PURE__ */ n("div", { className: s["view-group"], children: [
846
- /* @__PURE__ */ e("span", { className: s["view-label"], children: "Verantwortlich" }),
847
- t.assignees.length > 0 ? /* @__PURE__ */ e(H, { children: t.assignees.map((d, S) => /* @__PURE__ */ e(B, { initials: d.initials, name: d.name }, S)) }) : /* @__PURE__ */ e(B, { initials: "?", name: "Nicht zugewiesen" })
1046
+ /* @__PURE__ */ i("div", { className: c["view-badge-row"], children: [
1047
+ /* @__PURE__ */ i("div", { className: c["view-group"], children: [
1048
+ /* @__PURE__ */ e("span", { className: c["view-label"], children: "Verantwortlich" }),
1049
+ r.assignees.length > 0 ? /* @__PURE__ */ e(X, { children: r.assignees.map((u, j) => /* @__PURE__ */ e(B, { initials: u.initials, name: u.name }, j)) }) : /* @__PURE__ */ e(B, { initials: "?", name: "Nicht zugewiesen" })
848
1050
  ] }),
849
- /* @__PURE__ */ n("div", { className: s["view-group"], children: [
850
- /* @__PURE__ */ e("span", { className: s["view-label"], children: "Projekt" }),
851
- /* @__PURE__ */ n(G, { children: [
852
- /* @__PURE__ */ e("svg", { className: s["icon-sm"], viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { d: "M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" }) }),
853
- t.projectLabel || t.project
1051
+ /* @__PURE__ */ i("div", { className: c["view-group"], children: [
1052
+ /* @__PURE__ */ e("span", { className: c["view-label"], children: "Projekt" }),
1053
+ /* @__PURE__ */ i(Z, { children: [
1054
+ /* @__PURE__ */ e("svg", { className: c["icon-sm"], viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { d: "M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" }) }),
1055
+ r.projectLabel || r.project
854
1056
  ] })
855
1057
  ] }),
856
- /* @__PURE__ */ n("div", { className: s["view-group"], children: [
857
- /* @__PURE__ */ e("span", { className: s["view-label"], children: "Priorität" }),
858
- t.priority ? /* @__PURE__ */ e(K, { level: t.priority, size: "large" }) : /* @__PURE__ */ e("div", { className: s["text-muted"], children: "Keine" })
1058
+ /* @__PURE__ */ i("div", { className: c["view-group"], children: [
1059
+ /* @__PURE__ */ e("span", { className: c["view-label"], children: "Priorität" }),
1060
+ r.priority ? /* @__PURE__ */ e(ee, { level: r.priority, size: "large" }) : /* @__PURE__ */ e("div", { className: c["text-muted"], children: "Keine" })
859
1061
  ] }),
860
- /* @__PURE__ */ n("div", { className: s["view-group"], children: [
861
- /* @__PURE__ */ e("span", { className: s["view-label"], children: "Status" }),
862
- /* @__PURE__ */ e(G, { children: t.status })
1062
+ /* @__PURE__ */ i("div", { className: c["view-group"], children: [
1063
+ /* @__PURE__ */ e("span", { className: c["view-label"], children: "Status" }),
1064
+ /* @__PURE__ */ e(Z, { children: r.status })
863
1065
  ] }),
864
- /* @__PURE__ */ n("div", { className: s["view-group"], children: [
865
- /* @__PURE__ */ e("span", { className: s["view-label"], children: "Fälligkeit" }),
866
- /* @__PURE__ */ e("div", { className: s["view-value-strong"], children: t.deadline })
1066
+ /* @__PURE__ */ i("div", { className: c["view-group"], children: [
1067
+ /* @__PURE__ */ e("span", { className: c["view-label"], children: "Fälligkeit" }),
1068
+ /* @__PURE__ */ e("div", { className: c["view-value-strong"], children: r.deadline })
867
1069
  ] })
868
1070
  ] }),
869
- /* @__PURE__ */ n("div", { className: s["view-group"], children: [
870
- /* @__PURE__ */ e("span", { className: s["view-label"], children: "Beschreibung" }),
871
- /* @__PURE__ */ e("p", { className: s["view-description"], children: t.description || /* @__PURE__ */ e("span", { className: s["text-muted"], children: "Keine Beschreibung vorhanden." }) })
1071
+ /* @__PURE__ */ i("div", { className: c["view-group"], children: [
1072
+ /* @__PURE__ */ e("span", { className: c["view-label"], children: "Beschreibung" }),
1073
+ /* @__PURE__ */ e("p", { className: c["view-description"], children: r.description || /* @__PURE__ */ e("span", { className: c["text-muted"], children: "Keine Beschreibung vorhanden." }) })
872
1074
  ] }),
873
- /* @__PURE__ */ n("div", { className: s["view-group"], children: [
874
- /* @__PURE__ */ e("span", { className: s["view-label"], children: "To-Do Checkliste" }),
875
- /* @__PURE__ */ e(W, { items: t.checklist, onChange: p, editable: !1 })
1075
+ /* @__PURE__ */ i("div", { className: c["view-group"], children: [
1076
+ /* @__PURE__ */ e("span", { className: c["view-label"], children: "To-Do Checkliste" }),
1077
+ /* @__PURE__ */ e(J, { items: r.checklist, onChange: p, editable: !1 })
876
1078
  ] })
877
- ] }) : /* @__PURE__ */ n("div", { className: s["modal-body"], children: [
878
- /* @__PURE__ */ n("div", { className: s["form-group"], children: [
879
- /* @__PURE__ */ e("label", { className: s["form-label"], htmlFor: "taskTitle", children: "Titel" }),
1079
+ ] }) : /* @__PURE__ */ i("div", { className: c["modal-body"], children: [
1080
+ /* @__PURE__ */ i("div", { className: c["form-group"], children: [
1081
+ /* @__PURE__ */ e("label", { className: c["form-label"], htmlFor: "taskTitle", children: "Titel" }),
880
1082
  /* @__PURE__ */ e(
881
1083
  "input",
882
1084
  {
883
1085
  type: "text",
884
1086
  id: "taskTitle",
885
- className: s["form-control"],
886
- value: t.title,
887
- onChange: (d) => b({ ...t, title: d.target.value })
1087
+ className: c["form-control"],
1088
+ value: r.title,
1089
+ onChange: (u) => f({ ...r, title: u.target.value })
888
1090
  }
889
1091
  )
890
1092
  ] }),
891
- /* @__PURE__ */ n("div", { className: s["form-row"], children: [
892
- /* @__PURE__ */ n("div", { className: s["form-group"], children: [
893
- /* @__PURE__ */ e("label", { className: s["form-label"], htmlFor: "taskProject", children: "Projekt" }),
1093
+ /* @__PURE__ */ i("div", { className: c["form-row"], children: [
1094
+ /* @__PURE__ */ i("div", { className: c["form-group"], children: [
1095
+ /* @__PURE__ */ e("label", { className: c["form-label"], htmlFor: "taskProject", children: "Projekt" }),
894
1096
  /* @__PURE__ */ e(
895
1097
  "select",
896
1098
  {
897
1099
  id: "taskProject",
898
- className: s["form-control"],
899
- value: t.project,
900
- onChange: y,
901
- children: U.map((d) => /* @__PURE__ */ e("option", { value: d.value, children: d.label }, d.value))
1100
+ className: c["form-control"],
1101
+ value: r.project,
1102
+ onChange: w,
1103
+ children: ne.map((u) => /* @__PURE__ */ e("option", { value: u.value, children: u.label }, u.value))
902
1104
  }
903
1105
  )
904
1106
  ] }),
905
- /* @__PURE__ */ n("div", { className: s["form-group"], children: [
906
- /* @__PURE__ */ e("label", { className: s["form-label"], htmlFor: "taskStatus", children: "Status" }),
907
- /* @__PURE__ */ n(
1107
+ /* @__PURE__ */ i("div", { className: c["form-group"], children: [
1108
+ /* @__PURE__ */ e("label", { className: c["form-label"], htmlFor: "taskStatus", children: "Status" }),
1109
+ /* @__PURE__ */ i(
908
1110
  "select",
909
1111
  {
910
1112
  id: "taskStatus",
911
- className: s["form-control"],
912
- value: t.status,
913
- onChange: (d) => b({ ...t, status: d.target.value }),
1113
+ className: c["form-control"],
1114
+ value: r.status,
1115
+ onChange: (u) => f({ ...r, status: u.target.value }),
914
1116
  children: [
915
1117
  /* @__PURE__ */ e("option", { value: "Offen", children: "Offen" }),
916
1118
  /* @__PURE__ */ e("option", { value: "In Arbeit", children: "In Arbeit" }),
@@ -920,29 +1122,29 @@ const Ae = "_textarea_sth7y_196", Ce = "_icon_sth7y_203", s = {
920
1122
  )
921
1123
  ] })
922
1124
  ] }),
923
- /* @__PURE__ */ n("div", { className: s["form-row"], children: [
924
- /* @__PURE__ */ n("div", { className: s["form-group"], children: [
925
- /* @__PURE__ */ e("label", { className: s["form-label"], htmlFor: "taskDate", children: "Fälligkeitsdatum" }),
1125
+ /* @__PURE__ */ i("div", { className: c["form-row"], children: [
1126
+ /* @__PURE__ */ i("div", { className: c["form-group"], children: [
1127
+ /* @__PURE__ */ e("label", { className: c["form-label"], htmlFor: "taskDate", children: "Fälligkeitsdatum" }),
926
1128
  /* @__PURE__ */ e(
927
1129
  "input",
928
1130
  {
929
1131
  type: "text",
930
1132
  id: "taskDate",
931
- className: s["form-control"],
932
- value: t.deadline,
933
- onChange: (d) => b({ ...t, deadline: d.target.value })
1133
+ className: c["form-control"],
1134
+ value: r.deadline,
1135
+ onChange: (u) => f({ ...r, deadline: u.target.value })
934
1136
  }
935
1137
  )
936
1138
  ] }),
937
- /* @__PURE__ */ n("div", { className: s["form-group"], children: [
938
- /* @__PURE__ */ e("label", { className: s["form-label"], htmlFor: "taskPriority", children: "Priorität" }),
939
- /* @__PURE__ */ n(
1139
+ /* @__PURE__ */ i("div", { className: c["form-group"], children: [
1140
+ /* @__PURE__ */ e("label", { className: c["form-label"], htmlFor: "taskPriority", children: "Priorität" }),
1141
+ /* @__PURE__ */ i(
940
1142
  "select",
941
1143
  {
942
1144
  id: "taskPriority",
943
- className: s["form-control"],
944
- value: t.priority || "",
945
- onChange: (d) => b({ ...t, priority: d.target.value || void 0 }),
1145
+ className: c["form-control"],
1146
+ value: r.priority || "",
1147
+ onChange: (u) => f({ ...r, priority: u.target.value || void 0 }),
946
1148
  children: [
947
1149
  /* @__PURE__ */ e("option", { value: "", children: "Keine" }),
948
1150
  /* @__PURE__ */ e("option", { value: "high", children: "Hoch (!!)" }),
@@ -953,79 +1155,79 @@ const Ae = "_textarea_sth7y_196", Ce = "_icon_sth7y_203", s = {
953
1155
  )
954
1156
  ] })
955
1157
  ] }),
956
- /* @__PURE__ */ n("div", { className: s["form-group"], children: [
957
- /* @__PURE__ */ e("label", { className: s["form-label"], htmlFor: "taskAssignee", children: "Verantwortlich" }),
958
- /* @__PURE__ */ n("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
959
- /* @__PURE__ */ e(B, { initials: t.assignees[0]?.initials || "?" }),
1158
+ /* @__PURE__ */ i("div", { className: c["form-group"], children: [
1159
+ /* @__PURE__ */ e("label", { className: c["form-label"], htmlFor: "taskAssignee", children: "Verantwortlich" }),
1160
+ /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
1161
+ /* @__PURE__ */ e(B, { initials: r.assignees[0]?.initials || "?" }),
960
1162
  /* @__PURE__ */ e(
961
1163
  "select",
962
1164
  {
963
1165
  id: "taskAssignee",
964
- className: s["form-control"],
1166
+ className: c["form-control"],
965
1167
  style: { flex: 1 },
966
- value: t.assignees[0]?.initials.toLowerCase() || "",
967
- onChange: c,
968
- children: Y.map((d) => /* @__PURE__ */ e("option", { value: d.initials.toLowerCase(), children: d.name }, d.initials))
1168
+ value: r.assignees[0]?.initials.toLowerCase() || "",
1169
+ onChange: _,
1170
+ children: re.map((u) => /* @__PURE__ */ e("option", { value: u.initials.toLowerCase(), children: u.name }, u.initials))
969
1171
  }
970
1172
  )
971
1173
  ] })
972
1174
  ] }),
973
- /* @__PURE__ */ n("div", { className: s["form-group"], children: [
974
- /* @__PURE__ */ e("label", { className: s["form-label"], htmlFor: "taskDescription", children: "Beschreibung" }),
1175
+ /* @__PURE__ */ i("div", { className: c["form-group"], children: [
1176
+ /* @__PURE__ */ e("label", { className: c["form-label"], htmlFor: "taskDescription", children: "Beschreibung" }),
975
1177
  /* @__PURE__ */ e(
976
1178
  "textarea",
977
1179
  {
978
1180
  id: "taskDescription",
979
- className: v(s["form-control"], s.textarea),
1181
+ className: b(c["form-control"], c.textarea),
980
1182
  placeholder: "Weitere Details zur Aufgabe...",
981
- value: t.description || "",
982
- onChange: (d) => b({ ...t, description: d.target.value })
1183
+ value: r.description || "",
1184
+ onChange: (u) => f({ ...r, description: u.target.value })
983
1185
  }
984
1186
  )
985
1187
  ] }),
986
- /* @__PURE__ */ n("div", { className: s["form-group"], children: [
987
- /* @__PURE__ */ e("label", { className: s["form-label"], children: "To-Do Checkliste" }),
988
- /* @__PURE__ */ e(W, { items: t.checklist, onChange: p, editable: !0 }),
1188
+ /* @__PURE__ */ i("div", { className: c["form-group"], children: [
1189
+ /* @__PURE__ */ e("label", { className: c["form-label"], children: "To-Do Checkliste" }),
1190
+ /* @__PURE__ */ e(J, { items: r.checklist, onChange: p, editable: !0 }),
989
1191
  /* @__PURE__ */ e(
990
- P,
1192
+ z,
991
1193
  {
992
1194
  variant: "ghost",
993
- onClick: N,
1195
+ onClick: k,
994
1196
  style: { alignSelf: "flex-start", marginTop: "0.25rem" },
995
1197
  children: "+ Neues Element"
996
1198
  }
997
1199
  )
998
1200
  ] })
999
1201
  ] }),
1000
- m === "view" ? /* @__PURE__ */ n("footer", { className: s["modal-footer"], children: [
1001
- /* @__PURE__ */ e(P, { variant: "outline", onClick: k, children: "Schließen" }),
1002
- /* @__PURE__ */ n(P, { variant: "primary", onClick: () => g("edit"), children: [
1003
- /* @__PURE__ */ e("svg", { className: s["icon-pencil"], viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { d: "M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z" }) }),
1202
+ m === "view" ? /* @__PURE__ */ i("footer", { className: c["modal-footer"], children: [
1203
+ /* @__PURE__ */ e(z, { variant: "outline", onClick: y, children: "Schließen" }),
1204
+ /* @__PURE__ */ i(z, { variant: "primary", onClick: () => h("edit"), children: [
1205
+ /* @__PURE__ */ e("svg", { className: c["icon-pencil"], viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { d: "M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z" }) }),
1004
1206
  "Bearbeiten"
1005
1207
  ] })
1006
- ] }) : /* @__PURE__ */ n("footer", { className: s["modal-footer"], children: [
1007
- /* @__PURE__ */ e(P, { variant: "outline", onClick: () => g("view"), children: "Abbrechen" }),
1008
- /* @__PURE__ */ e(P, { variant: "primary", onClick: j, children: "Speichern" })
1208
+ ] }) : /* @__PURE__ */ i("footer", { className: c["modal-footer"], children: [
1209
+ /* @__PURE__ */ e(z, { variant: "outline", onClick: () => h("view"), children: "Abbrechen" }),
1210
+ /* @__PURE__ */ e(z, { variant: "primary", onClick: x, children: "Speichern" })
1009
1211
  ] })
1010
1212
  ] })
1011
1213
  }
1012
1214
  );
1013
1215
  }
1014
1216
  );
1015
- ie.displayName = "TaskDetailModal";
1016
- const xe = "_icon_1fdjp_65", R = {
1017
- "widget-card": "_widget-card_1fdjp_4",
1018
- "widget-header": "_widget-header_1fdjp_20",
1019
- "widget-header__title": "_widget-header__title_1fdjp_30",
1020
- "task-list": "_task-list_1fdjp_41",
1021
- icon: xe,
1022
- "icon-sm": "_icon-sm_1fdjp_75"
1023
- }, Ie = w.forwardRef(
1024
- ({ tasks: a, onTaskUpdate: l, onTaskAdd: r, className: o, ...i }, _) => {
1025
- const [u, f] = I(a), [m, g] = I(!1), [t, b] = I(null), [j, k] = I("view"), p = (h) => {
1026
- b(h), k("view"), g(!0);
1027
- }, y = () => {
1028
- const h = {
1217
+ ve.displayName = "TaskDetailModal";
1218
+ const da = "_icon_gqjal_64", R = {
1219
+ "widget-card": "_widget-card_gqjal_4",
1220
+ "widget-header": "_widget-header_gqjal_20",
1221
+ "widget-header__title": "_widget-header__title_gqjal_30",
1222
+ "task-list": "_task-list_gqjal_41",
1223
+ icon: da,
1224
+ "icon-sm": "_icon-sm_gqjal_74"
1225
+ }, _a = N.forwardRef(
1226
+ ({ tasks: a, onTaskUpdate: t, onTaskAdd: s, className: n, ...l }, o) => {
1227
+ const [d, g] = $(a), [m, h] = $(!1), [r, f] = $(null), [x, y] = $("view"), p = (v) => {
1228
+ f(v), y("view"), h(!0);
1229
+ }, w = () => {
1230
+ const v = {
1029
1231
  id: `new-${Date.now()}`,
1030
1232
  title: "Neue Aufgabe",
1031
1233
  project: "Q1",
@@ -1037,63 +1239,63 @@ const xe = "_icon_1fdjp_65", R = {
1037
1239
  description: "",
1038
1240
  checklist: []
1039
1241
  };
1040
- b(h), k("edit"), g(!0);
1041
- }, c = (h) => {
1042
- if (u.some((S) => S.id === h.id)) {
1043
- const S = u.map((T) => T.id === h.id ? h : T);
1044
- f(S), l && l(h);
1242
+ f(v), y("edit"), h(!0);
1243
+ }, _ = (v) => {
1244
+ if (d.some((j) => j.id === v.id)) {
1245
+ const j = d.map((I) => I.id === v.id ? v : I);
1246
+ g(j), t && t(v);
1045
1247
  } else
1046
- f([...u, h]), r && r(h);
1047
- b(h);
1048
- }, N = (h, d) => {
1049
- const S = u.map((T) => {
1050
- if (T.id === h) {
1051
- const q = { ...T, status: d };
1052
- return l && l(q), q;
1248
+ g([...d, v]), s && s(v);
1249
+ f(v);
1250
+ }, k = (v, u) => {
1251
+ const j = d.map((I) => {
1252
+ if (I.id === v) {
1253
+ const ae = { ...I, status: u };
1254
+ return t && t(ae), ae;
1053
1255
  }
1054
- return T;
1256
+ return I;
1055
1257
  });
1056
- f(S);
1258
+ g(j);
1057
1259
  };
1058
- return /* @__PURE__ */ n(
1260
+ return /* @__PURE__ */ i(
1059
1261
  "main",
1060
1262
  {
1061
- ref: _,
1062
- className: v(R["widget-card"], o),
1063
- ...i,
1263
+ ref: o,
1264
+ className: b(R["widget-card"], n),
1265
+ ...l,
1064
1266
  children: [
1065
- /* @__PURE__ */ n("header", { className: R["widget-header"], children: [
1267
+ /* @__PURE__ */ i("header", { className: R["widget-header"], children: [
1066
1268
  /* @__PURE__ */ e("h2", { className: R["widget-header__title"], children: "Aufgaben" }),
1067
- /* @__PURE__ */ n(P, { variant: "primary", onClick: y, "aria-label": "Neue Aufgabe erstellen", children: [
1068
- /* @__PURE__ */ e("svg", { className: v(R.icon, R["icon-sm"]), viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { d: "M12 5v14M5 12h14" }) }),
1269
+ /* @__PURE__ */ i(z, { variant: "primary", onClick: w, "aria-label": "Neue Aufgabe erstellen", children: [
1270
+ /* @__PURE__ */ e("svg", { className: b(R.icon, R["icon-sm"]), viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { d: "M12 5v14M5 12h14" }) }),
1069
1271
  "Neu"
1070
1272
  ] })
1071
1273
  ] }),
1072
- /* @__PURE__ */ e("div", { className: R["task-list"], role: "list", "aria-label": "Aufgabenliste", children: u.map((h) => /* @__PURE__ */ e(
1073
- re,
1274
+ /* @__PURE__ */ e("div", { className: R["task-list"], role: "list", "aria-label": "Aufgabenliste", children: d.map((v) => /* @__PURE__ */ e(
1275
+ he,
1074
1276
  {
1075
- title: h.title,
1076
- project: h.project,
1077
- projectLabel: h.projectLabel,
1078
- status: h.status,
1079
- deadline: h.deadline,
1080
- deadlineType: h.deadlineType,
1081
- priority: h.priority,
1082
- assignees: h.assignees,
1083
- description: h.description,
1084
- onClick: () => p(h),
1085
- onStatusChange: (d) => N(h.id, d)
1277
+ title: v.title,
1278
+ project: v.project,
1279
+ projectLabel: v.projectLabel,
1280
+ status: v.status,
1281
+ deadline: v.deadline,
1282
+ deadlineType: v.deadlineType,
1283
+ priority: v.priority,
1284
+ assignees: v.assignees,
1285
+ description: v.description,
1286
+ onClick: () => p(v),
1287
+ onStatusChange: (u) => k(v.id, u)
1086
1288
  },
1087
- h.id
1289
+ v.id
1088
1290
  )) }),
1089
1291
  /* @__PURE__ */ e(
1090
- ie,
1292
+ ve,
1091
1293
  {
1092
1294
  isOpen: m,
1093
- onClose: () => g(!1),
1094
- task: t,
1095
- initialMode: j,
1096
- onSave: c
1295
+ onClose: () => h(!1),
1296
+ task: r,
1297
+ initialMode: x,
1298
+ onSave: _
1097
1299
  }
1098
1300
  )
1099
1301
  ]
@@ -1101,22 +1303,28 @@ const xe = "_icon_1fdjp_65", R = {
1101
1303
  );
1102
1304
  }
1103
1305
  );
1104
- Ie.displayName = "TaskWidget";
1306
+ _a.displayName = "TaskWidget";
1105
1307
  export {
1106
1308
  B as Avatar,
1107
- H as AvatarGroup,
1108
- G as Badge,
1109
- P as Button,
1110
- W as Checklist,
1111
- ke as DashboardPage,
1112
- te as FavoriteButton,
1113
- K as PriorityBadge,
1114
- le as ProjectTable,
1115
- ee as StatusBadge,
1116
- se as StatusChart,
1117
- ne as StatusDropdown,
1118
- ae as StatusLegendItem,
1119
- ie as TaskDetailModal,
1120
- re as TaskItem,
1121
- Ie as TaskWidget
1309
+ X as AvatarGroup,
1310
+ Z as Badge,
1311
+ z as Button,
1312
+ J as Checklist,
1313
+ na as DashboardPage,
1314
+ Ze as EmptyState,
1315
+ Le as ExpandButton,
1316
+ oe as FavoriteButton,
1317
+ ee as PriorityBadge,
1318
+ Ee as ProgressCircle,
1319
+ ue as ProjectTable,
1320
+ Ge as ScoreBar,
1321
+ Ie as SearchInput,
1322
+ ea as SegmentedControl,
1323
+ ce as StatusBadge,
1324
+ _e as StatusChart,
1325
+ me as StatusDropdown,
1326
+ de as StatusLegendItem,
1327
+ ve as TaskDetailModal,
1328
+ he as TaskItem,
1329
+ _a as TaskWidget
1122
1330
  };