@nubisco/ui 1.39.1 → 1.41.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 (60) hide show
  1. package/dist/components/Blueprint.context.d.ts +9 -1
  2. package/dist/components/Blueprint.context.d.ts.map +1 -1
  3. package/dist/components/Blueprint.renderer.d.ts +85 -0
  4. package/dist/components/Blueprint.renderer.d.ts.map +1 -0
  5. package/dist/components/Blueprint.types.d.ts +179 -0
  6. package/dist/components/Blueprint.types.d.ts.map +1 -1
  7. package/dist/components/Blueprint.vue.d.ts +24 -6
  8. package/dist/components/Blueprint.vue.d.ts.map +1 -1
  9. package/dist/components/BlueprintCard.vue.d.ts.map +1 -1
  10. package/dist/components/BlueprintControls.vue.d.ts +11 -0
  11. package/dist/components/BlueprintControls.vue.d.ts.map +1 -0
  12. package/dist/components/BlueprintDomRenderer.vue.d.ts +30 -0
  13. package/dist/components/BlueprintDomRenderer.vue.d.ts.map +1 -0
  14. package/dist/components/BlueprintMinimap.vue.d.ts +11 -0
  15. package/dist/components/BlueprintMinimap.vue.d.ts.map +1 -0
  16. package/dist/components/BlueprintPixiRenderer.vue.d.ts +32 -0
  17. package/dist/components/BlueprintPixiRenderer.vue.d.ts.map +1 -0
  18. package/dist/components/Charts/InterpolationChart.vue.d.ts +1 -1
  19. package/dist/components/DatePicker.vue.d.ts +3 -3
  20. package/dist/components/Grid.vue.d.ts +1 -1
  21. package/dist/components/JsonTree.vue.d.ts +1 -1
  22. package/dist/components/NumberInput.vue.d.ts +3 -3
  23. package/dist/components/NumberInput.vue.d.ts.map +1 -1
  24. package/dist/components/Radio.vue.d.ts +2 -2
  25. package/dist/components/Select.vue.d.ts +1 -1
  26. package/dist/components/Slider.vue.d.ts +2 -2
  27. package/dist/components/TextInput.vue.d.ts +3 -3
  28. package/dist/components/TextInput.vue.d.ts.map +1 -1
  29. package/dist/components/TreeNode.vue.d.ts +2 -2
  30. package/dist/components/blueprint-pixi/level-color.d.ts +2 -0
  31. package/dist/components/blueprint-pixi/level-color.d.ts.map +1 -0
  32. package/dist/components/blueprint-pixi/live-data.d.ts +19 -0
  33. package/dist/components/blueprint-pixi/live-data.d.ts.map +1 -0
  34. package/dist/components/blueprint-pixi/pixi-color.d.ts +10 -0
  35. package/dist/components/blueprint-pixi/pixi-color.d.ts.map +1 -0
  36. package/dist/components/blueprint-pixi/pixi-scene.d.ts +103 -0
  37. package/dist/components/blueprint-pixi/pixi-scene.d.ts.map +1 -0
  38. package/dist/components/blueprint-pixi/wire-path.d.ts +25 -0
  39. package/dist/components/blueprint-pixi/wire-path.d.ts.map +1 -0
  40. package/dist/components/index.d.ts.map +1 -1
  41. package/dist/components/labs/Spreadsheet.vue.d.ts +2 -2
  42. package/dist/components/labs/Spreadsheet.vue.d.ts.map +1 -1
  43. package/dist/composables/useBlueprint.composable.d.ts +23 -0
  44. package/dist/composables/useBlueprint.composable.d.ts.map +1 -0
  45. package/dist/index.cjs +8 -8
  46. package/dist/index.cjs.map +1 -1
  47. package/dist/index.mjs +11712 -11053
  48. package/dist/index.mjs.map +1 -1
  49. package/dist/main.d.ts +8 -1
  50. package/dist/main.d.ts.map +1 -1
  51. package/dist/pixi-scene-BKcn6pWT.js +300 -0
  52. package/dist/pixi-scene-BKcn6pWT.js.map +1 -0
  53. package/dist/pixi-scene-D8kAPyID.cjs +2 -0
  54. package/dist/pixi-scene-D8kAPyID.cjs.map +1 -0
  55. package/dist/plugins/fonts.d.ts +52 -1
  56. package/dist/plugins/fonts.d.ts.map +1 -1
  57. package/dist/plugins/fonts.js +53 -8
  58. package/dist/ui.css +1 -1
  59. package/package.json +10 -1
  60. package/src/plugins/fonts.ts +68 -16
@@ -1,9 +1,17 @@
1
1
  import type { InjectionKey } from 'vue';
2
- import type { IBlueprintCardContext } from './Blueprint.types';
2
+ import type { IBlueprintCardContext, IBlueprintController } from './Blueprint.types';
3
3
  /**
4
4
  * Inject key NbBlueprint provides so its child cards can drive wire dragging
5
5
  * without the parent app having to forward port events manually. Lives in a
6
6
  * `.ts` file (not `.d.ts`) because Symbol() is a runtime value.
7
7
  */
