@code0-tech/pictor 0.0.0-mvp.46 → 0.0.0-mvp.47

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 (295) hide show
  1. package/dist/components/avatar/Avatar.js +6 -7
  2. package/dist/components/data-table/DataTableFilterInput.js +5 -3
  3. package/dist/components/editor/Editor.js +14 -15
  4. package/dist/components/{d-fullscreen/DFullScreen.d.ts → fullscreen/FullScreen.d.ts} +2 -2
  5. package/dist/components/{d-fullscreen/DFullScreen.js → fullscreen/FullScreen.js} +2 -2
  6. package/dist/components/{d-layout/DLayout.d.ts → layout/Layout.d.ts} +2 -2
  7. package/dist/components/{d-layout/DLayout.js → layout/Layout.js} +11 -11
  8. package/dist/components/menu/Menu.js +8 -8
  9. package/dist/components/resizable/Resizable.d.ts +12 -0
  10. package/dist/components/{d-resizable/DResizable.js → resizable/Resizable.js} +7 -7
  11. package/dist/components/tab/Tab.js +4 -4
  12. package/dist/components/toast/Toast.js +1 -1
  13. package/dist/index.d.ts +0 -20
  14. package/dist/index.js +152 -273
  15. package/package.json +18 -18
  16. package/dist/assets/components/d-flow/DFlow.style.css +0 -1
  17. package/dist/assets/components/d-flow-folder/DFlowFolder.style.css +0 -1
  18. package/dist/assets/components/d-flow-input/DFlowInputDataType.style.css +0 -1
  19. package/dist/assets/components/d-flow-node/DFlowNode.style.css +0 -1
  20. package/dist/assets/components/d-flow-panel/DFlowMiniMap.style.css +0 -1
  21. package/dist/assets/components/d-flow-suggestion/DFlowSuggestionSearchInput.style.css +0 -1
  22. package/dist/assets/components/d-flow-validation/DFlowValidation.style.css +0 -1
  23. package/dist/assets/node_modules/@xyflow/react/dist/style.css +0 -1
  24. package/dist/assets/node_modules/ldrs/dist/react/LineWobble.css +0 -1
  25. package/dist/components/d-application/DApplication.service.d.ts +0 -9
  26. package/dist/components/d-application/DApplication.service.js +0 -10
  27. package/dist/components/d-flow/DFlow.d.ts +0 -9
  28. package/dist/components/d-flow/DFlow.edges.hook.d.ts +0 -4
  29. package/dist/components/d-flow/DFlow.edges.hook.js +0 -110
  30. package/dist/components/d-flow/DFlow.js +0 -484
  31. package/dist/components/d-flow/DFlow.nodes.hook.d.ts +0 -4
  32. package/dist/components/d-flow/DFlow.nodes.hook.js +0 -128
  33. package/dist/components/d-flow/DFlow.service.d.ts +0 -21
  34. package/dist/components/d-flow/DFlow.service.js +0 -156
  35. package/dist/components/d-flow/DFlow.util.d.ts +0 -4
  36. package/dist/components/d-flow/DFlow.util.js +0 -63
  37. package/dist/components/d-flow/DFlow.view.d.ts +0 -4
  38. package/dist/components/d-flow/DFlow.view.js +0 -1
  39. package/dist/components/d-flow/DFlowEdge.d.ts +0 -12
  40. package/dist/components/d-flow/DFlowEdge.js +0 -69
  41. package/dist/components/d-flow/index.d.ts +0 -4
  42. package/dist/components/d-flow/index.js +0 -10
  43. package/dist/components/d-flow-data-type/DFlowDataType.service.d.ts +0 -15
  44. package/dist/components/d-flow-data-type/DFlowDataType.service.js +0 -203
  45. package/dist/components/d-flow-data-type/DFlowDataType.view.d.ts +0 -41
  46. package/dist/components/d-flow-data-type/DFlowDataType.view.js +0 -76
  47. package/dist/components/d-flow-data-type/index.d.ts +0 -2
  48. package/dist/components/d-flow-data-type/index.js +0 -6
  49. package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsKeyRule.d.ts +0 -5
  50. package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsKeyRule.js +0 -231
  51. package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsTypeRule.d.ts +0 -5
  52. package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsTypeRule.js +0 -235
  53. package/dist/components/d-flow-data-type/rules/DFlowDataTypeItemOfCollectionRule.d.ts +0 -7
  54. package/dist/components/d-flow-data-type/rules/DFlowDataTypeItemOfCollectionRule.js +0 -214
  55. package/dist/components/d-flow-data-type/rules/DFlowDataTypeNumberRangeRule.d.ts +0 -4
  56. package/dist/components/d-flow-data-type/rules/DFlowDataTypeNumberRangeRule.js +0 -214
  57. package/dist/components/d-flow-data-type/rules/DFlowDataTypeParentRule.d.ts +0 -8
  58. package/dist/components/d-flow-data-type/rules/DFlowDataTypeParentRule.js +0 -217
  59. package/dist/components/d-flow-data-type/rules/DFlowDataTypeRegexRule.d.ts +0 -4
  60. package/dist/components/d-flow-data-type/rules/DFlowDataTypeRegexRule.js +0 -214
  61. package/dist/components/d-flow-data-type/rules/DFlowDataTypeReturnTypeRule.d.ts +0 -7
  62. package/dist/components/d-flow-data-type/rules/DFlowDataTypeReturnTypeRule.js +0 -250
  63. package/dist/components/d-flow-data-type/rules/DFlowDataTypeRule.d.ts +0 -8
  64. package/dist/components/d-flow-data-type/rules/DFlowDataTypeRule.js +0 -10
  65. package/dist/components/d-flow-data-type/rules/DFlowDataTypeRules.d.ts +0 -3
  66. package/dist/components/d-flow-data-type/rules/DFlowDataTypeRules.js +0 -10
  67. package/dist/components/d-flow-data-type/variants/DFlowDataTypeNodeVariant.d.ts +0 -4
  68. package/dist/components/d-flow-data-type/variants/DFlowDataTypeNodeVariant.js +0 -214
  69. package/dist/components/d-flow-data-type/variants/DFlowDataTypeVariant.d.ts +0 -4
  70. package/dist/components/d-flow-data-type/variants/DFlowDataTypeVariant.js +0 -1
  71. package/dist/components/d-flow-data-type/variants/DFlowDataTypeVariants.d.ts +0 -3
  72. package/dist/components/d-flow-data-type/variants/DFlowDataTypeVariants.js +0 -5
  73. package/dist/components/d-flow-file/DFlowTabDefault.d.ts +0 -7
  74. package/dist/components/d-flow-file/DFlowTabDefault.js +0 -106
  75. package/dist/components/d-flow-file/DFlowTabTrigger.d.ts +0 -6
  76. package/dist/components/d-flow-file/DFlowTabTrigger.js +0 -75
  77. package/dist/components/d-flow-file/DFlowTabs.d.ts +0 -8
  78. package/dist/components/d-flow-file/DFlowTabs.js +0 -84
  79. package/dist/components/d-flow-file/index.d.ts +0 -1
  80. package/dist/components/d-flow-file/index.js +0 -4
  81. package/dist/components/d-flow-folder/DFlowFolder.d.ts +0 -36
  82. package/dist/components/d-flow-folder/DFlowFolder.js +0 -273
  83. package/dist/components/d-flow-folder/DFlowFolderContextMenu.d.ts +0 -18
  84. package/dist/components/d-flow-folder/DFlowFolderContextMenu.js +0 -53
  85. package/dist/components/d-flow-folder/DFlowFolderCreateDialog.d.ts +0 -9
  86. package/dist/components/d-flow-folder/DFlowFolderCreateDialog.js +0 -115
  87. package/dist/components/d-flow-folder/DFlowFolderDeleteDialog.d.ts +0 -10
  88. package/dist/components/d-flow-folder/DFlowFolderDeleteDialog.js +0 -64
  89. package/dist/components/d-flow-folder/DFlowFolderItemPathInput.d.ts +0 -5
  90. package/dist/components/d-flow-folder/DFlowFolderItemPathInput.js +0 -51
  91. package/dist/components/d-flow-folder/DFlowFolderRenameDialog.d.ts +0 -10
  92. package/dist/components/d-flow-folder/DFlowFolderRenameDialog.js +0 -59
  93. package/dist/components/d-flow-folder/index.d.ts +0 -4
  94. package/dist/components/d-flow-folder/index.js +0 -13
  95. package/dist/components/d-flow-function/DFlowFunction.input.hook.d.ts +0 -5
  96. package/dist/components/d-flow-function/DFlowFunction.input.hook.js +0 -8
  97. package/dist/components/d-flow-function/DFlowFunction.return.hook.d.ts +0 -5
  98. package/dist/components/d-flow-function/DFlowFunction.return.hook.js +0 -9
  99. package/dist/components/d-flow-function/DFlowFunction.service.d.ts +0 -11
  100. package/dist/components/d-flow-function/DFlowFunction.service.js +0 -13
  101. package/dist/components/d-flow-function/DFlowFunction.view.d.ts +0 -81
  102. package/dist/components/d-flow-function/DFlowFunction.view.js +0 -139
  103. package/dist/components/d-flow-function/index.d.ts +0 -2
  104. package/dist/components/d-flow-function/index.js +0 -7
  105. package/dist/components/d-flow-input/DFlowInput.d.ts +0 -11
  106. package/dist/components/d-flow-input/DFlowInput.js +0 -29
  107. package/dist/components/d-flow-input/DFlowInputDataType.d.ts +0 -15
  108. package/dist/components/d-flow-input/DFlowInputDataType.js +0 -131
  109. package/dist/components/d-flow-input/DFlowInputDataTypeEditDialog.d.ts +0 -9
  110. package/dist/components/d-flow-input/DFlowInputDataTypeEditDialog.js +0 -102
  111. package/dist/components/d-flow-input/DFlowInputDefault.d.ts +0 -5
  112. package/dist/components/d-flow-input/DFlowInputDefault.js +0 -129
  113. package/dist/components/d-flow-input/DFlowInputLiteralBadge.d.ts +0 -7
  114. package/dist/components/d-flow-input/DFlowInputLiteralBadge.js +0 -24
  115. package/dist/components/d-flow-input/DFlowInputNodeBadge.d.ts +0 -11
  116. package/dist/components/d-flow-input/DFlowInputNodeBadge.js +0 -47
  117. package/dist/components/d-flow-input/DFlowInputObject.d.ts +0 -10
  118. package/dist/components/d-flow-input/DFlowInputObject.js +0 -83
  119. package/dist/components/d-flow-input/DFlowInputObjectEditDialog.d.ts +0 -16
  120. package/dist/components/d-flow-input/DFlowInputObjectEditDialog.js +0 -118
  121. package/dist/components/d-flow-input/DFlowInputObjectTree.d.ts +0 -16
  122. package/dist/components/d-flow-input/DFlowInputObjectTree.js +0 -99
  123. package/dist/components/d-flow-input/DFlowInputReferenceBadge.d.ts +0 -11
  124. package/dist/components/d-flow-input/DFlowInputReferenceBadge.js +0 -33
  125. package/dist/components/d-flow-node/DFlowNode.d.ts +0 -10
  126. package/dist/components/d-flow-node/DFlowNode.js +0 -1
  127. package/dist/components/d-flow-node/DFlowNode.return.hook.d.ts +0 -5
  128. package/dist/components/d-flow-node/DFlowNode.return.hook.js +0 -27
  129. package/dist/components/d-flow-node/DFlowNodeDefaultCard.d.ts +0 -5
  130. package/dist/components/d-flow-node/DFlowNodeDefaultCard.js +0 -118
  131. package/dist/components/d-flow-node/DFlowNodeGroupCard.d.ts +0 -5
  132. package/dist/components/d-flow-node/DFlowNodeGroupCard.js +0 -69
  133. package/dist/components/d-flow-node/DFlowNodeReference.return.hook.d.ts +0 -4
  134. package/dist/components/d-flow-node/DFlowNodeReference.return.hook.js +0 -77
  135. package/dist/components/d-flow-node/DFlowNodeTriggerCard.d.ts +0 -5
  136. package/dist/components/d-flow-node/DFlowNodeTriggerCard.js +0 -66
  137. package/dist/components/d-flow-panel/DFlowExport.d.ts +0 -6
  138. package/dist/components/d-flow-panel/DFlowExport.js +0 -33
  139. package/dist/components/d-flow-panel/DFlowMiniMap.d.ts +0 -2
  140. package/dist/components/d-flow-panel/DFlowMiniMap.js +0 -15
  141. package/dist/components/d-flow-panel/DFlowPanelControl.d.ts +0 -6
  142. package/dist/components/d-flow-panel/DFlowPanelControl.js +0 -51
  143. package/dist/components/d-flow-panel/DFlowPanelLayout.d.ts +0 -4
  144. package/dist/components/d-flow-panel/DFlowPanelLayout.js +0 -38
  145. package/dist/components/d-flow-panel/DFlowPanelSize.d.ts +0 -2
  146. package/dist/components/d-flow-panel/DFlowPanelSize.js +0 -89
  147. package/dist/components/d-flow-panel/DFlowPanelUpdate.d.ts +0 -6
  148. package/dist/components/d-flow-panel/DFlowPanelUpdate.js +0 -77
  149. package/dist/components/d-flow-panel/index.d.ts +0 -5
  150. package/dist/components/d-flow-panel/index.js +0 -12
  151. package/dist/components/d-flow-suggestion/DFlowDataTypeSuggestions.hook.d.ts +0 -3
  152. package/dist/components/d-flow-suggestion/DFlowDataTypeSuggestions.hook.js +0 -34
  153. package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.d.ts +0 -3
  154. package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.js +0 -50
  155. package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.d.ts +0 -3
  156. package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.js +0 -133
  157. package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.d.ts +0 -3
  158. package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.js +0 -28
  159. package/dist/components/d-flow-suggestion/DFlowSuggestion.view.d.ts +0 -14
  160. package/dist/components/d-flow-suggestion/DFlowSuggestion.view.js +0 -4
  161. package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.d.ts +0 -8
  162. package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.js +0 -66
  163. package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.util.d.ts +0 -3
  164. package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.util.js +0 -43
  165. package/dist/components/d-flow-suggestion/DFlowSuggestionMenuFooter.d.ts +0 -2
  166. package/dist/components/d-flow-suggestion/DFlowSuggestionMenuFooter.js +0 -69
  167. package/dist/components/d-flow-suggestion/DFlowSuggestionMenuSearchBar.d.ts +0 -6
  168. package/dist/components/d-flow-suggestion/DFlowSuggestionMenuSearchBar.js +0 -21
  169. package/dist/components/d-flow-suggestion/DFlowSuggestionSearchInput.d.ts +0 -7
  170. package/dist/components/d-flow-suggestion/DFlowSuggestionSearchInput.js +0 -36
  171. package/dist/components/d-flow-suggestion/DFlowValueSuggestions.hook.d.ts +0 -3
  172. package/dist/components/d-flow-suggestion/DFlowValueSuggestions.hook.js +0 -44
  173. package/dist/components/d-flow-suggestion/index.d.ts +0 -1
  174. package/dist/components/d-flow-suggestion/index.js +0 -4
  175. package/dist/components/d-flow-type/DFlowType.service.d.ts +0 -11
  176. package/dist/components/d-flow-type/DFlowType.service.js +0 -13
  177. package/dist/components/d-flow-type/DFlowType.view.d.ts +0 -44
  178. package/dist/components/d-flow-type/DFlowType.view.js +0 -93
  179. package/dist/components/d-flow-type/index.d.ts +0 -2
  180. package/dist/components/d-flow-type/index.js +0 -6
  181. package/dist/components/d-flow-validation/DDataTypeValidation.hook.d.ts +0 -2
  182. package/dist/components/d-flow-validation/DDataTypeValidation.hook.js +0 -18
  183. package/dist/components/d-flow-validation/DFlowValidation.d.ts +0 -6
  184. package/dist/components/d-flow-validation/DFlowValidation.hook.d.ts +0 -3
  185. package/dist/components/d-flow-validation/DFlowValidation.hook.js +0 -23
  186. package/dist/components/d-flow-validation/DFlowValidation.js +0 -67
  187. package/dist/components/d-flow-validation/DNodeValidation.hook.d.ts +0 -3
  188. package/dist/components/d-flow-validation/DNodeValidation.hook.js +0 -63
  189. package/dist/components/d-flow-validation/DValueValidation.hook.d.ts +0 -4
  190. package/dist/components/d-flow-validation/DValueValidation.hook.js +0 -9
  191. package/dist/components/d-flow-validation/index.d.ts +0 -2
  192. package/dist/components/d-flow-validation/index.js +0 -6
  193. package/dist/components/d-license/DNamespaceLicense.service.d.ts +0 -11
  194. package/dist/components/d-license/DNamespaceLicense.service.js +0 -13
  195. package/dist/components/d-license/DNamespaceLicense.view.d.ts +0 -26
  196. package/dist/components/d-license/DNamespaceLicense.view.js +0 -57
  197. package/dist/components/d-license/index.d.ts +0 -2
  198. package/dist/components/d-license/index.js +0 -6
  199. package/dist/components/d-member/DNamespaceMember.service.d.ts +0 -13
  200. package/dist/components/d-member/DNamespaceMember.service.js +0 -18
  201. package/dist/components/d-member/DNamespaceMember.view.d.ts +0 -29
  202. package/dist/components/d-member/DNamespaceMember.view.js +0 -62
  203. package/dist/components/d-member/DNamespaceMemberCard.d.ts +0 -10
  204. package/dist/components/d-member/DNamespaceMemberCard.js +0 -16
  205. package/dist/components/d-member/DNamespaceMemberContent.d.ts +0 -10
  206. package/dist/components/d-member/DNamespaceMemberContent.js +0 -225
  207. package/dist/components/d-member/DNamespaceMemberList.d.ts +0 -12
  208. package/dist/components/d-member/DNamespaceMemberList.js +0 -24
  209. package/dist/components/d-member/index.d.ts +0 -4
  210. package/dist/components/d-member/index.js +0 -10
  211. package/dist/components/d-namespace/DNamespace.service.d.ts +0 -6
  212. package/dist/components/d-namespace/DNamespace.service.js +0 -13
  213. package/dist/components/d-namespace/DNamespace.view.d.ts +0 -32
  214. package/dist/components/d-namespace/DNamespace.view.js +0 -65
  215. package/dist/components/d-namespace/index.d.ts +0 -2
  216. package/dist/components/d-namespace/index.js +0 -6
  217. package/dist/components/d-organization/DOrganization.service.d.ts +0 -8
  218. package/dist/components/d-organization/DOrganization.service.js +0 -13
  219. package/dist/components/d-organization/DOrganization.view.d.ts +0 -23
  220. package/dist/components/d-organization/DOrganization.view.js +0 -55
  221. package/dist/components/d-organization/DOrganizationCard.d.ts +0 -11
  222. package/dist/components/d-organization/DOrganizationCard.js +0 -16
  223. package/dist/components/d-organization/DOrganizationList.d.ts +0 -10
  224. package/dist/components/d-organization/DOrganizationList.js +0 -24
  225. package/dist/components/d-organization/DOrganizationMenu.d.ts +0 -9
  226. package/dist/components/d-organization/DOrganizationMenu.js +0 -18
  227. package/dist/components/d-organization/DOrganizatonContent.d.ts +0 -10
  228. package/dist/components/d-organization/DOrganizatonContent.js +0 -102
  229. package/dist/components/d-organization/index.d.ts +0 -5
  230. package/dist/components/d-organization/index.js +0 -40
  231. package/dist/components/d-project/DNamespaceProject.service.d.ts +0 -13
  232. package/dist/components/d-project/DNamespaceProject.service.js +0 -13
  233. package/dist/components/d-project/DNamespaceProject.view.d.ts +0 -44
  234. package/dist/components/d-project/DNamespaceProject.view.js +0 -78
  235. package/dist/components/d-project/DNamespaceProjectCard.d.ts +0 -9
  236. package/dist/components/d-project/DNamespaceProjectCard.js +0 -17
  237. package/dist/components/d-project/DNamespaceProjectContent.d.ts +0 -10
  238. package/dist/components/d-project/DNamespaceProjectContent.js +0 -72
  239. package/dist/components/d-project/DNamespaceProjectList.d.ts +0 -11
  240. package/dist/components/d-project/DNamespaceProjectList.js +0 -26
  241. package/dist/components/d-project/DNamespaceProjectMenu.d.ts +0 -13
  242. package/dist/components/d-project/DNamespaceProjectMenu.js +0 -57
  243. package/dist/components/d-project/index.d.ts +0 -5
  244. package/dist/components/d-project/index.js +0 -27
  245. package/dist/components/d-resizable/DResizable.d.ts +0 -12
  246. package/dist/components/d-role/DNamespaceRole.service.d.ts +0 -13
  247. package/dist/components/d-role/DNamespaceRole.service.js +0 -13
  248. package/dist/components/d-role/DNamespaceRole.view.d.ts +0 -29
  249. package/dist/components/d-role/DNamespaceRole.view.js +0 -61
  250. package/dist/components/d-role/DNamespaceRoleCard.d.ts +0 -11
  251. package/dist/components/d-role/DNamespaceRoleCard.js +0 -17
  252. package/dist/components/d-role/DNamespaceRoleContent.d.ts +0 -10
  253. package/dist/components/d-role/DNamespaceRoleContent.js +0 -163
  254. package/dist/components/d-role/DNamespaceRoleList.d.ts +0 -12
  255. package/dist/components/d-role/DNamespaceRoleList.js +0 -25
  256. package/dist/components/d-role/DNamespaceRolePermissions.d.ts +0 -5
  257. package/dist/components/d-role/DNamespaceRolePermissions.js +0 -123
  258. package/dist/components/d-role/index.d.ts +0 -4
  259. package/dist/components/d-role/index.js +0 -10
  260. package/dist/components/d-runtime/DRuntime.service.d.ts +0 -12
  261. package/dist/components/d-runtime/DRuntime.service.js +0 -9
  262. package/dist/components/d-runtime/DRuntime.view.d.ts +0 -41
  263. package/dist/components/d-runtime/DRuntime.view.js +0 -76
  264. package/dist/components/d-runtime/DRuntimeCard.d.ts +0 -9
  265. package/dist/components/d-runtime/DRuntimeCard.js +0 -18
  266. package/dist/components/d-runtime/DRuntimeContent.d.ts +0 -9
  267. package/dist/components/d-runtime/DRuntimeContent.js +0 -46
  268. package/dist/components/d-runtime/DRuntimeList.d.ts +0 -12
  269. package/dist/components/d-runtime/DRuntimeList.js +0 -29
  270. package/dist/components/d-runtime/index.d.ts +0 -4
  271. package/dist/components/d-runtime/index.js +0 -10
  272. package/dist/components/d-user/DUser.service.d.ts +0 -20
  273. package/dist/components/d-user/DUser.service.js +0 -18
  274. package/dist/components/d-user/DUser.session.hook.d.ts +0 -3
  275. package/dist/components/d-user/DUser.session.hook.js +0 -16
  276. package/dist/components/d-user/DUser.view.d.ts +0 -55
  277. package/dist/components/d-user/DUser.view.js +0 -103
  278. package/dist/components/d-user/DUserCard.d.ts +0 -8
  279. package/dist/components/d-user/DUserCard.js +0 -15
  280. package/dist/components/d-user/DUserContent.d.ts +0 -8
  281. package/dist/components/d-user/DUserContent.js +0 -52
  282. package/dist/components/d-user/DUserInput.d.ts +0 -7
  283. package/dist/components/d-user/DUserInput.js +0 -101
  284. package/dist/components/d-user/DUserList.d.ts +0 -9
  285. package/dist/components/d-user/DUserList.js +0 -23
  286. package/dist/components/d-user/DUserMenu.d.ts +0 -8
  287. package/dist/components/d-user/DUserMenu.js +0 -30
  288. package/dist/components/d-user/index.d.ts +0 -7
  289. package/dist/components/d-user/index.js +0 -27
  290. package/dist/node_modules/ldrs/dist/react/LineWobble.js +0 -6
  291. package/dist/utils/generics.d.ts +0 -21
  292. package/dist/utils/generics.js +0 -373
  293. /package/dist/assets/components/{d-fullscreen/DFullScreen.style.css → fullscreen/FullScreen.style.css} +0 -0
  294. /package/dist/assets/components/{d-layout/DLayout.style.css → layout/Layout.style.css} +0 -0
  295. /package/dist/assets/components/{d-resizable/DResizable.style.css → resizable/Resizable.style.css} +0 -0
