@code0-tech/pictor 0.0.0-mvp.25 → 0.0.0-mvp.27

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 (286) hide show
  1. package/dist/assets/components/badge/Badge.style.css +1 -1
  2. package/dist/assets/components/button/Button.style.css +1 -1
  3. package/dist/assets/components/context-menu/ContextMenu.style.css +1 -0
  4. package/dist/assets/components/d-flow-folder/DFlowFolder.style.css +1 -0
  5. package/dist/assets/components/{d-flow/function → d-flow-function}/DFlowFunctionDefaultCard.style.css +1 -1
  6. package/dist/assets/components/d-flow-panel/DFlowMiniMap.style.css +1 -0
  7. package/dist/assets/components/d-flow-suggestion/DFlowSuggestionSearchInput.style.css +1 -0
  8. package/dist/assets/components/d-layout/DLayout.style.css +1 -1
  9. package/dist/assets/components/d-resizable/DResizable.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/segmented-control/SegmentedControl.style.css +1 -1
  13. package/dist/components/avatar/Avatar.js +7 -7
  14. package/dist/components/badge/Badge.d.ts +1 -1
  15. package/dist/components/badge/Badge.js +57 -17
  16. package/dist/components/breadcrumb/Breadcrumb.js +5 -5
  17. package/dist/components/button/Button.js +8 -8
  18. package/dist/components/context-menu/ContextMenu.d.ts +31 -0
  19. package/dist/components/context-menu/ContextMenu.js +191 -0
  20. package/dist/components/d-application/DApplication.service.d.ts +5 -0
  21. package/dist/components/d-application/DApplication.service.js +9 -0
  22. package/dist/components/d-flow/DFlow.d.ts +5 -3
  23. package/dist/components/d-flow/DFlow.edges.hook.d.ts +2 -1
  24. package/dist/components/d-flow/DFlow.edges.hook.js +98 -136
  25. package/dist/components/d-flow/DFlow.js +214 -199
  26. package/dist/components/d-flow/DFlow.nodes.hook.d.ts +5 -1
  27. package/dist/components/d-flow/DFlow.nodes.hook.js +101 -123
  28. package/dist/components/d-flow/DFlow.service.d.ts +12 -7
  29. package/dist/components/d-flow/DFlow.service.js +117 -7
  30. package/dist/components/d-flow/{edge/DFlowEdge.d.ts → DFlowEdge.d.ts} +5 -3
  31. package/dist/components/d-flow/DFlowEdge.js +69 -0
  32. package/dist/components/d-flow/index.d.ts +1 -10
  33. package/dist/components/d-flow/index.js +9 -44
  34. package/dist/components/d-flow-data-type/DFlowDataType.service.d.ts +9 -0
  35. package/dist/components/{d-flow/data-type → d-flow-data-type}/DFlowDataType.service.js +12 -10
  36. package/dist/components/{d-flow/data-type → d-flow-data-type}/DFlowDataType.view.d.ts +8 -2
  37. package/dist/components/d-flow-data-type/DFlowDataType.view.js +71 -0
  38. package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeContainsKeyRule.d.ts +2 -3
  39. package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeContainsKeyRule.js +3 -3
  40. package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeContainsTypeRule.d.ts +2 -3
  41. package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeContainsTypeRule.js +4 -4
  42. package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeParentRule.d.ts +2 -3
  43. package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeParentRule.js +3 -3
  44. package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeReturnTypeRule.d.ts +2 -3
  45. package/dist/components/d-flow-data-type/rules/DFlowDataTypeReturnTypeRule.js +246 -0
  46. package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRule.d.ts +2 -3
  47. package/dist/components/{d-flow/tab → d-flow-file}/DFlowTabDefault.d.ts +2 -3
  48. package/dist/components/d-flow-file/DFlowTabDefault.js +139 -0
  49. package/dist/components/{d-flow/tab → d-flow-file}/DFlowTabTrigger.d.ts +2 -2
  50. package/dist/components/d-flow-file/DFlowTabTrigger.js +75 -0
  51. package/dist/components/d-flow-file/DFlowTabs.d.ts +6 -0
  52. package/dist/components/d-flow-file/DFlowTabs.js +128 -0
  53. package/dist/components/d-flow-file/index.d.ts +1 -0
  54. package/dist/components/d-flow-file/index.js +4 -0
  55. package/dist/components/{d-flow/folder → d-flow-folder}/DFlowFolder.d.ts +11 -5
  56. package/dist/components/d-flow-folder/DFlowFolder.js +158 -0
  57. package/dist/components/d-flow-folder/DFlowFolderContextMenu.d.ts +18 -0
  58. package/dist/components/d-flow-folder/DFlowFolderContextMenu.js +69 -0
  59. package/dist/components/d-flow-folder/DFlowFolderCreateDialog.d.ts +9 -0
  60. package/dist/components/d-flow-folder/DFlowFolderCreateDialog.js +76 -0
  61. package/dist/components/d-flow-folder/DFlowFolderItemPathInput.d.ts +5 -0
  62. package/dist/components/d-flow-folder/DFlowFolderItemPathInput.js +49 -0
  63. package/dist/components/d-flow-folder/DFlowFolderRenameDialog.d.ts +9 -0
  64. package/dist/components/d-flow-folder/DFlowFolderRenameDialog.js +55 -0
  65. package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.input.hook.d.ts +1 -1
  66. package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.input.hook.js +1 -1
  67. package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.return.hook.d.ts +2 -2
  68. package/dist/components/d-flow-function/DFlowFunction.return.hook.js +9 -0
  69. package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.service.d.ts +1 -1
  70. package/dist/components/d-flow-function/DFlowFunction.service.js +12 -0
  71. package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.view.d.ts +12 -0
  72. package/dist/components/d-flow-function/DFlowFunction.view.js +132 -0
  73. package/dist/components/{d-flow/function → d-flow-function}/DFlowFunctionDefaultCard.d.ts +4 -4
  74. package/dist/components/d-flow-function/DFlowFunctionDefaultCard.js +120 -0
  75. package/dist/components/d-flow-function/DFlowFunctionGroupCard.d.ts +13 -0
  76. package/dist/components/d-flow-function/DFlowFunctionGroupCard.js +68 -0
  77. package/dist/components/{d-flow/function → d-flow-function}/DFlowFunctionSuggestionCard.d.ts +3 -4
  78. package/dist/components/d-flow-function/DFlowFunctionSuggestionCard.js +48 -0
  79. package/dist/components/{d-flow/function → d-flow-function}/DFlowFunctionTriggerCard.d.ts +3 -3
  80. package/dist/components/d-flow-function/DFlowFunctionTriggerCard.js +71 -0
  81. package/dist/components/{d-flow/input → d-flow-input}/DFlowInputDataType.d.ts +1 -1
  82. package/dist/components/{d-flow/input → d-flow-input}/DFlowInputDataType.js +175 -165
  83. package/dist/components/d-flow-panel/DFlowExport.js +32 -0
  84. package/dist/components/d-flow-panel/DFlowMiniMap.js +33 -0
  85. package/dist/components/d-flow-panel/DFlowPanelControl.d.ts +6 -0
  86. package/dist/components/d-flow-panel/DFlowPanelControl.js +70 -0
  87. package/dist/components/d-flow-panel/DFlowPanelLayout.d.ts +4 -0
  88. package/dist/components/d-flow-panel/DFlowPanelLayout.js +47 -0
  89. package/dist/components/d-flow-panel/DFlowPanelSize.d.ts +2 -0
  90. package/dist/components/d-flow-panel/DFlowPanelSize.js +94 -0
  91. package/dist/components/d-flow-panel/index.d.ts +5 -0
  92. package/dist/components/d-flow-panel/index.js +12 -0
  93. package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestion.hook.d.ts +0 -15
  94. package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.js +161 -0
  95. package/dist/components/d-flow-suggestion/DFlowSuggestion.view.d.ts +14 -0
  96. package/dist/components/d-flow-suggestion/DFlowSuggestion.view.js +4 -0
  97. package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.js +83 -0
  98. package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenu.util.d.ts +1 -1
  99. package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenu.util.js +1 -1
  100. package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuFooter.js +5 -5
  101. package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuSearchBar.d.ts +1 -1
  102. package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuSearchBar.js +1 -1
  103. package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionSearchInput.d.ts +1 -1
  104. package/dist/components/d-flow-suggestion/DFlowSuggestionSearchInput.js +35 -0
  105. package/dist/components/d-flow-suggestion/index.d.ts +1 -0
  106. package/dist/components/d-flow-suggestion/index.js +4 -0
  107. package/dist/components/{d-flow/type → d-flow-type}/DFlowType.service.d.ts +1 -1
  108. package/dist/components/d-flow-type/DFlowType.service.js +12 -0
  109. package/dist/components/{d-flow/type → d-flow-type}/DFlowType.view.d.ts +6 -0
  110. package/dist/components/{d-flow/type → d-flow-type}/DFlowType.view.js +16 -10
  111. package/dist/components/d-flow-validation/DDataTypeValidation.hook.d.ts +2 -0
  112. package/dist/components/d-flow-validation/DDataTypeValidation.hook.js +18 -0
  113. package/dist/components/d-flow-validation/DFlowValidation.hook.d.ts +3 -0
  114. package/dist/components/d-flow-validation/DFlowValidation.hook.js +22 -0
  115. package/dist/components/d-flow-validation/DFlowValidation.js +66 -0
  116. package/dist/components/d-flow-validation/DNodeValidation.hook.d.ts +3 -0
  117. package/dist/components/d-flow-validation/DNodeValidation.hook.js +62 -0
  118. package/dist/components/d-flow-validation/DValueValidation.hook.d.ts +3 -0
  119. package/dist/components/d-flow-validation/DValueValidation.hook.js +8 -0
  120. package/dist/components/{d-flow/validation → d-flow-validation}/index.js +2 -2
  121. package/dist/components/d-fullscreen/DFullScreen.js +2 -2
  122. package/dist/components/d-member/DNamespaceMemberContent.js +140 -92
  123. package/dist/components/d-member/DNamespaceMemberList.js +5 -5
  124. package/dist/components/d-organization/DOrganizationList.js +7 -7
  125. package/dist/components/d-organization/DOrganizationMenu.js +5 -5
  126. package/dist/components/d-organization/DOrganizatonContent.js +29 -29
  127. package/dist/components/d-project/DNamespaceProjectContent.js +6 -6
  128. package/dist/components/d-project/DNamespaceProjectList.js +5 -5
  129. package/dist/components/d-project/DNamespaceProjectMenu.js +51 -22
  130. package/dist/components/d-project/index.js +10 -9
  131. package/dist/components/d-resizable/DResizable.js +18 -17
  132. package/dist/components/d-role/DNamespaceRoleContent.js +11 -11
  133. package/dist/components/d-role/DNamespaceRolePermissions.js +5 -5
  134. package/dist/components/d-runtime/DRuntimeContent.js +10 -10
  135. package/dist/components/d-runtime/DRuntimeList.js +7 -7
  136. package/dist/components/d-user/DUser.session.hook.js +2 -2
  137. package/dist/components/d-user/DUserContent.js +19 -19
  138. package/dist/components/d-user/DUserInput.js +9 -9
  139. package/dist/components/d-user/DUserList.js +9 -9
  140. package/dist/components/file-tabs/FileTabs.js +2 -2
  141. package/dist/components/file-tabs/FileTabs.service.d.ts +5 -0
  142. package/dist/components/file-tabs/FileTabs.service.js +68 -16
  143. package/dist/components/file-tabs/FileTabs.view.d.ts +1 -0
  144. package/dist/components/form/CheckboxInput.js +4 -4
  145. package/dist/components/form/EmailInput.js +12 -12
  146. package/dist/components/form/Input.js +220 -206
  147. package/dist/components/form/Input.selection.hook.js +9 -9
  148. package/dist/components/form/Input.syntax.hook.js +7 -7
  149. package/dist/components/form/NumberInput.js +9 -9
  150. package/dist/components/form/PasswordInput.js +6 -6
  151. package/dist/components/form/SwitchInput.js +7 -7
  152. package/dist/components/form/TextInput.js +10 -10
  153. package/dist/components/segmented-control/SegmentedControl.d.ts +1 -1
  154. package/dist/components/segmented-control/SegmentedControl.js +14 -12
  155. package/dist/index.d.ts +8 -0
  156. package/dist/index.js +117 -117
  157. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +527 -0
  158. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
  159. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +208 -0
  160. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
  161. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
  162. package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
  163. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
  164. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +48 -0
  165. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -0
  166. package/dist/node_modules/@radix-ui/react-context/dist/index.js +53 -0
  167. package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +222 -0
  168. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +10 -0
  169. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
  170. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +17 -0
  171. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +136 -0
  172. package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
  173. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +636 -0
  174. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +219 -0
  175. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +15 -0
  176. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +70 -0
  177. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
  178. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +183 -0
  179. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
  180. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -0
  181. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
  182. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
  183. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
  184. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +27 -0
  185. package/dist/node_modules/aria-hidden/dist/es2015/index.js +52 -0
  186. package/dist/node_modules/get-nonce/dist/es2015/index.js +7 -0
  187. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +2 -2
  188. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +8 -8
  189. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
  190. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +112 -0
  191. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +31 -0
  192. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +16 -0
  193. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +68 -0
  194. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
  195. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
  196. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +71 -0
  197. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +7 -0
  198. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -0
  199. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +11 -0
  200. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +15 -0
  201. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +30 -0
  202. package/dist/node_modules/tslib/tslib.es6.js +27 -0
  203. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +6 -0
  204. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +26 -0
  205. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +25 -0
  206. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +18 -0
  207. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +67 -0
  208. package/dist/utils/generics.d.ts +5 -6
  209. package/dist/utils/generics.js +2 -2
  210. package/dist/utils/objectStore.js +15 -15
  211. package/dist/utils/reactiveArrayService.js +5 -5
  212. package/package.json +7 -4
  213. package/dist/assets/components/d-flow/folder/DFlowFolder.style.css +0 -1
  214. package/dist/assets/components/d-flow/minimap/DFlowMiniMap.style.css +0 -1
  215. package/dist/assets/components/d-flow/suggestion/DFlowSuggestionSearchInput.style.css +0 -1
  216. package/dist/components/d-flow/DFlow.view.d.ts +0 -113
  217. package/dist/components/d-flow/DFlow.view.js +0 -248
  218. package/dist/components/d-flow/control/DFlowControl.d.ts +0 -2
  219. package/dist/components/d-flow/control/DFlowControl.js +0 -81
  220. package/dist/components/d-flow/control/index.d.ts +0 -1
  221. package/dist/components/d-flow/control/index.js +0 -4
  222. package/dist/components/d-flow/data-type/DFlowDataType.service.d.ts +0 -10
  223. package/dist/components/d-flow/data-type/DFlowDataType.validation.type.d.ts +0 -2
  224. package/dist/components/d-flow/data-type/DFlowDataType.validation.type.js +0 -18
  225. package/dist/components/d-flow/data-type/DFlowDataType.validation.value.d.ts +0 -4
  226. package/dist/components/d-flow/data-type/DFlowDataType.validation.value.js +0 -20
  227. package/dist/components/d-flow/data-type/DFlowDataType.view.js +0 -65
  228. package/dist/components/d-flow/data-type/rules/DFlowDataTypeReturnTypeRule.js +0 -243
  229. package/dist/components/d-flow/edge/DFlowEdge.js +0 -48
  230. package/dist/components/d-flow/export/DFlowExport.js +0 -24
  231. package/dist/components/d-flow/folder/DFlowFolder.js +0 -119
  232. package/dist/components/d-flow/function/DFlowFunction.return.hook.js +0 -11
  233. package/dist/components/d-flow/function/DFlowFunction.service.js +0 -9
  234. package/dist/components/d-flow/function/DFlowFunction.vaildation.hook.d.ts +0 -10
  235. package/dist/components/d-flow/function/DFlowFunction.vaildation.hook.js +0 -74
  236. package/dist/components/d-flow/function/DFlowFunction.view.js +0 -117
  237. package/dist/components/d-flow/function/DFlowFunctionDefaultCard.js +0 -158
  238. package/dist/components/d-flow/function/DFlowFunctionGroupCard.d.ts +0 -5
  239. package/dist/components/d-flow/function/DFlowFunctionGroupCard.js +0 -55
  240. package/dist/components/d-flow/function/DFlowFunctionSuggestionCard.js +0 -26
  241. package/dist/components/d-flow/function/DFlowFunctionTriggerCard.js +0 -93
  242. package/dist/components/d-flow/minimap/DFlowMiniMap.js +0 -22
  243. package/dist/components/d-flow/minimap/index.d.ts +0 -1
  244. package/dist/components/d-flow/minimap/index.js +0 -4
  245. package/dist/components/d-flow/suggestion/DFlowSuggestion.hook.js +0 -150
  246. package/dist/components/d-flow/suggestion/DFlowSuggestion.service.d.ts +0 -5
  247. package/dist/components/d-flow/suggestion/DFlowSuggestion.service.js +0 -18
  248. package/dist/components/d-flow/suggestion/DFlowSuggestion.view.d.ts +0 -21
  249. package/dist/components/d-flow/suggestion/DFlowSuggestion.view.js +0 -25
  250. package/dist/components/d-flow/suggestion/DFlowSuggestionMenu.js +0 -67
  251. package/dist/components/d-flow/suggestion/DFlowSuggestionSearchInput.js +0 -35
  252. package/dist/components/d-flow/suggestion/index.d.ts +0 -2
  253. package/dist/components/d-flow/suggestion/index.js +0 -7
  254. package/dist/components/d-flow/tab/DFlowTabDefault.js +0 -103
  255. package/dist/components/d-flow/tab/DFlowTabTrigger.js +0 -51
  256. package/dist/components/d-flow/tab/DFlowTabs.d.ts +0 -2
  257. package/dist/components/d-flow/tab/DFlowTabs.js +0 -105
  258. package/dist/components/d-flow/type/DFlowType.service.js +0 -9
  259. package/dist/components/d-flow/validation/DFlowValidation.hook.d.ts +0 -3
  260. package/dist/components/d-flow/validation/DFlowValidation.hook.js +0 -10
  261. package/dist/components/d-flow/validation/DFlowValidation.js +0 -60
  262. /package/dist/assets/components/{d-flow/input → d-flow-input}/DFlowInputDataType.style.css +0 -0
  263. /package/dist/assets/components/{d-flow/validation → d-flow-validation}/DFlowValidation.style.css +0 -0
  264. /package/dist/components/{d-flow/data-type → d-flow-data-type}/index.d.ts +0 -0
  265. /package/dist/components/{d-flow/data-type → d-flow-data-type}/index.js +0 -0
  266. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeItemOfCollectionRule.d.ts +0 -0
  267. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeItemOfCollectionRule.js +0 -0
  268. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeNumberRangeRule.d.ts +0 -0
  269. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeNumberRangeRule.js +0 -0
  270. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRegexRule.d.ts +0 -0
  271. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRegexRule.js +0 -0
  272. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRule.js +0 -0
  273. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRules.d.ts +0 -0
  274. /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRules.js +0 -0
  275. /package/dist/components/{d-flow/folder → d-flow-folder}/index.d.ts +0 -0
  276. /package/dist/components/{d-flow/folder → d-flow-folder}/index.js +0 -0
  277. /package/dist/components/{d-flow/function → d-flow-function}/index.d.ts +0 -0
  278. /package/dist/components/{d-flow/function → d-flow-function}/index.js +0 -0
  279. /package/dist/components/{d-flow/export → d-flow-panel}/DFlowExport.d.ts +0 -0
  280. /package/dist/components/{d-flow/minimap → d-flow-panel}/DFlowMiniMap.d.ts +0 -0
  281. /package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenu.d.ts +0 -0
  282. /package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuFooter.d.ts +0 -0
  283. /package/dist/components/{d-flow/type → d-flow-type}/index.d.ts +0 -0
  284. /package/dist/components/{d-flow/type → d-flow-type}/index.js +0 -0
  285. /package/dist/components/{d-flow/validation → d-flow-validation}/DFlowValidation.d.ts +0 -0
  286. /package/dist/components/{d-flow/validation → d-flow-validation}/index.d.ts +0 -0
