@code0-tech/pictor 0.0.0-mvp.22 → 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.
Files changed (100) hide show
  1. package/dist/assets/components/aurora/Aurora.style.css +1 -0
  2. package/dist/assets/components/badge/Badge.style.css +1 -1
  3. package/dist/assets/components/button/Button.style.css +1 -1
  4. package/dist/assets/components/button-group/ButtonGroup.style.css +1 -1
  5. package/dist/assets/components/card/Card.style.css +1 -1
  6. package/dist/assets/components/command/Command.style.css +1 -1
  7. package/dist/assets/components/d-flow/folder/DFlowFolder.style.css +1 -1
  8. package/dist/assets/components/d-flow/function/DFlowFunctionDefaultCard.style.css +1 -1
  9. package/dist/assets/components/dialog/Dialog.style.css +1 -1
  10. package/dist/assets/components/file-tabs/FileTabs.style.css +1 -1
  11. package/dist/assets/components/form/Input.style.css +1 -1
  12. package/dist/assets/components/menu/Menu.style.css +1 -1
  13. package/dist/assets/components/segmented-control/SegmentedControl.style.css +1 -1
  14. package/dist/assets/components/tab/Tab.style.css +1 -1
  15. package/dist/assets/components/text/Text.style.css +1 -1
  16. package/dist/assets/components/tooltip/Tooltip.style.css +1 -1
  17. package/dist/components/aurora/Aurora.d.ts +5 -0
  18. package/dist/components/aurora/Aurora.js +23 -0
  19. package/dist/components/badge/Badge.d.ts +1 -0
  20. package/dist/components/badge/Badge.js +12 -11
  21. package/dist/components/button/Button.d.ts +1 -1
  22. package/dist/components/d-flow/DFlow.view.d.ts +6 -2
  23. package/dist/components/d-flow/DFlow.view.js +52 -17
  24. package/dist/components/d-flow/control/DFlowControl.js +38 -38
  25. package/dist/components/d-flow/data-type/DFlowDataType.service.js +1 -1
  26. package/dist/components/d-flow/export/DFlowExport.d.ts +6 -0
  27. package/dist/components/d-flow/export/DFlowExport.js +24 -0
  28. package/dist/components/d-flow/input/DFlowInputDataType.js +32 -32
  29. package/dist/components/d-flow/suggestion/DFlowSuggestion.hook.js +1 -1
  30. package/dist/components/d-flow/suggestion/DFlowSuggestionMenu.js +22 -22
  31. package/dist/components/d-flow/suggestion/DFlowSuggestionMenu.util.js +11 -11
  32. package/dist/components/d-flow/suggestion/DFlowSuggestionSearchInput.d.ts +1 -1
  33. package/dist/components/d-flow/suggestion/DFlowSuggestionSearchInput.js +29 -16
  34. package/dist/components/d-flow/tab/DFlowTabDefault.js +59 -53
  35. package/dist/components/d-flow/type/DFlowType.view.d.ts +1 -1
  36. package/dist/components/d-member/DNamespaceMember.view.js +13 -11
  37. package/dist/components/d-member/DNamespaceMemberCard.d.ts +10 -0
  38. package/dist/components/d-member/DNamespaceMemberCard.js +16 -0
  39. package/dist/components/d-member/DNamespaceMemberContent.d.ts +10 -0
  40. package/dist/components/d-member/DNamespaceMemberContent.js +176 -0
  41. package/dist/components/d-member/DNamespaceMemberList.d.ts +12 -0
  42. package/dist/components/d-member/DNamespaceMemberList.js +23 -0
  43. package/dist/components/d-member/index.d.ts +2 -0
  44. package/dist/components/d-member/index.js +6 -2
  45. package/dist/components/d-organization/DOrganizatonContent.js +29 -14
  46. package/dist/components/d-organization/index.js +22 -7
  47. package/dist/components/d-project/DNamespaceProjectContent.js +36 -42
  48. package/dist/components/d-role/DNamespaceRole.view.d.ts +4 -1
  49. package/dist/components/d-role/DNamespaceRole.view.js +6 -3
  50. package/dist/components/d-role/DNamespaceRoleCard.d.ts +11 -0
  51. package/dist/components/d-role/DNamespaceRoleCard.js +17 -0
  52. package/dist/components/d-role/DNamespaceRoleContent.d.ts +10 -0
  53. package/dist/components/d-role/DNamespaceRoleContent.js +156 -0
  54. package/dist/components/d-role/DNamespaceRoleList.d.ts +12 -0
  55. package/dist/components/d-role/DNamespaceRoleList.js +24 -0
  56. package/dist/components/d-role/DNamespaceRolePermissions.d.ts +5 -0
  57. package/dist/components/d-role/DNamespaceRolePermissions.js +129 -0
  58. package/dist/components/d-role/index.d.ts +2 -0
  59. package/dist/components/d-role/index.js +6 -2
  60. package/dist/components/d-runtime/DRuntimeCard.d.ts +1 -0
  61. package/dist/components/d-runtime/DRuntimeCard.js +13 -12
  62. package/dist/components/d-runtime/DRuntimeContent.d.ts +1 -0
  63. package/dist/components/d-runtime/DRuntimeContent.js +25 -20
  64. package/dist/components/d-runtime/DRuntimeList.d.ts +2 -1
  65. package/dist/components/d-runtime/DRuntimeList.js +17 -14
  66. package/dist/components/d-user/DUser.service.d.ts +1 -0
  67. package/dist/components/d-user/DUser.service.js +5 -2
  68. package/dist/components/d-user/DUserContent.js +25 -25
  69. package/dist/components/d-user/DUserInput.d.ts +7 -0
  70. package/dist/components/d-user/DUserInput.js +98 -0
  71. package/dist/components/d-user/DUserMenu.js +7 -6
  72. package/dist/components/d-user/index.d.ts +1 -0
  73. package/dist/components/d-user/index.js +11 -9
  74. package/dist/components/dialog/Dialog.d.ts +2 -1
  75. package/dist/components/dialog/Dialog.js +67 -59
  76. package/dist/components/form/EmailInput.js +12 -11
  77. package/dist/components/form/Input.d.ts +17 -5
  78. package/dist/components/form/Input.js +420 -137
  79. package/dist/components/form/Input.selection.hook.d.ts +17 -0
  80. package/dist/components/form/Input.selection.hook.js +78 -0
  81. package/dist/components/form/Input.syntax.hook.d.ts +27 -0
  82. package/dist/components/form/Input.syntax.hook.js +80 -0
  83. package/dist/components/form/Input.utils.d.ts +11 -0
  84. package/dist/components/form/Input.utils.js +33 -0
  85. package/dist/components/form/InputSuggestion.d.ts +14 -6
  86. package/dist/components/form/InputSuggestion.js +126 -72
  87. package/dist/components/form/InputSyntax.d.ts +19 -0
  88. package/dist/components/form/InputSyntax.js +52 -0
  89. package/dist/components/form/PasswordInput.js +11 -10
  90. package/dist/components/form/TextInput.js +11 -10
  91. package/dist/components/form/index.js +26 -27
  92. package/dist/components/form/inputSyntaxMapping.d.ts +3 -0
  93. package/dist/components/form/inputSyntaxMapping.js +42 -0
  94. package/dist/components/menu/Menu.d.ts +7 -3
  95. package/dist/components/menu/Menu.js +22 -22
  96. package/dist/components/tooltip/Tooltip.js +33 -33
  97. package/dist/index.d.ts +1 -0
  98. package/dist/index.js +250 -239
  99. package/dist/utils/generics.js +1 -1
  100. package/package.json +17 -17