@@ -1,115 +0,0 @@
1
- import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
- import n from "react";
3
- import "../../_virtual/compiler-runtime.js";
4
- import "@radix-ui/react-checkbox";
5
- import { InputLabel as D } from "../form/InputLabel.js";
6
- import { InputDescription as F } from "../form/InputDescription.js";
7
- import "merge-props";
8
- import "js-md5";
9
- import { InputMessage as S } from "../form/InputMessage.js";
10
- import '../../assets/components/form/Input.style.css';/* empty css */
11
- import { IconFile as M, IconArrowUp as v, IconArrowDown as x, IconCornerDownLeft as b } from "@tabler/icons-react";
12
- import "../form/EmailInput.js";
13
- import "../form/Input.js";
14
- import "../form/InputSuggestion.js";
15
- import "../form/NumberInput.js";
16
- import "../form/PasswordInput.js";
17
- import "@radix-ui/react-one-time-password-field";
18
- import "@radix-ui/react-radio-group";
19
- import "../form/SwitchInput.js";
20
- import "../form/TextInput.js";
21
- import { useForm as P } from "../form/useForm.js";
22
- import { Dialog as O, DialogPortal as V, DialogOverlay as z, DialogContent as j, DialogClose as B } from "../dialog/Dialog.js";
23
- import { Flex as l } from "../flex/Flex.js";
24
- import { Button as p } from "../button/Button.js";
25
- import { DFlowFolderItemPathInput as L } from "./DFlowFolderItemPathInput.js";
26
- import { useService as N, useStore as Y } from "../../utils/contextStore.js";
27
- import { DFlowTypeReactiveService as h } from "../d-flow-type/DFlowType.service.js";
28
- import { hashToColor as k } from "../d-flow/DFlow.util.js";
29
- import "../d-flow-data-type/rules/DFlowDataTypeRegexRule.js";
30
- import "../d-flow-data-type/rules/DFlowDataTypeNumberRangeRule.js";
31
- import "../d-flow-data-type/rules/DFlowDataTypeItemOfCollectionRule.js";
32
- import "../d-flow-data-type/rules/DFlowDataTypeContainsTypeRule.js";
33
- import "../d-flow-data-type/rules/DFlowDataTypeContainsKeyRule.js";
34
- import "../d-flow-data-type/rules/DFlowDataTypeReturnTypeRule.js";
35
- import "../d-flow-data-type/variants/DFlowDataTypeNodeVariant.js";
36
- import { Menu as q, MenuTrigger as A, MenuPortal as R, MenuContent as E, MenuItem as U, MenuLabel as W } from "../menu/Menu.js";
37
- import { Spacing as c } from "../spacing/Spacing.js";
38
- import { Badge as s } from "../badge/Badge.js";
39
- import { Card as G } from "../card/Card.js";
40
- const Ve = (t) => {
41
- const {
42
- open: m
43
- } = t, d = N(h), u = Y(h), [g, y] = n.useState(m), [a, w] = n.useState(t.flowTypeId), f = n.useMemo(() => d.getById(a), [a, u]), I = n.useMemo(() => ({
44
- name: "",
45
- flowTypeId: t.flowTypeId ?? null
46
- }), []), C = n.useMemo(() => d.values(), [u]);
47
- n.useEffect(() => {
48
- y(m);
49
- }, [m]);
50
- const [i, T] = P({
51
- initialValues: I,
52
- validate: {
53
- name: (o) => o ? null : "Name is required",
54
- flowTypeId: (o) => o ? null : "Flow type is required"
55
- },
56
- onSubmit: (o) => {
57
- t.onCreate?.(o.name, o.flowTypeId), t.onOpenChange?.(!1);
58
- }
59
- });
60
- return /* @__PURE__ */ e(O, { open: g, onOpenChange: (o) => {
61
- t.onOpenChange?.(o);
62
- }, children: /* @__PURE__ */ r(V, { children: [
63
- /* @__PURE__ */ e(z, {}),
64
- /* @__PURE__ */ r(j, { autoFocus: !0, showCloseButton: !0, title: "Create new flow", children: [
65
- /* @__PURE__ */ e(D, { children: "Type of flow" }),
66
- /* @__PURE__ */ e(F, { children: "You can choose a flow type here" }),
67
- /* @__PURE__ */ r(q, { children: [
68
- /* @__PURE__ */ e(A, { asChild: !0, children: /* @__PURE__ */ r(p, { w: "100%", color: i.getInputProps("flowTypeId").formValidation?.valid ? "secondary" : "error", style: {
69
- justifyContent: "start"
70
- }, children: [
71
- a ? /* @__PURE__ */ e(M, { size: 13, color: k(a) }) : null,
72
- f ? f?.names?.[0].content : "Select flow type"
73
- ] }) }),
74
- /* @__PURE__ */ e(R, { children: /* @__PURE__ */ r(E, { align: "start", color: "secondary", sideOffset: 8, children: [
75
- /* @__PURE__ */ e(G, { paddingSize: "xxs", mt: -0.35, mx: -0.35, style: {
76
- borderWidth: "2px"
77
- }, children: C.map((o) => /* @__PURE__ */ e(U, { onSelect: () => {
78
- i.getInputProps("flowTypeId").formValidation?.setValue(o.id), w(o.id);
79
- }, children: o.names?.[0].content }, o.id)) }),
80
- /* @__PURE__ */ e(W, { children: /* @__PURE__ */ r(l, { style: {
81
- gap: ".35rem"
82
- }, children: [
83
- /* @__PURE__ */ r(l, { align: "center", style: {
84
- gap: "0.35rem"
85
- }, children: [
86
- /* @__PURE__ */ r(l, { children: [
87
- /* @__PURE__ */ e(s, { border: !0, children: /* @__PURE__ */ e(v, { size: 12 }) }),
88
- /* @__PURE__ */ e(s, { border: !0, children: /* @__PURE__ */ e(x, { size: 12 }) })
89
- ] }),
90
- "move"
91
- ] }),
92
- /* @__PURE__ */ e(c, { spacing: "xxs" }),
93
- /* @__PURE__ */ r(l, { align: "center", style: {
94
- gap: ".35rem"
95
- }, children: [
96
- /* @__PURE__ */ e(s, { border: !0, children: /* @__PURE__ */ e(b, { size: 12 }) }),
97
- "select"
98
- ] })
99
- ] }) })
100
- ] }) })
101
- ] }),
102
- i.getInputProps("flowTypeId").formValidation?.valid ? null : /* @__PURE__ */ e(S, { children: i.getInputProps("flowTypeId").formValidation?.notValidMessage }),
103
- /* @__PURE__ */ e(c, { spacing: "md" }),
104
- /* @__PURE__ */ e(L, { description: "You can choose a name here and only use alphanumeric names.", title: "Name of the flow", ...i.getInputProps("name") }),
105
- /* @__PURE__ */ e(c, { spacing: "md" }),
106
- /* @__PURE__ */ r(l, { justify: "space-between", align: "center", children: [
107
- /* @__PURE__ */ e(B, { asChild: !0, children: /* @__PURE__ */ e(p, { color: "secondary", children: "No, go back!" }) }),
108
- /* @__PURE__ */ e(p, { color: "success", onClick: T, children: "Yes, create!" })
109
- ] })
110
- ] })
111
- ] }) });
112
- };
113
- export {
114
- Ve as DFlowFolderCreateDialog
115
- };
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- import { DFlowFolderContextMenuGroupData, DFlowFolderContextMenuItemData } from './DFlowFolderContextMenu';
3
- import { Flow } from '@code0-tech/sagittarius-graphql-types';
4
- export interface DFlowFolderDeleteDialogProps {
5
- open?: boolean;
6
- onOpenChange?: (open: boolean) => void;
7
- contextData: DFlowFolderContextMenuGroupData | DFlowFolderContextMenuItemData;
8
- onDelete?: (flow: Flow) => void;
9
- }
10
- export declare const DFlowFolderDeleteDialog: React.FC<DFlowFolderDeleteDialogProps>;
@@ -1,64 +0,0 @@
1
- import { jsx as o, jsxs as u } from "react/jsx-runtime";
2
- import { c as F } from "../../_virtual/compiler-runtime.js";
3
- import { DialogOverlay as R, DialogClose as b, DialogPortal as S, DialogContent as B, Dialog as E } from "../dialog/Dialog.js";
4
- import { Text as v } from "../text/Text.js";
5
- import { Badge as k } from "../badge/Badge.js";
6
- import { Flex as z } from "../flex/Flex.js";
7
- import { Button as _ } from "../button/Button.js";
8
- import O from "react";
9
- const H = (t) => {
10
- const e = F.c(24), {
11
- open: r
12
- } = t, [y, j] = O.useState(r);
13
- let m, f;
14
- e[0] !== r ? (m = () => {
15
- j(r);
16
- }, f = [r], e[0] = r, e[1] = m, e[2] = f) : (m = e[1], f = e[2]), O.useEffect(m, f);
17
- let l;
18
- e[3] !== t ? (l = (C) => t.onOpenChange?.(C), e[3] = t, e[4] = l) : l = e[4];
19
- let s;
20
- e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ o(R, {}), e[5] = s) : s = e[5];
21
- const x = t.contextData.type == "item" ? "Remove flow" : "Remove folder", g = t.contextData.type == "item" ? "Are you sure you want to remove flow" : "Are you sure you want to remove folder";
22
- let d;
23
- e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = {
24
- color: "inherit"
25
- }, e[6] = d) : d = e[6];
26
- let n;
27
- e[7] !== t.contextData.name ? (n = /* @__PURE__ */ o(k, { color: "info", children: /* @__PURE__ */ o(v, { size: "md", style: d, children: t.contextData.name }) }), e[7] = t.contextData.name, e[8] = n) : n = e[8];
28
- const w = t.contextData.type == "folder" ? ", all flows and sub-folders inside " : "";
29
- let i;
30
- e[9] !== g || e[10] !== n || e[11] !== w ? (i = /* @__PURE__ */ u(v, { size: "md", hierarchy: "secondary", children: [
31
- g,
32
- " ",
33
- " ",
34
- n,
35
- " ",
36
- " ",
37
- w,
38
- "from the this project?"
39
- ] }), e[9] = g, e[10] = n, e[11] = w, e[12] = i) : i = e[12];
40
- let h;
41
- e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ o(b, { asChild: !0, children: /* @__PURE__ */ o(_, { color: "secondary", children: "No, go back!" }) }), e[13] = h) : h = e[13];
42
- let a;
43
- e[14] !== t ? (a = /* @__PURE__ */ u(z, { justify: "space-between", align: "center", children: [
44
- h,
45
- /* @__PURE__ */ o(b, { asChild: !0, children: /* @__PURE__ */ o(_, { color: "error", onClick: () => {
46
- t.contextData.type === "item" ? t.onDelete?.(t.contextData.flow) : t.contextData.type === "folder" && t.contextData.flow.forEach((C) => {
47
- t.onDelete?.(C);
48
- });
49
- }, children: "Yes, remove!" }) })
50
- ] }), e[14] = t, e[15] = a) : a = e[15];
51
- let c;
52
- e[16] !== a || e[17] !== x || e[18] !== i ? (c = /* @__PURE__ */ u(S, { children: [
53
- s,
54
- /* @__PURE__ */ u(B, { autoFocus: !0, showCloseButton: !0, title: x, children: [
55
- i,
56
- a
57
- ] })
58
- ] }), e[16] = a, e[17] = x, e[18] = i, e[19] = c) : c = e[19];
59
- let D;
60
- return e[20] !== y || e[21] !== c || e[22] !== l ? (D = /* @__PURE__ */ o(E, { open: y, onOpenChange: l, children: c }), e[20] = y, e[21] = c, e[22] = l, e[23] = D) : D = e[23], D;
61
- };
62
- export {
63
- H as DFlowFolderDeleteDialog
64
- };
@@ -1,5 +0,0 @@
1
- import { default as React } from 'react';
2
- import { TextInputProps } from '../form';
3
- export interface DFlowFolderItemPathInputProps extends TextInputProps {
4
- }
5
- export declare const DFlowFolderItemPathInput: React.FC<DFlowFolderItemPathInputProps>;
@@ -1,51 +0,0 @@
1
- import { jsx as p } from "react/jsx-runtime";
2
- import { c as l } from "../../_virtual/compiler-runtime.js";
3
- import "react";
4
- import "@radix-ui/react-checkbox";
5
- import "merge-props";
6
- import "js-md5";
7
- import "@tabler/icons-react";
8
- import '../../assets/components/form/Input.style.css';/* empty css */
9
- import "../form/EmailInput.js";
10
- import "../form/Input.js";
11
- import "../form/InputSuggestion.js";
12
- import "../form/NumberInput.js";
13
- import "../form/PasswordInput.js";
14
- import "@radix-ui/react-one-time-password-field";
15
- import "@radix-ui/react-radio-group";
16
- import "../form/SwitchInput.js";
17
- import { TextInput as c } from "../form/TextInput.js";
18
- import { Badge as h } from "../badge/Badge.js";
19
- const S = (e) => {
20
- const r = l.c(4);
21
- let t;
22
- r[0] !== e ? ({
23
- ...t
24
- } = e, r[0] = e, r[1] = t) : t = r[1];
25
- const o = a;
26
- let n;
27
- return r[2] !== t ? (n = /* @__PURE__ */ p(c, { transformSyntax: o, ...t }), r[2] = t, r[3] = n) : n = r[3], n;
28
- };
29
- function f(e) {
30
- const r = [];
31
- let t = "";
32
- return e.split("").forEach((o) => o === "/" ? (t && r.push(t), t = "", r.push("/")) : (t = t + o, t)), t && r.push(t), r;
33
- }
34
- function a(e, r) {
35
- const o = f(e ?? "");
36
- let n = 0;
37
- return o.map((m, i) => {
38
- const s = {
39
- type: o.length - 1 !== i ? "block" : "text",
40
- value: m,
41
- start: n,
42
- end: n + m.length,
43
- visualLength: o.length - 1 !== i ? 1 : m.length,
44
- content: o.length - 1 !== i ? /* @__PURE__ */ p(h, { color: m == "/" ? "warning" : "info", children: m }) : m
45
- };
46
- return n = n + m.length, [s];
47
- }).flat();
48
- }
49
- export {
50
- S as DFlowFolderItemPathInput
51
- };
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- import { DFlowFolderContextMenuGroupData, DFlowFolderContextMenuItemData } from './DFlowFolderContextMenu';
3
- import { Flow } from '@code0-tech/sagittarius-graphql-types';
4
- export interface DFlowFolderRenameDialogProps {
5
- contextData: DFlowFolderContextMenuGroupData | DFlowFolderContextMenuItemData;
6
- open?: boolean;
7
- onOpenChange?: (open: boolean) => void;
8
- onRename?: (flow: Flow, newName: string) => void;
9
- }
10
- export declare const DFlowFolderRenameDialog: React.FC<DFlowFolderRenameDialogProps>;
@@ -1,59 +0,0 @@
1
- import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
- import r from "react";
3
- import { Dialog as f, DialogPortal as D, DialogOverlay as g, DialogContent as x, DialogClose as m } from "../dialog/Dialog.js";
4
- import { DFlowFolderItemPathInput as w } from "./DFlowFolderItemPathInput.js";
5
- import { Flex as y } from "../flex/Flex.js";
6
- import { Button as l } from "../button/Button.js";
7
- import "../../_virtual/compiler-runtime.js";
8
- import "@radix-ui/react-checkbox";
9
- import "merge-props";
10
- import "js-md5";
11
- import "@tabler/icons-react";
12
- import '../../assets/components/form/Input.style.css';/* empty css */
13
- import "../form/EmailInput.js";
14
- import "../form/Input.js";
15
- import "../form/InputSuggestion.js";
16
- import "../form/NumberInput.js";
17
- import "../form/PasswordInput.js";
18
- import "@radix-ui/react-one-time-password-field";
19
- import "@radix-ui/react-radio-group";
20
- import "../form/SwitchInput.js";
21
- import "../form/TextInput.js";
22
- import { useForm as C } from "../form/useForm.js";
23
- const K = (e) => {
24
- const {
25
- open: a
26
- } = e, [c, h] = r.useState(a), u = r.useMemo(() => ({
27
- path: e.contextData.name
28
- }), []);
29
- r.useEffect(() => {
30
- h(a);
31
- }, [a]);
32
- const [p, s] = C({
33
- initialValues: u,
34
- validate: {
35
- path: (o) => null
36
- },
37
- onSubmit: (o) => {
38
- e.contextData.type === "item" ? e.onRename?.(e.contextData.flow, o.path) : e.contextData.type === "folder" && e.contextData.flow.forEach((n) => {
39
- const d = n.name?.replace(e.contextData.name, o.path) ?? n.name;
40
- e.onRename?.(n, d);
41
- });
42
- }
43
- });
44
- return /* @__PURE__ */ t(f, { open: c, onOpenChange: (o) => {
45
- e.onOpenChange?.(o);
46
- }, children: /* @__PURE__ */ i(D, { children: [
47
- /* @__PURE__ */ t(g, {}),
48
- /* @__PURE__ */ i(x, { autoFocus: !0, showCloseButton: !0, title: e.contextData.type == "item" ? "Rename flow" : "Rename folder", children: [
49
- /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(w, { description: "You can choose a new name here and only use alphanumeric names.", title: e.contextData.type == "item" ? "Name of the flow" : "Name of the folder", ...p.getInputProps("path") }) }),
50
- /* @__PURE__ */ i(y, { justify: "space-between", align: "center", children: [
51
- /* @__PURE__ */ t(m, { asChild: !0, children: /* @__PURE__ */ t(l, { color: "secondary", children: "No, go back!" }) }),
52
- /* @__PURE__ */ t(m, { asChild: !0, children: /* @__PURE__ */ t(l, { color: "success", onClick: s, children: "Yes, save!" }) })
53
- ] })
54
- ] })
55
- ] }) });
56
- };
57
- export {
58
- K as DFlowFolderRenameDialog
59
- };
@@ -1,4 +0,0 @@
1
- export * from './DFlowFolder';
2
- export * from './DFlowFolderDeleteDialog';
3
- export * from './DFlowFolderCreateDialog';
4
- export * from './DFlowFolderRenameDialog';
@@ -1,13 +0,0 @@
1
- import { DFlowFolder as r, DFlowFolderGroup as l, DFlowFolderItem as F, truncateText as t } from "./DFlowFolder.js";
2
- import { DFlowFolderDeleteDialog as a } from "./DFlowFolderDeleteDialog.js";
3
- import { DFlowFolderCreateDialog as m } from "./DFlowFolderCreateDialog.js";
4
- import { DFlowFolderRenameDialog as p } from "./DFlowFolderRenameDialog.js";
5
- export {
6
- r as DFlowFolder,
7
- m as DFlowFolderCreateDialog,
8
- a as DFlowFolderDeleteDialog,
9
- l as DFlowFolderGroup,
10
- F as DFlowFolderItem,
11
- p as DFlowFolderRenameDialog,
12
- t as truncateText
13
- };
@@ -1,5 +0,0 @@
1
- import { FunctionDefinitionView } from './DFlowFunction.view';
2
- import { DFlowDataTypeReactiveService } from '../d-flow-data-type';
3
- import { DataTypeIdentifier, NodeParameterValue } from '@code0-tech/sagittarius-graphql-types';
4
- import { DFlowFunctionReactiveService } from './DFlowFunction.service';
5
- export declare const useInputType: (type: DataTypeIdentifier, func: FunctionDefinitionView, values: NodeParameterValue[], dataTypeService: DFlowDataTypeReactiveService, functionService: DFlowFunctionReactiveService) => DataTypeIdentifier | null;
@@ -1,8 +0,0 @@
1
- import { resolveGenericKeys as s, replaceGenericKeysInType as t } from "../../utils/generics.js";
2
- const i = (e, r, n, p, c) => {
3
- const o = s(r, n, p, c);
4
- return t(e, o);
5
- };
6
- export {
7
- i as useInputType
8
- };
@@ -1,5 +0,0 @@
1
- import { FunctionDefinitionView } from './DFlowFunction.view';
2
- import { DFlowDataTypeReactiveService } from '../d-flow-data-type';
3
- import { DataTypeIdentifier, NodeParameterValue } from '@code0-tech/sagittarius-graphql-types';
4
- import { DFlowFunctionReactiveService } from './DFlowFunction.service';
5
- export declare const useReturnType: (func: FunctionDefinitionView, values: NodeParameterValue[], dataTypeService: DFlowDataTypeReactiveService, functionService: DFlowFunctionReactiveService) => DataTypeIdentifier | null;
@@ -1,9 +0,0 @@
1
- import { resolveGenericKeys as y, replaceGenericKeysInType as o } from "../../utils/generics.js";
2
- const i = (e, r, n, p) => {
3
- if (!e?.returnType) return null;
4
- const t = y(e, r, n, p);
5
- return o(e.returnType, t);
6
- };
7
- export {
8
- i as useReturnType
9
- };
@@ -1,11 +0,0 @@
1
- import { ReactiveArrayService } from '../../utils';
2
- import { FunctionDefinitionView } from './DFlowFunction.view';
3
- import { FunctionDefinition, Namespace, NamespaceProject, Runtime } from '@code0-tech/sagittarius-graphql-types';
4
- export type DFlowFunctionDependencies = {
5
- namespaceId: Namespace['id'];
6
- projectId: NamespaceProject['id'];
7
- runtimeId: Runtime['id'];
8
- };
9
- export declare abstract class DFlowFunctionReactiveService extends ReactiveArrayService<FunctionDefinitionView, DFlowFunctionDependencies> {
10
- getById(id: FunctionDefinition['id'], dependencies?: DFlowFunctionDependencies): FunctionDefinitionView | undefined;
11
- }
@@ -1,13 +0,0 @@
1
- import "../../utils/contextStore.js";
2
- import "react";
3
- import { ReactiveArrayService as t } from "../../utils/reactiveArrayService.js";
4
- import "merge-props";
5
- import "js-md5";
6
- class s extends t {
7
- getById(e, i) {
8
- return this.values(i).find((r) => r.id === e);
9
- }
10
- }
11
- export {
12
- s as DFlowFunctionReactiveService
13
- };
@@ -1,81 +0,0 @@
1
- import { DataTypeIdentifier, DataTypeIdentifierConnection, FunctionDefinition, Maybe, ParameterDefinition, RuntimeFunctionDefinition, Scalars, Translation } from '@code0-tech/sagittarius-graphql-types';
2
- export declare class FunctionDefinitionView {
3
- /** Name of the function */
4
- private readonly _aliases?;
5
- /** Time when this FunctionDefinition was created */
6
- private readonly _createdAt?;
7
- /** All data type identifiers used within this Node Function */
8
- private readonly _dataTypeIdentifiers?;
9
- /** Deprecation message of the function */
10
- private readonly _deprecationMessages?;
11
- /** Description of the function */
12
- private readonly _descriptions?;
13
- /** Display message of the function */
14
- private readonly _displayMessages?;
15
- /** Documentation of the function */
16
- private readonly _documentations?;
17
- /** Generic keys of the function */
18
- private readonly _genericKeys?;
19
- /** Global ID of this FunctionDefinition */
20
- private readonly _id?;
21
- /** Identifier of the function */
22
- private readonly _identifier?;
23
- /** Name of the function */
24
- private readonly _names?;
25
- /** Parameters of the function */
26
- private readonly _parameterDefinitions?;
27
- /** Return type of the function */
28
- private readonly _returnType?;
29
- /** Runtime function definition */
30
- private readonly _runtimeFunctionDefinition?;
31
- /** Indicates if the function can throw an error */
32
- private readonly _throwsError?;
33
- /** Time when this FunctionDefinition was last updated */
34
- private readonly _updatedAt?;
35
- constructor(object: FunctionDefinition);
36
- get aliases(): Maybe<Array<Translation>> | undefined;
37
- get createdAt(): Maybe<Scalars["Time"]["output"]> | undefined;
38
- get dataTypeIdentifiers(): Maybe<DataTypeIdentifierConnection> | undefined;
39
- get deprecationMessages(): Maybe<Array<Translation>> | undefined;
40
- get descriptions(): Maybe<Array<Translation>> | undefined;
41
- get displayMessages(): Maybe<Array<Translation>> | undefined;
42
- get documentations(): Maybe<Array<Translation>> | undefined;
43
- get genericKeys(): Maybe<Array<Scalars["String"]["output"]>> | undefined;
44
- get id(): Maybe<Scalars["FunctionDefinitionID"]["output"]> | undefined;
45
- get identifier(): Maybe<Scalars["String"]["output"]> | undefined;
46
- get names(): Maybe<Array<Translation>> | undefined;
47
- get parameterDefinitions(): Maybe<ParameterDefinitionView[]> | undefined;
48
- get returnType(): Maybe<DataTypeIdentifier> | undefined;
49
- get runtimeFunctionDefinition(): Maybe<RuntimeFunctionDefinition> | undefined;
50
- get throwsError(): Maybe<Scalars["Boolean"]["output"]> | undefined;
51
- get updatedAt(): Maybe<Scalars["Time"]["output"]> | undefined;
52
- json(): FunctionDefinition;
53
- }
54
- export declare class ParameterDefinitionView {
55
- /** Time when this ParameterDefinition was created */
56
- private readonly _createdAt?;
57
- /** Data type of the parameter */
58
- private readonly _dataTypeIdentifier?;
59
- /** Description of the parameter */
60
- private readonly _descriptions?;
61
- /** Documentation of the parameter */
62
- private readonly _documentations?;
63
- /** Global ID of this ParameterDefinition */
64
- private readonly _id?;
65
- /** Identifier of the parameter */
66
- private readonly _identifier?;
67
- /** Name of the parameter */
68
- private readonly _names?;
69
- /** Time when this ParameterDefinition was last updated */
70
- private readonly _updatedAt?;
71
- constructor(object: ParameterDefinition, dataTypeIdentifiers: DataTypeIdentifier[]);
72
- get createdAt(): Maybe<Scalars["Time"]["output"]> | undefined;
73
- get dataTypeIdentifier(): Maybe<DataTypeIdentifier> | undefined;
74
- get descriptions(): Maybe<Array<Translation>> | undefined;
75
- get documentations(): Maybe<Array<Translation>> | undefined;
76
- get id(): Maybe<Scalars["ParameterDefinitionID"]["output"]> | undefined;
77
- get identifier(): Maybe<Scalars["String"]["output"]> | undefined;
78
- get names(): Maybe<Array<Translation>> | undefined;
79
- get updatedAt(): Maybe<Scalars["Time"]["output"]> | undefined;
80
- json(): ParameterDefinition;
81
- }
@@ -1,139 +0,0 @@
1
- import { resolveDataTypeIdentifiers as d, attachDataTypeIdentifiers as n } from "../d-flow/DFlow.util.js";
2
- function t(e, i, s) {
3
- return (i = a(i)) in e ? Object.defineProperty(e, i, { value: s, enumerable: !0, configurable: !0, writable: !0 }) : e[i] = s, e;
4
- }
5
- function a(e) {
6
- var i = o(e, "string");
7
- return typeof i == "symbol" ? i : i + "";
8
- }
9
- function o(e, i) {
10
- if (typeof e != "object" || !e) return e;
11
- var s = e[Symbol.toPrimitive];
12
- if (s !== void 0) {
13
- var r = s.call(e, i);
14
- if (typeof r != "object") return r;
15
- throw new TypeError("@@toPrimitive must return a primitive value.");
16
- }
17
- return (i === "string" ? String : Number)(e);
18
- }
19
- class u {
20
- constructor(i) {
21
- t(this, "_aliases", void 0), t(this, "_createdAt", void 0), t(this, "_dataTypeIdentifiers", void 0), t(this, "_deprecationMessages", void 0), t(this, "_descriptions", void 0), t(this, "_displayMessages", void 0), t(this, "_documentations", void 0), t(this, "_genericKeys", void 0), t(this, "_id", void 0), t(this, "_identifier", void 0), t(this, "_names", void 0), t(this, "_parameterDefinitions", void 0), t(this, "_returnType", void 0), t(this, "_runtimeFunctionDefinition", void 0), t(this, "_throwsError", void 0), t(this, "_updatedAt", void 0);
22
- const s = d(i.dataTypeIdentifiers?.nodes ?? []);
23
- this._aliases = i.aliases, this._createdAt = i.createdAt, this._dataTypeIdentifiers = i.dataTypeIdentifiers, this._deprecationMessages = i.deprecationMessages, this._descriptions = i.descriptions, this._displayMessages = i.displayMessages, this._documentations = i.documentations, this._genericKeys = i.genericKeys, this._id = i.id, this._identifier = i.identifier, this._names = i.names, this._parameterDefinitions = i.parameterDefinitions?.nodes?.map((r) => new h(r, s)) ?? void 0, this._returnType = n(s, i.returnType), this._runtimeFunctionDefinition = i.runtimeFunctionDefinition, this._throwsError = i.throwsError, this._updatedAt = i.updatedAt;
24
- }
25
- get aliases() {
26
- return this._aliases;
27
- }
28
- get createdAt() {
29
- return this._createdAt;
30
- }
31
- get dataTypeIdentifiers() {
32
- return this._dataTypeIdentifiers;
33
- }
34
- get deprecationMessages() {
35
- return this._deprecationMessages;
36
- }
37
- get descriptions() {
38
- return this._descriptions;
39
- }
40
- get displayMessages() {
41
- return this._displayMessages;
42
- }
43
- get documentations() {
44
- return this._documentations;
45
- }
46
- get genericKeys() {
47
- return this._genericKeys;
48
- }
49
- get id() {
50
- return this._id;
51
- }
52
- get identifier() {
53
- return this._identifier;
54
- }
55
- get names() {
56
- return this._names;
57
- }
58
- get parameterDefinitions() {
59
- return this._parameterDefinitions;
60
- }
61
- get returnType() {
62
- return this._returnType;
63
- }
64
- get runtimeFunctionDefinition() {
65
- return this._runtimeFunctionDefinition;
66
- }
67
- get throwsError() {
68
- return this._throwsError;
69
- }
70
- get updatedAt() {
71
- return this._updatedAt;
72
- }
73
- json() {
74
- return {
75
- aliases: this._aliases,
76
- createdAt: this._createdAt,
77
- deprecationMessages: this._deprecationMessages,
78
- displayMessages: this._displayMessages,
79
- descriptions: this._descriptions,
80
- documentations: this._documentations,
81
- genericKeys: this._genericKeys,
82
- id: this._id,
83
- identifier: this._identifier,
84
- names: this._names,
85
- parameterDefinitions: this._parameterDefinitions ? {
86
- nodes: this._parameterDefinitions.map((i) => i.json())
87
- } : void 0,
88
- returnType: this._returnType,
89
- runtimeFunctionDefinition: this._runtimeFunctionDefinition,
90
- throwsError: this._throwsError,
91
- updatedAt: this._updatedAt,
92
- dataTypeIdentifiers: this._dataTypeIdentifiers
93
- };
94
- }
95
- }
96
- class h {
97
- constructor(i, s) {
98
- t(this, "_createdAt", void 0), t(this, "_dataTypeIdentifier", void 0), t(this, "_descriptions", void 0), t(this, "_documentations", void 0), t(this, "_id", void 0), t(this, "_identifier", void 0), t(this, "_names", void 0), t(this, "_updatedAt", void 0), this._createdAt = i.createdAt, this._dataTypeIdentifier = n(s, i.dataTypeIdentifier), this._descriptions = i.descriptions, this._documentations = i.documentations, this._id = i.id, this._identifier = i.identifier, this._names = i.names, this._updatedAt = i.updatedAt;
99
- }
100
- get createdAt() {
101
- return this._createdAt;
102
- }
103
- get dataTypeIdentifier() {
104
- return this._dataTypeIdentifier;
105
- }
106
- get descriptions() {
107
- return this._descriptions;
108
- }
109
- get documentations() {
110
- return this._documentations;
111
- }
112
- get id() {
113
- return this._id;
114
- }
115
- get identifier() {
116
- return this._identifier;
117
- }
118
- get names() {
119
- return this._names;
120
- }
121
- get updatedAt() {
122
- return this._updatedAt;
123
- }
124
- json() {
125
- return {
126
- createdAt: this._createdAt,
127
- dataTypeIdentifier: this._dataTypeIdentifier,
128
- descriptions: this._descriptions,
129
- documentations: this._documentations,
130
- id: this._id,
131
- names: this._names,
132
- updatedAt: this._updatedAt
133
- };
134
- }
135
- }
136
- export {
137
- u as FunctionDefinitionView,
138
- h as ParameterDefinitionView
139
- };
@@ -1,2 +0,0 @@
1
- export * from './DFlowFunction.service';
2
- export * from './DFlowFunction.view';
@@ -1,7 +0,0 @@
1
- import { DFlowFunctionReactiveService as o } from "./DFlowFunction.service.js";
2
- import { FunctionDefinitionView as t, ParameterDefinitionView as r } from "./DFlowFunction.view.js";
3
- export {
4
- o as DFlowFunctionReactiveService,
5
- t as FunctionDefinitionView,
6
- r as ParameterDefinitionView
7
- };
@@ -1,11 +0,0 @@
1
- import { Flow, NodeFunction, NodeParameter } from '@code0-tech/sagittarius-graphql-types';
2
- import { default as React } from 'react';
3
- import { InputProps } from '../form';
4
- export interface DFlowInputProps extends Omit<InputProps<any | null>, "wrapperComponent" | "type"> {
5
- flowId: Flow['id'];
6
- nodeId: NodeFunction['id'];
7
- parameterId: NodeParameter['id'];
8
- clearable?: boolean;
9
- onClear?: (event: React.MouseEvent<HTMLButtonElement>) => void;
10
- }
11
- export declare const DFlowInput: React.FC<DFlowInputProps>;