@voyant-travel/operations-react 0.18.0 → 0.19.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/availability/admin/availability-index-host.d.ts +1 -1
- package/dist/availability/admin/availability-index-host.d.ts.map +1 -1
- package/dist/availability/admin/availability-index-host.js +8 -8
- package/dist/availability/admin/option-resource-template-seat-map.d.ts +1 -1
- package/dist/availability/admin/option-resource-template-seat-map.d.ts.map +1 -1
- package/dist/availability/admin/option-resource-templates-panel.d.ts +1 -1
- package/dist/availability/admin/option-resource-templates-panel.d.ts.map +1 -1
- package/dist/availability/admin/option-resource-templates-panel.js +1 -1
- package/dist/availability/admin/pages/availability-rule-detail-page.d.ts +1 -1
- package/dist/availability/admin/pages/availability-rule-detail-page.d.ts.map +1 -1
- package/dist/availability/admin/pages/availability-rule-detail-page.js +1 -0
- package/dist/availability/admin/pages/availability-slot-detail-page.d.ts +1 -1
- package/dist/availability/admin/pages/availability-slot-detail-page.d.ts.map +1 -1
- package/dist/availability/admin/pages/availability-slot-detail-page.js +1 -0
- package/dist/availability/admin/pages/availability-start-time-detail-page.d.ts +1 -1
- package/dist/availability/admin/pages/availability-start-time-detail-page.d.ts.map +1 -1
- package/dist/availability/admin/pages/availability-start-time-detail-page.js +1 -0
- package/dist/availability/admin/rule-detail-host.d.ts +1 -1
- package/dist/availability/admin/rule-detail-host.d.ts.map +1 -1
- package/dist/availability/admin/slot-detail-host.d.ts +1 -1
- package/dist/availability/admin/slot-detail-host.d.ts.map +1 -1
- package/dist/availability/admin/start-time-detail-host.d.ts +1 -1
- package/dist/availability/admin/start-time-detail-host.d.ts.map +1 -1
- package/dist/availability/allocation/components/seat-map-builder.d.ts +1 -1
- package/dist/availability/allocation/components/seat-map-builder.d.ts.map +1 -1
- package/dist/availability/allocation/components/slot-allocation-add-resource-dialog.d.ts +1 -1
- package/dist/availability/allocation/components/slot-allocation-add-resource-dialog.d.ts.map +1 -1
- package/dist/availability/allocation/components/slot-allocation-add-resource-dialog.js +1 -1
- package/dist/availability/allocation/components/slot-allocation-page-panels.d.ts +2 -2
- package/dist/availability/allocation/components/slot-allocation-page-panels.d.ts.map +1 -1
- package/dist/availability/allocation/components/slot-allocation-page.d.ts +1 -1
- package/dist/availability/allocation/components/slot-allocation-page.d.ts.map +1 -1
- package/dist/availability/allocation/components/slot-allocation-resource-view-rows.d.ts +2 -2
- package/dist/availability/allocation/components/slot-allocation-resource-view-rows.d.ts.map +1 -1
- package/dist/availability/allocation/components/slot-allocation-resource-view.d.ts +1 -1
- package/dist/availability/allocation/components/slot-allocation-resource-view.d.ts.map +1 -1
- package/dist/availability/allocation/components/slot-allocation-seat-view.d.ts +1 -1
- package/dist/availability/allocation/components/slot-allocation-seat-view.d.ts.map +1 -1
- package/dist/availability/allocation/components/slot-allocation-seat-view.js +3 -3
- package/dist/availability/allocation/components/slot-allocation-shared.d.ts +6 -6
- package/dist/availability/allocation/components/slot-allocation-shared.d.ts.map +1 -1
- package/dist/availability/allocation/i18n/provider.d.ts +1 -1
- package/dist/availability/allocation/i18n/provider.d.ts.map +1 -1
- package/dist/availability/components/availability-dialogs/closeout-dialog.d.ts +1 -1
- package/dist/availability/components/availability-dialogs/closeout-dialog.d.ts.map +1 -1
- package/dist/availability/components/availability-dialogs/closeout-dialog.js +1 -1
- package/dist/availability/components/availability-dialogs/pickup-point-dialog.d.ts +1 -1
- package/dist/availability/components/availability-dialogs/pickup-point-dialog.d.ts.map +1 -1
- package/dist/availability/components/availability-dialogs/pickup-point-dialog.js +1 -1
- package/dist/availability/components/availability-dialogs/rule-dialog.d.ts +1 -1
- package/dist/availability/components/availability-dialogs/rule-dialog.d.ts.map +1 -1
- package/dist/availability/components/availability-dialogs/rule-dialog.js +1 -1
- package/dist/availability/components/availability-dialogs/shared.d.ts +3 -3
- package/dist/availability/components/availability-dialogs/shared.d.ts.map +1 -1
- package/dist/availability/components/availability-dialogs/slot-dialog.d.ts +1 -1
- package/dist/availability/components/availability-dialogs/slot-dialog.d.ts.map +1 -1
- package/dist/availability/components/availability-dialogs/slot-dialog.js +1 -1
- package/dist/availability/components/availability-dialogs/start-time-dialog.d.ts +1 -1
- package/dist/availability/components/availability-dialogs/start-time-dialog.d.ts.map +1 -1
- package/dist/availability/components/availability-dialogs/start-time-dialog.js +1 -1
- package/dist/availability/components/availability-overview.d.ts +1 -1
- package/dist/availability/components/availability-overview.d.ts.map +1 -1
- package/dist/availability/components/availability-page.d.ts +1 -1
- package/dist/availability/components/availability-page.d.ts.map +1 -1
- package/dist/availability/components/availability-rule-detail-page.d.ts +6 -6
- package/dist/availability/components/availability-rule-detail-page.d.ts.map +1 -1
- package/dist/availability/components/availability-rule-detail-page.js +1 -1
- package/dist/availability/components/availability-section-header.d.ts +1 -1
- package/dist/availability/components/availability-section-header.d.ts.map +1 -1
- package/dist/availability/components/availability-skeletons.d.ts +5 -5
- package/dist/availability/components/availability-skeletons.d.ts.map +1 -1
- package/dist/availability/components/availability-slot-detail-activity.d.ts +1 -1
- package/dist/availability/components/availability-slot-detail-activity.d.ts.map +1 -1
- package/dist/availability/components/availability-slot-detail-financials.d.ts +1 -1
- package/dist/availability/components/availability-slot-detail-financials.d.ts.map +1 -1
- package/dist/availability/components/availability-slot-detail-meta.d.ts +1 -1
- package/dist/availability/components/availability-slot-detail-meta.d.ts.map +1 -1
- package/dist/availability/components/availability-slot-detail-page.d.ts +6 -6
- package/dist/availability/components/availability-slot-detail-page.d.ts.map +1 -1
- package/dist/availability/components/availability-start-time-detail-page.d.ts +6 -6
- package/dist/availability/components/availability-start-time-detail-page.d.ts.map +1 -1
- package/dist/availability/components/availability-start-time-detail-page.js +1 -1
- package/dist/availability/components/availability-tabs/other-tabs.d.ts +4 -4
- package/dist/availability/components/availability-tabs/other-tabs.d.ts.map +1 -1
- package/dist/availability/components/availability-tabs/other-tabs.js +10 -10
- package/dist/availability/components/availability-tabs/slots-tab.d.ts +1 -1
- package/dist/availability/components/availability-tabs/slots-tab.d.ts.map +1 -1
- package/dist/availability/components/availability-tabs/slots-tab.js +4 -4
- package/dist/availability/hooks/use-availability-batch-mutations.d.ts +7 -7
- package/dist/availability/hooks/use-availability-batch-mutations.d.ts.map +1 -1
- package/dist/availability/hooks/use-availability-batch-mutations.js +10 -10
- package/dist/availability/hooks/use-availability-closeout-mutation.js +3 -3
- package/dist/availability/hooks/use-availability-overview.d.ts +3 -3
- package/dist/availability/hooks/use-availability-overview.d.ts.map +1 -1
- package/dist/availability/hooks/use-availability-pickup-point-mutation.js +3 -3
- package/dist/availability/hooks/use-availability-rule-mutation.js +3 -3
- package/dist/availability/hooks/use-availability-slot-mutation.d.ts +3 -3
- package/dist/availability/hooks/use-availability-slot-mutation.js +3 -3
- package/dist/availability/hooks/use-availability-start-time-mutation.js +3 -3
- package/dist/availability/hooks/use-closeouts.d.ts +2 -2
- package/dist/availability/hooks/use-closeouts.d.ts.map +1 -1
- package/dist/availability/hooks/use-pickup-points.d.ts +2 -2
- package/dist/availability/hooks/use-pickup-points.d.ts.map +1 -1
- package/dist/availability/hooks/use-products.d.ts +2 -2
- package/dist/availability/hooks/use-products.d.ts.map +1 -1
- package/dist/availability/hooks/use-rules.d.ts +2 -2
- package/dist/availability/hooks/use-rules.d.ts.map +1 -1
- package/dist/availability/hooks/use-slot-allocation.d.ts +6 -6
- package/dist/availability/hooks/use-slot-allocation.d.ts.map +1 -1
- package/dist/availability/hooks/use-slot-allocation.js +4 -3
- package/dist/availability/hooks/use-slot-unit-availability.d.ts +2 -2
- package/dist/availability/hooks/use-slot-unit-availability.d.ts.map +1 -1
- package/dist/availability/hooks/use-slots.d.ts +3 -3
- package/dist/availability/hooks/use-slots.d.ts.map +1 -1
- package/dist/availability/hooks/use-start-times.d.ts +2 -2
- package/dist/availability/hooks/use-start-times.d.ts.map +1 -1
- package/dist/availability/i18n/provider.d.ts +1 -1
- package/dist/availability/i18n/provider.d.ts.map +1 -1
- package/dist/availability/query-options.d.ts +12 -12
- package/dist/availability/query-options.d.ts.map +1 -1
- package/dist/availability/query-options.js +15 -15
- package/dist/availability/schemas.d.ts +8 -8
- package/dist/ground/hooks/use-ground-driver-mutation.js +3 -3
- package/dist/ground/hooks/use-ground-drivers.d.ts +2 -2
- package/dist/ground/hooks/use-ground-drivers.d.ts.map +1 -1
- package/dist/ground/hooks/use-ground-operator-mutation.js +3 -3
- package/dist/ground/hooks/use-ground-operators.d.ts +2 -2
- package/dist/ground/hooks/use-ground-operators.d.ts.map +1 -1
- package/dist/ground/hooks/use-ground-vehicle-mutation.js +3 -3
- package/dist/ground/hooks/use-ground-vehicles.d.ts +2 -2
- package/dist/ground/hooks/use-ground-vehicles.d.ts.map +1 -1
- package/dist/ground/query-options.js +6 -6
- package/dist/ground/schemas.d.ts +3 -3
- package/dist/places/components/facility-badge.d.ts +1 -1
- package/dist/places/components/facility-badge.d.ts.map +1 -1
- package/dist/places/components/facility-combobox.d.ts +2 -1
- package/dist/places/components/facility-combobox.d.ts.map +1 -1
- package/dist/places/hooks/use-facilities.d.ts +4 -4
- package/dist/places/hooks/use-facilities.d.ts.map +1 -1
- package/dist/places/hooks/use-facility-feature-mutation.d.ts +2 -2
- package/dist/places/hooks/use-facility-feature-mutation.js +3 -3
- package/dist/places/hooks/use-facility-features.d.ts +3 -3
- package/dist/places/hooks/use-facility-features.d.ts.map +1 -1
- package/dist/places/hooks/use-facility-mutation.d.ts +7 -7
- package/dist/places/hooks/use-facility-mutation.js +3 -3
- package/dist/places/hooks/use-facility-operation-schedule-mutation.js +3 -3
- package/dist/places/hooks/use-facility-operation-schedules.d.ts +2 -2
- package/dist/places/hooks/use-facility-operation-schedules.d.ts.map +1 -1
- package/dist/places/hooks/use-facility.d.ts +4 -4
- package/dist/places/hooks/use-facility.d.ts.map +1 -1
- package/dist/places/hooks/use-properties.d.ts +2 -2
- package/dist/places/hooks/use-properties.d.ts.map +1 -1
- package/dist/places/hooks/use-property-group-member-mutation.js +3 -3
- package/dist/places/hooks/use-property-group-members.d.ts +2 -2
- package/dist/places/hooks/use-property-group-members.d.ts.map +1 -1
- package/dist/places/hooks/use-property-group-mutation.d.ts +6 -6
- package/dist/places/hooks/use-property-group-mutation.js +3 -3
- package/dist/places/hooks/use-property-group.d.ts +4 -4
- package/dist/places/hooks/use-property-group.d.ts.map +1 -1
- package/dist/places/hooks/use-property-groups.d.ts +4 -4
- package/dist/places/hooks/use-property-groups.d.ts.map +1 -1
- package/dist/places/hooks/use-property-mutation.js +3 -3
- package/dist/places/hooks/use-property.d.ts +2 -2
- package/dist/places/hooks/use-property.d.ts.map +1 -1
- package/dist/places/i18n/provider.d.ts +1 -1
- package/dist/places/i18n/provider.d.ts.map +1 -1
- package/dist/places/query-options.d.ts +40 -46
- package/dist/places/query-options.d.ts.map +1 -1
- package/dist/places/query-options.js +12 -18
- package/dist/places/schemas.d.ts +15 -15
- package/dist/resources/admin/detail-hosts.d.ts +4 -4
- package/dist/resources/admin/detail-hosts.d.ts.map +1 -1
- package/dist/resources/admin/detail-hosts.js +4 -4
- package/dist/resources/admin/pages/resource-allocation-detail-page.d.ts +1 -1
- package/dist/resources/admin/pages/resource-allocation-detail-page.d.ts.map +1 -1
- package/dist/resources/admin/pages/resource-allocation-detail-page.js +1 -0
- package/dist/resources/admin/pages/resource-assignment-detail-page.d.ts +1 -1
- package/dist/resources/admin/pages/resource-assignment-detail-page.d.ts.map +1 -1
- package/dist/resources/admin/pages/resource-assignment-detail-page.js +1 -0
- package/dist/resources/admin/pages/resource-detail-page.d.ts +1 -1
- package/dist/resources/admin/pages/resource-detail-page.d.ts.map +1 -1
- package/dist/resources/admin/pages/resource-detail-page.js +1 -0
- package/dist/resources/admin/pages/resource-pool-detail-page.d.ts +1 -1
- package/dist/resources/admin/pages/resource-pool-detail-page.d.ts.map +1 -1
- package/dist/resources/admin/pages/resource-pool-detail-page.js +1 -0
- package/dist/resources/admin/resources-dialog-allocation.d.ts +1 -1
- package/dist/resources/admin/resources-dialog-allocation.d.ts.map +1 -1
- package/dist/resources/admin/resources-dialog-allocation.js +3 -3
- package/dist/resources/admin/resources-dialogs-core.d.ts +2 -2
- package/dist/resources/admin/resources-dialogs-core.d.ts.map +1 -1
- package/dist/resources/admin/resources-dialogs-core.js +6 -6
- package/dist/resources/admin/resources-dialogs-ops.d.ts +2 -2
- package/dist/resources/admin/resources-dialogs-ops.d.ts.map +1 -1
- package/dist/resources/admin/resources-dialogs-ops.js +10 -7
- package/dist/resources/admin/resources-dialogs.d.ts +1 -1
- package/dist/resources/admin/resources-dialogs.d.ts.map +1 -1
- package/dist/resources/admin/resources-host.d.ts +1 -1
- package/dist/resources/admin/resources-host.d.ts.map +1 -1
- package/dist/resources/admin/resources-page-skeleton.d.ts +2 -2
- package/dist/resources/admin/resources-page-skeleton.d.ts.map +1 -1
- package/dist/resources/components/resource-allocation-detail-page.d.ts +1 -1
- package/dist/resources/components/resource-allocation-detail-page.d.ts.map +1 -1
- package/dist/resources/components/resource-assignment-detail-page.d.ts +1 -1
- package/dist/resources/components/resource-assignment-detail-page.d.ts.map +1 -1
- package/dist/resources/components/resource-detail-data.d.ts +1 -1
- package/dist/resources/components/resource-detail-data.d.ts.map +1 -1
- package/dist/resources/components/resource-detail-data.js +1 -1
- package/dist/resources/components/resource-detail-page.d.ts +2 -2
- package/dist/resources/components/resource-detail-page.d.ts.map +1 -1
- package/dist/resources/components/resource-detail-shared.d.ts +5 -5
- package/dist/resources/components/resource-detail-shared.d.ts.map +1 -1
- package/dist/resources/components/resource-detail-skeletons.d.ts +4 -4
- package/dist/resources/components/resource-detail-skeletons.d.ts.map +1 -1
- package/dist/resources/components/resource-pool-detail-page.d.ts +2 -2
- package/dist/resources/components/resource-pool-detail-page.d.ts.map +1 -1
- package/dist/resources/components/resources-overview.d.ts +1 -1
- package/dist/resources/components/resources-overview.d.ts.map +1 -1
- package/dist/resources/components/resources-page-filters.d.ts +1 -1
- package/dist/resources/components/resources-page-filters.d.ts.map +1 -1
- package/dist/resources/components/resources-page.d.ts +1 -1
- package/dist/resources/components/resources-page.d.ts.map +1 -1
- package/dist/resources/components/resources-section-header.d.ts +1 -1
- package/dist/resources/components/resources-section-header.d.ts.map +1 -1
- package/dist/resources/components/resources-tabs-primary.d.ts +3 -3
- package/dist/resources/components/resources-tabs-primary.d.ts.map +1 -1
- package/dist/resources/components/resources-tabs-primary.js +7 -7
- package/dist/resources/components/resources-tabs-secondary.d.ts +2 -2
- package/dist/resources/components/resources-tabs-secondary.d.ts.map +1 -1
- package/dist/resources/components/resources-tabs-secondary.js +4 -4
- package/dist/resources/hooks/use-allocation.d.ts +2 -2
- package/dist/resources/hooks/use-allocation.d.ts.map +1 -1
- package/dist/resources/hooks/use-allocations.d.ts +2 -2
- package/dist/resources/hooks/use-allocations.d.ts.map +1 -1
- package/dist/resources/hooks/use-assignment.d.ts +2 -2
- package/dist/resources/hooks/use-assignment.d.ts.map +1 -1
- package/dist/resources/hooks/use-assignments.d.ts +2 -2
- package/dist/resources/hooks/use-assignments.d.ts.map +1 -1
- package/dist/resources/hooks/use-bookings.d.ts +2 -2
- package/dist/resources/hooks/use-bookings.d.ts.map +1 -1
- package/dist/resources/hooks/use-closeouts.d.ts +2 -2
- package/dist/resources/hooks/use-closeouts.d.ts.map +1 -1
- package/dist/resources/hooks/use-pool.d.ts +3 -3
- package/dist/resources/hooks/use-pool.d.ts.map +1 -1
- package/dist/resources/hooks/use-pools.d.ts +3 -3
- package/dist/resources/hooks/use-pools.d.ts.map +1 -1
- package/dist/resources/hooks/use-products.d.ts +2 -2
- package/dist/resources/hooks/use-products.d.ts.map +1 -1
- package/dist/resources/hooks/use-resource.d.ts +3 -3
- package/dist/resources/hooks/use-resource.d.ts.map +1 -1
- package/dist/resources/hooks/use-resources.d.ts +3 -3
- package/dist/resources/hooks/use-resources.d.ts.map +1 -1
- package/dist/resources/hooks/use-rules.d.ts +2 -2
- package/dist/resources/hooks/use-rules.d.ts.map +1 -1
- package/dist/resources/hooks/use-slots.d.ts +2 -2
- package/dist/resources/hooks/use-slots.d.ts.map +1 -1
- package/dist/resources/hooks/use-start-times.d.ts +2 -2
- package/dist/resources/hooks/use-start-times.d.ts.map +1 -1
- package/dist/resources/hooks/use-suppliers.d.ts +2 -2
- package/dist/resources/hooks/use-suppliers.d.ts.map +1 -1
- package/dist/resources/i18n/provider.d.ts +1 -1
- package/dist/resources/i18n/provider.d.ts.map +1 -1
- package/dist/resources/query-options.d.ts +16 -16
- package/dist/resources/query-options.d.ts.map +1 -1
- package/dist/resources/query-options.js +15 -15
- package/dist/resources/schemas.d.ts +18 -18
- package/package.json +24 -24
|
@@ -6,6 +6,7 @@ import { ResourceAllocationDetailHost } from "../detail-hosts.js";
|
|
|
6
6
|
* the packaged host. Resolved lazily through the contribution's `page`
|
|
7
7
|
* loader so the detail page lands in its own chunk.
|
|
8
8
|
*/
|
|
9
|
+
// fallow-ignore-next-line unused-export
|
|
9
10
|
export default function ResourceAllocationDetailRoutePage({ params }) {
|
|
10
11
|
return _jsx(ResourceAllocationDetailHost, { id: params.id ?? "" });
|
|
11
12
|
}
|
|
@@ -5,5 +5,5 @@ import type { AdminRoutePageProps } from "@voyant-travel/admin";
|
|
|
5
5
|
* the packaged host. Resolved lazily through the contribution's `page`
|
|
6
6
|
* loader so the detail page lands in its own chunk.
|
|
7
7
|
*/
|
|
8
|
-
export default function ResourceAssignmentDetailRoutePage({ params }: AdminRoutePageProps): import("react
|
|
8
|
+
export default function ResourceAssignmentDetailRoutePage({ params }: AdminRoutePageProps): import("react").JSX.Element;
|
|
9
9
|
//# sourceMappingURL=resource-assignment-detail-page.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-assignment-detail-page.d.ts","sourceRoot":"","sources":["../../../../src/resources/admin/pages/resource-assignment-detail-page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAI/D;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"resource-assignment-detail-page.d.ts","sourceRoot":"","sources":["../../../../src/resources/admin/pages/resource-assignment-detail-page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAI/D;;;;;GAKG;AAEH,MAAM,CAAC,OAAO,UAAU,iCAAiC,CAAC,EAAE,MAAM,EAAE,EAAE,mBAAmB,+BAExF"}
|
|
@@ -6,6 +6,7 @@ import { ResourceAssignmentDetailHost } from "../detail-hosts.js";
|
|
|
6
6
|
* the packaged host. Resolved lazily through the contribution's `page`
|
|
7
7
|
* loader so the detail page lands in its own chunk.
|
|
8
8
|
*/
|
|
9
|
+
// fallow-ignore-next-line unused-export
|
|
9
10
|
export default function ResourceAssignmentDetailRoutePage({ params }) {
|
|
10
11
|
return _jsx(ResourceAssignmentDetailHost, { id: params.id ?? "" });
|
|
11
12
|
}
|
|
@@ -5,5 +5,5 @@ import type { AdminRoutePageProps } from "@voyant-travel/admin";
|
|
|
5
5
|
* host. Resolved lazily through the contribution's `page` loader so the
|
|
6
6
|
* detail page lands in its own chunk.
|
|
7
7
|
*/
|
|
8
|
-
export default function ResourceDetailRoutePage({ params }: AdminRoutePageProps): import("react
|
|
8
|
+
export default function ResourceDetailRoutePage({ params }: AdminRoutePageProps): import("react").JSX.Element;
|
|
9
9
|
//# sourceMappingURL=resource-detail-page.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-detail-page.d.ts","sourceRoot":"","sources":["../../../../src/resources/admin/pages/resource-detail-page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAI/D;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"resource-detail-page.d.ts","sourceRoot":"","sources":["../../../../src/resources/admin/pages/resource-detail-page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAI/D;;;;;GAKG;AAEH,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,EAAE,MAAM,EAAE,EAAE,mBAAmB,+BAE9E"}
|
|
@@ -6,6 +6,7 @@ import { ResourceDetailHost } from "../detail-hosts.js";
|
|
|
6
6
|
* host. Resolved lazily through the contribution's `page` loader so the
|
|
7
7
|
* detail page lands in its own chunk.
|
|
8
8
|
*/
|
|
9
|
+
// fallow-ignore-next-line unused-export
|
|
9
10
|
export default function ResourceDetailRoutePage({ params }) {
|
|
10
11
|
return _jsx(ResourceDetailHost, { id: params.id ?? "" });
|
|
11
12
|
}
|
|
@@ -5,5 +5,5 @@ import type { AdminRoutePageProps } from "@voyant-travel/admin";
|
|
|
5
5
|
* host. Resolved lazily through the contribution's `page` loader so the
|
|
6
6
|
* detail page lands in its own chunk.
|
|
7
7
|
*/
|
|
8
|
-
export default function ResourcePoolDetailRoutePage({ params }: AdminRoutePageProps): import("react
|
|
8
|
+
export default function ResourcePoolDetailRoutePage({ params }: AdminRoutePageProps): import("react").JSX.Element;
|
|
9
9
|
//# sourceMappingURL=resource-pool-detail-page.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-pool-detail-page.d.ts","sourceRoot":"","sources":["../../../../src/resources/admin/pages/resource-pool-detail-page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAI/D;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"resource-pool-detail-page.d.ts","sourceRoot":"","sources":["../../../../src/resources/admin/pages/resource-pool-detail-page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAI/D;;;;;GAKG;AAEH,MAAM,CAAC,OAAO,UAAU,2BAA2B,CAAC,EAAE,MAAM,EAAE,EAAE,mBAAmB,+BAElF"}
|
|
@@ -6,6 +6,7 @@ import { ResourcePoolDetailHost } from "../detail-hosts.js";
|
|
|
6
6
|
* host. Resolved lazily through the contribution's `page` loader so the
|
|
7
7
|
* detail page lands in its own chunk.
|
|
8
8
|
*/
|
|
9
|
+
// fallow-ignore-next-line unused-export
|
|
9
10
|
export default function ResourcePoolDetailRoutePage({ params }) {
|
|
10
11
|
return _jsx(ResourcePoolDetailHost, { id: params.id ?? "" });
|
|
11
12
|
}
|
|
@@ -8,5 +8,5 @@ export declare function ResourceAllocationDialog({ open, onOpenChange, allocatio
|
|
|
8
8
|
rules: RuleOption[];
|
|
9
9
|
startTimes: StartTimeOption[];
|
|
10
10
|
onSuccess: () => void;
|
|
11
|
-
}): import("react
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
12
|
//# sourceMappingURL=resources-dialog-allocation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-dialog-allocation.d.ts","sourceRoot":"","sources":["../../../src/resources/admin/resources-dialog-allocation.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,eAAe,EAErB,MAAM,aAAa,CAAA;AAepB,wBAAgB,wBAAwB,CAAC,EACvC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,KAAK,EACL,QAAQ,EACR,KAAK,EACL,UAAU,EACV,SAAS,GACV,EAAE;IACD,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,UAAU,CAAC,EAAE,qBAAqB,CAAA;IAClC,KAAK,EAAE,eAAe,EAAE,CAAA;IACxB,QAAQ,EAAE,aAAa,EAAE,CAAA;IACzB,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,UAAU,EAAE,eAAe,EAAE,CAAA;IAC7B,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB
|
|
1
|
+
{"version":3,"file":"resources-dialog-allocation.d.ts","sourceRoot":"","sources":["../../../src/resources/admin/resources-dialog-allocation.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,eAAe,EAErB,MAAM,aAAa,CAAA;AAepB,wBAAgB,wBAAwB,CAAC,EACvC,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,KAAK,EACL,QAAQ,EACR,KAAK,EACL,UAAU,EACV,SAAS,GACV,EAAE;IACD,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,UAAU,CAAC,EAAE,qBAAqB,CAAA;IAClC,KAAK,EAAE,eAAe,EAAE,CAAA;IACxB,QAAQ,EAAE,aAAa,EAAE,CAAA;IACzB,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,UAAU,EAAE,eAAe,EAAE,CAAA;IAC7B,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB,+BA6MA"}
|
|
@@ -66,12 +66,12 @@ export function ResourceAllocationDialog({ open, onOpenChange, allocation, pools
|
|
|
66
66
|
priority: values.priority,
|
|
67
67
|
};
|
|
68
68
|
if (isEditing) {
|
|
69
|
-
await sendResourcesMutation(client, "PATCH", `/v1/operations/allocations/${allocation?.id}`, payload);
|
|
69
|
+
await sendResourcesMutation(client, "PATCH", `/v1/admin/operations/allocations/${allocation?.id}`, payload);
|
|
70
70
|
}
|
|
71
71
|
else {
|
|
72
|
-
await sendResourcesMutation(client, "POST", "/v1/operations/allocations", payload);
|
|
72
|
+
await sendResourcesMutation(client, "POST", "/v1/admin/operations/allocations", payload);
|
|
73
73
|
}
|
|
74
74
|
onSuccess();
|
|
75
75
|
};
|
|
76
|
-
return (_jsx(Dialog, { open: open, onOpenChange: onOpenChange, children: _jsxs(DialogContent, { children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { children: isEditing ? dialogMessages.editTitle : dialogMessages.newTitle }) }), _jsxs("form", { onSubmit: form.handleSubmit(onSubmit), children: [_jsxs(DialogBody, { className: "grid gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.poolLabel }), _jsxs(Select, { items: pools.map((pool) => ({ label: pool.name, value: pool.id })), value: form.watch("poolId"), onValueChange: (value) => form.setValue("poolId", value ?? ""), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, { placeholder: dialogMessages.selectPoolPlaceholder }) }), _jsx(SelectContent, { children: pools.map((pool) => (_jsx(SelectItem, { value: pool.id, children: pool.name }, pool.id))) })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.productLabel }), _jsxs(Select, { items: products.map((product) => ({ label: product.name, value: product.id })), value: form.watch("productId"), onValueChange: (value) => form.setValue("productId", value ?? ""), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, { placeholder: dialogMessages.selectProductPlaceholder }) }), _jsx(SelectContent, { children: products.map((product) => (_jsx(SelectItem, { value: product.id, children: product.name }, product.id))) })] })] }), _jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.ruleLabel }), _jsxs(Select, { value: form.watch("availabilityRuleId"), onValueChange: (value) => form.setValue("availabilityRuleId", value ?? NONE_VALUE), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE_VALUE, children: dialogMessages.noRule }), filteredRules.map((rule) => (_jsx(SelectItem, { value: rule.id, children: rule.recurrenceRule }, rule.id)))] })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.startTimeLabel }), _jsxs(Select, { value: form.watch("startTimeId"), onValueChange: (value) => form.setValue("startTimeId", value ?? NONE_VALUE), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE_VALUE, children: dialogMessages.noStartTime }), filteredStartTimes.map((startTime) => (_jsx(SelectItem, { value: startTime.id, children: startTime.label ?? startTime.startTimeLocal }, startTime.id)))] })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.quantityRequiredLabel }), _jsx(Input, { ...form.register("quantityRequired"), type: "number", min: 1 })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.priorityLabel }), _jsx(Input, { ...form.register("priority"), type: "number" })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.allocationModeLabel }), _jsxs(Select, { items: allocationModeOptions, value: form.watch("allocationMode"), onValueChange: (value) => form.setValue("allocationMode", value), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: allocationModeOptions.map((option) => (_jsx(SelectItem, { value: option.value, children: messages.resources.allocationModeLabels[option.value] }, option.value))) })] })] })] })] }), _jsxs(DialogFooter, { children: [_jsx(Button, { type: "button", variant: "ghost", onClick: () => onOpenChange(false), children: dialogMessages.cancel }), _jsxs(Button, { type: "submit", disabled: form.formState.isSubmitting, children: [form.formState.isSubmitting && _jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), isEditing ? dialogMessages.save : dialogMessages.create] })] })] })] }) }));
|
|
76
|
+
return (_jsx(Dialog, { open: open, onOpenChange: onOpenChange, children: _jsxs(DialogContent, { children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { children: isEditing ? dialogMessages.editTitle : dialogMessages.newTitle }) }), _jsxs("form", { onSubmit: form.handleSubmit(onSubmit), className: "flex min-h-0 flex-1 flex-col overflow-hidden", children: [_jsxs(DialogBody, { className: "grid gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.poolLabel }), _jsxs(Select, { items: pools.map((pool) => ({ label: pool.name, value: pool.id })), value: form.watch("poolId"), onValueChange: (value) => form.setValue("poolId", value ?? ""), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, { placeholder: dialogMessages.selectPoolPlaceholder }) }), _jsx(SelectContent, { children: pools.map((pool) => (_jsx(SelectItem, { value: pool.id, children: pool.name }, pool.id))) })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.productLabel }), _jsxs(Select, { items: products.map((product) => ({ label: product.name, value: product.id })), value: form.watch("productId"), onValueChange: (value) => form.setValue("productId", value ?? ""), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, { placeholder: dialogMessages.selectProductPlaceholder }) }), _jsx(SelectContent, { children: products.map((product) => (_jsx(SelectItem, { value: product.id, children: product.name }, product.id))) })] })] }), _jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.ruleLabel }), _jsxs(Select, { value: form.watch("availabilityRuleId"), onValueChange: (value) => form.setValue("availabilityRuleId", value ?? NONE_VALUE), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE_VALUE, children: dialogMessages.noRule }), filteredRules.map((rule) => (_jsx(SelectItem, { value: rule.id, children: rule.recurrenceRule }, rule.id)))] })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.startTimeLabel }), _jsxs(Select, { value: form.watch("startTimeId"), onValueChange: (value) => form.setValue("startTimeId", value ?? NONE_VALUE), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE_VALUE, children: dialogMessages.noStartTime }), filteredStartTimes.map((startTime) => (_jsx(SelectItem, { value: startTime.id, children: startTime.label ?? startTime.startTimeLocal }, startTime.id)))] })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.quantityRequiredLabel }), _jsx(Input, { ...form.register("quantityRequired"), type: "number", min: 1 })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.priorityLabel }), _jsx(Input, { ...form.register("priority"), type: "number" })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.allocationModeLabel }), _jsxs(Select, { items: allocationModeOptions, value: form.watch("allocationMode"), onValueChange: (value) => form.setValue("allocationMode", value), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: allocationModeOptions.map((option) => (_jsx(SelectItem, { value: option.value, children: messages.resources.allocationModeLabels[option.value] }, option.value))) })] })] })] })] }), _jsxs(DialogFooter, { children: [_jsx(Button, { type: "button", variant: "ghost", onClick: () => onOpenChange(false), children: dialogMessages.cancel }), _jsxs(Button, { type: "submit", disabled: form.formState.isSubmitting, children: [form.formState.isSubmitting && _jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), isEditing ? dialogMessages.save : dialogMessages.create] })] })] })] }) }));
|
|
77
77
|
}
|
|
@@ -5,12 +5,12 @@ export declare function ResourceDialog({ open, onOpenChange, resource, suppliers
|
|
|
5
5
|
resource?: ResourceRow;
|
|
6
6
|
suppliers: SupplierOption[];
|
|
7
7
|
onSuccess: () => void;
|
|
8
|
-
}): import("react
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
9
|
export declare function ResourcePoolDialog({ open, onOpenChange, pool, products, onSuccess, }: {
|
|
10
10
|
open: boolean;
|
|
11
11
|
onOpenChange: (open: boolean) => void;
|
|
12
12
|
pool?: ResourcePoolRow;
|
|
13
13
|
products: ProductOption[];
|
|
14
14
|
onSuccess: () => void;
|
|
15
|
-
}): import("react
|
|
15
|
+
}): import("react").JSX.Element;
|
|
16
16
|
//# sourceMappingURL=resources-dialogs-core.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-dialogs-core.d.ts","sourceRoot":"","sources":["../../../src/resources/admin/resources-dialogs-core.tsx"],"names":[],"mappings":"AA0BA,OAAO,EAIL,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,WAAW,EAEhB,KAAK,cAAc,EAEpB,MAAM,aAAa,CAAA;AAepB,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,SAAS,GACV,EAAE;IACD,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,QAAQ,CAAC,EAAE,WAAW,CAAA;IACtB,SAAS,EAAE,cAAc,EAAE,CAAA;IAC3B,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB
|
|
1
|
+
{"version":3,"file":"resources-dialogs-core.d.ts","sourceRoot":"","sources":["../../../src/resources/admin/resources-dialogs-core.tsx"],"names":[],"mappings":"AA0BA,OAAO,EAIL,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,WAAW,EAEhB,KAAK,cAAc,EAEpB,MAAM,aAAa,CAAA;AAepB,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,SAAS,GACV,EAAE;IACD,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,QAAQ,CAAC,EAAE,WAAW,CAAA;IACtB,SAAS,EAAE,cAAc,EAAE,CAAA;IAC3B,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB,+BAyJA;AAYD,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,SAAS,GACV,EAAE;IACD,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,QAAQ,EAAE,aAAa,EAAE,CAAA;IACzB,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB,+BAkJA"}
|
|
@@ -63,14 +63,14 @@ export function ResourceDialog({ open, onOpenChange, resource, suppliers, onSucc
|
|
|
63
63
|
notes: nullableString(values.notes),
|
|
64
64
|
};
|
|
65
65
|
if (isEditing) {
|
|
66
|
-
await sendResourcesMutation(client, "PATCH", `/v1/operations/resources/${resource?.id}`, payload);
|
|
66
|
+
await sendResourcesMutation(client, "PATCH", `/v1/admin/operations/resources/${resource?.id}`, payload);
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
69
|
-
await sendResourcesMutation(client, "POST", "/v1/operations/resources", payload);
|
|
69
|
+
await sendResourcesMutation(client, "POST", "/v1/admin/operations/resources", payload);
|
|
70
70
|
}
|
|
71
71
|
onSuccess();
|
|
72
72
|
};
|
|
73
|
-
return (_jsx(Dialog, { open: open, onOpenChange: onOpenChange, children: _jsxs(DialogContent, { children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { children: isEditing ? dialogMessages.editTitle : dialogMessages.newTitle }) }), _jsxs("form", { onSubmit: form.handleSubmit(onSubmit), children: [_jsxs(DialogBody, { className: "grid gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.supplierLabel }), _jsxs(Select, { value: form.watch("supplierId"), onValueChange: (value) => form.setValue("supplierId", value ?? NONE_VALUE), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE_VALUE, children: dialogMessages.noSupplier }), suppliers.map((supplier) => (_jsx(SelectItem, { value: supplier.id, children: supplier.name }, supplier.id)))] })] })] }), _jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.kindLabel }), _jsxs(Select, { items: resourceKindOptions, value: form.watch("kind"), onValueChange: (value) => form.setValue("kind", value), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: resourceKindOptions.map((option) => (_jsx(SelectItem, { value: option.value, children: messages.resources.kindLabels[option.value] }, option.value))) })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.nameLabel }), _jsx(Input, { ...form.register("name"), placeholder: dialogMessages.namePlaceholder })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.codeLabel }), _jsx(Input, { ...form.register("code"), placeholder: dialogMessages.codePlaceholder })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.capacityLabel }), _jsx(Input, { ...form.register("capacity"), type: "number", min: 0 })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.notesLabel }), _jsx(Textarea, { ...form.register("notes"), placeholder: dialogMessages.notesPlaceholder })] }), _jsxs("div", { className: "flex items-center justify-between rounded-md border px-3 py-2", children: [_jsxs("div", { children: [_jsx("p", { className: "text-sm font-medium", children: dialogMessages.activeTitle }), _jsx("p", { className: "text-xs text-muted-foreground", children: dialogMessages.activeDescription })] }), _jsx(Switch, { checked: form.watch("active"), onCheckedChange: (checked) => form.setValue("active", checked) })] })] }), _jsxs(DialogFooter, { children: [_jsx(Button, { type: "button", variant: "ghost", onClick: () => onOpenChange(false), children: dialogMessages.cancel }), _jsxs(Button, { type: "submit", disabled: form.formState.isSubmitting, children: [form.formState.isSubmitting && _jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), isEditing ? dialogMessages.save : dialogMessages.create] })] })] })] }) }));
|
|
73
|
+
return (_jsx(Dialog, { open: open, onOpenChange: onOpenChange, children: _jsxs(DialogContent, { children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { children: isEditing ? dialogMessages.editTitle : dialogMessages.newTitle }) }), _jsxs("form", { onSubmit: form.handleSubmit(onSubmit), className: "flex min-h-0 flex-1 flex-col overflow-hidden", children: [_jsxs(DialogBody, { className: "grid gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.supplierLabel }), _jsxs(Select, { value: form.watch("supplierId"), onValueChange: (value) => form.setValue("supplierId", value ?? NONE_VALUE), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE_VALUE, children: dialogMessages.noSupplier }), suppliers.map((supplier) => (_jsx(SelectItem, { value: supplier.id, children: supplier.name }, supplier.id)))] })] })] }), _jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.kindLabel }), _jsxs(Select, { items: resourceKindOptions, value: form.watch("kind"), onValueChange: (value) => form.setValue("kind", value), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: resourceKindOptions.map((option) => (_jsx(SelectItem, { value: option.value, children: messages.resources.kindLabels[option.value] }, option.value))) })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.nameLabel }), _jsx(Input, { ...form.register("name"), placeholder: dialogMessages.namePlaceholder })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.codeLabel }), _jsx(Input, { ...form.register("code"), placeholder: dialogMessages.codePlaceholder })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.capacityLabel }), _jsx(Input, { ...form.register("capacity"), type: "number", min: 0 })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.notesLabel }), _jsx(Textarea, { ...form.register("notes"), placeholder: dialogMessages.notesPlaceholder })] }), _jsxs("div", { className: "flex items-center justify-between rounded-md border px-3 py-2", children: [_jsxs("div", { children: [_jsx("p", { className: "text-sm font-medium", children: dialogMessages.activeTitle }), _jsx("p", { className: "text-xs text-muted-foreground", children: dialogMessages.activeDescription })] }), _jsx(Switch, { checked: form.watch("active"), onCheckedChange: (checked) => form.setValue("active", checked) })] })] }), _jsxs(DialogFooter, { children: [_jsx(Button, { type: "button", variant: "ghost", onClick: () => onOpenChange(false), children: dialogMessages.cancel }), _jsxs(Button, { type: "submit", disabled: form.formState.isSubmitting, children: [form.formState.isSubmitting && _jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), isEditing ? dialogMessages.save : dialogMessages.create] })] })] })] }) }));
|
|
74
74
|
}
|
|
75
75
|
const getPoolFormSchema = (messages) => z.object({
|
|
76
76
|
productId: z.string().optional(),
|
|
@@ -122,12 +122,12 @@ export function ResourcePoolDialog({ open, onOpenChange, pool, products, onSucce
|
|
|
122
122
|
notes: nullableString(values.notes),
|
|
123
123
|
};
|
|
124
124
|
if (isEditing) {
|
|
125
|
-
await sendResourcesMutation(client, "PATCH", `/v1/operations/pools/${pool?.id}`, payload);
|
|
125
|
+
await sendResourcesMutation(client, "PATCH", `/v1/admin/operations/pools/${pool?.id}`, payload);
|
|
126
126
|
}
|
|
127
127
|
else {
|
|
128
|
-
await sendResourcesMutation(client, "POST", "/v1/operations/pools", payload);
|
|
128
|
+
await sendResourcesMutation(client, "POST", "/v1/admin/operations/pools", payload);
|
|
129
129
|
}
|
|
130
130
|
onSuccess();
|
|
131
131
|
};
|
|
132
|
-
return (_jsx(Dialog, { open: open, onOpenChange: onOpenChange, children: _jsxs(DialogContent, { children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { children: isEditing ? dialogMessages.editTitle : dialogMessages.newTitle }) }), _jsxs("form", { onSubmit: form.handleSubmit(onSubmit), children: [_jsxs(DialogBody, { className: "grid gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.productLabel }), _jsxs(Select, { value: form.watch("productId"), onValueChange: (value) => form.setValue("productId", value ?? NONE_VALUE), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE_VALUE, children: dialogMessages.noProduct }), products.map((product) => (_jsx(SelectItem, { value: product.id, children: product.name }, product.id)))] })] })] }), _jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.kindLabel }), _jsxs(Select, { items: resourceKindOptions, value: form.watch("kind"), onValueChange: (value) => form.setValue("kind", value), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: resourceKindOptions.map((option) => (_jsx(SelectItem, { value: option.value, children: messages.resources.kindLabels[option.value] }, option.value))) })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.nameLabel }), _jsx(Input, { ...form.register("name"), placeholder: dialogMessages.namePlaceholder })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.sharedCapacityLabel }), _jsx(Input, { ...form.register("sharedCapacity"), type: "number", min: 0 })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.notesLabel }), _jsx(Textarea, { ...form.register("notes"), placeholder: dialogMessages.notesPlaceholder })] }), _jsxs("div", { className: "flex items-center justify-between rounded-md border px-3 py-2", children: [_jsxs("div", { children: [_jsx("p", { className: "text-sm font-medium", children: dialogMessages.activeTitle }), _jsx("p", { className: "text-xs text-muted-foreground", children: dialogMessages.activeDescription })] }), _jsx(Switch, { checked: form.watch("active"), onCheckedChange: (checked) => form.setValue("active", checked) })] })] }), _jsxs(DialogFooter, { children: [_jsx(Button, { type: "button", variant: "ghost", onClick: () => onOpenChange(false), children: dialogMessages.cancel }), _jsxs(Button, { type: "submit", disabled: form.formState.isSubmitting, children: [form.formState.isSubmitting && _jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), isEditing ? dialogMessages.save : dialogMessages.create] })] })] })] }) }));
|
|
132
|
+
return (_jsx(Dialog, { open: open, onOpenChange: onOpenChange, children: _jsxs(DialogContent, { children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { children: isEditing ? dialogMessages.editTitle : dialogMessages.newTitle }) }), _jsxs("form", { onSubmit: form.handleSubmit(onSubmit), className: "flex min-h-0 flex-1 flex-col overflow-hidden", children: [_jsxs(DialogBody, { className: "grid gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.productLabel }), _jsxs(Select, { value: form.watch("productId"), onValueChange: (value) => form.setValue("productId", value ?? NONE_VALUE), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE_VALUE, children: dialogMessages.noProduct }), products.map((product) => (_jsx(SelectItem, { value: product.id, children: product.name }, product.id)))] })] })] }), _jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.kindLabel }), _jsxs(Select, { items: resourceKindOptions, value: form.watch("kind"), onValueChange: (value) => form.setValue("kind", value), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: resourceKindOptions.map((option) => (_jsx(SelectItem, { value: option.value, children: messages.resources.kindLabels[option.value] }, option.value))) })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.nameLabel }), _jsx(Input, { ...form.register("name"), placeholder: dialogMessages.namePlaceholder })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.sharedCapacityLabel }), _jsx(Input, { ...form.register("sharedCapacity"), type: "number", min: 0 })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.notesLabel }), _jsx(Textarea, { ...form.register("notes"), placeholder: dialogMessages.notesPlaceholder })] }), _jsxs("div", { className: "flex items-center justify-between rounded-md border px-3 py-2", children: [_jsxs("div", { children: [_jsx("p", { className: "text-sm font-medium", children: dialogMessages.activeTitle }), _jsx("p", { className: "text-xs text-muted-foreground", children: dialogMessages.activeDescription })] }), _jsx(Switch, { checked: form.watch("active"), onCheckedChange: (checked) => form.setValue("active", checked) })] })] }), _jsxs(DialogFooter, { children: [_jsx(Button, { type: "button", variant: "ghost", onClick: () => onOpenChange(false), children: dialogMessages.cancel }), _jsxs(Button, { type: "submit", disabled: form.formState.isSubmitting, children: [form.formState.isSubmitting && _jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), isEditing ? dialogMessages.save : dialogMessages.create] })] })] })] }) }));
|
|
133
133
|
}
|
|
@@ -8,12 +8,12 @@ export declare function ResourceSlotAssignmentDialog({ open, onOpenChange, assig
|
|
|
8
8
|
resources: ResourceRow[];
|
|
9
9
|
bookings: BookingOption[];
|
|
10
10
|
onSuccess: () => void;
|
|
11
|
-
}): import("react
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
12
|
export declare function ResourceCloseoutDialog({ open, onOpenChange, closeout, resources, onSuccess, }: {
|
|
13
13
|
open: boolean;
|
|
14
14
|
onOpenChange: (open: boolean) => void;
|
|
15
15
|
closeout?: ResourceCloseoutRow;
|
|
16
16
|
resources: ResourceRow[];
|
|
17
17
|
onSuccess: () => void;
|
|
18
|
-
}): import("react
|
|
18
|
+
}): import("react").JSX.Element;
|
|
19
19
|
//# sourceMappingURL=resources-dialogs-ops.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-dialogs-ops.d.ts","sourceRoot":"","sources":["../../../src/resources/admin/resources-dialogs-ops.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resources-dialogs-ops.d.ts","sourceRoot":"","sources":["../../../src/resources/admin/resources-dialogs-ops.tsx"],"names":[],"mappings":"AA2BA,OAAO,EAEL,KAAK,aAAa,EAGlB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,yBAAyB,EAC9B,KAAK,UAAU,EAKhB,MAAM,aAAa,CAAA;AAgBpB,wBAAgB,4BAA4B,CAAC,EAC3C,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,KAAK,EACL,KAAK,EACL,SAAS,EACT,QAAQ,EACR,SAAS,GACV,EAAE;IACD,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,UAAU,CAAC,EAAE,yBAAyB,CAAA;IACtC,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,KAAK,EAAE,eAAe,EAAE,CAAA;IACxB,SAAS,EAAE,WAAW,EAAE,CAAA;IACxB,QAAQ,EAAE,aAAa,EAAE,CAAA;IACzB,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB,+BAkNA;AAYD,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,SAAS,GACV,EAAE;IACD,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,QAAQ,CAAC,EAAE,mBAAmB,CAAA;IAC9B,SAAS,EAAE,WAAW,EAAE,CAAA;IACxB,SAAS,EAAE,MAAM,IAAI,CAAA;CACtB,+BAsJA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useOperatorAdminMessages } from "@voyant-travel/admin";
|
|
4
|
-
import { Button, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyant-travel/ui/components";
|
|
4
|
+
import { Button, DatePicker, DateTimePicker, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Input, Label, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea, } from "@voyant-travel/ui/components";
|
|
5
5
|
import { zodResolver } from "@voyant-travel/ui/lib/zod-resolver";
|
|
6
6
|
import { Loader2 } from "lucide-react";
|
|
7
7
|
import { useEffect } from "react";
|
|
@@ -67,14 +67,14 @@ export function ResourceSlotAssignmentDialog({ open, onOpenChange, assignment, s
|
|
|
67
67
|
notes: nullableString(values.notes),
|
|
68
68
|
};
|
|
69
69
|
if (isEditing) {
|
|
70
|
-
await sendResourcesMutation(client, "PATCH", `/v1/operations/slot-assignments/${assignment?.id}`, payload);
|
|
70
|
+
await sendResourcesMutation(client, "PATCH", `/v1/admin/operations/slot-assignments/${assignment?.id}`, payload);
|
|
71
71
|
}
|
|
72
72
|
else {
|
|
73
|
-
await sendResourcesMutation(client, "POST", "/v1/operations/slot-assignments", payload);
|
|
73
|
+
await sendResourcesMutation(client, "POST", "/v1/admin/operations/slot-assignments", payload);
|
|
74
74
|
}
|
|
75
75
|
onSuccess();
|
|
76
76
|
};
|
|
77
|
-
return (_jsx(Dialog, { open: open, onOpenChange: onOpenChange, children: _jsxs(DialogContent, { size: "lg", children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { children: isEditing ? dialogMessages.editTitle : dialogMessages.newTitle }) }), _jsxs("form", { onSubmit: form.handleSubmit(onSubmit), children: [_jsxs(DialogBody, { className: "grid gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.slotLabel }), _jsxs(Select, { items: slots.map((slot) => ({ label: slotLabel(slot), value: slot.id })), value: form.watch("slotId"), onValueChange: (value) => form.setValue("slotId", value ?? ""), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, { placeholder: dialogMessages.selectSlotPlaceholder }) }), _jsx(SelectContent, { children: slots.map((slot) => (_jsx(SelectItem, { value: slot.id, children: slotLabel(slot) }, slot.id))) })] })] }), _jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.poolLabel }), _jsxs(Select, { value: form.watch("poolId"), onValueChange: (value) => form.setValue("poolId", value ?? NONE_VALUE), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE_VALUE, children: dialogMessages.noPool }), pools.map((pool) => (_jsx(SelectItem, { value: pool.id, children: pool.name }, pool.id)))] })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.resourceLabel }), _jsxs(Select, { value: form.watch("resourceId"), onValueChange: (value) => form.setValue("resourceId", value ?? NONE_VALUE), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE_VALUE, children: dialogMessages.noResource }), resources.map((resource) => (_jsx(SelectItem, { value: resource.id, children: resource.name }, resource.id)))] })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.bookingLabel }), _jsxs(Select, { value: form.watch("bookingId"), onValueChange: (value) => form.setValue("bookingId", value ?? NONE_VALUE), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE_VALUE, children: dialogMessages.noBooking }), bookings.map((booking) => (_jsx(SelectItem, { value: booking.id, children: booking.bookingNumber }, booking.id)))] })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.statusLabel }), _jsxs(Select, { items: assignmentStatusOptions, value: form.watch("status"), onValueChange: (value) => form.setValue("status", value), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: assignmentStatusOptions.map((option) => (_jsx(SelectItem, { value: option.value, children: messages.resources.assignmentStatusLabels[option.value] }, option.value))) })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.assignedByLabel }), _jsx(Input, { ...form.register("assignedBy"), placeholder: dialogMessages.assignedByPlaceholder })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.releasedAtLabel }), _jsx(
|
|
77
|
+
return (_jsx(Dialog, { open: open, onOpenChange: onOpenChange, children: _jsxs(DialogContent, { size: "lg", children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { children: isEditing ? dialogMessages.editTitle : dialogMessages.newTitle }) }), _jsxs("form", { onSubmit: form.handleSubmit(onSubmit), className: "flex min-h-0 flex-1 flex-col overflow-hidden", children: [_jsxs(DialogBody, { className: "grid gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.slotLabel }), _jsxs(Select, { items: slots.map((slot) => ({ label: slotLabel(slot), value: slot.id })), value: form.watch("slotId"), onValueChange: (value) => form.setValue("slotId", value ?? ""), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, { placeholder: dialogMessages.selectSlotPlaceholder }) }), _jsx(SelectContent, { children: slots.map((slot) => (_jsx(SelectItem, { value: slot.id, children: slotLabel(slot) }, slot.id))) })] })] }), _jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.poolLabel }), _jsxs(Select, { value: form.watch("poolId"), onValueChange: (value) => form.setValue("poolId", value ?? NONE_VALUE), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE_VALUE, children: dialogMessages.noPool }), pools.map((pool) => (_jsx(SelectItem, { value: pool.id, children: pool.name }, pool.id)))] })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.resourceLabel }), _jsxs(Select, { value: form.watch("resourceId"), onValueChange: (value) => form.setValue("resourceId", value ?? NONE_VALUE), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE_VALUE, children: dialogMessages.noResource }), resources.map((resource) => (_jsx(SelectItem, { value: resource.id, children: resource.name }, resource.id)))] })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.bookingLabel }), _jsxs(Select, { value: form.watch("bookingId"), onValueChange: (value) => form.setValue("bookingId", value ?? NONE_VALUE), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: NONE_VALUE, children: dialogMessages.noBooking }), bookings.map((booking) => (_jsx(SelectItem, { value: booking.id, children: booking.bookingNumber }, booking.id)))] })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.statusLabel }), _jsxs(Select, { items: assignmentStatusOptions, value: form.watch("status"), onValueChange: (value) => form.setValue("status", value), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: assignmentStatusOptions.map((option) => (_jsx(SelectItem, { value: option.value, children: messages.resources.assignmentStatusLabels[option.value] }, option.value))) })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.assignedByLabel }), _jsx(Input, { ...form.register("assignedBy"), placeholder: dialogMessages.assignedByPlaceholder })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.releasedAtLabel }), _jsx(DateTimePicker, { value: form.watch("releasedAt") || null, onChange: (value) => form.setValue("releasedAt", value ?? "", { shouldDirty: true }), className: "w-full" })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.notesLabel }), _jsx(Textarea, { ...form.register("notes"), placeholder: dialogMessages.notesPlaceholder })] })] }), _jsxs(DialogFooter, { children: [_jsx(Button, { type: "button", variant: "ghost", onClick: () => onOpenChange(false), children: dialogMessages.cancel }), _jsxs(Button, { type: "submit", disabled: form.formState.isSubmitting, children: [form.formState.isSubmitting && _jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), isEditing ? dialogMessages.save : dialogMessages.create] })] })] })] }) }));
|
|
78
78
|
}
|
|
79
79
|
const getCloseoutFormSchema = (messages) => z.object({
|
|
80
80
|
resourceId: z.string().min(1, messages.resources.dialogs.closeout.validationResourceRequired),
|
|
@@ -126,12 +126,15 @@ export function ResourceCloseoutDialog({ open, onOpenChange, closeout, resources
|
|
|
126
126
|
createdBy: nullableString(values.createdBy),
|
|
127
127
|
};
|
|
128
128
|
if (isEditing) {
|
|
129
|
-
await sendResourcesMutation(client, "PATCH", `/v1/operations/closeouts/${closeout?.id}`, payload);
|
|
129
|
+
await sendResourcesMutation(client, "PATCH", `/v1/admin/operations/closeouts/${closeout?.id}`, payload);
|
|
130
130
|
}
|
|
131
131
|
else {
|
|
132
|
-
await sendResourcesMutation(client, "POST", "/v1/operations/closeouts", payload);
|
|
132
|
+
await sendResourcesMutation(client, "POST", "/v1/admin/operations/closeouts", payload);
|
|
133
133
|
}
|
|
134
134
|
onSuccess();
|
|
135
135
|
};
|
|
136
|
-
return (_jsx(Dialog, { open: open, onOpenChange: onOpenChange, children: _jsxs(DialogContent, { children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { children: isEditing ? dialogMessages.editTitle : dialogMessages.newTitle }) }), _jsxs("form", { onSubmit: form.handleSubmit(onSubmit), children: [_jsxs(DialogBody, { className: "grid gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.resourceLabel }), _jsxs(Select, { items: resources.map((resource) => ({ label: resource.name, value: resource.id })), value: form.watch("resourceId"), onValueChange: (value) => form.setValue("resourceId", value ?? ""), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, { placeholder: dialogMessages.selectResourcePlaceholder }) }), _jsx(SelectContent, { children: resources.map((resource) => (_jsx(SelectItem, { value: resource.id, children: resource.name }, resource.id))) })] })] }), _jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.dateLabel }), _jsx(
|
|
136
|
+
return (_jsx(Dialog, { open: open, onOpenChange: onOpenChange, children: _jsxs(DialogContent, { children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { children: isEditing ? dialogMessages.editTitle : dialogMessages.newTitle }) }), _jsxs("form", { onSubmit: form.handleSubmit(onSubmit), className: "flex min-h-0 flex-1 flex-col overflow-hidden", children: [_jsxs(DialogBody, { className: "grid gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.resourceLabel }), _jsxs(Select, { items: resources.map((resource) => ({ label: resource.name, value: resource.id })), value: form.watch("resourceId"), onValueChange: (value) => form.setValue("resourceId", value ?? ""), children: [_jsx(SelectTrigger, { className: "w-full", children: _jsx(SelectValue, { placeholder: dialogMessages.selectResourcePlaceholder }) }), _jsx(SelectContent, { children: resources.map((resource) => (_jsx(SelectItem, { value: resource.id, children: resource.name }, resource.id))) })] })] }), _jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.dateLabel }), _jsx(DatePicker, { value: form.watch("dateLocal") || null, onChange: (value) => form.setValue("dateLocal", value ?? "", {
|
|
137
|
+
shouldDirty: true,
|
|
138
|
+
shouldValidate: true,
|
|
139
|
+
}), className: "w-full" })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.startsAtLabel }), _jsx(DateTimePicker, { value: form.watch("startsAt") || null, onChange: (value) => form.setValue("startsAt", value ?? "", { shouldDirty: true }), className: "w-full" })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.endsAtLabel }), _jsx(DateTimePicker, { value: form.watch("endsAt") || null, onChange: (value) => form.setValue("endsAt", value ?? "", { shouldDirty: true }), className: "w-full" })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.createdByLabel }), _jsx(Input, { ...form.register("createdBy"), placeholder: dialogMessages.createdByPlaceholder })] })] }), _jsxs("div", { className: "grid gap-2", children: [_jsx(Label, { children: dialogMessages.reasonLabel }), _jsx(Textarea, { ...form.register("reason"), placeholder: dialogMessages.reasonPlaceholder })] })] }), _jsxs(DialogFooter, { children: [_jsx(Button, { type: "button", variant: "ghost", onClick: () => onOpenChange(false), children: dialogMessages.cancel }), _jsxs(Button, { type: "submit", disabled: form.formState.isSubmitting, children: [form.formState.isSubmitting && _jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), isEditing ? dialogMessages.save : dialogMessages.create] })] })] })] }) }));
|
|
137
140
|
}
|
|
@@ -24,5 +24,5 @@ export declare function ResourcesDialogs({ resourceDialogOpen, setResourceDialog
|
|
|
24
24
|
slots: SlotOption[];
|
|
25
25
|
bookings: BookingOption[];
|
|
26
26
|
refreshAll: () => Promise<void>;
|
|
27
|
-
}): import("react
|
|
27
|
+
}): import("react").JSX.Element;
|
|
28
28
|
//# sourceMappingURL=resources-dialogs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-dialogs.d.ts","sourceRoot":"","sources":["../../../src/resources/admin/resources-dialogs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,WAAW,EACX,yBAAyB,EACzB,UAAU,EACV,UAAU,EACV,eAAe,EACf,cAAc,EACf,MAAM,aAAa,CAAA;AAMpB,wBAAgB,gBAAgB,CAAC,EAC/B,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,SAAS,EACT,QAAQ,EACR,KAAK,EACL,UAAU,EACV,SAAS,EACT,KAAK,EACL,KAAK,EACL,QAAQ,EACR,UAAU,GACX,EAAE;IACD,kBAAkB,EAAE,OAAO,CAAA;IAC3B,qBAAqB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAC9C,eAAe,EAAE,WAAW,GAAG,SAAS,CAAA;IACxC,cAAc,EAAE,OAAO,CAAA;IACvB,iBAAiB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAC1C,WAAW,EAAE,eAAe,GAAG,SAAS,CAAA;IACxC,oBAAoB,EAAE,OAAO,CAAA;IAC7B,uBAAuB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAChD,iBAAiB,EAAE,qBAAqB,GAAG,SAAS,CAAA;IACpD,oBAAoB,EAAE,OAAO,CAAA;IAC7B,uBAAuB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAChD,iBAAiB,EAAE,yBAAyB,GAAG,SAAS,CAAA;IACxD,kBAAkB,EAAE,OAAO,CAAA;IAC3B,qBAAqB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAC9C,eAAe,EAAE,mBAAmB,GAAG,SAAS,CAAA;IAChD,SAAS,EAAE,cAAc,EAAE,CAAA;IAC3B,QAAQ,EAAE,aAAa,EAAE,CAAA;IACzB,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,UAAU,EAAE,eAAe,EAAE,CAAA;IAC7B,SAAS,EAAE,WAAW,EAAE,CAAA;IACxB,KAAK,EAAE,eAAe,EAAE,CAAA;IACxB,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,QAAQ,EAAE,aAAa,EAAE,CAAA;IACzB,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAChC
|
|
1
|
+
{"version":3,"file":"resources-dialogs.d.ts","sourceRoot":"","sources":["../../../src/resources/admin/resources-dialogs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,WAAW,EACX,yBAAyB,EACzB,UAAU,EACV,UAAU,EACV,eAAe,EACf,cAAc,EACf,MAAM,aAAa,CAAA;AAMpB,wBAAgB,gBAAgB,CAAC,EAC/B,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,SAAS,EACT,QAAQ,EACR,KAAK,EACL,UAAU,EACV,SAAS,EACT,KAAK,EACL,KAAK,EACL,QAAQ,EACR,UAAU,GACX,EAAE;IACD,kBAAkB,EAAE,OAAO,CAAA;IAC3B,qBAAqB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAC9C,eAAe,EAAE,WAAW,GAAG,SAAS,CAAA;IACxC,cAAc,EAAE,OAAO,CAAA;IACvB,iBAAiB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAC1C,WAAW,EAAE,eAAe,GAAG,SAAS,CAAA;IACxC,oBAAoB,EAAE,OAAO,CAAA;IAC7B,uBAAuB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAChD,iBAAiB,EAAE,qBAAqB,GAAG,SAAS,CAAA;IACpD,oBAAoB,EAAE,OAAO,CAAA;IAC7B,uBAAuB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAChD,iBAAiB,EAAE,yBAAyB,GAAG,SAAS,CAAA;IACxD,kBAAkB,EAAE,OAAO,CAAA;IAC3B,qBAAqB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAC9C,eAAe,EAAE,mBAAmB,GAAG,SAAS,CAAA;IAChD,SAAS,EAAE,cAAc,EAAE,CAAA;IAC3B,QAAQ,EAAE,aAAa,EAAE,CAAA;IACzB,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,UAAU,EAAE,eAAe,EAAE,CAAA;IAC7B,SAAS,EAAE,WAAW,EAAE,CAAA;IACxB,KAAK,EAAE,eAAe,EAAE,CAAA;IACxB,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,QAAQ,EAAE,aAAa,EAAE,CAAA;IACzB,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAChC,+BA6DA"}
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
* Bulk mutations post the module's `batch-update`/`batch-delete` endpoints
|
|
8
8
|
* through the same context client and refresh via query invalidation.
|
|
9
9
|
*/
|
|
10
|
-
export declare function ResourcesHost(): import("react
|
|
10
|
+
export declare function ResourcesHost(): import("react").JSX.Element;
|
|
11
11
|
//# sourceMappingURL=resources-host.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-host.d.ts","sourceRoot":"","sources":["../../../src/resources/admin/resources-host.tsx"],"names":[],"mappings":"AAsCA;;;;;;;;GAQG;AACH,wBAAgB,aAAa,
|
|
1
|
+
{"version":3,"file":"resources-host.d.ts","sourceRoot":"","sources":["../../../src/resources/admin/resources-host.tsx"],"names":[],"mappings":"AAsCA;;;;;;;;GAQG;AACH,wBAAgB,aAAa,gCA0N5B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Body-only placeholder used inside the live page while queries load. */
|
|
2
|
-
export declare function ResourcesBodySkeleton(): import("react
|
|
2
|
+
export declare function ResourcesBodySkeleton(): import("react").JSX.Element;
|
|
3
3
|
/** Route-level placeholder for the resources dashboard — title block + filter row + body. */
|
|
4
|
-
export declare function ResourcesPageSkeleton(): import("react
|
|
4
|
+
export declare function ResourcesPageSkeleton(): import("react").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=resources-page-skeleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-page-skeleton.d.ts","sourceRoot":"","sources":["../../../src/resources/admin/resources-page-skeleton.tsx"],"names":[],"mappings":"AAqBA,0EAA0E;AAC1E,wBAAgB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"resources-page-skeleton.d.ts","sourceRoot":"","sources":["../../../src/resources/admin/resources-page-skeleton.tsx"],"names":[],"mappings":"AAqBA,0EAA0E;AAC1E,wBAAgB,qBAAqB,gCA4EpC;AAED,6FAA6F;AAC7F,wBAAgB,qBAAqB,gCAcpC"}
|
|
@@ -12,5 +12,5 @@ export interface ResourceAllocationDetailPageProps {
|
|
|
12
12
|
onOpenProduct?: (productId: string) => void;
|
|
13
13
|
confirmAction?: ConfirmAction;
|
|
14
14
|
}
|
|
15
|
-
export declare function ResourceAllocationDetailPage({ className, confirmAction, deleting, id, onBack, onDelete, onOpenPool, onOpenProduct, }: ResourceAllocationDetailPageProps): import("react
|
|
15
|
+
export declare function ResourceAllocationDetailPage({ className, confirmAction, deleting, id, onBack, onDelete, onOpenPool, onOpenProduct, }: ResourceAllocationDetailPageProps): import("react").JSX.Element;
|
|
16
16
|
//# sourceMappingURL=resource-allocation-detail-page.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-allocation-detail-page.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resource-allocation-detail-page.tsx"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,wBAAwB,EAM9B,MAAM,aAAa,CAAA;AACpB,OAAO,EACL,KAAK,aAAa,EAKnB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAA;AAMjF,OAAO,EAAE,gCAAgC,EAAE,CAAA;AAE3C,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,wBAAwB,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IACzE,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,aAAa,CAAC,EAAE,aAAa,CAAA;CAC9B;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,SAAS,EACT,aAAa,EACb,QAAQ,EACR,EAAE,EACF,MAAM,EACN,QAAQ,EACR,UAAU,EACV,aAAa,GACd,EAAE,iCAAiC
|
|
1
|
+
{"version":3,"file":"resource-allocation-detail-page.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resource-allocation-detail-page.tsx"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,wBAAwB,EAM9B,MAAM,aAAa,CAAA;AACpB,OAAO,EACL,KAAK,aAAa,EAKnB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAA;AAMjF,OAAO,EAAE,gCAAgC,EAAE,CAAA;AAE3C,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,wBAAwB,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IACzE,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,aAAa,CAAC,EAAE,aAAa,CAAA;CAC9B;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,SAAS,EACT,aAAa,EACb,QAAQ,EACR,EAAE,EACF,MAAM,EACN,QAAQ,EACR,UAAU,EACV,aAAa,GACd,EAAE,iCAAiC,+BA2HnC"}
|
|
@@ -12,5 +12,5 @@ export interface ResourceAssignmentDetailPageProps {
|
|
|
12
12
|
onOpenSlot?: (slotId: string) => void;
|
|
13
13
|
confirmAction?: ConfirmAction;
|
|
14
14
|
}
|
|
15
|
-
export declare function ResourceAssignmentDetailPage({ className, confirmAction, deleting, id, onBack, onDelete, onOpenResource, onOpenSlot, }: ResourceAssignmentDetailPageProps): import("react
|
|
15
|
+
export declare function ResourceAssignmentDetailPage({ className, confirmAction, deleting, id, onBack, onDelete, onOpenResource, onOpenSlot, }: ResourceAssignmentDetailPageProps): import("react").JSX.Element;
|
|
16
16
|
//# sourceMappingURL=resource-assignment-detail-page.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-assignment-detail-page.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resource-assignment-detail-page.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,4BAA4B,EAOlC,MAAM,aAAa,CAAA;AACpB,OAAO,EACL,KAAK,aAAa,EAKnB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAA;AAMjF,OAAO,EAAE,gCAAgC,EAAE,CAAA;AAE3C,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,4BAA4B,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IAC7E,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,aAAa,CAAC,EAAE,aAAa,CAAA;CAC9B;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,SAAS,EACT,aAAa,EACb,QAAQ,EACR,EAAE,EACF,MAAM,EACN,QAAQ,EACR,cAAc,EACd,UAAU,GACX,EAAE,iCAAiC
|
|
1
|
+
{"version":3,"file":"resource-assignment-detail-page.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resource-assignment-detail-page.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,4BAA4B,EAOlC,MAAM,aAAa,CAAA;AACpB,OAAO,EACL,KAAK,aAAa,EAKnB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAA;AAMjF,OAAO,EAAE,gCAAgC,EAAE,CAAA;AAE3C,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,4BAA4B,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IAC7E,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,aAAa,CAAC,EAAE,aAAa,CAAA;CAC9B;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,SAAS,EACT,aAAa,EACb,QAAQ,EACR,EAAE,EACF,MAAM,EACN,QAAQ,EACR,cAAc,EACd,UAAU,GACX,EAAE,iCAAiC,+BAkInC"}
|
|
@@ -25,7 +25,7 @@ export declare function getResourcePoolMembersQueryOptions(client: VoyantResourc
|
|
|
25
25
|
[dataTagErrorSymbol]: Error;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
export declare function useResourcePoolMembers(filters?: PoolMemberFilters): import("@tanstack/react-query").UseQueryResult<ListResponse<ResourcePoolMemberRow
|
|
28
|
+
export declare function useResourcePoolMembers(filters?: PoolMemberFilters): import("@tanstack/react-query").UseQueryResult<NoInfer<ListResponse<ResourcePoolMemberRow>>, Error>;
|
|
29
29
|
export declare function ensureResourceDetailPageData(queryClient: QueryClient, client: VoyantResourcesContextValue, id: string): Promise<void>;
|
|
30
30
|
export declare function ensureResourcePoolDetailPageData(queryClient: QueryClient, client: VoyantResourcesContextValue, id: string): Promise<void>;
|
|
31
31
|
export declare function ensureResourceAllocationDetailPageData(queryClient: QueryClient, client: VoyantResourcesContextValue, id: string): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-detail-data.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resource-detail-data.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,EAkBL,KAAK,2BAA2B,EACjC,MAAM,aAAa,CAAA;AAIpB,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,KAAK,YAAY,CAAC,CAAC,IAAI;IACrB,IAAI,EAAE,CAAC,EAAE,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B,CAAA;AAmBD,wBAAgB,kCAAkC,CAChD,MAAM,EAAE,2BAA2B,EACnC,OAAO,GAAE,iBAAsB;;;;;;;EAiBhC;AAED,wBAAgB,sBAAsB,CAAC,OAAO,GAAE,iBAAsB,
|
|
1
|
+
{"version":3,"file":"resource-detail-data.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resource-detail-data.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,EAkBL,KAAK,2BAA2B,EACjC,MAAM,aAAa,CAAA;AAIpB,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,KAAK,YAAY,CAAC,CAAC,IAAI;IACrB,IAAI,EAAE,CAAC,EAAE,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B,CAAA;AAmBD,wBAAgB,kCAAkC,CAChD,MAAM,EAAE,2BAA2B,EACnC,OAAO,GAAE,iBAAsB;;;;;;;EAiBhC;AAED,wBAAgB,sBAAsB,CAAC,OAAO,GAAE,iBAAsB,uGAQrE;AAED,wBAAsB,4BAA4B,CAChD,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,2BAA2B,EACnC,EAAE,EAAE,MAAM,iBAmBX;AAED,wBAAsB,gCAAgC,CACpD,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,2BAA2B,EACnC,EAAE,EAAE,MAAM,iBAmBX;AAED,wBAAsB,sCAAsC,CAC1D,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,2BAA2B,EACnC,EAAE,EAAE,MAAM,iBAcX;AAED,wBAAsB,sCAAsC,CAC1D,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,2BAA2B,EACnC,EAAE,EAAE,MAAM,iBAeX"}
|
|
@@ -29,7 +29,7 @@ export function getResourcePoolMembersQueryOptions(client, filters = {}) {
|
|
|
29
29
|
if (filters.offset !== undefined)
|
|
30
30
|
params.set("offset", String(filters.offset));
|
|
31
31
|
const qs = params.toString();
|
|
32
|
-
return fetchJson(client, `/v1/operations/pool-members${qs ? `?${qs}` : ""}`);
|
|
32
|
+
return fetchJson(client, `/v1/admin/operations/pool-members${qs ? `?${qs}` : ""}`);
|
|
33
33
|
},
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -12,7 +12,7 @@ export interface ResourceDetailPageProps {
|
|
|
12
12
|
onOpenAssignment?: (assignmentId: string) => void;
|
|
13
13
|
confirmAction?: ConfirmAction;
|
|
14
14
|
}
|
|
15
|
-
export declare function ResourceDetailPage({ className, confirmAction, deleting, id, onBack, onDelete, onOpenAssignment, onOpenSupplier, }: ResourceDetailPageProps): import("react
|
|
15
|
+
export declare function ResourceDetailPage({ className, confirmAction, deleting, id, onBack, onDelete, onOpenAssignment, onOpenSupplier, }: ResourceDetailPageProps): import("react").JSX.Element;
|
|
16
16
|
export declare function ResourceAssignmentSummary({ assignment, bookingLabel, noValue, onOpenAssignment, pool, slotLabel, }: {
|
|
17
17
|
assignment: ResourceSlotAssignmentRow;
|
|
18
18
|
bookingLabel: string;
|
|
@@ -20,5 +20,5 @@ export declare function ResourceAssignmentSummary({ assignment, bookingLabel, no
|
|
|
20
20
|
onOpenAssignment?: (assignmentId: string) => void;
|
|
21
21
|
pool?: ResourcePoolRow | undefined;
|
|
22
22
|
slotLabel: string;
|
|
23
|
-
}): import("react
|
|
23
|
+
}): import("react").JSX.Element;
|
|
24
24
|
//# sourceMappingURL=resource-detail-page.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-detail-page.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resource-detail-page.tsx"],"names":[],"mappings":"AAcA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAQ/B,MAAM,aAAa,CAAA;AAEpB,OAAO,EACL,KAAK,aAAa,EAKnB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAA;AAMvE,OAAO,EAAE,sBAAsB,EAAE,CAAA;AAEjC,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IAC7D,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,gBAAgB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;IACjD,aAAa,CAAC,EAAE,aAAa,CAAA;CAC9B;AAED,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,aAAa,EACb,QAAQ,EACR,EAAE,EACF,MAAM,EACN,QAAQ,EACR,gBAAgB,EAChB,cAAc,GACf,EAAE,uBAAuB
|
|
1
|
+
{"version":3,"file":"resource-detail-page.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resource-detail-page.tsx"],"names":[],"mappings":"AAcA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAQ/B,MAAM,aAAa,CAAA;AAEpB,OAAO,EACL,KAAK,aAAa,EAKnB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAA;AAMvE,OAAO,EAAE,sBAAsB,EAAE,CAAA;AAEjC,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IAC7D,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,gBAAgB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;IACjD,aAAa,CAAC,EAAE,aAAa,CAAA;CAC9B;AAED,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,aAAa,EACb,QAAQ,EACR,EAAE,EACF,MAAM,EACN,QAAQ,EACR,gBAAgB,EAChB,cAAc,GACf,EAAE,uBAAuB,+BAmMzB;AAMD,wBAAgB,yBAAyB,CAAC,EACxC,UAAU,EACV,YAAY,EACZ,OAAO,EACP,gBAAgB,EAChB,IAAI,EACJ,SAAS,GACV,EAAE;IACD,UAAU,EAAE,yBAAyB,CAAA;IACrC,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,gBAAgB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;IACjD,IAAI,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;IAClC,SAAS,EAAE,MAAM,CAAA;CAClB,+BA4CA"}
|
|
@@ -4,17 +4,17 @@ export declare const defaultConfirmAction: ConfirmAction;
|
|
|
4
4
|
export declare function ResourceDetailField({ label, children }: {
|
|
5
5
|
label: string;
|
|
6
6
|
children: ReactNode;
|
|
7
|
-
}): import("react
|
|
7
|
+
}): import("react").JSX.Element;
|
|
8
8
|
export declare function ResourceDetailState({ className, message, onBack, }: {
|
|
9
9
|
className?: string;
|
|
10
10
|
message: string;
|
|
11
11
|
onBack?: () => void;
|
|
12
|
-
}): import("react
|
|
12
|
+
}): import("react").JSX.Element;
|
|
13
13
|
export declare function ResourceDetailCard({ children, className, title, }: {
|
|
14
14
|
children: ReactNode;
|
|
15
15
|
className?: string;
|
|
16
16
|
title: string;
|
|
17
|
-
}): import("react
|
|
17
|
+
}): import("react").JSX.Element;
|
|
18
18
|
export declare function ResourceDetailHeader({ actions, badges, className, confirmAction, deleteConfirmName, deleteConfirmTemplate, deleteErrorMessage, deleting: deletingProp, onBack, onDelete, title, }: {
|
|
19
19
|
actions?: ReactNode;
|
|
20
20
|
badges?: ReactNode;
|
|
@@ -27,11 +27,11 @@ export declare function ResourceDetailHeader({ actions, badges, className, confi
|
|
|
27
27
|
onBack?: () => void;
|
|
28
28
|
onDelete?: () => Promise<void> | void;
|
|
29
29
|
title: string;
|
|
30
|
-
}): import("react
|
|
30
|
+
}): import("react").JSX.Element;
|
|
31
31
|
export declare function ResourceDetailSkeleton({ actionCount, detailRows, showNotes, stackedCards, }: {
|
|
32
32
|
actionCount: number;
|
|
33
33
|
detailRows: number;
|
|
34
34
|
showNotes?: boolean;
|
|
35
35
|
stackedCards?: number;
|
|
36
|
-
}): import("react
|
|
36
|
+
}): import("react").JSX.Element;
|
|
37
37
|
//# sourceMappingURL=resource-detail-shared.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-detail-shared.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resource-detail-shared.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAA;AAExD,eAAO,MAAM,oBAAoB,EAAE,aACI,CAAA;AAEvC,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE
|
|
1
|
+
{"version":3,"file":"resource-detail-shared.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resource-detail-shared.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAA;AAExD,eAAO,MAAM,oBAAoB,EAAE,aACI,CAAA;AAEvC,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAO9F;AAED,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,OAAO,EACP,MAAM,GACP,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;CACpB,+BAaA;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,SAAS,EACT,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;CACd,+BASA;AAED,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,MAAM,EACN,SAAS,EACT,aAAoC,EACpC,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,QAAQ,EAAE,YAAY,EACtB,MAAM,EACN,QAAQ,EACR,KAAK,GACN,EAAE;IACD,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,iBAAiB,EAAE,MAAM,CAAA;IACzB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,kBAAkB,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IACrC,KAAK,EAAE,MAAM,CAAA;CACd,+BA6DA;AAED,wBAAgB,sBAAsB,CAAC,EACrC,WAAW,EACX,UAAU,EACV,SAAgB,EAChB,YAAgB,GACjB,EAAE;IACD,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,+BA8EA"}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* detail page modules into the entry chunk. The page modules re-export them
|
|
8
8
|
* for backwards compatibility.
|
|
9
9
|
*/
|
|
10
|
-
export declare function ResourceDetailSkeleton(): import("react
|
|
11
|
-
export declare function ResourcePoolDetailSkeleton(): import("react
|
|
12
|
-
export declare function ResourceAssignmentDetailSkeleton(): import("react
|
|
13
|
-
export declare function ResourceAllocationDetailSkeleton(): import("react
|
|
10
|
+
export declare function ResourceDetailSkeleton(): import("react").JSX.Element;
|
|
11
|
+
export declare function ResourcePoolDetailSkeleton(): import("react").JSX.Element;
|
|
12
|
+
export declare function ResourceAssignmentDetailSkeleton(): import("react").JSX.Element;
|
|
13
|
+
export declare function ResourceAllocationDetailSkeleton(): import("react").JSX.Element;
|
|
14
14
|
//# sourceMappingURL=resource-detail-skeletons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-detail-skeletons.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resource-detail-skeletons.tsx"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AAEH,wBAAgB,sBAAsB,
|
|
1
|
+
{"version":3,"file":"resource-detail-skeletons.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resource-detail-skeletons.tsx"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AAEH,wBAAgB,sBAAsB,gCAErC;AAED,wBAAgB,0BAA0B,gCAEzC;AAED,wBAAgB,gCAAgC,gCAI/C;AAED,wBAAgB,gCAAgC,gCAI/C"}
|
|
@@ -14,9 +14,9 @@ export interface ResourcePoolDetailPageProps {
|
|
|
14
14
|
onOpenAssignment?: (assignmentId: string) => void;
|
|
15
15
|
confirmAction?: ConfirmAction;
|
|
16
16
|
}
|
|
17
|
-
export declare function ResourcePoolDetailPage({ className, confirmAction, deleting, id, onBack, onDelete, onOpenAllocation, onOpenAssignment, onOpenProduct, onOpenResource, }: ResourcePoolDetailPageProps): import("react
|
|
17
|
+
export declare function ResourcePoolDetailPage({ className, confirmAction, deleting, id, onBack, onDelete, onOpenAllocation, onOpenAssignment, onOpenProduct, onOpenResource, }: ResourcePoolDetailPageProps): import("react").JSX.Element;
|
|
18
18
|
export declare function PoolAllocationSummary({ allocation, onOpenAllocation, }: {
|
|
19
19
|
allocation: ResourceAllocationRow;
|
|
20
20
|
onOpenAllocation?: (allocationId: string) => void;
|
|
21
|
-
}): import("react
|
|
21
|
+
}): import("react").JSX.Element;
|
|
22
22
|
//# sourceMappingURL=resource-pool-detail-page.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-pool-detail-page.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resource-pool-detail-page.tsx"],"names":[],"mappings":"AAcA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EAQxB,MAAM,aAAa,CAAA;AAGpB,OAAO,EACL,KAAK,aAAa,EAKnB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAA;AAM3E,OAAO,EAAE,0BAA0B,EAAE,CAAA;AAErC,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IAC7D,gBAAgB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;IACjD,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,gBAAgB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;IACjD,aAAa,CAAC,EAAE,aAAa,CAAA;CAC9B;AAED,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,aAAa,EACb,QAAQ,EACR,EAAE,EACF,MAAM,EACN,QAAQ,EACR,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,cAAc,GACf,EAAE,2BAA2B
|
|
1
|
+
{"version":3,"file":"resource-pool-detail-page.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resource-pool-detail-page.tsx"],"names":[],"mappings":"AAcA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EAQxB,MAAM,aAAa,CAAA;AAGpB,OAAO,EACL,KAAK,aAAa,EAKnB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAA;AAM3E,OAAO,EAAE,0BAA0B,EAAE,CAAA;AAErC,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IAC7D,gBAAgB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;IACjD,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,gBAAgB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;IACjD,aAAa,CAAC,EAAE,aAAa,CAAA;CAC9B;AAED,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,aAAa,EACb,QAAQ,EACR,EAAE,EACF,MAAM,EACN,QAAQ,EACR,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,cAAc,GACf,EAAE,2BAA2B,+BA0L7B;AAED,wBAAgB,qBAAqB,CAAC,EACpC,UAAU,EACV,gBAAgB,GACjB,EAAE;IACD,UAAU,EAAE,qBAAqB,CAAA;IACjC,gBAAgB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;CAClD,+BAsCA"}
|
|
@@ -24,5 +24,5 @@ export declare function ResourcesOverview({ bookings, slots, closeouts, filtered
|
|
|
24
24
|
* `false` so the affordance isn't duplicated.
|
|
25
25
|
*/
|
|
26
26
|
showFilters?: boolean;
|
|
27
|
-
}): import("react
|
|
27
|
+
}): import("react").JSX.Element;
|
|
28
28
|
//# sourceMappingURL=resources-overview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-overview.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resources-overview.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,WAAW,EACX,yBAAyB,EACzB,UAAU,EACX,MAAM,aAAa,CAAA;AAGpB,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,KAAK,EACL,SAAS,EACT,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,wBAAwB,EACxB,sBAAsB,EACtB,MAAM,EACN,SAAS,EACT,UAAU,EACV,aAAa,EACb,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,WAAkB,GACnB,EAAE;IACD,QAAQ,EAAE,aAAa,EAAE,CAAA;IACzB,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,SAAS,EAAE,mBAAmB,EAAE,CAAA;IAChC,iBAAiB,EAAE,WAAW,EAAE,CAAA;IAChC,aAAa,EAAE,KAAK,CAAC;QAAE,MAAM,EAAE,OAAO,CAAA;KAAE,CAAC,CAAA;IACzC,eAAe,EAAE,yBAAyB,EAAE,CAAA;IAC5C,wBAAwB,EAAE,WAAW,EAAE,CAAA;IACvC,sBAAsB,EAAE,yBAAyB,EAAE,CAAA;IACnD,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,UAAU,EAAE,OAAO,CAAA;IACnB,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,gBAAgB,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;IAChD,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB
|
|
1
|
+
{"version":3,"file":"resources-overview.d.ts","sourceRoot":"","sources":["../../../src/resources/components/resources-overview.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,WAAW,EACX,yBAAyB,EACzB,UAAU,EACX,MAAM,aAAa,CAAA;AAGpB,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,KAAK,EACL,SAAS,EACT,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,wBAAwB,EACxB,sBAAsB,EACtB,MAAM,EACN,SAAS,EACT,UAAU,EACV,aAAa,EACb,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,WAAkB,GACnB,EAAE;IACD,QAAQ,EAAE,aAAa,EAAE,CAAA;IACzB,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,SAAS,EAAE,mBAAmB,EAAE,CAAA;IAChC,iBAAiB,EAAE,WAAW,EAAE,CAAA;IAChC,aAAa,EAAE,KAAK,CAAC;QAAE,MAAM,EAAE,OAAO,CAAA;KAAE,CAAC,CAAA;IACzC,eAAe,EAAE,yBAAyB,EAAE,CAAA;IAC5C,wBAAwB,EAAE,WAAW,EAAE,CAAA;IACvC,sBAAsB,EAAE,yBAAyB,EAAE,CAAA;IACnD,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,UAAU,EAAE,OAAO,CAAA;IACnB,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,gBAAgB,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;IAChD,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,+BAkJA"}
|
|
@@ -17,6 +17,6 @@ interface ResourcesFilterPopoverProps {
|
|
|
17
17
|
assignmentStatusFilter: string;
|
|
18
18
|
setAssignmentStatusFilter: (value: string) => void;
|
|
19
19
|
}
|
|
20
|
-
export declare function ResourcesFilterPopover({ activeTab, suppliers, products, supplierFilter, setSupplierFilter, selectedSupplierOption, setSelectedSupplierOption, productFilter, setProductFilter, selectedProductOption, setSelectedProductOption, activeFilter, setActiveFilter, assignmentStatusFilter, setAssignmentStatusFilter, }: ResourcesFilterPopoverProps): import("react
|
|
20
|
+
export declare function ResourcesFilterPopover({ activeTab, suppliers, products, supplierFilter, setSupplierFilter, selectedSupplierOption, setSelectedSupplierOption, productFilter, setProductFilter, selectedProductOption, setSelectedProductOption, activeFilter, setActiveFilter, assignmentStatusFilter, setAssignmentStatusFilter, }: ResourcesFilterPopoverProps): import("react").JSX.Element;
|
|
21
21
|
export {};
|
|
22
22
|
//# sourceMappingURL=resources-page-filters.d.ts.map
|