@code0-tech/pictor 0.0.0-mvp.14 → 0.0.0-mvp.15
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/button/Button.style.css +1 -1
- package/dist/assets/components/card/Card.style.css +1 -1
- package/dist/components/button/Button.d.ts +2 -1
- package/dist/components/button/Button.js +22 -20
- package/dist/components/card/Card.d.ts +2 -1
- package/dist/components/card/Card.js +24 -21
- package/dist/components/{d-namespace/license → d-license}/DNamespaceLicense.service.d.ts +1 -1
- package/dist/components/{d-namespace/license → d-license}/DNamespaceLicense.service.js +1 -1
- package/dist/components/d-license/index.d.ts +2 -0
- package/dist/components/d-license/index.js +6 -0
- package/dist/components/{d-namespace/member → d-member}/DNamespaceMember.service.d.ts +3 -2
- package/dist/components/d-member/DNamespaceMember.service.js +14 -0
- package/dist/components/{d-namespace/member → d-member}/DNamespaceMember.view.d.ts +4 -1
- package/dist/components/{d-namespace/member → d-member}/DNamespaceMember.view.js +4 -1
- package/dist/components/d-member/index.d.ts +2 -0
- package/dist/components/d-member/index.js +6 -0
- package/dist/components/d-namespace/index.d.ts +0 -10
- package/dist/components/d-namespace/index.js +4 -33
- package/dist/components/d-organization/DOrganization.service.d.ts +2 -2
- package/dist/components/d-organization/DOrganization.view.d.ts +4 -1
- package/dist/components/d-organization/DOrganization.view.js +21 -18
- package/dist/components/d-organization/DOrganizationCard.d.ts +3 -3
- package/dist/components/d-organization/DOrganizationCard.js +13 -76
- package/dist/components/d-organization/DOrganizationList.d.ts +10 -0
- package/dist/components/d-organization/DOrganizationList.js +20 -0
- package/dist/components/d-organization/DOrganizatonContent.d.ts +9 -0
- package/dist/components/d-organization/DOrganizatonContent.js +82 -0
- package/dist/components/d-organization/index.d.ts +1 -0
- package/dist/components/d-organization/index.js +8 -5
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProject.service.d.ts +1 -1
- package/dist/components/d-project/DNamespaceProject.service.js +14 -0
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProject.view.d.ts +4 -1
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProject.view.js +13 -10
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProjectCard.d.ts +1 -1
- package/dist/components/d-project/DNamespaceProjectCard.js +15 -0
- package/dist/components/d-project/DNamespaceProjectContent.d.ts +8 -0
- package/dist/components/d-project/DNamespaceProjectContent.js +68 -0
- package/dist/components/d-project/DNamespaceProjectList.d.ts +9 -0
- package/dist/components/d-project/DNamespaceProjectList.js +19 -0
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProjectMenu.d.ts +1 -1
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProjectMenu.js +3 -3
- package/dist/components/d-project/index.d.ts +5 -0
- package/dist/components/d-project/index.js +24 -0
- package/dist/components/{d-namespace/role → d-role}/DNamespaceRole.service.d.ts +1 -1
- package/dist/components/{d-namespace/role → d-role}/DNamespaceRole.service.js +1 -1
- package/dist/components/d-role/index.d.ts +2 -0
- package/dist/components/d-role/index.js +6 -0
- package/dist/components/d-runtime/DRuntime.view.d.ts +4 -1
- package/dist/components/d-runtime/DRuntime.view.js +6 -3
- package/dist/components/d-runtime/DRuntimeCard.d.ts +7 -0
- package/dist/components/d-runtime/DRuntimeCard.js +17 -0
- package/dist/components/d-runtime/DRuntimeContent.d.ts +7 -0
- package/dist/components/d-runtime/DRuntimeContent.js +38 -0
- package/dist/components/d-runtime/DRuntimeList.d.ts +9 -0
- package/dist/components/d-runtime/DRuntimeList.js +19 -0
- package/dist/components/d-runtime/index.d.ts +2 -0
- package/dist/components/d-runtime/index.js +6 -2
- package/dist/components/d-user/DUser.view.d.ts +4 -1
- package/dist/components/d-user/DUser.view.js +13 -10
- package/dist/components/d-user/DUserCard.d.ts +7 -0
- package/dist/components/d-user/DUserCard.js +15 -0
- package/dist/components/d-user/DUserContent.d.ts +7 -0
- package/dist/components/d-user/DUserContent.js +84 -0
- package/dist/components/d-user/DUserList.d.ts +9 -0
- package/dist/components/d-user/DUserList.js +19 -0
- package/dist/components/d-user/index.d.ts +2 -0
- package/dist/components/d-user/index.js +11 -7
- package/dist/components/form/useForm.d.ts +2 -1
- package/dist/components/form/useForm.js +27 -18
- package/dist/index.d.ts +4 -0
- package/dist/index.js +184 -172
- package/package.json +11 -10
- package/dist/components/d-namespace/member/DNamespaceMember.service.js +0 -11
- package/dist/components/d-namespace/project/DNamespaceProject.service.js +0 -11
- package/dist/components/d-namespace/project/DNamespaceProjectCard.js +0 -57
- /package/dist/components/{d-namespace/license → d-license}/DNamespaceLicense.view.d.ts +0 -0
- /package/dist/components/{d-namespace/license → d-license}/DNamespaceLicense.view.js +0 -0
- /package/dist/components/{d-namespace/role → d-role}/DNamespaceRole.view.d.ts +0 -0
- /package/dist/components/{d-namespace/role → d-role}/DNamespaceRole.view.js +0 -0
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Alert as m } from "./components/alert/Alert.js";
|
|
2
2
|
import { Avatar as n } from "./components/avatar/Avatar.js";
|
|
3
|
-
import { Badge as
|
|
3
|
+
import { Badge as f } from "./components/badge/Badge.js";
|
|
4
4
|
import { Breadcrumb as c } from "./components/breadcrumb/Breadcrumb.js";
|
|
5
5
|
import { Button as s } from "./components/button/Button.js";
|
|
6
6
|
import { ButtonGroup as g } from "./components/button-group/ButtonGroup.js";
|
|
7
7
|
import { Card as w } from "./components/card/Card.js";
|
|
8
8
|
import { Col as d } from "./components/col/Col.js";
|
|
9
|
-
import { Command as
|
|
9
|
+
import { Command as F, CommandDialog as R, CommandEmpty as T, CommandGroup as I, CommandInput as b, CommandItem as V, CommandList as M, CommandSeparator as P, CommandShortcut as N } from "./components/command/Command.js";
|
|
10
10
|
import { Container as y } from "./components/container/Container.js";
|
|
11
|
-
import { FlowSettingView as
|
|
12
|
-
import { DFlowReactiveService as
|
|
13
|
-
import { FLOW_EDGE_RAINBOW as
|
|
11
|
+
import { FlowSettingView as O, FlowView as G, NodeFunctionView as U, NodeParameterView as z } 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 B, useFlowEdges as H } from "./components/d-flow/DFlow.edges.hook.js";
|
|
14
14
|
import { useFlowNodes as _ } from "./components/d-flow/DFlow.nodes.hook.js";
|
|
15
15
|
import { DFlow as K } from "./components/d-flow/DFlow.js";
|
|
16
16
|
import { DFlowControl as q } from "./components/d-flow/control/DFlowControl.js";
|
|
@@ -20,82 +20,88 @@ import { DFlowFolder as ee, DFlowFolderGroup as oe, DFlowFolderItem as re } from
|
|
|
20
20
|
import { DFlowFunctionReactiveService as ie } from "./components/d-flow/function/DFlowFunction.service.js";
|
|
21
21
|
import { FunctionDefinitionView as me, ParameterDefinitionView as ae } from "./components/d-flow/function/DFlowFunction.view.js";
|
|
22
22
|
import { DFlowMiniMap as xe } from "./components/d-flow/minimap/DFlowMiniMap.js";
|
|
23
|
-
import { DFlowReactiveSuggestionService as
|
|
23
|
+
import { DFlowReactiveSuggestionService as le } from "./components/d-flow/suggestion/DFlowSuggestion.service.js";
|
|
24
24
|
import { DFlowSuggestion as ue, DFlowSuggestionType as se } from "./components/d-flow/suggestion/DFlowSuggestion.view.js";
|
|
25
25
|
import { DFlowTypeReactiveService as ge } from "./components/d-flow/type/DFlowType.service.js";
|
|
26
26
|
import { FlowTypeView as we } from "./components/d-flow/type/DFlowType.view.js";
|
|
27
27
|
import { useDFlowValidations as de } from "./components/d-flow/validation/DFlowValidation.hook.js";
|
|
28
|
-
import { DFlowValidation as
|
|
28
|
+
import { DFlowValidation as Fe } from "./components/d-flow/validation/DFlowValidation.js";
|
|
29
29
|
import { DFullScreen as Te } from "./components/d-fullscreen/DFullScreen.js";
|
|
30
30
|
import { DLayout as be } from "./components/d-layout/DLayout.js";
|
|
31
|
-
import { DNamespaceLicenseReactiveService as Me } from "./components/d-
|
|
32
|
-
import { DNamespaceLicenseView as Ne } from "./components/d-
|
|
33
|
-
import { DNamespaceMemberReactiveService as ye } from "./components/d-
|
|
34
|
-
import { DNamespaceMemberView as
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
31
|
+
import { DNamespaceLicenseReactiveService as Me } from "./components/d-license/DNamespaceLicense.service.js";
|
|
32
|
+
import { DNamespaceLicenseView as Ne } from "./components/d-license/DNamespaceLicense.view.js";
|
|
33
|
+
import { DNamespaceMemberReactiveService as ye } from "./components/d-member/DNamespaceMember.service.js";
|
|
34
|
+
import { DNamespaceMemberView as Oe } from "./components/d-member/DNamespaceMember.view.js";
|
|
35
|
+
import { DNamespaceReactiveService as Ue } from "./components/d-namespace/DNamespace.service.js";
|
|
36
|
+
import { DNamespaceView as Ee } from "./components/d-namespace/DNamespace.view.js";
|
|
37
|
+
import { DOrganizationReactiveService as je } from "./components/d-organization/DOrganization.service.js";
|
|
38
|
+
import { DOrganizationView as He } from "./components/d-organization/DOrganization.view.js";
|
|
37
39
|
import "react/jsx-runtime";
|
|
40
|
+
import "./_virtual/compiler-runtime.js";
|
|
38
41
|
import "react";
|
|
39
|
-
import {
|
|
42
|
+
import { ContextStore as _e, ContextStoreProvider as ke, useService as Ke, useStore as Qe } from "./utils/contextStore.js";
|
|
43
|
+
import { InspectionSeverity as Je } from "./utils/inspection.js";
|
|
44
|
+
import { NonReactiveArrayService as Ye, createNonReactiveArrayService as Ze } from "./utils/nonReactiveArrayService.js";
|
|
45
|
+
import { ObjectService as eo, createObjectService as oo } from "./utils/objectStore.js";
|
|
46
|
+
import { ReactiveArrayService as to, useReactiveArrayService as io } from "./utils/reactiveArrayService.js";
|
|
47
|
+
import { Colors as mo } from "./utils/types.js";
|
|
48
|
+
import { getChild as no, getContent as xo, getPositionAroundTarget as fo, getPositioning as lo, getWindowPositioning as co, mergeCode0Props as uo, parseUnit as so } from "./utils/utils.js";
|
|
49
|
+
import { Text as go } from "./components/text/Text.js";
|
|
40
50
|
import "@tabler/icons-react";
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import "./
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import { NonReactiveArrayService as ut, createNonReactiveArrayService as st } from "./utils/nonReactiveArrayService.js";
|
|
84
|
-
import { ObjectService as gt, createObjectService as St } from "./utils/objectStore.js";
|
|
85
|
-
import { ReactiveArrayService as vt, useReactiveArrayService as dt } from "./utils/reactiveArrayService.js";
|
|
86
|
-
import { Colors as Ct } from "./utils/types.js";
|
|
51
|
+
import { Flex as wo } from "./components/flex/Flex.js";
|
|
52
|
+
import { Spacing as Co } from "./components/spacing/Spacing.js";
|
|
53
|
+
import { DUserReactiveService as Ro } from "./components/d-user/DUser.service.js";
|
|
54
|
+
import { DUserView as Io } from "./components/d-user/DUser.view.js";
|
|
55
|
+
import { Menu as Vo, MenuArrow as Mo, MenuContent as Po, MenuGroup as No, MenuItem as Ao, MenuLabel as yo, MenuPortal as Lo, MenuSeparator as Oo, MenuSub as Go, MenuSubContent as Uo, MenuSubTrigger as zo, MenuTrigger as Eo } from "./components/menu/Menu.js";
|
|
56
|
+
import { DUserCard as jo } from "./components/d-user/DUserCard.js";
|
|
57
|
+
import { DUserList as Ho } from "./components/d-user/DUserList.js";
|
|
58
|
+
import { setUserSession as _o, useUserSession as ko } from "./components/d-user/DUser.session.hook.js";
|
|
59
|
+
import { DOrganizationList as Qo } from "./components/d-organization/DOrganizationList.js";
|
|
60
|
+
import { DNamespaceProjectReactiveService as Jo } from "./components/d-project/DNamespaceProject.service.js";
|
|
61
|
+
import { DNamespaceProjectView as Yo } from "./components/d-project/DNamespaceProject.view.js";
|
|
62
|
+
import { DRuntimeReactiveService as $o } from "./components/d-runtime/DRuntime.service.js";
|
|
63
|
+
import { DRuntimeView as or } from "./components/d-runtime/DRuntime.view.js";
|
|
64
|
+
import { DRuntimeCard as tr } from "./components/d-runtime/DRuntimeCard.js";
|
|
65
|
+
import { DRuntimeList as pr } from "./components/d-runtime/DRuntimeList.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 ur } from "./components/d-role/DNamespaceRole.service.js";
|
|
69
|
+
import { DNamespaceRoleView as Dr } from "./components/d-role/DNamespaceRole.view.js";
|
|
70
|
+
import { Dialog as Sr, DialogClose as wr, DialogContent as vr, DialogDescription as dr, DialogFooter as Cr, DialogHeader as Fr, DialogOverlay as Rr, DialogPortal as Tr, DialogTitle as Ir, DialogTrigger as br } from "./components/dialog/Dialog.js";
|
|
71
|
+
import { CheckboxInput as Mr } from "./components/form/CheckboxInput.js";
|
|
72
|
+
import { EmailInput as Nr, emailValidation as Ar } from "./components/form/EmailInput.js";
|
|
73
|
+
import { Input as Lr, setElementKey as Or } from "./components/form/Input.js";
|
|
74
|
+
import { InputDescription as Ur } from "./components/form/InputDescription.js";
|
|
75
|
+
import { InputLabel as Er } from "./components/form/InputLabel.js";
|
|
76
|
+
import { InputMessage as jr } from "./components/form/InputMessage.js";
|
|
77
|
+
import { InputSuggestionMenuContent as Hr, InputSuggestionMenuContentItems as Wr } from "./components/form/InputSuggestion.js";
|
|
78
|
+
import { NumberInput as kr } from "./components/form/NumberInput.js";
|
|
79
|
+
import { PasswordInput as Qr } from "./components/form/PasswordInput.js";
|
|
80
|
+
import { PinInput as Jr, PinInputField as Xr, PinInputHiddenField as Yr } from "./components/form/PinInput.js";
|
|
81
|
+
import { RadioGroup as $r } from "./components/form/RadioGroup.js";
|
|
82
|
+
import { RadioInput as ot } from "./components/form/RadioInput.js";
|
|
83
|
+
import { SwitchInput as tt } from "./components/form/SwitchInput.js";
|
|
84
|
+
import { TextInput as pt } from "./components/form/TextInput.js";
|
|
85
|
+
import { useForm as at } from "./components/form/useForm.js";
|
|
86
|
+
import { Quote as xt } from "./components/quote/Quote.js";
|
|
87
|
+
import { Row as lt } from "./components/row/Row.js";
|
|
88
|
+
import { ScrollArea as ut, ScrollAreaCorner as st, ScrollAreaScrollbar as Dt, ScrollAreaThumb as gt, ScrollAreaViewport as St } from "./components/scroll-area/ScrollArea.js";
|
|
89
|
+
import { SegmentedControl as vt, SegmentedControlItem as dt } from "./components/segmented-control/SegmentedControl.js";
|
|
90
|
+
import { Tab as Ft, TabContent as Rt, TabList as Tt, TabTrigger as It } from "./components/tab/Tab.js";
|
|
91
|
+
import { Toast as Vt, toast as Mt } from "./components/toast/Toast.js";
|
|
92
|
+
import { Tooltip as Nt, TooltipArrow as At, TooltipContent as yt, TooltipPortal as Lt, TooltipTrigger as Ot } from "./components/tooltip/Tooltip.js";
|
|
87
93
|
export {
|
|
88
94
|
m as Alert,
|
|
89
95
|
n as Avatar,
|
|
90
|
-
|
|
96
|
+
f as Badge,
|
|
91
97
|
c as Breadcrumb,
|
|
92
98
|
s as Button,
|
|
93
99
|
g as ButtonGroup,
|
|
94
100
|
w as Card,
|
|
95
|
-
|
|
101
|
+
Mr as CheckboxInput,
|
|
96
102
|
d as Col,
|
|
97
|
-
|
|
98
|
-
|
|
103
|
+
mo as Colors,
|
|
104
|
+
F as Command,
|
|
99
105
|
R as CommandDialog,
|
|
100
106
|
T as CommandEmpty,
|
|
101
107
|
I as CommandGroup,
|
|
@@ -105,8 +111,8 @@ export {
|
|
|
105
111
|
P as CommandSeparator,
|
|
106
112
|
N as CommandShortcut,
|
|
107
113
|
y as Container,
|
|
108
|
-
|
|
109
|
-
|
|
114
|
+
_e as ContextStore,
|
|
115
|
+
ke as ContextStoreProvider,
|
|
110
116
|
K as DFlow,
|
|
111
117
|
q as DFlowControl,
|
|
112
118
|
X as DFlowDataTypeReactiveService,
|
|
@@ -115,125 +121,131 @@ export {
|
|
|
115
121
|
re as DFlowFolderItem,
|
|
116
122
|
ie as DFlowFunctionReactiveService,
|
|
117
123
|
xe as DFlowMiniMap,
|
|
118
|
-
|
|
119
|
-
|
|
124
|
+
h as DFlowReactiveService,
|
|
125
|
+
le as DFlowReactiveSuggestionService,
|
|
120
126
|
ue as DFlowSuggestion,
|
|
121
127
|
se as DFlowSuggestionType,
|
|
122
128
|
ge as DFlowTypeReactiveService,
|
|
123
|
-
|
|
129
|
+
Fe as DFlowValidation,
|
|
124
130
|
Te as DFullScreen,
|
|
125
131
|
be as DLayout,
|
|
126
132
|
Me as DNamespaceLicenseReactiveService,
|
|
127
133
|
Ne as DNamespaceLicenseView,
|
|
128
134
|
ye as DNamespaceMemberReactiveService,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
135
|
+
Oe as DNamespaceMemberView,
|
|
136
|
+
ar as DNamespaceProjectList,
|
|
137
|
+
Jo as DNamespaceProjectReactiveService,
|
|
138
|
+
Yo as DNamespaceProjectView,
|
|
139
|
+
Ue as DNamespaceReactiveService,
|
|
140
|
+
ur as DNamespaceRoleReactiveService,
|
|
141
|
+
Dr as DNamespaceRoleView,
|
|
142
|
+
Ee as DNamespaceView,
|
|
143
|
+
Qo as DOrganizationList,
|
|
144
|
+
je as DOrganizationReactiveService,
|
|
145
|
+
He as DOrganizationView,
|
|
146
|
+
xr as DResizableHandle,
|
|
147
|
+
fr as DResizablePanel,
|
|
148
|
+
lr as DResizablePanelGroup,
|
|
149
|
+
tr as DRuntimeCard,
|
|
150
|
+
pr as DRuntimeList,
|
|
151
|
+
$o as DRuntimeReactiveService,
|
|
152
|
+
or as DRuntimeView,
|
|
153
|
+
jo as DUserCard,
|
|
154
|
+
Ho as DUserList,
|
|
155
|
+
Ro as DUserReactiveService,
|
|
156
|
+
Io as DUserView,
|
|
145
157
|
Z as DataTypeView,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
Sr as Dialog,
|
|
159
|
+
wr as DialogClose,
|
|
160
|
+
vr as DialogContent,
|
|
161
|
+
dr as DialogDescription,
|
|
162
|
+
Cr as DialogFooter,
|
|
163
|
+
Fr as DialogHeader,
|
|
164
|
+
Rr as DialogOverlay,
|
|
165
|
+
Tr as DialogPortal,
|
|
166
|
+
Ir as DialogTitle,
|
|
167
|
+
br as DialogTrigger,
|
|
168
|
+
Nr as EmailInput,
|
|
169
|
+
B as FLOW_EDGE_RAINBOW,
|
|
170
|
+
wo as Flex,
|
|
171
|
+
O as FlowSettingView,
|
|
160
172
|
we as FlowTypeView,
|
|
161
|
-
|
|
173
|
+
G as FlowView,
|
|
162
174
|
me as FunctionDefinitionView,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
175
|
+
Lr as Input,
|
|
176
|
+
Ur as InputDescription,
|
|
177
|
+
Er as InputLabel,
|
|
178
|
+
jr as InputMessage,
|
|
179
|
+
Hr as InputSuggestionMenuContent,
|
|
180
|
+
Wr as InputSuggestionMenuContentItems,
|
|
181
|
+
Je as InspectionSeverity,
|
|
182
|
+
Vo as Menu,
|
|
183
|
+
Mo as MenuArrow,
|
|
184
|
+
Po as MenuContent,
|
|
185
|
+
No as MenuGroup,
|
|
186
|
+
Ao as MenuItem,
|
|
187
|
+
yo as MenuLabel,
|
|
188
|
+
Lo as MenuPortal,
|
|
189
|
+
Oo as MenuSeparator,
|
|
190
|
+
Go as MenuSub,
|
|
191
|
+
Uo as MenuSubContent,
|
|
192
|
+
zo as MenuSubTrigger,
|
|
193
|
+
Eo as MenuTrigger,
|
|
194
|
+
U as NodeFunctionView,
|
|
195
|
+
z as NodeParameterView,
|
|
196
|
+
Ye as NonReactiveArrayService,
|
|
197
|
+
kr as NumberInput,
|
|
198
|
+
eo as ObjectService,
|
|
187
199
|
ae as ParameterDefinitionView,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
200
|
+
Qr as PasswordInput,
|
|
201
|
+
Jr as PinInput,
|
|
202
|
+
Xr as PinInputField,
|
|
203
|
+
Yr as PinInputHiddenField,
|
|
204
|
+
xt as Quote,
|
|
205
|
+
$r as RadioGroup,
|
|
206
|
+
ot as RadioInput,
|
|
207
|
+
to as ReactiveArrayService,
|
|
208
|
+
lt as Row,
|
|
209
|
+
ut as ScrollArea,
|
|
210
|
+
st as ScrollAreaCorner,
|
|
211
|
+
Dt as ScrollAreaScrollbar,
|
|
212
|
+
gt as ScrollAreaThumb,
|
|
213
|
+
St as ScrollAreaViewport,
|
|
214
|
+
vt as SegmentedControl,
|
|
215
|
+
dt as SegmentedControlItem,
|
|
216
|
+
Co as Spacing,
|
|
217
|
+
tt as SwitchInput,
|
|
218
|
+
Ft as Tab,
|
|
219
|
+
Rt as TabContent,
|
|
220
|
+
Tt as TabList,
|
|
221
|
+
It as TabTrigger,
|
|
222
|
+
go as Text,
|
|
223
|
+
pt as TextInput,
|
|
224
|
+
Vt as Toast,
|
|
225
|
+
Nt as Tooltip,
|
|
226
|
+
At as TooltipArrow,
|
|
227
|
+
yt as TooltipContent,
|
|
228
|
+
Lt as TooltipPortal,
|
|
229
|
+
Ot as TooltipTrigger,
|
|
230
|
+
Ze as createNonReactiveArrayService,
|
|
231
|
+
oo as createObjectService,
|
|
232
|
+
Ar as emailValidation,
|
|
233
|
+
no as getChild,
|
|
234
|
+
xo as getContent,
|
|
235
|
+
fo as getPositionAroundTarget,
|
|
236
|
+
lo as getPositioning,
|
|
237
|
+
co as getWindowPositioning,
|
|
238
|
+
uo as mergeCode0Props,
|
|
239
|
+
so as parseUnit,
|
|
240
|
+
Or as setElementKey,
|
|
241
|
+
_o as setUserSession,
|
|
242
|
+
Mt as toast,
|
|
231
243
|
de as useDFlowValidations,
|
|
232
244
|
H as useFlowEdges,
|
|
233
245
|
_ as useFlowNodes,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
246
|
+
at as useForm,
|
|
247
|
+
io as useReactiveArrayService,
|
|
248
|
+
Ke as useService,
|
|
249
|
+
Qe as useStore,
|
|
250
|
+
ko as useUserSession
|
|
239
251
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code0-tech/pictor",
|
|
3
|
-
"version": "0.0.0-mvp.
|
|
3
|
+
"version": "0.0.0-mvp.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A simple template for a custom React component library",
|
|
6
6
|
"scripts": {
|
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
"rollup": "rollup -c",
|
|
12
12
|
"storybook:dev": "storybook dev -p 6006",
|
|
13
13
|
"storybook:build": "storybook build",
|
|
14
|
-
"storybook:test": "
|
|
15
|
-
"storybook:test:all": "test-storybook --browsers chromium firefox webkit",
|
|
14
|
+
"storybook:test": "vitest --project=storybook",
|
|
16
15
|
"storybook:test:update": "npm run storybook:test:all -- -u",
|
|
17
16
|
"docs:preview": "npm run --prefix ../telescopium project:preview pictor"
|
|
18
17
|
},
|
|
@@ -22,7 +21,7 @@
|
|
|
22
21
|
"@babel/plugin-proposal-decorators": "^7.28.0",
|
|
23
22
|
"@babel/plugin-transform-class-properties": "^7.27.1",
|
|
24
23
|
"@code0-tech/definition-reader": "^0.0.16",
|
|
25
|
-
"@code0-tech/sagittarius-graphql-types": "^0.0.0-
|
|
24
|
+
"@code0-tech/sagittarius-graphql-types": "^0.0.0-beb91167a8ea12eb6d4a6e3933483bacf845f2f6",
|
|
26
25
|
"@dagrejs/dagre": "^1.1.8",
|
|
27
26
|
"@mdx-js/react": "^3.1.1",
|
|
28
27
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
@@ -39,14 +38,13 @@
|
|
|
39
38
|
"@rollup/plugin-terser": "^0.4.4",
|
|
40
39
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
41
40
|
"@storybook/addon-a11y": "^10.0.7",
|
|
41
|
+
"@storybook/addon-docs": "^10.0.7",
|
|
42
42
|
"@storybook/addon-links": "^10.0.7",
|
|
43
43
|
"@storybook/addon-onboarding": "^10.0.7",
|
|
44
|
+
"@storybook/addon-vitest": "^10.0.7",
|
|
44
45
|
"@storybook/builder-vite": "^10.0.7",
|
|
45
46
|
"@storybook/cli": "^10.0.7",
|
|
46
|
-
"@storybook/react": "^10.0.7",
|
|
47
47
|
"@storybook/react-vite": "^10.0.7",
|
|
48
|
-
"@storybook/test-runner": "^0.24.1",
|
|
49
|
-
"@storybook/testing-library": "^0.2.2",
|
|
50
48
|
"@tabler/icons-react": "3.35.0",
|
|
51
49
|
"@types/jest-image-snapshot": "^6.4.0",
|
|
52
50
|
"@types/react": "^19.2.4",
|
|
@@ -64,7 +62,7 @@
|
|
|
64
62
|
"js-md5": "^0.8.3",
|
|
65
63
|
"merge-props": "^6.0.0",
|
|
66
64
|
"overlap-area": "^1.1.0",
|
|
67
|
-
"playwright": "1.
|
|
65
|
+
"playwright": "1.56.1",
|
|
68
66
|
"react": "^19.2.0",
|
|
69
67
|
"react-dom": "^19.2.0",
|
|
70
68
|
"react-resizable-panels": "^3.0.6",
|
|
@@ -72,6 +70,7 @@
|
|
|
72
70
|
"rimraf": "^6.1.0",
|
|
73
71
|
"sass": "^1.94.0",
|
|
74
72
|
"sass-loader": "^16.0.6",
|
|
73
|
+
"sonner": "^2.0.7",
|
|
75
74
|
"storybook": "^10.0.7",
|
|
76
75
|
"style-loader": "^4.0.0",
|
|
77
76
|
"ts-jest": "^29.4.5",
|
|
@@ -80,7 +79,9 @@
|
|
|
80
79
|
"vite": "^7.2.2",
|
|
81
80
|
"vite-plugin-dts": "^4.5.4",
|
|
82
81
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
83
|
-
"
|
|
82
|
+
"vitest": "^4.0.9",
|
|
83
|
+
"@vitest/browser-playwright": "^4.0.9",
|
|
84
|
+
"@vitest/coverage-v8": "^4.0.9"
|
|
84
85
|
},
|
|
85
86
|
"main": "dist/index.js",
|
|
86
87
|
"repository": {
|
|
@@ -93,7 +94,7 @@
|
|
|
93
94
|
"types": "dist/index.d.ts",
|
|
94
95
|
"peerDependencies": {
|
|
95
96
|
"@ariakit/react": "^0.4.5",
|
|
96
|
-
"@code0-tech/sagittarius-graphql-types": "^0.0.0-
|
|
97
|
+
"@code0-tech/sagittarius-graphql-types": "^0.0.0-beb91167a8ea12eb6d4a6e3933483bacf845f2f6",
|
|
97
98
|
"@radix-ui/react-checkbox": "^1.3.2",
|
|
98
99
|
"@radix-ui/react-dialog": "^1.1.14",
|
|
99
100
|
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactiveArrayService as i } from "../../../utils/reactiveArrayService.js";
|
|
2
|
-
class c extends i {
|
|
3
|
-
//TODO: inject UI error handler for toasts
|
|
4
|
-
//inject: namespaceId because the runtimes query needs it
|
|
5
|
-
getById(e) {
|
|
6
|
-
return this.values().find((r) => r.id === e);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export {
|
|
10
|
-
c as DNamespaceMemberReactiveService
|
|
11
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactiveArrayService as t } from "../../../utils/reactiveArrayService.js";
|
|
2
|
-
class c extends t {
|
|
3
|
-
//TODO: inject UI error handler for toasts
|
|
4
|
-
//inject: namespaceId because the runtimes query needs it
|
|
5
|
-
getById(e) {
|
|
6
|
-
return this.values().find((r) => r.id === e);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export {
|
|
10
|
-
c as DNamespaceProjectReactiveService
|
|
11
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import C from "react";
|
|
3
|
-
import { Card as w } from "../../card/Card.js";
|
|
4
|
-
import { Text as t } from "../../text/Text.js";
|
|
5
|
-
import { IconSettings as k, IconGitFork as B, IconServer as b, IconServer2 as D } from "@tabler/icons-react";
|
|
6
|
-
import { useStore as o, useService as c } from "../../../utils/contextStore.js";
|
|
7
|
-
import { DNamespaceProjectReactiveService as d } from "./DNamespaceProject.service.js";
|
|
8
|
-
import { Flex as n } from "../../flex/Flex.js";
|
|
9
|
-
import { Button as N } from "../../button/Button.js";
|
|
10
|
-
import $ from "../../card/CardSection.js";
|
|
11
|
-
import { Badge as s } from "../../badge/Badge.js";
|
|
12
|
-
import { DNamespaceReactiveService as u } from "../DNamespace.service.js";
|
|
13
|
-
import { DRuntimeReactiveService as f } from "../../d-runtime/DRuntime.service.js";
|
|
14
|
-
const O = (m) => {
|
|
15
|
-
const {
|
|
16
|
-
projectId: h,
|
|
17
|
-
onSettingsClick: y = (F) => {
|
|
18
|
-
}
|
|
19
|
-
} = m, g = o(d), S = c(d), v = o(u), x = c(u), j = o(f), z = c(f), r = S.getById(h);
|
|
20
|
-
if (!r?.namespace?.id || !r?.primaryRuntime?.id) return;
|
|
21
|
-
const I = x.getById(r?.namespace?.id), R = z.getById(r?.primaryRuntime?.id), a = r?.flows?.count, l = I?.runtimes?.count, p = R?.name;
|
|
22
|
-
return C.useMemo(() => /* @__PURE__ */ i(w, { maw: "400px", children: [
|
|
23
|
-
/* @__PURE__ */ i(n, { align: "center", style: {
|
|
24
|
-
gap: "0.7rem"
|
|
25
|
-
}, justify: "space-between", children: [
|
|
26
|
-
/* @__PURE__ */ e(t, { size: "lg", hierarchy: "primary", display: "block", children: r?.name }),
|
|
27
|
-
/* @__PURE__ */ e(n, { align: "center", style: {
|
|
28
|
-
gap: "0.35rem"
|
|
29
|
-
}, children: /* @__PURE__ */ i(N, { color: "secondary", onClick: () => y(m.projectId), children: [
|
|
30
|
-
/* @__PURE__ */ e(k, { size: 16 }),
|
|
31
|
-
"Settings"
|
|
32
|
-
] }) })
|
|
33
|
-
] }),
|
|
34
|
-
/* @__PURE__ */ e(t, { size: "sm", hierarchy: "tertiary", display: "block", children: r?.description }),
|
|
35
|
-
/* @__PURE__ */ e($, { border: !0, children: /* @__PURE__ */ i(n, { align: "center", style: {
|
|
36
|
-
gap: "0.35rem",
|
|
37
|
-
flexWrap: "wrap"
|
|
38
|
-
}, children: [
|
|
39
|
-
/* @__PURE__ */ i(s, { color: "info", children: [
|
|
40
|
-
/* @__PURE__ */ e(B, { size: 18 }),
|
|
41
|
-
/* @__PURE__ */ e(t, { size: "xs", children: `${a ?? 0} flow${(a ?? 0) !== 1 ? "s" : ""}` })
|
|
42
|
-
] }),
|
|
43
|
-
/* @__PURE__ */ i(s, { color: "info", children: [
|
|
44
|
-
/* @__PURE__ */ e(b, { size: 18 }),
|
|
45
|
-
/* @__PURE__ */ e(t, { size: "xs", children: `${l ?? 0} runtime${(l ?? 0) !== 1 ? "s" : ""}` })
|
|
46
|
-
] }),
|
|
47
|
-
p && /* @__PURE__ */ i(s, { color: "info", children: [
|
|
48
|
-
/* @__PURE__ */ e(D, { size: 18 }),
|
|
49
|
-
/* @__PURE__ */ e(t, { size: "xs", hierarchy: "tertiary", children: "Assigned:" }),
|
|
50
|
-
/* @__PURE__ */ e(t, { size: "xs", children: p })
|
|
51
|
-
] })
|
|
52
|
-
] }) })
|
|
53
|
-
] }), [g, v, j]);
|
|
54
|
-
};
|
|
55
|
-
export {
|
|
56
|
-
O as default
|
|
57
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|