@@ -1,21 +1,21 @@
1
- import { jsxs as r, jsx as e, Fragment as K } from "react/jsx-runtime";
2
- import c from "react";
3
- import { Flex as n } from "../flex/Flex.js";
4
- import { useService as g, useStore as y } from "../../utils/contextStore.js";
1
+ import { jsxs as r, jsx as e, Fragment as $ } from "react/jsx-runtime";
2
+ import a from "react";
3
+ import { Flex as i } from "../flex/Flex.js";
4
+ import { useService as y, useStore as f } from "../../utils/contextStore.js";
5
5
  import "merge-props";
6
- import { DNamespaceMemberReactiveService as D } from "./DNamespaceMember.service.js";
7
- import { DUserReactiveService as x } from "../d-user/DUser.service.js";
8
- import { Menu as z, MenuTrigger as I, MenuPortal as T, MenuContent as w, MenuLabel as O, MenuItem as f, MenuSeparator as Q } from "../menu/Menu.js";
9
- import { Avatar as W } from "../avatar/Avatar.js";
6
+ import { DNamespaceMemberReactiveService as M } from "./DNamespaceMember.service.js";
7
+ import { DUserReactiveService as I } from "../d-user/DUser.service.js";
8
+ 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";
9
+ import { Avatar as ee } from "../avatar/Avatar.js";
10
10
  import { Text as o } from "../text/Text.js";
