@object-ui/plugin-designer 6.2.3 → 7.0.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/dist/{packages/plugin-designer/src/AppCreationWizard.d.ts → AppCreationWizard.d.ts} +3 -2
  3. package/dist/{packages/plugin-designer/src/BrandingEditor.d.ts → BrandingEditor.d.ts} +3 -2
  4. package/dist/{packages/plugin-designer/src/CollaborationProvider.d.ts → CollaborationProvider.d.ts} +3 -3
  5. package/dist/{packages/plugin-designer/src/DashboardEditor.d.ts → DashboardEditor.d.ts} +3 -2
  6. package/dist/{packages/plugin-designer/src/DataModelDesigner.d.ts → DataModelDesigner.d.ts} +3 -2
  7. package/dist/{packages/plugin-designer/src/EditorModeToggle.d.ts → EditorModeToggle.d.ts} +3 -2
  8. package/dist/{packages/plugin-designer/src/FieldDesigner.d.ts → FieldDesigner.d.ts} +3 -2
  9. package/dist/{packages/plugin-designer/src/MetadataFieldsPage.d.ts → MetadataFieldsPage.d.ts} +2 -1
  10. package/dist/{packages/plugin-designer/src/MetadataObjectsPage.d.ts → MetadataObjectsPage.d.ts} +3 -2
  11. package/dist/{packages/plugin-designer/src/NavigationDesigner.d.ts → NavigationDesigner.d.ts} +3 -2
  12. package/dist/{packages/plugin-designer/src/ObjectManager.d.ts → ObjectManager.d.ts} +3 -2
  13. package/dist/{packages/plugin-designer/src/PageDesigner.d.ts → PageDesigner.d.ts} +3 -2
  14. package/dist/{packages/plugin-designer/src/ProcessDesigner.d.ts → ProcessDesigner.d.ts} +3 -2
  15. package/dist/{packages/plugin-designer/src/ReportDesigner.d.ts → ReportDesigner.d.ts} +3 -2
  16. package/dist/{packages/plugin-designer/src/components → components}/ConfirmDialog.d.ts +2 -8
  17. package/dist/{packages/plugin-designer/src/components → components}/HistoryPanel.d.ts +1 -1
  18. package/dist/{packages/plugin-designer/src/components → components}/Minimap.d.ts +2 -8
  19. package/dist/{packages/plugin-designer/src/components → components}/PropertyEditor.d.ts +2 -8
  20. package/dist/{packages/plugin-designer/src/components → components}/VersionHistory.d.ts +2 -8
  21. package/dist/index.d.ts +37 -2
  22. package/dist/index.js +932 -1798
  23. package/dist/index.umd.cjs +2 -2
  24. package/dist/{packages/plugin-designer/src/pages → pages}/CreateAppPage.d.ts +1 -1
  25. package/dist/{packages/plugin-designer/src/pages → pages}/DashboardDesignPage.d.ts +1 -1
  26. package/dist/{packages/plugin-designer/src/pages → pages}/EditAppPage.d.ts +1 -1
  27. package/package.json +16 -16
  28. package/dist/packages/plugin-designer/src/DashboardEditor.stories.d.ts +0 -15
  29. package/dist/packages/plugin-designer/src/ObjectViewConfigurator.d.ts +0 -41
  30. package/dist/packages/plugin-designer/src/PageCanvasEditor.d.ts +0 -28
  31. package/dist/packages/plugin-designer/src/PageCanvasEditor.stories.d.ts +0 -15
  32. package/dist/packages/plugin-designer/src/index.d.ts +0 -42
  33. package/dist/packages/plugin-designer/src/pages/PageDesignPage.d.ts +0 -8
  34. /package/dist/{packages/plugin-designer/src/__tests__ → __tests__}/__mocks__/plugin-form.d.ts +0 -0
  35. /package/dist/{packages/plugin-designer/src/__tests__ → __tests__}/__mocks__/plugin-grid.d.ts +0 -0
  36. /package/dist/{packages/plugin-designer/src/components → components}/index.d.ts +0 -0
  37. /package/dist/{packages/plugin-designer/src/hooks → hooks}/index.d.ts +0 -0
  38. /package/dist/{packages/plugin-designer/src/hooks → hooks}/useCanvasPanZoom.d.ts +0 -0
  39. /package/dist/{packages/plugin-designer/src/hooks → hooks}/useClipboard.d.ts +0 -0
  40. /package/dist/{packages/plugin-designer/src/hooks → hooks}/useConfirmDialog.d.ts +0 -0
  41. /package/dist/{packages/plugin-designer/src/hooks → hooks}/useDesignerHistory.d.ts +0 -0
  42. /package/dist/{packages/plugin-designer/src/hooks → hooks}/useDesignerTranslation.d.ts +0 -0
  43. /package/dist/{packages/plugin-designer/src/hooks → hooks}/useMultiSelect.d.ts +0 -0
  44. /package/dist/{packages/plugin-designer/src/hooks → hooks}/useUndoRedo.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,81 @@