@@ -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
+ };
@@ -1,14 +1,14 @@
1
1
  import { jsxs as S, jsx as c, Fragment as j } from "react/jsx-runtime";
2
2
  import { c as be } from "../../../_virtual/compiler-runtime.js";
3
3
  import y from "react";
4
- import { InputMessage as Me } from "../../form/InputMessage.js";
4
+ import { InputMessage as ve } from "../../form/InputMessage.js";
5
5
  import '../../../assets/components/d-flow/input/DFlowInputDataType.style.css';/* empty css */
6
6
  import { TextInput as F } from "../../form/TextInput.js";
7
7
  import { Button as re } from "../../button/Button.js";
8
- import { IconSettings as le, IconTrash as Oe } from "@tabler/icons-react";
8
+ import { IconSettings as le, IconTrash as Me } from "@tabler/icons-react";
9
9
  import { Text as A } from "../../text/Text.js";
10
10
  import { Flex as X } from "../../flex/Flex.js";
11
- import { Badge as ve } from "../../badge/Badge.js";
11
+ import { Badge as Oe } from "../../badge/Badge.js";
12
12
  import { InputLabel as De } from "../../form/InputLabel.js";
13
13
  import { useSuggestions as ke } from "../suggestion/DFlowSuggestion.hook.js";
14
14
  import { DFlowSuggestionMenuFooter as me } from "../suggestion/DFlowSuggestionMenuFooter.js";
