@tonzxz/government-forms 0.1.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/FORM_CATALOG.md +44 -0
- package/README.md +165 -0
- package/dist/definitions.d.ts +1147 -0
- package/dist/definitions.js +60 -0
- package/dist/forms/iar.d.ts +172 -0
- package/dist/forms/iar.js +6 -0
- package/dist/forms/ics.d.ts +48 -0
- package/dist/forms/ics.js +6 -0
- package/dist/forms/iirup.d.ts +54 -0
- package/dist/forms/iirup.js +6 -0
- package/dist/forms/iirusp.d.ts +32 -0
- package/dist/forms/iirusp.js +6 -0
- package/dist/forms/itr.d.ts +42 -0
- package/dist/forms/itr.js +6 -0
- package/dist/forms/par.d.ts +84 -0
- package/dist/forms/par.js +6 -0
- package/dist/forms/ppelc.d.ts +34 -0
- package/dist/forms/ppelc.js +6 -0
- package/dist/forms/pr.d.ts +27 -0
- package/dist/forms/pr.js +6 -0
- package/dist/forms/property-card.d.ts +68 -0
- package/dist/forms/property-card.js +6 -0
- package/dist/forms/ptr.d.ts +54 -0
- package/dist/forms/ptr.js +6 -0
- package/dist/forms/regspi.d.ts +32 -0
- package/dist/forms/regspi.js +6 -0
- package/dist/forms/ris.d.ts +66 -0
- package/dist/forms/ris.js +6 -0
- package/dist/forms/rlsddp.d.ts +54 -0
- package/dist/forms/rlsddp.js +6 -0
- package/dist/forms/rlsddsp.d.ts +42 -0
- package/dist/forms/rlsddsp.js +6 -0
- package/dist/forms/rpci.d.ts +32 -0
- package/dist/forms/rpci.js +6 -0
- package/dist/forms/rpcppe.d.ts +32 -0
- package/dist/forms/rpcppe.js +6 -0
- package/dist/forms/rpcsp.d.ts +32 -0
- package/dist/forms/rpcsp.js +6 -0
- package/dist/forms/rrsp.d.ts +32 -0
- package/dist/forms/rrsp.js +6 -0
- package/dist/forms/rsmi.d.ts +32 -0
- package/dist/forms/rsmi.js +6 -0
- package/dist/forms/rsmp.d.ts +33 -0
- package/dist/forms/rsmp.js +6 -0
- package/dist/forms/rspi.d.ts +32 -0
- package/dist/forms/rspi.js +6 -0
- package/dist/forms/spc.d.ts +37 -0
- package/dist/forms/spc.js +6 -0
- package/dist/forms/splc.d.ts +41 -0
- package/dist/forms/splc.js +6 -0
- package/dist/forms/stock-card.d.ts +28 -0
- package/dist/forms/stock-card.js +6 -0
- package/dist/forms/wmr.d.ts +32 -0
- package/dist/forms/wmr.js +6 -0
- package/dist/gam/components/gam-report-workbench.d.ts +40 -0
- package/dist/gam/components/gam-report-workbench.js +2 -0
- package/dist/gam/components/grand-total-computation.d.ts +10 -0
- package/dist/gam/components/grand-total-computation.js +26 -0
- package/dist/gam/components/iar-preview.d.ts +30 -0
- package/dist/gam/components/iar-preview.js +150 -0
- package/dist/gam/components/ics-preview.d.ts +31 -0
- package/dist/gam/components/ics-preview.js +114 -0
- package/dist/gam/components/iirup-preview.d.ts +42 -0
- package/dist/gam/components/iirup-preview.js +237 -0
- package/dist/gam/components/itr-preview.d.ts +31 -0
- package/dist/gam/components/itr-preview.js +180 -0
- package/dist/gam/components/par-preview.d.ts +28 -0
- package/dist/gam/components/par-preview.js +95 -0
- package/dist/gam/components/ppelc-preview.d.ts +28 -0
- package/dist/gam/components/ppelc-preview.js +128 -0
- package/dist/gam/components/property-card-preview.d.ts +21 -0
- package/dist/gam/components/property-card-preview.js +117 -0
- package/dist/gam/components/ptr-preview.d.ts +36 -0
- package/dist/gam/components/ptr-preview.js +122 -0
- package/dist/gam/components/purchase-order-page-client.d.ts +66 -0
- package/dist/gam/components/purchase-order-page-client.js +179 -0
- package/dist/gam/components/reg-spi-preview.d.ts +28 -0
- package/dist/gam/components/reg-spi-preview.js +138 -0
- package/dist/gam/components/ris-form.d.ts +13 -0
- package/dist/gam/components/ris-form.js +20 -0
- package/dist/gam/components/ris-preview.d.ts +7 -0
- package/dist/gam/components/ris-preview.js +16 -0
- package/dist/gam/components/rlsddp-preview.d.ts +34 -0
- package/dist/gam/components/rlsddp-preview.js +251 -0
- package/dist/gam/components/rlsddsp-preview.d.ts +33 -0
- package/dist/gam/components/rlsddsp-preview.js +226 -0
- package/dist/gam/components/rpci-preview.d.ts +27 -0
- package/dist/gam/components/rpci-preview.js +123 -0
- package/dist/gam/components/rpcppe-preview.d.ts +28 -0
- package/dist/gam/components/rpcppe-preview.js +133 -0
- package/dist/gam/components/rpcsp-preview.d.ts +29 -0
- package/dist/gam/components/rpcsp-preview.js +81 -0
- package/dist/gam/components/rspi-preview.d.ts +23 -0
- package/dist/gam/components/rspi-preview.js +72 -0
- package/dist/gam/components/spc-preview.d.ts +23 -0
- package/dist/gam/components/spc-preview.js +149 -0
- package/dist/gam/components/splc-entry-form.d.ts +14 -0
- package/dist/gam/components/splc-entry-form.js +6 -0
- package/dist/gam/components/splc-preview.d.ts +27 -0
- package/dist/gam/components/splc-preview.js +192 -0
- package/dist/gam/components/stock-card-preview.d.ts +14 -0
- package/dist/gam/components/stock-card-preview.js +17 -0
- package/dist/gam/config/new-report-config.d.ts +1094 -0
- package/dist/gam/config/new-report-config.js +1478 -0
- package/dist/gam/purchase-order-flow.d.ts +146 -0
- package/dist/gam/purchase-order-flow.js +173 -0
- package/dist/gam/purchase-request/workflow.d.ts +19 -0
- package/dist/gam/purchase-request/workflow.js +45 -0
- package/dist/gam/types/ris-types.d.ts +37 -0
- package/dist/gam/types/ris-types.js +1 -0
- package/dist/gam/utils/export-ics-xlsx.d.ts +28 -0
- package/dist/gam/utils/export-ics-xlsx.js +273 -0
- package/dist/gam/utils/export-par-xlsx.d.ts +18 -0
- package/dist/gam/utils/export-par-xlsx.js +181 -0
- package/dist/gam/utils/export-preview-pdf.d.ts +13 -0
- package/dist/gam/utils/export-preview-pdf.js +270 -0
- package/dist/gam/utils/export-report-xlsx.d.ts +228 -0
- package/dist/gam/utils/export-report-xlsx.js +873 -0
- package/dist/gam/utils/line-totals.d.ts +6 -0
- package/dist/gam/utils/line-totals.js +18 -0
- package/dist/gam/utils/monetary-input.d.ts +6 -0
- package/dist/gam/utils/monetary-input.js +18 -0
- package/dist/gam/utils/print-element.d.ts +8 -0
- package/dist/gam/utils/print-element.js +157 -0
- package/dist/government-form.d.ts +16 -0
- package/dist/government-form.js +45 -0
- package/dist/index.d.ts +49 -0
- package/dist/index.js +50 -0
- package/dist/internal/components/configurable-form-layout.d.ts +20 -0
- package/dist/internal/components/configurable-form-layout.js +49 -0
- package/dist/internal/components/ui/badge.d.ts +7 -0
- package/dist/internal/components/ui/badge.js +34 -0
- package/dist/internal/components/ui/button.d.ts +10 -0
- package/dist/internal/components/ui/button.js +35 -0
- package/dist/internal/components/ui/calendar.d.ts +8 -0
- package/dist/internal/components/ui/calendar.js +77 -0
- package/dist/internal/components/ui/command.d.ts +19 -0
- package/dist/internal/components/ui/command.js +36 -0
- package/dist/internal/components/ui/date-input.d.ts +14 -0
- package/dist/internal/components/ui/date-input.js +33 -0
- package/dist/internal/components/ui/date-picker.d.ts +19 -0
- package/dist/internal/components/ui/date-picker.js +34 -0
- package/dist/internal/components/ui/dialog.d.ts +18 -0
- package/dist/internal/components/ui/dialog.js +38 -0
- package/dist/internal/components/ui/input-group.d.ts +18 -0
- package/dist/internal/components/ui/input-group.js +57 -0
- package/dist/internal/components/ui/input.d.ts +3 -0
- package/dist/internal/components/ui/input.js +12 -0
- package/dist/internal/components/ui/label.d.ts +3 -0
- package/dist/internal/components/ui/label.js +7 -0
- package/dist/internal/components/ui/popover.d.ts +9 -0
- package/dist/internal/components/ui/popover.js +23 -0
- package/dist/internal/components/ui/select.d.ts +17 -0
- package/dist/internal/components/ui/select.js +35 -0
- package/dist/internal/components/ui/switch.d.ts +5 -0
- package/dist/internal/components/ui/switch.js +8 -0
- package/dist/internal/components/ui/table.d.ts +10 -0
- package/dist/internal/components/ui/table.js +28 -0
- package/dist/internal/components/ui/tabs.d.ts +10 -0
- package/dist/internal/components/ui/tabs.js +29 -0
- package/dist/internal/components/ui/textarea.d.ts +3 -0
- package/dist/internal/components/ui/textarea.js +7 -0
- package/dist/internal/components/ui/tooltip.d.ts +6 -0
- package/dist/internal/components/ui/tooltip.js +17 -0
- package/dist/internal/contracts/modules/v1/reg-spi-reports/reg-spi-reports.schema.d.ts +112 -0
- package/dist/internal/contracts/modules/v1/reg-spi-reports/reg-spi-reports.schema.js +91 -0
- package/dist/internal/hooks/use-form-field-order.d.ts +7 -0
- package/dist/internal/hooks/use-form-field-order.js +43 -0
- package/dist/internal/lib/utils.d.ts +2 -0
- package/dist/internal/lib/utils.js +3 -0
- package/dist/inventory/components/inventory-item-form.d.ts +7 -0
- package/dist/inventory/components/inventory-item-form.js +5 -0
- package/dist/inventory/components/inventory-item-preview.d.ts +6 -0
- package/dist/inventory/components/inventory-item-preview.js +5 -0
- package/dist/inventory/iar.d.ts +4 -0
- package/dist/inventory/iar.js +4 -0
- package/dist/inventory/ics.d.ts +2 -0
- package/dist/inventory/ics.js +3 -0
- package/dist/inventory/iirup.d.ts +2 -0
- package/dist/inventory/iirup.js +3 -0
- package/dist/inventory/iirusp.d.ts +4 -0
- package/dist/inventory/iirusp.js +4 -0
- package/dist/inventory/index.d.ts +3 -0
- package/dist/inventory/index.js +4 -0
- package/dist/inventory/item.d.ts +3 -0
- package/dist/inventory/item.js +3 -0
- package/dist/inventory/itr.d.ts +4 -0
- package/dist/inventory/itr.js +4 -0
- package/dist/inventory/par.d.ts +2 -0
- package/dist/inventory/par.js +3 -0
- package/dist/inventory/po.d.ts +2 -0
- package/dist/inventory/po.js +2 -0
- package/dist/inventory/ppelc.d.ts +2 -0
- package/dist/inventory/ppelc.js +3 -0
- package/dist/inventory/pplc.d.ts +2 -0
- package/dist/inventory/pplc.js +4 -0
- package/dist/inventory/pr.d.ts +4 -0
- package/dist/inventory/pr.js +4 -0
- package/dist/inventory/property-card.d.ts +2 -0
- package/dist/inventory/property-card.js +3 -0
- package/dist/inventory/ptr.d.ts +2 -0
- package/dist/inventory/ptr.js +3 -0
- package/dist/inventory/regspi.d.ts +4 -0
- package/dist/inventory/regspi.js +4 -0
- package/dist/inventory/ris.d.ts +4 -0
- package/dist/inventory/ris.js +4 -0
- package/dist/inventory/rlsddp.d.ts +4 -0
- package/dist/inventory/rlsddp.js +4 -0
- package/dist/inventory/rlsddsp.d.ts +2 -0
- package/dist/inventory/rlsddsp.js +3 -0
- package/dist/inventory/rpci.d.ts +2 -0
- package/dist/inventory/rpci.js +3 -0
- package/dist/inventory/rpcppe.d.ts +2 -0
- package/dist/inventory/rpcppe.js +3 -0
- package/dist/inventory/rpcsp.d.ts +2 -0
- package/dist/inventory/rpcsp.js +3 -0
- package/dist/inventory/rrsp.d.ts +2 -0
- package/dist/inventory/rrsp.js +3 -0
- package/dist/inventory/rsmi.d.ts +4 -0
- package/dist/inventory/rsmi.js +4 -0
- package/dist/inventory/rsmp.d.ts +4 -0
- package/dist/inventory/rsmp.js +4 -0
- package/dist/inventory/rspi.d.ts +2 -0
- package/dist/inventory/rspi.js +3 -0
- package/dist/inventory/spc.d.ts +2 -0
- package/dist/inventory/spc.js +3 -0
- package/dist/inventory/splc.d.ts +3 -0
- package/dist/inventory/splc.js +4 -0
- package/dist/inventory/stock-card.d.ts +4 -0
- package/dist/inventory/stock-card.js +4 -0
- package/dist/inventory/types.d.ts +11 -0
- package/dist/inventory/types.js +1 -0
- package/dist/inventory/wmr.d.ts +4 -0
- package/dist/inventory/wmr.js +4 -0
- package/dist/lib/rpcsp-accountable-person.d.ts +1 -0
- package/dist/lib/rpcsp-accountable-person.js +10 -0
- package/dist/reports/iar/_components/create-form.d.ts +13 -0
- package/dist/reports/iar/_components/create-form.js +92 -0
- package/dist/reports/iar/_components/document-preview.d.ts +11 -0
- package/dist/reports/iar/_components/document-preview.js +131 -0
- package/dist/reports/iar/types.d.ts +97 -0
- package/dist/reports/iar/types.js +24 -0
- package/dist/reports/iirusp/_components/create-form.d.ts +17 -0
- package/dist/reports/iirusp/_components/create-form.js +118 -0
- package/dist/reports/iirusp/_components/document-preview.d.ts +8 -0
- package/dist/reports/iirusp/_components/document-preview.js +389 -0
- package/dist/reports/iirusp/types.d.ts +134 -0
- package/dist/reports/iirusp/types.js +29 -0
- package/dist/reports/iirusp/utils.d.ts +29 -0
- package/dist/reports/iirusp/utils.js +488 -0
- package/dist/reports/itr/_components/create-form.d.ts +28 -0
- package/dist/reports/itr/_components/create-form.js +90 -0
- package/dist/reports/itr/_components/document-preview.d.ts +6 -0
- package/dist/reports/itr/_components/document-preview.js +7 -0
- package/dist/reports/itr/types.d.ts +68 -0
- package/dist/reports/itr/types.js +27 -0
- package/dist/reports/itr/utils.d.ts +24 -0
- package/dist/reports/itr/utils.js +76 -0
- package/dist/reports/pr/_components/create-form.d.ts +16 -0
- package/dist/reports/pr/_components/create-form.js +52 -0
- package/dist/reports/pr/_components/document-preview.d.ts +7 -0
- package/dist/reports/pr/_components/document-preview.js +9 -0
- package/dist/reports/pr/types.d.ts +69 -0
- package/dist/reports/pr/types.js +1 -0
- package/dist/reports/pr/utils.d.ts +72 -0
- package/dist/reports/pr/utils.js +572 -0
- package/dist/reports/regspi/_components/create-form.d.ts +19 -0
- package/dist/reports/regspi/_components/create-form.js +33 -0
- package/dist/reports/regspi/_components/document-preview.d.ts +6 -0
- package/dist/reports/regspi/_components/document-preview.js +7 -0
- package/dist/reports/regspi/types.d.ts +29 -0
- package/dist/reports/regspi/types.js +24 -0
- package/dist/reports/regspi/utils.d.ts +48 -0
- package/dist/reports/regspi/utils.js +98 -0
- package/dist/reports/ris/_components/create-form.d.ts +36 -0
- package/dist/reports/ris/_components/create-form.js +149 -0
- package/dist/reports/ris/_components/document-preview.d.ts +8 -0
- package/dist/reports/ris/_components/document-preview.js +31 -0
- package/dist/reports/ris/types.d.ts +93 -0
- package/dist/reports/ris/types.js +1 -0
- package/dist/reports/rlsddp/_components/create-form.d.ts +11 -0
- package/dist/reports/rlsddp/_components/create-form.js +165 -0
- package/dist/reports/rlsddp/_components/document-preview.d.ts +8 -0
- package/dist/reports/rlsddp/_components/document-preview.js +15 -0
- package/dist/reports/rlsddp/types.d.ts +105 -0
- package/dist/reports/rlsddp/types.js +31 -0
- package/dist/reports/rrsp/components/rrsp-preview.d.ts +21 -0
- package/dist/reports/rrsp/components/rrsp-preview.js +155 -0
- package/dist/reports/rsmi/components/rsmi-create-form.d.ts +20 -0
- package/dist/reports/rsmi/components/rsmi-create-form.js +8 -0
- package/dist/reports/rsmi/components/rsmi-document-body.d.ts +15 -0
- package/dist/reports/rsmi/components/rsmi-document-body.js +12 -0
- package/dist/reports/rsmi/components/rsmi-types.d.ts +45 -0
- package/dist/reports/rsmi/components/rsmi-types.js +1 -0
- package/dist/reports/rsmi/components/rsmi-utils.d.ts +2 -0
- package/dist/reports/rsmi/components/rsmi-utils.js +18 -0
- package/dist/reports/rsmp/components/rsmp-create-modal.d.ts +5 -0
- package/dist/reports/rsmp/components/rsmp-create-modal.js +7 -0
- package/dist/reports/rsmp/components/rsmp-preview-modal.d.ts +11 -0
- package/dist/reports/rsmp/components/rsmp-preview-modal.js +47 -0
- package/dist/reports/rsmp/components/rsmp-types.d.ts +44 -0
- package/dist/reports/rsmp/components/rsmp-types.js +1 -0
- package/dist/reports/rsmp/components/rsmp-utils.d.ts +5 -0
- package/dist/reports/rsmp/components/rsmp-utils.js +41 -0
- package/dist/reports/rsmp/lib/rsmp-grouping.d.ts +14 -0
- package/dist/reports/rsmp/lib/rsmp-grouping.js +75 -0
- package/dist/reports/stock-card/_components/create-form.d.ts +13 -0
- package/dist/reports/stock-card/_components/create-form.js +39 -0
- package/dist/reports/stock-card/_components/document-preview.d.ts +7 -0
- package/dist/reports/stock-card/_components/document-preview.js +29 -0
- package/dist/reports/stock-card/types.d.ts +31 -0
- package/dist/reports/stock-card/types.js +1 -0
- package/dist/reports/stock-card/utils.d.ts +32 -0
- package/dist/reports/stock-card/utils.js +248 -0
- package/dist/reports/wmr/_components/create-form.d.ts +22 -0
- package/dist/reports/wmr/_components/create-form.js +61 -0
- package/dist/reports/wmr/_components/document-preview.d.ts +10 -0
- package/dist/reports/wmr/_components/document-preview.js +59 -0
- package/dist/reports/wmr/types.d.ts +45 -0
- package/dist/reports/wmr/types.js +1 -0
- package/dist/reports/wmr/utils.d.ts +32 -0
- package/dist/reports/wmr/utils.js +343 -0
- package/dist/styles.css +4492 -0
- package/extraction-manifest.json +620 -0
- package/package.json +197 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
import { cn } from "../../lib/utils.js";
|
|
6
|
+
function Tabs({ className, orientation = "horizontal", ...props }) {
|
|
7
|
+
return (_jsx(TabsPrimitive.Root, { "data-slot": "tabs", "data-orientation": orientation, className: cn("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col", className), ...props }));
|
|
8
|
+
}
|
|
9
|
+
const tabsListVariants = cva("group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center rounded-lg p-[3px] group-data-horizontal/tabs:h-8 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none", {
|
|
10
|
+
variants: {
|
|
11
|
+
variant: {
|
|
12
|
+
default: "bg-muted",
|
|
13
|
+
line: "gap-1 bg-transparent",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
defaultVariants: {
|
|
17
|
+
variant: "default",
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
function TabsList({ className, variant = "default", ...props }) {
|
|
21
|
+
return (_jsx(TabsPrimitive.List, { "data-slot": "tabs-list", "data-variant": variant, className: cn(tabsListVariants({ variant }), className), ...props }));
|
|
22
|
+
}
|
|
23
|
+
function TabsTrigger({ className, ...props }) {
|
|
24
|
+
return (_jsx(TabsPrimitive.Tab, { "data-slot": "tabs-trigger", type: "button", className: cn("focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent", "data-active:bg-background dark:data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 data-active:text-foreground", "after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100", className), ...props }));
|
|
25
|
+
}
|
|
26
|
+
function TabsContent({ className, ...props }) {
|
|
27
|
+
return (_jsx(TabsPrimitive.Panel, { "data-slot": "tabs-content", className: cn("flex-1 text-sm outline-none", className), ...props }));
|
|
28
|
+
}
|
|
29
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent, tabsListVariants };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
|
+
function Textarea({ className, ...props }) {
|
|
5
|
+
return (_jsx("textarea", { "data-slot": "textarea", className: cn("border-input dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 disabled:bg-input/50 dark:disabled:bg-input/80 placeholder:text-muted-foreground flex field-sizing-content min-h-16 w-full rounded-lg border bg-transparent px-2.5 py-2 text-base transition-colors outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-[3px] md:text-sm", className), ...props }));
|
|
6
|
+
}
|
|
7
|
+
export { Textarea };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
|
|
2
|
+
declare function TooltipProvider({ delay, ...props }: TooltipPrimitive.Provider.Props): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function Tooltip({ ...props }: TooltipPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function TooltipTrigger({ ...props }: TooltipPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function TooltipContent({ className, side, sideOffset, align, alignOffset, children, ...props }: TooltipPrimitive.Popup.Props & Pick<TooltipPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
5
|
+
function TooltipProvider({ delay = 0, ...props }) {
|
|
6
|
+
return _jsx(TooltipPrimitive.Provider, { "data-slot": "tooltip-provider", delay: delay, ...props });
|
|
7
|
+
}
|
|
8
|
+
function Tooltip({ ...props }) {
|
|
9
|
+
return (_jsx(TooltipProvider, { children: _jsx(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props }) }));
|
|
10
|
+
}
|
|
11
|
+
function TooltipTrigger({ ...props }) {
|
|
12
|
+
return _jsx(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
|
|
13
|
+
}
|
|
14
|
+
function TooltipContent({ className, side = "top", sideOffset = 4, align = "center", alignOffset = 0, children, ...props }) {
|
|
15
|
+
return (_jsx(TooltipPrimitive.Portal, { children: _jsx(TooltipPrimitive.Positioner, { align: align, alignOffset: alignOffset, side: side, sideOffset: sideOffset, className: "isolate z-50", children: _jsxs(TooltipPrimitive.Popup, { "data-slot": "tooltip-content", className: cn("data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 bg-foreground text-background z-50 w-fit max-w-xs origin-(--transform-origin) rounded-md px-3 py-1.5 text-xs", className), ...props, children: [children, _jsx(TooltipPrimitive.Arrow, { className: "bg-inherit fill-inherit z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] data-[side=bottom]:top-1 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })] }) }) }));
|
|
16
|
+
}
|
|
17
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const RegSpiEntrySchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
4
|
+
lineNo: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
entryDate: z.ZodOptional<z.ZodString>;
|
|
6
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
7
|
+
iicRrspNo: z.ZodOptional<z.ZodString>;
|
|
8
|
+
semiExpendablePropertyNo: z.ZodOptional<z.ZodString>;
|
|
9
|
+
itemDescription: z.ZodOptional<z.ZodString>;
|
|
10
|
+
estimatedUsefulLife: z.ZodOptional<z.ZodString>;
|
|
11
|
+
issuedQty: z.ZodString;
|
|
12
|
+
issuedOfficeOfficer: z.ZodOptional<z.ZodString>;
|
|
13
|
+
returnedQty: z.ZodString;
|
|
14
|
+
returnedOfficeOfficer: z.ZodOptional<z.ZodString>;
|
|
15
|
+
reissuedQty: z.ZodString;
|
|
16
|
+
reissuedOfficeOfficer: z.ZodOptional<z.ZodString>;
|
|
17
|
+
disposedQty: z.ZodString;
|
|
18
|
+
balance: z.ZodString;
|
|
19
|
+
amount: z.ZodString;
|
|
20
|
+
remarks: z.ZodOptional<z.ZodString>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
export declare const RegSpiReportSchema: z.ZodObject<{
|
|
23
|
+
id: z.ZodString;
|
|
24
|
+
regSpiNo: z.ZodString;
|
|
25
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
26
|
+
semiExpendableProperty: z.ZodOptional<z.ZodString>;
|
|
27
|
+
fundCluster: z.ZodOptional<z.ZodString>;
|
|
28
|
+
sheetNumber: z.ZodOptional<z.ZodString>;
|
|
29
|
+
status: z.ZodString;
|
|
30
|
+
documentTypeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
32
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
lineNo: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
entryDate: z.ZodOptional<z.ZodString>;
|
|
35
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
36
|
+
iicRrspNo: z.ZodOptional<z.ZodString>;
|
|
37
|
+
semiExpendablePropertyNo: z.ZodOptional<z.ZodString>;
|
|
38
|
+
itemDescription: z.ZodOptional<z.ZodString>;
|
|
39
|
+
estimatedUsefulLife: z.ZodOptional<z.ZodString>;
|
|
40
|
+
issuedQty: z.ZodString;
|
|
41
|
+
issuedOfficeOfficer: z.ZodOptional<z.ZodString>;
|
|
42
|
+
returnedQty: z.ZodString;
|
|
43
|
+
returnedOfficeOfficer: z.ZodOptional<z.ZodString>;
|
|
44
|
+
reissuedQty: z.ZodString;
|
|
45
|
+
reissuedOfficeOfficer: z.ZodOptional<z.ZodString>;
|
|
46
|
+
disposedQty: z.ZodString;
|
|
47
|
+
balance: z.ZodString;
|
|
48
|
+
amount: z.ZodString;
|
|
49
|
+
remarks: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
createdAt: z.ZodString;
|
|
52
|
+
updatedAt: z.ZodString;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
export declare const RegSpiIdSchema: z.ZodObject<{
|
|
55
|
+
id: z.ZodString;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
export declare const CreateRegSpiReportSchema: z.ZodObject<{
|
|
58
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
59
|
+
semiExpendableProperty: z.ZodOptional<z.ZodString>;
|
|
60
|
+
fundCluster: z.ZodOptional<z.ZodString>;
|
|
61
|
+
sheetNumber: z.ZodOptional<z.ZodString>;
|
|
62
|
+
documentTypeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
63
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
64
|
+
entryDate: z.ZodOptional<z.ZodString>;
|
|
65
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
66
|
+
iicRrspNo: z.ZodOptional<z.ZodString>;
|
|
67
|
+
semiExpendablePropertyNo: z.ZodOptional<z.ZodString>;
|
|
68
|
+
itemDescription: z.ZodOptional<z.ZodString>;
|
|
69
|
+
estimatedUsefulLife: z.ZodOptional<z.ZodString>;
|
|
70
|
+
issuedQty: z.ZodString;
|
|
71
|
+
issuedOfficeOfficer: z.ZodOptional<z.ZodString>;
|
|
72
|
+
returnedQty: z.ZodString;
|
|
73
|
+
returnedOfficeOfficer: z.ZodOptional<z.ZodString>;
|
|
74
|
+
reissuedQty: z.ZodString;
|
|
75
|
+
reissuedOfficeOfficer: z.ZodOptional<z.ZodString>;
|
|
76
|
+
disposedQty: z.ZodString;
|
|
77
|
+
balance: z.ZodString;
|
|
78
|
+
amount: z.ZodString;
|
|
79
|
+
remarks: z.ZodOptional<z.ZodString>;
|
|
80
|
+
}, z.core.$strip>>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
export declare const UpdateRegSpiReportSchema: z.ZodObject<{
|
|
83
|
+
id: z.ZodString;
|
|
84
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
85
|
+
semiExpendableProperty: z.ZodOptional<z.ZodString>;
|
|
86
|
+
fundCluster: z.ZodOptional<z.ZodString>;
|
|
87
|
+
sheetNumber: z.ZodOptional<z.ZodString>;
|
|
88
|
+
status: z.ZodOptional<z.ZodString>;
|
|
89
|
+
documentTypeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
90
|
+
entries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
91
|
+
entryDate: z.ZodOptional<z.ZodString>;
|
|
92
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
93
|
+
iicRrspNo: z.ZodOptional<z.ZodString>;
|
|
94
|
+
semiExpendablePropertyNo: z.ZodOptional<z.ZodString>;
|
|
95
|
+
itemDescription: z.ZodOptional<z.ZodString>;
|
|
96
|
+
estimatedUsefulLife: z.ZodOptional<z.ZodString>;
|
|
97
|
+
issuedQty: z.ZodString;
|
|
98
|
+
issuedOfficeOfficer: z.ZodOptional<z.ZodString>;
|
|
99
|
+
returnedQty: z.ZodString;
|
|
100
|
+
returnedOfficeOfficer: z.ZodOptional<z.ZodString>;
|
|
101
|
+
reissuedQty: z.ZodString;
|
|
102
|
+
reissuedOfficeOfficer: z.ZodOptional<z.ZodString>;
|
|
103
|
+
disposedQty: z.ZodString;
|
|
104
|
+
balance: z.ZodString;
|
|
105
|
+
amount: z.ZodString;
|
|
106
|
+
remarks: z.ZodOptional<z.ZodString>;
|
|
107
|
+
}, z.core.$strip>>>;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
export type RegSpiReport = z.infer<typeof RegSpiReportSchema>;
|
|
110
|
+
export type RegSpiEntry = z.infer<typeof RegSpiEntrySchema>;
|
|
111
|
+
export type CreateRegSpiReportInput = z.infer<typeof CreateRegSpiReportSchema>;
|
|
112
|
+
export type UpdateRegSpiReportInput = z.infer<typeof UpdateRegSpiReportSchema>;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const RegSpiEntrySchema = z.object({
|
|
3
|
+
id: z.number().optional(),
|
|
4
|
+
lineNo: z.number().optional(),
|
|
5
|
+
entryDate: z.string().optional(),
|
|
6
|
+
reference: z.string().optional(),
|
|
7
|
+
iicRrspNo: z.string().optional(),
|
|
8
|
+
semiExpendablePropertyNo: z.string().optional(),
|
|
9
|
+
itemDescription: z.string().optional(),
|
|
10
|
+
estimatedUsefulLife: z.string().optional(),
|
|
11
|
+
issuedQty: z.string(),
|
|
12
|
+
issuedOfficeOfficer: z.string().optional(),
|
|
13
|
+
returnedQty: z.string(),
|
|
14
|
+
returnedOfficeOfficer: z.string().optional(),
|
|
15
|
+
reissuedQty: z.string(),
|
|
16
|
+
reissuedOfficeOfficer: z.string().optional(),
|
|
17
|
+
disposedQty: z.string(),
|
|
18
|
+
balance: z.string(),
|
|
19
|
+
amount: z.string(),
|
|
20
|
+
remarks: z.string().optional(),
|
|
21
|
+
});
|
|
22
|
+
export const RegSpiReportSchema = z.object({
|
|
23
|
+
id: z.string(),
|
|
24
|
+
regSpiNo: z.string(),
|
|
25
|
+
entityName: z.string().optional(),
|
|
26
|
+
semiExpendableProperty: z.string().optional(),
|
|
27
|
+
fundCluster: z.string().optional(),
|
|
28
|
+
sheetNumber: z.string().optional(),
|
|
29
|
+
status: z.string(),
|
|
30
|
+
documentTypeId: z.number().nullable().optional(),
|
|
31
|
+
entries: z.array(RegSpiEntrySchema),
|
|
32
|
+
createdAt: z.string(),
|
|
33
|
+
updatedAt: z.string(),
|
|
34
|
+
});
|
|
35
|
+
export const RegSpiIdSchema = z.object({
|
|
36
|
+
id: z.string(),
|
|
37
|
+
});
|
|
38
|
+
export const CreateRegSpiReportSchema = z.object({
|
|
39
|
+
entityName: z.string().optional(),
|
|
40
|
+
semiExpendableProperty: z.string().optional(),
|
|
41
|
+
fundCluster: z.string().optional(),
|
|
42
|
+
sheetNumber: z.string().optional(),
|
|
43
|
+
documentTypeId: z.number().nullable().optional(),
|
|
44
|
+
entries: z.array(z.object({
|
|
45
|
+
entryDate: z.string().optional(),
|
|
46
|
+
reference: z.string().optional(),
|
|
47
|
+
iicRrspNo: z.string().optional(),
|
|
48
|
+
semiExpendablePropertyNo: z.string().optional(),
|
|
49
|
+
itemDescription: z.string().optional(),
|
|
50
|
+
estimatedUsefulLife: z.string().optional(),
|
|
51
|
+
issuedQty: z.string(),
|
|
52
|
+
issuedOfficeOfficer: z.string().optional(),
|
|
53
|
+
returnedQty: z.string(),
|
|
54
|
+
returnedOfficeOfficer: z.string().optional(),
|
|
55
|
+
reissuedQty: z.string(),
|
|
56
|
+
reissuedOfficeOfficer: z.string().optional(),
|
|
57
|
+
disposedQty: z.string(),
|
|
58
|
+
balance: z.string(),
|
|
59
|
+
amount: z.string(),
|
|
60
|
+
remarks: z.string().optional(),
|
|
61
|
+
})),
|
|
62
|
+
});
|
|
63
|
+
export const UpdateRegSpiReportSchema = z.object({
|
|
64
|
+
id: z.string(),
|
|
65
|
+
entityName: z.string().optional(),
|
|
66
|
+
semiExpendableProperty: z.string().optional(),
|
|
67
|
+
fundCluster: z.string().optional(),
|
|
68
|
+
sheetNumber: z.string().optional(),
|
|
69
|
+
status: z.string().optional(),
|
|
70
|
+
documentTypeId: z.number().nullable().optional(),
|
|
71
|
+
entries: z
|
|
72
|
+
.array(z.object({
|
|
73
|
+
entryDate: z.string().optional(),
|
|
74
|
+
reference: z.string().optional(),
|
|
75
|
+
iicRrspNo: z.string().optional(),
|
|
76
|
+
semiExpendablePropertyNo: z.string().optional(),
|
|
77
|
+
itemDescription: z.string().optional(),
|
|
78
|
+
estimatedUsefulLife: z.string().optional(),
|
|
79
|
+
issuedQty: z.string(),
|
|
80
|
+
issuedOfficeOfficer: z.string().optional(),
|
|
81
|
+
returnedQty: z.string(),
|
|
82
|
+
returnedOfficeOfficer: z.string().optional(),
|
|
83
|
+
reissuedQty: z.string(),
|
|
84
|
+
reissuedOfficeOfficer: z.string().optional(),
|
|
85
|
+
disposedQty: z.string(),
|
|
86
|
+
balance: z.string(),
|
|
87
|
+
amount: z.string(),
|
|
88
|
+
remarks: z.string().optional(),
|
|
89
|
+
}))
|
|
90
|
+
.optional(),
|
|
91
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function useFormFieldOrder(formKey: string, defaultIds: readonly string[]): {
|
|
2
|
+
order: string[];
|
|
3
|
+
setOrder: (newOrder: string[]) => void;
|
|
4
|
+
resetOrder: () => void;
|
|
5
|
+
isConfiguring: boolean;
|
|
6
|
+
setIsConfiguring: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useCallback, useEffect, useRef, useState } from "react";
|
|
3
|
+
const STORAGE_PREFIX = "tonzxz-forms:form-field-order:";
|
|
4
|
+
export function useFormFieldOrder(formKey, defaultIds) {
|
|
5
|
+
const initialIds = useRef(defaultIds);
|
|
6
|
+
const [order, setOrderState] = useState(() => [...defaultIds]);
|
|
7
|
+
const [isConfiguring, setIsConfiguring] = useState(false);
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
try {
|
|
10
|
+
const saved = localStorage.getItem(STORAGE_PREFIX + formKey);
|
|
11
|
+
if (saved) {
|
|
12
|
+
const parsed = JSON.parse(saved);
|
|
13
|
+
const ids = initialIds.current;
|
|
14
|
+
const valid = parsed.filter(id => ids.includes(id));
|
|
15
|
+
const added = ids.filter(id => !parsed.includes(id));
|
|
16
|
+
setOrderState([...valid, ...added]);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
catch {
|
|
20
|
+
// ignore localStorage errors (SSR, private browsing, etc.)
|
|
21
|
+
}
|
|
22
|
+
}, [formKey]);
|
|
23
|
+
const setOrder = useCallback((newOrder) => {
|
|
24
|
+
setOrderState(newOrder);
|
|
25
|
+
try {
|
|
26
|
+
localStorage.setItem(STORAGE_PREFIX + formKey, JSON.stringify(newOrder));
|
|
27
|
+
}
|
|
28
|
+
catch {
|
|
29
|
+
// ignore
|
|
30
|
+
}
|
|
31
|
+
}, [formKey]);
|
|
32
|
+
const resetOrder = useCallback(() => {
|
|
33
|
+
const defaults = [...initialIds.current];
|
|
34
|
+
setOrderState(defaults);
|
|
35
|
+
try {
|
|
36
|
+
localStorage.removeItem(STORAGE_PREFIX + formKey);
|
|
37
|
+
}
|
|
38
|
+
catch {
|
|
39
|
+
// ignore
|
|
40
|
+
}
|
|
41
|
+
}, [formKey]);
|
|
42
|
+
return { order, setOrder, resetOrder, isConfiguring, setIsConfiguring };
|
|
43
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Inventory } from "../types.js";
|
|
2
|
+
type InventoryItemFormProps = {
|
|
3
|
+
form: Inventory;
|
|
4
|
+
onChange: (next: Inventory) => void;
|
|
5
|
+
};
|
|
6
|
+
export declare function InventoryItemForm({ form, onChange }: InventoryItemFormProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
export function InventoryItemForm({ form, onChange }) {
|
|
4
|
+
return (_jsxs("div", { className: "grid gap-3", children: [_jsx("input", { value: form.product, onChange: event => onChange({ ...form, product: event.target.value }), "aria-label": "Product", placeholder: "Product", className: "rounded-md border px-3 py-2 text-sm" }), _jsx("input", { value: form.propertyCode ?? "", onChange: event => onChange({ ...form, propertyCode: event.target.value }), "aria-label": "Property Code", placeholder: "Property Code", className: "rounded-md border px-3 py-2 text-sm" }), _jsx("input", { value: form.category ?? "", onChange: event => onChange({ ...form, category: event.target.value }), "aria-label": "Category", placeholder: "Category", className: "rounded-md border px-3 py-2 text-sm" }), _jsx("input", { value: form.warehouse ?? "", onChange: event => onChange({ ...form, warehouse: event.target.value }), "aria-label": "Warehouse", placeholder: "Warehouse", className: "rounded-md border px-3 py-2 text-sm" }), _jsx("input", { type: "number", min: 0, value: form.quantity, onChange: event => onChange({ ...form, quantity: Number(event.target.value) }), "aria-label": "Quantity", placeholder: "Quantity", className: "rounded-md border px-3 py-2 text-sm" }), _jsxs("select", { "aria-label": "Status", value: form.status ?? "In Stock", onChange: event => onChange({ ...form, status: event.target.value }), className: "rounded-md border px-3 py-2 text-sm", children: [_jsx("option", { value: "In Stock", children: "In Stock" }), _jsx("option", { value: "Out of Stock", children: "Out of Stock" }), _jsx("option", { value: "Low Stock", children: "Low Stock" })] })] }));
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
export function InventoryItemPreview({ form }) {
|
|
4
|
+
return (_jsxs("div", { className: "rounded-lg border bg-white p-4 text-sm space-y-2", children: [_jsx("p", { className: "font-semibold", children: form.product || "Product Name" }), _jsxs("p", { children: ["Property Code: ", form.propertyCode || "-"] }), _jsxs("p", { children: ["Category: ", form.category || "-"] }), _jsxs("p", { children: ["Warehouse: ", form.warehouse || "-"] }), _jsxs("p", { children: ["Quantity: ", form.quantity] }), _jsxs("p", { children: ["Status: ", form.status || "-"] })] }));
|
|
5
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Form, Form as default, definition } from '../forms/iar.js';
|
|
2
|
+
export { IarDocumentPreview, IarDocumentPreview as Preview } from '../reports/iar/_components/document-preview.js';
|
|
3
|
+
export { IarCreateForm } from '../reports/iar/_components/create-form.js';
|
|
4
|
+
export type * from '../reports/iar/types.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { Form, Form as default, definition } from '../forms/iar.js';
|
|
3
|
+
export { IarDocumentPreview, IarDocumentPreview as Preview } from '../reports/iar/_components/document-preview.js';
|
|
4
|
+
export { IarCreateForm } from '../reports/iar/_components/create-form.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Form, Form as default, definition } from '../forms/iirusp.js';
|
|
2
|
+
export { IiruspDocumentPreview, IiruspDocumentPreview as Preview } from '../reports/iirusp/_components/document-preview.js';
|
|
3
|
+
export { IiruspCreateForm } from '../reports/iirusp/_components/create-form.js';
|
|
4
|
+
export type * from '../reports/iirusp/types.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { Form, Form as default, definition } from '../forms/iirusp.js';
|
|
3
|
+
export { IiruspDocumentPreview, IiruspDocumentPreview as Preview } from '../reports/iirusp/_components/document-preview.js';
|
|
4
|
+
export { IiruspCreateForm } from '../reports/iirusp/_components/create-form.js';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { InventoryItemForm as default, InventoryItemForm as Form, InventoryItemForm } from './components/inventory-item-form.js';
|
|
2
|
+
export { InventoryItemPreview as Preview, InventoryItemPreview } from './components/inventory-item-preview.js';
|
|
3
|
+
export type * from './types.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Form, Form as default, definition } from '../forms/itr.js';
|
|
2
|
+
export { ItrPreview, ItrPreview as Preview } from '../gam/components/itr-preview.js';
|
|
3
|
+
export { CreateForm as ItrCreateForm } from '../reports/itr/_components/create-form.js';
|
|
4
|
+
export type * from '../reports/itr/types.js';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { PurchaseOrderCreateForm as default, PurchaseOrderCreateForm as Form, PurchaseOrderCreateForm, PurchaseOrderPreview as Preview, PurchaseOrderPreview, defaultPoTemplateFields } from '../gam/components/purchase-order-page-client.js';
|
|
2
|
+
export type { PurchaseOrderCreateFormProps, PurchaseOrderPreviewData, PoTemplateFields } from '../gam/components/purchase-order-page-client.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Form, Form as default, definition } from '../forms/pr.js';
|
|
2
|
+
export { PrDocumentPreview, PrDocumentPreview as Preview } from '../reports/pr/_components/document-preview.js';
|
|
3
|
+
export { PurchaseRequestCreateForm } from '../reports/pr/_components/create-form.js';
|
|
4
|
+
export type * from '../reports/pr/types.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { Form, Form as default, definition } from '../forms/pr.js';
|
|
3
|
+
export { PrDocumentPreview, PrDocumentPreview as Preview } from '../reports/pr/_components/document-preview.js';
|
|
4
|
+
export { PurchaseRequestCreateForm } from '../reports/pr/_components/create-form.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Form, Form as default, definition } from '../forms/regspi.js';
|
|
2
|
+
export { RegSpiPreview, RegSpiPreview as Preview } from '../gam/components/reg-spi-preview.js';
|
|
3
|
+
export { CreateForm as RegSpiCreateForm } from '../reports/regspi/_components/create-form.js';
|
|
4
|
+
export type * from '../reports/regspi/types.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { Form, Form as default, definition } from '../forms/regspi.js';
|
|
3
|
+
export { RegSpiPreview, RegSpiPreview as Preview } from '../gam/components/reg-spi-preview.js';
|
|
4
|
+
export { CreateForm as RegSpiCreateForm } from '../reports/regspi/_components/create-form.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Form, Form as default, definition } from '../forms/ris.js';
|
|
2
|
+
export { RisDocumentPreview, RisDocumentPreview as Preview } from '../reports/ris/_components/document-preview.js';
|
|
3
|
+
export { RisCreateForm } from '../reports/ris/_components/create-form.js';
|
|
4
|
+
export type * from '../reports/ris/types.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { Form, Form as default, definition } from '../forms/ris.js';
|
|
3
|
+
export { RisDocumentPreview, RisDocumentPreview as Preview } from '../reports/ris/_components/document-preview.js';
|
|
4
|
+
export { RisCreateForm } from '../reports/ris/_components/create-form.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Form, Form as default, definition } from '../forms/rlsddp.js';
|
|
2
|
+
export { RlsddpDocumentPreview, RlsddpDocumentPreview as Preview } from '../reports/rlsddp/_components/document-preview.js';
|
|
3
|
+
export { RlsddpCreateForm } from '../reports/rlsddp/_components/create-form.js';
|
|
4
|
+
export type * from '../reports/rlsddp/types.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { Form, Form as default, definition } from '../forms/rlsddp.js';
|
|
3
|
+
export { RlsddpDocumentPreview, RlsddpDocumentPreview as Preview } from '../reports/rlsddp/_components/document-preview.js';
|
|
4
|
+
export { RlsddpCreateForm } from '../reports/rlsddp/_components/create-form.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Form, Form as default, definition } from '../forms/rsmi.js';
|
|
2
|
+
export { RsmiDocumentBody, RsmiDocumentBody as Preview } from '../reports/rsmi/components/rsmi-document-body.js';
|
|
3
|
+
export { RsmiCreateForm } from '../reports/rsmi/components/rsmi-create-form.js';
|
|
4
|
+
export type * from '../reports/rsmi/components/rsmi-types.js';
|