@object-ui/plugin-designer 17.5.0 → 17.7.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/CHANGELOG.md +2567 -0
- package/README.md +65 -17
- package/dist/AppCreationWizard.d.ts +6 -1
- package/dist/AppCreationWizard.d.ts.map +1 -1
- package/dist/DashboardEditor.d.ts.map +1 -1
- package/dist/DataModelDesigner.d.ts +5 -3
- package/dist/DataModelDesigner.d.ts.map +1 -1
- package/dist/FieldDesigner.d.ts.map +1 -1
- package/dist/MetadataFieldsPage.d.ts.map +1 -1
- package/dist/MetadataObjectsPage.d.ts +4 -2
- package/dist/MetadataObjectsPage.d.ts.map +1 -1
- package/dist/NavigationDesigner.d.ts.map +1 -1
- package/dist/ObjectManager.d.ts.map +1 -1
- package/dist/PageDesigner.d.ts +5 -1
- package/dist/PageDesigner.d.ts.map +1 -1
- package/dist/ProcessDesigner.d.ts +6 -2
- package/dist/ProcessDesigner.d.ts.map +1 -1
- package/dist/ReportDesigner.d.ts +6 -3
- package/dist/ReportDesigner.d.ts.map +1 -1
- package/dist/canvasBackground.d.ts +16 -0
- package/dist/canvasBackground.d.ts.map +1 -0
- package/dist/components/HistoryPanel.d.ts +1 -1
- package/dist/components/VersionHistory.d.ts.map +1 -1
- package/dist/components/index.d.ts +10 -10
- package/dist/hooks/index.d.ts +13 -13
- package/dist/hooks/useDesignerHistory.d.ts +1 -1
- package/dist/hooks/useDesignerTranslation.d.ts.map +1 -1
- package/dist/index.d.ts +37 -37
- package/dist/index.js +2546 -2070
- package/dist/index.umd.cjs +3 -2
- package/dist/pages/DashboardDesignPage.d.ts.map +1 -1
- package/dist/pages/EditAppPage.d.ts.map +1 -1
- package/package.json +16 -18
- package/dist/__tests__/__mocks__/plugin-form.d.ts +0 -4
- package/dist/__tests__/__mocks__/plugin-form.d.ts.map +0 -1
- package/dist/__tests__/__mocks__/plugin-grid.d.ts +0 -3
- package/dist/__tests__/__mocks__/plugin-grid.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -30,15 +30,28 @@ npm install @object-ui/plugin-designer
|
|
|
30
30
|
## Quick Start
|
|
31
31
|
|
|
32
32
|
```tsx
|
|
33
|
-
import {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
import { CollaborationProvider, PageDesigner } from '@object-ui/plugin-designer';
|
|
34
|
+
import type { CollaborationConfig, DesignerComponent } from '@object-ui/types';
|
|
35
|
+
|
|
36
|
+
const collaboration: CollaborationConfig = {
|
|
37
|
+
enabled: true,
|
|
38
|
+
roomId: 'landing-page',
|
|
39
|
+
showCursors: true,
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
const componentList: DesignerComponent[] = [
|
|
43
|
+
{
|
|
44
|
+
id: 'headline',
|
|
45
|
+
type: 'text',
|
|
46
|
+
label: 'Headline',
|
|
47
|
+
position: { x: 0, y: 0, width: 480, height: 48 },
|
|
48
|
+
props: { value: 'Welcome' },
|
|
49
|
+
},
|
|
50
|
+
];
|
|
38
51
|
|
|
39
52
|
function DesignerApp() {
|
|
40
53
|
return (
|
|
41
|
-
<CollaborationProvider>
|
|
54
|
+
<CollaborationProvider config={collaboration}>
|
|
42
55
|
<PageDesigner
|
|
43
56
|
components={componentList}
|
|
44
57
|
showComponentTree
|
|
@@ -56,13 +69,19 @@ function DesignerApp() {
|
|
|
56
69
|
Drag-and-drop page layout builder:
|
|
57
70
|
|
|
58
71
|
```tsx
|
|
72
|
+
import { PageDesigner } from '@object-ui/plugin-designer';
|
|
73
|
+
import type { DesignerCanvasConfig, DesignerComponent } from '@object-ui/types';
|
|
74
|
+
|
|
75
|
+
declare const canvasConfig: DesignerCanvasConfig;
|
|
76
|
+
declare const componentList: DesignerComponent[];
|
|
77
|
+
|
|
59
78
|
<PageDesigner
|
|
60
79
|
canvas={canvasConfig}
|
|
61
80
|
components={componentList}
|
|
62
81
|
showComponentTree
|
|
63
82
|
undoRedo
|
|
64
83
|
readOnly={false}
|
|
65
|
-
|
|
84
|
+
/>;
|
|
66
85
|
```
|
|
67
86
|
|
|
68
87
|
### DataModelDesigner
|
|
@@ -70,7 +89,13 @@ Drag-and-drop page layout builder:
|
|
|
70
89
|
Entity-relationship diagram editor:
|
|
71
90
|
|
|
72
91
|
```tsx
|
|
73
|
-
|
|
92
|
+
import { DataModelDesigner } from '@object-ui/plugin-designer';
|
|
93
|
+
import type { DataModelEntity, DataModelRelationship } from '@object-ui/types';
|
|
94
|
+
|
|
95
|
+
declare const entities: DataModelEntity[];
|
|
96
|
+
declare const relationships: DataModelRelationship[];
|
|
97
|
+
|
|
98
|
+
<DataModelDesigner entities={entities} relationships={relationships} />;
|
|
74
99
|
```
|
|
75
100
|
|
|
76
101
|
### ProcessDesigner
|
|
@@ -78,13 +103,19 @@ Entity-relationship diagram editor:
|
|
|
78
103
|
BPMN-style process flow editor:
|
|
79
104
|
|
|
80
105
|
```tsx
|
|
106
|
+
import { ProcessDesigner } from '@object-ui/plugin-designer';
|
|
107
|
+
import type { BPMNEdge, BPMNNode } from '@object-ui/types';
|
|
108
|
+
|
|
109
|
+
declare const nodes: BPMNNode[];
|
|
110
|
+
declare const edges: BPMNEdge[];
|
|
111
|
+
|
|
81
112
|
<ProcessDesigner
|
|
82
113
|
processName="Order Approval"
|
|
83
114
|
nodes={nodes}
|
|
84
115
|
edges={edges}
|
|
85
116
|
showMinimap
|
|
86
117
|
showToolbar
|
|
87
|
-
|
|
118
|
+
/>;
|
|
88
119
|
```
|
|
89
120
|
|
|
90
121
|
### ReportDesigner
|
|
@@ -92,7 +123,12 @@ BPMN-style process flow editor:
|
|
|
92
123
|
Visual report layout builder:
|
|
93
124
|
|
|
94
125
|
```tsx
|
|
95
|
-
|
|
126
|
+
import { ReportDesigner } from '@object-ui/plugin-designer';
|
|
127
|
+
import type { ReportDesignerSection } from '@object-ui/types';
|
|
128
|
+
|
|
129
|
+
declare const sections: ReportDesignerSection[];
|
|
130
|
+
|
|
131
|
+
<ReportDesigner reportName="Sales Report" objectName="Order" sections={sections} />;
|
|
96
132
|
```
|
|
97
133
|
|
|
98
134
|
### CollaborationProvider / ConnectionStatusIndicator
|
|
@@ -100,10 +136,19 @@ Visual report layout builder:
|
|
|
100
136
|
Multi-user real-time editing support:
|
|
101
137
|
|
|
102
138
|
```tsx
|
|
103
|
-
|
|
139
|
+
import {
|
|
140
|
+
CollaborationProvider,
|
|
141
|
+
ConnectionStatusIndicator,
|
|
142
|
+
PageDesigner,
|
|
143
|
+
} from '@object-ui/plugin-designer';
|
|
144
|
+
import type { CollaborationConfig } from '@object-ui/types';
|
|
145
|
+
|
|
146
|
+
declare const collaboration: CollaborationConfig;
|
|
147
|
+
|
|
148
|
+
<CollaborationProvider config={collaboration}>
|
|
104
149
|
<ConnectionStatusIndicator />
|
|
105
|
-
<PageDesigner
|
|
106
|
-
</CollaborationProvider
|
|
150
|
+
<PageDesigner showComponentTree undoRedo />
|
|
151
|
+
</CollaborationProvider>;
|
|
107
152
|
```
|
|
108
153
|
|
|
109
154
|
### Shared Hooks
|
|
@@ -117,10 +162,13 @@ import {
|
|
|
117
162
|
useConfirmDialog,
|
|
118
163
|
} from '@object-ui/plugin-designer';
|
|
119
164
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
const {
|
|
123
|
-
const {
|
|
165
|
+
import type { DesignerComponent } from '@object-ui/types';
|
|
166
|
+
|
|
167
|
+
const { undo, redo, canUndo, canRedo } = useUndoRedo<DesignerComponent[]>([]);
|
|
168
|
+
const { clipboard, copy, paste, hasContent } = useClipboard<DesignerComponent>();
|
|
169
|
+
const { selectedIds, selectOne, selectMany, clearSelection } = useMultiSelect();
|
|
170
|
+
const { zoom, panOffset, zoomIn, zoomOut, resetZoom } = useCanvasPanZoom();
|
|
171
|
+
const { confirm, isOpen } = useConfirmDialog();
|
|
124
172
|
```
|
|
125
173
|
|
|
126
174
|
### Shared Components
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { AppWizardDraft, ObjectSelection } from '@object-ui/types';
|
|
2
|
+
import { AppWizardDraft, ObjectSelection, NavigationItem } from '@object-ui/types';
|
|
3
3
|
export interface AppCreationWizardProps {
|
|
4
4
|
/** Available business objects to select from */
|
|
5
5
|
availableObjects?: ObjectSelection[];
|
|
@@ -22,5 +22,10 @@ export interface AppCreationWizardProps {
|
|
|
22
22
|
/** CSS class */
|
|
23
23
|
className?: string;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* The objects a navigation tree has an object entry for, wherever the entry
|
|
27
|
+
* sits: at the top level or inside a group (objectui#10894).
|
|
28
|
+
*/
|
|
29
|
+
export declare function navObjectNames(items: readonly NavigationItem[]): Set<string>;
|
|
25
30
|
export declare function AppCreationWizard({ availableObjects, templates, initialDraft, onComplete, onCancel, onSaveDraft, readOnly, className, }: AppCreationWizardProps): React.JSX.Element;
|
|
26
31
|
//# sourceMappingURL=AppCreationWizard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppCreationWizard.d.ts","sourceRoot":"","sources":["../src/AppCreationWizard.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;;GASG;AAEH,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,KAAK,EACV,cAAc,EAGd,eAAe,
|
|
1
|
+
{"version":3,"file":"AppCreationWizard.d.ts","sourceRoot":"","sources":["../src/AppCreationWizard.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;;GASG;AAEH,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,KAAK,EACV,cAAc,EAGd,eAAe,EACf,cAAc,EACf,MAAM,kBAAkB,CAAC;AAgC1B,MAAM,WAAW,sBAAsB;IACrC,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAC;IACrC,0BAA0B;IAC1B,SAAS,CAAC,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACvE,sDAAsD;IACtD,YAAY,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IACvC,qCAAqC;IACrC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC7C,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,gDAAgD;IAChD,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC9C,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA8DD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAU5E;AAqnBD,wBAAgB,iBAAiB,CAAC,EAChC,gBAAqB,EACrB,SAAc,EACd,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,WAAW,EACX,QAAgB,EAChB,SAAS,GACV,EAAE,sBAAsB,qBAmUxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardEditor.d.ts","sourceRoot":"","sources":["../src/DashboardEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,wBAAwB,
|
|
1
|
+
{"version":3,"file":"DashboardEditor.d.ts","sourceRoot":"","sources":["../src/DashboardEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,wBAAwB,EAAkD,MAAM,kBAAkB,CAAC;AAmCjH,MAAM,WAAW,oBAAoB;IACnC,+BAA+B;IAC/B,MAAM,EAAE,wBAAwB,CAAC;IACjC,mCAAmC;IACnC,QAAQ,EAAE,CAAC,MAAM,EAAE,wBAAwB,KAAK,IAAI,CAAC;IACrD,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,wBAAwB,KAAK,IAAI,CAAC;IACtD,qCAAqC;IACrC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,wBAAwB,KAAK,IAAI,CAAC;IACtD,+CAA+C;IAC/C,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,iEAAiE;IACjE,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACpD;AA+gBD,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,QAAQ,EACR,QAAgB,EAChB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAAE,wBAAwB,EAC1C,cAAc,GACf,EAAE,oBAAoB,qBAyStB;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -9,8 +9,6 @@ export interface DataModelDesignerProps {
|
|
|
9
9
|
canvas?: DesignerCanvasConfig;
|
|
10
10
|
/** Show relationship labels */
|
|
11
11
|
showRelationshipLabels?: boolean;
|
|
12
|
-
/** Auto-layout enabled */
|
|
13
|
-
autoLayout?: boolean;
|
|
14
12
|
/** Read-only mode */
|
|
15
13
|
readOnly?: boolean;
|
|
16
14
|
/** Callback when entities change */
|
|
@@ -22,7 +20,11 @@ export interface DataModelDesignerProps {
|
|
|
22
20
|
}
|
|
23
21
|
/**
|
|
24
22
|
* Data model designer for creating ER diagrams.
|
|
25
|
-
* Allows visual design of entities, fields, and relationships.
|
|
23
|
+
* Allows visual design of entities, fields, and relationships. Each field row
|
|
24
|
+
* draws its label, a `UQ` badge for `unique` and its default value, with the
|
|
25
|
+
* description as the row's tooltip; each relationship line runs between the
|
|
26
|
+
* rows of its `sourceField` and `targetField`, with its `deleteBehavior` beside
|
|
27
|
+
* the label (objectui#11434).
|
|
26
28
|
* Supports undo/redo, multi-select, copy/paste, pan/zoom, drag-to-reposition,
|
|
27
29
|
* inline field editing, property editor, minimap, auto-layout, and collaboration.
|
|
28
30
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataModelDesigner.d.ts","sourceRoot":"","sources":["../src/DataModelDesigner.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,eAAe,EAAkB,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"DataModelDesigner.d.ts","sourceRoot":"","sources":["../src/DataModelDesigner.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,eAAe,EAAkB,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAsJrH,MAAM,WAAW,sBAAsB;IACrC,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAC;IAC7B,qCAAqC;IACrC,aAAa,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACxC,2BAA2B;IAC3B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,+BAA+B;IAC/B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAOjC,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oCAAoC;IACpC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC;IACzD,yCAAyC;IACzC,qBAAqB,CAAC,EAAE,CAAC,aAAa,EAAE,qBAAqB,EAAE,KAAK,IAAI,CAAC;IACzE,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EAAE,eAAoB,EAC9B,aAAa,EAAE,oBAAyB,EACxC,MAAqD,EACrD,sBAA6B,EAC7B,QAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,SAAS,GACV,EAAE,sBAAsB,qBAo2BxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldDesigner.d.ts","sourceRoot":"","sources":["../src/FieldDesigner.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"FieldDesigner.d.ts","sourceRoot":"","sources":["../src/FieldDesigner.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAyCnF,MAAM,WAAW,kBAAkB;IACjC,2CAA2C;IAC3C,UAAU,EAAE,MAAM,CAAC;IACnB,gCAAgC;IAChC,MAAM,EAAE,uBAAuB,EAAE,CAAC;IAClC,kCAAkC;IAClC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,uBAAuB,EAAE,KAAK,IAAI,CAAC;IAC7D,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAoCD,KAAK,iBAAiB,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,CAAC;AAEzF;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,CAOhF,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,iBAAiB,EAAiE,CAAC;AAyBhH,wBAAgB,aAAa,CAAC,EAC5B,UAAU,EACV,MAAM,EACN,cAAc,EACd,QAAgB,EAChB,SAAS,GACV,EAAE,kBAAkB,qBAgVpB;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MetadataFieldsPage.d.ts","sourceRoot":"","sources":["../src/MetadataFieldsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH
|
|
1
|
+
{"version":3,"file":"MetadataFieldsPage.d.ts","sourceRoot":"","sources":["../src/MetadataFieldsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,KAAoD,MAAM,OAAO,CAAC;AAQzE,OAAO,EACL,cAAc,EAGd,KAAK,oBAAoB,EAC1B,MAAM,6BAA6B,CAAC;AA+yBrC,MAAM,WAAW,uBAAuB;IACtC,6EAA6E;IAC7E,UAAU,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,qCAAqC;IACrC,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC,sBAAsB;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAQD,wBAAgB,kBAAkB,CAAC,EACjC,UAAU,EACV,MAAM,EAAE,UAAU,EAClB,YAAY,EACZ,QAAgB,EAChB,SAAS,GACV,EAAE,uBAAuB,qBAqIzB;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ObjectDefinition } from '@object-ui/types';
|
|
3
3
|
import { MetadataClient, MetadataClientConfig } from '@object-ui/data-objectstack';
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Minimal shape we consume from a framework ObjectSchema payload — and, merged
|
|
6
|
+
* back in {@link MetadataObjectsPage}, the body of `PUT /api/v1/meta/object/:name`.
|
|
7
|
+
*/
|
|
5
8
|
interface ServerObjectSchema {
|
|
6
9
|
name: string;
|
|
7
10
|
label?: string;
|
|
8
11
|
pluralLabel?: string;
|
|
9
12
|
description?: string;
|
|
10
13
|
icon?: string;
|
|
11
|
-
group?: string;
|
|
12
14
|
isSystem?: boolean;
|
|
13
15
|
fields?: Record<string, unknown>;
|
|
14
16
|
[key: string]: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MetadataObjectsPage.d.ts","sourceRoot":"","sources":["../src/MetadataObjectsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,KAAoD,MAAM,OAAO,CAAC;AACzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAGxF
|
|
1
|
+
{"version":3,"file":"MetadataObjectsPage.d.ts","sourceRoot":"","sources":["../src/MetadataObjectsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,KAAoD,MAAM,OAAO,CAAC;AACzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAGxF;;;GAGG;AACH,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAOd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,qCAAqC;IACrC,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC,wEAAwE;IACxE,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,uEAAuE;IACvE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,EAAE,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC7E,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAiDD,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EAAE,UAAU,EAClB,YAAY,EACZ,iBAAyB,EACzB,QAAgB,EAChB,cAAc,EACd,SAAS,GACV,EAAE,wBAAwB,qBAkK1B;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationDesigner.d.ts","sourceRoot":"","sources":["../src/NavigationDesigner.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH
|
|
1
|
+
{"version":3,"file":"NavigationDesigner.d.ts","sourceRoot":"","sources":["../src/NavigationDesigner.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAwC,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAkB,cAAc,EAAsB,MAAM,kBAAkB,CAAC;AAsC3F,MAAM,WAAW,uBAAuB;IACtC,+BAA+B;IAC/B,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,iCAAiC;IACjC,QAAQ,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,IAAI,CAAC;IAC5C,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gCAAgC;IAChC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,IAAI,CAAC;IAC7C,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,IAAI,CAAC;CAC9C;AAmZD,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,QAAQ,EACR,QAAgB,EAChB,WAAkB,EAClB,SAAS,EACT,QAAQ,EACR,QAAQ,GACT,EAAE,uBAAuB,qBA8QzB;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectManager.d.ts","sourceRoot":"","sources":["../src/ObjectManager.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;GAOG;AAEH,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAqBzD,MAAM,WAAW,kBAAkB;IACjC,iCAAiC;IACjC,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,mCAAmC;IACnC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,EAAE,KAAK,IAAI,CAAC;IACxD,4DAA4D;IAC5D,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACpD,qCAAqC;IACrC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAwBD,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,eAAe,EACf,cAAc,EACd,iBAAwB,EACxB,QAAgB,EAChB,SAAS,GACV,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"ObjectManager.d.ts","sourceRoot":"","sources":["../src/ObjectManager.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;GAOG;AAEH,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAqBzD,MAAM,WAAW,kBAAkB;IACjC,iCAAiC;IACjC,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,mCAAmC;IACnC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,EAAE,KAAK,IAAI,CAAC;IACxD,4DAA4D;IAC5D,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACpD,qCAAqC;IACrC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAwBD,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,eAAe,EACf,cAAc,EACd,iBAAwB,EACxB,QAAgB,EAChB,SAAS,GACV,EAAE,kBAAkB,qBAiOpB;AAED,eAAe,aAAa,CAAC"}
|
package/dist/PageDesigner.d.ts
CHANGED
|
@@ -24,7 +24,11 @@ export interface PageDesignerProps {
|
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Drag-and-drop page designer component.
|
|
27
|
-
* Allows visual composition of UI components on a canvas.
|
|
27
|
+
* Allows visual composition of UI components on a canvas. The canvas draws its
|
|
28
|
+
* declared `backgroundColor`; a component draws its `children` inside it, is
|
|
29
|
+
* held in place when `locked`, drawn faded when not `visible`, and stacked by
|
|
30
|
+
* `zIndex`; the palette draws each category's and item's `icon` and an item's
|
|
31
|
+
* `preview` (objectui#11434).
|
|
28
32
|
*/
|
|
29
33
|
export declare function PageDesigner({ canvas, components: initialComponents, palette, showComponentTree, undoRedo: undoRedoEnabled, propertyEditor: propertyEditorEnabled, readOnly, showMinimap: showMinimapProp, onChange, className, }: PageDesignerProps): React.JSX.Element;
|
|
30
34
|
//# sourceMappingURL=PageDesigner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageDesigner.d.ts","sourceRoot":"","sources":["../src/PageDesigner.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,uBAAuB,EAExB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"PageDesigner.d.ts","sourceRoot":"","sources":["../src/PageDesigner.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,uBAAuB,EAExB,MAAM,kBAAkB,CAAC;AAwE1B,MAAM,WAAW,iBAAiB;IAChC,2BAA2B;IAC3B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,yBAAyB;IACzB,UAAU,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACjC,mCAAmC;IACnC,OAAO,CAAC,EAAE,uBAAuB,EAAE,CAAC;IACpC,gCAAgC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,uBAAuB;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sBAAsB;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACrD,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,EAC3B,MAAoF,EACpF,UAAU,EAAE,iBAAsB,EAClC,OAAyB,EACzB,iBAAwB,EACxB,QAAQ,EAAE,eAAsB,EAChC,cAAc,EAAE,qBAA4B,EAC5C,QAAgB,EAChB,WAAW,EAAE,eAAuB,EACpC,QAAQ,EACR,SAAS,GACV,EAAE,iBAAiB,qBAqtBnB"}
|
|
@@ -28,12 +28,16 @@ export interface ProcessDesignerProps {
|
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* Process designer for creating BPMN 2.0 workflows.
|
|
31
|
-
* Supports nodes, edges, lanes, and conditional flows
|
|
31
|
+
* Supports nodes, edges, lanes, and conditional flows: the toolbar draws the
|
|
32
|
+
* `version` beside the process name, each lane is a band around the nodes it
|
|
33
|
+
* names, a flow draws its `condition` in brackets and BPMN's slash marker when
|
|
34
|
+
* it `isDefault`, and the property panel offers a node's task members
|
|
35
|
+
* (`assignee`, `dueDate`, `script`) and each of its `properties` (objectui#11434).
|
|
32
36
|
*
|
|
33
37
|
* Phase 2-4 features: undo/redo, confirm dialogs, multi-select,
|
|
34
38
|
* copy/paste, pan/zoom, minimap, edge creation UI, auto-layout,
|
|
35
39
|
* property editor, drag-and-drop, collaboration, keyboard shortcuts,
|
|
36
40
|
* and collapsible panels.
|
|
37
41
|
*/
|
|
38
|
-
export declare function ProcessDesigner({ processName, nodes: initialNodes, edges: initialEdges, lanes
|
|
42
|
+
export declare function ProcessDesigner({ processName, version, nodes: initialNodes, edges: initialEdges, lanes, canvas, showMinimap: showMinimapProp, showToolbar, readOnly, onNodesChange, onEdgesChange, className, }: ProcessDesignerProps): React.JSX.Element;
|
|
39
43
|
//# sourceMappingURL=ProcessDesigner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProcessDesigner.d.ts","sourceRoot":"","sources":["../src/ProcessDesigner.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"ProcessDesigner.d.ts","sourceRoot":"","sources":["../src/ProcessDesigner.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAwG3F,MAAM,WAAW,oBAAoB;IACnC,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sBAAsB;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iBAAiB;IACjB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,iBAAiB;IACjB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,iBAAiB;IACjB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,2BAA2B;IAC3B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,mBAAmB;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,mBAAmB;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iCAAiC;IACjC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,IAAI,CAAC;IAC5C,iCAAiC;IACjC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,IAAI,CAAC;IAC5C,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAsED;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAAC,EAC9B,WAA2B,EAC3B,OAAO,EACP,KAAK,EAAE,YAAiB,EACxB,KAAK,EAAE,YAAiB,EACxB,KAAgB,EAChB,MAAqD,EACrD,WAAW,EAAE,eAAsB,EACnC,WAAkB,EAClB,QAAgB,EAChB,aAAa,EACb,aAAa,EACb,SAAS,GACV,EAAE,oBAAoB,qBA+3BtB"}
|
package/dist/ReportDesigner.d.ts
CHANGED
|
@@ -22,8 +22,6 @@ export interface ReportDesignerProps {
|
|
|
22
22
|
showToolbar?: boolean;
|
|
23
23
|
/** Show property panel */
|
|
24
24
|
showPropertyPanel?: boolean;
|
|
25
|
-
/** Preview mode */
|
|
26
|
-
previewMode?: boolean;
|
|
27
25
|
/** Read-only mode */
|
|
28
26
|
readOnly?: boolean;
|
|
29
27
|
/** Callback when sections change */
|
|
@@ -33,7 +31,12 @@ export interface ReportDesignerProps {
|
|
|
33
31
|
}
|
|
34
32
|
/**
|
|
35
33
|
* Report designer for creating printable report layouts.
|
|
36
|
-
* Supports sections (header, detail, footer) with drag-and-drop elements.
|
|
34
|
+
* Supports sections (header, detail, footer) with drag-and-drop elements. The
|
|
35
|
+
* page draws its four `margins` as a guide; a section draws its `groupField`
|
|
36
|
+
* and a `pageBreakBefore` marker; an element draws its `dataBinding` and its
|
|
37
|
+
* `format` (objectui#11434). A field element reads its binding from
|
|
38
|
+
* `dataBinding` alone: the undeclared `properties.field` it used to read is
|
|
39
|
+
* refused on both faces of `@object-ui/types`.
|
|
37
40
|
*/
|
|
38
41
|
export declare function ReportDesigner({ reportName, objectName, pageSize, orientation, margins, sections: initialSections, showToolbar, showPropertyPanel, readOnly, onSectionsChange, className, }: ReportDesignerProps): React.JSX.Element;
|
|
39
42
|
//# sourceMappingURL=ReportDesigner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportDesigner.d.ts","sourceRoot":"","sources":["../src/ReportDesigner.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EAAE,qBAAqB,EAAyB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"ReportDesigner.d.ts","sourceRoot":"","sources":["../src/ReportDesigner.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EAAE,qBAAqB,EAAyB,MAAM,kBAAkB,CAAC;AAuFrF,MAAM,WAAW,mBAAmB;IAClC,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB;IAChB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;IACxD,uBAAuB;IACvB,WAAW,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;IACvC,mBAAmB;IACnB,OAAO,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACvE,sBAAsB;IACtB,QAAQ,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACnC,mBAAmB;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,0BAA0B;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAM5B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oCAAoC;IACpC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,qBAAqB,EAAE,KAAK,IAAI,CAAC;IAC/D,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAwED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,EAC7B,UAAkC,EAClC,UAAU,EACV,QAAe,EACf,WAAwB,EACxB,OAAsD,EACtD,QAAQ,EAAE,eAAoB,EAC9B,WAAkB,EAClB,iBAAwB,EACxB,QAAgB,EAChB,gBAAgB,EAChB,SAAS,GACV,EAAE,mBAAmB,qBA2qBrB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* `DesignerCanvasConfig.backgroundColor`, drawn on the canvas of all three
|
|
4
|
+
* canvas designers — `PageDesigner`, `DataModelDesigner` and `ProcessDesigner`
|
|
5
|
+
* (objectui#11434).
|
|
6
|
+
*
|
|
7
|
+
* The value is an AUTHOR-declared colour, so it takes the one carve-out the
|
|
8
|
+
* styling rule allows (`skills/objectui/rules/styling.md`): it is published as
|
|
9
|
+
* a CSS custom property, and a STATIC utility paints it. The stylesheet keeps
|
|
10
|
+
* the rule, so a theme can still restyle or override the canvas; the component
|
|
11
|
+
* never writes `backgroundColor` itself.
|
|
12
|
+
*/
|
|
13
|
+
export declare const CANVAS_BACKGROUND_CLASS = "bg-[color:var(--designer-canvas-bg)]";
|
|
14
|
+
/** The custom property that carries the declared colour, or nothing when none is declared. */
|
|
15
|
+
export declare function canvasBackgroundStyle(color: string | undefined): CSSProperties;
|
|
16
|
+
//# sourceMappingURL=canvasBackground.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"canvasBackground.d.ts","sourceRoot":"","sources":["../src/canvasBackground.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C;;;;;;;;;;GAUG;AACH,eAAO,MAAM,uBAAuB,yCAAyC,CAAC;AAE9E,8FAA8F;AAC9F,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,aAAa,CAE9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VersionHistory.d.ts","sourceRoot":"","sources":["../../src/components/VersionHistory.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"VersionHistory.d.ts","sourceRoot":"","sources":["../../src/components/VersionHistory.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,WAAW,YAAY;IAC3B,qBAAqB;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,+BAA+B;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,wBAAwB;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,6BAA6B;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC,sBAAsB;IACtB,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,kDAAkD;IAClD,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,SAAS,EACT,SAAS,GACV,EAAE,mBAAmB,qBA8DrB"}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
|
-
export { ConfirmDialog } from './ConfirmDialog';
|
|
9
|
-
export type { ConfirmDialogProps } from './ConfirmDialog';
|
|
10
|
-
export { Minimap } from './Minimap';
|
|
11
|
-
export type { MinimapProps, MinimapItem } from './Minimap';
|
|
12
|
-
export { PropertyEditor } from './PropertyEditor';
|
|
13
|
-
export type { PropertyEditorProps, PropertyField } from './PropertyEditor';
|
|
14
|
-
export { VersionHistory } from './VersionHistory';
|
|
15
|
-
export type { VersionHistoryProps, VersionEntry } from './VersionHistory';
|
|
16
|
-
export { HistoryPanel } from './HistoryPanel';
|
|
17
|
-
export type { HistoryPanelProps } from './HistoryPanel';
|
|
8
|
+
export { ConfirmDialog } from './ConfirmDialog.js';
|
|
9
|
+
export type { ConfirmDialogProps } from './ConfirmDialog.js';
|
|
10
|
+
export { Minimap } from './Minimap.js';
|
|
11
|
+
export type { MinimapProps, MinimapItem } from './Minimap.js';
|
|
12
|
+
export { PropertyEditor } from './PropertyEditor.js';
|
|
13
|
+
export type { PropertyEditorProps, PropertyField } from './PropertyEditor.js';
|
|
14
|
+
export { VersionHistory } from './VersionHistory.js';
|
|
15
|
+
export type { VersionHistoryProps, VersionEntry } from './VersionHistory.js';
|
|
16
|
+
export { HistoryPanel } from './HistoryPanel.js';
|
|
17
|
+
export type { HistoryPanelProps } from './HistoryPanel.js';
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
|
-
export { useUndoRedo } from './useUndoRedo';
|
|
9
|
-
export type { UndoRedoState, UndoRedoOptions } from './useUndoRedo';
|
|
10
|
-
export { useDesignerHistory } from './useDesignerHistory';
|
|
11
|
-
export type { DesignerHistoryState, DesignerHistoryOptions } from './useDesignerHistory';
|
|
12
|
-
export { useConfirmDialog } from './useConfirmDialog';
|
|
13
|
-
export type { ConfirmDialogState } from './useConfirmDialog';
|
|
14
|
-
export { useClipboard } from './useClipboard';
|
|
15
|
-
export type { ClipboardState } from './useClipboard';
|
|
16
|
-
export { useMultiSelect } from './useMultiSelect';
|
|
17
|
-
export type { MultiSelectState } from './useMultiSelect';
|
|
18
|
-
export { useCanvasPanZoom } from './useCanvasPanZoom';
|
|
19
|
-
export type { PanZoomState, PanZoomOptions } from './useCanvasPanZoom';
|
|
20
|
-
export { useDesignerTranslation } from './useDesignerTranslation';
|
|
8
|
+
export { useUndoRedo } from './useUndoRedo.js';
|
|
9
|
+
export type { UndoRedoState, UndoRedoOptions } from './useUndoRedo.js';
|
|
10
|
+
export { useDesignerHistory } from './useDesignerHistory.js';
|
|
11
|
+
export type { DesignerHistoryState, DesignerHistoryOptions } from './useDesignerHistory.js';
|
|
12
|
+
export { useConfirmDialog } from './useConfirmDialog.js';
|
|
13
|
+
export type { ConfirmDialogState } from './useConfirmDialog.js';
|
|
14
|
+
export { useClipboard } from './useClipboard.js';
|
|
15
|
+
export type { ClipboardState } from './useClipboard.js';
|
|
16
|
+
export { useMultiSelect } from './useMultiSelect.js';
|
|
17
|
+
export type { MultiSelectState } from './useMultiSelect.js';
|
|
18
|
+
export { useCanvasPanZoom } from './useCanvasPanZoom.js';
|
|
19
|
+
export type { PanZoomState, PanZoomOptions } from './useCanvasPanZoom.js';
|
|
20
|
+
export { useDesignerTranslation } from './useDesignerTranslation.js';
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UndoRedoOptions, UndoRedoState } from './useUndoRedo';
|
|
1
|
+
import { UndoRedoOptions, UndoRedoState } from './useUndoRedo.js';
|
|
2
2
|
/** Options for the designer history hook */
|
|
3
3
|
export type DesignerHistoryOptions = UndoRedoOptions;
|
|
4
4
|
/** Designer history state — command-pattern wrapper around undo/redo */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDesignerTranslation.d.ts","sourceRoot":"","sources":["../../src/hooks/useDesignerTranslation.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AASH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useDesignerTranslation.d.ts","sourceRoot":"","sources":["../../src/hooks/useDesignerTranslation.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AASH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAyLhE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB;4BAvNlC,CAAC;;;;;CA0ND,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
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';
|
|
1
|
+
import { PageDesigner } from './PageDesigner.js';
|
|
2
|
+
import { DataModelDesigner } from './DataModelDesigner.js';
|
|
3
|
+
import { ProcessDesigner } from './ProcessDesigner.js';
|
|
4
|
+
import { ReportDesigner } from './ReportDesigner.js';
|
|
5
|
+
import { CollaborationProvider, ConnectionStatusIndicator } from './CollaborationProvider.js';
|
|
6
|
+
import { AppCreationWizard } from './AppCreationWizard.js';
|
|
7
|
+
import { NavigationDesigner } from './NavigationDesigner.js';
|
|
8
|
+
import { EditorModeToggle } from './EditorModeToggle.js';
|
|
9
|
+
import { DashboardEditor } from './DashboardEditor.js';
|
|
10
|
+
import { BrandingEditor } from './BrandingEditor.js';
|
|
11
|
+
import { ObjectManager } from './ObjectManager.js';
|
|
12
|
+
import { FieldDesigner } from './FieldDesigner.js';
|
|
13
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 { DESIGNER_DEFAULT_TRANSLATIONS } from './hooks/useDesignerTranslation';
|
|
28
|
-
export { ConfirmDialog } from './components/ConfirmDialog';
|
|
29
|
-
export { Minimap } from './components/Minimap';
|
|
30
|
-
export { PropertyEditor } from './components/PropertyEditor';
|
|
31
|
-
export { VersionHistory } from './components/VersionHistory';
|
|
32
|
-
export { CreateAppPage } from './pages/CreateAppPage';
|
|
33
|
-
export { EditAppPage } from './pages/EditAppPage';
|
|
34
|
-
export { DashboardDesignPage } from './pages/DashboardDesignPage';
|
|
35
|
-
export { MetadataObjectsPage } from './MetadataObjectsPage';
|
|
36
|
-
export type { MetadataObjectsPageProps } from './MetadataObjectsPage';
|
|
37
|
-
export { MetadataFieldsPage } from './MetadataFieldsPage';
|
|
38
|
-
export type { MetadataFieldsPageProps } from './MetadataFieldsPage';
|
|
14
|
+
export type { AppCreationWizardProps } from './AppCreationWizard.js';
|
|
15
|
+
export type { NavigationDesignerProps } from './NavigationDesigner.js';
|
|
16
|
+
export type { EditorModeToggleProps } from './EditorModeToggle.js';
|
|
17
|
+
export type { DashboardEditorProps } from './DashboardEditor.js';
|
|
18
|
+
export type { BrandingEditorProps } from './BrandingEditor.js';
|
|
19
|
+
export type { ObjectManagerProps } from './ObjectManager.js';
|
|
20
|
+
export type { FieldDesignerProps } from './FieldDesigner.js';
|
|
21
|
+
export { useUndoRedo } from './hooks/useUndoRedo.js';
|
|
22
|
+
export { useDesignerHistory } from './hooks/useDesignerHistory.js';
|
|
23
|
+
export { useConfirmDialog } from './hooks/useConfirmDialog.js';
|
|
24
|
+
export { useClipboard } from './hooks/useClipboard.js';
|
|
25
|
+
export { useMultiSelect } from './hooks/useMultiSelect.js';
|
|
26
|
+
export { useCanvasPanZoom } from './hooks/useCanvasPanZoom.js';
|
|
27
|
+
export { DESIGNER_DEFAULT_TRANSLATIONS } from './hooks/useDesignerTranslation.js';
|
|
28
|
+
export { ConfirmDialog } from './components/ConfirmDialog.js';
|
|
29
|
+
export { Minimap } from './components/Minimap.js';
|
|
30
|
+
export { PropertyEditor } from './components/PropertyEditor.js';
|
|
31
|
+
export { VersionHistory } from './components/VersionHistory.js';
|
|
32
|
+
export { CreateAppPage } from './pages/CreateAppPage.js';
|
|
33
|
+
export { EditAppPage } from './pages/EditAppPage.js';
|
|
34
|
+
export { DashboardDesignPage } from './pages/DashboardDesignPage.js';
|
|
35
|
+
export { MetadataObjectsPage } from './MetadataObjectsPage.js';
|
|
36
|
+
export type { MetadataObjectsPageProps } from './MetadataObjectsPage.js';
|
|
37
|
+
export { MetadataFieldsPage } from './MetadataFieldsPage.js';
|
|
38
|
+
export type { MetadataFieldsPageProps } from './MetadataFieldsPage.js';
|
|
39
39
|
//# sourceMappingURL=index.d.ts.map
|