@@ -33,12 +33,12 @@ const Te = /* @__PURE__ */ new Set(["ITEM_OF_COLLECTION", "REGEX", "NUMBER_RANGE
33
33
  E((N) => {
34
34
  const h = Y(N);
35
35
  if (!h) return;
36
- const M = oe(h), R = M[r];
36
+ const v = oe(h), R = v[r];
37
37
  if (!R) return;
38
38
  const f = Ce(R, l);
39
39
  if (f && !i?.allowBlocked) return;
40
40
  const g = o(q(R));
41
- g !== void 0 && (f && (ae(g, f), se(g, f)), M[r] = g);
41
+ g !== void 0 && (f && (ae(g, f), se(g, f)), v[r] = g);
42
42
  });
43
43
  }, [l, E]), V = y.useCallback((r) => {
44
44
  E((o) => {
@@ -54,21 +54,21 @@ const Te = /* @__PURE__ */ new Set(["ITEM_OF_COLLECTION", "REGEX", "NUMBER_RANGE
54
54
  }, [b]), D = y.useCallback((r, o, i) => {
55
55
  E((N) => {
56
56
  if (!J(N)) return;
57
- const h = N.genericMappers ?? [], M = h.findIndex((g) => g.target === r);
58
- if (M === -1) return;
59
- const R = h[M], f = R?.sourceDataTypeIdentifiers ?? [];
60
- f[o] && (L(i) ? (f[o].dataType = i, delete f[o].genericType) : J(i) && (f[o].genericType = i, delete f[o].dataType), R.sourceDataTypeIdentifiers = f, N.genericMappers = [...h], N.genericMappers[M] = R);
57
+ const h = N.genericMappers ?? [], v = h.findIndex((g) => g.target === r);
58
+ if (v === -1) return;
59
+ const R = h[v], f = R?.sourceDataTypeIdentifiers ?? [];
60
+ f[o] && (L(i) ? (f[o].dataType = i, delete f[o].genericType) : J(i) && (f[o].genericType = i, delete f[o].dataType), R.sourceDataTypeIdentifiers = f, N.genericMappers = [...h], N.genericMappers[v] = R);
61
61
  });
62
62
  }, [E]);
63
63
  return /* @__PURE__ */ S("div", { children: [
64
64
  /* @__PURE__ */ S("div", { className: "d-flow-viewport-data-type-input", children: [
65
65
  T?.rules?.nodes?.map((r, o) => {
66
66
  if (!r) return null;
67
- const i = I?.find((f) => ce(r, f)), N = r?.variant === "PARENT_TYPE", h = r?.config, M = (h?.dataTypeIdentifier?.dataType?.rules?.nodes?.length ?? 0) > 0 || (h?.dataTypeIdentifier?.genericType?.dataType?.rules?.nodes?.length ?? 0) > 0;
68
- return !N || M ? /* @__PURE__ */ c(Ye, { rule: r, blockingRule: i, genericMap: B, onRemove: () => V(o), onConfigChange: (f) => b(o, (g) => (g.config = f, g)), onHeaderKeyChange: (f) => b(o, (g) => (g.config || (g.config = {}), g.config.key = f || null, g)), onHeaderDataTypeChange: (f) => b(o, (g) => {
67
+ const i = I?.find((f) => ce(r, f)), N = r?.variant === "PARENT_TYPE", h = r?.config, v = (h?.dataTypeIdentifier?.dataType?.rules?.nodes?.length ?? 0) > 0 || (h?.dataTypeIdentifier?.genericType?.dataType?.rules?.nodes?.length ?? 0) > 0;
68
+ return !N || v ? /* @__PURE__ */ c(Ye, { rule: r, blockingRule: i, genericMap: B, onRemove: () => V(o), onConfigChange: (f) => b(o, (g) => (g.config = f, g)), onHeaderKeyChange: (f) => b(o, (g) => (g.config || (g.config = {}), g.config.key = f || null, g)), onHeaderDataTypeChange: (f) => b(o, (g) => {
69
69
  g.config || (g.config = {}), "dataTypeIdentifier" in g.config || (g.config.dataTypeIdentifier = {});
70
- const O = g.config.dataTypeIdentifier;
71
- return f ? (L(f) ? (O.dataType = f, delete O.genericType) : J(f) && (O.genericType = f, delete O.dataType), g) : (delete O?.dataType, delete O?.genericType, g);
70
+ const M = g.config.dataTypeIdentifier;
71
+ return f ? (L(f) ? (M.dataType = f, delete M.genericType) : J(f) && (M.genericType = f, delete M.dataType), g) : (delete M?.dataType, delete M?.genericType, g);
72
72
  }), onNestedChange: (f) => d(o, f), onGenericMapperChange: D }, `${r.variant}-${o}`) : null;
73
73
  }),
74
74
  /* @__PURE__ */ S(Ae, { children: [
@@ -108,7 +108,7 @@ const Te = /* @__PURE__ */ new Set(["ITEM_OF_COLLECTION", "REGEX", "NUMBER_RANGE
108
108
  ] }) })
109
109
  ] })
110
110
  ] }),
111
- !e?.valid && e?.notValidMessage && /* @__PURE__ */ c(Me, { children: e.notValidMessage })
111
+ !e?.valid && e?.notValidMessage && /* @__PURE__ */ c(ve, { children: e.notValidMessage })
112
112
  ] });
113
113
  }, Ye = (n) => {
114
114
  const e = be.c(56), {
@@ -129,8 +129,8 @@ const Te = /* @__PURE__ */ new Set(["ITEM_OF_COLLECTION", "REGEX", "NUMBER_RANGE
129
129
  e[2] !== t.config ? (h = () => {
130
130
  N(ue(t?.config));
131
131
  }, e[2] = t.config, e[3] = h) : h = e[3];
132
- let M;
133
- e[4] !== t ? (M = [t], e[4] = t, e[5] = M) : M = e[5], y.useEffect(h, M);
132
+ let v;
133
+ e[4] !== t ? (v = [t], e[4] = t, e[5] = v) : v = e[5], y.useEffect(h, v);
134
134
  let R;
135
135
  e: {
136
136
  if (!r) {
@@ -153,17 +153,17 @@ const Te = /* @__PURE__ */ new Set(["ITEM_OF_COLLECTION", "REGEX", "NUMBER_RANGE
153
153
  const f = R;
154
154
  let g;
155
155
  e[9] === Symbol.for("react.memo_cache_sentinel") ? (g = (C) => {
156
- const v = C.target.value;
157
- N(v);
156
+ const O = C.target.value;
157
+ N(O);
158
158
  }, e[9] = g) : g = e[9];
159
- const O = g;
159
+ const M = g;
160
160
  let P;
161
161
  e[10] !== i || e[11] !== d || e[12] !== a || e[13] !== t.config || e[14] !== D ? (P = (C) => {
162
162
  if (d)
163
163
  return;
164
- const v = C?.target?.name, k = Je(i, t.config, {
164
+ const O = C?.target?.name, k = Je(i, t.config, {
165
165
  variant: D,
166
- numberRangeKey: v
166
+ numberRangeKey: O
167
167
  });
168
168
  k && a(k);
169
169
  }, e[10] = i, e[11] = d, e[12] = a, e[13] = t.config, e[14] = D, e[15] = P) : P = e[15];
@@ -185,10 +185,10 @@ const Te = /* @__PURE__ */ new Set(["ITEM_OF_COLLECTION", "REGEX", "NUMBER_RANGE
185
185
  b ? /* @__PURE__ */ c(de, { initialValue: K, blockingDataType: W, onDataTypeChange: l }) : null
186
186
  ] });
187
187
  if (I?.genericKey) {
188
- const v = s.get(I.genericKey);
188
+ const O = s.get(I.genericKey);
189
189
  return /* @__PURE__ */ S(j, { children: [
190
190
  C,
191
- b ? v?.sourceDataTypeIdentifiers?.map((k, fe) => {
191
+ b ? O?.sourceDataTypeIdentifiers?.map((k, fe) => {
192
192
  const te = k?.dataType ?? k?.genericType;
193
193
  if (!te)
194
194
  return null;
@@ -203,8 +203,8 @@ const Te = /* @__PURE__ */ new Set(["ITEM_OF_COLLECTION", "REGEX", "NUMBER_RANGE
203
203
  if (r && (K || E)) {
204
204
  let C;
205
205
  e[35] !== Q ? (C = Q(), e[35] = Q, e[36] = C) : C = e[36];
206
- let v;
207
- return e[37] !== C ? (v = /* @__PURE__ */ c("div", { className: "d-flow-viewport-data-type-input__rule", children: C }), e[37] = C, e[38] = v) : v = e[38], v;
206
+ let O;
207
+ return e[37] !== C ? (O = /* @__PURE__ */ c("div", { className: "d-flow-viewport-data-type-input__rule", children: C }), e[37] = C, e[38] = O) : O = e[38], O;
208
208
  }
209
209
  let x;
210
210
  e[39] === Symbol.for("react.memo_cache_sentinel") ? (x = {
@@ -214,10 +214,10 @@ const Te = /* @__PURE__ */ new Set(["ITEM_OF_COLLECTION", "REGEX", "NUMBER_RANGE
214
214
  let w;
215
215
  e[40] !== f || e[41] !== s || e[42] !== d || e[43] !== t || e[44] !== Z || e[45] !== ee || e[46] !== ne ? (w = /* @__PURE__ */ c(ge, { rule: t, genericMap: s, isBlocked: d, dataTypeLabel: f, onRemove: Z, onKeyChange: ee, onDataTypeChange: ne }), e[40] = f, e[41] = s, e[42] = d, e[43] = t, e[44] = Z, e[45] = ee, e[46] = ne, e[47] = w) : w = e[47];
216
216
  let G;
217
- e[48] !== i || e[49] !== _ || e[50] !== d || e[51] !== t.variant ? (G = t.variant === "REGEX" || t.variant === "ITEM_OF_COLLECTION" ? /* @__PURE__ */ c(F, { clearable: !0, left: /* @__PURE__ */ c(A, { size: "sm", children: t.variant === "REGEX" ? "Pattern" : "Items" }), leftType: "icon", defaultValue: i, onChange: O, onBlur: _, w: "100%", disabled: d }) : t.variant === "NUMBER_RANGE" ? /* @__PURE__ */ S(j, { children: [
218
- /* @__PURE__ */ c(F, { clearable: !0, defaultValue: i?.from?.toString() ?? "", onChange: O, onBlur: _, w: "100%", left: /* @__PURE__ */ c(A, { size: "sm", children: "From" }), leftType: "icon", disabled: d, name: "from" }),
219
- /* @__PURE__ */ c(F, { clearable: !0, defaultValue: i?.steps?.toString() ?? "", onChange: O, onBlur: _, left: /* @__PURE__ */ c(A, { size: "sm", children: "Steps" }), leftType: "icon", w: "100%", disabled: d, name: "steps" }),
220
- /* @__PURE__ */ c(F, { clearable: !0, left: /* @__PURE__ */ c(A, { size: "sm", children: "To" }), leftType: "icon", defaultValue: i?.to?.toString() ?? "", onChange: O, onBlur: _, w: "100%", disabled: d, name: "to" })
217
+ e[48] !== i || e[49] !== _ || e[50] !== d || e[51] !== t.variant ? (G = t.variant === "REGEX" || t.variant === "ITEM_OF_COLLECTION" ? /* @__PURE__ */ c(F, { clearable: !0, left: /* @__PURE__ */ c(A, { size: "sm", children: t.variant === "REGEX" ? "Pattern" : "Items" }), leftType: "icon", defaultValue: i, onChange: M, onBlur: _, w: "100%", disabled: d }) : t.variant === "NUMBER_RANGE" ? /* @__PURE__ */ S(j, { children: [
218
+ /* @__PURE__ */ c(F, { clearable: !0, defaultValue: i?.from?.toString() ?? "", onChange: M, onBlur: _, w: "100%", left: /* @__PURE__ */ c(A, { size: "sm", children: "From" }), leftType: "icon", disabled: d, name: "from" }),
219
+ /* @__PURE__ */ c(F, { clearable: !0, defaultValue: i?.steps?.toString() ?? "", onChange: M, onBlur: _, left: /* @__PURE__ */ c(A, { size: "sm", children: "Steps" }), leftType: "icon", w: "100%", disabled: d, name: "steps" }),
220
+ /* @__PURE__ */ c(F, { clearable: !0, left: /* @__PURE__ */ c(A, { size: "sm", children: "To" }), leftType: "icon", defaultValue: i?.to?.toString() ?? "", onChange: M, onBlur: _, w: "100%", disabled: d, name: "to" })
221
221
  ] }) : null, e[48] = i, e[49] = _, e[50] = d, e[51] = t.variant, e[52] = G) : G = e[52];
222
222
  let H;
223
223
  return e[53] !== w || e[54] !== G ? (H = /* @__PURE__ */ c("div", { className: "d-flow-viewport-data-type-input__rule", children: /* @__PURE__ */ S("div", { style: x, children: [
@@ -253,13 +253,13 @@ const Te = /* @__PURE__ */ new Set(["ITEM_OF_COLLECTION", "REGEX", "NUMBER_RANGE
253
253
  const N = i.value;
254
254
  if (!N) return;
255
255
  a(N);
256
- const h = i?.ref?.displayText?.join(" ") ?? e ?? "";
256
+ const h = i?.valueData?.displayText?.join(" ") ?? e ?? "";
257
257
  d(h);
258
258
  }, [e, s, a]);
259
259
  return /* @__PURE__ */ S("div", { children: [
260
260
  /* @__PURE__ */ S(X, { justify: "space-between", children: [
261
- /* @__PURE__ */ c(ve, { color: "info", children: n?.variant }),
262
- p ? /* @__PURE__ */ c(re, { color: "error", onClick: p, children: /* @__PURE__ */ c(Oe, { size: 16 }) }) : null
261
+ /* @__PURE__ */ c(Oe, { color: "info", children: n?.variant }),
262
+ p ? /* @__PURE__ */ c(re, { color: "error", onClick: p, children: /* @__PURE__ */ c(Me, { size: 16 }) }) : null
263
263
  ] }),
264
264
  /* @__PURE__ */ S(X, { mt: 0.7, style: {
265
265
  flexDirection: "column",
@@ -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) {
@@ -6,26 +6,26 @@ import { DFlowSuggestionMenuFooter as O } from "./DFlowSuggestionMenuFooter.js";
6
6
  import { InputSuggestionMenuContentItems as P, InputSuggestionMenuContent as U } from "../../form/InputSuggestion.js";
7
7
  import { toInputSuggestions as $ } from "./DFlowSuggestionMenu.util.js";
8
8
  import { DFlowSuggestionMenuSearchBar as q } from "./DFlowSuggestionMenuSearchBar.js";
9
- import { useStoreApi as z } from "@xyflow/react";
10
- const Z = (F) => {
9
+ import { useStoreApi as v } from "@xyflow/react";
10
+ const Y = (F) => {
11
11
  const e = k.c(25), {
12
- suggestions: c,
12
+ suggestions: f,
13
13
  triggerContent: h,
14
14
  onSuggestionSelect: C
15
15
  } = F;
16
16
  let g;
17
- e[0] !== c ? (g = c === void 0 ? [] : c, e[0] = c, e[1] = g) : g = e[1];
18
- const m = g, M = C === void 0 ? G : C, D = z(), w = x.useRef(null), [y, T] = x.useState(m);
17
+ e[0] !== f ? (g = f === void 0 ? [] : f, e[0] = f, e[1] = g) : g = e[1];
18
+ const m = g, D = C === void 0 ? z : C, M = v(), w = x.useRef(null), [y, T] = x.useState(m);
19
19
  let s;
20
- e[2] !== D ? (s = (t) => {
20
+ e[2] !== M ? (s = (t) => {
21
21
  setTimeout(() => {
22
- D.setState({
22
+ M.setState({
23
23
  nodesDraggable: !t,
24
24
  nodesConnectable: !t,
25
25
  elementsSelectable: !t
26
26
  });
27
27
  }, 250);
28
- }, e[2] = D, e[3] = s) : s = e[3];
28
+ }, e[2] = M, e[3] = s) : s = e[3];
29
29
  let n;
30
30
  e[4] !== h ? (n = /* @__PURE__ */ o(B, { asChild: !0, children: h }), e[4] = h, e[5] = n) : n = e[5];
31
31
  let r;
@@ -36,32 +36,32 @@ const Z = (F) => {
36
36
  } }), e[6] = m, e[7] = r) : r = e[7];
37
37
  let a;
38
38
  e[8] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ o(b, {}), e[8] = a) : a = e[8];
39
- let i;
40
- e[9] !== y ? (i = $(y), e[9] = y, e[10] = i) : i = e[10];
41
39
  let l;
42
- e[11] !== M ? (l = (t) => {
43
- M(t.ref);
44
- }, e[11] = M, e[12] = l) : l = e[12];
40
+ e[9] !== y ? (l = $(y), e[9] = y, e[10] = l) : l = e[10];
41
+ let i;
42
+ e[11] !== D ? (i = (t) => {
43
+ D(t.valueData);
44
+ }, e[11] = D, e[12] = i) : i = e[12];
45
45
  let u;
46
- e[13] !== i || e[14] !== l ? (u = /* @__PURE__ */ o(P, { ref: w, suggestions: i, onSuggestionSelect: l }), e[13] = i, e[14] = l, e[15] = u) : u = e[15];
46
+ e[13] !== l || e[14] !== i ? (u = /* @__PURE__ */ o(P, { ref: w, suggestions: l, onSuggestionSelect: i }), e[13] = l, e[14] = i, e[15] = u) : u = e[15];
47
47
  let p, S;
48
48
  e[16] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ o(b, {}), S = /* @__PURE__ */ o(O, {}), e[16] = p, e[17] = S) : (p = e[16], S = e[17]);
49
- let f;
50
- e[18] !== r || e[19] !== u ? (f = /* @__PURE__ */ o(E, { children: /* @__PURE__ */ I(U, { children: [
49
+ let c;
50
+ e[18] !== r || e[19] !== u ? (c = /* @__PURE__ */ o(E, { children: /* @__PURE__ */ I(U, { children: [
51
51
  r,
52
52
  a,
53
53
  u,
54
54
  p,
55
55
  S
56
- ] }) }), e[18] = r, e[19] = u, e[20] = f) : f = e[20];
56
+ ] }) }), e[18] = r, e[19] = u, e[20] = c) : c = e[20];
57
57
  let d;
58
- return e[21] !== f || e[22] !== s || e[23] !== n ? (d = /* @__PURE__ */ I(L, { onOpenChange: s, children: [
58
+ return e[21] !== c || e[22] !== s || e[23] !== n ? (d = /* @__PURE__ */ I(L, { onOpenChange: s, children: [
59
59
  n,
60
- f
61
- ] }), e[21] = f, e[22] = s, e[23] = n, e[24] = d) : d = e[24], d;
60
+ c
61
+ ] }), e[21] = c, e[22] = s, e[23] = n, e[24] = d) : d = e[24], d;
62
62
  };
63
- function G() {
63
+ function z() {
64
64
  }
65
65
  export {
66
- Z as DFlowSuggestionMenu
66
+ Y as DFlowSuggestionMenu
67
67
  };
@@ -1,23 +1,23 @@
1
1
  import { jsx as o, jsxs as T, Fragment as d } from "react/jsx-runtime";
2
2
  import { DFlowSuggestionType as e } from "./DFlowSuggestion.view.js";
3
- import { IconCircleDot as c, IconCirclesRelation as I, IconFileFunctionFilled as p } from "@tabler/icons-react";
4
- import { Text as N } from "../../text/Text.js";
5
- const O = (a) => {
3
+ import { IconCircleDot as c, IconCirclesRelation as u, IconFileFunctionFilled as a } from "@tabler/icons-react";
4
+ import { Text as I } from "../../text/Text.js";
5
+ const D = (p) => {
6
6
  const f = {
7
7
  [e.VALUE]: "Values",
8
8
  [e.REF_OBJECT]: "Variables",
9
9
  [e.DATA_TYPE]: "Datatypes"
10
10
  };
11
- return a.map((i) => {
11
+ return p.map((i) => {
12
12
  const m = {
13
- [e.FUNCTION]: /* @__PURE__ */ o(p, { color: "#70ffb2", size: 16 }),
14
- [e.FUNCTION_COMBINATION]: /* @__PURE__ */ o(p, { color: "#70ffb2", size: 16 }),
15
- [e.REF_OBJECT]: /* @__PURE__ */ o(I, { color: "#FFBE0B", size: 16 }),
13
+ [e.FUNCTION]: /* @__PURE__ */ o(a, { color: "#70ffb2", size: 16 }),
14
+ [e.FUNCTION_COMBINATION]: /* @__PURE__ */ o(a, { color: "#70ffb2", size: 16 }),
15
+ [e.REF_OBJECT]: /* @__PURE__ */ o(u, { color: "#FFBE0B", size: 16 }),
16
16
  [e.VALUE]: /* @__PURE__ */ o(c, { color: "#D90429", size: 16 }),
17
17
  [e.DATA_TYPE]: /* @__PURE__ */ o(c, { color: "#D90429", size: 16 })
18
18
  }, F = /* @__PURE__ */ T(d, { children: [
19
19
  m[i.type],
20
- /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(N, { display: "flex", style: {
20
+ /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(I, { display: "flex", style: {
21
21
  gap: ".5rem"
22
22
  }, children: i.displayText.map((t, r) => /* @__PURE__ */ o("span", { children: t }, r)) }) })
23
23
  ] });
@@ -31,12 +31,12 @@ const O = (a) => {
31
31
  }
32
32
  return {
33
33
  children: F,
34
- ref: i,
34
+ valueData: i,
35
35
  value: i.value,
36
- groupLabel: n
36
+ groupBy: n
37
37
  };
38
38
  });
39
39
  };
40
40
  export {
41
- O as toInputSuggestions
41
+ D as toInputSuggestions
42
42
  };
@@ -1,4 +1,4 @@
1
- import { InputProps } from '../../form/Input';
1
+ import { InputProps } from '../../form';
2
2
  import { default as React } from 'react';
3
3
  interface DFlowSuggestionSearchInputProps extends Omit<InputProps<string | null>, "wrapperComponent" | "type"> {
4
4
  clearable?: boolean;
@@ -1,22 +1,35 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { Input as p, setElementKey as l } from "../../form/Input.js";
3
- import r from "react";
4
- import { Button as m } from "../../button/Button.js";
5
- import { IconX as u } from "@tabler/icons-react";
6
- import '../../../assets/components/d-flow/suggestion/DFlowSuggestionSearchInput.style.css';/* empty css */
7
- const C = r.forwardRef((n, t) => {
8
- t = t || r.useRef(null);
2
+ import "../../../_virtual/compiler-runtime.js";
3
+ import i from "react";
4
+ import "@radix-ui/react-checkbox";
5
+ import "merge-props";
6
+ import { IconX as a } from "@tabler/icons-react";
7
+ import '../../../assets/components/d-flow/suggestion/DFlowSuggestionSearchInput.style.css';import '../../../assets/components/form/Input.style.css';/* empty css */
8
+ import "../../form/EmailInput.js";
9
+ import { Input as c } from "../../form/Input.js";
10
+ import "../../form/InputSuggestion.js";
11
+ import "../../form/NumberInput.js";
12
+ import "../../form/PasswordInput.js";
13
+ import "@radix-ui/react-one-time-password-field";
14
+ import "@radix-ui/react-radio-group";
15
+ import "../../form/SwitchInput.js";
16
+ import "../../form/TextInput.js";
17
+ import { Button as l } from "../../button/Button.js";
18
+ /* empty css */
19
+ import { setElementKey as u } from "../../form/Input.utils.js";
20
+ const E = i.forwardRef((e, t) => {
21
+ t = t || i.useRef(null);
9
22
  const {
10
- clearable: i = !1,
11
- right: s,
12
- ...a
13
- } = n, c = () => {
14
- t.current && l(t.current, "value", "", "change");
15
- }, e = [s];
16
- return i && e.push(/* @__PURE__ */ o(m, { variant: "none", onClick: c, children: /* @__PURE__ */ o(u, { size: 13 }) })), /* @__PURE__ */ o(p, { wrapperComponent: {
23
+ clearable: m = !1,
24
+ right: p,
25
+ ...n
26
+ } = e, s = () => {
27
+ t.current && u(t.current, "value", "", "change");
28
+ }, r = [p];
29
+ return m && r.push(/* @__PURE__ */ o(l, { variant: "none", onClick: s, children: /* @__PURE__ */ o(a, { size: 13 }) })), /* @__PURE__ */ o(c, { wrapperComponent: {
17
30
  className: "d-flow-suggestion-search-input"
18
- }, right: e, type: "text", ref: t, ...a });
31
+ }, right: r, type: "text", ref: t, ...n });
19
32
  });
20
33
  export {
21
- C as DFlowSuggestionSearchInput
34
+ E as DFlowSuggestionSearchInput
22
35
  };
@@ -1,38 +1,38 @@
1
- import { jsx as r, jsxs as I } from "react/jsx-runtime";
2
- import m from "react";
3
- import { NodeFunctionView as w } from "../DFlow.view.js";
4
- import { TextInput as R } from "../../form/TextInput.js";
5
- import { Flex as b } from "../../flex/Flex.js";
6
- import { useService as p } from "../../../utils/contextStore.js";
7
- import { DFlowFunctionReactiveService as L } from "../function/DFlowFunction.service.js";
8
- import { useSuggestions as j } from "../suggestion/DFlowSuggestion.hook.js";
9
- import { DFlowSuggestionMenuFooter as x } from "../suggestion/DFlowSuggestionMenuFooter.js";
10
- import { toInputSuggestions as B } from "../suggestion/DFlowSuggestionMenu.util.js";
11
- import { DFlowReactiveService as T } from "../DFlow.service.js";
12
- import { Badge as g } from "../../badge/Badge.js";
13
- const Q = (v) => {
1
+ import { jsx as r, jsxs as _ } from "react/jsx-runtime";
2
+ import y from "react";
3
+ import { NodeFunctionView as R } from "../DFlow.view.js";
4
+ import { TextInput as j } from "../../form/TextInput.js";
5
+ import { Flex as B } from "../../flex/Flex.js";
6
+ import { useService as S } from "../../../utils/contextStore.js";
7
+ import { DFlowFunctionReactiveService as T } from "../function/DFlowFunction.service.js";
8
+ import { useSuggestions as M } from "../suggestion/DFlowSuggestion.hook.js";
9
+ import { DFlowSuggestionMenuFooter as E } from "../suggestion/DFlowSuggestionMenuFooter.js";
10
+ import { toInputSuggestions as k } from "../suggestion/DFlowSuggestionMenu.util.js";
11
+ import { DFlowReactiveService as C } from "../DFlow.service.js";
12
+ import { Badge as h } from "../../badge/Badge.js";
13
+ const Z = (V) => {
14
14
  const {
15
- functionInstance: s,
16
- flowId: y,
17
- depthLevel: S,
18
- scopeLevel: V,
19
- nodeLevel: N
20
- } = v, a = p(L), D = p(T), u = a.getById(s.functionDefinition?.id), c = m.useMemo(() => {
15
+ functionInstance: l,
16
+ flowId: D,
17
+ depthLevel: F,
18
+ scopeLevel: N,
19
+ nodeLevel: I
20
+ } = V, c = S(T), b = S(C), d = c.getById(l.functionDefinition?.id), f = y.useMemo(() => {
21
21
  const e = {};
22
- return u?.parameterDefinitions?.forEach((o) => {
22
+ return d?.parameterDefinitions?.forEach((o) => {
23
23
  e[o.id] = o;
24
24
  }), e;
25
- }, [u?.parameterDefinitions]), l = m.useMemo(() => [...s.parameters || []].sort((e, o) => e.id.localeCompare(o.id)), [s.parameters]), f = {};
26
- return l.forEach((e) => {
27
- const o = c[e.id];
28
- f[e.id] = j(o?.dataTypeIdentifier, [], y, S, V, N);
29
- }), /* @__PURE__ */ r(b, { style: {
25
+ }, [d?.parameterDefinitions]), m = y.useMemo(() => [...l.parameters || []].sort((e, o) => e.id.localeCompare(o.id)), [l.parameters]), g = {};
26
+ return m.forEach((e) => {
27
+ const o = f[e.id];
28
+ g[e.id] = M(o?.dataTypeIdentifier, [], D, F, N, I);
29
+ }), /* @__PURE__ */ r(B, { style: {
30
30
  gap: ".7rem",
31
31
  flexDirection: "column"
32
- }, children: l.map((e) => {
32
+ }, children: m.map((e) => {
33
33
  const o = (t) => {
34
- e.value = t, D.update();
35
- }, d = (t) => {
34
+ e.value = t, b.update();
35
+ }, p = (t) => {
36
36
  try {
37
37
  const n = JSON.parse(t.target.value);
38
38
  if (!n.__typename) {
@@ -49,49 +49,55 @@ const Q = (v) => {
49
49
  value: t.target.value
50
50
  });
51
51
  }
52
- }, i = c[e.id], O = f[e.id], h = i?.names ? i?.names?.nodes[0]?.content : i?.id, F = i?.descriptions ? i?.descriptions?.nodes[0]?.content : JSON.stringify(i?.dataTypeIdentifier), J = e.value instanceof w ? JSON.stringify({
52
+ }, s = f[e.id], w = g[e.id], L = s?.names ? s?.names?.nodes[0]?.content : s?.id, O = s?.descriptions ? s?.descriptions?.nodes[0]?.content : JSON.stringify(s?.dataTypeIdentifier), x = e.value instanceof R ? JSON.stringify({
53
53
  ...e.value.json(),
54
54
  __typename: "NodeFunction"
55
55
  }) : e.value?.__typename === "ReferenceValue" ? JSON.stringify(e.value) : e.value?.__typename === "LiteralValue" ? typeof e.value?.value == "object" ? JSON.stringify(e.value?.value) : e.value.value : "";
56
- return /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(R, { title: h, description: F, clearable: !0, transformValue: (t) => {
56
+ return /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(j, { title: L, description: O, clearable: !0, transformSyntax: (t) => {
57
+ const n = t ?? "", u = typeof n == "string" ? n : String(n), J = (i) => [{
58
+ type: "text",
59
+ start: 0,
60
+ end: i.length,
61
+ visualLength: i.length,
62
+ content: i
63
+ }], v = (i) => [{
64
+ type: "block",
65
+ start: 0,
66
+ end: u.length,
67
+ visualLength: 1,
68
+ content: i
69
+ }];
57
70
  try {
58
- if (!t) return t;
59
- if (JSON.parse(t).__typename === "NodeFunction") {
60
- const n = a.getById(JSON.parse(t).functionDefinition?.id);
61
- return /* @__PURE__ */ r(g, { color: "info", children: n?.names?.nodes[0]?.content });
71
+ const i = JSON.parse(u);
72
+ if (i?.__typename === "NodeFunction") {
73
+ const a = c.getById(i.functionDefinition?.id);
74
+ return v(/* @__PURE__ */ r(h, { color: "info", children: a?.names?.nodes[0]?.content }));
62
75
  }
63
- if (JSON.parse(t).__typename === "ReferenceValue") {
64
- const n = JSON.parse(t);
65
- return /* @__PURE__ */ I(g, { color: "warning", children: [
66
- n.depth,
76
+ if (i?.__typename === "ReferenceValue") {
77
+ const a = i;
78
+ return v(/* @__PURE__ */ _(h, { color: "warning", children: [
79
+ a.depth,
67
80
  "-",
68
- n.scope,
81
+ a.scope,
69
82
  "-",
70
- n.node,
83
+ a.node,
71
84
  "-",
72
- JSON.stringify(n.dataTypeIdentifier)
73
- ] });
85
+ JSON.stringify(a.dataTypeIdentifier)
86
+ ] }));
74
87
  }
75
88
  } catch {
76
89
  }
77
- return t;
78
- }, disableOnValue: (t) => {
79
- if (!t) return !1;
80
- try {
81
- return t.__typename === "NodeFunction" || t.__typename === "ReferenceValue";
82
- } catch {
83
- }
84
- return !1;
85
- }, defaultValue: J, onSuggestionSelect: (t) => {
90
+ return J(u);
91
+ }, defaultValue: x, onSuggestionSelect: (t) => {
86
92
  o(t.value);
87
93
  }, formValidation: {
88
94
  setValue: () => {
89
95
  },
90
96
  valid: e.validationResults.length <= 0,
91
97
  notValidMessage: e.validationResults.map((t) => t.message.nodes[0]?.content).join(", ")
92
- }, onBlur: d, onClear: d, suggestionsFooter: /* @__PURE__ */ r(x, {}), suggestions: B(O) }, JSON.stringify(e.value)) });
98
+ }, onBlur: p, onClear: p, suggestionsFooter: /* @__PURE__ */ r(E, {}), suggestions: k(w) }, JSON.stringify(e.value)) });
93
99
  }) });
94
100
  };
95
101
  export {
96
- Q as DFlowTabDefault
102
+ Z as DFlowTabDefault
97
103
  };
@@ -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,23 +1,23 @@
1
- function r(t, e, i) {
2
- return (e = u(e)) in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
1
+ function i(t, e, r) {
2
+ return (e = u(e)) in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
3
3
  }
4
4
  function u(t) {
5
- var e = o(t, "string");
5
+ var e = n(t, "string");
6
6
  return typeof e == "symbol" ? e : e + "";
7
7
  }
8
- function o(t, e) {
8
+ function n(t, e) {
9
9
  if (typeof t != "object" || !t) return t;
10
- var i = t[Symbol.toPrimitive];
11
- if (i !== void 0) {
12
- var s = i.call(t, e);
10
+ var r = t[Symbol.toPrimitive];
11
+ if (r !== void 0) {
12
+ var s = r.call(t, e);
13
13
  if (typeof s != "object") return s;
14
14
  throw new TypeError("@@toPrimitive must return a primitive value.");
15
15
  }
16
16
  return (e === "string" ? String : Number)(t);
17
17
  }
18
- class n {
18
+ class o {
19
19
  constructor(e) {
20
- r(this, "_createdAt", void 0), r(this, "_id", void 0), r(this, "_memberRoles", void 0), r(this, "_namespace", void 0), r(this, "_roles", void 0), r(this, "_updatedAt", void 0), r(this, "_user", void 0), r(this, "_userAbilities", void 0), this._createdAt = e.createdAt, this._id = e.id, this._memberRoles = e.memberRoles, this._namespace = e.namespace, this._roles = e.roles, this._updatedAt = e.updatedAt, this._user = e.user, this._userAbilities = e.userAbilities;
20
+ i(this, "_createdAt", void 0), i(this, "_id", void 0), i(this, "_memberRoles", void 0), i(this, "_namespace", void 0), i(this, "_roles", void 0), i(this, "_updatedAt", void 0), i(this, "_user", void 0), i(this, "_userAbilities", void 0), this._createdAt = e.createdAt, this._id = e.id, this._memberRoles = e.memberRoles, this._namespace = e.namespace, this._roles = e.roles, this._updatedAt = e.updatedAt, this._user = e.user, this._userAbilities = e.userAbilities;
21
21
  }
22
22
  get createdAt() {
23
23
  return this._createdAt;
@@ -45,16 +45,18 @@ class n {
45
45
  }
46
46
  json() {
47
47
  return {
48
+ __typename: "NamespaceMember",
48
49
  createdAt: this._createdAt,
49
50
  id: this._id,
50
51
  memberRoles: this._memberRoles,
51
52
  namespace: this._namespace,
52
53
  roles: this._roles,
53
54
  updatedAt: this._updatedAt,
54
- user: this._user
55
+ user: this._user,
56
+ userAbilities: this._userAbilities
55
57
  };
56
58
  }
57
59
  }
58
60
  export {
59
- n as DNamespaceMemberView
61
+ o as DNamespaceMemberView
60
62
  };
@@ -0,0 +1,10 @@
1
+ import { NamespaceMember } from '@code0-tech/sagittarius-graphql-types';
2
+ import { default as React } from 'react';
3
+ import { DNamespaceMemberView } from './DNamespaceMember.view';
4
+ import { DNamespaceRoleView } from '../d-role';
5
+ export interface DNamespaceMemberCardProps {
6
+ memberId: NamespaceMember["id"];
7
+ onRemove?: (member: DNamespaceMemberView) => void;
8
+ onAssignRole?: (member: DNamespaceMemberView, roles: DNamespaceRoleView[]) => void;
9
+ }
10
+ export declare const DNamespaceMemberCard: React.FC<DNamespaceMemberCardProps>;
@@ -0,0 +1,16 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { c } from "../../_virtual/compiler-runtime.js";
3
+ import { Card as i } from "../card/Card.js";
4
+ import { DNamespaceMemberContent as p } from "./DNamespaceMemberContent.js";
5
+ const b = (s) => {
6
+ const e = c.c(4), {
7
+ memberId: r,
8
+ onRemove: m,
9
+ onAssignRole: t
10
+ } = s;
11
+ let o;
12
+ return e[0] !== r || e[1] !== t || e[2] !== m ? (o = /* @__PURE__ */ n(i, { children: /* @__PURE__ */ n(p, { onRemove: m, onAssignRole: t, memberId: r }) }), e[0] = r, e[1] = t, e[2] = m, e[3] = o) : o = e[3], o;
13
+ };
14
+ export {
15
+ b as DNamespaceMemberCard
16
+ };