11
11
  import "../../_virtual/compiler-runtime.js";
12
- import { Card as X } from "../card/Card.js";
13
- import { Badge as m } from "../badge/Badge.js";
14
- import { IconTrash as Z, IconMailCheck as $, IconDots as _, IconUserOff as ee, IconUserCog as re } from "@tabler/icons-react";
15
- import { Button as l } from "../button/Button.js";
16
- import j from "../card/CardSection.js";
12
+ import { Card as v } from "../card/Card.js";
13
+ import { Badge as l } from "../badge/Badge.js";
14
+ import { IconTrash as re, IconArrowUp as B, IconArrowDown as k, IconCornerDownLeft as N, IconMailCheck as ie, IconDots as ne, IconUserOff as oe, IconUserCog as te } from "@tabler/icons-react";
15
+ import { Button as s } from "../button/Button.js";
16
+ import P from "../card/CardSection.js";
17
17
  import "@radix-ui/react-checkbox";
18
- import '../../assets/components/spacing/Spacing.style.css';import '../../assets/components/form/Input.style.css';/* empty css */
18
+ import '../../assets/components/form/Input.style.css';/* empty css */
19
19
  import "../form/EmailInput.js";
20
20
  import "../form/Input.js";
21
21
  import "../form/InputSuggestion.js";
@@ -25,152 +25,200 @@ import "@radix-ui/react-one-time-password-field";
25
25
  import "@radix-ui/react-radio-group";