1
1
  # @object-ui/plugin-designer
2
2
 
3
+ ## 7.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [5976ba3]
8
+ - Updated dependencies [a00e16d]
9
+ - Updated dependencies [eaccefd]
10
+ - Updated dependencies [f7f325d]
11
+ - Updated dependencies [c12986e]
12
+ - Updated dependencies [71d7ce0]
13
+ - Updated dependencies [30ee761]
14
+ - Updated dependencies [053c948]
15
+ - Updated dependencies [b99d9bd]
16
+ - Updated dependencies [053c948]
17
+ - Updated dependencies [89e113c]
18
+ - Updated dependencies [ddbe4a2]
19
+ - Updated dependencies [2d47e94]
20
+ - Updated dependencies [9049bbe]
21
+ - Updated dependencies [77cc6bb]
22
+ - Updated dependencies [6c0c92c]
23
+ - Updated dependencies [97c6831]
24
+ - Updated dependencies [cb2fdb1]
25
+ - Updated dependencies [a58c6b8]
26
+ - Updated dependencies [c3749eb]
27
+ - Updated dependencies [c09f44e]
28
+ - Updated dependencies [f6044fa]
29
+ - Updated dependencies [6cfa330]
30
+ - Updated dependencies [ad8ade6]
31
+ - Updated dependencies [d54346c]
32
+ - Updated dependencies [5332639]
33
+ - Updated dependencies [3870c20]
34
+ - Updated dependencies [2eb3096]
35
+ - Updated dependencies [b88c560]
36
+ - Updated dependencies [0ad72a6]
37
+ - Updated dependencies [bd398df]
38
+ - Updated dependencies [3fa23a7]
39
+ - Updated dependencies [18d0339]
40
+ - Updated dependencies [66ed3ad]
41
+ - Updated dependencies [c6445b6]
42
+ - Updated dependencies [80c133c]
43
+ - Updated dependencies [5e1b838]
44
+ - Updated dependencies [59b6bbb]
45
+ - Updated dependencies [d16566f]
46
+ - Updated dependencies [69510df]
47
+ - Updated dependencies [b148daf]
48
+ - Updated dependencies [90acb7f]
49
+ - Updated dependencies [7913390]
50
+ - Updated dependencies [514f426]
51
+ - Updated dependencies [586a027]
52
+ - Updated dependencies [00f8d2d]
53
+ - Updated dependencies [9aac2b8]
54
+ - Updated dependencies [1394e34]
55
+ - Updated dependencies [e95cc25]
56
+ - Updated dependencies [abe8ebc]
57
+ - Updated dependencies [300d755]
58
+ - Updated dependencies [bd8b054]
59
+ - Updated dependencies [4eb9cb6]
60
+ - Updated dependencies [7c239fd]
61
+ - Updated dependencies [858ad94]
62
+ - Updated dependencies [2270239]
63
+ - Updated dependencies [db8cd00]
64
+ - Updated dependencies [650bd1f]
65
+ - Updated dependencies [2f31406]
66
+ - Updated dependencies [18728c1]
67
+ - Updated dependencies [8426db7]
68
+ - Updated dependencies [8d1195d]
69
+ - @object-ui/core@7.0.0
70
+ - @object-ui/components@7.0.0
71
+ - @object-ui/plugin-grid@7.0.0
72
+ - @object-ui/react@7.0.0
73
+ - @object-ui/data-objectstack@7.0.0
74
+ - @object-ui/i18n@7.0.0
75
+ - @object-ui/types@7.0.0
76
+ - @object-ui/plugin-form@7.0.0
77
+ - @object-ui/fields@7.0.0
78
+
3
79
  ## 6.2.3
