@code0-tech/pictor 0.0.0-mvp.26 → 0.0.0-mvp.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/components/badge/Badge.style.css +1 -1
- package/dist/assets/components/button/Button.style.css +1 -1
- package/dist/assets/components/context-menu/ContextMenu.style.css +1 -0
- package/dist/assets/components/d-flow-folder/DFlowFolder.style.css +1 -0
- package/dist/assets/components/{d-flow/function → d-flow-function}/DFlowFunctionDefaultCard.style.css +1 -1
- package/dist/assets/components/d-flow-panel/DFlowMiniMap.style.css +1 -0
- package/dist/assets/components/d-flow-suggestion/DFlowSuggestionSearchInput.style.css +1 -0
- package/dist/assets/components/d-layout/DLayout.style.css +1 -1
- package/dist/assets/components/d-resizable/DResizable.style.css +1 -1
- package/dist/assets/components/file-tabs/FileTabs.style.css +1 -1
- package/dist/assets/components/form/Input.style.css +1 -1
- package/dist/assets/components/segmented-control/SegmentedControl.style.css +1 -1
- package/dist/components/avatar/Avatar.js +7 -7
- package/dist/components/badge/Badge.d.ts +1 -1
- package/dist/components/badge/Badge.js +57 -17
- package/dist/components/breadcrumb/Breadcrumb.js +5 -5
- package/dist/components/button/Button.js +8 -8
- package/dist/components/context-menu/ContextMenu.d.ts +31 -0
- package/dist/components/context-menu/ContextMenu.js +191 -0
- package/dist/components/d-application/DApplication.service.d.ts +5 -0
- package/dist/components/d-application/DApplication.service.js +9 -0
- package/dist/components/d-flow/DFlow.d.ts +5 -3
- package/dist/components/d-flow/DFlow.edges.hook.d.ts +2 -1
- package/dist/components/d-flow/DFlow.edges.hook.js +98 -136
- package/dist/components/d-flow/DFlow.js +214 -199
- package/dist/components/d-flow/DFlow.nodes.hook.d.ts +5 -1
- package/dist/components/d-flow/DFlow.nodes.hook.js +101 -123
- package/dist/components/d-flow/DFlow.service.d.ts +12 -7
- package/dist/components/d-flow/DFlow.service.js +117 -7
- package/dist/components/d-flow/{edge/DFlowEdge.d.ts → DFlowEdge.d.ts} +5 -3
- package/dist/components/d-flow/DFlowEdge.js +69 -0
- package/dist/components/d-flow/index.d.ts +1 -10
- package/dist/components/d-flow/index.js +9 -44
- package/dist/components/d-flow-data-type/DFlowDataType.service.d.ts +9 -0
- package/dist/components/{d-flow/data-type → d-flow-data-type}/DFlowDataType.service.js +12 -10
- package/dist/components/{d-flow/data-type → d-flow-data-type}/DFlowDataType.view.d.ts +8 -2
- package/dist/components/d-flow-data-type/DFlowDataType.view.js +71 -0
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeContainsKeyRule.d.ts +2 -3
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeContainsKeyRule.js +3 -3
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeContainsTypeRule.d.ts +2 -3
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeContainsTypeRule.js +4 -4
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeParentRule.d.ts +2 -3
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeParentRule.js +3 -3
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeReturnTypeRule.d.ts +2 -3
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeReturnTypeRule.js +246 -0
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRule.d.ts +2 -3
- package/dist/components/{d-flow/tab → d-flow-file}/DFlowTabDefault.d.ts +2 -3
- package/dist/components/d-flow-file/DFlowTabDefault.js +139 -0
- package/dist/components/{d-flow/tab → d-flow-file}/DFlowTabTrigger.d.ts +2 -2
- package/dist/components/d-flow-file/DFlowTabTrigger.js +75 -0
- package/dist/components/d-flow-file/DFlowTabs.d.ts +6 -0
- package/dist/components/d-flow-file/DFlowTabs.js +128 -0
- package/dist/components/d-flow-file/index.d.ts +1 -0
- package/dist/components/d-flow-file/index.js +4 -0
- package/dist/components/{d-flow/folder → d-flow-folder}/DFlowFolder.d.ts +11 -5
- package/dist/components/d-flow-folder/DFlowFolder.js +158 -0
- package/dist/components/d-flow-folder/DFlowFolderContextMenu.d.ts +18 -0
- package/dist/components/d-flow-folder/DFlowFolderContextMenu.js +69 -0
- package/dist/components/d-flow-folder/DFlowFolderCreateDialog.d.ts +9 -0
- package/dist/components/d-flow-folder/DFlowFolderCreateDialog.js +76 -0
- package/dist/components/d-flow-folder/DFlowFolderItemPathInput.d.ts +5 -0
- package/dist/components/d-flow-folder/DFlowFolderItemPathInput.js +49 -0
- package/dist/components/d-flow-folder/DFlowFolderRenameDialog.d.ts +9 -0
- package/dist/components/d-flow-folder/DFlowFolderRenameDialog.js +55 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.input.hook.d.ts +1 -1
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.input.hook.js +1 -1
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.return.hook.d.ts +2 -2
- package/dist/components/d-flow-function/DFlowFunction.return.hook.js +9 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.service.d.ts +1 -1
- package/dist/components/d-flow-function/DFlowFunction.service.js +12 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.view.d.ts +12 -0
- package/dist/components/d-flow-function/DFlowFunction.view.js +132 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunctionDefaultCard.d.ts +4 -4
- package/dist/components/d-flow-function/DFlowFunctionDefaultCard.js +120 -0
- package/dist/components/d-flow-function/DFlowFunctionGroupCard.d.ts +13 -0
- package/dist/components/d-flow-function/DFlowFunctionGroupCard.js +68 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunctionSuggestionCard.d.ts +3 -4
- package/dist/components/d-flow-function/DFlowFunctionSuggestionCard.js +48 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunctionTriggerCard.d.ts +3 -3
- package/dist/components/d-flow-function/DFlowFunctionTriggerCard.js +71 -0
- package/dist/components/{d-flow/input → d-flow-input}/DFlowInputDataType.d.ts +1 -1
- package/dist/components/{d-flow/input → d-flow-input}/DFlowInputDataType.js +175 -165
- package/dist/components/d-flow-panel/DFlowExport.js +32 -0
- package/dist/components/d-flow-panel/DFlowMiniMap.js +33 -0
- package/dist/components/d-flow-panel/DFlowPanelControl.d.ts +6 -0
- package/dist/components/d-flow-panel/DFlowPanelControl.js +70 -0
- package/dist/components/d-flow-panel/DFlowPanelLayout.d.ts +4 -0
- package/dist/components/d-flow-panel/DFlowPanelLayout.js +47 -0
- package/dist/components/d-flow-panel/DFlowPanelSize.d.ts +2 -0
- package/dist/components/d-flow-panel/DFlowPanelSize.js +94 -0
- package/dist/components/d-flow-panel/index.d.ts +5 -0
- package/dist/components/d-flow-panel/index.js +12 -0
- package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestion.hook.d.ts +0 -15
- package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.js +161 -0
- package/dist/components/d-flow-suggestion/DFlowSuggestion.view.d.ts +14 -0
- package/dist/components/d-flow-suggestion/DFlowSuggestion.view.js +4 -0
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.js +83 -0
- package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenu.util.d.ts +1 -1
- package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenu.util.js +1 -1
- package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuFooter.js +5 -5
- package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuSearchBar.d.ts +1 -1
- package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuSearchBar.js +1 -1
- package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionSearchInput.d.ts +1 -1
- package/dist/components/d-flow-suggestion/DFlowSuggestionSearchInput.js +35 -0
- package/dist/components/d-flow-suggestion/index.d.ts +1 -0
- package/dist/components/d-flow-suggestion/index.js +4 -0
- package/dist/components/{d-flow/type → d-flow-type}/DFlowType.service.d.ts +1 -1
- package/dist/components/d-flow-type/DFlowType.service.js +12 -0
- package/dist/components/{d-flow/type → d-flow-type}/DFlowType.view.d.ts +6 -0
- package/dist/components/{d-flow/type → d-flow-type}/DFlowType.view.js +16 -10
- package/dist/components/d-flow-validation/DDataTypeValidation.hook.d.ts +2 -0
- package/dist/components/d-flow-validation/DDataTypeValidation.hook.js +18 -0
- package/dist/components/d-flow-validation/DFlowValidation.hook.d.ts +3 -0
- package/dist/components/d-flow-validation/DFlowValidation.hook.js +22 -0
- package/dist/components/d-flow-validation/DFlowValidation.js +66 -0
- package/dist/components/d-flow-validation/DNodeValidation.hook.d.ts +3 -0
- package/dist/components/d-flow-validation/DNodeValidation.hook.js +62 -0
- package/dist/components/d-flow-validation/DValueValidation.hook.d.ts +3 -0
- package/dist/components/d-flow-validation/DValueValidation.hook.js +8 -0
- package/dist/components/{d-flow/validation → d-flow-validation}/index.js +2 -2
- package/dist/components/d-fullscreen/DFullScreen.js +2 -2
- package/dist/components/d-member/DNamespaceMemberList.js +5 -5
- package/dist/components/d-organization/DOrganizationList.js +7 -7
- package/dist/components/d-organization/DOrganizationMenu.js +5 -5
- package/dist/components/d-organization/DOrganizatonContent.js +22 -22
- package/dist/components/d-project/DNamespaceProjectContent.js +6 -6
- package/dist/components/d-project/DNamespaceProjectList.js +5 -5
- package/dist/components/d-project/DNamespaceProjectMenu.js +2 -2
- package/dist/components/d-resizable/DResizable.js +18 -17
- package/dist/components/d-role/DNamespaceRolePermissions.js +5 -5
- package/dist/components/d-runtime/DRuntimeList.js +7 -7
- package/dist/components/d-user/DUser.session.hook.js +2 -2
- package/dist/components/d-user/DUserContent.js +13 -13
- package/dist/components/d-user/DUserInput.js +9 -9
- package/dist/components/d-user/DUserList.js +9 -9
- package/dist/components/file-tabs/FileTabs.js +2 -2
- package/dist/components/file-tabs/FileTabs.service.d.ts +5 -0
- package/dist/components/file-tabs/FileTabs.service.js +68 -16
- package/dist/components/file-tabs/FileTabs.view.d.ts +1 -0
- package/dist/components/form/CheckboxInput.js +4 -4
- package/dist/components/form/EmailInput.js +12 -12
- package/dist/components/form/Input.js +220 -206
- package/dist/components/form/Input.selection.hook.js +9 -9
- package/dist/components/form/Input.syntax.hook.js +7 -7
- package/dist/components/form/NumberInput.js +9 -9
- package/dist/components/form/PasswordInput.js +6 -6
- package/dist/components/form/SwitchInput.js +7 -7
- package/dist/components/form/TextInput.js +10 -10
- package/dist/components/segmented-control/SegmentedControl.d.ts +1 -1
- package/dist/components/segmented-control/SegmentedControl.js +14 -12
- package/dist/index.d.ts +8 -0
- package/dist/index.js +117 -117
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +527 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +208 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +48 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +53 -0
- package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +222 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +10 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +136 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +636 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +219 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +183 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +27 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +52 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js +7 -0
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +2 -2
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +8 -8
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +112 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +31 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +16 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +68 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +71 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +11 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +15 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +30 -0
- package/dist/node_modules/tslib/tslib.es6.js +27 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +6 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +26 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +25 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +18 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +67 -0
- package/dist/utils/generics.d.ts +5 -6
- package/dist/utils/generics.js +2 -2
- package/dist/utils/objectStore.js +15 -15
- package/dist/utils/reactiveArrayService.js +5 -5
- package/package.json +7 -4
- package/dist/assets/components/d-flow/folder/DFlowFolder.style.css +0 -1
- package/dist/assets/components/d-flow/minimap/DFlowMiniMap.style.css +0 -1
- package/dist/assets/components/d-flow/suggestion/DFlowSuggestionSearchInput.style.css +0 -1
- package/dist/components/d-flow/DFlow.view.d.ts +0 -113
- package/dist/components/d-flow/DFlow.view.js +0 -248
- package/dist/components/d-flow/control/DFlowControl.d.ts +0 -2
- package/dist/components/d-flow/control/DFlowControl.js +0 -81
- package/dist/components/d-flow/control/index.d.ts +0 -1
- package/dist/components/d-flow/control/index.js +0 -4
- package/dist/components/d-flow/data-type/DFlowDataType.service.d.ts +0 -10
- package/dist/components/d-flow/data-type/DFlowDataType.validation.type.d.ts +0 -2
- package/dist/components/d-flow/data-type/DFlowDataType.validation.type.js +0 -18
- package/dist/components/d-flow/data-type/DFlowDataType.validation.value.d.ts +0 -4
- package/dist/components/d-flow/data-type/DFlowDataType.validation.value.js +0 -20
- package/dist/components/d-flow/data-type/DFlowDataType.view.js +0 -65
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeReturnTypeRule.js +0 -243
- package/dist/components/d-flow/edge/DFlowEdge.js +0 -48
- package/dist/components/d-flow/export/DFlowExport.js +0 -24
- package/dist/components/d-flow/folder/DFlowFolder.js +0 -119
- package/dist/components/d-flow/function/DFlowFunction.return.hook.js +0 -11
- package/dist/components/d-flow/function/DFlowFunction.service.js +0 -9
- package/dist/components/d-flow/function/DFlowFunction.vaildation.hook.d.ts +0 -10
- package/dist/components/d-flow/function/DFlowFunction.vaildation.hook.js +0 -74
- package/dist/components/d-flow/function/DFlowFunction.view.js +0 -117
- package/dist/components/d-flow/function/DFlowFunctionDefaultCard.js +0 -158
- package/dist/components/d-flow/function/DFlowFunctionGroupCard.d.ts +0 -5
- package/dist/components/d-flow/function/DFlowFunctionGroupCard.js +0 -55
- package/dist/components/d-flow/function/DFlowFunctionSuggestionCard.js +0 -26
- package/dist/components/d-flow/function/DFlowFunctionTriggerCard.js +0 -93
- package/dist/components/d-flow/minimap/DFlowMiniMap.js +0 -22
- package/dist/components/d-flow/minimap/index.d.ts +0 -1
- package/dist/components/d-flow/minimap/index.js +0 -4
- package/dist/components/d-flow/suggestion/DFlowSuggestion.hook.js +0 -150
- package/dist/components/d-flow/suggestion/DFlowSuggestion.service.d.ts +0 -5
- package/dist/components/d-flow/suggestion/DFlowSuggestion.service.js +0 -18
- package/dist/components/d-flow/suggestion/DFlowSuggestion.view.d.ts +0 -21
- package/dist/components/d-flow/suggestion/DFlowSuggestion.view.js +0 -25
- package/dist/components/d-flow/suggestion/DFlowSuggestionMenu.js +0 -67
- package/dist/components/d-flow/suggestion/DFlowSuggestionSearchInput.js +0 -35
- package/dist/components/d-flow/suggestion/index.d.ts +0 -2
- package/dist/components/d-flow/suggestion/index.js +0 -7
- package/dist/components/d-flow/tab/DFlowTabDefault.js +0 -103
- package/dist/components/d-flow/tab/DFlowTabTrigger.js +0 -51
- package/dist/components/d-flow/tab/DFlowTabs.d.ts +0 -2
- package/dist/components/d-flow/tab/DFlowTabs.js +0 -105
- package/dist/components/d-flow/type/DFlowType.service.js +0 -9
- package/dist/components/d-flow/validation/DFlowValidation.hook.d.ts +0 -3
- package/dist/components/d-flow/validation/DFlowValidation.hook.js +0 -10
- package/dist/components/d-flow/validation/DFlowValidation.js +0 -60
- /package/dist/assets/components/{d-flow/input → d-flow-input}/DFlowInputDataType.style.css +0 -0
- /package/dist/assets/components/{d-flow/validation → d-flow-validation}/DFlowValidation.style.css +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/index.d.ts +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/index.js +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeItemOfCollectionRule.d.ts +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeItemOfCollectionRule.js +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeNumberRangeRule.d.ts +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeNumberRangeRule.js +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRegexRule.d.ts +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRegexRule.js +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRule.js +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRules.d.ts +0 -0
- /package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeRules.js +0 -0
- /package/dist/components/{d-flow/folder → d-flow-folder}/index.d.ts +0 -0
- /package/dist/components/{d-flow/folder → d-flow-folder}/index.js +0 -0
- /package/dist/components/{d-flow/function → d-flow-function}/index.d.ts +0 -0
- /package/dist/components/{d-flow/function → d-flow-function}/index.js +0 -0
- /package/dist/components/{d-flow/export → d-flow-panel}/DFlowExport.d.ts +0 -0
- /package/dist/components/{d-flow/minimap → d-flow-panel}/DFlowMiniMap.d.ts +0 -0
- /package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenu.d.ts +0 -0
- /package/dist/components/{d-flow/suggestion → d-flow-suggestion}/DFlowSuggestionMenuFooter.d.ts +0 -0
- /package/dist/components/{d-flow/type → d-flow-type}/index.d.ts +0 -0
- /package/dist/components/{d-flow/type → d-flow-type}/index.js +0 -0
- /package/dist/components/{d-flow/validation → d-flow-validation}/DFlowValidation.d.ts +0 -0
- /package/dist/components/{d-flow/validation → d-flow-validation}/index.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as M } from "../../_virtual/compiler-runtime.js";
|
|
2
|
-
import
|
|
3
|
-
import { useSyncSyntaxScroll as
|
|
4
|
-
const
|
|
2
|
+
import _ from "react";
|
|
3
|
+
import { useSyncSyntaxScroll as p, getSelectionMetrics as L, setSelectionRangeSafe as $ } from "./Input.utils.js";
|
|
4
|
+
const A = (r, n) => {
|
|
5
5
|
const t = M.c(6);
|
|
6
6
|
let s;
|
|
7
7
|
t[0] !== r || t[1] !== n ? (s = (u) => {
|
|
@@ -27,13 +27,13 @@ const F = (r, n) => {
|
|
|
27
27
|
let h = S;
|
|
28
28
|
f - 8 < S ? h = Math.max(f - 8, 0) : i + 8 > N && (h = Math.max(i + 8 - e.clientWidth, 0)), h !== S && (r.current.scrollLeft = h, e.scrollLeft = h);
|
|
29
29
|
}, t[0] = r, t[1] = n, t[2] = s) : s = t[2];
|
|
30
|
-
const o = s, a =
|
|
30
|
+
const o = s, a = p(r, n);
|
|
31
31
|
let l;
|
|
32
32
|
return t[3] !== o || t[4] !== a ? (l = {
|
|
33
33
|
ensureVisualIndexVisible: o,
|
|
34
34
|
syncSyntaxScroll: a
|
|
35
35
|
}, t[3] = o, t[4] = a, t[5] = l) : l = t[5], l;
|
|
36
|
-
},
|
|
36
|
+
}, F = (r, n) => {
|
|
37
37
|
const t = M.c(3);
|
|
38
38
|
let s;
|
|
39
39
|
return t[0] !== n || t[1] !== r ? (s = (o) => {
|
|
@@ -50,9 +50,9 @@ const F = (r, n) => {
|
|
|
50
50
|
end: e,
|
|
51
51
|
hasBlockOverlap: c
|
|
52
52
|
} = n(a, l);
|
|
53
|
-
c && (u === a && e === l ||
|
|
53
|
+
c && (u === a && e === l || $(o, u, e));
|
|
54
54
|
}, t[0] = n, t[1] = r, t[2] = s) : s = t[2], s;
|
|
55
|
-
}, O = (r, n, t, s, o) =>
|
|
55
|
+
}, O = (r, n, t, s, o) => _.useMemo(() => {
|
|
56
56
|
if (!r) return null;
|
|
57
57
|
const a = n.current;
|
|
58
58
|
if (!a) return t;
|
|
@@ -72,7 +72,7 @@ const F = (r, n) => {
|
|
|
72
72
|
};
|
|
73
73
|
}, [n, o, r, t, s]);
|
|
74
74
|
export {
|
|
75
|
-
|
|
75
|
+
F as useSelectionNormalization,
|
|
76
76
|
O as useSelectionResolution,
|
|
77
|
-
|
|
77
|
+
A as useSelectionVisibility
|
|
78
78
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c from "react";
|
|
2
|
-
const
|
|
2
|
+
const S = (i) => {
|
|
3
3
|
const a = i ?? "", s = typeof a == "string" ? a : String(a);
|
|
4
4
|
return [{
|
|
5
5
|
type: "text",
|
|
@@ -24,7 +24,7 @@ const f = (i) => {
|
|
|
24
24
|
const n = a(i, h);
|
|
25
25
|
if (n?.length) return n;
|
|
26
26
|
}
|
|
27
|
-
return
|
|
27
|
+
return S(i);
|
|
28
28
|
}, [h, a, i]), u = c.useMemo(() => p(g), [g]), v = c.useCallback((n, t) => {
|
|
29
29
|
let r = Math.min(n, t), l = Math.max(n, t), o = !1;
|
|
30
30
|
return u.forEach((e) => {
|
|
@@ -47,7 +47,7 @@ const f = (i) => {
|
|
|
47
47
|
if ((t?.visualLength ?? 0) <= 0) return t.start;
|
|
48
48
|
const o = l / (t?.visualLength ?? 0);
|
|
49
49
|
return Math.round(t.start + o * r);
|
|
50
|
-
}, [s, u]),
|
|
50
|
+
}, [s, u]), f = c.useCallback((n) => {
|
|
51
51
|
const t = u.find((e) => n >= e.start && n <= e.end);
|
|
52
52
|
if (!t) {
|
|
53
53
|
const e = s.current?.value.length ?? 0;
|
|
@@ -60,7 +60,7 @@ const f = (i) => {
|
|
|
60
60
|
if ((t?.visualLength ?? 0) <= 0) return t.visualStart;
|
|
61
61
|
const o = l / r;
|
|
62
62
|
return Math.min(t.visualStart + o * (t?.visualLength ?? 0), t.visualEnd);
|
|
63
|
-
}, [s, u]),
|
|
63
|
+
}, [s, u]), M = c.useMemo(() => {
|
|
64
64
|
const n = u[u.length - 1];
|
|
65
65
|
return n ? n.visualEnd : 0;
|
|
66
66
|
}, [u]);
|
|
@@ -69,12 +69,12 @@ const f = (i) => {
|
|
|
69
69
|
visualizedSyntaxSegments: u,
|
|
70
70
|
expandSelectionRangeToBlockBoundaries: v,
|
|
71
71
|
mapVisualIndexToRawIndex: m,
|
|
72
|
-
mapRawIndexToVisualIndex:
|
|
73
|
-
totalVisualLength:
|
|
72
|
+
mapRawIndexToVisualIndex: f,
|
|
73
|
+
totalVisualLength: M
|
|
74
74
|
};
|
|
75
75
|
};
|
|
76
76
|
export {
|
|
77
|
-
|
|
77
|
+
S as buildDefaultSyntax,
|
|
78
78
|
y as useSyntaxModel,
|
|
79
79
|
p as visualizeSyntaxSegments
|
|
80
80
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { Input as i } from "./Input.js";
|
|
4
4
|
import { IconMinus as a, IconPlus as l } from "@tabler/icons-react";
|
|
5
5
|
import { Button as e } from "../button/Button.js";
|
|
6
|
-
const
|
|
7
|
-
|
|
6
|
+
const N = u.forwardRef((o, t) => {
|
|
7
|
+
t = t || u.useRef(null);
|
|
8
8
|
const {
|
|
9
9
|
step: r = 1,
|
|
10
10
|
...c
|
|
11
11
|
} = o;
|
|
12
|
-
return /* @__PURE__ */
|
|
13
|
-
|
|
14
|
-
}, children: /* @__PURE__ */
|
|
15
|
-
|
|
16
|
-
}, children: /* @__PURE__ */
|
|
12
|
+
return /* @__PURE__ */ n(i, { className: "number-input", right: /* @__PURE__ */ n(e, { variant: "none", onClick: () => {
|
|
13
|
+
t.current && (t.current.value || (t.current.value = "0"), t.current.value = (Number.parseInt(t.current.value) + r).toString());
|
|
14
|
+
}, children: /* @__PURE__ */ n(l, { size: 13 }) }), left: /* @__PURE__ */ n(e, { variant: "none", onClick: () => {
|
|
15
|
+
t.current && (t.current.value || (t.current.value = "0"), t.current.value = (Number.parseInt(t.current.value) - r).toString());
|
|
16
|
+
}, children: /* @__PURE__ */ n(a, { size: 13 }) }), leftType: "action", type: "number", ref: t, ...c });
|
|
17
17
|
});
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
N as NumberInput
|
|
20
20
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
3
|
import { Input as h } from "./Input.js";
|
|
4
|
-
import { IconEye as
|
|
4
|
+
import { IconEye as d, IconX as y } from "@tabler/icons-react";
|
|
5
5
|
import { Button as i } from "../button/Button.js";
|
|
6
|
-
import { setElementKey as
|
|
6
|
+
import { setElementKey as f } from "./Input.utils.js";
|
|
7
7
|
const C = n.forwardRef((s, t) => {
|
|
8
8
|
t = t || n.useRef(null);
|
|
9
9
|
const {
|
|
10
|
-
clearable:
|
|
11
|
-
visible:
|
|
10
|
+
clearable: a = !0,
|
|
11
|
+
visible: p = !0,
|
|
12
12
|
right: c,
|
|
13
13
|
...u
|
|
14
|
-
} = s, l = (r) => (t.current &&
|
|
15
|
-
return
|
|
14
|
+
} = s, l = (r) => (t.current && f(t.current, "value", "", "change"), r.stopPropagation(), r.preventDefault(), !1), m = (r) => (t.current && t.current.type == "password" ? t.current.type = "text" : t.current && t.current.type == "text" && (t.current.type = "password"), r.stopPropagation(), r.preventDefault(), !1), o = [c];
|
|
15
|
+
return p && o.push(/* @__PURE__ */ e(i, { variant: "none", onClick: (r) => m(r), children: /* @__PURE__ */ e(d, { size: 13 }) })), a && o.push(/* @__PURE__ */ e(i, { variant: "none", onClick: (r) => l(r), children: /* @__PURE__ */ e(y, { size: 13 }) })), /* @__PURE__ */ e(h, { right: o, rightType: "action", type: "password", ref: t, ...u });
|
|
16
16
|
});
|
|
17
17
|
export {
|
|
18
18
|
C as PasswordInput
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
3
|
import { Input as p } from "./Input.js";
|
|
4
4
|
const m = e.forwardRef((r, t) => {
|
|
5
5
|
t = t || e.useRef(null);
|
|
6
6
|
const {
|
|
7
|
-
value:
|
|
8
|
-
initialValue:
|
|
9
|
-
...
|
|
7
|
+
value: l,
|
|
8
|
+
initialValue: o,
|
|
9
|
+
...u
|
|
10
10
|
} = r;
|
|
11
|
-
return /* @__PURE__ */
|
|
11
|
+
return /* @__PURE__ */ n(p, { wrapperComponent: {
|
|
12
12
|
className: "switch-input"
|
|
13
|
-
}, type: "checkbox", right: null, left: null, ref: t, value:
|
|
13
|
+
}, type: "checkbox", right: null, left: null, ref: t, value: l, ...o ? {
|
|
14
14
|
defaultChecked: !0
|
|
15
|
-
} : {}, ...
|
|
15
|
+
} : {}, ...u });
|
|
16
16
|
});
|
|
17
17
|
export {
|
|
18
18
|
m as SwitchInput
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { Input as u } from "./Input.js";
|
|
4
|
-
import { IconX as
|
|
5
|
-
import { Button as
|
|
4
|
+
import { IconX as f } from "@tabler/icons-react";
|
|
5
|
+
import { Button as s } from "../button/Button.js";
|
|
6
6
|
import { setElementKey as p } from "./Input.utils.js";
|
|
7
|
-
const
|
|
7
|
+
const R = i.forwardRef((e, t) => {
|
|
8
8
|
t = t || i.useRef(null);
|
|
9
9
|
const {
|
|
10
10
|
clearable: a = !1,
|
|
11
|
-
right:
|
|
12
|
-
...
|
|
13
|
-
} =
|
|
14
|
-
t.current && p(t.current, "value", "", "change"),
|
|
15
|
-
}, n = [
|
|
16
|
-
return a && n.push(/* @__PURE__ */ o(
|
|
11
|
+
right: l,
|
|
12
|
+
...c
|
|
13
|
+
} = e, m = (r) => {
|
|
14
|
+
t.current && p(t.current, "value", "", "change"), e.onClear && e.onClear(r);
|
|
15
|
+
}, n = [l];
|
|
16
|
+
return a && n.push(/* @__PURE__ */ o(s, { variant: "none", onClick: (r) => m(r), children: /* @__PURE__ */ o(f, { size: 13 }) })), /* @__PURE__ */ o(u, { right: n, type: "text", ref: t, ...c });
|
|
17
17
|
});
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
R as TextInput
|
|
20
20
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Code0ComponentProps } from '../../utils
|
|
2
|
+
import { Code0ComponentProps } from '../../utils';
|
|
3
3
|
import { ToggleGroupSingleProps, ToggleGroupItemProps } from '@radix-ui/react-toggle-group';
|
|
4
4
|
type SegmentedControlProps = Code0ComponentProps & ToggleGroupSingleProps;
|
|
5
5
|
type SegmentedControlItemProps = Code0ComponentProps & ToggleGroupItemProps;
|
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
import { Root as
|
|
4
|
-
import
|
|
2
|
+
import { c as i } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { Root as c, Item as s } from "@radix-ui/react-toggle-group";
|
|
4
|
+
import "../../utils/contextStore.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import { mergeCode0Props as l } from "../../utils/utils.js";
|
|
5
7
|
import '../../assets/components/segmented-control/SegmentedControl.style.css';/* empty css */
|
|
6
|
-
const
|
|
7
|
-
const t =
|
|
8
|
+
const I = (m) => {
|
|
9
|
+
const t = i.c(4);
|
|
8
10
|
let e;
|
|
9
|
-
t[0] !== m ? (e =
|
|
11
|
+
t[0] !== m ? (e = l("segmented-control", m), t[0] = m, t[1] = e) : e = t[1];
|
|
10
12
|
const r = e;
|
|
11
13
|
let o;
|
|
12
|
-
return t[2] !== r ? (o = /* @__PURE__ */ n(
|
|
13
|
-
},
|
|
14
|
-
const t =
|
|
14
|
+
return t[2] !== r ? (o = /* @__PURE__ */ n(c, { ...r }), t[2] = r, t[3] = o) : o = t[3], o;
|
|
15
|
+
}, R = (m) => {
|
|
16
|
+
const t = i.c(4);
|
|
15
17
|
let e;
|
|
16
|
-
t[0] !== m ? (e =
|
|
18
|
+
t[0] !== m ? (e = l("segmented-control__item", m), t[0] = m, t[1] = e) : e = t[1];
|
|
17
19
|
const r = e;
|
|
18
20
|
let o;
|
|
19
21
|
return t[2] !== r ? (o = /* @__PURE__ */ n(s, { ...r }), t[2] = r, t[3] = o) : o = t[3], o;
|
|
20
22
|
};
|
|
21
23
|
export {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
I as SegmentedControl,
|
|
25
|
+
R as SegmentedControlItem
|
|
24
26
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,14 @@ export * from './components/col/Col';
|
|
|
10
10
|
export * from './components/command/Command';
|
|
11
11
|
export * from './components/container/Container';
|
|
12
12
|
export * from './components/d-flow/index';
|
|
13
|
+
export * from './components/d-flow-data-type/index';
|
|
14
|
+
export * from './components/d-flow-file/index';
|
|
15
|
+
export * from './components/d-flow-folder/index';
|
|
16
|
+
export * from './components/d-flow-function/index';
|
|
17
|
+
export * from './components/d-flow-panel/index';
|
|
18
|
+
export * from './components/d-flow-suggestion/index';
|
|
19
|
+
export * from './components/d-flow-type/index';
|
|
20
|
+
export * from './components/d-flow-validation/index';
|
|
13
21
|
export * from './components/d-fullscreen/DFullScreen';
|
|
14
22
|
export * from './components/d-layout/DLayout';
|
|
15
23
|
export * from './components/d-license/index';
|