@zentto/report-designer 1.5.6 → 1.5.7
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/data-panel/data-source-tree.d.ts +46 -0
- package/dist/data-panel/data-source-tree.d.ts.map +1 -0
- package/dist/data-panel/data-source-tree.js +498 -0
- package/dist/data-panel/data-source-tree.js.map +1 -0
- package/dist/data-panel/er-diagram.d.ts +29 -0
- package/dist/data-panel/er-diagram.d.ts.map +1 -0
- package/dist/data-panel/er-diagram.js +425 -0
- package/dist/data-panel/er-diagram.js.map +1 -0
- package/dist/data-panel/relation-editor.d.ts +29 -0
- package/dist/data-panel/relation-editor.d.ts.map +1 -0
- package/dist/data-panel/relation-editor.js +424 -0
- package/dist/data-panel/relation-editor.js.map +1 -0
- package/dist/zentto-report-designer.d.ts +19 -0
- package/dist/zentto-report-designer.d.ts.map +1 -1
- package/dist/zentto-report-designer.js +173 -35
- package/dist/zentto-report-designer.js.map +1 -1
- package/package.json +13 -1
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
// @zentto/report-designer — Visual ER Diagram
|
|
2
|
+
// Interactive SVG canvas showing tables as boxes with relation lines
|
|
3
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
4
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8
|
+
};
|
|
9
|
+
import { LitElement, html, css, svg, nothing } from 'lit';
|
|
10
|
+
import { customElement, property, state } from 'lit/decorators.js';
|
|
11
|
+
// ─── Layout Constants ─────────────────────────────────────────────
|
|
12
|
+
const TABLE_WIDTH = 180;
|
|
13
|
+
const TABLE_HEADER_HEIGHT = 28;
|
|
14
|
+
const FIELD_ROW_HEIGHT = 20;
|
|
15
|
+
const TABLE_PADDING = 12;
|
|
16
|
+
const GRID_COLS = 3;
|
|
17
|
+
const GRID_GAP_X = 220;
|
|
18
|
+
const GRID_GAP_Y = 40;
|
|
19
|
+
const JOIN_COLORS = {
|
|
20
|
+
inner: '#1976d2',
|
|
21
|
+
left: '#2e7d32',
|
|
22
|
+
right: '#e65100',
|
|
23
|
+
full: '#7b1fa2',
|
|
24
|
+
};
|
|
25
|
+
let ErDiagram = class ErDiagram extends LitElement {
|
|
26
|
+
constructor() {
|
|
27
|
+
super(...arguments);
|
|
28
|
+
this.dataSources = [];
|
|
29
|
+
this.relations = [];
|
|
30
|
+
this._tables = [];
|
|
31
|
+
this._dragging = null;
|
|
32
|
+
this._hoveredRelation = null;
|
|
33
|
+
this._svgWidth = 800;
|
|
34
|
+
this._svgHeight = 600;
|
|
35
|
+
}
|
|
36
|
+
static { this.styles = css `
|
|
37
|
+
:host {
|
|
38
|
+
display: block;
|
|
39
|
+
height: 100%;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
font-family: 'Segoe UI', Roboto, Arial, sans-serif;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.er-container {
|
|
45
|
+
width: 100%;
|
|
46
|
+
height: 100%;
|
|
47
|
+
overflow: auto;
|
|
48
|
+
background:
|
|
49
|
+
linear-gradient(90deg, var(--zrd-grid-line, #f0f0f0) 1px, transparent 1px),
|
|
50
|
+
linear-gradient(var(--zrd-grid-line, #f0f0f0) 1px, transparent 1px);
|
|
51
|
+
background-size: 20px 20px;
|
|
52
|
+
cursor: default;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
svg {
|
|
56
|
+
display: block;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* ─── Table Box ───────────────────────────── */
|
|
60
|
+
.table-box {
|
|
61
|
+
cursor: move;
|
|
62
|
+
}
|
|
63
|
+
.table-box:hover .table-border {
|
|
64
|
+
stroke: var(--zrd-primary, #1976d2);
|
|
65
|
+
stroke-width: 2;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.table-border {
|
|
69
|
+
fill: var(--zrd-panel-bg, #fff);
|
|
70
|
+
stroke: var(--zrd-border, #ccc);
|
|
71
|
+
stroke-width: 1;
|
|
72
|
+
rx: 6;
|
|
73
|
+
ry: 6;
|
|
74
|
+
filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.table-header-bg {
|
|
78
|
+
rx: 6;
|
|
79
|
+
ry: 6;
|
|
80
|
+
}
|
|
81
|
+
.table-header-mask {
|
|
82
|
+
fill: var(--zrd-panel-bg, #fff);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.table-name {
|
|
86
|
+
font-size: 11px;
|
|
87
|
+
font-weight: 600;
|
|
88
|
+
fill: #fff;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.field-name {
|
|
92
|
+
font-size: 10px;
|
|
93
|
+
fill: var(--zrd-text, #333);
|
|
94
|
+
}
|
|
95
|
+
.field-type {
|
|
96
|
+
font-size: 9px;
|
|
97
|
+
fill: var(--zrd-text-muted, #999);
|
|
98
|
+
}
|
|
99
|
+
.field-pk {
|
|
100
|
+
font-size: 9px;
|
|
101
|
+
fill: #ff9800;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.field-row:hover {
|
|
105
|
+
opacity: 0.8;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.field-separator {
|
|
109
|
+
stroke: var(--zrd-border, #eee);
|
|
110
|
+
stroke-width: 0.5;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* ─── Relation Lines ──────────────────────── */
|
|
114
|
+
.relation-line {
|
|
115
|
+
fill: none;
|
|
116
|
+
stroke-width: 1.5;
|
|
117
|
+
cursor: pointer;
|
|
118
|
+
transition: stroke-width 0.15s;
|
|
119
|
+
}
|
|
120
|
+
.relation-line:hover,
|
|
121
|
+
.relation-line.hovered {
|
|
122
|
+
stroke-width: 3;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.relation-label {
|
|
126
|
+
font-size: 9px;
|
|
127
|
+
font-weight: 600;
|
|
128
|
+
pointer-events: none;
|
|
129
|
+
}
|
|
130
|
+
.relation-label-bg {
|
|
131
|
+
fill: var(--zrd-panel-bg, #fff);
|
|
132
|
+
rx: 3;
|
|
133
|
+
ry: 3;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* ─── Empty State ─────────────────────────── */
|
|
137
|
+
.empty-state {
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
justify-content: center;
|
|
141
|
+
height: 100%;
|
|
142
|
+
color: var(--zrd-text-muted, #999);
|
|
143
|
+
font-size: 12px;
|
|
144
|
+
text-align: center;
|
|
145
|
+
padding: 20px;
|
|
146
|
+
}
|
|
147
|
+
`; }
|
|
148
|
+
// ─── Lifecycle ────────────────────────────────────────────────
|
|
149
|
+
updated(changed) {
|
|
150
|
+
if (changed.has('dataSources')) {
|
|
151
|
+
this._layoutTables();
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
// ─── Auto Layout ──────────────────────────────────────────────
|
|
155
|
+
_layoutTables() {
|
|
156
|
+
const tables = [];
|
|
157
|
+
let col = 0;
|
|
158
|
+
let row = 0;
|
|
159
|
+
for (const ds of this.dataSources) {
|
|
160
|
+
const fieldCount = ds.fields?.length || 0;
|
|
161
|
+
const height = TABLE_HEADER_HEIGHT + fieldCount * FIELD_ROW_HEIGHT + TABLE_PADDING;
|
|
162
|
+
// Check if existing position is stored (preserve user moves)
|
|
163
|
+
const existing = this._tables.find(t => t.dsId === ds.id);
|
|
164
|
+
tables.push({
|
|
165
|
+
dsId: ds.id,
|
|
166
|
+
x: existing?.x ?? (TABLE_PADDING + col * GRID_GAP_X),
|
|
167
|
+
y: existing?.y ?? (TABLE_PADDING + row * (Math.max(height, 120) + GRID_GAP_Y)),
|
|
168
|
+
width: TABLE_WIDTH,
|
|
169
|
+
height,
|
|
170
|
+
ds,
|
|
171
|
+
});
|
|
172
|
+
col++;
|
|
173
|
+
if (col >= GRID_COLS) {
|
|
174
|
+
col = 0;
|
|
175
|
+
row++;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
this._tables = tables;
|
|
179
|
+
this._updateSvgSize();
|
|
180
|
+
}
|
|
181
|
+
_updateSvgSize() {
|
|
182
|
+
let maxX = 400;
|
|
183
|
+
let maxY = 300;
|
|
184
|
+
for (const t of this._tables) {
|
|
185
|
+
maxX = Math.max(maxX, t.x + t.width + 40);
|
|
186
|
+
maxY = Math.max(maxY, t.y + t.height + 40);
|
|
187
|
+
}
|
|
188
|
+
this._svgWidth = maxX;
|
|
189
|
+
this._svgHeight = maxY;
|
|
190
|
+
}
|
|
191
|
+
// ─── Drag Handling ────────────────────────────────────────────
|
|
192
|
+
_onMouseDown(e, dsId) {
|
|
193
|
+
const table = this._tables.find(t => t.dsId === dsId);
|
|
194
|
+
if (!table)
|
|
195
|
+
return;
|
|
196
|
+
e.preventDefault();
|
|
197
|
+
const svgEl = this.renderRoot.querySelector('svg');
|
|
198
|
+
if (!svgEl)
|
|
199
|
+
return;
|
|
200
|
+
const rect = svgEl.getBoundingClientRect();
|
|
201
|
+
this._dragging = {
|
|
202
|
+
dsId,
|
|
203
|
+
offsetX: e.clientX - rect.left - table.x,
|
|
204
|
+
offsetY: e.clientY - rect.top - table.y,
|
|
205
|
+
};
|
|
206
|
+
const onMove = (ev) => {
|
|
207
|
+
if (!this._dragging)
|
|
208
|
+
return;
|
|
209
|
+
const newX = Math.max(0, ev.clientX - rect.left - this._dragging.offsetX);
|
|
210
|
+
const newY = Math.max(0, ev.clientY - rect.top - this._dragging.offsetY);
|
|
211
|
+
this._tables = this._tables.map(t => t.dsId === this._dragging.dsId ? { ...t, x: newX, y: newY } : t);
|
|
212
|
+
this._updateSvgSize();
|
|
213
|
+
};
|
|
214
|
+
const onUp = () => {
|
|
215
|
+
this._dragging = null;
|
|
216
|
+
document.removeEventListener('mousemove', onMove);
|
|
217
|
+
document.removeEventListener('mouseup', onUp);
|
|
218
|
+
};
|
|
219
|
+
document.addEventListener('mousemove', onMove);
|
|
220
|
+
document.addEventListener('mouseup', onUp);
|
|
221
|
+
}
|
|
222
|
+
_onRelationClick(rel) {
|
|
223
|
+
this.dispatchEvent(new CustomEvent('relation-edit', {
|
|
224
|
+
detail: { relation: rel },
|
|
225
|
+
bubbles: true, composed: true,
|
|
226
|
+
}));
|
|
227
|
+
}
|
|
228
|
+
_onTableDoubleClick(dsId) {
|
|
229
|
+
this.dispatchEvent(new CustomEvent('table-focus', {
|
|
230
|
+
detail: { dataSourceId: dsId },
|
|
231
|
+
bubbles: true, composed: true,
|
|
232
|
+
}));
|
|
233
|
+
}
|
|
234
|
+
// ─── Relation Line Geometry ───────────────────────────────────
|
|
235
|
+
_getConnectionPoints(rel) {
|
|
236
|
+
const parent = this._tables.find(t => t.dsId === rel.parentSource);
|
|
237
|
+
const child = this._tables.find(t => t.dsId === rel.childSource);
|
|
238
|
+
if (!parent || !child)
|
|
239
|
+
return null;
|
|
240
|
+
// Connect from right edge of parent to left edge of child (or vice versa)
|
|
241
|
+
const parentCenterY = parent.y + parent.height / 2;
|
|
242
|
+
const childCenterY = child.y + child.height / 2;
|
|
243
|
+
let x1, x2;
|
|
244
|
+
if (parent.x + parent.width < child.x) {
|
|
245
|
+
// Parent is to the left
|
|
246
|
+
x1 = parent.x + parent.width;
|
|
247
|
+
x2 = child.x;
|
|
248
|
+
}
|
|
249
|
+
else if (child.x + child.width < parent.x) {
|
|
250
|
+
// Child is to the left
|
|
251
|
+
x1 = parent.x;
|
|
252
|
+
x2 = child.x + child.width;
|
|
253
|
+
}
|
|
254
|
+
else {
|
|
255
|
+
// Overlapping horizontally — connect from bottom/top
|
|
256
|
+
x1 = parent.x + parent.width / 2;
|
|
257
|
+
x2 = child.x + child.width / 2;
|
|
258
|
+
}
|
|
259
|
+
return { x1, y1: parentCenterY, x2, y2: childCenterY };
|
|
260
|
+
}
|
|
261
|
+
// ─── Rendering ────────────────────────────────────────────────
|
|
262
|
+
_renderTableBox(table) {
|
|
263
|
+
const fields = table.ds.fields || [];
|
|
264
|
+
const headerColor = '#1976d2';
|
|
265
|
+
return svg `
|
|
266
|
+
<g class="table-box"
|
|
267
|
+
@mousedown=${(e) => this._onMouseDown(e, table.dsId)}
|
|
268
|
+
@dblclick=${() => this._onTableDoubleClick(table.dsId)}>
|
|
269
|
+
<!-- Shadow/border -->
|
|
270
|
+
<rect class="table-border"
|
|
271
|
+
x=${table.x} y=${table.y}
|
|
272
|
+
width=${table.width} height=${table.height} />
|
|
273
|
+
|
|
274
|
+
<!-- Header background -->
|
|
275
|
+
<rect class="table-header-bg"
|
|
276
|
+
x=${table.x} y=${table.y}
|
|
277
|
+
width=${table.width} height=${TABLE_HEADER_HEIGHT}
|
|
278
|
+
fill=${headerColor} />
|
|
279
|
+
<!-- Mask bottom corners of header -->
|
|
280
|
+
<rect class="table-header-mask"
|
|
281
|
+
x=${table.x} y=${table.y + TABLE_HEADER_HEIGHT - 6}
|
|
282
|
+
width=${table.width} height="6" />
|
|
283
|
+
|
|
284
|
+
<!-- Table name -->
|
|
285
|
+
<text class="table-name"
|
|
286
|
+
x=${table.x + 10} y=${table.y + 18}>
|
|
287
|
+
${table.ds.table || table.ds.name}
|
|
288
|
+
</text>
|
|
289
|
+
|
|
290
|
+
<!-- Fields -->
|
|
291
|
+
${fields.map((f, i) => {
|
|
292
|
+
const fy = table.y + TABLE_HEADER_HEIGHT + i * FIELD_ROW_HEIGHT;
|
|
293
|
+
return svg `
|
|
294
|
+
<g class="field-row">
|
|
295
|
+
${i > 0 ? svg `
|
|
296
|
+
<line class="field-separator"
|
|
297
|
+
x1=${table.x + 4} y1=${fy}
|
|
298
|
+
x2=${table.x + table.width - 4} y2=${fy} />
|
|
299
|
+
` : nothing}
|
|
300
|
+
${f.isPrimaryKey ? svg `
|
|
301
|
+
<text class="field-pk"
|
|
302
|
+
x=${table.x + 6} y=${fy + 14}>\u{1F511}</text>
|
|
303
|
+
` : nothing}
|
|
304
|
+
<text class="field-name"
|
|
305
|
+
x=${table.x + (f.isPrimaryKey ? 20 : 8)}
|
|
306
|
+
y=${fy + 14}>
|
|
307
|
+
${f.label || f.name}
|
|
308
|
+
</text>
|
|
309
|
+
<text class="field-type"
|
|
310
|
+
x=${table.x + table.width - 8}
|
|
311
|
+
y=${fy + 14}
|
|
312
|
+
text-anchor="end">
|
|
313
|
+
${f.nativeType || f.type}
|
|
314
|
+
</text>
|
|
315
|
+
</g>
|
|
316
|
+
`;
|
|
317
|
+
})}
|
|
318
|
+
</g>
|
|
319
|
+
`;
|
|
320
|
+
}
|
|
321
|
+
_renderRelationLine(rel) {
|
|
322
|
+
const pts = this._getConnectionPoints(rel);
|
|
323
|
+
if (!pts)
|
|
324
|
+
return nothing;
|
|
325
|
+
const { x1, y1, x2, y2 } = pts;
|
|
326
|
+
const color = JOIN_COLORS[rel.joinType] || '#666';
|
|
327
|
+
const midX = (x1 + x2) / 2;
|
|
328
|
+
const midY = (y1 + y2) / 2;
|
|
329
|
+
// Bezier control points for smooth curve
|
|
330
|
+
const cx1 = x1 + (x2 - x1) * 0.4;
|
|
331
|
+
const cx2 = x1 + (x2 - x1) * 0.6;
|
|
332
|
+
const isHovered = this._hoveredRelation === rel.id;
|
|
333
|
+
const label = rel.joinType.toUpperCase();
|
|
334
|
+
return svg `
|
|
335
|
+
<g>
|
|
336
|
+
<!-- Clickable wider path for easier selection -->
|
|
337
|
+
<path
|
|
338
|
+
d="M ${x1} ${y1} C ${cx1} ${y1}, ${cx2} ${y2}, ${x2} ${y2}"
|
|
339
|
+
stroke="transparent" fill="none" stroke-width="12"
|
|
340
|
+
style="cursor:pointer"
|
|
341
|
+
@click=${() => this._onRelationClick(rel)}
|
|
342
|
+
@mouseenter=${() => { this._hoveredRelation = rel.id; }}
|
|
343
|
+
@mouseleave=${() => { this._hoveredRelation = null; }}
|
|
344
|
+
/>
|
|
345
|
+
<!-- Visible line -->
|
|
346
|
+
<path
|
|
347
|
+
class="relation-line ${isHovered ? 'hovered' : ''}"
|
|
348
|
+
d="M ${x1} ${y1} C ${cx1} ${y1}, ${cx2} ${y2}, ${x2} ${y2}"
|
|
349
|
+
stroke=${color}
|
|
350
|
+
marker-end="url(#arrow-${rel.joinType})"
|
|
351
|
+
/>
|
|
352
|
+
<!-- Label -->
|
|
353
|
+
<rect class="relation-label-bg"
|
|
354
|
+
x=${midX - 18} y=${midY - 8}
|
|
355
|
+
width="36" height="16"
|
|
356
|
+
stroke=${color} stroke-width="0.5" />
|
|
357
|
+
<text class="relation-label"
|
|
358
|
+
x=${midX} y=${midY + 4}
|
|
359
|
+
text-anchor="middle"
|
|
360
|
+
fill=${color}>
|
|
361
|
+
${label}
|
|
362
|
+
</text>
|
|
363
|
+
</g>
|
|
364
|
+
`;
|
|
365
|
+
}
|
|
366
|
+
_renderArrowDefs() {
|
|
367
|
+
return svg `
|
|
368
|
+
<defs>
|
|
369
|
+
${Object.entries(JOIN_COLORS).map(([type, color]) => svg `
|
|
370
|
+
<marker id="arrow-${type}" viewBox="0 0 10 6"
|
|
371
|
+
refX="9" refY="3"
|
|
372
|
+
markerWidth="8" markerHeight="6"
|
|
373
|
+
orient="auto-start-reverse">
|
|
374
|
+
<path d="M 0 0 L 10 3 L 0 6 z" fill=${color} />
|
|
375
|
+
</marker>
|
|
376
|
+
`)}
|
|
377
|
+
</defs>
|
|
378
|
+
`;
|
|
379
|
+
}
|
|
380
|
+
render() {
|
|
381
|
+
if (this.dataSources.length === 0) {
|
|
382
|
+
return html `<div class="empty-state">No data sources to display.<br/>Add tables to see the ER diagram.</div>`;
|
|
383
|
+
}
|
|
384
|
+
return html `
|
|
385
|
+
<div class="er-container">
|
|
386
|
+
<svg width=${this._svgWidth} height=${this._svgHeight}
|
|
387
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
388
|
+
${this._renderArrowDefs()}
|
|
389
|
+
|
|
390
|
+
<!-- Relation lines (behind tables) -->
|
|
391
|
+
${(this.relations || []).map(rel => this._renderRelationLine(rel))}
|
|
392
|
+
|
|
393
|
+
<!-- Table boxes -->
|
|
394
|
+
${this._tables.map(table => this._renderTableBox(table))}
|
|
395
|
+
</svg>
|
|
396
|
+
</div>
|
|
397
|
+
`;
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
__decorate([
|
|
401
|
+
property({ type: Array })
|
|
402
|
+
], ErDiagram.prototype, "dataSources", void 0);
|
|
403
|
+
__decorate([
|
|
404
|
+
property({ type: Array })
|
|
405
|
+
], ErDiagram.prototype, "relations", void 0);
|
|
406
|
+
__decorate([
|
|
407
|
+
state()
|
|
408
|
+
], ErDiagram.prototype, "_tables", void 0);
|
|
409
|
+
__decorate([
|
|
410
|
+
state()
|
|
411
|
+
], ErDiagram.prototype, "_dragging", void 0);
|
|
412
|
+
__decorate([
|
|
413
|
+
state()
|
|
414
|
+
], ErDiagram.prototype, "_hoveredRelation", void 0);
|
|
415
|
+
__decorate([
|
|
416
|
+
state()
|
|
417
|
+
], ErDiagram.prototype, "_svgWidth", void 0);
|
|
418
|
+
__decorate([
|
|
419
|
+
state()
|
|
420
|
+
], ErDiagram.prototype, "_svgHeight", void 0);
|
|
421
|
+
ErDiagram = __decorate([
|
|
422
|
+
customElement('zrd-er-diagram')
|
|
423
|
+
], ErDiagram);
|
|
424
|
+
export { ErDiagram };
|
|
425
|
+
//# sourceMappingURL=er-diagram.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"er-diagram.js","sourceRoot":"","sources":["../../src/data-panel/er-diagram.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,qEAAqE;;;;;;;AAErE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAuB,MAAM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O,IAAI,CAAA,kGAAkG,CAAC;QAChH,CAAC;QAED,OAAO,IAAI,CAAA;;qBAEM,IAAI,CAAC,SAAS,WAAW,IAAI,CAAC,UAAU;;YAEjD,IAAI,CAAC,gBAAgB,EAAE;;;YAGvB,CAAC,IAAI,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;;;YAGhE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;;;KAG7D,CAAC;IACJ,CAAC;;AApZ0B;IAA1B,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;8CAAmC;AAClC;IAA1B,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;4CAA+B;AAExC;IAAhB,KAAK,EAAE;0CAAkC;AACzB;IAAhB,KAAK,EAAE;4CAAqF;AAC5E;IAAhB,KAAK,EAAE;mDAAgD;AACvC;IAAhB,KAAK,EAAE;4CAAyB;AAChB;IAAhB,KAAK,EAAE;6CAA0B;AARvB,SAAS;IADrB,aAAa,CAAC,gBAAgB,CAAC;GACnB,SAAS,CAsZrB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { LitElement, nothing } from 'lit';
|
|
2
|
+
import type { DataSourceDef, RelationDef } from '@zentto/report-core';
|
|
3
|
+
export declare class RelationEditor extends LitElement {
|
|
4
|
+
dataSources: DataSourceDef[];
|
|
5
|
+
relation: RelationDef | null;
|
|
6
|
+
open: boolean;
|
|
7
|
+
private _parentSource;
|
|
8
|
+
private _childSource;
|
|
9
|
+
private _joinType;
|
|
10
|
+
private _joinPairs;
|
|
11
|
+
private _alias;
|
|
12
|
+
static styles: import("lit").CSSResult;
|
|
13
|
+
updated(changed: Map<string, unknown>): void;
|
|
14
|
+
private _getFields;
|
|
15
|
+
private _isValid;
|
|
16
|
+
private _buildSqlPreview;
|
|
17
|
+
private _onSave;
|
|
18
|
+
private _onCancel;
|
|
19
|
+
private _addPair;
|
|
20
|
+
private _removePair;
|
|
21
|
+
private _updatePair;
|
|
22
|
+
render(): import("lit-html").TemplateResult<1> | typeof nothing;
|
|
23
|
+
}
|
|
24
|
+
declare global {
|
|
25
|
+
interface HTMLElementTagNameMap {
|
|
26
|
+
'zrd-relation-editor': RelationEditor;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=relation-editor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relation-editor.d.ts","sourceRoot":"","sources":["../../src/data-panel/relation-editor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAa,OAAO,EAAE,MAAM,KAAK,CAAC;AAErD,OAAO,KAAK,EAAE,aAAa,EAAY,WAAW,EAA8B,MAAM,qBAAqB,CAAC;AAS5G,qBACa,cAAe,SAAQ,UAAU;IACjB,WAAW,EAAE,aAAa,EAAE,CAAM;IACjC,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAQ;IACnC,IAAI,UAAS;IAEjC,OAAO,CAAC,aAAa,CAAM;IAC3B,OAAO,CAAC,YAAY,CAAM;IAC1B,OAAO,CAAC,SAAS,CAAqB;IACtC,OAAO,CAAC,UAAU,CAA6D;IAC/E,OAAO,CAAC,MAAM,CAAM;IAE7B,OAAgB,MAAM,0BA8KpB;IAEO,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAmB9C,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,QAAQ;IAMhB,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,OAAO;IAkBf,OAAO,CAAC,SAAS;IAMjB,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,WAAW;IAKnB,OAAO,CAAC,WAAW;IAQV,MAAM;CAsHhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,qBAAqB,EAAE,cAAc,CAAC;KACvC;CACF"}
|