@code0-tech/pictor 0.0.0-mvp.43 → 0.0.0-mvp.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/components/avatar/Avatar.style.css +1 -1
- package/dist/components/avatar/Avatar.d.ts +1 -0
- package/dist/components/avatar/Avatar.js +44 -48
- package/dist/components/d-application/DApplication.service.js +1 -0
- package/dist/components/d-flow/DFlow.edges.hook.js +3 -2
- package/dist/components/d-flow/DFlow.nodes.hook.js +16 -15
- package/dist/components/d-flow/DFlow.service.js +3 -2
- package/dist/components/d-flow-data-type/DFlowDataType.service.js +8 -8
- package/dist/components/d-flow-file/DFlowTabDefault.js +1 -1
- package/dist/components/d-flow-file/DFlowTabTrigger.js +1 -1
- package/dist/components/d-flow-file/DFlowTabs.js +1 -1
- package/dist/components/d-flow-folder/DFlowFolderContextMenu.js +1 -1
- package/dist/components/d-flow-folder/DFlowFolderCreateDialog.js +52 -50
- package/dist/components/d-flow-folder/DFlowFolderDeleteDialog.js +43 -38
- package/dist/components/d-flow-folder/DFlowFolderItemPathInput.js +3 -2
- package/dist/components/d-flow-folder/DFlowFolderRenameDialog.js +26 -22
- package/dist/components/d-flow-function/DFlowFunction.service.js +3 -2
- package/dist/components/d-flow-input/DFlowInputDataType.js +15 -14
- package/dist/components/d-flow-input/DFlowInputDataTypeEditDialog.js +3 -2
- package/dist/components/d-flow-input/DFlowInputDefault.js +1 -1
- package/dist/components/d-flow-input/DFlowInputNodeBadge.js +1 -1
- package/dist/components/d-flow-node/DFlowNode.return.hook.js +1 -1
- package/dist/components/d-flow-node/DFlowNodeDefaultCard.js +1 -1
- package/dist/components/d-flow-panel/DFlowExport.js +1 -1
- package/dist/components/d-flow-panel/DFlowPanelControl.js +1 -1
- package/dist/components/d-flow-panel/DFlowPanelUpdate.js +1 -1
- package/dist/components/d-flow-suggestion/DFlowDataTypeSuggestions.hook.js +1 -1
- package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.js +1 -1
- package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.js +1 -1
- package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.js +1 -1
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.js +6 -5
- package/dist/components/d-flow-suggestion/DFlowSuggestionSearchInput.js +3 -2
- package/dist/components/d-flow-suggestion/DFlowValueSuggestions.hook.js +1 -1
- package/dist/components/d-flow-type/DFlowType.service.d.ts +3 -3
- package/dist/components/d-flow-type/DFlowType.service.js +3 -2
- package/dist/components/d-flow-type/DFlowType.view.d.ts +4 -1
- package/dist/components/d-flow-type/DFlowType.view.js +16 -10
- package/dist/components/d-flow-validation/DFlowValidation.hook.js +1 -1
- package/dist/components/d-flow-validation/DFlowValidation.js +3 -2
- package/dist/components/d-flow-validation/DNodeValidation.hook.js +1 -1
- package/dist/components/d-license/DNamespaceLicense.service.js +3 -2
- package/dist/components/d-member/DNamespaceMember.service.js +1 -0
- package/dist/components/d-member/DNamespaceMemberContent.js +3 -2
- package/dist/components/d-member/DNamespaceMemberList.js +5 -4
- package/dist/components/d-namespace/DNamespace.service.js +3 -2
- package/dist/components/d-organization/DOrganization.service.js +3 -2
- package/dist/components/d-organization/DOrganizationList.js +7 -6
- package/dist/components/d-organization/DOrganizatonContent.js +3 -2
- package/dist/components/d-organization/index.js +9 -8
- package/dist/components/d-project/DNamespaceProject.service.js +3 -2
- package/dist/components/d-project/DNamespaceProjectContent.js +3 -2
- package/dist/components/d-project/DNamespaceProjectList.js +3 -2
- package/dist/components/d-project/index.js +10 -9
- package/dist/components/d-role/DNamespaceRole.service.js +3 -2
- package/dist/components/d-role/DNamespaceRoleContent.js +3 -2
- package/dist/components/d-role/DNamespaceRoleList.js +6 -5
- package/dist/components/d-runtime/DRuntimeContent.js +3 -2
- package/dist/components/d-runtime/DRuntimeList.js +3 -2
- package/dist/components/d-user/DUser.service.js +3 -2
- package/dist/components/d-user/DUserContent.js +6 -5
- package/dist/components/d-user/DUserInput.js +3 -2
- package/dist/components/d-user/DUserList.js +5 -4
- package/dist/components/d-user/DUserMenu.js +5 -4
- package/dist/components/d-user/index.js +15 -14
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/form/index.js +25 -23
- package/dist/index.js +178 -181
- package/dist/utils/index.js +19 -24
- package/dist/utils/utils.d.ts +3 -18
- package/dist/utils/utils.js +101 -176
- package/package.json +12 -10
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import "../../utils/contextStore.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "merge-props";
|
|
4
|
+
import "js-md5";
|
|
4
5
|
import { DataTypeView as n } from "../d-flow-data-type/DFlowDataType.view.js";
|
|
5
6
|
import "../d-flow-data-type/rules/DFlowDataTypeRegexRule.js";
|
|
6
7
|
import "../d-flow-data-type/rules/DFlowDataTypeNumberRangeRule.js";
|
|
@@ -9,9 +10,8 @@ import "../d-flow-data-type/rules/DFlowDataTypeContainsTypeRule.js";
|
|
|
9
10
|
import "../d-flow-data-type/rules/DFlowDataTypeContainsKeyRule.js";
|
|
10
11
|
import "../d-flow-data-type/rules/DFlowDataTypeReturnTypeRule.js";
|
|
11
12
|
import "../d-flow-data-type/variants/DFlowDataTypeNodeVariant.js";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
return (t = d(t)) in i ? Object.defineProperty(i, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = r, i;
|
|
13
|
+
function e(i, t, s) {
|
|
14
|
+
return (t = d(t)) in i ? Object.defineProperty(i, t, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = s, i;
|
|
15
15
|
}
|
|
16
16
|
function d(i) {
|
|
17
17
|
var t = a(i, "string");
|
|
@@ -19,17 +19,17 @@ function d(i) {
|
|
|
19
19
|
}
|
|
20
20
|
function a(i, t) {
|
|
21
21
|
if (typeof i != "object" || !i) return i;
|
|
22
|
-
var
|
|
23
|
-
if (
|
|
24
|
-
var
|
|
25
|
-
if (typeof
|
|
22
|
+
var s = i[Symbol.toPrimitive];
|
|
23
|
+
if (s !== void 0) {
|
|
24
|
+
var r = s.call(i, t);
|
|
25
|
+
if (typeof r != "object") return r;
|
|
26
26
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
27
27
|
}
|
|
28
28
|
return (t === "string" ? String : Number)(i);
|
|
29
29
|
}
|
|
30
|
-
class
|
|
30
|
+
class A {
|
|
31
31
|
constructor(t) {
|
|
32
|
-
e(this, "_aliases", void 0), e(this, "_createdAt", void 0), e(this, "_descriptions", void 0), e(this, "_displayMessages", void 0), e(this, "_editable", void 0), e(this, "_flowTypeSettings", void 0), e(this, "_id", void 0), e(this, "_identifier", void 0), e(this, "_inputType", void 0), e(this, "_names", void 0), e(this, "_returnType", void 0), e(this, "_updatedAt", void 0), this._aliases = t.aliases, this._createdAt = t.createdAt, this._descriptions = t.descriptions, this._displayMessages = t.displayMessages, this._editable = t.editable, this._flowTypeSettings = t.flowTypeSettings, this._id = t.id, this._identifier = t.identifier, this._inputType = t.inputType ? new n(t.inputType).json : void 0, this._names = t.names, this._returnType = t.returnType ? new n(t.returnType).json : void 0, this._updatedAt = t.updatedAt;
|
|
32
|
+
e(this, "_aliases", void 0), e(this, "_createdAt", void 0), e(this, "_descriptions", void 0), e(this, "_displayMessages", void 0), e(this, "_editable", void 0), e(this, "_flowTypeSettings", void 0), e(this, "_id", void 0), e(this, "_identifier", void 0), e(this, "_inputType", void 0), e(this, "_names", void 0), e(this, "_returnType", void 0), e(this, "_runtime", void 0), e(this, "_updatedAt", void 0), this._aliases = t.aliases, this._createdAt = t.createdAt, this._descriptions = t.descriptions, this._displayMessages = t.displayMessages, this._editable = t.editable, this._flowTypeSettings = t.flowTypeSettings, this._id = t.id, this._identifier = t.identifier, this._inputType = t.inputType ? new n(t.inputType).json : void 0, this._names = t.names, this._returnType = t.returnType ? new n(t.returnType).json : void 0, this._runtime = t.runtime, this._updatedAt = t.updatedAt;
|
|
33
33
|
}
|
|
34
34
|
get aliases() {
|
|
35
35
|
return this._aliases;
|
|
@@ -64,13 +64,18 @@ class f {
|
|
|
64
64
|
get returnType() {
|
|
65
65
|
return this._returnType;
|
|
66
66
|
}
|
|
67
|
+
get runtime() {
|
|
68
|
+
return this._runtime;
|
|
69
|
+
}
|
|
67
70
|
get updatedAt() {
|
|
68
71
|
return this._updatedAt;
|
|
69
72
|
}
|
|
70
73
|
json() {
|
|
71
74
|
return {
|
|
75
|
+
aliases: this._aliases,
|
|
72
76
|
createdAt: this._createdAt,
|
|
73
77
|
descriptions: this._descriptions,
|
|
78
|
+
displayMessages: this._displayMessages,
|
|
74
79
|
editable: this._editable,
|
|
75
80
|
flowTypeSettings: this._flowTypeSettings,
|
|
76
81
|
id: this._id,
|
|
@@ -78,10 +83,11 @@ class f {
|
|
|
78
83
|
inputType: this._inputType,
|
|
79
84
|
names: this._names,
|
|
80
85
|
returnType: this._returnType,
|
|
86
|
+
runtime: this._runtime,
|
|
81
87
|
updatedAt: this._updatedAt
|
|
82
88
|
};
|
|
83
89
|
}
|
|
84
90
|
}
|
|
85
91
|
export {
|
|
86
|
-
|
|
92
|
+
A as FlowTypeView
|
|
87
93
|
};
|
|
@@ -2,9 +2,9 @@ import { c as m } from "../../_virtual/compiler-runtime.js";
|
|
|
2
2
|
import { useService as p, useStore as c } from "../../utils/contextStore.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "merge-props";
|
|
5
|
+
import "js-md5";
|
|
5
6
|
import "../d-flow/DFlow.js";
|
|
6
7
|
import { DFlowReactiveService as i } from "../d-flow/DFlow.service.js";
|
|
7
|
-
import "js-md5";
|
|
8
8
|
import "../d-flow-data-type/rules/DFlowDataTypeRegexRule.js";
|
|
9
9
|
import "../d-flow-data-type/rules/DFlowDataTypeNumberRangeRule.js";
|
|
10
10
|
import "../d-flow-data-type/rules/DFlowDataTypeItemOfCollectionRule.js";
|
|
@@ -6,12 +6,13 @@ import "../../utils/contextStore.js";
|
|
|
6
6
|
import { InspectionSeverity as l } from "../../utils/inspection.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import "merge-props";
|
|
9
|
+
import "js-md5";
|
|
9
10
|
import { Badge as p } from "../badge/Badge.js";
|
|
10
11
|
import { IconExclamationCircle as u, IconAlertTriangle as d, IconMessageExclamation as g } from "@tabler/icons-react";
|
|
11
12
|
import '../../assets/components/d-flow-validation/DFlowValidation.style.css';/* empty css */
|
|
12
13
|
import { Text as h } from "../text/Text.js";
|
|
13
14
|
import { useFlowValidation as R } from "./DFlowValidation.hook.js";
|
|
14
|
-
const
|
|
15
|
+
const C = (e) => {
|
|
15
16
|
const n = s.c(4), {
|
|
16
17
|
flowId: a
|
|
17
18
|
} = e, t = R(a);
|
|
@@ -62,5 +63,5 @@ function _(e) {
|
|
|
62
63
|
return e.type === l.GRAMMAR;
|
|
63
64
|
}
|
|
64
65
|
export {
|
|
65
|
-
|
|
66
|
+
C as DFlowValidation
|
|
66
67
|
};
|
|
@@ -4,10 +4,10 @@ import { DataTypeView as C } from "../d-flow-data-type/DFlowDataType.view.js";
|
|
|
4
4
|
import { useService as V, useStore as _ } from "../../utils/contextStore.js";
|
|
5
5
|
import { InspectionSeverity as P } from "../../utils/inspection.js";
|
|
6
6
|
import "merge-props";
|
|
7
|
+
import "js-md5";
|
|
7
8
|
import { resolveGenericKeys as U, replaceGenericKeysInType as q, replaceGenericKeysInDataTypeObject as z } from "../../utils/generics.js";
|
|
8
9
|
import { useReturnType as H } from "../d-flow-function/DFlowFunction.return.hook.js";
|
|
9
10
|
import { DFlowFunctionReactiveService as G } from "../d-flow-function/DFlowFunction.service.js";
|
|
10
|
-
import "js-md5";
|
|
11
11
|
import { useDataTypeValidation as O } from "./DDataTypeValidation.hook.js";
|
|
12
12
|
import { useValueValidation as w } from "./DValueValidation.hook.js";
|
|
13
13
|
import "../d-flow/DFlow.js";
|
|
@@ -2,11 +2,12 @@ import "../../utils/contextStore.js";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import { ReactiveArrayService as t } from "../../utils/reactiveArrayService.js";
|
|
4
4
|
import "merge-props";
|
|
5
|
-
|
|
5
|
+
import "js-md5";
|
|
6
|
+
class v extends t {
|
|
6
7
|
getById(e, i) {
|
|
7
8
|
return this.values(i).find((r) => r.id === e);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
+
v as DNamespaceLicenseReactiveService
|
|
12
13
|
};
|
|
@@ -2,6 +2,7 @@ import "../../utils/contextStore.js";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import { ReactiveArrayService as t } from "../../utils/reactiveArrayService.js";
|
|
4
4
|
import "merge-props";
|
|
5
|
+
import "js-md5";
|
|
5
6
|
class n extends t {
|
|
6
7
|
getById(i, r) {
|
|
7
8
|
return this.values(r).find((e) => e && e.id === i);
|
|
@@ -3,6 +3,7 @@ import a from "react";
|
|
|
3
3
|
import { Flex as i } from "../flex/Flex.js";
|
|
4
4
|
import { useService as y, useStore as f } from "../../utils/contextStore.js";
|
|
5
5
|
import "merge-props";
|
|
6
|
+
import "js-md5";
|
|
6
7
|
import { DNamespaceMemberReactiveService as M } from "./DNamespaceMember.service.js";
|
|
7
8
|
import { DUserReactiveService as I } from "../d-user/DUser.service.js";
|
|
8
9
|
import { Menu as w, MenuTrigger as T, MenuPortal as O, MenuContent as j, MenuLabel as m, MenuItem as b, MenuSeparator as _ } from "../menu/Menu.js";
|
|
@@ -30,7 +31,7 @@ import { DNamespaceRoleReactiveService as F } from "../d-role/DNamespaceRole.ser
|
|
|
30
31
|
import { DNamespaceRolePermissions as x } from "../d-role/DNamespaceRolePermissions.js";
|
|
31
32
|
import { Tooltip as le, TooltipTrigger as se, TooltipPortal as ce, TooltipContent as ae, TooltipArrow as de } from "../tooltip/Tooltip.js";
|
|
32
33
|
import { Dialog as L, DialogPortal as W, DialogContent as Y, DialogClose as h } from "../dialog/Dialog.js";
|
|
33
|
-
const
|
|
34
|
+
const qe = (E) => {
|
|
34
35
|
const {
|
|
35
36
|
memberId: S,
|
|
36
37
|
onAssignRole: V = () => {
|
|
@@ -220,5 +221,5 @@ const Ve = (E) => {
|
|
|
220
221
|
] });
|
|
221
222
|
};
|
|
222
223
|
export {
|
|
223
|
-
|
|
224
|
+
qe as DNamespaceMemberContent
|
|
224
225
|
};
|
|
@@ -2,22 +2,23 @@ import { jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import f from "react";
|
|
3
3
|
import { useService as u, useStore as l } from "../../utils/contextStore.js";
|
|
4
4
|
import "merge-props";
|
|
5
|
+
import "js-md5";
|
|
5
6
|
import { DNamespaceMemberReactiveService as t } from "./DNamespaceMember.service.js";
|
|
6
7
|
import { Card as v } from "../card/Card.js";
|
|
7
8
|
import S from "../card/CardSection.js";
|
|
8
9
|
import { DNamespaceMemberContent as b } from "./DNamespaceMemberContent.js";
|
|
9
|
-
const
|
|
10
|
+
const j = (m) => {
|
|
10
11
|
const {
|
|
11
12
|
namespaceId: o,
|
|
12
13
|
filter: i = () => !0,
|
|
13
14
|
onRemove: s,
|
|
14
15
|
onAssignRole: c,
|
|
15
16
|
...n
|
|
16
|
-
} = m,
|
|
17
|
+
} = m, p = u(t), a = l(t), d = f.useMemo(() => p.values({
|
|
17
18
|
namespaceId: o
|
|
18
|
-
}), [
|
|
19
|
+
}), [a, o]);
|
|
19
20
|
return /* @__PURE__ */ r(v, { ...n, children: d.filter(i).map((e) => e && e.id && /* @__PURE__ */ r(S, { border: !0, children: /* @__PURE__ */ r(b, { onRemove: s, onAssignRole: c, memberId: e?.id }) }, e.id)) });
|
|
20
21
|
};
|
|
21
22
|
export {
|
|
22
|
-
|
|
23
|
+
j as DNamespaceMemberList
|
|
23
24
|
};
|
|
@@ -2,11 +2,12 @@ import "../../utils/contextStore.js";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import { ReactiveArrayService as i } from "../../utils/reactiveArrayService.js";
|
|
4
4
|
import "merge-props";
|
|
5
|
-
|
|
5
|
+
import "js-md5";
|
|
6
|
+
class s extends i {
|
|
6
7
|
getById(r) {
|
|
7
8
|
return this.values().find((e) => e && e.id === r);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
+
s as DNamespaceReactiveService
|
|
12
13
|
};
|
|
@@ -2,11 +2,12 @@ import "../../utils/contextStore.js";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import { ReactiveArrayService as i } from "../../utils/reactiveArrayService.js";
|
|
4
4
|
import "merge-props";
|
|
5
|
-
|
|
5
|
+
import "js-md5";
|
|
6
|
+
class s extends i {
|
|
6
7
|
getById(r) {
|
|
7
8
|
return this.values().find((e) => e && e.id === r);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
+
s as DOrganizationReactiveService
|
|
12
13
|
};
|
|
@@ -3,21 +3,22 @@ import d from "react";
|
|
|
3
3
|
import { Card as u } from "../card/Card.js";
|
|
4
4
|
import { useService as S, useStore as l } from "../../utils/contextStore.js";
|
|
5
5
|
import "merge-props";
|
|
6
|
+
import "js-md5";
|
|
6
7
|
import { DOrganizationReactiveService as e } from "./DOrganization.service.js";
|
|
7
8
|
import v from "../card/CardSection.js";
|
|
8
9
|
import { DOrganizationContent as g } from "./DOrganizatonContent.js";
|
|
9
|
-
const
|
|
10
|
+
const j = (i) => {
|
|
10
11
|
const n = S(e), m = l(e), a = d.useMemo(() => n.values(), [m]), {
|
|
11
12
|
filter: c = () => !0,
|
|
12
13
|
onLeave: s,
|
|
13
|
-
onSetting:
|
|
14
|
+
onSetting: p,
|
|
14
15
|
onSelect: t,
|
|
15
|
-
...
|
|
16
|
+
...f
|
|
16
17
|
} = i;
|
|
17
|
-
return /* @__PURE__ */ o(u, { ...
|
|
18
|
+
return /* @__PURE__ */ o(u, { ...f, children: a.filter(c).map((r) => r.id && /* @__PURE__ */ o(v, { border: !0, hover: !0, onClick: () => {
|
|
18
19
|
t && t(r);
|
|
19
|
-
}, children: /* @__PURE__ */ o(g, { onLeave: s, onSetting:
|
|
20
|
+
}, children: /* @__PURE__ */ o(g, { onLeave: s, onSetting: p, organizationId: r?.id }) }, r.id)) });
|
|
20
21
|
};
|
|
21
22
|
export {
|
|
22
|
-
|
|
23
|
+
j as DOrganizationList
|
|
23
24
|
};
|
|
@@ -2,6 +2,7 @@ import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import n from "react";
|
|
3
3
|
import { useStore as c, useService as s } from "../../utils/contextStore.js";
|
|
4
4
|
import "merge-props";
|
|
5
|
+
import "js-md5";
|
|
5
6
|
import { Text as m } from "../text/Text.js";
|
|
6
7
|
import { DOrganizationReactiveService as v } from "./DOrganization.service.js";
|
|
7
8
|
import { IconFolders as k, IconUsers as L, IconServer as N, IconEdit as w, IconLogout as F } from "@tabler/icons-react";
|
|
@@ -33,7 +34,7 @@ import "@radix-ui/react-tooltip";
|
|
|
33
34
|
/* empty css */
|
|
34
35
|
import "@radix-ui/react-dialog";
|
|
35
36
|
/* empty css */
|
|
36
|
-
const
|
|
37
|
+
const Me = (I) => {
|
|
37
38
|
const {
|
|
38
39
|
organizationId: a,
|
|
39
40
|
onLeave: M = () => {
|
|
@@ -97,5 +98,5 @@ const Ie = (I) => {
|
|
|
97
98
|
] });
|
|
98
99
|
};
|
|
99
100
|
export {
|
|
100
|
-
|
|
101
|
+
Me as DOrganizationContent
|
|
101
102
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { DOrganizationReactiveService as
|
|
2
|
-
import { DOrganizationView as
|
|
1
|
+
import { DOrganizationReactiveService as C } from "./DOrganization.service.js";
|
|
2
|
+
import { DOrganizationView as F } from "./DOrganization.view.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "../../_virtual/compiler-runtime.js";
|
|
5
5
|
import '../../assets/components/dialog/Dialog.style.css';import '../../assets/components/tooltip/Tooltip.style.css';import '../../assets/components/form/Input.style.css';import '../../assets/components/badge/Badge.style.css';import '../../assets/components/menu/Menu.style.css';import '../../assets/components/avatar/Avatar.style.css';import '../../assets/components/spacing/Spacing.style.css';import '../../assets/components/flex/Flex.style.css';import '../../assets/components/text/Text.style.css';import '../../assets/components/card/Card.style.css';/* empty css */
|
|
6
|
-
import "react";
|
|
7
6
|
import "merge-props";
|
|
7
|
+
import "js-md5";
|
|
8
|
+
import "react";
|
|
8
9
|
import "../../utils/contextStore.js";
|
|
9
10
|
/* empty css */
|
|
10
11
|
import "@tabler/icons-react";
|
|
11
12
|
/* empty css */
|
|
12
13
|
import "../button/Button.js";
|
|
13
14
|
/* empty css */
|
|
14
|
-
import "js-md5";
|
|
15
15
|
/* empty css */
|
|
16
|
+
import "avvvatars-react";
|
|
16
17
|
/* empty css */
|
|
17
18
|
import "@radix-ui/react-dropdown-menu";
|
|
18
19
|
/* empty css */
|
|
@@ -31,9 +32,9 @@ import "@radix-ui/react-tooltip";
|
|
|
31
32
|
/* empty css */
|
|
32
33
|
import "@radix-ui/react-dialog";
|
|
33
34
|
/* empty css */
|
|
34
|
-
import { DOrganizationList as
|
|
35
|
+
import { DOrganizationList as H } from "./DOrganizationList.js";
|
|
35
36
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
H as DOrganizationList,
|
|
38
|
+
C as DOrganizationReactiveService,
|
|
39
|
+
F as DOrganizationView
|
|
39
40
|
};
|
|
@@ -2,11 +2,12 @@ import "../../utils/contextStore.js";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import { ReactiveArrayService as t } from "../../utils/reactiveArrayService.js";
|
|
4
4
|
import "merge-props";
|
|
5
|
-
|
|
5
|
+
import "js-md5";
|
|
6
|
+
class v extends t {
|
|
6
7
|
getById(r, i) {
|
|
7
8
|
return this.values(i).find((e) => e && e.id === r);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
+
v as DNamespaceProjectReactiveService
|
|
12
13
|
};
|
|
@@ -2,6 +2,7 @@ import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useService as a } from "../../utils/contextStore.js";
|
|
3
3
|
import p from "react";
|
|
4
4
|
import "merge-props";
|
|
5
|
+
import "js-md5";
|
|
5
6
|
import { Flex as t } from "../flex/Flex.js";
|
|
6
7
|
import { DNamespaceProjectReactiveService as y } from "./DNamespaceProject.service.js";
|
|
7
8
|
import { Avatar as g } from "../avatar/Avatar.js";
|
|
@@ -12,7 +13,7 @@ import { DRuntimeReactiveService as b } from "../d-runtime/DRuntime.service.js";
|
|
|
12
13
|
import "../../_virtual/compiler-runtime.js";
|
|
13
14
|
import '../../assets/components/card/Card.style.css';/* empty css */
|
|
14
15
|
import { Button as S } from "../button/Button.js";
|
|
15
|
-
const
|
|
16
|
+
const U = (d) => {
|
|
16
17
|
const {
|
|
17
18
|
projectId: s,
|
|
18
19
|
onSetting: u = () => {
|
|
@@ -67,5 +68,5 @@ const T = (d) => {
|
|
|
67
68
|
] });
|
|
68
69
|
};
|
|
69
70
|
export {
|
|
70
|
-
|
|
71
|
+
U as DNamespaceProjectContent
|
|
71
72
|
};
|
|
@@ -3,10 +3,11 @@ import f from "react";
|
|
|
3
3
|
import { Card as u } from "../card/Card.js";
|
|
4
4
|
import { useService as S, useStore as l } from "../../utils/contextStore.js";
|
|
5
5
|
import "merge-props";
|
|
6
|
+
import "js-md5";
|
|
6
7
|
import { DNamespaceProjectReactiveService as i } from "./DNamespaceProject.service.js";
|
|
7
8
|
import v from "../card/CardSection.js";
|
|
8
9
|
import { DNamespaceProjectContent as j } from "./DNamespaceProjectContent.js";
|
|
9
|
-
const
|
|
10
|
+
const g = (c) => {
|
|
10
11
|
const {
|
|
11
12
|
namespaceId: t,
|
|
12
13
|
filter: m = () => !0,
|
|
@@ -21,5 +22,5 @@ const b = (c) => {
|
|
|
21
22
|
}, children: /* @__PURE__ */ r(j, { onSetting: s, projectId: e?.id }) }, e.id)) });
|
|
22
23
|
};
|
|
23
24
|
export {
|
|
24
|
-
|
|
25
|
+
g as DNamespaceProjectList
|
|
25
26
|
};
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { DNamespaceProjectReactiveService as
|
|
2
|
-
import { DNamespaceProjectView as
|
|
3
|
-
import { DNamespaceProjectCard as
|
|
4
|
-
import { DNamespaceProjectList as
|
|
1
|
+
import { DNamespaceProjectReactiveService as C } from "./DNamespaceProject.service.js";
|
|
2
|
+
import { DNamespaceProjectView as R } from "./DNamespaceProject.view.js";
|
|
3
|
+
import { DNamespaceProjectCard as V } from "./DNamespaceProjectCard.js";
|
|
4
|
+
import { DNamespaceProjectList as g } from "./DNamespaceProjectList.js";
|
|
5
5
|
import "react/jsx-runtime";
|
|
6
6
|
import "react";
|
|
7
7
|
import "../../_virtual/compiler-runtime.js";
|
|
8
8
|
import '../../assets/components/spacing/Spacing.style.css';import '../../assets/components/card/Card.style.css';import '../../assets/components/badge/Badge.style.css';import '../../assets/components/text/Text.style.css';import '../../assets/components/avatar/Avatar.style.css';import '../../assets/components/flex/Flex.style.css';import '../../assets/components/menu/Menu.style.css';/* empty css */
|
|
9
9
|
import "merge-props";
|
|
10
|
+
import "js-md5";
|
|
10
11
|
import "@radix-ui/react-dropdown-menu";
|
|
11
12
|
import "../../utils/contextStore.js";
|
|
12
13
|
import "../button/Button.js";
|
|
13
14
|
/* empty css */
|
|
14
|
-
import "js-md5";
|
|
15
15
|
/* empty css */
|
|
16
|
+
import "avvvatars-react";
|
|
16
17
|
/* empty css */
|
|
17
18
|
/* empty css */
|
|
18
19
|
import "@tabler/icons-react";
|
|
19
20
|
/* empty css */
|
|
20
21
|
/* empty css */
|
|
21
22
|
export {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
V as DNamespaceProjectCard,
|
|
24
|
+
g as DNamespaceProjectList,
|
|
25
|
+
C as DNamespaceProjectReactiveService,
|
|
26
|
+
R as DNamespaceProjectView
|
|
26
27
|
};
|
|
@@ -2,11 +2,12 @@ import "../../utils/contextStore.js";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import { ReactiveArrayService as t } from "../../utils/reactiveArrayService.js";
|
|
4
4
|
import "merge-props";
|
|
5
|
-
|
|
5
|
+
import "js-md5";
|
|
6
|
+
class v extends t {
|
|
6
7
|
getById(i, r) {
|
|
7
8
|
return this.values(r).find((e) => e && e.id === i);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
+
v as DNamespaceRoleReactiveService
|
|
12
13
|
};
|
|
@@ -3,6 +3,7 @@ import g from "react";
|
|
|
3
3
|
import { Flex as o } from "../flex/Flex.js";
|
|
4
4
|
import { useService as a, useStore as d } from "../../utils/contextStore.js";
|
|
5
5
|
import "merge-props";
|
|
6
|
+
import "js-md5";
|
|
6
7
|
import { DNamespaceRoleReactiveService as x } from "./DNamespaceRole.service.js";
|
|
7
8
|
import { Text as n } from "../text/Text.js";
|
|
8
9
|
import { Button as u } from "../button/Button.js";
|
|
@@ -33,7 +34,7 @@ import { Tooltip as R, TooltipTrigger as A, TooltipPortal as j, TooltipContent a
|
|
|
33
34
|
import "@radix-ui/react-dialog";
|
|
34
35
|
/* empty css */
|
|
35
36
|
import { DNamespaceProjectReactiveService as P } from "../d-project/DNamespaceProject.service.js";
|
|
36
|
-
const
|
|
37
|
+
const Pe = (w) => {
|
|
37
38
|
const {
|
|
38
39
|
roleId: h,
|
|
39
40
|
onSetting: I = () => {
|
|
@@ -158,5 +159,5 @@ const Ce = (w) => {
|
|
|
158
159
|
] });
|
|
159
160
|
};
|
|
160
161
|
export {
|
|
161
|
-
|
|
162
|
+
Pe as DNamespaceRoleContent
|
|
162
163
|
};
|
|
@@ -4,21 +4,22 @@ import u from "react";
|
|
|
4
4
|
import { Card as S } from "../card/Card.js";
|
|
5
5
|
import { useService as v, useStore as R } from "../../utils/contextStore.js";
|
|
6
6
|
import "merge-props";
|
|
7
|
+
import "js-md5";
|
|
7
8
|
import { DNamespaceRoleReactiveService as t } from "./DNamespaceRole.service.js";
|
|
8
9
|
import M from "../card/CardSection.js";
|
|
9
|
-
const
|
|
10
|
+
const V = (i) => {
|
|
10
11
|
const {
|
|
11
12
|
namespaceId: o,
|
|
12
13
|
filter: m = () => !0,
|
|
13
14
|
onSetting: s,
|
|
14
15
|
onProjectsViewMore: c,
|
|
15
16
|
onMembersViewMore: n,
|
|
16
|
-
...
|
|
17
|
-
} = i,
|
|
17
|
+
...p
|
|
18
|
+
} = i, a = v(t), d = R(t), l = u.useMemo(() => a.values({
|
|
18
19
|
namespaceId: o
|
|
19
20
|
}), [d, o]);
|
|
20
|
-
return /* @__PURE__ */ r(S, { ...
|
|
21
|
+
return /* @__PURE__ */ r(S, { ...p, children: l.filter(m).map((e) => e.id && /* @__PURE__ */ r(M, { border: !0, children: /* @__PURE__ */ r(f, { onSetting: s, onProjectsViewMore: c, onMembersViewMore: n, roleId: e?.id }) }, e.id)) });
|
|
21
22
|
};
|
|
22
23
|
export {
|
|
23
|
-
|
|
24
|
+
V as DNamespaceRoleList
|
|
24
25
|
};
|
|
@@ -6,9 +6,10 @@ import { IconEdit as y } from "@tabler/icons-react";
|
|
|
6
6
|
import { Button as f } from "../button/Button.js";
|
|
7
7
|
import { useService as g, useStore as C } from "../../utils/contextStore.js";
|
|
8
8
|
import "merge-props";
|
|
9
|
+
import "js-md5";
|
|
9
10
|
import { DRuntimeReactiveService as l } from "./DRuntime.service.js";
|
|
10
11
|
import { Badge as s } from "../badge/Badge.js";
|
|
11
|
-
const
|
|
12
|
+
const I = (m) => {
|
|
12
13
|
const {
|
|
13
14
|
runtimeId: o,
|
|
14
15
|
minimized: c = !1,
|
|
@@ -41,5 +42,5 @@ const T = (m) => {
|
|
|
41
42
|
] });
|
|
42
43
|
};
|
|
43
44
|
export {
|
|
44
|
-
|
|
45
|
+
I as DRuntimeContent
|
|
45
46
|
};
|
|
@@ -3,10 +3,11 @@ import { Card as a } from "../card/Card.js";
|
|
|
3
3
|
import S from "react";
|
|
4
4
|
import { useService as l, useStore as v } from "../../utils/contextStore.js";
|
|
5
5
|
import "merge-props";
|
|
6
|
+
import "js-md5";
|
|
6
7
|
import { DRuntimeReactiveService as m } from "./DRuntime.service.js";
|
|
7
8
|
import R from "../card/CardSection.js";
|
|
8
9
|
import { DRuntimeContent as C } from "./DRuntimeContent.js";
|
|
9
|
-
const
|
|
10
|
+
const L = (n) => {
|
|
10
11
|
const {
|
|
11
12
|
namespaceId: t,
|
|
12
13
|
minimized: i = !1,
|
|
@@ -24,5 +25,5 @@ const k = (n) => {
|
|
|
24
25
|
}, children: /* @__PURE__ */ r(C, { minimized: i, onSetting: s, runtimeId: e?.id }) }, e.id)) });
|
|
25
26
|
};
|
|
26
27
|
export {
|
|
27
|
-
|
|
28
|
+
L as DRuntimeList
|
|
28
29
|
};
|
|
@@ -2,7 +2,8 @@ import "../../utils/contextStore.js";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import { ReactiveArrayService as t } from "../../utils/reactiveArrayService.js";
|
|
4
4
|
import "merge-props";
|
|
5
|
-
|
|
5
|
+
import "js-md5";
|
|
6
|
+
class p extends t {
|
|
6
7
|
//TODO: inject UI error handler for toasts
|
|
7
8
|
//no id's need to be injected here because the root query has a users field
|
|
8
9
|
getById(r) {
|
|
@@ -13,5 +14,5 @@ class o extends t {
|
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
16
|
export {
|
|
16
|
-
|
|
17
|
+
p as DUserReactiveService
|
|
17
18
|
};
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { jsxs as r, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
3
|
import { Flex as t } from "../flex/Flex.js";
|
|
4
|
-
import { Avatar as
|
|
4
|
+
import { Avatar as u } from "../avatar/Avatar.js";
|
|
5
5
|
import { useUserSession as h } from "./DUser.session.hook.js";
|
|
6
6
|
import { useService as f, useStore as y } from "../../utils/contextStore.js";
|
|
7
7
|
import "merge-props";
|
|
8
|
+
import "js-md5";
|
|
8
9
|
import { DUserReactiveService as c } from "./DUser.service.js";
|
|
9
10
|
import { Text as n } from "../text/Text.js";
|
|
10
11
|
import { Badge as l } from "../badge/Badge.js";
|
|
11
12
|
import { IconMailCheck as g } from "@tabler/icons-react";
|
|
12
13
|
import "../button/Button.js";
|
|
13
|
-
const
|
|
14
|
+
const F = (a) => {
|
|
14
15
|
const {
|
|
15
16
|
userId: s,
|
|
16
17
|
onRemove: v = () => {
|
|
17
18
|
},
|
|
18
19
|
...S
|
|
19
|
-
} = a, d = f(c),
|
|
20
|
+
} = a, d = f(c), p = y(c), m = h(), [x, z] = o.useState(!1), e = o.useMemo(() => d.getById(s), [p, s]);
|
|
20
21
|
return o.useMemo(() => m?.user?.id === e?.id, [m, e]), /* @__PURE__ */ r(t, { justify: "space-between", align: "center", children: [
|
|
21
22
|
/* @__PURE__ */ r(t, { style: {
|
|
22
23
|
gap: ".7rem"
|
|
23
24
|
}, align: "center", children: [
|
|
24
|
-
/* @__PURE__ */ i(
|
|
25
|
+
/* @__PURE__ */ i(u, { identifier: e?.username, bg: "transparent" }),
|
|
25
26
|
/* @__PURE__ */ r(t, { style: {
|
|
26
27
|
gap: ".35rem",
|
|
27
28
|
flexDirection: "column"
|
|
@@ -47,5 +48,5 @@ const E = (a) => {
|
|
|
47
48
|
] });
|
|
48
49
|
};
|
|
49
50
|
export {
|
|
50
|
-
|
|
51
|
+
F as DUserContent
|
|
51
52
|
};
|
|
@@ -3,6 +3,7 @@ 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 "js-md5";
|
|
6
7
|
import { IconArrowUp as S, IconArrowDown as b, IconCornerDownLeft as D } from "@tabler/icons-react";
|
|
7
8
|
import '../../assets/components/form/Input.style.css';/* empty css */
|
|
8
9
|
import "../form/EmailInput.js";
|
|
@@ -21,7 +22,7 @@ import { DUserReactiveService as g } from "./DUser.service.js";
|
|
|
21
22
|
import { MenuLabel as w, MenuItem as z } from "../menu/Menu.js";
|
|
22
23
|
import { Flex as s } from "../flex/Flex.js";
|
|
23
24
|
import { Spacing as B } from "../spacing/Spacing.js";
|
|
24
|
-
const
|
|
25
|
+
const ee = (p) => {
|
|
25
26
|
const {
|
|
26
27
|
filter: h = () => !0,
|
|
27
28
|
...d
|
|
@@ -96,5 +97,5 @@ const P = (p) => {
|
|
|
96
97
|
}, ...d, suggestions: v });
|
|
97
98
|
};
|
|
98
99
|
export {
|
|
99
|
-
|
|
100
|
+
ee as DUserInput
|
|
100
101
|
};
|
|
@@ -2,21 +2,22 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import d from "react";
|
|
3
3
|
import { useService as u, useStore as l } from "../../utils/contextStore.js";
|
|
4
4
|
import "merge-props";
|
|
5
|
+
import "js-md5";
|
|
5
6
|
import { DUserReactiveService as t } from "./DUser.service.js";
|
|
6
7
|
import { Card as v } from "../card/Card.js";
|
|
7
8
|
import S from "../card/CardSection.js";
|
|
8
9
|
import { DUserContent as a } from "./DUserContent.js";
|
|
9
|
-
const
|
|
10
|
+
const I = (i) => {
|
|
10
11
|
const {
|
|
11
12
|
filter: m = () => !0,
|
|
12
13
|
onRemove: s,
|
|
13
14
|
onSelect: o,
|
|
14
15
|
...c
|
|
15
|
-
} = i, n = u(t),
|
|
16
|
-
return /* @__PURE__ */ e(v, { ...c, children:
|
|
16
|
+
} = i, n = u(t), p = l(t), f = d.useMemo(() => n.values(), [p]);
|
|
17
|
+
return /* @__PURE__ */ e(v, { ...c, children: f.filter(m).map((r) => r && r.id && /* @__PURE__ */ e(S, { border: !0, hover: !0, onClick: () => {
|
|
17
18
|
o && o(r);
|
|
18
19
|
}, children: /* @__PURE__ */ e(a, { onRemove: s, userId: r?.id }) }, r.id)) });
|
|
19
20
|
};
|
|
20
21
|
export {
|
|
21
|
-
|
|
22
|
+
I as DUserList
|
|
22
23
|
};
|