@framework-m/desk 0.6.2 → 0.8.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/components/audit/AuditTimeline.d.ts +7 -0
- package/dist/components/audit/AuditTimeline.d.ts.map +1 -0
- package/dist/components/audit/DiffViewer.d.ts +7 -0
- package/dist/components/audit/DiffViewer.d.ts.map +1 -0
- package/dist/components/audit/index.d.ts +5 -0
- package/dist/components/audit/index.d.ts.map +1 -0
- package/dist/components/correction/CorrectButton.d.ts +9 -0
- package/dist/components/correction/CorrectButton.d.ts.map +1 -0
- package/dist/components/correction/CorrectionWizard.d.ts +11 -0
- package/dist/components/correction/CorrectionWizard.d.ts.map +1 -0
- package/dist/components/correction/index.d.ts +5 -0
- package/dist/components/correction/index.d.ts.map +1 -0
- package/dist/components/feedback/SubmittedBanner.d.ts +6 -0
- package/dist/components/feedback/SubmittedBanner.d.ts.map +1 -0
- package/dist/components/feedback/index.d.ts +2 -0
- package/dist/components/feedback/index.d.ts.map +1 -1
- package/dist/components/form/LinkWidget.d.ts +6 -1
- package/dist/components/form/LinkWidget.d.ts.map +1 -1
- package/dist/components/form/fields/AutoField.d.ts +26 -0
- package/dist/components/form/fields/AutoField.d.ts.map +1 -0
- package/dist/components/form/fields/BooleanField.d.ts +3 -0
- package/dist/components/form/fields/BooleanField.d.ts.map +1 -0
- package/dist/components/form/fields/ErrorsField.d.ts +5 -0
- package/dist/components/form/fields/ErrorsField.d.ts.map +1 -0
- package/dist/components/form/fields/LinkField.d.ts +2 -0
- package/dist/components/form/fields/LinkField.d.ts.map +1 -0
- package/dist/components/form/fields/ListField.d.ts +6 -0
- package/dist/components/form/fields/ListField.d.ts.map +1 -0
- package/dist/components/form/fields/MultiSelectField.d.ts +3 -0
- package/dist/components/form/fields/MultiSelectField.d.ts.map +1 -0
- package/dist/components/form/fields/SelectField.d.ts +19 -0
- package/dist/components/form/fields/SelectField.d.ts.map +1 -0
- package/dist/components/form/fields/SubmitField.d.ts +5 -0
- package/dist/components/form/fields/SubmitField.d.ts.map +1 -0
- package/dist/components/form/fields/TextField.d.ts +19 -0
- package/dist/components/form/fields/TextField.d.ts.map +1 -0
- package/dist/components/form/fields/registry.d.ts +16 -0
- package/dist/components/form/fields/registry.d.ts.map +1 -0
- package/dist/components/form/tamagui-fields.d.ts +6 -15
- package/dist/components/form/tamagui-fields.d.ts.map +1 -1
- package/dist/components/layout/ColumnGrid.d.ts +22 -0
- package/dist/components/layout/ColumnGrid.d.ts.map +1 -0
- package/dist/components/layout/FrameworkMShell.d.ts +0 -4
- package/dist/components/layout/FrameworkMShell.d.ts.map +1 -1
- package/dist/components/layout/Navigation/ContextualDrawer.d.ts +20 -0
- package/dist/components/layout/Navigation/ContextualDrawer.d.ts.map +1 -0
- package/dist/components/layout/Navigation/NavigationShell.d.ts +16 -0
- package/dist/components/layout/Navigation/NavigationShell.d.ts.map +1 -0
- package/dist/components/layout/Navigation/PrimaryRail.d.ts +13 -0
- package/dist/components/layout/Navigation/PrimaryRail.d.ts.map +1 -0
- package/dist/components/layout/PageHeader.d.ts +19 -0
- package/dist/components/layout/PageHeader.d.ts.map +1 -0
- package/dist/components/layout/SectionField.d.ts +15 -0
- package/dist/components/layout/SectionField.d.ts.map +1 -0
- package/dist/components/layout/ShellSkeleton.d.ts +3 -1
- package/dist/components/layout/ShellSkeleton.d.ts.map +1 -1
- package/dist/components/layout/TabContainer.d.ts +17 -0
- package/dist/components/layout/TabContainer.d.ts.map +1 -0
- package/dist/components/layout/index.d.ts +12 -0
- package/dist/components/layout/index.d.ts.map +1 -1
- package/dist/components/list/AsOfDatePicker.d.ts +8 -0
- package/dist/components/list/AsOfDatePicker.d.ts.map +1 -0
- package/dist/components/list/index.d.ts +3 -0
- package/dist/components/list/index.d.ts.map +1 -0
- package/dist/components/sibling/SiblingPanel.d.ts +8 -0
- package/dist/components/sibling/SiblingPanel.d.ts.map +1 -0
- package/dist/components/sibling/index.d.ts +3 -0
- package/dist/components/sibling/index.d.ts.map +1 -0
- package/dist/components/table/AutoTable.d.ts +4 -1
- package/dist/components/table/AutoTable.d.ts.map +1 -1
- package/dist/config/index.d.ts +2 -10
- package/dist/config/index.d.ts.map +1 -1
- package/dist/data.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +15 -4
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/types.d.ts +23 -8
- package/dist/hooks/types.d.ts.map +1 -1
- package/dist/hooks/useAuditTimeline.d.ts +22 -0
- package/dist/hooks/useAuditTimeline.d.ts.map +1 -0
- package/dist/hooks/useComponentOverride.d.ts +3 -0
- package/dist/hooks/useComponentOverride.d.ts.map +1 -0
- package/dist/hooks/useCorrectionAction.d.ts +14 -0
- package/dist/hooks/useCorrectionAction.d.ts.map +1 -0
- package/dist/hooks/useDocTypes.d.ts +3 -0
- package/dist/hooks/useDocTypes.d.ts.map +1 -1
- package/dist/hooks/useFormKeyboard.d.ts +6 -0
- package/dist/hooks/useFormKeyboard.d.ts.map +1 -0
- package/dist/hooks/usePageOverride.d.ts +3 -0
- package/dist/hooks/usePageOverride.d.ts.map +1 -0
- package/dist/hooks/useRouteTraversal.d.ts +8 -0
- package/dist/hooks/useRouteTraversal.d.ts.map +1 -0
- package/dist/hooks/useSiblingDocTypes.d.ts +16 -0
- package/dist/hooks/useSiblingDocTypes.d.ts.map +1 -0
- package/dist/hooks/useTabKeyboard.d.ts +15 -0
- package/dist/hooks/useTabKeyboard.d.ts.map +1 -0
- package/dist/hooks/useUIMeta.d.ts +2 -0
- package/dist/hooks/useUIMeta.d.ts.map +1 -1
- package/dist/index.d.ts +23 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7423 -6635
- package/dist/index.js.map +1 -1
- package/dist/pages/FormView.d.ts +41 -14
- package/dist/pages/FormView.d.ts.map +1 -1
- package/dist/pages/ListView.d.ts.map +1 -1
- package/dist/pages/LoginPage.d.ts +1 -1
- package/dist/pages/LoginPage.d.ts.map +1 -1
- package/dist/plugins/builtins.d.ts +2 -0
- package/dist/plugins/builtins.d.ts.map +1 -0
- package/dist/plugins/index.d.ts +1 -0
- package/dist/plugins/index.d.ts.map +1 -1
- package/dist/shell/ShellProvider.d.ts.map +1 -1
- package/dist/views/CalendarView.d.ts +1 -1
- package/dist/views/CalendarView.d.ts.map +1 -1
- package/dist/views/GanttView.d.ts +1 -1
- package/dist/views/GanttView.d.ts.map +1 -1
- package/dist/views/KanbanView.d.ts +1 -1
- package/dist/views/KanbanView.d.ts.map +1 -1
- package/dist/views/TreeView.d.ts +1 -1
- package/dist/views/TreeView.d.ts.map +1 -1
- package/package.json +20 -15
- package/dist/components/layout/Navbar/Navbar.d.ts +0 -16
- package/dist/components/layout/Navbar/Navbar.d.ts.map +0 -1
- package/dist/components/layout/Sidebar/Sidebar.d.ts +0 -25
- package/dist/components/layout/Sidebar/Sidebar.d.ts.map +0 -1
- package/dist/config/registry.d.ts +0 -75
- package/dist/config/registry.d.ts.map +0 -1
- package/dist/config/types.d.ts +0 -130
- package/dist/config/types.d.ts.map +0 -1
- package/dist/config/useConfig.d.ts +0 -18
- package/dist/config/useConfig.d.ts.map +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface AuditTimelineProps {
|
|
2
|
+
doctype: string;
|
|
3
|
+
id: string | undefined;
|
|
4
|
+
}
|
|
5
|
+
export declare function AuditTimeline({ doctype, id }: Readonly<AuditTimelineProps>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default AuditTimeline;
|
|
7
|
+
//# sourceMappingURL=AuditTimeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuditTimeline.d.ts","sourceRoot":"","sources":["../../../src/components/audit/AuditTimeline.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;CACxB;AAsBD,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,QAAQ,CAAC,kBAAkB,CAAC,2CAyC1E;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AuditTimelineDiffValue } from '../../hooks/useAuditTimeline';
|
|
2
|
+
export interface DiffViewerProps {
|
|
3
|
+
diff: Record<string, AuditTimelineDiffValue> | null;
|
|
4
|
+
}
|
|
5
|
+
export declare function DiffViewer({ diff }: Readonly<DiffViewerProps>): import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
+
export default DiffViewer;
|
|
7
|
+
//# sourceMappingURL=DiffViewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiffViewer.d.ts","sourceRoot":"","sources":["../../../src/components/audit/DiffViewer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAE3E,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,GAAG,IAAI,CAAC;CACrD;AA0CD,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,EAAE,QAAQ,CAAC,eAAe,CAAC,kDA6C7D;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/audit/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface CorrectButtonProps {
|
|
2
|
+
doctype: string;
|
|
3
|
+
id: string;
|
|
4
|
+
docstatus: 0 | 1 | 2;
|
|
5
|
+
supportsInPlaceEdit: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function CorrectButton({ doctype, id, docstatus, supportsInPlaceEdit, }: Readonly<CorrectButtonProps>): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
export default CorrectButton;
|
|
9
|
+
//# sourceMappingURL=CorrectButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CorrectButton.d.ts","sourceRoot":"","sources":["../../../src/components/correction/CorrectButton.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACrB,mBAAmB,EAAE,OAAO,CAAC;CAC9B;AAED,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,EAAE,EACF,SAAS,EACT,mBAAmB,GACpB,EAAE,QAAQ,CAAC,kBAAkB,CAAC,kDAmC9B;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface CorrectionWizardProps {
|
|
2
|
+
doctype: string;
|
|
3
|
+
id: string;
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onSuccess: (result: Record<string, unknown>) => void;
|
|
7
|
+
supportsInPlaceEdit: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function CorrectionWizard({ doctype, id, isOpen, onClose, onSuccess, supportsInPlaceEdit, }: Readonly<CorrectionWizardProps>): import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
export default CorrectionWizard;
|
|
11
|
+
//# sourceMappingURL=CorrectionWizard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CorrectionWizard.d.ts","sourceRoot":"","sources":["../../../src/components/correction/CorrectionWizard.tsx"],"names":[],"mappings":"AAsBA,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACrD,mBAAmB,EAAE,OAAO,CAAC;CAC9B;AAID,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,EAAE,EACF,MAAM,EACN,OAAO,EACP,SAAS,EACT,mBAAmB,GACpB,EAAE,QAAQ,CAAC,qBAAqB,CAAC,kDAiJjC;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/correction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface SubmittedBannerProps {
|
|
2
|
+
docstatus: 0 | 1 | 2;
|
|
3
|
+
}
|
|
4
|
+
export declare function SubmittedBanner({ docstatus }: Readonly<SubmittedBannerProps>): import("react/jsx-runtime").JSX.Element | null;
|
|
5
|
+
export default SubmittedBanner;
|
|
6
|
+
//# sourceMappingURL=SubmittedBanner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubmittedBanner.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/SubmittedBanner.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACtB;AAED,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,EAAE,QAAQ,CAAC,oBAAoB,CAAC,kDAkC5E;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -2,4 +2,6 @@ export { ConfirmDialog } from './ConfirmDialog';
|
|
|
2
2
|
export type { ConfirmDialogProps } from './ConfirmDialog';
|
|
3
3
|
export { AlertBanner } from './AlertBanner';
|
|
4
4
|
export type { AlertBannerProps } from './AlertBanner';
|
|
5
|
+
export { SubmittedBanner } from './SubmittedBanner';
|
|
6
|
+
export type { SubmittedBannerProps } from './SubmittedBanner';
|
|
5
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -2,9 +2,14 @@
|
|
|
2
2
|
* LinkWidget - Async Search Combobox for Link Fields
|
|
3
3
|
*
|
|
4
4
|
* A cross-platform async search field built with Tamagui and Uniforms.
|
|
5
|
+
*
|
|
6
|
+
* Quick Entry (Slide-over Drawer):
|
|
7
|
+
* By default, a "+ New" button opens a Drawer to create a linked
|
|
8
|
+
* record inline without navigating away.
|
|
9
|
+
* To disable, set `"x-quick-entry": false` in the JSON Schema property.
|
|
5
10
|
*/
|
|
6
11
|
/**
|
|
7
|
-
* LinkWidget - Combobox with async search
|
|
12
|
+
* LinkWidget - Combobox with async search + Drawer quick entry.
|
|
8
13
|
*/
|
|
9
14
|
export declare const Link: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
10
15
|
export declare const LinkField: import('uniforms').ConnectedField<any, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkWidget.d.ts","sourceRoot":"","sources":["../../../src/components/form/LinkWidget.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"LinkWidget.d.ts","sourceRoot":"","sources":["../../../src/components/form/LinkWidget.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA0LH;;GAEG;AACH,eAAO,MAAM,IAAI,GAAI,OAAO,GAAG,4CAkX9B,CAAC;AAEF,eAAO,MAAM,SAAS,6CAAqB,CAAC;AAC5C,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AutoField (Bridge Resolver)
|
|
3
|
+
*
|
|
4
|
+
* Automatically resolves the correct UI component based on the field type
|
|
5
|
+
* and specialized metadata widgets (e.g. ui_widget: "grid").
|
|
6
|
+
*
|
|
7
|
+
* IMPORTANT: This IS a connected field. It receives the schema and current
|
|
8
|
+
* value path from uniforms. To prevent double-prefixing (e.g. name.name),
|
|
9
|
+
* it MUST return raw (unconnected) components.
|
|
10
|
+
*
|
|
11
|
+
* UIMeta integration (3.1 — Pydantic Enum Leveraging):
|
|
12
|
+
* -------------------------------------------------------
|
|
13
|
+
* The backend's `enrich_schema()` post-processor guarantees that every
|
|
14
|
+
* property carries a unified `ui_meta` object. AutoField respects:
|
|
15
|
+
*
|
|
16
|
+
* - `schema.enum` → SelectF (Literal types, always inlined)
|
|
17
|
+
* - `schema.ui_meta.options` → SelectF (Python Enum types, resolved from $defs)
|
|
18
|
+
* - `schema.ui_meta.widget` → explicit widget override (e.g. "status_badge")
|
|
19
|
+
* - `schema["x-options"]` → LinkField (unchanged)
|
|
20
|
+
*
|
|
21
|
+
* Validation constraints come via uniforms' renamed props:
|
|
22
|
+
* `minimum` → `min`, `maximum` → `max`, `pattern` → `pattern`
|
|
23
|
+
* The TextField reads these via `props.schema?.ui_meta?.validation`.
|
|
24
|
+
*/
|
|
25
|
+
export declare const AutoField: import('uniforms').ConnectedField<any, any>;
|
|
26
|
+
//# sourceMappingURL=AutoField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoField.d.ts","sourceRoot":"","sources":["../../../../src/components/form/fields/AutoField.tsx"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,SAAS,6CAoEpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BooleanField.d.ts","sourceRoot":"","sources":["../../../../src/components/form/fields/BooleanField.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,GAAI,OAAO,GAAG,4CAqD9B,CAAC;AAGF,eAAO,MAAM,YAAY,6CAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorsField.d.ts","sourceRoot":"","sources":["../../../../src/components/form/fields/ErrorsField.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,WAAW,sDA0BvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkField.d.ts","sourceRoot":"","sources":["../../../../src/components/form/fields/LinkField.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListField.d.ts","sourceRoot":"","sources":["../../../../src/components/form/fields/ListField.tsx"],"names":[],"mappings":"AAuBA;;GAEG;AACH,eAAO,MAAM,IAAI,GAAI,OAAO,GAAG,4CAyc9B,CAAC;AAEF,eAAO,MAAM,SAAS,6CAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiSelectField.d.ts","sourceRoot":"","sources":["../../../../src/components/form/fields/MultiSelectField.tsx"],"names":[],"mappings":"AA+EA,eAAO,MAAM,WAAW,GAAI,OAAO,GAAG,4CAuIrC,CAAC;AAEF,eAAO,MAAM,gBAAgB,6CAA4B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SelectField component.
|
|
3
|
+
*
|
|
4
|
+
* UIMeta integration (3.1 — Pydantic Enum Leveraging):
|
|
5
|
+
* -------------------------------------------------------
|
|
6
|
+
* Option sources (in priority order):
|
|
7
|
+
* 1. `props.options` — from uniforms bridge (schema.enum)
|
|
8
|
+
* 2. `props.schema.ui_meta.options` — human-friendly options from enrich_schema()
|
|
9
|
+
* These are objects like `{ value: "draft", label: "Draft" }` generated
|
|
10
|
+
* from Literal["draft", ...] or Python Enum types.
|
|
11
|
+
* 3. `props.allowedValues` — legacy uniforms fallback
|
|
12
|
+
*
|
|
13
|
+
* The ui_meta.options labels are preferred when present because they are
|
|
14
|
+
* already title-cased by `enrich_schema` and may carry developer-supplied
|
|
15
|
+
* overrides (e.g. `{"value": "draft", "label": "In Progress"}`).
|
|
16
|
+
*/
|
|
17
|
+
export declare const SelectF: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const SelectField: import('uniforms').ConnectedField<any, any>;
|
|
19
|
+
//# sourceMappingURL=SelectField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectField.d.ts","sourceRoot":"","sources":["../../../../src/components/form/fields/SelectField.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,OAAO,GAAI,OAAO,GAAG,4CAsFjC,CAAC;AAEF,eAAO,MAAM,WAAW,6CAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubmitField.d.ts","sourceRoot":"","sources":["../../../../src/components/form/fields/SubmitField.tsx"],"names":[],"mappings":"AAOA;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,qBAAqB,GAAG,4CAanD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Text/Date field component.
|
|
3
|
+
*
|
|
4
|
+
* UIMeta integration (3.1 — Field Meta Access):
|
|
5
|
+
* -----------------------------------------------
|
|
6
|
+
* Reads `props.schema.ui_meta` (surfaced by `enrich_schema()`) for:
|
|
7
|
+
* - `placeholder` — overrides the default placeholder
|
|
8
|
+
* - `hint` — renders a small helper text below the field
|
|
9
|
+
* - `validation` — HTML5 native constraint attributes:
|
|
10
|
+
* `min`, `max`, `minLength`, `maxLength`, `pattern`, `step`
|
|
11
|
+
*
|
|
12
|
+
* These correspond to JSON Schema keywords that backends express via
|
|
13
|
+
* `Field(..., ge=0, le=100, pattern="...", json_schema_extra={...})`.
|
|
14
|
+
*
|
|
15
|
+
* Constraint priority: direct prop (from uniforms rename) > ui_meta.validation.
|
|
16
|
+
*/
|
|
17
|
+
export declare const Text: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const TextField: import('uniforms').ConnectedField<any, any>;
|
|
19
|
+
//# sourceMappingURL=TextField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../src/components/form/fields/TextField.tsx"],"names":[],"mappings":"AA6BA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,IAAI,GAAI,OAAO,GAAG,4CAwG9B,CAAC;AAEF,eAAO,MAAM,SAAS,6CAAqB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type FieldComponent = React.ComponentType<any>;
|
|
3
|
+
/**
|
|
4
|
+
* FieldRegistry allows plugins and macroservices to register custom React
|
|
5
|
+
* components for specific field types, preventing the monolithic AutoField
|
|
6
|
+
* from needing to know about every possible UI widget.
|
|
7
|
+
*/
|
|
8
|
+
declare class Registry {
|
|
9
|
+
private fields;
|
|
10
|
+
register(type: string, component: FieldComponent): void;
|
|
11
|
+
get(type: string): FieldComponent | undefined;
|
|
12
|
+
clear(): void;
|
|
13
|
+
}
|
|
14
|
+
export declare const FieldRegistry: Registry;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/components/form/fields/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,KAAK,cAAc,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;AAE/C;;;;GAIG;AACH,cAAM,QAAQ;IACZ,OAAO,CAAC,MAAM,CAA0C;IAExD,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,GAAG,IAAI;IAIvD,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS;IAI7C,KAAK,IAAI,IAAI;CAGd;AAED,eAAO,MAAM,aAAa,UAAiB,CAAC"}
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare const SubmitField: ({ value, ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
/**
|
|
9
|
-
* ErrorsField - Displays global errors
|
|
10
|
-
*/
|
|
11
|
-
export declare const ErrorsField: () => import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
-
/**
|
|
13
|
-
* AutoField - Generic field picker
|
|
14
|
-
*/
|
|
15
|
-
export declare const AutoField: import('uniforms').ConnectedField<any, any>;
|
|
1
|
+
export { AutoField } from './fields/AutoField';
|
|
2
|
+
export { BooleanField as BoolField } from './fields/BooleanField';
|
|
3
|
+
export { ErrorsField } from './fields/ErrorsField';
|
|
4
|
+
export { SelectField } from './fields/SelectField';
|
|
5
|
+
export { SubmitField } from './fields/SubmitField';
|
|
6
|
+
export { TextField } from './fields/TextField';
|
|
16
7
|
//# sourceMappingURL=tamagui-fields.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tamagui-fields.d.ts","sourceRoot":"","sources":["../../../src/components/form/tamagui-fields.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tamagui-fields.d.ts","sourceRoot":"","sources":["../../../src/components/form/tamagui-fields.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,YAAY,IAAI,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/** Named-fraction width tokens */
|
|
3
|
+
export type ColumnWidth = "1/3" | "2/3" | "1/2" | "auto";
|
|
4
|
+
/** Explicit column definition used by ColumnGrid */
|
|
5
|
+
export interface ColumnDef {
|
|
6
|
+
width?: ColumnWidth;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export interface ColumnGridProps {
|
|
10
|
+
/** Explicit column definitions (used when backend specifies per-column field lists). */
|
|
11
|
+
columns?: ColumnDef[];
|
|
12
|
+
/**
|
|
13
|
+
* Number of equal-width columns when no explicit `columns` prop is provided.
|
|
14
|
+
* Ignored when `columns` is set.
|
|
15
|
+
*/
|
|
16
|
+
equalColumns?: 1 | 2 | 3;
|
|
17
|
+
/** Children used only when `columns` is NOT provided (treated as equal-width slots). */
|
|
18
|
+
children?: ReactNode;
|
|
19
|
+
}
|
|
20
|
+
export declare function ColumnGrid({ columns, equalColumns, children, }: Readonly<ColumnGridProps>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default ColumnGrid;
|
|
22
|
+
//# sourceMappingURL=ColumnGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColumnGrid.d.ts","sourceRoot":"","sources":["../../../src/components/layout/ColumnGrid.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,kCAAkC;AAClC,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;AAEzD,oDAAoD;AACpD,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,wFAAwF;IACxF,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC;IACtB;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACzB,wFAAwF;IACxF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAyCD,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,YAAgB,EAChB,QAAQ,GACT,EAAE,QAAQ,CAAC,eAAe,CAAC,2CAiC3B;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -7,10 +7,6 @@ export interface FrameworkMShellProps {
|
|
|
7
7
|
children?: ReactNode;
|
|
8
8
|
/** Optional plugins to initialize the shell with */
|
|
9
9
|
initialPlugins?: FrameworkMPlugin[];
|
|
10
|
-
/** Optional custom Sidebar component */
|
|
11
|
-
sidebar?: ReactNode;
|
|
12
|
-
/** Optional custom Navbar component */
|
|
13
|
-
navbar?: ReactNode;
|
|
14
10
|
/** Whether focus mode is enabled by default */
|
|
15
11
|
defaultFocusMode?: boolean;
|
|
16
12
|
/** Optional custom login page */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrameworkMShell.d.ts","sourceRoot":"","sources":["../../../src/components/layout/FrameworkMShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"FrameworkMShell.d.ts","sourceRoot":"","sources":["../../../src/components/layout/FrameworkMShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAiC,MAAM,OAAO,CAAC;AAOxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAa3D,MAAM,WAAW,oBAAoB;IACnC,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,oDAAoD;IACpD,cAAc,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACpC,+CAA+C;IAC/C,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iCAAiC;IACjC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAiDD;;;;;GAKG;AACH,eAAO,MAAM,eAAe,+CAI3B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA4J1D,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface NavigationNode {
|
|
2
|
+
name: string;
|
|
3
|
+
label: string;
|
|
4
|
+
route: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
badge?: string;
|
|
7
|
+
children?: NavigationNode[];
|
|
8
|
+
}
|
|
9
|
+
export interface ContextualDrawerProps {
|
|
10
|
+
app?: {
|
|
11
|
+
label: string;
|
|
12
|
+
resources: NavigationNode[];
|
|
13
|
+
};
|
|
14
|
+
collapsed?: boolean;
|
|
15
|
+
onNavigate: (route: string) => void;
|
|
16
|
+
isMobile?: boolean;
|
|
17
|
+
onClose?: () => void;
|
|
18
|
+
}
|
|
19
|
+
export declare function ContextualDrawer({ app, collapsed, onNavigate, isMobile, onClose }: ContextualDrawerProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=ContextualDrawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextualDrawer.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Navigation/ContextualDrawer.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB;IACpC,GAAG,CAAC,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,cAAc,EAAE,CAAC;KAC7B,CAAC;IACF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,GAAG,EAAE,SAAiB,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,qBAAqB,2CAiGhH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NavigationNode } from './ContextualDrawer';
|
|
2
|
+
export interface AppManifest {
|
|
3
|
+
app_id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
resources: NavigationNode[];
|
|
7
|
+
}
|
|
8
|
+
export interface NavigationShellProps {
|
|
9
|
+
apps: AppManifest[];
|
|
10
|
+
defaultAppId?: string;
|
|
11
|
+
collapsed?: boolean;
|
|
12
|
+
onNavigate: (route: string) => void;
|
|
13
|
+
isMobile?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare function NavigationShell({ apps, defaultAppId, collapsed, onNavigate, isMobile }: NavigationShellProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=NavigationShell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigationShell.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Navigation/NavigationShell.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAoB,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEtE,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,cAAc,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,WAAW,EAAE,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,SAAiB,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CAkDpH"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PrimaryRailProps {
|
|
2
|
+
apps: Array<{
|
|
3
|
+
app_id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
resources: any[];
|
|
7
|
+
}>;
|
|
8
|
+
activeAppId: string;
|
|
9
|
+
onAppSelect: (appId: string) => void;
|
|
10
|
+
isMobile?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function PrimaryRail({ apps, activeAppId, onAppSelect, isMobile }: PrimaryRailProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=PrimaryRail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrimaryRail.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Navigation/PrimaryRail.tsx"],"names":[],"mappings":"AAeA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,KAAK,CAAC;QACV,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,GAAG,EAAE,CAAC;KAClB,CAAC,CAAC;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,QAAgB,EAAE,EAAE,gBAAgB,2CAiIjG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface PageHeaderProps {
|
|
3
|
+
title: string;
|
|
4
|
+
breadcrumb?: {
|
|
5
|
+
app: string;
|
|
6
|
+
view?: string;
|
|
7
|
+
};
|
|
8
|
+
extra?: ReactNode;
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
isMobile?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* PageHeader
|
|
14
|
+
*
|
|
15
|
+
* Standard header for all Framework M pages (List, Form, Dashboards).
|
|
16
|
+
* Replaces the old global Top Navbar.
|
|
17
|
+
*/
|
|
18
|
+
export declare function PageHeader({ title, breadcrumb, extra, children, isMobile }: PageHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=PageHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../src/components/layout/PageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE;QACX,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,eAAe,2CAiC3F"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface SectionFieldProps {
|
|
3
|
+
/** Section title */
|
|
4
|
+
label?: string;
|
|
5
|
+
/** Allow the user to collapse this section */
|
|
6
|
+
collapsible?: boolean;
|
|
7
|
+
/** Whether the section is collapsed initially */
|
|
8
|
+
defaultCollapsed?: boolean;
|
|
9
|
+
/** Number of auto-equal columns (1–3). Ignored if children is a single element */
|
|
10
|
+
columns?: 1 | 2 | 3;
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare function SectionField({ label, collapsible, defaultCollapsed, columns, children, }: Readonly<SectionFieldProps>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default SectionField;
|
|
15
|
+
//# sourceMappingURL=SectionField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionField.d.ts","sourceRoot":"","sources":["../../../src/components/layout/SectionField.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGjD,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8CAA8C;IAC9C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iDAAiD;IACjD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kFAAkF;IAClF,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,WAAmB,EACnB,gBAAwB,EACxB,OAAW,EACX,QAAQ,GACT,EAAE,QAAQ,CAAC,iBAAiB,CAAC,2CAiE7B;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
export interface ShellSkeletonProps {
|
|
3
|
+
}
|
|
2
4
|
/**
|
|
3
5
|
* PageSkeleton
|
|
4
6
|
*
|
|
@@ -15,7 +17,7 @@ export declare const TableSkeleton: React.FC;
|
|
|
15
17
|
/**
|
|
16
18
|
* ShellSkeleton
|
|
17
19
|
*
|
|
18
|
-
* Full app layout (
|
|
20
|
+
* Full app layout (Rail + Drawer + Content).
|
|
19
21
|
* Used for the very first bootstrap phase.
|
|
20
22
|
*/
|
|
21
23
|
export declare const ShellSkeleton: React.FC;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShellSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/layout/ShellSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"ShellSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/layout/ShellSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,kBAAkB;CAElC;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EA+BhC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAiCjC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAuEjC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { FormTab } from '../../hooks/useUIMeta';
|
|
3
|
+
export interface TabContainerProps {
|
|
4
|
+
/** Tab definitions from UIMeta.form.tabs */
|
|
5
|
+
tabs: FormTab[];
|
|
6
|
+
/** DocType name — used to key the localStorage persistence entry */
|
|
7
|
+
doctype: string;
|
|
8
|
+
/** Render prop receiving the active tab and its index */
|
|
9
|
+
children: (tab: FormTab, index: number) => ReactNode;
|
|
10
|
+
/** Initial tab index override (ignored if localStorage has a value) */
|
|
11
|
+
defaultTabIndex?: number;
|
|
12
|
+
/** Called after the active tab changes */
|
|
13
|
+
onTabChange?: (index: number) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare function TabContainer({ tabs, doctype, children, defaultTabIndex, onTabChange, }: Readonly<TabContainerProps>): import("react/jsx-runtime").JSX.Element | null;
|
|
16
|
+
export default TabContainer;
|
|
17
|
+
//# sourceMappingURL=TabContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabContainer.d.ts","sourceRoot":"","sources":["../../../src/components/layout/TabContainer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD,MAAM,WAAW,iBAAiB;IAChC,4CAA4C;IAC5C,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;IAChB,yDAAyD;IACzD,QAAQ,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IACrD,uEAAuE;IACvE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAkCD,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,eAAmB,EACnB,WAAW,GACZ,EAAE,QAAQ,CAAC,iBAAiB,CAAC,kDAyG7B;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -6,6 +6,8 @@ export interface LayoutProps {
|
|
|
6
6
|
navbar: ReactNode;
|
|
7
7
|
/** Primary content */
|
|
8
8
|
children: ReactNode;
|
|
9
|
+
/** Mobile layout toggle */
|
|
10
|
+
isMobile?: boolean;
|
|
9
11
|
}
|
|
10
12
|
/**
|
|
11
13
|
* Standard Framework M Desk Layout
|
|
@@ -13,4 +15,14 @@ export interface LayoutProps {
|
|
|
13
15
|
* Provides a responsive structure for the sidebar, navbar, and main content area.
|
|
14
16
|
*/
|
|
15
17
|
export declare const Layout: React.FC<LayoutProps>;
|
|
18
|
+
export { TabContainer } from './TabContainer';
|
|
19
|
+
export type { TabContainerProps } from './TabContainer';
|
|
20
|
+
export { SectionField } from './SectionField';
|
|
21
|
+
export type { SectionFieldProps } from './SectionField';
|
|
22
|
+
export { ColumnGrid } from './ColumnGrid';
|
|
23
|
+
export type { ColumnGridProps, ColumnDef, ColumnWidth } from './ColumnGrid';
|
|
24
|
+
export { PageHeader } from './PageHeader';
|
|
25
|
+
export type { PageHeaderProps } from './PageHeader';
|
|
26
|
+
export { ShellSkeleton } from './ShellSkeleton';
|
|
27
|
+
export type { ShellSkeletonProps } from './ShellSkeleton';
|
|
16
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,MAAM,WAAW,WAAW;IAC1B,gCAAgC;IAChC,OAAO,EAAE,SAAS,CAAC;IACnB,+BAA+B;IAC/B,MAAM,EAAE,SAAS,CAAC;IAClB,sBAAsB;IACtB,QAAQ,EAAE,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,MAAM,WAAW,WAAW;IAC1B,gCAAgC;IAChC,OAAO,EAAE,SAAS,CAAC;IACnB,+BAA+B;IAC/B,MAAM,EAAE,SAAS,CAAC;IAClB,sBAAsB;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAiCxC,CAAC;AAGF,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface AsOfDatePickerProps {
|
|
2
|
+
doctype?: string;
|
|
3
|
+
asOf?: string;
|
|
4
|
+
onAsOfChange?: (value?: string) => void;
|
|
5
|
+
onError?: (message: string | null) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function AsOfDatePicker({ doctype, asOf, onAsOfChange, onError, }: Readonly<AsOfDatePickerProps>): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
//# sourceMappingURL=AsOfDatePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AsOfDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/list/AsOfDatePicker.tsx"],"names":[],"mappings":"AAmDA,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,OAAO,GACR,EAAE,QAAQ,CAAC,mBAAmB,CAAC,kDAmE/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/list/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface SiblingPanelProps {
|
|
2
|
+
doctype: string;
|
|
3
|
+
id?: string;
|
|
4
|
+
parentDocstatus?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare function SiblingPanel({ doctype, id }: Readonly<SiblingPanelProps>): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
export default SiblingPanel;
|
|
8
|
+
//# sourceMappingURL=SiblingPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SiblingPanel.d.ts","sourceRoot":"","sources":["../../../src/components/sibling/SiblingPanel.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAkFD,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,QAAQ,CAAC,iBAAiB,CAAC,kDA6DxE;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/sibling/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|