26
26
  import "../form/SwitchInput.js";
27
27
  import "../form/TextInput.js";
28
- /* empty css */
29
- import { DNamespaceRoleReactiveService as B } from "../d-role/DNamespaceRole.service.js";
30
- import { DNamespaceRolePermissions as b } from "../d-role/DNamespaceRolePermissions.js";
31
- import { Tooltip as ie, TooltipTrigger as ne, TooltipPortal as oe, TooltipContent as te, TooltipArrow as le } from "../tooltip/Tooltip.js";
32
- import { Dialog as k, DialogPortal as N, DialogContent as P, DialogClose as d } from "../dialog/Dialog.js";
33
- const Le = (F) => {
28
+ import { Spacing as U } from "../spacing/Spacing.js";
29
+ import { DNamespaceRoleReactiveService as F } from "../d-role/DNamespaceRole.service.js";
30
+ import { DNamespaceRolePermissions as x } from "../d-role/DNamespaceRolePermissions.js";
31
+ import { Tooltip as le, TooltipTrigger as se, TooltipPortal as ce, TooltipContent as ae, TooltipArrow as de } from "../tooltip/Tooltip.js";
32
+ import { Dialog as L, DialogPortal as W, DialogContent as Y, DialogClose as h } from "../dialog/Dialog.js";
33
+ const Ve = (E) => {
34
34
  const {
35
- memberId: v,
36
- onAssignRole: U = () => {
35
+ memberId: S,
36
+ onAssignRole: V = () => {
37
37
  },
38
- onRemove: L = () => {
38
+ onRemove: q = () => {
39
39
  }
40
- } = F, Y = g(D), E = y(D), V = g(x), q = y(x), C = g(B), G = y(B), t = c.useMemo(() => Y.getById(v), [E, v]), s = c.useMemo(() => V.getById(t?.user?.id), [q, t]), h = c.useMemo(() => t?.roles?.nodes?.map((i) => C.getById(i?.id, {
40
+ } = E, G = y(M), H = f(M), J = y(I), K = f(I), C = y(F), Q = f(F), t = a.useMemo(() => G.getById(S), [H, S]), c = a.useMemo(() => J.getById(t?.user?.id), [K, t]), p = a.useMemo(() => t?.roles?.nodes?.map((n) => C.getById(n?.id, {
41
41
  namespaceId: t?.namespace?.id
42
- })) || [], [G, t]), [p, S] = c.useState(h), [H, A] = c.useState(!1), [J, R] = c.useState(!1), M = C.values({
42
+ })) || [], [Q, t]), [g, z] = a.useState(p), [X, A] = a.useState(!1), [Z, R] = a.useState(!1), D = C.values({
43
43
  namespaceId: t?.namespace?.id
44
- }).filter((i) => !p.find((a) => a?.id === i.id));
45
- return /* @__PURE__ */ r(n, { align: "center", style: {
44
+ }).filter((n) => !g.find((d) => d?.id === n.id));
45
+ return /* @__PURE__ */ r(i, { align: "center", style: {
46
46
  gap: "1.3rem"
47
47
  }, justify: "space-between", children: [
48
- /* @__PURE__ */ e(k, { open: H, onOpenChange: (i) => A(i), children: /* @__PURE__ */ e(N, { children: /* @__PURE__ */ r(P, { showCloseButton: !0, title: "Remove member", children: [
48
+ /* @__PURE__ */ e(L, { open: X, onOpenChange: (n) => A(n), children: /* @__PURE__ */ e(W, { children: /* @__PURE__ */ r(Y, { showCloseButton: !0, title: "Remove member", children: [
49
49
  /* @__PURE__ */ r(o, { size: "md", hierarchy: "secondary", children: [
50
50
  "Are you sure you want to remove ",
51
51
  " ",
52
- /* @__PURE__ */ e(m, { color: "info", children: /* @__PURE__ */ r(o, { size: "md", style: {
52
+ /* @__PURE__ */ e(l, { color: "info", children: /* @__PURE__ */ r(o, { size: "md", style: {
53
53
  color: "inherit"
54
54
  }, children: [
55
55
  "@",
56
- s?.username
56
+ c?.username
57
57
  ] }) }),
58
58
  " ",
59
59
  " ",
60
60
  "from the namespace members?"
61
61
  ] }),
62
- /* @__PURE__ */ r(n, { justify: "space-between", align: "center", children: [
63
- /* @__PURE__ */ e(d, { asChild: !0, children: /* @__PURE__ */ e(l, { color: "secondary", children: "No, go back!" }) }),
64
- /* @__PURE__ */ e(d, { asChild: !0, children: /* @__PURE__ */ e(l, { color: "error", onClick: () => L(t), children: "Yes, remove!" }) })
62
+ /* @__PURE__ */ r(i, { justify: "space-between", align: "center", children: [
63
+ /* @__PURE__ */ e(h, { asChild: !0, children: /* @__PURE__ */ e(s, { color: "secondary", children: "No, go back!" }) }),
64
+ /* @__PURE__ */ e(h, { asChild: !0, children: /* @__PURE__ */ e(s, { color: "error", onClick: () => q(t), children: "Yes, remove!" }) })
65
65
  ] })
66
66
  ] }) }) }),
67
- /* @__PURE__ */ e(k, { open: J, onOpenChange: (i) => R(i), children: /* @__PURE__ */ e(N, { children: /* @__PURE__ */ r(P, { autoFocus: !0, showCloseButton: !0, title: "Assign roles", children: [
67
+ /* @__PURE__ */ e(L, { open: Z, onOpenChange: (n) => R(n), children: /* @__PURE__ */ e(W, { children: /* @__PURE__ */ r(Y, { autoFocus: !0, showCloseButton: !0, title: "Assign roles", children: [
68
68
  /* @__PURE__ */ e(o, { size: "md", hierarchy: "tertiary", children: "Assign, remove and manage the roles of a active member" }),
69
- /* @__PURE__ */ r(X, { paddingSize: "xs", color: "secondary", children: [
70
- p.map((i) => /* @__PURE__ */ e(j, { border: !0, children: /* @__PURE__ */ r(n, { style: {
69
+ /* @__PURE__ */ r(v, { paddingSize: "xs", color: "secondary", children: [
70
+ g.map((n) => /* @__PURE__ */ e(P, { border: !0, children: /* @__PURE__ */ r(i, { style: {
71
71
  gap: "0.7rem"
72
72
  }, align: "center", justify: "space-between", children: [
73
- /* @__PURE__ */ r(n, { align: "center", style: {
73
+ /* @__PURE__ */ r(i, { align: "center", style: {
74
74
  gap: "1.3rem"
75
75
  }, children: [
76
- /* @__PURE__ */ e(o, { hierarchy: "primary", children: i?.name }),
77
- /* @__PURE__ */ e(b, { abilities: i?.abilities })
76
+ /* @__PURE__ */ e(o, { hierarchy: "primary", children: n?.name }),
77
+ /* @__PURE__ */ e(x, { abilities: n?.abilities })
78
78
  ] }),
79
- /* @__PURE__ */ e(l, { color: "error", paddingSize: "xxs", onClick: () => {
80
- S((a) => a.filter((u) => u?.id != i?.id));
81
- }, children: /* @__PURE__ */ e(Z, { size: 16 }) })
82
- ] }) }, i?.id)),
83
- /* @__PURE__ */ r(z, { children: [
84
- /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e(j, { hover: !0, p: 0.35, border: !0, display: "flex", justify: "center", children: /* @__PURE__ */ e(l, { paddingSize: "xxs", variant: "none", children: "Assign roles" }) }) }),
85
- /* @__PURE__ */ e(T, { children: /* @__PURE__ */ r(w, { side: "bottom", sideOffset: 8, align: "center", children: [
86
- /* @__PURE__ */ e(O, { children: "Roles to add" }),
87
- M.map((i, a) => /* @__PURE__ */ r(K, { children: [
88
- /* @__PURE__ */ e(f, { onSelect: () => {
89
- S((u) => [...u, i]);
90
- }, children: /* @__PURE__ */ r(n, { align: "center", style: {
91
- gap: "1.3rem"
79
+ /* @__PURE__ */ e(s, { color: "error", variant: "filled", paddingSize: "xxs", onClick: () => {
80
+ z((d) => d.filter((u) => u?.id != n?.id));
81
+ }, children: /* @__PURE__ */ e(re, { size: 16 }) })
82
+ ] }) }, n?.id)),
83
+ /* @__PURE__ */ r(w, { children: [
84
+ /* @__PURE__ */ e(T, { asChild: !0, children: /* @__PURE__ */ e(P, { hover: !0, p: 0.35, border: !0, display: "flex", justify: "center", children: /* @__PURE__ */ e(s, { paddingSize: "xxs", variant: "none", children: "Assign roles" }) }) }),
85
+ /* @__PURE__ */ e(O, { children: /* @__PURE__ */ r(j, { side: "bottom", sideOffset: 8, align: "center", color: "secondary", maw: "300px", children: [
86
+ /* @__PURE__ */ r(v, { paddingSize: "xxs", mt: -0.35, mx: -0.35, style: {
87
+ borderWidth: "2px"
88
+ }, children: [
89
+ /* @__PURE__ */ e(m, { children: "Roles to add" }),
90
+ D.map((n, d) => /* @__PURE__ */ r($, { children: [
91
+ /* @__PURE__ */ e(b, { onSelect: () => {
92
+ z((u) => [...u, n]);
93
+ }, children: /* @__PURE__ */ r(i, { align: "center", style: {
94
+ gap: "1.3rem"
95
+ }, children: [
96
+ /* @__PURE__ */ e(o, { hierarchy: "primary", children: n?.name }),
97
+ /* @__PURE__ */ e(x, { abilities: n?.abilities })
98
+ ] }) }),
99
+ d < D.length - 1 && /* @__PURE__ */ e(_, {})
100
+ ] }))
101
+ ] }),
102
+ /* @__PURE__ */ e(m, { children: /* @__PURE__ */ r(i, { style: {
103
+ gap: ".35rem"
104
+ }, children: [
105
+ /* @__PURE__ */ r(i, { align: "center", style: {
106
+ gap: "0.35rem"
92
107
  }, children: [
93
- /* @__PURE__ */ e(o, { hierarchy: "primary", children: i?.name }),
94
- /* @__PURE__ */ e(b, { abilities: i?.abilities })
95
- ] }) }),
96
- a < M.length - 1 && /* @__PURE__ */ e(Q, {})
97
- ] }))
108
+ /* @__PURE__ */ r(i, { children: [
109
+ /* @__PURE__ */ e(l, { border: !0, children: /* @__PURE__ */ e(B, { size: 12 }) }),
110
+ /* @__PURE__ */ e(l, { border: !0, children: /* @__PURE__ */ e(k, { size: 12 }) })
111
+ ] }),
112
+ "move"
113
+ ] }),
114
+ /* @__PURE__ */ e(U, { spacing: "xxs" }),
115
+ /* @__PURE__ */ r(i, { align: "center", style: {
116
+ gap: ".35rem"
117
+ }, children: [
118
+ /* @__PURE__ */ e(l, { border: !0, children: /* @__PURE__ */ e(N, { size: 12 }) }),
119
+ "insert"
120
+ ] })
121
+ ] }) })
98
122
  ] }) })
99
123
  ] })
100
124
  ] }),
101
- /* @__PURE__ */ r(n, { justify: "space-between", align: "center", children: [
102
- /* @__PURE__ */ e(d, { asChild: !0, children: /* @__PURE__ */ e(l, { color: "secondary", children: "No, go back!" }) }),
103
- /* @__PURE__ */ e(d, { asChild: !0, children: /* @__PURE__ */ e(l, { onClick: () => U(t, p), color: "success", children: "Yes, save!" }) })
125
+ /* @__PURE__ */ r(i, { justify: "space-between", align: "center", children: [
126
+ /* @__PURE__ */ e(h, { asChild: !0, children: /* @__PURE__ */ e(s, { color: "secondary", children: "No, go back!" }) }),
127
+ /* @__PURE__ */ e(h, { asChild: !0, children: /* @__PURE__ */ e(s, { onClick: () => V(t, g), color: "success", children: "Yes, save!" }) })
104
128
  ] })
105
129
  ] }) }) }),
106
- /* @__PURE__ */ r(n, { style: {
130
+ /* @__PURE__ */ r(i, { style: {
107
131
  gap: "1.3rem"
108
132
  }, align: "center", children: [
109
- /* @__PURE__ */ r(n, { align: "center", style: {
133
+ /* @__PURE__ */ r(i, { align: "center", style: {
110
134
  gap: ".7rem"
111
135
  }, children: [
112
- /* @__PURE__ */ e(W, { identifier: s?.username, bg: "transparent" }),
113
- /* @__PURE__ */ r(n, { style: {
136
+ /* @__PURE__ */ e(ee, { identifier: c?.username, bg: "transparent" }),
137
+ /* @__PURE__ */ r(i, { style: {
114
138
  flexDirection: "column",
115
139
  gap: "0.35rem"
116
140
  }, children: [
117
141
  /* @__PURE__ */ r(o, { size: "md", hierarchy: "primary", children: [
118
142
  "@",
119
- s?.username
143
+ c?.username
120
144
  ] }),
121
- /* @__PURE__ */ e(o, { size: "sm", hierarchy: "tertiary", children: s?.email })
145
+ /* @__PURE__ */ e(o, { size: "sm", hierarchy: "tertiary", children: c?.email })
122
146
  ] })
123
147
  ] }),
124
- h.length > 0 ? /* @__PURE__ */ r(n, { style: {
148
+ p.length > 0 ? /* @__PURE__ */ r(i, { style: {
125
149
  flexDirection: "column",
126
150
  gap: "0.35rem"
127
151
  }, children: [
128
152
  /* @__PURE__ */ e(o, { size: "xs", hierarchy: "tertiary", children: "Assigned roles" }),
129
- /* @__PURE__ */ e(n, { align: "center", style: {
153
+ /* @__PURE__ */ e(i, { align: "center", style: {
130
154
  gap: "0.35rem"
131
- }, children: h.map((i) => /* @__PURE__ */ r(ie, { children: [
132
- /* @__PURE__ */ e(ne, { asChild: !0, children: /* @__PURE__ */ e(m, { color: "info", children: /* @__PURE__ */ e(o, { style: {
155
+ }, children: p.map((n) => /* @__PURE__ */ r(le, { children: [
156
+ /* @__PURE__ */ e(se, { asChild: !0, children: /* @__PURE__ */ e(l, { color: "info", children: /* @__PURE__ */ e(o, { style: {
133
157
  color: "inherit"
134
- }, hierarchy: "tertiary", children: i?.name }) }) }),
135
- /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ r(te, { side: "bottom", children: [
136
- /* @__PURE__ */ e(b, { abilities: i?.abilities }),
137
- /* @__PURE__ */ e(le, {})
158
+ }, hierarchy: "tertiary", children: n?.name }) }) }),
159
+ /* @__PURE__ */ e(ce, { children: /* @__PURE__ */ r(ae, { side: "bottom", children: [
160
+ /* @__PURE__ */ e(x, { abilities: n?.abilities }),
161
+ /* @__PURE__ */ e(de, {})
138
162
  ] }) })
139
163
  ] })) })
140
164
  ] }) : null
141
165
  ] }),
142
- /* @__PURE__ */ r(n, { align: "center", style: {
166
+ /* @__PURE__ */ r(i, { align: "center", style: {
143
167
  gap: "1.3rem"
144
168
  }, children: [
145
- /* @__PURE__ */ e(n, { style: {
169
+ /* @__PURE__ */ e(i, { style: {
146
170
  flexDirection: "column",
147
171
  gap: "0.35rem"
148
- }, children: /* @__PURE__ */ r(n, { style: {
172
+ }, children: /* @__PURE__ */ r(i, { style: {
149
173
  gap: "0.35rem"
150
174
  }, align: "center", children: [
151
- s?.admin ? /* @__PURE__ */ e(m, { border: !0, color: "primary", children: /* @__PURE__ */ e(o, { hierarchy: "tertiary", children: "Owner" }) }) : null,
152
- s?.emailVerifiedAt ? /* @__PURE__ */ r(m, { border: !0, color: "primary", children: [
153
- /* @__PURE__ */ e($, { size: 16 }),
175
+ c?.admin ? /* @__PURE__ */ e(l, { border: !0, color: "primary", children: /* @__PURE__ */ e(o, { hierarchy: "tertiary", children: "Owner" }) }) : null,
176
+ c?.emailVerifiedAt ? /* @__PURE__ */ r(l, { border: !0, color: "primary", children: [
177
+ /* @__PURE__ */ e(ie, { size: 16 }),
154
178
  /* @__PURE__ */ e(o, { hierarchy: "tertiary", children: "Email verified" })
155
179
  ] }) : null
156
180
  ] }) }),
157
- t?.userAbilities?.deleteMember || t?.userAbilities?.assignMemberRoles ? /* @__PURE__ */ r(z, { children: [
158
- /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e(l, { color: "secondary", children: /* @__PURE__ */ e(_, { size: 16 }) }) }),
159
- /* @__PURE__ */ e(T, { children: /* @__PURE__ */ r(w, { align: "end", side: "bottom", sideOffset: 8, children: [
160
- /* @__PURE__ */ e(O, { children: "Actions" }),
161
- t?.userAbilities?.deleteMember && /* @__PURE__ */ r(f, { onSelect: () => A(!0), children: [
162
- /* @__PURE__ */ e(ee, { size: 16 }),
163
- /* @__PURE__ */ e(o, { children: "Remove member" })
181
+ t?.userAbilities?.deleteMember || t?.userAbilities?.assignMemberRoles ? /* @__PURE__ */ r(w, { children: [
182
+ /* @__PURE__ */ e(T, { asChild: !0, children: /* @__PURE__ */ e(s, { variant: "filled", color: "secondary", children: /* @__PURE__ */ e(ne, { size: 16 }) }) }),
183
+ /* @__PURE__ */ e(O, { children: /* @__PURE__ */ r(j, { align: "end", side: "bottom", sideOffset: 8, color: "secondary", children: [
184
+ /* @__PURE__ */ r(v, { paddingSize: "xxs", mt: -0.35, mx: -0.35, style: {
185
+ borderWidth: "2px"
186
+ }, children: [
187
+ /* @__PURE__ */ e(m, { children: "Actions" }),
188
+ t?.userAbilities?.deleteMember && /* @__PURE__ */ r(b, { onSelect: () => A(!0), children: [
189
+ /* @__PURE__ */ e(oe, { size: 16 }),
190
+ /* @__PURE__ */ e(o, { children: "Remove member" })
191
+ ] }),
192
+ t?.userAbilities?.assignMemberRoles && /* @__PURE__ */ r(b, { onSelect: () => R(!0), children: [
193
+ /* @__PURE__ */ e(te, { size: 16 }),
194
+ /* @__PURE__ */ e(o, { children: "Assign role" })
195
+ ] })
164
196
  ] }),
165
- t?.userAbilities?.assignMemberRoles && /* @__PURE__ */ r(f, { onSelect: () => R(!0), children: [
166
- /* @__PURE__ */ e(re, { size: 16 }),
167
- /* @__PURE__ */ e(o, { children: "Assign role" })
168
- ] })
197
+ /* @__PURE__ */ e(m, { children: /* @__PURE__ */ r(i, { style: {
198
+ gap: ".35rem"
199
+ }, children: [
200
+ /* @__PURE__ */ r(i, { align: "center", style: {
201
+ gap: "0.35rem"
202
+ }, children: [
203
+ /* @__PURE__ */ r(i, { children: [
204
+ /* @__PURE__ */ e(l, { border: !0, children: /* @__PURE__ */ e(B, { size: 12 }) }),
205
+ /* @__PURE__ */ e(l, { border: !0, children: /* @__PURE__ */ e(k, { size: 12 }) })
206
+ ] }),
207
+ "move"
208
+ ] }),
209
+ /* @__PURE__ */ e(U, { spacing: "xxs" }),
210
+ /* @__PURE__ */ r(i, { align: "center", style: {
211
+ gap: ".35rem"
212
+ }, children: [
213
+ /* @__PURE__ */ e(l, { border: !0, children: /* @__PURE__ */ e(N, { size: 12 }) }),
214
+ "perform"
215
+ ] })
216
+ ] }) })
169
217
  ] }) })
170
218
  ] }) : null
171
219
  ] })
172
220
  ] });
173
221
  };
174
222
  export {
175
- Le as DNamespaceMemberContent
223
+ Ve as DNamespaceMemberContent
176
224
  };
@@ -6,18 +6,18 @@ import { DNamespaceMemberReactiveService as t } from "./DNamespaceMember.service
6
6
  import { Card as v } from "../card/Card.js";
7
7
  import S from "../card/CardSection.js";
8
8
  import { DNamespaceMemberContent as b } from "./DNamespaceMemberContent.js";
9
- const g = (m) => {
9
+ const _ = (m) => {
10
10
  const {
11
11
  namespaceId: o,
12
12
  filter: i = () => !0,
13
13
  onRemove: s,
14
14
  onAssignRole: c,
15
- ...n
16
- } = m, a = u(t), p = l(t), d = f.useMemo(() => a.values({
15
+ ...a
16
+ } = m, n = u(t), p = l(t), d = f.useMemo(() => n.values({
17
17
  namespaceId: o
18
18
  }), [p, o]);
19
- 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)) });
19
+ return /* @__PURE__ */ r(v, { ...a, 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
20
  };
21
21
  export {
22
- g as DNamespaceMemberList
22
+ _ as DNamespaceMemberList
23
23
  };
@@ -1,23 +1,23 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import d from "react";
2
+ import p from "react";
3
3
  import { Card as u } from "../card/Card.js";
4
- import { useService as S, useStore as l } from "../../utils/contextStore.js";
4
+ import { useService as l, useStore as S } from "../../utils/contextStore.js";
5
5
  import "merge-props";
6
6
  import { DOrganizationReactiveService as e } from "./DOrganization.service.js";
7
7
  import v from "../card/CardSection.js";
8
8
  import { DOrganizationContent as g } from "./DOrganizatonContent.js";
9
- const b = (i) => {
10
- const n = S(e), m = l(e), a = d.useMemo(() => n.values(), [m]), {
9
+ const _ = (i) => {
10
+ const n = l(e), m = S(e), a = p.useMemo(() => n.values(), [m]), {
11
11
  filter: c = () => !0,
12
12
  onLeave: s,
13
13
  onSetting: f,
14
14
  onSelect: t,
15
- ...p
15
+ ...d
16
16
  } = i;
17
- return /* @__PURE__ */ o(u, { ...p, children: a.filter(c).map((r) => r.id && /* @__PURE__ */ o(v, { border: !0, hover: !0, onClick: () => {
17
+ return /* @__PURE__ */ o(u, { ...d, children: a.filter(c).map((r) => r.id && /* @__PURE__ */ o(v, { border: !0, hover: !0, onClick: () => {
18
18
  t && t(r);
19
19
  }, children: /* @__PURE__ */ o(g, { onLeave: s, onSetting: f, organizationId: r?.id }) }, r.id)) });
20
20
  };
21
21
  export {
22
- b as DOrganizationList
22
+ _ as DOrganizationList
23
23
  };
@@ -1,16 +1,16 @@
1
1
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import s from "react";
3
- import { Menu as u, MenuTrigger as d, MenuPortal as l, MenuContent as g, MenuItem as f } from "../menu/Menu.js";
2
+ import u from "react";
3
+ import { Menu as d, MenuTrigger as s, MenuPortal as l, MenuContent as f, MenuItem as g } from "../menu/Menu.js";
4
4
  import { Button as h } from "../button/Button.js";
5
5
  import { DOrganizationReactiveService as i } from "./DOrganization.service.js";
6
6
  import { useService as o } from "../../utils/contextStore.js";
7
7
  const x = (n) => {
8
8
  const r = o(i), a = o(i), c = r.getById(n.organizationId);
9
- return s.useMemo(() => /* @__PURE__ */ m(u, { ...n, children: [
10
- /* @__PURE__ */ e(d, { asChild: !0, children: /* @__PURE__ */ e(h, { variant: "none", style: {
9
+ return u.useMemo(() => /* @__PURE__ */ m(d, { ...n, children: [
10
+ /* @__PURE__ */ e(s, { asChild: !0, children: /* @__PURE__ */ e(h, { variant: "none", style: {
11
11
  background: "transparent"
12
12
  }, children: c?.name }) }),
13
- /* @__PURE__ */ e(l, { children: /* @__PURE__ */ e(g, { side: "bottom", align: "start", sideOffset: 0, children: r.values().map((t) => /* @__PURE__ */ e(f, { onSelect: () => n.onOrganizationSelect(t.id), children: t.name }, t.id)) }) })
13
+ /* @__PURE__ */ e(l, { children: /* @__PURE__ */ e(f, { side: "bottom", align: "start", sideOffset: 0, children: r.values().map((t) => /* @__PURE__ */ e(g, { onSelect: () => n.onOrganizationSelect(t.id), children: t.name }, t.id)) }) })
14
14
  ] }), [a]);
15
15
  };
16
16
  export {
@@ -1,20 +1,20 @@
1
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as t, 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 { Text as m } from "../text/Text.js";
6
- import { DOrganizationReactiveService as S } from "./DOrganization.service.js";
7
- import { IconFolder as k, IconUser as L, IconServer as N, IconSettings as w, IconLogout as F } from "@tabler/icons-react";
8
- import { Flex as o } from "../flex/Flex.js";
9
- import { Button as v } from "../button/Button.js";
5
+ import { Text as a } from "../text/Text.js";
6
+ import { DOrganizationReactiveService as v } from "./DOrganization.service.js";
7
+ import { IconFolders as k, IconUsers as L, IconServer as N, IconEdit as w, IconLogout as F } from "@tabler/icons-react";
8
+ import { Flex as i } from "../flex/Flex.js";
9
+ import { Button as S } from "../button/Button.js";
10
10
  import { Spacing as P } from "../spacing/Spacing.js";
11
- import { Avatar as T } from "../avatar/Avatar.js";
12
- import { DUserReactiveService as z } from "../d-user/DUser.service.js";
11
+ import { Avatar as _ } from "../avatar/Avatar.js";
12
+ import { DUserReactiveService as b } from "../d-user/DUser.service.js";
13
13
  import "../../_virtual/compiler-runtime.js";
14
14
  import '../../assets/components/dialog/Dialog.style.css';import '../../assets/components/tooltip/Tooltip.style.css';import '../../assets/components/form/Input.style.css';import '../../assets/components/card/Card.style.css';import '../../assets/components/menu/Menu.style.css';/* empty css */
15
15
  import "@radix-ui/react-dropdown-menu";
16
16
  /* empty css */
17
- import { useUserSession as W } from "../d-user/DUser.session.hook.js";
17
+ import { useUserSession as E } from "../d-user/DUser.session.hook.js";
18
18
  import { Badge as d } from "../badge/Badge.js";
19
19
  import "@radix-ui/react-checkbox";
20
20
  /* empty css */
@@ -27,7 +27,7 @@ import "@radix-ui/react-one-time-password-field";
27
27
  import "@radix-ui/react-radio-group";
28
28
  import "../form/SwitchInput.js";
29
29
  import "../form/TextInput.js";
30
- import { DNamespaceReactiveService as b } from "../d-namespace/DNamespace.service.js";
30
+ import { DNamespaceReactiveService as z } from "../d-namespace/DNamespace.service.js";
31
31
  import { DNamespaceMemberReactiveService as x } from "../d-member/DNamespaceMember.service.js";
32
32
  import "@radix-ui/react-tooltip";
33
33
  /* empty css */
@@ -35,59 +35,59 @@ import "@radix-ui/react-dialog";
35
35
  /* empty css */
36
36
  const Ie = (I) => {
37
37
  const {
38
- organizationId: a,
38
+ organizationId: m,
39
39
  onLeave: M = () => {
40
40
  },
41
41
  onSetting: j = () => {
42
42
  }
43
- } = I, B = c(S), C = s(S), D = c(b), $ = s(b), A = c(x), R = s(x), U = s(z), O = c(z), g = W(), p = n.useMemo(() => U.getById(g?.user?.id), [O, g]), r = n.useMemo(() => a ? C.getById(a) : null, [B, a]), t = n.useMemo(() => r ? $.getById(r.namespace?.id) : null, [D, r]), u = n.useMemo(() => t && p ? R.getByNamespaceIdAndUserId(t.id, p.id) : null, [A, t, p]), y = t?.projects?.count, h = t?.members?.count, f = t?.runtimes?.count;
44
- return /* @__PURE__ */ i(o, { align: "center", style: {
43
+ } = I, B = c(v), C = s(v), D = c(z), $ = s(z), A = c(x), R = s(x), U = s(b), O = c(b), u = E(), p = n.useMemo(() => U.getById(u?.user?.id), [O, u]), r = n.useMemo(() => m ? C.getById(m) : null, [B, m]), o = n.useMemo(() => r ? $.getById(r.namespace?.id) : null, [D, r]), g = n.useMemo(() => o && p ? R.getByNamespaceIdAndUserId(o.id, p.id) : null, [A, o, p]), h = o?.projects?.count, f = o?.members?.count, y = o?.runtimes?.count;
44
+ return /* @__PURE__ */ t(i, { align: "center", style: {
45
45
  gap: "1.3rem"
46
46
  }, justify: "space-between", children: [
47
- /* @__PURE__ */ i(o, { align: "center", style: {
47
+ /* @__PURE__ */ t(i, { align: "center", style: {
48
48
  gap: "1.3rem"
49
49
  }, children: [
50
- /* @__PURE__ */ e(T, { bg: "transparent", identifier: r?.name ?? "" }),
51
- /* @__PURE__ */ i(o, { style: {
50
+ /* @__PURE__ */ e(_, { bg: "transparent", identifier: r?.name ?? "" }),
51
+ /* @__PURE__ */ t(i, { style: {
52
52
  flexDirection: "column"
53
53
  }, children: [
54
- /* @__PURE__ */ e(m, { size: "lg", hierarchy: "primary", display: "block", children: r?.name }),
54
+ /* @__PURE__ */ e(a, { size: "lg", hierarchy: "primary", display: "block", children: r?.name }),
55
55
  /* @__PURE__ */ e(P, { spacing: "xxs" }),
56
- /* @__PURE__ */ i(o, { align: "center", style: {
56
+ /* @__PURE__ */ t(i, { align: "center", style: {
57
57
  gap: "0.35rem",
58
58
  flexWrap: "wrap"
59
59
  }, children: [
60
- /* @__PURE__ */ e(d, { color: "secondary", children: /* @__PURE__ */ i(o, { align: "center", style: {
60
+ /* @__PURE__ */ e(d, { border: !0, children: /* @__PURE__ */ t(i, { align: "center", style: {
61
61
  gap: "0.35rem"
62
62
  }, children: [
63
63
  /* @__PURE__ */ e(k, { size: 16 }),
64
- /* @__PURE__ */ e(m, { size: "xs", hierarchy: "tertiary", children: `${y ?? 0} project${(y ?? 0) !== 1 ? "s" : ""}` })
64
+ /* @__PURE__ */ e(a, { size: "xs", hierarchy: "tertiary", children: `${h ?? 0} project${(h ?? 0) !== 1 ? "s" : ""}` })
65
65
  ] }) }),
66
- /* @__PURE__ */ e(d, { color: "secondary", children: /* @__PURE__ */ i(o, { align: "center", style: {
66
+ /* @__PURE__ */ e(d, { border: !0, children: /* @__PURE__ */ t(i, { align: "center", style: {
67
67
  gap: "0.35rem"
68
68
  }, children: [
69
69
  /* @__PURE__ */ e(L, { size: 16 }),
70
- /* @__PURE__ */ i(m, { size: "xs", hierarchy: "tertiary", children: [
70
+ /* @__PURE__ */ t(a, { size: "xs", hierarchy: "tertiary", children: [
71
71
  " ",
72
- `${h ?? 0} member${(h ?? 0) !== 1 ? "s" : ""}`
72
+ `${f ?? 0} member${(f ?? 0) !== 1 ? "s" : ""}`
73
73
  ] })
74
74
  ] }) }),
75
- /* @__PURE__ */ e(d, { color: "secondary", children: /* @__PURE__ */ i(o, { align: "center", style: {
75
+ /* @__PURE__ */ e(d, { border: !0, children: /* @__PURE__ */ t(i, { align: "center", style: {
76
76
  gap: "0.35rem"
77
77
  }, children: [
78
78
  /* @__PURE__ */ e(N, { size: 16 }),
79
- /* @__PURE__ */ e(m, { size: "xs", hierarchy: "tertiary", children: `${f ?? 0} runtime${(f ?? 0) !== 1 ? "s" : ""}` })
79
+ /* @__PURE__ */ e(a, { size: "xs", hierarchy: "tertiary", children: `${y ?? 0} runtime${(y ?? 0) !== 1 ? "s" : ""}` })
80
80
  ] }) })
81
81
  ] })
82
82
  ] })
83
83
  ] }),
84
- /* @__PURE__ */ i(o, { align: "center", style: {
85
- gap: "0.35rem"
84
+ /* @__PURE__ */ t(i, { align: "center", style: {
85
+ gap: "0.7rem"
86
86
  }, children: [
87
- r?.userAbilities?.deleteOrganization || r?.userAbilities?.updateOrganization ? /* @__PURE__ */ e(v, { color: "secondary", onClick: (l) => {
87
+ r?.userAbilities?.deleteOrganization || r?.userAbilities?.updateOrganization ? /* @__PURE__ */ e(S, { variant: "filled", color: "secondary", onClick: (l) => {
88
88
  l.stopPropagation(), j(r);
89
89
  }, children: /* @__PURE__ */ e(w, { size: 16 }) }) : null,
90
- u && u.userAbilities?.deleteMember ? /* @__PURE__ */ i(v, { color: "error", onClick: (l) => {
90
+ g && g.userAbilities?.deleteMember ? /* @__PURE__ */ t(S, { variant: "filled", color: "error", onClick: (l) => {
91
91
  l.stopPropagation(), r && M(r);
92
92
  }, children: [
93
93
  /* @__PURE__ */ e(F, { size: 16 }),
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import { useService as a } from "../../utils/contextStore.js";
2
+ import { useService as m } from "../../utils/contextStore.js";
3
3
  import p from "react";
4
4
  import "merge-props";
5
5
  import { Flex as t } from "../flex/Flex.js";
@@ -12,13 +12,13 @@ import { DRuntimeReactiveService as b } from "../d-runtime/DRuntime.service.js";
12
12
  import "../../_virtual/compiler-runtime.js";
13
13
  import '../../assets/components/card/Card.style.css';/* empty css */
14
14
  import { Button as S } from "../button/Button.js";
15
- const T = (d) => {
15
+ const G = (d) => {
16
16
  const {
17
17
  projectId: s,
18
18
  onSetting: u = () => {
19
19
  },
20
20
  minimized: o = !1
21
- } = d, l = a(y), h = o ? null : a(b), r = p.useMemo(() => l.getById(s), [l, s]), m = o ? null : p.useMemo(() => r ? h.getById(r.primaryRuntime?.id) : null, [r]);
21
+ } = d, l = m(y), h = o ? null : m(b), r = p.useMemo(() => l.getById(s), [l, s]), a = o ? null : p.useMemo(() => r ? h.getById(r.primaryRuntime?.id) : null, [r]);
22
22
  return /* @__PURE__ */ i(t, { align: "center", style: {
23
23
  gap: "1.3rem"
24
24
  }, justify: "space-between", children: [
@@ -54,9 +54,9 @@ const T = (d) => {
54
54
  /* @__PURE__ */ e(v, { size: 16 }),
55
55
  /* @__PURE__ */ e(n, { size: "xs", children: r?.runtimes?.count ?? 0 })
56
56
  ] }),
57
- m && /* @__PURE__ */ i(c, { border: !0, children: [
57
+ a && /* @__PURE__ */ i(c, { border: !0, children: [
58
58
  /* @__PURE__ */ e(z, { size: 16 }),
59
- /* @__PURE__ */ e(n, { size: "xs", children: m.name })
59
+ /* @__PURE__ */ e(n, { size: "xs", children: a.name })
60
60
  ] })
61
61
  ] })
62
62
  ] }),
@@ -67,5 +67,5 @@ const T = (d) => {
67
67
  ] });
68
68
  };
69
69
  export {
70
- T as DNamespaceProjectContent
70
+ G as DNamespaceProjectContent
71
71
  };
@@ -1,25 +1,25 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import f from "react";
3
3
  import { Card as u } from "../card/Card.js";
4
- import { useService as S, useStore as l } from "../../utils/contextStore.js";
4
+ import { useService as l, useStore as S } from "../../utils/contextStore.js";
5
5
  import "merge-props";
6
6
  import { DNamespaceProjectReactiveService as i } from "./DNamespaceProject.service.js";
7
7
  import v from "../card/CardSection.js";
8
8
  import { DNamespaceProjectContent as j } from "./DNamespaceProjectContent.js";
9
- const b = (c) => {
9
+ const _ = (c) => {
10
10
  const {
11
11
  namespaceId: t,
12
12
  filter: m = () => !0,
13
13
  onSetting: s,
14
14
  onSelect: o,
15
15
  ...n
16
- } = c, p = S(i), a = l(i), d = f.useMemo(() => p.values({
16
+ } = c, a = l(i), p = S(i), d = f.useMemo(() => a.values({
17
17
  namespaceId: t
18
- }), [a, t]);
18
+ }), [p, t]);
19
19
  return /* @__PURE__ */ r(u, { ...n, children: d.filter(m).map((e) => e.id && /* @__PURE__ */ r(v, { border: !0, hover: !0, onClick: () => {
20
20
  o && o(e);
21
21
  }, children: /* @__PURE__ */ r(j, { onSetting: s, projectId: e?.id }) }, e.id)) });
22
22
  };
23
23
  export {
24
- b as DNamespaceProjectList
24
+ _ as DNamespaceProjectList
25
25
  };