@nice2dev/ui-erp 1.1.9 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -230,6 +230,21 @@ export declare interface Money {
230
230
 
231
231
  export declare const NICE_VAT_PRESETS: Record<'PL' | 'EU' | 'UK', VatRate[]>;
232
232
 
233
+ export declare const NiceCapacityPlanner: default_2.FC<NiceCapacityPlannerProps>;
234
+
235
+ export declare interface NiceCapacityPlannerProps {
236
+ resources: Resource[];
237
+ allocations: Allocation[];
238
+ dateRange: DateRange;
239
+ viewConfig?: Partial<AllocationViewConfig>;
240
+ onAllocationCreate?: (allocation: Omit<Allocation, 'id'>) => void;
241
+ onAllocationUpdate?: (allocation: Allocation) => void;
242
+ onAllocationDelete?: (allocationId: string) => void;
243
+ onResourceClick?: (resource: Resource) => void;
244
+ readOnly?: boolean;
245
+ className?: string;
246
+ }
247
+
233
248
  export declare const NiceHRDashboard: default_2.ForwardRefExoticComponent<NiceHRDashboardProps & default_2.RefAttributes<HTMLDivElement>>;
234
249
 
235
250
  export declare interface NiceHRDashboardProps extends NiceStandardProps {
@@ -399,21 +414,6 @@ export declare interface NicePurchaseOrderViewProps extends NicePurchaseOrderPro
399
414
  }>;
400
415
  }
401
416
 
402
- export declare const NiceResourceAllocation: default_2.FC<NiceResourceAllocationProps>;
403
-
404
- export declare interface NiceResourceAllocationProps {
405
- resources: Resource[];
406
- allocations: Allocation[];
407
- dateRange: DateRange;
408
- viewConfig?: Partial<AllocationViewConfig>;
409
- onAllocationCreate?: (allocation: Omit<Allocation, 'id'>) => void;
410
- onAllocationUpdate?: (allocation: Allocation) => void;
411
- onAllocationDelete?: (allocationId: string) => void;
412
- onResourceClick?: (resource: Resource) => void;
413
- readOnly?: boolean;
414
- className?: string;
415
- }
416
-
417
417
  export declare const NiceVatTable: ForwardRefExoticComponent<NiceVatTableProps & RefAttributes<HTMLDivElement>>;
418
418
 
419
419
  export declare interface NiceVatTableProps extends NiceStandardProps {