@code0-tech/pictor 0.0.0-mvp.23 → 0.0.0-mvp.24

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.
@@ -0,0 +1 @@
1
+ .aurora-background{position:absolute;height:100%;width:100%;left:0;top:0;border-radius:inherit;pointer-events:none;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:transparent;transition:background-color .15s ease,color .15s ease;--aurora: repeating-linear-gradient( 100deg, rgba(112, 255, 178, .7) 0%, rgba(226, 112, 255, .9) 8%, rgba(181, 255, 214, .8) 16%, rgba(199, 255, 112, .9) 24%, transparent 32% );--gradient: repeating-linear-gradient( 100deg, rgba(255,255,255, 1) 0%, rgba(255,255,255, 1) 3%, transparent 10%, transparent 12%, rgba(255,255,255, 1) 16% );--transparent: transparent}.aurora-background__overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none}.aurora-background__aurora{position:absolute;inset:-10px;pointer-events:none;opacity:.5;filter:blur(10px);will-change:transform;background-image:var(--gradient),var(--aurora);background-size:300% 300%,200% 200%;background-position:50% 50%,50% 50%}.aurora-background__aurora:after{content:"";position:absolute;inset:0;background-image:var(--gradient),var(--aurora);background-size:200% 200%,100% 100%;background-attachment:fixed;mix-blend-mode:difference;animation:aurora-animation 45s ease-in-out infinite alternate}.aurora-background--radial-mask .aurora-background__aurora{mask-image:radial-gradient(ellipse at 100% 0%,black 10%,var(--transparent) 70%);-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 10%,var(--transparent) 70%)}@keyframes aurora-animation{0%{background-position:0% 50%,50% 50%}50%{background-position:100% 50%,50% 50%}to{background-position:0% 50%,50% 50%}}
@@ -0,0 +1,5 @@
1
+ import { default as React, HTMLAttributes } from 'react';
2
+ export interface AuroraBackgroundProps extends HTMLAttributes<HTMLDivElement> {
3
+ showRadialGradient?: boolean;
4
+ }
5
+ export declare const AuroraBackground: React.FC<AuroraBackgroundProps>;
@@ -0,0 +1,23 @@
1
+ import { jsx as d } from "react/jsx-runtime";
2
+ import { c as m } from "../../_virtual/compiler-runtime.js";
3
+ import '../../assets/components/aurora/Aurora.style.css';/* empty css */
4
+ const k = (i) => {
5
+ const a = m.c(11);
6
+ let r, o, e;
7
+ a[0] !== i ? ({
8
+ className: r,
9
+ showRadialGradient: e,
10
+ ...o
11
+ } = i, a[0] = i, a[1] = r, a[2] = o, a[3] = e) : (r = a[1], o = a[2], e = a[3]);
12
+ const c = (e === void 0 ? !0 : e) && "aurora-background--radial-mask";
13
+ let s;
14
+ a[4] !== r || a[5] !== c ? (s = ["aurora-background", c, r].filter(Boolean), a[4] = r, a[5] = c, a[6] = s) : s = a[6];
15
+ const n = s.join(" ");
16
+ let t;
17
+ a[7] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ d("div", { className: "aurora-background__overlay", children: /* @__PURE__ */ d("div", { className: "aurora-background__aurora" }) }), a[7] = t) : t = a[7];
18
+ let l;
19
+ return a[8] !== o || a[9] !== n ? (l = /* @__PURE__ */ d("div", { className: n, ...o, children: t }), a[8] = o, a[9] = n, a[10] = l) : l = a[10], l;
20
+ };
21
+ export {
22
+ k as AuroraBackground
23
+ };
@@ -1,5 +1,5 @@
1
- import { DataType, Flow, FlowSetting, FlowType, FunctionDefinition, LiteralValue, Maybe, NodeFunction, NodeParameter, NodeParameterValue, ReferenceValue, RuntimeParameterDefinition, Scalars } from '@code0-tech/sagittarius-graphql-types';
2
- import { ValidationResult } from '../../utils/inspection';
1
+ import { DataType, Flow, FlowInput, FlowSetting, FlowSettingInput, FlowType, FunctionDefinition, LiteralValue, Maybe, NodeFunction, NodeFunctionInput, NodeParameter, NodeParameterInput, NodeParameterValue, ReferenceValue, RuntimeParameterDefinition, Scalars } from '@code0-tech/sagittarius-graphql-types';
2
+ import { ValidationResult } from '../../utils';
3
3
  export declare class FlowView {
4
4
  /** Time when this Flow was created */
5
5
  private readonly _createdAt?;
@@ -40,6 +40,7 @@ export declare class FlowView {
40
40
  removeNode(nodeId: Scalars['NodeFunctionID']['output']): void;
41
41
  getNodeById(nodeId: Scalars['NodeFunctionID']['output']): NodeFunctionView | undefined;
42
42
  json(): Flow;
43
+ jsonInput(): FlowInput;
43
44
  }
44
45
  export declare class NodeFunctionView {
45
46
  /** Time when this NodeFunction was created */
@@ -64,6 +65,7 @@ export declare class NodeFunctionView {
64
65
  set nextNodeId(value: Maybe<Scalars["NodeFunctionID"]["output"]>);
65
66
  deleteNextNode(): void;
66
67
  json(): NodeFunction | undefined;
68
+ jsonInput(): NodeFunctionInput;
67
69
  }
68
70
  export declare class NodeParameterView {
69
71
  /** Time when this NodeParameter was created */
@@ -87,6 +89,7 @@ export declare class NodeParameterView {
87
89
  set validationResults(value: ValidationResult[]);
88
90
  set value(value: NodeParameterValue | undefined);
89
91
  json(): NodeParameter | undefined;
92
+ jsonInput(): NodeParameterInput;
90
93
  }
91
94
  export declare class FlowSettingView {
92
95
  private readonly _createdAt?;
@@ -106,4 +109,5 @@ export declare class FlowSettingView {
106
109
  get updatedAt(): Maybe<Scalars["Time"]["output"]> | undefined;
107
110
  set value(value: Maybe<Scalars["JSON"]["output"]>);
108
111
  json(): FlowSetting;
112
+ jsonInput(): FlowSettingInput;
109
113
  }
@@ -1,7 +1,7 @@
1
1
  function e(s, t, i) {
2
- return (t = n(t)) in s ? Object.defineProperty(s, t, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : s[t] = i, s;
2
+ return (t = r(t)) in s ? Object.defineProperty(s, t, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : s[t] = i, s;
3
3
  }
4
- function n(s) {
4
+ function r(s) {
5
5
  var t = a(s, "string");
6
6
  return typeof t == "symbol" ? t : t + "";
7
7
  }
@@ -9,15 +9,15 @@ function a(s, t) {
9
9
  if (typeof s != "object" || !s) return s;
10
10
  var i = s[Symbol.toPrimitive];
11
11
  if (i !== void 0) {
12
- var r = i.call(s, t);
13
- if (typeof r != "object") return r;
12
+ var d = i.call(s, t);
13
+ if (typeof d != "object") return d;
14
14
  throw new TypeError("@@toPrimitive must return a primitive value.");
15
15
  }
16
16
  return (t === "string" ? String : Number)(s);
17
17
  }
18
- class h {
18
+ class o {
19
19
  constructor(t) {
20
- e(this, "_createdAt", void 0), e(this, "_id", void 0), e(this, "_inputType", void 0), e(this, "_nodes", void 0), e(this, "_returnType", void 0), e(this, "_settings", void 0), e(this, "_startingNodeId", void 0), e(this, "_type", void 0), e(this, "_updatedAt", void 0), e(this, "_name", void 0), this._createdAt = t.createdAt, this._id = t.id, this._inputType = t.inputType, this._nodes = t.nodes?.nodes?.map((i) => new d(i)), this._returnType = t.returnType, this._settings = t.settings?.nodes?.map((i) => new u(i)), this._startingNodeId = t.startingNodeId, this._type = t.type, this._updatedAt = t.updatedAt, this._name = t.name;
20
+ e(this, "_createdAt", void 0), e(this, "_id", void 0), e(this, "_inputType", void 0), e(this, "_nodes", void 0), e(this, "_returnType", void 0), e(this, "_settings", void 0), e(this, "_startingNodeId", void 0), e(this, "_type", void 0), e(this, "_updatedAt", void 0), e(this, "_name", void 0), this._createdAt = t.createdAt, this._id = t.id, this._inputType = t.inputType, this._nodes = t.nodes?.nodes?.map((i) => new n(i)), this._returnType = t.returnType, this._settings = t.settings?.nodes?.map((i) => new _(i)), this._startingNodeId = t.startingNodeId, this._type = t.type, this._updatedAt = t.updatedAt, this._name = t.name;
21
21
  }
22
22
  get createdAt() {
23
23
  return this._createdAt;
@@ -90,10 +90,19 @@ class h {
90
90
  name: this._name
91
91
  };
92
92
  }
93
+ jsonInput() {
94
+ return {
95
+ name: this._name,
96
+ nodes: this._nodes?.map((t) => t.jsonInput()),
97
+ settings: this._settings?.map((t) => t.jsonInput()),
98
+ startingNodeId: this._startingNodeId,
99
+ type: "gid://sagittarius/FlowType/1"
100
+ };
101
+ }
93
102
  }
94
- class d {
103
+ class n {
95
104
  constructor(t) {
96
- e(this, "_createdAt", void 0), e(this, "_id", void 0), e(this, "_nextNodeId", void 0), e(this, "_parameters", void 0), e(this, "_functionDefinition", void 0), e(this, "_updatedAt", void 0), this._createdAt = t.createdAt, this._id = t.id, this._nextNodeId = t.nextNodeId, this._functionDefinition = t.functionDefinition, this._updatedAt = t.updatedAt, this._parameters = t.parameters ? t.parameters.nodes?.map((i) => new _(i)) : void 0;
105
+ e(this, "_createdAt", void 0), e(this, "_id", void 0), e(this, "_nextNodeId", void 0), e(this, "_parameters", void 0), e(this, "_functionDefinition", void 0), e(this, "_updatedAt", void 0), this._createdAt = t.createdAt, this._id = t.id, this._nextNodeId = t.nextNodeId, this._functionDefinition = t.functionDefinition, this._updatedAt = t.updatedAt, this._parameters = t.parameters ? t.parameters.nodes?.map((i) => new u(i)) : void 0;
97
106
  }
98
107
  get createdAt() {
99
108
  return this._createdAt;
@@ -132,10 +141,18 @@ class d {
132
141
  updatedAt: this._updatedAt
133
142
  };
134
143
  }
144
+ jsonInput() {
145
+ return {
146
+ nextNodeId: this._nextNodeId,
147
+ id: this._id,
148
+ parameters: this._parameters ? this._parameters.map((t) => t.jsonInput()) : void 0,
149
+ runtimeFunctionId: this._functionDefinition?.runtimeFunctionDefinition?.id
150
+ };
151
+ }
135
152
  }
136
- class _ {
153
+ class u {
137
154
  constructor(t) {
138
- e(this, "_createdAt", void 0), e(this, "_id", void 0), e(this, "_runtimeParameter", void 0), e(this, "_updatedAt", void 0), e(this, "_value", void 0), e(this, "_validationResults", void 0), this._createdAt = t.createdAt, this._id = t.id, this._runtimeParameter = t.runtimeParameter, this._updatedAt = t.updatedAt, t.value?.__typename === "NodeFunction" ? this._value = new d(t.value) : this._value = t.value, this._validationResults = [];
155
+ e(this, "_createdAt", void 0), e(this, "_id", void 0), e(this, "_runtimeParameter", void 0), e(this, "_updatedAt", void 0), e(this, "_value", void 0), e(this, "_validationResults", void 0), this._createdAt = t.createdAt, this._id = t.id, this._runtimeParameter = t.runtimeParameter, this._updatedAt = t.updatedAt, t.value?.__typename === "NodeFunction" ? this._value = new n(t.value) : this._value = t.value, this._validationResults = [];
139
156
  }
140
157
  get createdAt() {
141
158
  return this._createdAt;
@@ -159,7 +176,7 @@ class _ {
159
176
  this._validationResults = t;
160
177
  }
161
178
  set value(t) {
162
- t?.__typename === "NodeFunction" ? this._value = new d(t) : this._value = t;
179
+ t?.__typename === "NodeFunction" ? this._value = new n(t) : this._value = t;
163
180
  }
164
181
  json() {
165
182
  return {
@@ -168,11 +185,23 @@ class _ {
168
185
  id: this._id,
169
186
  runtimeParameter: this._runtimeParameter,
170
187
  updatedAt: this._updatedAt,
171
- value: this._value instanceof d ? this._value.json() : this._value
188
+ value: this._value instanceof n ? this._value.json() : this._value
189
+ };
190
+ }
191
+ jsonInput() {
192
+ return {
193
+ value: this._value instanceof n ? {
194
+ functionValue: this._value.jsonInput()
195
+ } : this._value?.__typename === "ReferenceValue" ? {
196
+ referenceValue: this._value
197
+ } : {
198
+ literalValue: this._value
199
+ },
200
+ runtimeParameterDefinitionId: this.runtimeParameter?.id
172
201
  };
173
202
  }
174
203
  }
175
- class u {
204
+ class _ {
176
205
  constructor(t) {
177
206
  e(this, "_createdAt", void 0), e(this, "_flowSettingIdentifier", void 0), e(this, "_id", void 0), e(this, "_updatedAt", void 0), e(this, "_value", void 0), this._createdAt = t.createdAt, this._flowSettingIdentifier = t.flowSettingIdentifier, this._id = t.id, this._value = t.value, this._updatedAt = t.updatedAt;
178
207
  }
@@ -204,10 +233,16 @@ class u {
204
233
  updatedAt: this._updatedAt
205
234
  };
206
235
  }
236
+ jsonInput() {
237
+ return {
238
+ value: this.value,
239
+ flowSettingIdentifier: this.flowSettingIdentifier
240
+ };
241
+ }
207
242
  }
208
243
  export {
209
- u as FlowSettingView,
210
- h as FlowView,
211
- d as NodeFunctionView,
212
- _ as NodeParameterView
244
+ _ as FlowSettingView,
245
+ o as FlowView,
246
+ n as NodeFunctionView,
247
+ u as NodeParameterView
213
248
  };
@@ -1,36 +1,36 @@
1
- import { jsx as o, jsxs as B } from "react/jsx-runtime";
2
- import { c as D } from "../../../_virtual/compiler-runtime.js";
3
- import { useViewport as M, useReactFlow as O, Panel as R } from "@xyflow/react";
4
- import { ButtonGroup as V } from "../../button-group/ButtonGroup.js";
5
- import { Button as P } from "../../button/Button.js";
6
- import { IconPlus as v, IconMinus as E, IconFocusCentered as G } from "@tabler/icons-react";
1
+ import { jsx as o, jsxs as k } from "react/jsx-runtime";
2
+ import { c as j } from "../../../_virtual/compiler-runtime.js";
3
+ import { useViewport as D, useReactFlow as M, Panel as O } from "@xyflow/react";
4
+ import { ButtonGroup as R } from "../../button-group/ButtonGroup.js";
5
+ import { Button as B } from "../../button/Button.js";
6
+ import { IconPlus as V, IconMinus as E, IconFocusCentered as G } from "@tabler/icons-react";
7
7
  import { Badge as Z } from "../../badge/Badge.js";
8
- import { Flex as j } from "../../flex/Flex.js";
8
+ import { Flex as P } from "../../flex/Flex.js";
9
9
  const Q = () => {
10
- const e = D.c(37), w = M(), t = O();
11
- let d;
12
- e[0] !== t ? (d = () => {
13
- t.zoomIn();
14
- }, e[0] = t, e[1] = d) : d = e[1];
15
- const C = d;
10
+ const e = j.c(37), w = D(), t = M();
16
11
  let p;
17
- e[2] !== t ? (p = () => {
12
+ e[0] !== t ? (p = () => {
13
+ t.zoomIn();
14
+ }, e[0] = t, e[1] = p) : p = e[1];
15
+ const C = p;
16
+ let d;
17
+ e[2] !== t ? (d = () => {
18
18
  t.zoomOut();
19
- }, e[2] = t, e[3] = p) : p = e[3];
20
- const I = p;
21
- let h;
22
- e[4] !== t ? (h = () => {
19
+ }, e[2] = t, e[3] = d) : d = e[3];
20
+ const I = d;
21
+ let y;
22
+ e[4] !== t ? (y = () => {
23
23
  t.fitView();
24
- }, e[4] = t, e[5] = h) : h = e[5];
25
- const F = h;
24
+ }, e[4] = t, e[5] = y) : y = e[5];
25
+ const F = y;
26
+ let h;
27
+ e[6] !== w.zoom ? (h = () => Math.round(w.zoom * 100), e[6] = w.zoom, e[7] = h) : h = e[7];
28
+ const v = h;
26
29
  let u;
27
- e[6] !== w.zoom ? (u = () => Math.round(w.zoom * 100), e[6] = w.zoom, e[7] = u) : u = e[7];
28
- const k = u;
29
- let y;
30
- e[8] === Symbol.for("react.memo_cache_sentinel") ? (y = {
30
+ e[8] === Symbol.for("react.memo_cache_sentinel") ? (u = {
31
31
  flexDirection: "column",
32
32
  gap: "1rem"
33
- }, e[8] = y) : y = e[8];
33
+ }, e[8] = u) : u = e[8];
34
34
  let z;
35
35
  e[9] === Symbol.for("react.memo_cache_sentinel") ? (z = {
36
36
  gap: ".7rem"
@@ -38,40 +38,40 @@ const Q = () => {
38
38
  let l;
39
39
  e[10] !== C ? (l = () => C(), e[10] = C, e[11] = l) : l = e[11];
40
40
  let x;
41
- e[12] === Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ o(v, { size: 15 }), e[12] = x) : x = e[12];
41
+ e[12] === Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ o(V, { size: 15 }), e[12] = x) : x = e[12];
42
+ let n;
43
+ e[13] !== l ? (n = /* @__PURE__ */ o(B, { py: "0", paddingSize: "xxs", variant: "none", color: "secondary", onClick: l, children: x }), e[13] = l, e[14] = n) : n = e[14];
42
44
  let i;
43
- e[13] !== l ? (i = /* @__PURE__ */ o(P, { paddingSize: "xxs", color: "secondary", onClick: l, children: x }), e[13] = l, e[14] = i) : i = e[14];
44
- let r;
45
- e[15] !== I ? (r = () => I(), e[15] = I, e[16] = r) : r = e[16];
45
+ e[15] !== I ? (i = () => I(), e[15] = I, e[16] = i) : i = e[16];
46
46
  let _;
47
47
  e[17] === Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ o(E, { size: 15 }), e[17] = _) : _ = e[17];
48
- let n;
49
- e[18] !== r ? (n = /* @__PURE__ */ o(P, { paddingSize: "xxs", color: "secondary", onClick: r, children: _ }), e[18] = r, e[19] = n) : n = e[19];
48
+ let r;
49
+ e[18] !== i ? (r = /* @__PURE__ */ o(B, { py: "0", paddingSize: "xxs", variant: "none", color: "secondary", onClick: i, children: _ }), e[18] = i, e[19] = r) : r = e[19];
50
50
  let c;
51
51
  e[20] !== F ? (c = () => F(), e[20] = F, e[21] = c) : c = e[21];
52
52
  let S;
53
53
  e[22] === Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ o(G, { size: 15 }), e[22] = S) : S = e[22];
54
54
  let s;
55
- e[23] !== c ? (s = /* @__PURE__ */ o(P, { paddingSize: "xxs", color: "secondary", onClick: c, children: S }), e[23] = c, e[24] = s) : s = e[24];
55
+ e[23] !== c ? (s = /* @__PURE__ */ o(B, { py: "0", paddingSize: "xxs", variant: "none", color: "secondary", onClick: c, children: S }), e[23] = c, e[24] = s) : s = e[24];
56
56
  let m;
57
- e[25] !== n || e[26] !== s || e[27] !== i ? (m = /* @__PURE__ */ B(V, { children: [
58
- i,
57
+ e[25] !== r || e[26] !== s || e[27] !== n ? (m = /* @__PURE__ */ k(R, { children: [
59
58
  n,
59
+ r,
60
60
  s
61
- ] }), e[25] = n, e[26] = s, e[27] = i, e[28] = m) : m = e[28];
61
+ ] }), e[25] = r, e[26] = s, e[27] = n, e[28] = m) : m = e[28];
62
62
  let b;
63
63
  e[29] === Symbol.for("react.memo_cache_sentinel") ? (b = {
64
64
  border: "none"
65
65
  }, e[29] = b) : b = e[29];
66
66
  let f;
67
- e[30] !== k ? (f = k(), e[30] = k, e[31] = f) : f = e[31];
67
+ e[30] !== v ? (f = v(), e[30] = v, e[31] = f) : f = e[31];
68
68
  let a;
69
- e[32] !== f ? (a = /* @__PURE__ */ B(Z, { color: "primary", style: b, children: [
69
+ e[32] !== f ? (a = /* @__PURE__ */ k(Z, { color: "primary", style: b, children: [
70
70
  f,
71
71
  "%"
72
72
  ] }), e[32] = f, e[33] = a) : a = e[33];
73
73
  let g;
74
- return e[34] !== m || e[35] !== a ? (g = /* @__PURE__ */ o(R, { position: "bottom-left", children: /* @__PURE__ */ o(j, { style: y, children: /* @__PURE__ */ B(j, { align: "stretch", style: z, children: [
74
+ return e[34] !== m || e[35] !== a ? (g = /* @__PURE__ */ o(O, { position: "bottom-left", children: /* @__PURE__ */ o(P, { style: u, children: /* @__PURE__ */ k(P, { align: "center", style: z, children: [
75
75
  m,
76
76
  a
77
77
  ] }) }) }), e[34] = m, e[35] = a, e[36] = g) : g = e[36], g;
@@ -62,7 +62,7 @@ class l extends s {
62
62
  } : n && n.variant == "RETURN_TYPE" && t.variant === "NODE" ? {
63
63
  sourceDataTypeIdentifiers: [this.getTypeFromValue(e, i)],
64
64
  target: a
65
- } : n && n.variant == "INPUT_TYPE" && t.variant === "NODE" ? {
65
+ } : n && n.variant == "INPUT_TYPES" && t.variant === "NODE" ? {
66
66
  sourceDataTypeIdentifiers: [{
67
67
  genericKey: a
68
68
  }],
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { Flow } from '@code0-tech/sagittarius-graphql-types';
3
+ export interface DFlowExportProps {
4
+ flowId: Flow['id'];
5
+ }
6
+ export declare const DFlowExport: React.FC<DFlowExportProps>;
@@ -0,0 +1,24 @@
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import i from "react";
3
+ import { Panel as u } from "@xyflow/react";
4
+ import { useService as w, useStore as b } from "../../../utils/contextStore.js";
5
+ import "merge-props";
6
+ import { DFlowReactiveService as l } from "../DFlow.service.js";
7
+ import { Button as j } from "../../button/Button.js";
8
+ const k = (s) => {
9
+ const {
10
+ flowId: r
11
+ } = s, p = w(l), m = b(l), t = i.useMemo(() => p.getById(r), [m, r]), a = i.useCallback(() => {
12
+ if (!t) return;
13
+ const e = t.jsonInput?.();
14
+ if (!e) return;
15
+ const f = typeof e == "string" ? e : JSON.stringify(e, null, 2), d = new Blob([f], {
16
+ type: "application/json"
17
+ }), n = URL.createObjectURL(d), o = document.createElement("a");
18
+ o.href = n, o.download = `flow-${t.name}.json`, document.body.appendChild(o), o.click(), o.remove(), URL.revokeObjectURL(n);
19
+ }, [t]);
20
+ return /* @__PURE__ */ c(u, { position: "top-right", children: /* @__PURE__ */ c(j, { paddingSize: "xxs", onClick: a, children: "Export flow" }) });
21
+ };
22
+ export {
23
+ k as DFlowExport
24
+ };
@@ -101,7 +101,7 @@ const ie = (i, p, s, g = 0, u = [0], T = 1, v = [f.REF_OBJECT, f.VALUE, f.FUNCTI
101
101
  for (const n of a.parameterDefinitions) {
102
102
  const e = p.getDataType(n.dataTypeIdentifier);
103
103
  if (!e || e.variant === "NODE") continue;
104
- const t = e.rules?.nodes?.filter((c) => c?.variant === "INPUT_TYPE") ?? [];
104
+ const t = e.rules?.nodes?.filter((c) => c?.variant === "INPUT_TYPES") ?? [];
105
105
  if (t.length) {
106
106
  const d = r.parameters.find((F) => F.id === n.id)?.value, _ = d !== void 0 ? d instanceof D ? [d.json()] : [d] : [];
107
107
  for (const F of t) {
@@ -25,7 +25,7 @@ export declare class FlowTypeView {
25
25
  get descriptions(): Maybe<TranslationConnection> | undefined;
26
26
  get editable(): Maybe<Scalars["Boolean"]["output"]> | undefined;
27
27
  get flowTypeSettings(): Maybe<Array<FlowTypeSetting>> | undefined;
28
- get id(): Maybe<Scalars["TypesFlowTypeID"]["output"]> | undefined;
28
+ get id(): Maybe<Scalars["FlowTypeID"]["output"]> | undefined;
29
29
  get identifier(): Maybe<Scalars["String"]["output"]> | undefined;
30
30
  get inputType(): Maybe<DataType> | undefined;
31
31
  get names(): Maybe<TranslationConnection> | undefined;
@@ -1,5 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { TextInputProps } from '../form';
3
+ import { DUserView } from './DUser.view';
3
4
  export interface DUserInputProps extends TextInputProps {
5
+ filter?: (user: DUserView, index: number) => boolean;
4
6
  }
5
7
  export declare const DUserInput: React.FC<DUserInputProps>;
@@ -1,9 +1,9 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import v from "react";
2
+ import x from "react";
3
3
  import "../../_virtual/compiler-runtime.js";
4
4
  import "@radix-ui/react-checkbox";
5
5
  import "merge-props";
6
- import { IconArrowUp as x, IconArrowDown as S, IconCornerDownLeft as b } from "@tabler/icons-react";
6
+ import { IconArrowUp as S, IconArrowDown as b, IconCornerDownLeft as I } from "@tabler/icons-react";
7
7
  import '../../assets/components/form/Input.style.css';/* empty css */
8
8
  import "../form/EmailInput.js";
9
9
  import "../form/Input.js";
@@ -13,18 +13,19 @@ import "../form/PasswordInput.js";
13
13
  import "@radix-ui/react-one-time-password-field";
14
14
  import "@radix-ui/react-radio-group";
15
15
  import "../form/SwitchInput.js";
16
- import { TextInput as I } from "../form/TextInput.js";
16
+ import { TextInput as L } from "../form/TextInput.js";
17
17
  import { Badge as m } from "../badge/Badge.js";
18
18
  import { Text as l } from "../text/Text.js";
19
- import { useService as L, useStore as U } from "../../utils/contextStore.js";
19
+ import { useService as U, useStore as D } from "../../utils/contextStore.js";
20
20
  import { DUserReactiveService as g } from "./DUser.service.js";
21
- import { MenuLabel as D, MenuItem as w } from "../menu/Menu.js";
21
+ import { MenuLabel as w, MenuItem as z } from "../menu/Menu.js";
22
22
  import { Flex as s } from "../flex/Flex.js";
23
- import { Spacing as z } from "../spacing/Spacing.js";
24
- const $ = (p) => {
23
+ import { Spacing as B } from "../spacing/Spacing.js";
24
+ const P = (p) => {
25
25
  const {
26
- ...h
27
- } = p, u = L(g), d = U(g), f = v.useMemo(() => u.values().map((r) => ({
26
+ filter: h = () => !0,
27
+ ...d
28
+ } = p, u = U(g), f = D(g), y = x.useMemo(() => u.values().filter(h).map((r) => ({
28
29
  value: r.username || "",
29
30
  children: /* @__PURE__ */ o(s, { align: "end", style: {
30
31
  gap: "0.35rem"
@@ -35,31 +36,31 @@ const $ = (p) => {
35
36
  insertMode: "insert",
36
37
  valueData: r,
37
38
  groupBy: "Users"
38
- })), [d]);
39
- return /* @__PURE__ */ e(I, { placeholder: "Enter users", suggestionsEmptyState: /* @__PURE__ */ e(w, { children: /* @__PURE__ */ e(l, { children: "No user found" }) }), onLastTokenChange: (r) => {
39
+ })), [f]);
40
+ return /* @__PURE__ */ e(L, { placeholder: "Enter users", suggestionsEmptyState: /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(l, { children: "No user found" }) }), onLastTokenChange: (r) => {
40
41
  u.getByUsername(r);
41
- }, suggestionsFooter: /* @__PURE__ */ e(D, { children: /* @__PURE__ */ o(s, { style: {
42
+ }, suggestionsFooter: /* @__PURE__ */ e(w, { children: /* @__PURE__ */ o(s, { style: {
42
43
  gap: ".35rem"
43
44
  }, children: [
44
45
  /* @__PURE__ */ o(s, { align: "center", style: {
45
46
  gap: "0.35rem"
46
47
  }, children: [
47
48
  /* @__PURE__ */ o(s, { children: [
48
- /* @__PURE__ */ e(m, { border: !0, children: /* @__PURE__ */ e(x, { size: 12 }) }),
49
- /* @__PURE__ */ e(m, { border: !0, children: /* @__PURE__ */ e(S, { size: 12 }) })
49
+ /* @__PURE__ */ e(m, { border: !0, children: /* @__PURE__ */ e(S, { size: 12 }) }),
50
+ /* @__PURE__ */ e(m, { border: !0, children: /* @__PURE__ */ e(b, { size: 12 }) })
50
51
  ] }),
51
52
  "move"
52
53
  ] }),
53
- /* @__PURE__ */ e(z, { spacing: "xxs" }),
54
+ /* @__PURE__ */ e(B, { spacing: "xxs" }),
54
55
  /* @__PURE__ */ o(s, { align: "center", style: {
55
56
  gap: ".35rem"
56
57
  }, children: [
57
- /* @__PURE__ */ e(m, { border: !0, children: /* @__PURE__ */ e(b, { size: 12 }) }),
58
+ /* @__PURE__ */ e(m, { border: !0, children: /* @__PURE__ */ e(I, { size: 12 }) }),
58
59
  "insert"
59
60
  ] })
60
61
  ] }) }), filterSuggestionsByLastToken: !0, enforceUniqueSuggestions: !0, transformSyntax: (r, a = []) => {
61
62
  let t = 0;
62
- return a.map((i, y) => {
63
+ return a.map((i, v) => {
63
64
  if (typeof i == "object") {
64
65
  const c = {
65
66
  type: "block",
@@ -77,7 +78,7 @@ const $ = (p) => {
77
78
  }
78
79
  const n = i ?? "";
79
80
  if (n.length) {
80
- if (y == a.length - 1) {
81
+ if (v == a.length - 1) {
81
82
  const c = {
82
83
  type: "text",
83
84
  start: t,
@@ -90,8 +91,8 @@ const $ = (p) => {
90
91
  return t += n.length, {};
91
92
  }
92
93
  });
93
- }, ...h, suggestions: f });
94
+ }, ...d, suggestions: y });
94
95
  };
95
96
  export {
96
- $ as DUserInput
97
+ P as DUserInput
97
98
  };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './components/alert/Alert';
2
+ export * from './components/aurora/Aurora';
2
3
  export * from './components/avatar/Avatar';
3
4
  export * from './components/badge/Badge';
4
5
  export * from './components/breadcrumb/Breadcrumb';
package/dist/index.js CHANGED
@@ -1,262 +1,264 @@
1
1
  import { Alert as m } from "./components/alert/Alert.js";
2
- import { Avatar as n } from "./components/avatar/Avatar.js";
3
- import { Badge as f } from "./components/badge/Badge.js";
4
- import { Breadcrumb as c } from "./components/breadcrumb/Breadcrumb.js";
5
- import { Button as u } from "./components/button/Button.js";
6
- import { ButtonGroup as g } from "./components/button-group/ButtonGroup.js";
7
- import { Card as d } from "./components/card/Card.js";
8
- import { Col as v } from "./components/col/Col.js";
9
- import { Command as F, CommandDialog as R, CommandEmpty as I, CommandGroup as T, CommandInput as b, CommandItem as N, CommandList as M, CommandSeparator as P, CommandShortcut as V } from "./components/command/Command.js";
10
- import { Container as L } from "./components/container/Container.js";
11
- import { FlowSettingView as O, FlowView as U, NodeFunctionView as G, NodeParameterView as j } from "./components/d-flow/DFlow.view.js";
12
- import { DFlowReactiveService as h } from "./components/d-flow/DFlow.service.js";
13
- import { FLOW_EDGE_RAINBOW as E, useFlowEdges as H } from "./components/d-flow/DFlow.edges.hook.js";
14
- import { useFlowNodes as _ } from "./components/d-flow/DFlow.nodes.hook.js";
15
- import { DFlow as Q } from "./components/d-flow/DFlow.js";
16
- import { DFlowControl as J } from "./components/d-flow/control/DFlowControl.js";
17
- import { DFlowDataTypeReactiveService as X } from "./components/d-flow/data-type/DFlowDataType.service.js";
18
- import { DataTypeView as Z } from "./components/d-flow/data-type/DFlowDataType.view.js";
19
- import { DFlowFolder as ee, DFlowFolderGroup as oe, DFlowFolderItem as re } from "./components/d-flow/folder/DFlowFolder.js";
20
- import { DFlowFunctionReactiveService as ie } from "./components/d-flow/function/DFlowFunction.service.js";
21
- import { FunctionDefinitionView as me, ParameterDefinitionView as ae } from "./components/d-flow/function/DFlowFunction.view.js";
22
- import { DFlowMiniMap as xe } from "./components/d-flow/minimap/DFlowMiniMap.js";
23
- import { DFlowReactiveSuggestionService as le } from "./components/d-flow/suggestion/DFlowSuggestion.service.js";
24
- import { DFlowSuggestion as se, DFlowSuggestionType as ue } from "./components/d-flow/suggestion/DFlowSuggestion.view.js";
25
- import { DFlowTypeReactiveService as ge } from "./components/d-flow/type/DFlowType.service.js";
26
- import { FlowTypeView as de } from "./components/d-flow/type/DFlowType.view.js";
27
- import { useDFlowValidations as ve } from "./components/d-flow/validation/DFlowValidation.hook.js";
28
- import { DFlowValidation as Fe } from "./components/d-flow/validation/DFlowValidation.js";
29
- import { DFullScreen as Ie } from "./components/d-fullscreen/DFullScreen.js";
30
- import { DLayout as be } from "./components/d-layout/DLayout.js";
31
- import { DNamespaceLicenseReactiveService as Me } from "./components/d-license/DNamespaceLicense.service.js";
32
- import { DNamespaceLicenseView as Ve } from "./components/d-license/DNamespaceLicense.view.js";
33
- import { DNamespaceMemberReactiveService as Le } from "./components/d-member/DNamespaceMember.service.js";
34
- import { DNamespaceMemberView as Oe } from "./components/d-member/DNamespaceMember.view.js";
35
- import { DNamespaceMemberCard as Ge } from "./components/d-member/DNamespaceMemberCard.js";
36
- import { DNamespaceMemberList as ze } from "./components/d-member/DNamespaceMemberList.js";
37
- import { DNamespaceReactiveService as Be } from "./components/d-namespace/DNamespace.service.js";
38
- import { DNamespaceView as He } from "./components/d-namespace/DNamespace.view.js";
39
- import { DOrganizationReactiveService as _e } from "./components/d-organization/DOrganization.service.js";
40
- import { DOrganizationView as Qe } from "./components/d-organization/DOrganization.view.js";
2
+ import { AuroraBackground as n } from "./components/aurora/Aurora.js";
3
+ import { Avatar as f } from "./components/avatar/Avatar.js";
4
+ import { Badge as c } from "./components/badge/Badge.js";
5
+ import { Breadcrumb as u } from "./components/breadcrumb/Breadcrumb.js";
6
+ import { Button as g } from "./components/button/Button.js";
7
+ import { ButtonGroup as d } from "./components/button-group/ButtonGroup.js";
8
+ import { Card as v } from "./components/card/Card.js";
9
+ import { Col as F } from "./components/col/Col.js";
10
+ import { Command as I, CommandDialog as T, CommandEmpty as b, CommandGroup as N, CommandInput as M, CommandItem as P, CommandList as V, CommandSeparator as A, CommandShortcut as L } from "./components/command/Command.js";
11
+ import { Container as O } from "./components/container/Container.js";
12
+ import { FlowSettingView as G, FlowView as j, NodeFunctionView as z, NodeParameterView as B } from "./components/d-flow/DFlow.view.js";
13
+ import { DFlowReactiveService as E } from "./components/d-flow/DFlow.service.js";
14
+ import { FLOW_EDGE_RAINBOW as W, useFlowEdges as k } from "./components/d-flow/DFlow.edges.hook.js";
15
+ import { useFlowNodes as Q } from "./components/d-flow/DFlow.nodes.hook.js";
16
+ import { DFlow as J } from "./components/d-flow/DFlow.js";
17
+ import { DFlowControl as X } from "./components/d-flow/control/DFlowControl.js";
18
+ import { DFlowDataTypeReactiveService as Z } from "./components/d-flow/data-type/DFlowDataType.service.js";
19
+ import { DataTypeView as ee } from "./components/d-flow/data-type/DFlowDataType.view.js";
20
+ import { DFlowFolder as re, DFlowFolderGroup as te, DFlowFolderItem as pe } from "./components/d-flow/folder/DFlowFolder.js";
21
+ import { DFlowFunctionReactiveService as me } from "./components/d-flow/function/DFlowFunction.service.js";
22
+ import { FunctionDefinitionView as ne, ParameterDefinitionView as xe } from "./components/d-flow/function/DFlowFunction.view.js";
23
+ import { DFlowMiniMap as le } from "./components/d-flow/minimap/DFlowMiniMap.js";
24
+ import { DFlowReactiveSuggestionService as se } from "./components/d-flow/suggestion/DFlowSuggestion.service.js";
25
+ import { DFlowSuggestion as De, DFlowSuggestionType as ge } from "./components/d-flow/suggestion/DFlowSuggestion.view.js";
26
+ import { DFlowTypeReactiveService as de } from "./components/d-flow/type/DFlowType.service.js";
27
+ import { FlowTypeView as ve } from "./components/d-flow/type/DFlowType.view.js";
28
+ import { useDFlowValidations as Fe } from "./components/d-flow/validation/DFlowValidation.hook.js";
29
+ import { DFlowValidation as Ie } from "./components/d-flow/validation/DFlowValidation.js";
30
+ import { DFullScreen as be } from "./components/d-fullscreen/DFullScreen.js";
31
+ import { DLayout as Me } from "./components/d-layout/DLayout.js";
32
+ import { DNamespaceLicenseReactiveService as Ve } from "./components/d-license/DNamespaceLicense.service.js";
33
+ import { DNamespaceLicenseView as Le } from "./components/d-license/DNamespaceLicense.view.js";
34
+ import { DNamespaceMemberReactiveService as Oe } from "./components/d-member/DNamespaceMember.service.js";
35
+ import { DNamespaceMemberView as Ge } from "./components/d-member/DNamespaceMember.view.js";
36
+ import { DNamespaceMemberCard as ze } from "./components/d-member/DNamespaceMemberCard.js";
37
+ import { DNamespaceMemberList as he } from "./components/d-member/DNamespaceMemberList.js";
38
+ import { DNamespaceReactiveService as He } from "./components/d-namespace/DNamespace.service.js";
39
+ import { DNamespaceView as ke } from "./components/d-namespace/DNamespace.view.js";
40
+ import { DOrganizationReactiveService as Qe } from "./components/d-organization/DOrganization.service.js";
41
+ import { DOrganizationView as Je } from "./components/d-organization/DOrganization.view.js";
41
42
  import "react/jsx-runtime";
42
43
  import "./_virtual/compiler-runtime.js";
43
44
  import "react";
44
- import { ContextStore as Je, ContextStoreProvider as Ke, useService as Xe, useStore as Ye } from "./utils/contextStore.js";
45
- import { InspectionSeverity as $e } from "./utils/inspection.js";
46
- import { NonReactiveArrayService as oo, createNonReactiveArrayService as ro } from "./utils/nonReactiveArrayService.js";
47
- import { ObjectService as io, createObjectService as po } from "./utils/objectStore.js";
48
- import { ReactiveArrayService as ao, useReactiveArrayService as no } from "./utils/reactiveArrayService.js";
49
- import { Colors as fo } from "./utils/types.js";
50
- import { getChild as co, getContent as so, getPositionAroundTarget as uo, getPositioning as Do, getWindowPositioning as go, mergeCode0Props as So, parseUnit as wo } from "./utils/utils.js";
51
- import { Text as Co } from "./components/text/Text.js";
45
+ import { ContextStore as Xe, ContextStoreProvider as Ye, useService as Ze, useStore as $e } from "./utils/contextStore.js";
46
+ import { InspectionSeverity as oo } from "./utils/inspection.js";
47
+ import { NonReactiveArrayService as to, createNonReactiveArrayService as po } from "./utils/nonReactiveArrayService.js";
48
+ import { ObjectService as mo, createObjectService as ao } from "./utils/objectStore.js";
49
+ import { ReactiveArrayService as xo, useReactiveArrayService as fo } from "./utils/reactiveArrayService.js";
50
+ import { Colors as co } from "./utils/types.js";
51
+ import { getChild as uo, getContent as Do, getPositionAroundTarget as go, getPositioning as So, getWindowPositioning as wo, mergeCode0Props as vo, parseUnit as Co } from "./utils/utils.js";
52
+ import { Text as Ro } from "./components/text/Text.js";
52
53
  import "@tabler/icons-react";
53
- import { Flex as Ro } from "./components/flex/Flex.js";
54
- import { Spacing as To } from "./components/spacing/Spacing.js";
55
- import { DUserReactiveService as No } from "./components/d-user/DUser.service.js";
56
- import { DUserView as Po } from "./components/d-user/DUser.view.js";
57
- import { Menu as Ao, MenuArrow as Lo, MenuContent as yo, MenuGroup as Oo, MenuItem as Uo, MenuLabel as Go, MenuPortal as jo, MenuSeparator as zo, MenuSub as ho, MenuSubContent as Bo, MenuSubTrigger as Eo, MenuTrigger as Ho } from "./components/menu/Menu.js";
58
- import { DUserCard as _o } from "./components/d-user/DUserCard.js";
59
- import { DUserList as Qo } from "./components/d-user/DUserList.js";
60
- import { DUserInput as Jo } from "./components/d-user/DUserInput.js";
61
- import { setUserSession as Xo, useUserSession as Yo } from "./components/d-user/DUser.session.hook.js";
62
- import { DOrganizationList as $o } from "./components/d-organization/DOrganizationList.js";
63
- import { DNamespaceProjectReactiveService as or } from "./components/d-project/DNamespaceProject.service.js";
64
- import { DNamespaceProjectView as tr } from "./components/d-project/DNamespaceProject.view.js";
65
- import { DNamespaceProjectCard as pr } from "./components/d-project/DNamespaceProjectCard.js";
66
- import { DNamespaceProjectList as ar } from "./components/d-project/DNamespaceProjectList.js";
67
- import { DResizableHandle as xr, DResizablePanel as fr, DResizablePanelGroup as lr } from "./components/d-resizable/DResizable.js";
68
- import { DNamespaceRoleReactiveService as sr } from "./components/d-role/DNamespaceRole.service.js";
69
- import { DNamespaceRoleView as Dr } from "./components/d-role/DNamespaceRole.view.js";
70
- import { DNamespaceRoleList as Sr } from "./components/d-role/DNamespaceRoleList.js";
71
- import { DNamespaceRoleCard as wr } from "./components/d-role/DNamespaceRoleCard.js";
72
- import { DRuntimeReactiveService as Cr } from "./components/d-runtime/DRuntime.service.js";
73
- import { DRuntimeView as Rr } from "./components/d-runtime/DRuntime.view.js";
74
- import { DRuntimeCard as Tr } from "./components/d-runtime/DRuntimeCard.js";
75
- import { DRuntimeList as Nr } from "./components/d-runtime/DRuntimeList.js";
76
- import { Dialog as Pr, DialogClose as Vr, DialogContent as Ar, DialogDescription as Lr, DialogFooter as yr, DialogHeader as Or, DialogOverlay as Ur, DialogPortal as Gr, DialogTitle as jr, DialogTrigger as zr } from "./components/dialog/Dialog.js";
77
- import { CheckboxInput as Br } from "./components/form/CheckboxInput.js";
78
- import { EmailInput as Hr, emailValidation as Wr } from "./components/form/EmailInput.js";
79
- import { Input as kr } from "./components/form/Input.js";
80
- import { InputDescription as qr } from "./components/form/InputDescription.js";
81
- import { InputLabel as Kr } from "./components/form/InputLabel.js";
82
- import { InputMessage as Yr } from "./components/form/InputMessage.js";
83
- import { InputSuggestionMenuContent as $r, InputSuggestionMenuContentItems as et } from "./components/form/InputSuggestion.js";
84
- import { NumberInput as rt } from "./components/form/NumberInput.js";
85
- import { PasswordInput as it } from "./components/form/PasswordInput.js";
86
- import { PinInput as mt, PinInputField as at, PinInputHiddenField as nt } from "./components/form/PinInput.js";
87
- import { RadioGroup as ft } from "./components/form/RadioGroup.js";
88
- import { RadioInput as ct } from "./components/form/RadioInput.js";
89
- import { SwitchInput as ut } from "./components/form/SwitchInput.js";
90
- import { TextInput as gt } from "./components/form/TextInput.js";
91
- import { useForm as dt } from "./components/form/useForm.js";
92
- import { Quote as vt } from "./components/quote/Quote.js";
93
- import { Row as Ft } from "./components/row/Row.js";
94
- import { ScrollArea as It, ScrollAreaCorner as Tt, ScrollAreaScrollbar as bt, ScrollAreaThumb as Nt, ScrollAreaViewport as Mt } from "./components/scroll-area/ScrollArea.js";
95
- import { SegmentedControl as Vt, SegmentedControlItem as At } from "./components/segmented-control/SegmentedControl.js";
96
- import { Tab as yt, TabContent as Ot, TabList as Ut, TabTrigger as Gt } from "./components/tab/Tab.js";
97
- import { Toast as zt, toast as ht } from "./components/toast/Toast.js";
98
- import { Tooltip as Et, TooltipArrow as Ht, TooltipContent as Wt, TooltipPortal as _t, TooltipTrigger as kt } from "./components/tooltip/Tooltip.js";
54
+ import { Flex as To } from "./components/flex/Flex.js";
55
+ import { Spacing as No } from "./components/spacing/Spacing.js";
56
+ import { DUserReactiveService as Po } from "./components/d-user/DUser.service.js";
57
+ import { DUserView as Ao } from "./components/d-user/DUser.view.js";
58
+ import { Menu as yo, MenuArrow as Oo, MenuContent as Uo, MenuGroup as Go, MenuItem as jo, MenuLabel as zo, MenuPortal as Bo, MenuSeparator as ho, MenuSub as Eo, MenuSubContent as Ho, MenuSubTrigger as Wo, MenuTrigger as ko } from "./components/menu/Menu.js";
59
+ import { DUserCard as Qo } from "./components/d-user/DUserCard.js";
60
+ import { DUserList as Jo } from "./components/d-user/DUserList.js";
61
+ import { DUserInput as Xo } from "./components/d-user/DUserInput.js";
62
+ import { setUserSession as Zo, useUserSession as $o } from "./components/d-user/DUser.session.hook.js";
63
+ import { DOrganizationList as or } from "./components/d-organization/DOrganizationList.js";
64
+ import { DNamespaceProjectReactiveService as tr } from "./components/d-project/DNamespaceProject.service.js";
65
+ import { DNamespaceProjectView as ir } from "./components/d-project/DNamespaceProject.view.js";
66
+ import { DNamespaceProjectCard as ar } from "./components/d-project/DNamespaceProjectCard.js";
67
+ import { DNamespaceProjectList as xr } from "./components/d-project/DNamespaceProjectList.js";
68
+ import { DResizableHandle as lr, DResizablePanel as cr, DResizablePanelGroup as sr } from "./components/d-resizable/DResizable.js";
69
+ import { DNamespaceRoleReactiveService as Dr } from "./components/d-role/DNamespaceRole.service.js";
70
+ import { DNamespaceRoleView as Sr } from "./components/d-role/DNamespaceRole.view.js";
71
+ import { DNamespaceRoleList as wr } from "./components/d-role/DNamespaceRoleList.js";
72
+ import { DNamespaceRoleCard as Cr } from "./components/d-role/DNamespaceRoleCard.js";
73
+ import { DRuntimeReactiveService as Rr } from "./components/d-runtime/DRuntime.service.js";
74
+ import { DRuntimeView as Tr } from "./components/d-runtime/DRuntime.view.js";
75
+ import { DRuntimeCard as Nr } from "./components/d-runtime/DRuntimeCard.js";
76
+ import { DRuntimeList as Pr } from "./components/d-runtime/DRuntimeList.js";
77
+ import { Dialog as Ar, DialogClose as Lr, DialogContent as yr, DialogDescription as Or, DialogFooter as Ur, DialogHeader as Gr, DialogOverlay as jr, DialogPortal as zr, DialogTitle as Br, DialogTrigger as hr } from "./components/dialog/Dialog.js";
78
+ import { CheckboxInput as Hr } from "./components/form/CheckboxInput.js";
79
+ import { EmailInput as kr, emailValidation as _r } from "./components/form/EmailInput.js";
80
+ import { Input as qr } from "./components/form/Input.js";
81
+ import { InputDescription as Kr } from "./components/form/InputDescription.js";
82
+ import { InputLabel as Yr } from "./components/form/InputLabel.js";
83
+ import { InputMessage as $r } from "./components/form/InputMessage.js";
84
+ import { InputSuggestionMenuContent as ot, InputSuggestionMenuContentItems as rt } from "./components/form/InputSuggestion.js";
85
+ import { NumberInput as pt } from "./components/form/NumberInput.js";
86
+ import { PasswordInput as mt } from "./components/form/PasswordInput.js";
87
+ import { PinInput as nt, PinInputField as xt, PinInputHiddenField as ft } from "./components/form/PinInput.js";
88
+ import { RadioGroup as ct } from "./components/form/RadioGroup.js";
89
+ import { RadioInput as ut } from "./components/form/RadioInput.js";
90
+ import { SwitchInput as gt } from "./components/form/SwitchInput.js";
91
+ import { TextInput as dt } from "./components/form/TextInput.js";
92
+ import { useForm as vt } from "./components/form/useForm.js";
93
+ import { Quote as Ft } from "./components/quote/Quote.js";
94
+ import { Row as It } from "./components/row/Row.js";
95
+ import { ScrollArea as bt, ScrollAreaCorner as Nt, ScrollAreaScrollbar as Mt, ScrollAreaThumb as Pt, ScrollAreaViewport as Vt } from "./components/scroll-area/ScrollArea.js";
96
+ import { SegmentedControl as Lt, SegmentedControlItem as yt } from "./components/segmented-control/SegmentedControl.js";
97
+ import { Tab as Ut, TabContent as Gt, TabList as jt, TabTrigger as zt } from "./components/tab/Tab.js";
98
+ import { Toast as ht, toast as Et } from "./components/toast/Toast.js";
99
+ import { Tooltip as Wt, TooltipArrow as kt, TooltipContent as _t, TooltipPortal as Qt, TooltipTrigger as qt } from "./components/tooltip/Tooltip.js";
99
100
  export {
100
101
  m as Alert,
101
- n as Avatar,
102
- f as Badge,
103
- c as Breadcrumb,
104
- u as Button,
105
- g as ButtonGroup,
106
- d as Card,
107
- Br as CheckboxInput,
108
- v as Col,
109
- fo as Colors,
110
- F as Command,
111
- R as CommandDialog,
112
- I as CommandEmpty,
113
- T as CommandGroup,
114
- b as CommandInput,
115
- N as CommandItem,
116
- M as CommandList,
117
- P as CommandSeparator,
118
- V as CommandShortcut,
119
- L as Container,
120
- Je as ContextStore,
121
- Ke as ContextStoreProvider,
122
- Q as DFlow,
123
- J as DFlowControl,
124
- X as DFlowDataTypeReactiveService,
125
- ee as DFlowFolder,
126
- oe as DFlowFolderGroup,
127
- re as DFlowFolderItem,
128
- ie as DFlowFunctionReactiveService,
129
- xe as DFlowMiniMap,
130
- h as DFlowReactiveService,
131
- le as DFlowReactiveSuggestionService,
132
- se as DFlowSuggestion,
133
- ue as DFlowSuggestionType,
134
- ge as DFlowTypeReactiveService,
135
- Fe as DFlowValidation,
136
- Ie as DFullScreen,
137
- be as DLayout,
138
- Me as DNamespaceLicenseReactiveService,
139
- Ve as DNamespaceLicenseView,
140
- Ge as DNamespaceMemberCard,
141
- ze as DNamespaceMemberList,
142
- Le as DNamespaceMemberReactiveService,
143
- Oe as DNamespaceMemberView,
144
- pr as DNamespaceProjectCard,
145
- ar as DNamespaceProjectList,
146
- or as DNamespaceProjectReactiveService,
147
- tr as DNamespaceProjectView,
148
- Be as DNamespaceReactiveService,
149
- wr as DNamespaceRoleCard,
150
- Sr as DNamespaceRoleList,
151
- sr as DNamespaceRoleReactiveService,
152
- Dr as DNamespaceRoleView,
153
- He as DNamespaceView,
154
- $o as DOrganizationList,
155
- _e as DOrganizationReactiveService,
156
- Qe as DOrganizationView,
157
- xr as DResizableHandle,
158
- fr as DResizablePanel,
159
- lr as DResizablePanelGroup,
160
- Tr as DRuntimeCard,
161
- Nr as DRuntimeList,
162
- Cr as DRuntimeReactiveService,
163
- Rr as DRuntimeView,
164
- _o as DUserCard,
165
- Jo as DUserInput,
166
- Qo as DUserList,
167
- No as DUserReactiveService,
168
- Po as DUserView,
169
- Z as DataTypeView,
170
- Pr as Dialog,
171
- Vr as DialogClose,
172
- Ar as DialogContent,
173
- Lr as DialogDescription,
174
- yr as DialogFooter,
175
- Or as DialogHeader,
176
- Ur as DialogOverlay,
177
- Gr as DialogPortal,
178
- jr as DialogTitle,
179
- zr as DialogTrigger,
180
- Hr as EmailInput,
181
- E as FLOW_EDGE_RAINBOW,
182
- Ro as Flex,
183
- O as FlowSettingView,
184
- de as FlowTypeView,
185
- U as FlowView,
186
- me as FunctionDefinitionView,
187
- kr as Input,
188
- qr as InputDescription,
189
- Kr as InputLabel,
190
- Yr as InputMessage,
191
- $r as InputSuggestionMenuContent,
192
- et as InputSuggestionMenuContentItems,
193
- $e as InspectionSeverity,
194
- Ao as Menu,
195
- Lo as MenuArrow,
196
- yo as MenuContent,
197
- Oo as MenuGroup,
198
- Uo as MenuItem,
199
- Go as MenuLabel,
200
- jo as MenuPortal,
201
- zo as MenuSeparator,
202
- ho as MenuSub,
203
- Bo as MenuSubContent,
204
- Eo as MenuSubTrigger,
205
- Ho as MenuTrigger,
206
- G as NodeFunctionView,
207
- j as NodeParameterView,
208
- oo as NonReactiveArrayService,
209
- rt as NumberInput,
210
- io as ObjectService,
211
- ae as ParameterDefinitionView,
212
- it as PasswordInput,
213
- mt as PinInput,
214
- at as PinInputField,
215
- nt as PinInputHiddenField,
216
- vt as Quote,
217
- ft as RadioGroup,
218
- ct as RadioInput,
219
- ao as ReactiveArrayService,
220
- Ft as Row,
221
- It as ScrollArea,
222
- Tt as ScrollAreaCorner,
223
- bt as ScrollAreaScrollbar,
224
- Nt as ScrollAreaThumb,
225
- Mt as ScrollAreaViewport,
226
- Vt as SegmentedControl,
227
- At as SegmentedControlItem,
228
- To as Spacing,
229
- ut as SwitchInput,
230
- yt as Tab,
231
- Ot as TabContent,
232
- Ut as TabList,
233
- Gt as TabTrigger,
234
- Co as Text,
235
- gt as TextInput,
236
- zt as Toast,
237
- Et as Tooltip,
238
- Ht as TooltipArrow,
239
- Wt as TooltipContent,
240
- _t as TooltipPortal,
241
- kt as TooltipTrigger,
242
- ro as createNonReactiveArrayService,
243
- po as createObjectService,
244
- Wr as emailValidation,
245
- co as getChild,
246
- so as getContent,
247
- uo as getPositionAroundTarget,
248
- Do as getPositioning,
249
- go as getWindowPositioning,
250
- So as mergeCode0Props,
251
- wo as parseUnit,
252
- Xo as setUserSession,
253
- ht as toast,
254
- ve as useDFlowValidations,
255
- H as useFlowEdges,
256
- _ as useFlowNodes,
257
- dt as useForm,
258
- no as useReactiveArrayService,
259
- Xe as useService,
260
- Ye as useStore,
261
- Yo as useUserSession
102
+ n as AuroraBackground,
103
+ f as Avatar,
104
+ c as Badge,
105
+ u as Breadcrumb,
106
+ g as Button,
107
+ d as ButtonGroup,
108
+ v as Card,
109
+ Hr as CheckboxInput,
110
+ F as Col,
111
+ co as Colors,
112
+ I as Command,
113
+ T as CommandDialog,
114
+ b as CommandEmpty,
115
+ N as CommandGroup,
116
+ M as CommandInput,
117
+ P as CommandItem,
118
+ V as CommandList,
119
+ A as CommandSeparator,
120
+ L as CommandShortcut,
121
+ O as Container,
122
+ Xe as ContextStore,
123
+ Ye as ContextStoreProvider,
124
+ J as DFlow,
125
+ X as DFlowControl,
126
+ Z as DFlowDataTypeReactiveService,
127
+ re as DFlowFolder,
128
+ te as DFlowFolderGroup,
129
+ pe as DFlowFolderItem,
130
+ me as DFlowFunctionReactiveService,
131
+ le as DFlowMiniMap,
132
+ E as DFlowReactiveService,
133
+ se as DFlowReactiveSuggestionService,
134
+ De as DFlowSuggestion,
135
+ ge as DFlowSuggestionType,
136
+ de as DFlowTypeReactiveService,
137
+ Ie as DFlowValidation,
138
+ be as DFullScreen,
139
+ Me as DLayout,
140
+ Ve as DNamespaceLicenseReactiveService,
141
+ Le as DNamespaceLicenseView,
142
+ ze as DNamespaceMemberCard,
143
+ he as DNamespaceMemberList,
144
+ Oe as DNamespaceMemberReactiveService,
145
+ Ge as DNamespaceMemberView,
146
+ ar as DNamespaceProjectCard,
147
+ xr as DNamespaceProjectList,
148
+ tr as DNamespaceProjectReactiveService,
149
+ ir as DNamespaceProjectView,
150
+ He as DNamespaceReactiveService,
151
+ Cr as DNamespaceRoleCard,
152
+ wr as DNamespaceRoleList,
153
+ Dr as DNamespaceRoleReactiveService,
154
+ Sr as DNamespaceRoleView,
155
+ ke as DNamespaceView,
156
+ or as DOrganizationList,
157
+ Qe as DOrganizationReactiveService,
158
+ Je as DOrganizationView,
159
+ lr as DResizableHandle,
160
+ cr as DResizablePanel,
161
+ sr as DResizablePanelGroup,
162
+ Nr as DRuntimeCard,
163
+ Pr as DRuntimeList,
164
+ Rr as DRuntimeReactiveService,
165
+ Tr as DRuntimeView,
166
+ Qo as DUserCard,
167
+ Xo as DUserInput,
168
+ Jo as DUserList,
169
+ Po as DUserReactiveService,
170
+ Ao as DUserView,
171
+ ee as DataTypeView,
172
+ Ar as Dialog,
173
+ Lr as DialogClose,
174
+ yr as DialogContent,
175
+ Or as DialogDescription,
176
+ Ur as DialogFooter,
177
+ Gr as DialogHeader,
178
+ jr as DialogOverlay,
179
+ zr as DialogPortal,
180
+ Br as DialogTitle,
181
+ hr as DialogTrigger,
182
+ kr as EmailInput,
183
+ W as FLOW_EDGE_RAINBOW,
184
+ To as Flex,
185
+ G as FlowSettingView,
186
+ ve as FlowTypeView,
187
+ j as FlowView,
188
+ ne as FunctionDefinitionView,
189
+ qr as Input,
190
+ Kr as InputDescription,
191
+ Yr as InputLabel,
192
+ $r as InputMessage,
193
+ ot as InputSuggestionMenuContent,
194
+ rt as InputSuggestionMenuContentItems,
195
+ oo as InspectionSeverity,
196
+ yo as Menu,
197
+ Oo as MenuArrow,
198
+ Uo as MenuContent,
199
+ Go as MenuGroup,
200
+ jo as MenuItem,
201
+ zo as MenuLabel,
202
+ Bo as MenuPortal,
203
+ ho as MenuSeparator,
204
+ Eo as MenuSub,
205
+ Ho as MenuSubContent,
206
+ Wo as MenuSubTrigger,
207
+ ko as MenuTrigger,
208
+ z as NodeFunctionView,
209
+ B as NodeParameterView,
210
+ to as NonReactiveArrayService,
211
+ pt as NumberInput,
212
+ mo as ObjectService,
213
+ xe as ParameterDefinitionView,
214
+ mt as PasswordInput,
215
+ nt as PinInput,
216
+ xt as PinInputField,
217
+ ft as PinInputHiddenField,
218
+ Ft as Quote,
219
+ ct as RadioGroup,
220
+ ut as RadioInput,
221
+ xo as ReactiveArrayService,
222
+ It as Row,
223
+ bt as ScrollArea,
224
+ Nt as ScrollAreaCorner,
225
+ Mt as ScrollAreaScrollbar,
226
+ Pt as ScrollAreaThumb,
227
+ Vt as ScrollAreaViewport,
228
+ Lt as SegmentedControl,
229
+ yt as SegmentedControlItem,
230
+ No as Spacing,
231
+ gt as SwitchInput,
232
+ Ut as Tab,
233
+ Gt as TabContent,
234
+ jt as TabList,
235
+ zt as TabTrigger,
236
+ Ro as Text,
237
+ dt as TextInput,
238
+ ht as Toast,
239
+ Wt as Tooltip,
240
+ kt as TooltipArrow,
241
+ _t as TooltipContent,
242
+ Qt as TooltipPortal,
243
+ qt as TooltipTrigger,
244
+ po as createNonReactiveArrayService,
245
+ ao as createObjectService,
246
+ _r as emailValidation,
247
+ uo as getChild,
248
+ Do as getContent,
249
+ go as getPositionAroundTarget,
250
+ So as getPositioning,
251
+ wo as getWindowPositioning,
252
+ vo as mergeCode0Props,
253
+ Co as parseUnit,
254
+ Zo as setUserSession,
255
+ Et as toast,
256
+ Fe as useDFlowValidations,
257
+ k as useFlowEdges,
258
+ Q as useFlowNodes,
259
+ vt as useForm,
260
+ fo as useReactiveArrayService,
261
+ Ze as useService,
262
+ $e as useStore,
263
+ $o as useUserSession
262
264
  };
@@ -193,7 +193,7 @@ function x(e, n) {
193
193
  const i = e.config, t = n.config;
194
194
  return i.key !== t.key ? !1 : S(i.dataTypeIdentifier, t.dataTypeIdentifier);
195
195
  }
196
- case "INPUT_TYPE": {
196
+ case "INPUT_TYPES": {
197
197
  const i = e.config, a = n.config.inputTypes ?? [], c = i.inputTypes ?? [];
198
198
  return a.every((s) => c.some((r) => S(r.dataTypeIdentifier, s.dataTypeIdentifier)));
199
199
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code0-tech/pictor",
3
- "version": "0.0.0-mvp.23",
3
+ "version": "0.0.0-mvp.24",
4
4
  "type": "module",
5
5
  "description": "A simple template for a custom React component library",
6
6
  "scripts": {
@@ -21,7 +21,7 @@
21
21
  "@babel/plugin-proposal-decorators": "^7.28.0",
22
22
  "@babel/plugin-transform-class-properties": "^7.27.1",
23
23
  "@code0-tech/definition-reader": "^0.0.18",
24
- "@code0-tech/sagittarius-graphql-types": "^0.0.0-755f9382e6589ede0182dace55452703bcd6e85b",
24
+ "@code0-tech/sagittarius-graphql-types": "^0.0.0-c63274fdd34593b8aa24f9f977659fd3d6270150",
25
25
  "@dagrejs/dagre": "^2.0.0",
26
26
  "@mdx-js/react": "^3.1.1",
27
27
  "@radix-ui/react-checkbox": "^1.3.3",
@@ -94,7 +94,7 @@
94
94
  "types": "dist/index.d.ts",
95
95
  "peerDependencies": {
96
96
  "@ariakit/react": "^0.4.5",
97
- "@code0-tech/sagittarius-graphql-types": "^0.0.0-755f9382e6589ede0182dace55452703bcd6e85b",
97
+ "@code0-tech/sagittarius-graphql-types": "^0.0.0-c63274fdd34593b8aa24f9f977659fd3d6270150",
98
98
  "@radix-ui/react-checkbox": "^1.3.2",
99
99
  "@radix-ui/react-dialog": "^1.1.14",
100
100
  "@radix-ui/react-dropdown-menu": "^2.1.15",