4
80
 
5
81
  ### Patch Changes
@@ -1,4 +1,5 @@
1
- import { AppWizardDraft, ObjectSelection } from '../../types/src';
1
+ import { default as React } from 'react';
2
+ import { AppWizardDraft, ObjectSelection } from '@object-ui/types';
2
3
  export interface AppCreationWizardProps {
3
4
  /** Available business objects to select from */
4
5
  availableObjects?: ObjectSelection[];
@@ -21,4 +22,4 @@ export interface AppCreationWizardProps {
21
22
  /** CSS class */
22
23
  className?: string;
23
24
  }
24
- export declare function AppCreationWizard({ availableObjects, templates, initialDraft, onComplete, onCancel, onSaveDraft, readOnly, className, }: AppCreationWizardProps): import("react/jsx-runtime").JSX.Element;
25
+ export declare function AppCreationWizard({ availableObjects, templates, initialDraft, onComplete, onCancel, onSaveDraft, readOnly, className, }: AppCreationWizardProps): React.JSX.Element;
@@ -1,4 +1,5 @@
1
- import { BrandingConfig } from '../../types/src';
1
+ import { default as React } from 'react';
2
+ import { BrandingConfig } from '@object-ui/types';
2
3
  export interface BrandingEditorProps {
3
4
  /** Current branding configuration */
4
5
  branding: BrandingConfig;
@@ -15,4 +16,4 @@ export interface BrandingEditorProps {
15
16
  /** Callback to import branding config */
16
17
  onImport?: (branding: BrandingConfig) => void;
17
18
  }
18
- export declare function BrandingEditor({ branding: initialBranding, onChange, appTitle, readOnly, className, onExport, onImport, }: BrandingEditorProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function BrandingEditor({ branding: initialBranding, onChange, appTitle, readOnly, className, onExport, onImport, }: BrandingEditorProps): React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { CollaborationConfig, CollaborationPresence, CollaborationOperation } from '../../types/src';
2
+ import { CollaborationConfig, CollaborationPresence, CollaborationOperation } from '@object-ui/types';
3
3
  export interface CollaborationContextValue {
4
4
  /** Active users in the session */
5
5
  users: CollaborationPresence[];
@@ -35,7 +35,7 @@ export interface CollaborationProviderProps {
35
35
  * Manages WebSocket connection, presence, and operation broadcasting.
36
36
  * Supports real-time collaboration via WebSocket when serverUrl is configured.
37
37
  */
38
- export declare function CollaborationProvider({ config, user, onOperation, onPresenceChange, children, }: CollaborationProviderProps): import("react/jsx-runtime").JSX.Element;
38
+ export declare function CollaborationProvider({ config, user, onOperation, onPresenceChange, children, }: CollaborationProviderProps): React.JSX.Element;
39
39
  /**
40
40
  * Hook to access the collaboration context.
41
41
  */
@@ -46,4 +46,4 @@ export declare function useCollaboration(): CollaborationContextValue | null;
46
46
  */
47
47
  export declare function ConnectionStatusIndicator({ className }: {
48
48
  className?: string;
49
- }): import("react/jsx-runtime").JSX.Element | null;
49
+ }): React.JSX.Element | null;
@@ -1,4 +1,5 @@
1
- import { DashboardSchema } from '../../types/src';
1
+ import { default as React } from 'react';
2
+ import { DashboardSchema } from '@object-ui/types';
2
3
  export interface DashboardEditorProps {
3
4
  /** Dashboard schema to edit */
4
5
  schema: DashboardSchema;
@@ -17,5 +18,5 @@ export interface DashboardEditorProps {
17
18
  /** Callback when widget selection changes (for external sync) */
18
19
  onWidgetSelect?: (widgetId: string | null) => void;
19
20
  }
20
- export declare function DashboardEditor({ schema, onChange, readOnly, className, onExport, onImport, selectedWidgetId: externalSelectedWidgetId, onWidgetSelect, }: DashboardEditorProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function DashboardEditor({ schema, onChange, readOnly, className, onExport, onImport, selectedWidgetId: externalSelectedWidgetId, onWidgetSelect, }: DashboardEditorProps): React.JSX.Element;
21
22
  export default DashboardEditor;
@@ -1,4 +1,5 @@
1
- import { DataModelEntity, DataModelRelationship, DesignerCanvasConfig } from '../../types/src';
1
+ import { default as React } from 'react';
2
+ import { DataModelEntity, DataModelRelationship, DesignerCanvasConfig } from '@object-ui/types';
2
3
  export interface DataModelDesignerProps {
3
4
  /** Entities in the model */
4
5
  entities?: DataModelEntity[];
@@ -25,4 +26,4 @@ export interface DataModelDesignerProps {
25
26
  * Supports undo/redo, multi-select, copy/paste, pan/zoom, drag-to-reposition,
26
27
  * inline field editing, property editor, minimap, auto-layout, and collaboration.
27
28
  */
28
- export declare function DataModelDesigner({ entities: initialEntities, relationships: initialRelationships, canvas, showRelationshipLabels, readOnly, onEntitiesChange, onRelationshipsChange, className, }: DataModelDesignerProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare function DataModelDesigner({ entities: initialEntities, relationships: initialRelationships, canvas, showRelationshipLabels, readOnly, onEntitiesChange, onRelationshipsChange, className, }: DataModelDesignerProps): React.JSX.Element;
@@ -1,4 +1,5 @@
1
- import { EditorMode } from '../../types/src';
1
+ import { default as React } from 'react';
2
+ import { EditorMode } from '@object-ui/types';
2
3
  export interface EditorModeToggleProps {
3
4
  /** Current mode */
4
5
  mode: EditorMode;
@@ -17,5 +18,5 @@ export interface EditorModeToggleProps {
17
18
  * <EditorModeToggle mode={mode} onChange={setMode} />
18
19
  * ```
19
20
  */
20
- export declare function EditorModeToggle({ mode, onChange, disabled, className, }: EditorModeToggleProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function EditorModeToggle({ mode, onChange, disabled, className, }: EditorModeToggleProps): React.JSX.Element;
21
22
  export default EditorModeToggle;
@@ -1,4 +1,5 @@
1
- import { DesignerFieldDefinition } from '../../types/src';
1
+ import { default as React } from 'react';
2
+ import { DesignerFieldDefinition } from '@object-ui/types';
2
3
  export interface FieldDesignerProps {
3
4
  /** Object name this designer belongs to */
4
5
  objectName: string;
@@ -11,5 +12,5 @@ export interface FieldDesignerProps {
11
12
  /** CSS class */
12
13
  className?: string;
13
14
  }
14
- export declare function FieldDesigner({ objectName, fields, onFieldsChange, readOnly, className, }: FieldDesignerProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function FieldDesigner({ objectName, fields, onFieldsChange, readOnly, className, }: FieldDesignerProps): React.JSX.Element;
15
16
  export default FieldDesigner;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { MetadataClient, MetadataClientConfig } from '@object-ui/data-objectstack';
2
3
  export interface MetadataFieldsPageProps {
3
4
  /** Object name to edit fields for (e.g. `account`, `sys_permission_set`). */
@@ -11,5 +12,5 @@ export interface MetadataFieldsPageProps {
11
12
  /** Optional CSS class for the wrapper. */
12
13
  className?: string;
13
14
  }
14
- export declare function MetadataFieldsPage({ objectName, client: clientProp, clientConfig, readOnly, className, }: MetadataFieldsPageProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function MetadataFieldsPage({ objectName, client: clientProp, clientConfig, readOnly, className, }: MetadataFieldsPageProps): React.JSX.Element;
15
16
  export default MetadataFieldsPage;
@@ -1,4 +1,5 @@
1
- import { ObjectDefinition } from '../../types/src';
1
+ import { default as React } from 'react';
2
+ import { ObjectDefinition } from '@object-ui/types';
2
3
  import { MetadataClient, MetadataClientConfig } from '@object-ui/data-objectstack';
3
4
  /** Minimal shape we consume from a framework ObjectSchema payload. */
4
5
  interface ServerObjectSchema {
@@ -35,5 +36,5 @@ export interface MetadataObjectsPageProps {
35
36
  /** Optional CSS class for the wrapper. */
36
37
  className?: string;
37
38
  }
38
- export declare function MetadataObjectsPage({ client: clientProp, clientConfig, hideSystemObjects, readOnly, onSelectObject, className, }: MetadataObjectsPageProps): import("react/jsx-runtime").JSX.Element;
39
+ export declare function MetadataObjectsPage({ client: clientProp, clientConfig, hideSystemObjects, readOnly, onSelectObject, className, }: MetadataObjectsPageProps): React.JSX.Element;
39
40
  export default MetadataObjectsPage;
@@ -1,4 +1,5 @@
1
- import { NavigationItem } from '../../types/src';
1
+ import { default as React } from 'react';
2
+ import { NavigationItem } from '@object-ui/types';
2
3
  export interface NavigationDesignerProps {
3
4
  /** Navigation items to edit */
4
5
  items: NavigationItem[];
@@ -15,5 +16,5 @@ export interface NavigationDesignerProps {
15
16
  /** Callback to import navigation schema */
16
17
  onImport?: (items: NavigationItem[]) => void;
17
18
  }
18
- export declare function NavigationDesigner({ items, onChange, readOnly, showPreview, className, onExport, onImport, }: NavigationDesignerProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function NavigationDesigner({ items, onChange, readOnly, showPreview, className, onExport, onImport, }: NavigationDesignerProps): React.JSX.Element;
19
20
  export default NavigationDesigner;
@@ -1,4 +1,5 @@
1
- import { ObjectDefinition } from '../../types/src';
1
+ import { default as React } from 'react';
2
+ import { ObjectDefinition } from '@object-ui/types';
2
3
  export interface ObjectManagerProps {
3
4
  /** List of object definitions */
4
5
  objects: ObjectDefinition[];
@@ -13,5 +14,5 @@ export interface ObjectManagerProps {
13
14
  /** CSS class */
14
15
  className?: string;
15
16
  }
16
- export declare function ObjectManager({ objects, onObjectsChange, onSelectObject, showSystemObjects, readOnly, className, }: ObjectManagerProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function ObjectManager({ objects, onObjectsChange, onSelectObject, showSystemObjects, readOnly, className, }: ObjectManagerProps): React.JSX.Element;
17
18
  export default ObjectManager;
@@ -1,4 +1,5 @@
1
- import { DesignerComponent, DesignerCanvasConfig, DesignerPaletteCategory } from '../../types/src';
1
+ import { default as React } from 'react';
2
+ import { DesignerComponent, DesignerCanvasConfig, DesignerPaletteCategory } from '@object-ui/types';
2
3
  export interface PageDesignerProps {
3
4
  /** Canvas configuration */
4
5
  canvas?: DesignerCanvasConfig;
@@ -25,4 +26,4 @@ export interface PageDesignerProps {
25
26
  * Drag-and-drop page designer component.
26
27
  * Allows visual composition of UI components on a canvas.
27
28
  */
28
- export declare function PageDesigner({ canvas, components: initialComponents, palette, showComponentTree, undoRedo: undoRedoEnabled, propertyEditor: propertyEditorEnabled, readOnly, showMinimap: showMinimapProp, onChange, className, }: PageDesignerProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare function PageDesigner({ canvas, components: initialComponents, palette, showComponentTree, undoRedo: undoRedoEnabled, propertyEditor: propertyEditorEnabled, readOnly, showMinimap: showMinimapProp, onChange, className, }: PageDesignerProps): React.JSX.Element;
@@ -1,4 +1,5 @@
1
- import { BPMNNode, BPMNEdge, BPMNLane, DesignerCanvasConfig } from '../../types/src';
1
+ import { default as React } from 'react';
2
+ import { BPMNNode, BPMNEdge, BPMNLane, DesignerCanvasConfig } from '@object-ui/types';
2
3
  export interface ProcessDesignerProps {
3
4
  /** Process name */
4
5
  processName?: string;
@@ -34,4 +35,4 @@ export interface ProcessDesignerProps {
34
35
  * property editor, drag-and-drop, collaboration, keyboard shortcuts,
35
36
  * and collapsible panels.
36
37
  */
37
- export declare function ProcessDesigner({ processName, nodes: initialNodes, edges: initialEdges, lanes: _lanes, canvas, showMinimap: showMinimapProp, showToolbar, readOnly, onNodesChange, onEdgesChange, className, }: ProcessDesignerProps): import("react/jsx-runtime").JSX.Element;
38
+ export declare function ProcessDesigner({ processName, nodes: initialNodes, edges: initialEdges, lanes: _lanes, canvas, showMinimap: showMinimapProp, showToolbar, readOnly, onNodesChange, onEdgesChange, className, }: ProcessDesignerProps): React.JSX.Element;
@@ -1,4 +1,5 @@
1
- import { ReportDesignerSection } from '../../types/src';
1
+ import { default as React } from 'react';
2
+ import { ReportDesignerSection } from '@object-ui/types';
2
3
  export interface ReportDesignerProps {
3
4
  /** Report name */
4
5
  reportName?: string;
@@ -34,4 +35,4 @@ export interface ReportDesignerProps {
34
35
  * Report designer for creating printable report layouts.
35
36
  * Supports sections (header, detail, footer) with drag-and-drop elements.
36
37
  */
37
- export declare function ReportDesigner({ reportName, objectName, pageSize, orientation, margins, sections: initialSections, showToolbar, showPropertyPanel, readOnly, onSectionsChange, className, }: ReportDesignerProps): import("react/jsx-runtime").JSX.Element;
38
+ export declare function ReportDesigner({ reportName, objectName, pageSize, orientation, margins, sections: initialSections, showToolbar, showPropertyPanel, readOnly, onSectionsChange, className, }: ReportDesignerProps): React.JSX.Element;
@@ -1,10 +1,4 @@
1
- /**
2
- * ObjectUI
3
- * Copyright (c) 2024-present ObjectStack Inc.
4
- *
5
- * This source code is licensed under the MIT license found in the
6
- * LICENSE file in the root directory of this source tree.
7
- */
1
+ import { default as React } from 'react';
8
2
  export interface ConfirmDialogProps {
9
3
  /** Whether the dialog is open */
10
4
  isOpen: boolean;
@@ -27,4 +21,4 @@ export interface ConfirmDialogProps {
27
21
  * Confirmation dialog for destructive actions in designers.
28
22
  * Uses native dialog element for proper focus trapping and accessibility.
29
23
  */
30
- export declare function ConfirmDialog({ isOpen, title, message, confirmLabel, cancelLabel, destructive, onConfirm, onCancel, }: ConfirmDialogProps): import("react/jsx-runtime").JSX.Element | null;
24
+ export declare function ConfirmDialog({ isOpen, title, message, confirmLabel, cancelLabel, destructive, onConfirm, onCancel, }: ConfirmDialogProps): React.JSX.Element | null;
@@ -39,4 +39,4 @@ export interface HistoryPanelProps<T> {
39
39
  * />
40
40
  * ```
41
41
  */
42
- export declare function HistoryPanel<T>({ history, renderLabel, title, compact, className, }: HistoryPanelProps<T>): import("react/jsx-runtime").JSX.Element;
42
+ export declare function HistoryPanel<T>({ history, renderLabel, title, compact, className, }: HistoryPanelProps<T>): React.JSX.Element;
@@ -1,10 +1,4 @@
1
- /**
2
- * ObjectUI
3
- * Copyright (c) 2024-present ObjectStack Inc.
4
- *
5
- * This source code is licensed under the MIT license found in the
6
- * LICENSE file in the root directory of this source tree.
7
- */
1
+ import { default as React } from 'react';
8
2
  export interface MinimapItem {
9
3
  id: string;
10
4
  x: number;
@@ -32,4 +26,4 @@ export interface MinimapProps {
32
26
  * Minimap component for canvas-based designers.
33
27
  * Shows a bird's-eye view of all items on the canvas.
34
28
  */
35
- export declare function Minimap({ items, canvasWidth, canvasHeight, position, size, className, }: MinimapProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare function Minimap({ items, canvasWidth, canvasHeight, position, size, className, }: MinimapProps): React.JSX.Element;
@@ -1,10 +1,4 @@
1
- /**
2
- * ObjectUI
3
- * Copyright (c) 2024-present ObjectStack Inc.
4
- *
5
- * This source code is licensed under the MIT license found in the
6
- * LICENSE file in the root directory of this source tree.
7
- */
1
+ import { default as React } from 'react';
8
2
  export interface PropertyField {
9
3
  /** Property name */
10
4
  name: string;
@@ -40,4 +34,4 @@ export interface PropertyEditorProps {
40
34
  * Property editor panel with live preview support.
41
35
  * Groups properties by category and provides appropriate editors for each type.
42
36
  */
43
- export declare function PropertyEditor({ title, fields, onChange, className, }: PropertyEditorProps): import("react/jsx-runtime").JSX.Element;
37
+ export declare function PropertyEditor({ title, fields, onChange, className, }: PropertyEditorProps): React.JSX.Element;
@@ -1,10 +1,4 @@
1
- /**
2
- * ObjectUI
3
- * Copyright (c) 2024-present ObjectStack Inc.
4
- *
5
- * This source code is licensed under the MIT license found in the
6
- * LICENSE file in the root directory of this source tree.
7
- */
1
+ import { default as React } from 'react';
8
2
  export interface VersionEntry {
9
3
  /** Version number */
10
4
  version: number;
@@ -31,4 +25,4 @@ export interface VersionHistoryProps {
31
25
  * Version history browser with visual diff support.
32
26
  * Shows a timeline of changes with the ability to restore previous versions.
33
27
  */
34
- export declare function VersionHistory({ versions, onRestore, className, }: VersionHistoryProps): import("react/jsx-runtime").JSX.Element;
28
+ export declare function VersionHistory({ versions, onRestore, className, }: VersionHistoryProps): React.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -1,2 +1,37 @@
1
- export * from './packages/plugin-designer/src/index'
2
- export {}
1
+ import { PageDesigner } from './PageDesigner';
2
+ import { DataModelDesigner } from './DataModelDesigner';
3
+ import { ProcessDesigner } from './ProcessDesigner';
4
+ import { ReportDesigner } from './ReportDesigner';
5
+ import { CollaborationProvider, ConnectionStatusIndicator } from './CollaborationProvider';
6
+ import { AppCreationWizard } from './AppCreationWizard';
7
+ import { NavigationDesigner } from './NavigationDesigner';
8
+ import { EditorModeToggle } from './EditorModeToggle';
9
+ import { DashboardEditor } from './DashboardEditor';
10
+ import { BrandingEditor } from './BrandingEditor';
11
+ import { ObjectManager } from './ObjectManager';
12
+ import { FieldDesigner } from './FieldDesigner';
13
+ export { PageDesigner, DataModelDesigner, ProcessDesigner, ReportDesigner, CollaborationProvider, ConnectionStatusIndicator, AppCreationWizard, NavigationDesigner, EditorModeToggle, DashboardEditor, BrandingEditor, ObjectManager, FieldDesigner, };
14
+ export type { AppCreationWizardProps } from './AppCreationWizard';
15
+ export type { NavigationDesignerProps } from './NavigationDesigner';
16
+ export type { EditorModeToggleProps } from './EditorModeToggle';
17
+ export type { DashboardEditorProps } from './DashboardEditor';
18
+ export type { BrandingEditorProps } from './BrandingEditor';
19
+ export type { ObjectManagerProps } from './ObjectManager';
20
+ export type { FieldDesignerProps } from './FieldDesigner';
21
+ export { useUndoRedo } from './hooks/useUndoRedo';
22
+ export { useDesignerHistory } from './hooks/useDesignerHistory';
23
+ export { useConfirmDialog } from './hooks/useConfirmDialog';
24
+ export { useClipboard } from './hooks/useClipboard';
25
+ export { useMultiSelect } from './hooks/useMultiSelect';
26
+ export { useCanvasPanZoom } from './hooks/useCanvasPanZoom';
27
+ export { ConfirmDialog } from './components/ConfirmDialog';
28
+ export { Minimap } from './components/Minimap';
29
+ export { PropertyEditor } from './components/PropertyEditor';
30
+ export { VersionHistory } from './components/VersionHistory';
31
+ export { CreateAppPage } from './pages/CreateAppPage';
32
+ export { EditAppPage } from './pages/EditAppPage';
33
+ export { DashboardDesignPage } from './pages/DashboardDesignPage';
34
+ export { MetadataObjectsPage } from './MetadataObjectsPage';
35
+ export type { MetadataObjectsPageProps } from './MetadataObjectsPage';
36
+ export { MetadataFieldsPage } from './MetadataFieldsPage';
37
+ export type { MetadataFieldsPageProps } from './MetadataFieldsPage';