@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
@@ -0,0 +1,527 @@
1
+ import { evaluate as L, getSideAxis as T, getSide as j, clamp as X, getOppositePlacement as ee, getExpandedPlacements as te, getOppositeAxisPlacements as ne, getAlignmentSides as ie, getAlignment as z, min as $, max as W, getPaddingObject as J, rectToClientRect as _, getOppositeAxis as K, getAlignmentAxis as N, sides as se, getAxisLength as Q } from "../../utils/dist/floating-ui.utils.js";
2
+ function I(t, e, d) {
3
+ let {
4
+ reference: a,
5
+ floating: r
6
+ } = t;
7
+ const n = T(e), o = N(e), m = Q(o), u = j(e), h = n === "y", c = a.x + a.width / 2 - r.width / 2, s = a.y + a.height / 2 - r.height / 2, f = a[m] / 2 - r[m] / 2;
8
+ let i;
9
+ switch (u) {
10
+ case "top":
11
+ i = {
12
+ x: c,
13
+ y: a.y - r.height
14
+ };
15
+ break;
16
+ case "bottom":
17
+ i = {
18
+ x: c,
19
+ y: a.y + a.height
20
+ };
21
+ break;
22
+ case "right":
23
+ i = {
24
+ x: a.x + a.width,
25
+ y: s
26
+ };
27
+ break;
28
+ case "left":
29
+ i = {
30
+ x: a.x - r.width,
31
+ y: s
32
+ };
33
+ break;
34
+ default:
35
+ i = {
36
+ x: a.x,
37
+ y: a.y
38
+ };
39
+ }
40
+ switch (z(e)) {
41
+ case "start":
42
+ i[o] -= f * (d && h ? -1 : 1);
43
+ break;
44
+ case "end":
45
+ i[o] += f * (d && h ? -1 : 1);
46
+ break;
47
+ }
48
+ return i;
49
+ }
50
+ const ce = async (t, e, d) => {
51
+ const {
52
+ placement: a = "bottom",
53
+ strategy: r = "absolute",
54
+ middleware: n = [],
55
+ platform: o
56
+ } = d, m = n.filter(Boolean), u = await (o.isRTL == null ? void 0 : o.isRTL(e));
57
+ let h = await o.getElementRects({
58
+ reference: t,
59
+ floating: e,
60
+ strategy: r
61
+ }), {
62
+ x: c,
63
+ y: s
64
+ } = I(h, a, u), f = a, i = {}, l = 0;
65
+ for (let g = 0; g < m.length; g++) {
66
+ const {
67
+ name: x,
68
+ fn: y
69
+ } = m[g], {
70
+ x: A,
71
+ y: p,
72
+ data: v,
73
+ reset: w
74
+ } = await y({
75
+ x: c,
76
+ y: s,
77
+ initialPlacement: a,
78
+ placement: f,
79
+ strategy: r,
80
+ middlewareData: i,
81
+ rects: h,
82
+ platform: o,
83
+ elements: {
84
+ reference: t,
85
+ floating: e
86
+ }
87
+ });
88
+ c = A ?? c, s = p ?? s, i = {
89
+ ...i,
90
+ [x]: {
91
+ ...i[x],
92
+ ...v
93
+ }
94
+ }, w && l <= 50 && (l++, typeof w == "object" && (w.placement && (f = w.placement), w.rects && (h = w.rects === !0 ? await o.getElementRects({
95
+ reference: t,
96
+ floating: e,
97
+ strategy: r
98
+ }) : w.rects), {
99
+ x: c,
100
+ y: s
101
+ } = I(h, f, u)), g = -1);
102
+ }
103
+ return {
104
+ x: c,
105
+ y: s,
106
+ placement: f,
107
+ strategy: r,
108
+ middlewareData: i
109
+ };
110
+ };
111
+ async function Y(t, e) {
112
+ var d;
113
+ e === void 0 && (e = {});
114
+ const {
115
+ x: a,
116
+ y: r,
117
+ platform: n,
118
+ rects: o,
119
+ elements: m,
120
+ strategy: u
121
+ } = t, {
122
+ boundary: h = "clippingAncestors",
123
+ rootBoundary: c = "viewport",
124
+ elementContext: s = "floating",
125
+ altBoundary: f = !1,
126
+ padding: i = 0
127
+ } = L(e, t), l = J(i), x = m[f ? s === "floating" ? "reference" : "floating" : s], y = _(await n.getClippingRect({
128
+ element: (d = await (n.isElement == null ? void 0 : n.isElement(x))) == null || d ? x : x.contextElement || await (n.getDocumentElement == null ? void 0 : n.getDocumentElement(m.floating)),
129
+ boundary: h,
130
+ rootBoundary: c,
131
+ strategy: u
132
+ })), A = s === "floating" ? {
133
+ x: a,
134
+ y: r,
135
+ width: o.floating.width,
136
+ height: o.floating.height
137
+ } : o.reference, p = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(m.floating)), v = await (n.isElement == null ? void 0 : n.isElement(p)) ? await (n.getScale == null ? void 0 : n.getScale(p)) || {
138
+ x: 1,
139
+ y: 1
140
+ } : {
141
+ x: 1,
142
+ y: 1
143
+ }, w = _(n.convertOffsetParentRelativeRectToViewportRelativeRect ? await n.convertOffsetParentRelativeRectToViewportRelativeRect({
144
+ elements: m,
145
+ rect: A,
146
+ offsetParent: p,
147
+ strategy: u
148
+ }) : A);
149
+ return {
150
+ top: (y.top - w.top + l.top) / v.y,
151
+ bottom: (w.bottom - y.bottom + l.bottom) / v.y,
152
+ left: (y.left - w.left + l.left) / v.x,
153
+ right: (w.right - y.right + l.right) / v.x
154
+ };
155
+ }
156
+ const le = (t) => ({
157
+ name: "arrow",
158
+ options: t,
159
+ async fn(e) {
160
+ const {
161
+ x: d,
162
+ y: a,
163
+ placement: r,
164
+ rects: n,
165
+ platform: o,
166
+ elements: m,
167
+ middlewareData: u
168
+ } = e, {
169
+ element: h,
170
+ padding: c = 0
171
+ } = L(t, e) || {};
172
+ if (h == null)
173
+ return {};
174
+ const s = J(c), f = {
175
+ x: d,
176
+ y: a
177
+ }, i = N(r), l = Q(i), g = await o.getDimensions(h), x = i === "y", y = x ? "top" : "left", A = x ? "bottom" : "right", p = x ? "clientHeight" : "clientWidth", v = n.reference[l] + n.reference[i] - f[i] - n.floating[l], w = f[i] - n.reference[i], P = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(h));
178
+ let C = P ? P[p] : 0;
179
+ (!C || !await (o.isElement == null ? void 0 : o.isElement(P))) && (C = m.floating[p] || n.floating[l]);
180
+ const M = v / 2 - w / 2, k = C / 2 - g[l] / 2 - 1, O = $(s[y], k), H = $(s[A], k), D = O, F = C - g[l] - H, b = C / 2 - g[l] / 2 + M, B = X(D, b, F), E = !u.arrow && z(r) != null && b !== B && n.reference[l] / 2 - (b < D ? O : H) - g[l] / 2 < 0, S = E ? b < D ? b - D : b - F : 0;
181
+ return {
182
+ [i]: f[i] + S,
183
+ data: {
184
+ [i]: B,
185
+ centerOffset: b - B - S,
186
+ ...E && {
187
+ alignmentOffset: S
188
+ }
189
+ },
190
+ reset: E
191
+ };
192
+ }
193
+ }), re = function(t) {
194
+ return t === void 0 && (t = {}), {
195
+ name: "flip",
196
+ options: t,
197
+ async fn(e) {
198
+ var d, a;
199
+ const {
200
+ placement: r,
201
+ middlewareData: n,
202
+ rects: o,
203
+ initialPlacement: m,
204
+ platform: u,
205
+ elements: h
206
+ } = e, {
207
+ mainAxis: c = !0,
208
+ crossAxis: s = !0,
209
+ fallbackPlacements: f,
210
+ fallbackStrategy: i = "bestFit",
211
+ fallbackAxisSideDirection: l = "none",
212
+ flipAlignment: g = !0,
213
+ ...x
214
+ } = L(t, e);
215
+ if ((d = n.arrow) != null && d.alignmentOffset)
216
+ return {};
217
+ const y = j(r), A = T(m), p = j(m) === m, v = await (u.isRTL == null ? void 0 : u.isRTL(h.floating)), w = f || (p || !g ? [ee(m)] : te(m)), P = l !== "none";
218
+ !f && P && w.push(...ne(m, g, l, v));
219
+ const C = [m, ...w], M = await Y(e, x), k = [];
220
+ let O = ((a = n.flip) == null ? void 0 : a.overflows) || [];
221
+ if (c && k.push(M[y]), s) {
222
+ const b = ie(r, o, v);
223
+ k.push(M[b[0]], M[b[1]]);
224
+ }
225
+ if (O = [...O, {
226
+ placement: r,
227
+ overflows: k
228
+ }], !k.every((b) => b <= 0)) {
229
+ var H, D;
230
+ const b = (((H = n.flip) == null ? void 0 : H.index) || 0) + 1, B = C[b];
231
+ if (B && (!(s === "alignment" ? A !== T(B) : !1) || // We leave the current main axis only if every placement on that axis
232
+ // overflows the main axis.
233
+ O.every((R) => T(R.placement) === A ? R.overflows[0] > 0 : !0)))
234
+ return {
235
+ data: {
236
+ index: b,
237
+ overflows: O
238
+ },
239
+ reset: {
240
+ placement: B
241
+ }
242
+ };
243
+ let E = (D = O.filter((S) => S.overflows[0] <= 0).sort((S, R) => S.overflows[1] - R.overflows[1])[0]) == null ? void 0 : D.placement;
244
+ if (!E)
245
+ switch (i) {
246
+ case "bestFit": {
247
+ var F;
248
+ const S = (F = O.filter((R) => {
249
+ if (P) {
250
+ const V = T(R.placement);
251
+ return V === A || // Create a bias to the `y` side axis due to horizontal
252
+ // reading directions favoring greater width.
253
+ V === "y";
254
+ }
255
+ return !0;
256
+ }).map((R) => [R.placement, R.overflows.filter((V) => V > 0).reduce((V, Z) => V + Z, 0)]).sort((R, V) => R[1] - V[1])[0]) == null ? void 0 : F[0];
257
+ S && (E = S);
258
+ break;
259
+ }
260
+ case "initialPlacement":
261
+ E = m;
262
+ break;
263
+ }
264
+ if (r !== E)
265
+ return {
266
+ reset: {
267
+ placement: E
268
+ }
269
+ };
270
+ }
271
+ return {};
272
+ }
273
+ };
274
+ };
275
+ function q(t, e) {
276
+ return {
277
+ top: t.top - e.height,
278
+ right: t.right - e.width,
279
+ bottom: t.bottom - e.height,
280
+ left: t.left - e.width
281
+ };
282
+ }
283
+ function G(t) {
284
+ return se.some((e) => t[e] >= 0);
285
+ }
286
+ const fe = function(t) {
287
+ return t === void 0 && (t = {}), {
288
+ name: "hide",
289
+ options: t,
290
+ async fn(e) {
291
+ const {
292
+ rects: d
293
+ } = e, {
294
+ strategy: a = "referenceHidden",
295
+ ...r
296
+ } = L(t, e);
297
+ switch (a) {
298
+ case "referenceHidden": {
299
+ const n = await Y(e, {
300
+ ...r,
301
+ elementContext: "reference"
302
+ }), o = q(n, d.reference);
303
+ return {
304
+ data: {
305
+ referenceHiddenOffsets: o,
306
+ referenceHidden: G(o)
307
+ }
308
+ };
309
+ }
310
+ case "escaped": {
311
+ const n = await Y(e, {
312
+ ...r,
313
+ altBoundary: !0
314
+ }), o = q(n, d.floating);
315
+ return {
316
+ data: {
317
+ escapedOffsets: o,
318
+ escaped: G(o)
319
+ }
320
+ };
321
+ }
322
+ default:
323
+ return {};
324
+ }
325
+ }
326
+ };
327
+ }, U = /* @__PURE__ */ new Set(["left", "top"]);
328
+ async function oe(t, e) {
329
+ const {
330
+ placement: d,
331
+ platform: a,
332
+ elements: r
333
+ } = t, n = await (a.isRTL == null ? void 0 : a.isRTL(r.floating)), o = j(d), m = z(d), u = T(d) === "y", h = U.has(o) ? -1 : 1, c = n && u ? -1 : 1, s = L(e, t);
334
+ let {
335
+ mainAxis: f,
336
+ crossAxis: i,
337
+ alignmentAxis: l
338
+ } = typeof s == "number" ? {
339
+ mainAxis: s,
340
+ crossAxis: 0,
341
+ alignmentAxis: null
342
+ } : {
343
+ mainAxis: s.mainAxis || 0,
344
+ crossAxis: s.crossAxis || 0,
345
+ alignmentAxis: s.alignmentAxis
346
+ };
347
+ return m && typeof l == "number" && (i = m === "end" ? l * -1 : l), u ? {
348
+ x: i * c,
349
+ y: f * h
350
+ } : {
351
+ x: f * h,
352
+ y: i * c
353
+ };
354
+ }
355
+ const me = function(t) {
356
+ return t === void 0 && (t = 0), {
357
+ name: "offset",
358
+ options: t,
359
+ async fn(e) {
360
+ var d, a;
361
+ const {
362
+ x: r,
363
+ y: n,
364
+ placement: o,
365
+ middlewareData: m
366
+ } = e, u = await oe(e, t);
367
+ return o === ((d = m.offset) == null ? void 0 : d.placement) && (a = m.arrow) != null && a.alignmentOffset ? {} : {
368
+ x: r + u.x,
369
+ y: n + u.y,
370
+ data: {
371
+ ...u,
372
+ placement: o
373
+ }
374
+ };
375
+ }
376
+ };
377
+ }, de = function(t) {
378
+ return t === void 0 && (t = {}), {
379
+ name: "shift",
380
+ options: t,
381
+ async fn(e) {
382
+ const {
383
+ x: d,
384
+ y: a,
385
+ placement: r
386
+ } = e, {
387
+ mainAxis: n = !0,
388
+ crossAxis: o = !1,
389
+ limiter: m = {
390
+ fn: (x) => {
391
+ let {
392
+ x: y,
393
+ y: A
394
+ } = x;
395
+ return {
396
+ x: y,
397
+ y: A
398
+ };
399
+ }
400
+ },
401
+ ...u
402
+ } = L(t, e), h = {
403
+ x: d,
404
+ y: a
405
+ }, c = await Y(e, u), s = T(j(r)), f = K(s);
406
+ let i = h[f], l = h[s];
407
+ if (n) {
408
+ const x = f === "y" ? "top" : "left", y = f === "y" ? "bottom" : "right", A = i + c[x], p = i - c[y];
409
+ i = X(A, i, p);
410
+ }
411
+ if (o) {
412
+ const x = s === "y" ? "top" : "left", y = s === "y" ? "bottom" : "right", A = l + c[x], p = l - c[y];
413
+ l = X(A, l, p);
414
+ }
415
+ const g = m.fn({
416
+ ...e,
417
+ [f]: i,
418
+ [s]: l
419
+ });
420
+ return {
421
+ ...g,
422
+ data: {
423
+ x: g.x - d,
424
+ y: g.y - a,
425
+ enabled: {
426
+ [f]: n,
427
+ [s]: o
428
+ }
429
+ }
430
+ };
431
+ }
432
+ };
433
+ }, xe = function(t) {
434
+ return t === void 0 && (t = {}), {
435
+ options: t,
436
+ fn(e) {
437
+ const {
438
+ x: d,
439
+ y: a,
440
+ placement: r,
441
+ rects: n,
442
+ middlewareData: o
443
+ } = e, {
444
+ offset: m = 0,
445
+ mainAxis: u = !0,
446
+ crossAxis: h = !0
447
+ } = L(t, e), c = {
448
+ x: d,
449
+ y: a
450
+ }, s = T(r), f = K(s);
451
+ let i = c[f], l = c[s];
452
+ const g = L(m, e), x = typeof g == "number" ? {
453
+ mainAxis: g,
454
+ crossAxis: 0
455
+ } : {
456
+ mainAxis: 0,
457
+ crossAxis: 0,
458
+ ...g
459
+ };
460
+ if (u) {
461
+ const p = f === "y" ? "height" : "width", v = n.reference[f] - n.floating[p] + x.mainAxis, w = n.reference[f] + n.reference[p] - x.mainAxis;
462
+ i < v ? i = v : i > w && (i = w);
463
+ }
464
+ if (h) {
465
+ var y, A;
466
+ const p = f === "y" ? "width" : "height", v = U.has(j(r)), w = n.reference[s] - n.floating[p] + (v && ((y = o.offset) == null ? void 0 : y[s]) || 0) + (v ? 0 : x.crossAxis), P = n.reference[s] + n.reference[p] + (v ? 0 : ((A = o.offset) == null ? void 0 : A[s]) || 0) - (v ? x.crossAxis : 0);
467
+ l < w ? l = w : l > P && (l = P);
468
+ }
469
+ return {
470
+ [f]: i,
471
+ [s]: l
472
+ };
473
+ }
474
+ };
475
+ }, ge = function(t) {
476
+ return t === void 0 && (t = {}), {
477
+ name: "size",
478
+ options: t,
479
+ async fn(e) {
480
+ var d, a;
481
+ const {
482
+ placement: r,
483
+ rects: n,
484
+ platform: o,
485
+ elements: m
486
+ } = e, {
487
+ apply: u = () => {
488
+ },
489
+ ...h
490
+ } = L(t, e), c = await Y(e, h), s = j(r), f = z(r), i = T(r) === "y", {
491
+ width: l,
492
+ height: g
493
+ } = n.floating;
494
+ let x, y;
495
+ s === "top" || s === "bottom" ? (x = s, y = f === (await (o.isRTL == null ? void 0 : o.isRTL(m.floating)) ? "start" : "end") ? "left" : "right") : (y = s, x = f === "end" ? "top" : "bottom");
496
+ const A = g - c.top - c.bottom, p = l - c.left - c.right, v = $(g - c[x], A), w = $(l - c[y], p), P = !e.middlewareData.shift;
497
+ let C = v, M = w;
498
+ if ((d = e.middlewareData.shift) != null && d.enabled.x && (M = p), (a = e.middlewareData.shift) != null && a.enabled.y && (C = A), P && !f) {
499
+ const O = W(c.left, 0), H = W(c.right, 0), D = W(c.top, 0), F = W(c.bottom, 0);
500
+ i ? M = l - 2 * (O !== 0 || H !== 0 ? O + H : W(c.left, c.right)) : C = g - 2 * (D !== 0 || F !== 0 ? D + F : W(c.top, c.bottom));
501
+ }
502
+ await u({
503
+ ...e,
504
+ availableWidth: M,
505
+ availableHeight: C
506
+ });
507
+ const k = await o.getDimensions(m.floating);
508
+ return l !== k.width || g !== k.height ? {
509
+ reset: {
510
+ rects: !0
511
+ }
512
+ } : {};
513
+ }
514
+ };
515
+ };
516
+ export {
517
+ le as arrow,
518
+ ce as computePosition,
519
+ Y as detectOverflow,
520
+ re as flip,
521
+ fe as hide,
522
+ xe as limitShift,
523
+ me as offset,
524
+ _ as rectToClientRect,
525
+ de as shift,
526
+ ge as size
527
+ };