8
8
  export declare const NB_BLUEPRINT_CONTEXT: InjectionKey<IBlueprintCardContext>;
9
+ /**
10
+ * Inject key for the full Blueprint controller (camera, selection, view
11
+ * actions, coordinate transforms, edit mode). Provided alongside
12
+ * NB_BLUEPRINT_CONTEXT so sibling chrome (background, minimap, controls
13
+ * toolbar) and host apps can drive the blueprint without prop-drilling.
14
+ * Consume it with the `useBlueprint()` composable.
15
+ */
16
+ export declare const NB_BLUEPRINT_CONTROLLER: InjectionKey<IBlueprintController>;
9
17
  //# sourceMappingURL=Blueprint.context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Blueprint.context.d.ts","sourceRoot":"","sources":["../../src/components/Blueprint.context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AACvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AAE9D;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,qBAAqB,CAEpE,CAAA"}
1
+ {"version":3,"file":"Blueprint.context.d.ts","sourceRoot":"","sources":["../../src/components/Blueprint.context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AACvC,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,mBAAmB,CAAA;AAE1B;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,qBAAqB,CAEpE,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,EAAE,YAAY,CAAC,oBAAoB,CACpC,CAAA"}
@@ -0,0 +1,85 @@
1
+ import type { IBlueprintCard, IBlueprintConnection, TBlueprintBackground } from './Blueprint.types';
2
+ import type { BlueprintLiveData } from './blueprint-pixi/live-data';
3
+ export type { TBlueprintRenderer } from './Blueprint.types';
4
+ /**
5
+ * One resolved wire ready to draw: the SVG path string (in canvas-local
6
+ * coordinates), the connection it represents, its stroke colour, and
7
+ * whether its source port is a MIDI port (drives flow/colour rules). This
8
+ * is the shape NbBlueprint's `computedWires` produces and every renderer
9
+ * consumes.
10
+ */
11
+ export interface IBlueprintWire {
12
+ path: string;
13
+ conn: IBlueprintConnection;
14
+ color: string;
15
+ isMidi: boolean;
16
+ }
17
+ /**
18
+ * The declarative input contract a Blueprint renderer (the DOM renderer
19
+ * today, a PixiJS renderer in a later phase) accepts as props.
20
+ *
21
+ * NbBlueprint owns all gesture, selection, drag, and event logic and feeds
22
+ * the renderer a pre-computed, already-culled scene: the camera
23
+ * (`panX`/`panY`/`zoom` plus the `isTransforming` GPU-promotion hint), the
24
+ * visible wires, and either the windowed visible cards (when `windowed`)
25
+ * or the legacy host-owned default slot. The renderer's only job is to put
26
+ * that scene on screen and report pointer interactions back up.
27
+ *
28
+ * A renderer is a Vue component so it can hold its own lifecycle (a Pixi
29
+ * app, a canvas context) and react to these props. It must:
30
+ * - render the camera-transformed scene from `wires` + cards,
31
+ * - emit the wire pointer events below,
32
+ * - render the `card` scoped slot per visible card when `windowed`, else
33
+ * the `default` slot verbatim,
34
+ * - (PixiJS phase) expose an `IBlueprintRendererHandle` via the
35
+ * component ref so NbBlueprint can hit-test without a DOM to query.
36
+ */
37
+ export interface IBlueprintRendererProps {
38
+ /** Horizontal pan offset (screen px). */
39
+ panX: number;
40
+ /** Vertical pan offset (screen px). */
41
+ panY: number;
42
+ /** Zoom factor (1 = 100%). */
43
+ zoom: number;
44
+ /** True while a pan/zoom gesture is in flight; renderers may use it to
45
+ * promote a GPU layer (DOM) or skip expensive work (Pixi). */
46
+ isTransforming: boolean;
47
+ /** Visible, already-culled wires to draw. */
48
+ wires: IBlueprintWire[];
49
+ /** True when NbBlueprint owns the card v-for (the `cards` prop API);
50
+ * false for the legacy host-owned default-slot layout. */
51
+ windowed: boolean;
52
+ /** The cards to mount this frame (windowed mode only). */
53
+ visibleCards: IBlueprintCard[];
54
+ /** The id-suffixed path of a wire currently being dragged from a port,
55
+ * or null. Drawn as a transient preview wire. */
56
+ dragWire: string | null;
57
+ /** Whether a given connection should show its animated flow overlay.
58
+ * Centralises the `animateConnections` policy in NbBlueprint so renderers
59
+ * stay policy-free. */
60
+ shouldFlow: (conn: IBlueprintConnection) => boolean;
61
+ /** Background pattern to draw behind the scene. */
62
+ background: TBlueprintBackground;
63
+ /** Non-reactive live-value channel (wire levels, ...) the host writes at
64
+ * audio rate; the PixiJS renderer reads it on its throttled render tick. The
65
+ * DOM renderer ignores it. */
66
+ liveData?: BlueprintLiveData;
67
+ }
68
+ /**
69
+ * Imperative handle a renderer exposes (via `defineExpose`) so NbBlueprint
70
+ * can hit-test pointer positions against the scene.
71
+ *
72
+ * The DOM renderer does not need to implement this: its scene is real DOM
73
+ * inside NbBlueprint's container, so NbBlueprint hit-tests with
74
+ * `querySelector` / `isPointInStroke` directly. The PixiJS renderer, whose
75
+ * scene is a canvas with no queryable DOM, must implement it. Both take
76
+ * viewport (client) coordinates.
77
+ */
78
+ export interface IBlueprintRendererHandle {
79
+ /** Return the connection whose wire is under the given client point, or
80
+ * null. */
81
+ hitTestWire: (clientX: number, clientY: number) => IBlueprintConnection | null;
82
+ /** Return the id of the card under the given client point, or null. */
83
+ hitTestCard: (clientX: number, clientY: number) => string | null;
84
+ }
85
+ //# sourceMappingURL=Blueprint.renderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Blueprint.renderer.d.ts","sourceRoot":"","sources":["../../src/components/Blueprint.renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAEnE,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAE3D;;;;;;GAMG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,oBAAoB,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,OAAO,CAAA;CAChB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,uBAAuB;IACtC,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAA;IACZ,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ;mEAC+D;IAC/D,cAAc,EAAE,OAAO,CAAA;IACvB,6CAA6C;IAC7C,KAAK,EAAE,cAAc,EAAE,CAAA;IACvB;+DAC2D;IAC3D,QAAQ,EAAE,OAAO,CAAA;IACjB,0DAA0D;IAC1D,YAAY,EAAE,cAAc,EAAE,CAAA;IAC9B;sDACkD;IAClD,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB;;4BAEwB;IACxB,UAAU,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAA;IACnD,mDAAmD;IACnD,UAAU,EAAE,oBAAoB,CAAA;IAChC;;mCAE+B;IAC/B,QAAQ,CAAC,EAAE,iBAAiB,CAAA;CAC7B;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,wBAAwB;IACvC;gBACY;IACZ,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,oBAAoB,GAAG,IAAI,CAAA;IAC9E,uEAAuE;IACvE,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAA;CACjE"}
@@ -1,3 +1,6 @@
1
+ import type { Ref } from 'vue';
2
+ import type { IBlueprintPort, TBlueprintCardStatus } from './BlueprintCard.types';
3
+ import type { BlueprintLiveData } from './blueprint-pixi/live-data';
1
4
  export interface IBlueprintConnection {
2
5
  fromNode: string;
3
6
  fromPort: string;
@@ -47,6 +50,17 @@ export interface IBlueprintCard {
47
50
  x: number;
48
51
  /** Canvas-space top. */
49
52
  y: number;
53
+ /**
54
+ * Visual data for the PixiJS renderer's native card painter. The DOM
55
+ * renderer ignores this (it renders the real `#card` slot). The PixiJS
56
+ * renderer draws cards natively while panning/zooming and at far zoom,
57
+ * where it cannot run the Vue `#card` component; it reads this descriptor
58
+ * (or, as a fallback, well-known top-level fields `title`/`color`/`ports`
59
+ * on the card object) to paint a faithful card. Omit it and far/gesture
60
+ * cards render as a plain accent-colored box with the id. See
61
+ * [IBlueprintCardPaint].
62
+ */
63
+ paint?: IBlueprintCardPaint;
50
64
  /**
51
65
  * Card box size in canvas units. Optional: when omitted the windowing
52
66
  * test falls back to `cardSizeEstimate`. Providing real sizes makes the
@@ -55,7 +69,65 @@ export interface IBlueprintCard {
55
69
  */
56
70
  width?: number;
57
71
  height?: number;
72
+ /**
73
+ * GPU-rendered live meters for this card. The PixiJS renderer draws these
74
+ * on the GPU (one batched layer for the whole graph) from the non-reactive
75
+ * live channel, so a card full of audio meters animates without any Vue
76
+ * re-render or per-element DOM/CSS write. Geometry is in card-local px (the
77
+ * meter's box relative to the card's top-left). The DOM renderer ignores it.
78
+ */
79
+ meters?: IBlueprintMeter[];
80
+ }
81
+ /**
82
+ * One GPU-drawn live meter on a card. Its `value` is read each render tick from
83
+ * the blueprint's live channel under `id` (0..1) and drawn as a fill that grows
84
+ * from the bottom, coloured green -> yellow -> red by level. No Vue, no per-frame
85
+ * DOM write: the cost is a sprite scale + tint on the GPU.
86
+ */
87
+ export interface IBlueprintMeter {
88
+ /** Key into the live channel for this meter's current value (0..1). */
89
+ id: string;
90
+ /** Meter box in card-local px (relative to the card's top-left). */
91
+ x: number;
92
+ y: number;
93
+ w: number;
94
+ h: number;
95
+ /** `bar` = solid fill; `ladder` = solid fill behind static segment gaps. */
96
+ kind?: 'bar' | 'ladder';
97
+ /** Segment count for `ladder` (ignored for `bar`). Default 16. */
98
+ segments?: number;
99
+ }
100
+ /**
101
+ * Visual descriptor the PixiJS renderer's native card painter draws from
102
+ * (see `IBlueprintCard.paint`). A structured subset of the NbBlueprintCard
103
+ * props: enough to paint a faithful card at far zoom and during gestures
104
+ * without running the Vue component. All fields optional; the painter falls
105
+ * back to an accent box when a field is missing.
106
+ */
107
+ export interface IBlueprintCardPaint {
108
+ /** Card title drawn in the header. */
109
+ title?: string;
110
+ /** Accent color (CSS color string); drives the top bar and outline. */
111
+ color?: string;
112
+ /** Category label under the title. */
113
+ category?: string;
114
+ /** Status dot (valid / warning / error / none). */
115
+ status?: TBlueprintCardStatus;
116
+ /** Whether the card is collapsed (header only). */
117
+ collapsed?: boolean;
118
+ /** Port definitions; the painter places pins on the left/right edges. */
119
+ ports?: IBlueprintPort[];
120
+ /** Ids of ports drawn as connected (filled). */
121
+ connectedPorts?: string[];
122
+ /** Ids of ports drawn as active (glow). */
123
+ activePorts?: string[];
58
124
  }
125
+ /** How NbBlueprint should pick a renderer. `'auto'` resolves to `'pixi'`
126
+ * when a WebGL-capable client renderer is available, else `'dom'`. */
127
+ export type TBlueprintRenderer = 'auto' | 'dom' | 'pixi';
128
+ /** Built-in canvas background pattern. Color and spacing are themable via
129
+ * `--nb-blueprint-grid-color` and `--nb-blueprint-grid-gap`. */
130
+ export type TBlueprintBackground = 'dots' | 'lines' | 'none';
59
131
  export interface IBlueprintProps {
60
132
  /**
61
133
  * Wire connections between card ports.
@@ -108,6 +180,113 @@ export interface IBlueprintProps {
108
180
  * - `'pan'`: every wheel event pans, never zooms.
109
181
  */
110
182
  wheelMode?: 'auto' | 'zoom' | 'pan';
183
+ /**
184
+ * Whether the blueprint is in edit mode. Surfaced through the injected
185
+ * controller as `isEditMode` so optional chrome (a controls toolbar,
186
+ * etc.) can show itself only while editing. Purely advisory: it does not
187
+ * change pan/zoom/selection behaviour, which are always interactive.
188
+ * Default false.
189
+ */
190
+ editable?: boolean;
191
+ /**
192
+ * Which rendering backend to draw the scene with.
193
+ *
194
+ * - `'auto'` (default): use the PixiJS (WebGL) renderer when a
195
+ * WebGL-capable client renderer is available, else fall back to the
196
+ * DOM/SVG renderer. SSR always uses DOM.
197
+ * - `'dom'`: force the DOM/SVG renderer (today's behaviour).
198
+ * - `'pixi'`: force the PixiJS renderer; falls back to DOM with a
199
+ * dev-time warning when it is not available.
200
+ *
201
+ * The public API (props, events, exposed methods) is identical across
202
+ * renderers; only the draw layer changes.
203
+ */
204
+ renderer?: TBlueprintRenderer;
205
+ /**
206
+ * Canvas background pattern. `'dots'` (default) is the standard dot grid,
207
+ * `'lines'` a ruled grid, `'none'` an empty canvas. Color and spacing are
208
+ * themable via `--nb-blueprint-grid-color` and `--nb-blueprint-grid-gap`.
209
+ */
210
+ background?: TBlueprintBackground;
211
+ }
212
+ /** A point in canvas space (the same units as card `x`/`y` and the
213
+ * `move` event payload). */
214
+ export interface IBlueprintCanvasPoint {
215
+ x: number;
216
+ y: number;
217
+ }
218
+ /** A point in viewport space (client pixels, e.g. `MouseEvent.clientX/Y`). */
219
+ export interface IBlueprintScreenPoint {
220
+ clientX: number;
221
+ clientY: number;
222
+ }
223
+ /**
224
+ * The full controller NbBlueprint provides via `inject` (key
225
+ * `NB_BLUEPRINT_CONTROLLER`). It is a superset of
226
+ * `IBlueprintCardContext`: child cards keep injecting the narrow card
227
+ * context for port dragging, while sibling chrome (background, minimap,
228
+ * controls toolbar) and host apps reach the camera, selection, view
229
+ * actions, and coordinate transforms through this richer surface. Mirror
230
+ * of `defineExpose` plus coordinate helpers and an edit-mode flag.
231
+ *
232
+ * Obtain it from inside a NbBlueprint subtree with `useBlueprint()`.
233
+ */
234
+ export interface IBlueprintController {
235
+ /** Live, writable horizontal pan offset (screen px). */
236
+ panX: Ref<number>;
237
+ /** Live, writable vertical pan offset (screen px). */
238
+ panY: Ref<number>;
239
+ /** Live, writable zoom factor (1 = 100%). */
240
+ zoom: Ref<number>;
241
+ /** Live set of selected card ids. */
242
+ selectedIds: Ref<Set<string>>;
243
+ /** Live focused card id (single-card inspector target), or null. */
244
+ focusedId: Ref<string | null>;
245
+ selectAll: () => void;
246
+ deselectAll: () => void;
247
+ /** Reset zoom to 1 and centre the graph in the viewport. */
248
+ centerView: () => void;
249
+ /** Zoom/pan so the whole graph fits, with optional padding (px). */
250
+ fitToView: (padding?: number) => void;
251
+ /** Reset pan to 0,0 and zoom to 1. */
252
+ resetView: () => void;
253
+ /** Zoom in one step, anchored at the viewport center. */
254
+ zoomIn: () => void;
255
+ /** Zoom out one step, anchored at the viewport center. */
256
+ zoomOut: () => void;
257
+ alignLeft: () => void;
258
+ alignCenter: () => void;
259
+ alignRight: () => void;
260
+ alignTop: () => void;
261
+ alignMiddle: () => void;
262
+ alignBottom: () => void;
263
+ distributeHorizontally: () => void;
264
+ distributeVertically: () => void;
265
+ autoLayout: () => void;
266
+ /** Convert viewport (client) coordinates to canvas coordinates. */
267
+ screenToCanvas: (clientX: number, clientY: number) => IBlueprintCanvasPoint;
268
+ /** Convert canvas coordinates to viewport (client) coordinates. */
269
+ canvasToScreen: (x: number, y: number) => IBlueprintScreenPoint;
270
+ /** Live edit-mode flag, derived from the `editable` prop. */
271
+ isEditMode: Ref<boolean>;
272
+ /** Live viewport size in screen px (the blueprint container). Used by the
273
+ * minimap to draw the visible-area rectangle. */
274
+ viewportSize: Ref<{
275
+ w: number;
276
+ h: number;
277
+ }>;
278
+ /** True while a pan/zoom gesture is in flight (drops ~220ms after the last
279
+ * gesture frame). A host can read this to pause expensive per-card content
280
+ * (live meters) during a gesture, so the cards stay static and cheap to
281
+ * composite while moving. */
282
+ isTransforming: Ref<boolean>;
283
+ /** Forwarded port handlers (same as the narrow card context). */
284
+ onPortDown: (event: IBlueprintCardPortEvent) => void;
285
+ onPortUp: (event: IBlueprintCardPortEvent) => void;
286
+ /** Non-reactive live-value channel. Write high-frequency values (wire levels
287
+ * keyed `from|fromPort|to|toPort`, 0..1) here at audio rate with zero Vue
288
+ * cost; the PixiJS renderer reads them on its throttled GPU tick. */
289
+ live: BlueprintLiveData;
111
290
  }
112
291
  /**
113
292
  * Payload of the port-mousedown / port-mouseup events emitted by
@@ -1 +1 @@
1
- {"version":3,"file":"Blueprint.types.d.ts","sourceRoot":"","sources":["../../src/components/Blueprint.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,cAAc;IAC7B;8DAC0D;IAC1D,EAAE,EAAE,MAAM,CAAA;IACV;gCAC4B;IAC5B,CAAC,EAAE,MAAM,CAAA;IACT,wBAAwB;IACxB,CAAC,EAAE,MAAM,CAAA;IACT;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,WAAW,CAAC,EAAE,oBAAoB,EAAE,CAAA;IACpC;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,cAAc,EAAE,CAAA;IACxB;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAA;IACpD;;;;;;;;;;;;OAYG;IACH,kBAAkB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,aAAa,GAAG,QAAQ,CAAA;IAClE;;;;;;;;;;OAUG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAA;CACpC;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAA;CACzB;AAED;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,IAAI,CAAA;IACpD,QAAQ,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,IAAI,CAAA;CACnD"}
1
+ {"version":3,"file":"Blueprint.types.d.ts","sourceRoot":"","sources":["../../src/components/Blueprint.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC9B,OAAO,KAAK,EACV,cAAc,EACd,oBAAoB,EACrB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAEnE,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,cAAc;IAC7B;8DAC0D;IAC1D,EAAE,EAAE,MAAM,CAAA;IACV;gCAC4B;IAC5B,CAAC,EAAE,MAAM,CAAA;IACT,wBAAwB;IACxB,CAAC,EAAE,MAAM,CAAA;IACT;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAA;IAC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AGG;AACH,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAA;CACzB;AAED;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,IAAI,CAAA;IACpD,QAAQ,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,IAAI,CAAA;CACnD"}
@@ -1,6 +1,9 @@
1
+ import { BlueprintLiveData } from './blueprint-pixi/live-data';
1
2
  import type { IBlueprintConnection, IBlueprintCard, IBlueprintCardMove, IBlueprintProps } from './Blueprint.types';
2
3
  declare function selectAll(): void;
3
4
  declare function deselectAll(): void;
5
+ declare function zoomIn(): void;
6
+ declare function zoomOut(): void;
4
7
  declare function onPortMouseDown(data: {
5
8
  nodeId: string;
6
9
  portId: string;
@@ -28,9 +31,11 @@ declare function autoLayout(options?: {
28
31
  gapY?: number;
29
32
  padding?: number;
30
33
  }): void;
31
- declare var __VLS_1: {
34
+ declare var __VLS_13: {
32
35
  card: IBlueprintCard;
33
- }, __VLS_3: {}, __VLS_5: {
36
+ }, __VLS_16: {}, __VLS_31: {
37
+ card: IBlueprintCard;
38
+ }, __VLS_34: {}, __VLS_36: {
34
39
  connection: {
35
40
  fromNode: string;
36
41
  fromPort: string;
@@ -41,18 +46,26 @@ declare var __VLS_1: {
41
46
  };
42
47
  close: typeof closeWireMenu;
43
48
  disconnect: () => void;
44
- };
49
+ }, __VLS_38: {};
45
50
  type __VLS_Slots = {} & {
46
- card?: (props: typeof __VLS_1) => any;
51
+ card?: (props: typeof __VLS_13) => any;
52
+ } & {
53
+ default?: (props: typeof __VLS_16) => any;
54
+ } & {
55
+ card?: (props: typeof __VLS_31) => any;
56
+ } & {
57
+ default?: (props: typeof __VLS_34) => any;
47
58
  } & {
48
- default?: (props: typeof __VLS_3) => any;
59
+ 'wire-menu'?: (props: typeof __VLS_36) => any;
49
60
  } & {
50
- 'wire-menu'?: (props: typeof __VLS_5) => any;
61
+ chrome?: (props: typeof __VLS_38) => any;
51
62
  };
52
63
  declare const __VLS_base: import("vue").DefineComponent<IBlueprintProps, {
53
64
  centerView: typeof centerView;
54
65
  fitToView: typeof fitToView;
55
66
  resetView: typeof resetView;
67
+ zoomIn: typeof zoomIn;
68
+ zoomOut: typeof zoomOut;
56
69
  selectedIds: import("vue").Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
57
70
  focusedId: import("vue").Ref<string | null, string | null>;
58
71
  selectAll: typeof selectAll;
@@ -71,6 +84,8 @@ declare const __VLS_base: import("vue").DefineComponent<IBlueprintProps, {
71
84
  panX: import("vue").Ref<number, number>;
72
85
  panY: import("vue").Ref<number, number>;
73
86
  zoom: import("vue").Ref<number, number>;
87
+ isTransforming: import("vue").Ref<boolean, boolean>;
88
+ live: BlueprintLiveData;
74
89
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
75
90
  disconnect: (conn: IBlueprintConnection) => any;
76
91
  connect: (conn: IBlueprintConnection) => any;
@@ -92,9 +107,12 @@ declare const __VLS_base: import("vue").DefineComponent<IBlueprintProps, {
92
107
  "onWire-mouseover"?: ((conn: IBlueprintConnection, clientX: number, clientY: number) => any) | undefined;
93
108
  "onWire-mouseout"?: ((conn: IBlueprintConnection) => any) | undefined;
94
109
  }>, {
110
+ background: import("./Blueprint.types").TBlueprintBackground;
95
111
  connections: IBlueprintConnection[];
96
112
  animateConnections: "never" | "always" | "on-activity" | "levels";
97
113
  wheelMode: "auto" | "zoom" | "pan";
114
+ editable: boolean;
115
+ renderer: import("./Blueprint.types").TBlueprintRenderer;
98
116
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
99
117
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
100
118
  declare const _default: typeof __VL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CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BlueprintCard.vue.d.ts","sourceRoot":"","sources":["../../src/components/BlueprintCard.vue"],"names":[],"mappings":"AA+hCA,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EAIf,MAAM,uBAAuB,CAAA;AA6oB9B,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;;;gBAxnBI,MAAM;gBAAU,MAAM;cAAQ,OAAO,GAAG,QAAQ;;;gBAGhD,MAAM;gBAAU,MAAM;cAAQ,OAAO,GAAG,QAAQ;;;;;;;;gBAHhD,MAAM;gBAAU,MAAM;cAAQ,OAAO,GAAG,QAAQ;;;gBAGhD,MAAM;gBAAU,MAAM;cAAQ,OAAO,GAAG,QAAQ;;;;;;;;;;;;;;;;;;6EAynBlE,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"BlueprintCard.vue.d.ts","sourceRoot":"","sources":["../../src/components/BlueprintCard.vue"],"names":[],"mappings":"AAkiCA,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EAIf,MAAM,uBAAuB,CAAA;AAgpB9B,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;;;gBA3nBI,MAAM;gBAAU,MAAM;cAAQ,OAAO,GAAG,QAAQ;;;gBAGhD,MAAM;gBAAU,MAAM;cAAQ,OAAO,GAAG,QAAQ;;;;;;;;gBAHhD,MAAM;gBAAU,MAAM;cAAQ,OAAO,GAAG,QAAQ;;;gBAGhD,MAAM;gBAAU,MAAM;cAAQ,OAAO,GAAG,QAAQ;;;;;;;;;;;;;;;;;;6EA4nBlE,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { IBlueprintControlsProps } from './BlueprintControls.d';
2
+ declare const __VLS_export: import("vue").DefineComponent<IBlueprintControlsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IBlueprintControlsProps> & Readonly<{}>, {
3
+ orientation: "horizontal" | "vertical";
4
+ position: import("./BlueprintControls.d").TBlueprintChromePosition;
5
+ autoLayout: boolean;
6
+ show: "always" | "edit";
7
+ alignment: boolean;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ //# sourceMappingURL=BlueprintControls.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlueprintControls.vue.d.ts","sourceRoot":"","sources":["../../src/components/BlueprintControls.vue"],"names":[],"mappings":"AA0MA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAA;AAgdpE,QAAA,MAAM,YAAY;;;;;;6EAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,30 @@
1
+ import type { IBlueprintConnection } from './Blueprint.types';
2
+ import type { IBlueprintRendererProps } from './Blueprint.renderer';
3
+ declare var __VLS_1: {
4
+ card: import("./Blueprint.types").IBlueprintCard;
5
+ }, __VLS_3: {};
6
+ type __VLS_Slots = {} & {
7
+ card?: (props: typeof __VLS_1) => any;
8
+ } & {
9
+ default?: (props: typeof __VLS_3) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<IBlueprintRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "wire-mousedown": (event: MouseEvent, conn: IBlueprintConnection) => any;
13
+ "wire-contextmenu": (event: MouseEvent, conn: IBlueprintConnection) => any;
14
+ "wire-mousemove": (event: MouseEvent, conn: IBlueprintConnection) => any;
15
+ "wire-mouseleave": (conn: IBlueprintConnection) => any;
16
+ }, string, import("vue").PublicProps, Readonly<IBlueprintRendererProps> & Readonly<{
17
+ "onWire-mousedown"?: ((event: MouseEvent, conn: IBlueprintConnection) => any) | undefined;
18
+ "onWire-contextmenu"?: ((event: MouseEvent, conn: IBlueprintConnection) => any) | undefined;
19
+ "onWire-mousemove"?: ((event: MouseEvent, conn: IBlueprintConnection) => any) | undefined;
20
+ "onWire-mouseleave"?: ((conn: IBlueprintConnection) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
30
+ //# sourceMappingURL=BlueprintDomRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlueprintDomRenderer.vue.d.ts","sourceRoot":"","sources":["../../src/components/BlueprintDomRenderer.vue"],"names":[],"mappings":"AAiOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAkLnE,QAAA,IAAI,OAAO;;CAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAG/C,QAAA,MAAM,UAAU;;;;;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { IBlueprintMinimapProps } from './BlueprintMinimap.d';
2
+ declare const __VLS_export: import("vue").DefineComponent<IBlueprintMinimapProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IBlueprintMinimapProps> & Readonly<{}>, {
3
+ height: number;
4
+ width: number;
5
+ position: import("./BlueprintControls").TBlueprintChromePosition;
6
+ pannable: boolean;
7
+ nodeColor: string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ //# sourceMappingURL=BlueprintMinimap.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlueprintMinimap.vue.d.ts","sourceRoot":"","sources":["../../src/components/BlueprintMinimap.vue"],"names":[],"mappings":"AAsPA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AA6OlE,QAAA,MAAM,YAAY;;;;;;6EAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,32 @@
1
+ import type { IBlueprintConnection } from './Blueprint.types';
2
+ import type { IBlueprintRendererProps } from './Blueprint.renderer';
3
+ declare var __VLS_1: {
4
+ card: import("./Blueprint.types").IBlueprintCard;
5
+ }, __VLS_3: {};
6
+ type __VLS_Slots = {} & {
7
+ card?: (props: typeof __VLS_1) => any;
8
+ } & {
9
+ default?: (props: typeof __VLS_3) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<IBlueprintRendererProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "wire-mousedown": (event: MouseEvent, conn: IBlueprintConnection) => any;
13
+ "wire-contextmenu": (event: MouseEvent, conn: IBlueprintConnection) => any;
14
+ "wire-mousemove": (event: MouseEvent, conn: IBlueprintConnection) => any;
15
+ "wire-mouseleave": (conn: IBlueprintConnection) => any;
16
+ unavailable: (reason: unknown) => any;
17
+ }, string, import("vue").PublicProps, Readonly<IBlueprintRendererProps> & Readonly<{
18
+ "onWire-mousedown"?: ((event: MouseEvent, conn: IBlueprintConnection) => any) | undefined;
19
+ "onWire-contextmenu"?: ((event: MouseEvent, conn: IBlueprintConnection) => any) | undefined;
20
+ "onWire-mousemove"?: ((event: MouseEvent, conn: IBlueprintConnection) => any) | undefined;
21
+ "onWire-mouseleave"?: ((conn: IBlueprintConnection) => any) | undefined;
22
+ onUnavailable?: ((reason: unknown) => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
32
+ //# sourceMappingURL=BlueprintPixiRenderer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlueprintPixiRenderer.vue.d.ts","sourceRoot":"","sources":["../../src/components/BlueprintPixiRenderer.vue"],"names":[],"mappings":"AAoPA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAyPnE,QAAA,IAAI,OAAO;;CAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAM/C,QAAA,MAAM,UAAU;;;;;;;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -11,6 +11,7 @@ declare const __VLS_export: import("vue").DefineComponent<IInterpolationChartPro
11
11
  showTooltip: boolean;
12
12
  showGrid: boolean;
13
13
  colors: string[];
14
+ editable: boolean;
14
15
  modelValue: IInterpolationPoint[];
15
16
  inputLabel: string;
16
17
  outputLabel: string;
@@ -18,7 +19,6 @@ declare const __VLS_export: import("vue").DefineComponent<IInterpolationChartPro
18
19
  inputMax: number;
19
20
  outputMin: number;
20
21
  outputMax: number;
21
- editable: boolean;
22
22
  minPoints: number;
23
23
  inputStep: number;
24
24
  outputStep: number;
@@ -25,9 +25,11 @@ declare const __VLS_base: import("vue").DefineComponent<IDatePickerProps, {
25
25
  label: string;
26
26
  type: "simple" | "single" | "range";
27
27
  name: string;
28
+ warning: string;
28
29
  error: string;
30
+ min: string;
31
+ max: string;
29
32
  id: string;
30
- warning: string;
31
33
  required: boolean;
32
34
  disabled: boolean;
33
35
  weekStart: 0 | 1;
@@ -36,8 +38,6 @@ declare const __VLS_base: import("vue").DefineComponent<IDatePickerProps, {
36
38
  placeholder: string;
37
39
  helper: string;
38
40
  endValue: string | null;
39
- min: string;
40
- max: string;
41
41
  endPlaceholder: string;
42
42
  readonly: boolean;
43
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -186,6 +186,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
186
186
  visible: import("./Grid.d").TGridVisibleInput;
187
187
  mode: import("./Grid.d").TGridMode;
188
188
  dir: import("./Grid.d").TGridTypeInput;
189
+ tabIndex: string;
189
190
  id: string;
190
191
  wrap: import("./Grid.d").TGridWrapInput;
191
192
  is: string;
@@ -199,7 +200,6 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
199
200
  flex: boolean;
200
201
  shrink: boolean;
201
202
  distributed: boolean;
202
- tabIndex: string;
203
203
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
204
204
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
205
205
  declare const _default: typeof __VLS_export;
@@ -6,8 +6,8 @@ declare const __VLS_export: import("vue").DefineComponent<IJsonTreeProps, {}, {}
6
6
  }>, {
7
7
  title: string | null;
8
8
  root: boolean;
9
- modelValue: TJsonValue;
10
9
  editable: boolean;
10
+ modelValue: TJsonValue;
11
11
  startCollapsed: boolean;
12
12
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  declare const _default: typeof __VLS_export;
@@ -17,16 +17,16 @@ declare const __VLS_export: import("vue").DefineComponent<INumberInputProps, {
17
17
  variant: "default" | "fluid";
18
18
  size: "sm" | "md" | "lg";
19
19
  label: string;
20
+ warning: string;
20
21
  error: string;
22
+ min: number;
23
+ max: number;
21
24
  id: string;
22
- warning: string;
23
25
  required: boolean;
24
26
  disabled: boolean;
25
27
  modelValue: number | null;
26
28
  placeholder: string;
27
29
  helper: string;
28
- min: number;
29
- max: number;
30
30
  step: number;
31
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInput.vue.d.ts","sourceRoot":"","sources":["../../src/components/NumberInput.vue"],"names":[],"mappings":"AA0hBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAKtD,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAukBD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;gBA3kBH,MAAM,GAAG,IAAI;;;SACpB,MAAM;SACN,MAAM;UACL,MAAM;6EA6kBb,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"NumberInput.vue.d.ts","sourceRoot":"","sources":["../../src/components/NumberInput.vue"],"names":[],"mappings":"AA0hBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAKtD,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAukBD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;SA1kBV,MAAM;SACN,MAAM;;;;gBAFC,MAAM,GAAG,IAAI;;;UAGnB,MAAM;6EA6kBb,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}