@code0-tech/pictor 0.0.0-mvp.3 → 0.0.0-mvp.31
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/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/compiler-runtime.js +5 -0
- package/dist/_virtual/compiler-runtime2.js +4 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/react-compiler-runtime.development.js +4 -0
- package/dist/_virtual/react-compiler-runtime.production.js +4 -0
- package/dist/_virtual/react-contenteditable.js +7 -0
- package/dist/_virtual/react-contenteditable2.js +4 -0
- package/dist/_virtual/react-dom-server-legacy.browser.development.js +4 -0
- package/dist/_virtual/react-dom-server-legacy.browser.production.js +4 -0
- package/dist/_virtual/react-dom-server.browser.development.js +4 -0
- package/dist/_virtual/react-dom-server.browser.production.js +4 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/server.browser.js +5 -0
- package/dist/_virtual/server.browser2.js +4 -0
- package/dist/assets/components/alert/Alert.style.css +1 -0
- package/dist/assets/components/aurora/Aurora.style.css +1 -0
- package/dist/assets/components/avatar/Avatar.style.css +1 -0
- package/dist/assets/components/badge/Badge.style.css +1 -0
- package/dist/assets/{Breadcrumb.css → components/breadcrumb/Breadcrumb.style.css} +1 -1
- package/dist/assets/components/button/Button.style.css +1 -0
- package/dist/assets/components/button-group/ButtonGroup.style.css +1 -0
- package/dist/assets/components/card/Card.style.css +1 -0
- package/dist/assets/components/command/Command.style.css +1 -0
- package/dist/assets/components/context-menu/ContextMenu.style.css +1 -0
- package/dist/assets/components/d-flow/DFlow.style.css +1 -0
- package/dist/assets/components/d-flow-folder/DFlowFolder.style.css +1 -0
- package/dist/assets/components/d-flow-function/DFlowFunctionDefaultCard.style.css +1 -0
- package/dist/assets/components/d-flow-input/DFlowInputDataType.style.css +1 -0
- 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-flow-validation/DFlowValidation.style.css +1 -0
- package/dist/assets/components/d-layout/DLayout.style.css +1 -0
- package/dist/assets/components/d-resizable/DResizable.style.css +1 -0
- package/dist/assets/components/dialog/Dialog.style.css +1 -0
- package/dist/assets/components/file-tabs/FileTabs.style.css +1 -0
- package/dist/assets/components/form/Input.style.css +1 -0
- package/dist/assets/components/menu/Menu.style.css +1 -0
- package/dist/assets/{ScrollArea.css → components/scroll-area/ScrollArea.style.css} +1 -1
- package/dist/assets/components/segmented-control/SegmentedControl.style.css +1 -0
- package/dist/assets/components/spacing/Spacing.style.css +1 -0
- package/dist/assets/components/tab/Tab.style.css +1 -0
- package/dist/assets/components/text/Text.style.css +1 -0
- package/dist/assets/components/toast/Toast.style.css +1 -0
- package/dist/assets/components/tooltip/Tooltip.style.css +1 -0
- package/dist/assets/{DFlow.css → node_modules/@xyflow/react/dist/style.css} +1 -1
- package/dist/components/alert/Alert.d.ts +7 -0
- package/dist/components/alert/Alert.js +38 -0
- package/dist/components/aurora/Aurora.d.ts +5 -0
- package/dist/components/aurora/Aurora.js +23 -0
- package/dist/components/avatar/Avatar.js +9 -9
- package/dist/components/badge/Badge.d.ts +2 -1
- package/dist/components/badge/Badge.js +58 -17
- package/dist/components/breadcrumb/Breadcrumb.js +16 -28
- package/dist/components/button/Button.d.ts +3 -2
- package/dist/components/button/Button.js +23 -20
- package/dist/components/button-group/ButtonGroup.js +12 -11
- package/dist/components/card/Card.d.ts +2 -1
- package/dist/components/card/Card.js +25 -22
- package/dist/components/card/CardSection.d.ts +1 -0
- package/dist/components/card/CardSection.js +18 -12
- package/dist/components/col/Col.js +9 -8
- package/dist/components/command/Command.js +19 -18
- package/dist/components/container/Container.js +12 -11
- 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 +7 -3
- package/dist/components/d-flow/DFlow.edges.hook.d.ts +3 -2
- package/dist/components/d-flow/DFlow.edges.hook.js +100 -136
- package/dist/components/d-flow/DFlow.js +313 -258
- package/dist/components/d-flow/DFlow.nodes.hook.d.ts +6 -2
- package/dist/components/d-flow/DFlow.nodes.hook.js +102 -121
- package/dist/components/d-flow/DFlow.service.d.ts +17 -7
- package/dist/components/d-flow/DFlow.service.js +132 -7
- package/dist/components/d-flow/DFlow.util.d.ts +4 -0
- package/dist/components/d-flow/DFlow.util.js +63 -0
- 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 +14 -0
- package/dist/components/d-flow-data-type/DFlowDataType.service.js +96 -0
- package/dist/components/{d-flow/data-type → d-flow-data-type}/DFlowDataType.view.d.ts +13 -4
- package/dist/components/d-flow-data-type/DFlowDataType.view.js +76 -0
- package/dist/components/{d-flow/data-type → d-flow-data-type}/index.js +1 -1
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeContainsKeyRule.d.ts +2 -3
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsKeyRule.js +222 -0
- package/dist/components/{d-flow/data-type → d-flow-data-type}/rules/DFlowDataTypeContainsTypeRule.d.ts +2 -3
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsTypeRule.js +229 -0
- 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-data-type/rules/DFlowDataTypeRules.js +10 -0
- package/dist/components/d-flow-file/DFlowTabDefault.d.ts +7 -0
- package/dist/components/d-flow-file/DFlowTabDefault.js +104 -0
- package/dist/components/{d-flow/tab → d-flow-file}/DFlowTabTrigger.d.ts +2 -2
- package/dist/components/d-flow-file/DFlowTabTrigger.js +64 -0
- package/dist/components/d-flow-file/DFlowTabs.d.ts +8 -0
- package/dist/components/d-flow-file/DFlowTabs.js +132 -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/DFlowFolder.d.ts +33 -0
- package/dist/components/d-flow-folder/DFlowFolder.js +208 -0
- package/dist/components/d-flow-folder/DFlowFolderContextMenu.d.ts +18 -0
- package/dist/components/d-flow-folder/DFlowFolderContextMenu.js +45 -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/DFlowFolderDeleteDialog.d.ts +10 -0
- package/dist/components/d-flow-folder/DFlowFolderDeleteDialog.js +55 -0
- package/dist/components/d-flow-folder/DFlowFolderItemPathInput.d.ts +5 -0
- package/dist/components/d-flow-folder/DFlowFolderItemPathInput.js +50 -0
- package/dist/components/d-flow-folder/DFlowFolderRenameDialog.d.ts +10 -0
- package/dist/components/d-flow-folder/DFlowFolderRenameDialog.js +55 -0
- package/dist/components/d-flow-folder/index.d.ts +4 -0
- package/dist/components/d-flow-folder/index.js +12 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.input.hook.d.ts +1 -1
- package/dist/components/d-flow-function/DFlowFunction.input.hook.js +8 -0
- 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/DFlowFunction.service.d.ts +11 -0
- package/dist/components/d-flow-function/DFlowFunction.service.js +12 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunction.view.d.ts +24 -9
- package/dist/components/d-flow-function/DFlowFunction.view.js +139 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunctionDefaultCard.d.ts +4 -4
- package/dist/components/d-flow-function/DFlowFunctionDefaultCard.js +117 -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 +43 -0
- package/dist/components/{d-flow/function → d-flow-function}/DFlowFunctionTriggerCard.d.ts +3 -3
- package/dist/components/d-flow-function/DFlowFunctionTriggerCard.js +78 -0
- package/dist/components/{d-flow/input → d-flow-input}/DFlowInputDataType.d.ts +1 -1
- package/dist/components/d-flow-input/DFlowInputDataType.js +437 -0
- package/dist/components/d-flow-input/DFlowInputDefault.d.ts +10 -0
- package/dist/components/d-flow-input/DFlowInputDefault.js +128 -0
- package/dist/components/d-flow-input/DFlowInputLiteralBadge.d.ts +7 -0
- package/dist/components/d-flow-input/DFlowInputLiteralBadge.js +24 -0
- package/dist/components/d-flow-input/DFlowInputNodeBadge.d.ts +11 -0
- package/dist/components/d-flow-input/DFlowInputNodeBadge.js +44 -0
- package/dist/components/d-flow-input/DFlowInputReferenceBadge.d.ts +11 -0
- package/dist/components/d-flow-input/DFlowInputReferenceBadge.js +33 -0
- package/dist/components/d-flow-panel/DFlowExport.d.ts +6 -0
- 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 +72 -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/DFlowDataTypeSuggestions.hook.d.ts +3 -0
- package/dist/components/d-flow-suggestion/DFlowDataTypeSuggestions.hook.js +34 -0
- package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.d.ts +3 -0
- package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.js +50 -0
- package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.d.ts +3 -0
- package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.js +133 -0
- package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.d.ts +3 -0
- package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.js +24 -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 +72 -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 +12 -11
- 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/DFlowValueSuggestions.hook.d.ts +3 -0
- package/dist/components/d-flow-suggestion/DFlowValueSuggestions.hook.js +44 -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/DFlowType.service.d.ts +11 -0
- package/dist/components/d-flow-type/DFlowType.service.js +12 -0
- package/dist/components/{d-flow/type → d-flow-type}/DFlowType.view.d.ts +10 -4
- package/dist/components/d-flow-type/DFlowType.view.js +85 -0
- 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 +58 -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.d.ts +1 -2
- package/dist/components/d-fullscreen/DFullScreen.js +24 -18
- package/dist/components/d-layout/DLayout.js +27 -26
- package/dist/components/d-license/DNamespaceLicense.service.d.ts +11 -0
- package/dist/components/d-license/DNamespaceLicense.service.js +12 -0
- package/dist/components/d-license/index.d.ts +2 -0
- package/dist/components/d-license/index.js +6 -0
- package/dist/components/d-member/DNamespaceMember.service.d.ts +13 -0
- package/dist/components/d-member/DNamespaceMember.service.js +17 -0
- package/dist/components/{d-namespace/member → d-member}/DNamespaceMember.view.d.ts +4 -1
- package/dist/components/{d-namespace/member → d-member}/DNamespaceMember.view.js +16 -11
- package/dist/components/d-member/DNamespaceMemberCard.d.ts +10 -0
- package/dist/components/d-member/DNamespaceMemberCard.js +16 -0
- package/dist/components/d-member/DNamespaceMemberContent.d.ts +10 -0
- package/dist/components/d-member/DNamespaceMemberContent.js +224 -0
- package/dist/components/d-member/DNamespaceMemberList.d.ts +12 -0
- package/dist/components/d-member/DNamespaceMemberList.js +23 -0
- package/dist/components/d-member/index.d.ts +4 -0
- package/dist/components/d-member/index.js +10 -0
- package/dist/components/d-namespace/DNamespace.service.d.ts +1 -1
- package/dist/components/d-namespace/DNamespace.service.js +7 -6
- package/dist/components/d-namespace/index.d.ts +0 -10
- package/dist/components/d-namespace/index.js +4 -33
- package/dist/components/d-organization/DOrganization.service.d.ts +3 -3
- package/dist/components/d-organization/DOrganization.service.js +8 -7
- package/dist/components/d-organization/DOrganization.view.d.ts +4 -1
- package/dist/components/d-organization/DOrganization.view.js +21 -18
- package/dist/components/d-organization/DOrganizationCard.d.ts +4 -3
- package/dist/components/d-organization/DOrganizationCard.js +13 -60
- package/dist/components/d-organization/DOrganizationList.d.ts +10 -0
- package/dist/components/d-organization/DOrganizationList.js +23 -0
- package/dist/components/d-organization/DOrganizationMenu.js +5 -5
- package/dist/components/d-organization/DOrganizatonContent.d.ts +10 -0
- package/dist/components/d-organization/DOrganizatonContent.js +101 -0
- package/dist/components/d-organization/index.d.ts +1 -0
- package/dist/components/d-organization/index.js +30 -10
- package/dist/components/d-project/DNamespaceProject.service.d.ts +12 -0
- package/dist/components/d-project/DNamespaceProject.service.js +12 -0
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProject.view.d.ts +4 -1
- package/dist/components/{d-namespace/project → d-project}/DNamespaceProject.view.js +13 -10
- package/dist/components/d-project/DNamespaceProjectCard.d.ts +9 -0
- package/dist/components/d-project/DNamespaceProjectCard.js +17 -0
- package/dist/components/d-project/DNamespaceProjectContent.d.ts +10 -0
- package/dist/components/d-project/DNamespaceProjectContent.js +71 -0
- package/dist/components/d-project/DNamespaceProjectList.d.ts +11 -0
- package/dist/components/d-project/DNamespaceProjectList.js +25 -0
- package/dist/components/d-project/DNamespaceProjectMenu.d.ts +13 -0
- package/dist/components/d-project/DNamespaceProjectMenu.js +57 -0
- package/dist/components/d-project/index.d.ts +5 -0
- package/dist/components/d-project/index.js +26 -0
- package/dist/components/d-resizable/DResizable.d.ts +4 -4
- package/dist/components/d-resizable/DResizable.js +26 -23
- package/dist/components/d-role/DNamespaceRole.service.d.ts +13 -0
- package/dist/components/d-role/DNamespaceRole.service.js +12 -0
- package/dist/components/{d-namespace/role → d-role}/DNamespaceRole.view.d.ts +4 -1
- package/dist/components/{d-namespace/role → d-role}/DNamespaceRole.view.js +8 -4
- package/dist/components/d-role/DNamespaceRoleCard.d.ts +11 -0
- package/dist/components/d-role/DNamespaceRoleCard.js +17 -0
- package/dist/components/d-role/DNamespaceRoleContent.d.ts +10 -0
- package/dist/components/d-role/DNamespaceRoleContent.js +162 -0
- package/dist/components/d-role/DNamespaceRoleList.d.ts +12 -0
- package/dist/components/d-role/DNamespaceRoleList.js +24 -0
- package/dist/components/d-role/DNamespaceRolePermissions.d.ts +5 -0
- package/dist/components/d-role/DNamespaceRolePermissions.js +123 -0
- package/dist/components/d-role/index.d.ts +4 -0
- package/dist/components/d-role/index.js +10 -0
- package/dist/components/d-runtime/DRuntime.service.d.ts +5 -2
- package/dist/components/d-runtime/DRuntime.service.js +2 -4
- package/dist/components/d-runtime/DRuntime.view.d.ts +4 -1
- package/dist/components/d-runtime/DRuntime.view.js +6 -3
- package/dist/components/d-runtime/DRuntimeCard.d.ts +9 -0
- package/dist/components/d-runtime/DRuntimeCard.js +18 -0
- package/dist/components/d-runtime/DRuntimeContent.d.ts +9 -0
- package/dist/components/d-runtime/DRuntimeContent.js +45 -0
- package/dist/components/d-runtime/DRuntimeList.d.ts +12 -0
- package/dist/components/d-runtime/DRuntimeList.js +28 -0
- package/dist/components/d-runtime/index.d.ts +2 -0
- package/dist/components/d-runtime/index.js +6 -2
- package/dist/components/d-user/DUser.service.d.ts +3 -4
- package/dist/components/d-user/DUser.service.js +9 -9
- package/dist/components/d-user/DUser.session.hook.d.ts +3 -0
- package/dist/components/d-user/DUser.session.hook.js +16 -0
- package/dist/components/d-user/DUser.view.d.ts +4 -1
- package/dist/components/d-user/DUser.view.js +13 -10
- package/dist/components/d-user/DUserCard.d.ts +8 -0
- package/dist/components/d-user/DUserCard.js +15 -0
- package/dist/components/d-user/DUserContent.d.ts +8 -0
- package/dist/components/d-user/DUserContent.js +84 -0
- package/dist/components/d-user/DUserInput.d.ts +7 -0
- package/dist/components/d-user/DUserInput.js +100 -0
- package/dist/components/d-user/DUserList.d.ts +9 -0
- package/dist/components/d-user/DUserList.js +22 -0
- package/dist/components/d-user/DUserMenu.js +20 -19
- package/dist/components/d-user/index.d.ts +4 -0
- package/dist/components/d-user/index.js +17 -8
- package/dist/components/dialog/Dialog.d.ts +2 -1
- package/dist/components/dialog/Dialog.js +69 -60
- package/dist/components/file-tabs/FileTabs.js +41 -40
- package/dist/components/file-tabs/FileTabs.service.d.ts +5 -1
- package/dist/components/file-tabs/FileTabs.service.js +74 -26
- package/dist/components/file-tabs/FileTabs.view.d.ts +1 -0
- package/dist/components/flex/Flex.js +2 -2
- package/dist/components/form/CheckboxInput.js +62 -53
- package/dist/components/form/EmailInput.js +11 -10
- package/dist/components/form/Input.d.ts +18 -5
- package/dist/components/form/Input.js +333 -139
- package/dist/components/form/Input.syntax.hook.d.ts +10 -0
- package/dist/components/form/Input.syntax.hook.js +14 -0
- package/dist/components/form/Input.utils.d.ts +10 -0
- package/dist/components/form/Input.utils.js +38 -0
- package/dist/components/form/InputContentEditable.hook.d.ts +40 -0
- package/dist/components/form/InputContentEditable.hook.js +471 -0
- package/dist/components/form/InputDescription.js +1 -1
- package/dist/components/form/InputLabel.js +1 -1
- package/dist/components/form/InputMessage.js +1 -1
- package/dist/components/form/InputSuggestion.d.ts +16 -8
- package/dist/components/form/InputSuggestion.js +189 -73
- package/dist/components/form/NumberInput.js +9 -9
- package/dist/components/form/PasswordInput.js +11 -10
- package/dist/components/form/PinInput.js +2 -2
- package/dist/components/form/RadioGroup.js +2 -2
- package/dist/components/form/RadioInput.js +2 -2
- package/dist/components/form/SwitchInput.js +7 -7
- package/dist/components/form/TextInput.js +12 -11
- package/dist/components/form/index.js +26 -27
- package/dist/components/form/useForm.d.ts +3 -1
- package/dist/components/form/useForm.js +53 -33
- package/dist/components/menu/Menu.d.ts +7 -3
- package/dist/components/menu/Menu.js +24 -24
- package/dist/components/quote/Quote.js +32 -36
- package/dist/components/row/Row.js +10 -9
- package/dist/components/scroll-area/ScrollArea.js +18 -17
- package/dist/components/segmented-control/SegmentedControl.d.ts +1 -1
- package/dist/components/segmented-control/SegmentedControl.js +19 -16
- package/dist/components/spacing/Spacing.d.ts +6 -0
- package/dist/components/spacing/Spacing.js +23 -0
- package/dist/components/tab/Tab.d.ts +11 -0
- package/dist/components/tab/Tab.js +40 -0
- package/dist/components/text/Text.js +2 -2
- package/dist/components/toast/Toast.d.ts +13 -0
- package/dist/components/toast/Toast.js +62 -0
- package/dist/components/tooltip/Tooltip.js +36 -35
- package/dist/index.d.ts +17 -0
- package/dist/index.js +264 -216
- 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/fast-deep-equal/index.js +31 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js +7 -0
- package/dist/node_modules/object-assign/index.js +49 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/node_modules/prop-types/index.js +17 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +87 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +70 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +21 -0
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +14 -0
- package/dist/node_modules/react/compiler-runtime.js +10 -0
- package/dist/node_modules/react-contenteditable/lib/react-contenteditable.js +132 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +6235 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +4096 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +6753 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.js +4645 -0
- package/dist/node_modules/react-dom/server.browser.js +15 -0
- 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/arrayService.d.ts +2 -2
- package/dist/utils/contextStore.js +1 -1
- package/dist/utils/generics.d.ts +7 -6
- package/dist/utils/generics.js +136 -124
- package/dist/utils/index.js +22 -21
- package/dist/utils/inspection.d.ts +4 -2
- package/dist/utils/inspection.js +27 -2
- package/dist/utils/objectStore.js +15 -15
- package/dist/utils/reactiveArrayService.d.ts +3 -3
- package/dist/utils/reactiveArrayService.js +53 -43
- package/dist/utils/types.d.ts +2 -2
- package/package.json +38 -33
- package/dist/DFlowDataType.service-Dz8pQUeO.js +0 -793
- package/dist/assets/Avatar.css +0 -1
- package/dist/assets/Badge.css +0 -1
- package/dist/assets/Button.css +0 -1
- package/dist/assets/ButtonGroup.css +0 -1
- package/dist/assets/Card.css +0 -1
- package/dist/assets/Command.css +0 -1
- package/dist/assets/DFlowFolder.css +0 -1
- package/dist/assets/DFlowFunctionDefaultCard.css +0 -1
- package/dist/assets/DFlowInputDataType.css +0 -1
- package/dist/assets/DFlowMiniMap.css +0 -1
- package/dist/assets/DFlowSuggestionSearchInput.css +0 -1
- package/dist/assets/DFlowValidation.css +0 -1
- package/dist/assets/DLayout.css +0 -1
- package/dist/assets/DResizable.css +0 -1
- package/dist/assets/Dialog.css +0 -1
- package/dist/assets/FileTabs.css +0 -1
- package/dist/assets/Input.css +0 -1
- package/dist/assets/Menu.css +0 -1
- package/dist/assets/SegmentedControl.css +0 -1
- package/dist/assets/Text.css +0 -1
- package/dist/assets/Tooltip.css +0 -1
- package/dist/compiler-runtime-BNHg76kC.js +0 -36
- package/dist/components/d-flow/DFlow.view.d.ts +0 -109
- package/dist/components/d-flow/DFlow.view.js +0 -213
- package/dist/components/d-flow/control/DFlowControl.d.ts +0 -2
- package/dist/components/d-flow/control/DFlowControl.js +0 -77
- 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.service.js +0 -7
- 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 -6
- package/dist/components/d-flow/data-type/DFlowDataType.view.js +0 -65
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeContainsKeyRule.js +0 -6
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeContainsTypeRule.js +0 -6
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeReturnTypeRule.js +0 -7
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeRules.js +0 -8
- package/dist/components/d-flow/edge/DFlowEdge.js +0 -48
- package/dist/components/d-flow/folder/DFlowFolder.d.ts +0 -19
- package/dist/components/d-flow/folder/DFlowFolder.js +0 -118
- package/dist/components/d-flow/folder/index.d.ts +0 -1
- package/dist/components/d-flow/folder/index.js +0 -6
- package/dist/components/d-flow/function/DFlowFunction.input.hook.js +0 -9
- package/dist/components/d-flow/function/DFlowFunction.return.hook.js +0 -11
- package/dist/components/d-flow/function/DFlowFunction.service.d.ts +0 -6
- 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 -75
- 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 -97
- package/dist/components/d-flow/input/DFlowInputDataType.js +0 -422
- package/dist/components/d-flow/minimap/DFlowMiniMap.js +0 -21
- 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.d.ts +0 -33
- package/dist/components/d-flow/suggestion/DFlowSuggestion.hook.js +0 -151
- 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 -21
- 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.d.ts +0 -11
- package/dist/components/d-flow/tab/DFlowTabDefault.js +0 -97
- 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.d.ts +0 -6
- package/dist/components/d-flow/type/DFlowType.service.js +0 -9
- package/dist/components/d-flow/type/DFlowType.view.js +0 -69
- 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 -59
- package/dist/components/d-namespace/license/DNamespaceLicense.service.d.ts +0 -8
- package/dist/components/d-namespace/license/DNamespaceLicense.service.js +0 -11
- package/dist/components/d-namespace/member/DNamespaceMember.service.d.ts +0 -9
- package/dist/components/d-namespace/member/DNamespaceMember.service.js +0 -11
- package/dist/components/d-namespace/project/DNamespaceProject.service.d.ts +0 -9
- package/dist/components/d-namespace/project/DNamespaceProject.service.js +0 -11
- package/dist/components/d-namespace/project/DNamespaceProjectCard.d.ts +0 -9
- package/dist/components/d-namespace/project/DNamespaceProjectCard.js +0 -57
- package/dist/components/d-namespace/project/DNamespaceProjectMenu.d.ts +0 -9
- package/dist/components/d-namespace/project/DNamespaceProjectMenu.js +0 -18
- package/dist/components/d-namespace/role/DNamespaceRole.service.d.ts +0 -10
- package/dist/components/d-namespace/role/DNamespaceRole.service.js +0 -11
- /package/dist/assets/{Col.css → components/col/Col.style.css} +0 -0
- /package/dist/assets/{Container.css → components/container/Container.style.css} +0 -0
- /package/dist/assets/{DFullScreen.css → components/d-fullscreen/DFullScreen.style.css} +0 -0
- /package/dist/assets/{Flex.css → components/flex/Flex.style.css} +0 -0
- /package/dist/assets/{Quote.css → components/quote/Quote.style.css} +0 -0
- /package/dist/assets/{Row.css → components/row/Row.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}/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/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/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
- /package/dist/components/{d-namespace/license → d-license}/DNamespaceLicense.view.d.ts +0 -0
- /package/dist/components/{d-namespace/license → d-license}/DNamespaceLicense.view.js +0 -0
|
@@ -0,0 +1,471 @@
|
|
|
1
|
+
import { jsx as ee, Fragment as te } from "react/jsx-runtime";
|
|
2
|
+
import { c as ne } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import re from "react";
|
|
4
|
+
import { s as oe } from "../../_virtual/server.browser.js";
|
|
5
|
+
import { buildDefaultSyntax as se } from "./Input.syntax.hook.js";
|
|
6
|
+
const I = "input__token", j = "input__token--selected", Q = "title", k = "", O = (t) => (t ?? "").split(k).join(""), L = (t) => !!t && t.nodeType === Node.TEXT_NODE && (t.textContent ?? "") === k, U = (t) => {
|
|
7
|
+
try {
|
|
8
|
+
return JSON.stringify(t);
|
|
9
|
+
} catch {
|
|
10
|
+
return JSON.stringify({
|
|
11
|
+
value: String(t ?? "")
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}, ie = (t) => {
|
|
15
|
+
if (!t) return null;
|
|
16
|
+
try {
|
|
17
|
+
return JSON.parse(t);
|
|
18
|
+
} catch {
|
|
19
|
+
return null;
|
|
20
|
+
}
|
|
21
|
+
}, X = (t) => t == null ? "" : typeof t == "string" ? t : U(t), H = (t) => {
|
|
22
|
+
const e = (t.innerHTML ?? "").trim().toLowerCase();
|
|
23
|
+
(e === "<br>" || e === "<br/>" || e === "<br />") && (t.innerHTML = ""), t.childNodes.length === 1 && t.childNodes[0]?.tagName === "BR" && (t.innerHTML = "");
|
|
24
|
+
}, S = (t) => t instanceof HTMLElement && t.classList.contains(I), ae = (t) => {
|
|
25
|
+
let e = t;
|
|
26
|
+
for (; e; ) {
|
|
27
|
+
if (S(e)) return !0;
|
|
28
|
+
e = e.parentNode;
|
|
29
|
+
}
|
|
30
|
+
return !1;
|
|
31
|
+
}, ce = (t) => {
|
|
32
|
+
if (t && typeof t == "object") {
|
|
33
|
+
const {
|
|
34
|
+
children: e,
|
|
35
|
+
__contentHtml: n,
|
|
36
|
+
...r
|
|
37
|
+
} = t;
|
|
38
|
+
return r;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
value: t
|
|
42
|
+
};
|
|
43
|
+
}, P = (t) => ie(t.getAttribute(Q)) ?? {
|
|
44
|
+
value: t.textContent ?? ""
|
|
45
|
+
}, G = (t, e) => {
|
|
46
|
+
const n = document.createElement("span");
|
|
47
|
+
n.setAttribute("contenteditable", "false"), n.className = I;
|
|
48
|
+
const r = ce(t);
|
|
49
|
+
if (n.setAttribute(Q, U(r)), e !== void 0)
|
|
50
|
+
n.innerHTML = e;
|
|
51
|
+
else {
|
|
52
|
+
const i = r?.label ?? r?.value ?? "";
|
|
53
|
+
n.textContent = String(i ?? "");
|
|
54
|
+
}
|
|
55
|
+
return n.style.display = "inline-flex", n.style.alignItems = "center", n.style.verticalAlign = "middle", n.style.userSelect = "text", n.style.webkitUserSelect = "text", n;
|
|
56
|
+
}, K = (t) => {
|
|
57
|
+
const e = window.getSelection();
|
|
58
|
+
if (e && e.rangeCount > 0) {
|
|
59
|
+
const i = e.getRangeAt(0);
|
|
60
|
+
if (t.contains(i.startContainer)) return i;
|
|
61
|
+
}
|
|
62
|
+
const n = document.createRange();
|
|
63
|
+
n.selectNodeContents(t), n.collapse(!1);
|
|
64
|
+
const r = window.getSelection();
|
|
65
|
+
return r?.removeAllRanges(), r?.addRange(n), n;
|
|
66
|
+
}, le = (t, e) => {
|
|
67
|
+
if (!t) return;
|
|
68
|
+
const n = window.getSelection();
|
|
69
|
+
if (!n || n.rangeCount === 0) return;
|
|
70
|
+
const r = n.getRangeAt(0);
|
|
71
|
+
if (!t.contains(r.startContainer)) return;
|
|
72
|
+
r.deleteContents();
|
|
73
|
+
const i = document.createTextNode(e);
|
|
74
|
+
r.insertNode(i);
|
|
75
|
+
const u = document.createRange();
|
|
76
|
+
u.setStartAfter(i), u.collapse(!0), n.removeAllRanges(), n.addRange(u);
|
|
77
|
+
}, de = (t) => {
|
|
78
|
+
if (!t) return [""];
|
|
79
|
+
const e = [], n = (r) => {
|
|
80
|
+
if (r.nodeType === Node.TEXT_NODE) {
|
|
81
|
+
const u = O(r.textContent ?? "");
|
|
82
|
+
u.length && e.push(u);
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
if (r.nodeType !== Node.ELEMENT_NODE) return;
|
|
86
|
+
const i = r;
|
|
87
|
+
if (S(i)) {
|
|
88
|
+
e.push(P(i));
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
Array.from(r.childNodes).forEach(n);
|
|
92
|
+
};
|
|
93
|
+
return Array.from(t.childNodes).forEach(n), e.length ? e.reduce((r, i) => (typeof i == "string" && typeof r[r.length - 1] == "string" ? r[r.length - 1] = `${r[r.length - 1]}${i}` : r.push(i), r), []) : [""];
|
|
94
|
+
}, ue = (t) => t.map((e) => {
|
|
95
|
+
if (typeof e == "string") return e;
|
|
96
|
+
const n = e?.value ?? e;
|
|
97
|
+
return X(n);
|
|
98
|
+
}).join(""), fe = (t) => {
|
|
99
|
+
const {
|
|
100
|
+
children: e,
|
|
101
|
+
__contentHtml: n,
|
|
102
|
+
...r
|
|
103
|
+
} = t;
|
|
104
|
+
return r;
|
|
105
|
+
}, z = (t) => {
|
|
106
|
+
if (!t) return null;
|
|
107
|
+
const e = window.getSelection();
|
|
108
|
+
if (!e || e.rangeCount === 0) return null;
|
|
109
|
+
const n = e.getRangeAt(0);
|
|
110
|
+
if (!t.contains(n.startContainer)) return null;
|
|
111
|
+
const r = n.startContainer, i = n.startOffset;
|
|
112
|
+
let u = null;
|
|
113
|
+
r.nodeType === Node.ELEMENT_NODE && (u = r.childNodes[i] ?? null);
|
|
114
|
+
const N = document.createTreeWalker(t, NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_TEXT, {
|
|
115
|
+
acceptNode: (o) => o.nodeType === Node.TEXT_NODE ? ae(o) || (o.textContent ?? "") === k ? NodeFilter.FILTER_REJECT : NodeFilter.FILTER_ACCEPT : o.nodeType === Node.ELEMENT_NODE && S(o) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP
|
|
116
|
+
});
|
|
117
|
+
let f = null, d = N.nextNode();
|
|
118
|
+
for (; d && !(u && d === u); ) {
|
|
119
|
+
if (d === r && d.nodeType === Node.TEXT_NODE) {
|
|
120
|
+
const o = d.textContent?.slice(0, i) ?? "", s = [...O(o).matchAll(/\S+/g)], a = s[s.length - 1];
|
|
121
|
+
if (a && a.index !== void 0) {
|
|
122
|
+
const m = a.index, g = m + a[0].length, h = document.createRange();
|
|
123
|
+
h.setStart(d, Math.min(m, o.length)), h.setEnd(d, Math.min(g, o.length)), f = {
|
|
124
|
+
token: a[0],
|
|
125
|
+
range: h
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
break;
|
|
129
|
+
}
|
|
130
|
+
if (S(d)) {
|
|
131
|
+
f = null, d = N.nextNode();
|
|
132
|
+
continue;
|
|
133
|
+
}
|
|
134
|
+
if (d.nodeType === Node.TEXT_NODE) {
|
|
135
|
+
const o = d.textContent ?? "", s = [...O(o).matchAll(/\S+/g)], a = s[s.length - 1];
|
|
136
|
+
if (a && a.index !== void 0) {
|
|
137
|
+
const m = a.index, g = m + a[0].length, h = document.createRange();
|
|
138
|
+
h.setStart(d, Math.min(m, o.length)), h.setEnd(d, Math.min(g, o.length)), f = {
|
|
139
|
+
token: a[0],
|
|
140
|
+
range: h
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
d = N.nextNode();
|
|
145
|
+
}
|
|
146
|
+
return f;
|
|
147
|
+
}, ge = (t) => {
|
|
148
|
+
const e = window.getSelection();
|
|
149
|
+
if (!e || e.rangeCount === 0) return null;
|
|
150
|
+
const n = e.getRangeAt(0);
|
|
151
|
+
if (!t.contains(n.startContainer) || !t.contains(n.endContainer)) return null;
|
|
152
|
+
const r = (f) => {
|
|
153
|
+
if (f.nodeType === Node.TEXT_NODE) return O(f.textContent ?? "").length;
|
|
154
|
+
if (f.nodeType === Node.ELEMENT_NODE) {
|
|
155
|
+
const d = f;
|
|
156
|
+
if (S(d)) {
|
|
157
|
+
const c = P(d);
|
|
158
|
+
return String(c?.value ?? "").length;
|
|
159
|
+
}
|
|
160
|
+
let o = 0;
|
|
161
|
+
return Array.from(f.childNodes).forEach((c) => o += r(c)), o;
|
|
162
|
+
}
|
|
163
|
+
return 0;
|
|
164
|
+
}, i = (f, d) => {
|
|
165
|
+
let o = 0;
|
|
166
|
+
const c = (s) => {
|
|
167
|
+
if (s === f) {
|
|
168
|
+
if (s.nodeType === Node.TEXT_NODE)
|
|
169
|
+
return o += O(s.textContent ?? "").slice(0, d).length, !0;
|
|
170
|
+
if (s.nodeType === Node.ELEMENT_NODE) {
|
|
171
|
+
const a = Array.from(s.childNodes), m = Math.max(0, Math.min(d, a.length));
|
|
172
|
+
for (let g = 0; g < m; g++) o += r(a[g]);
|
|
173
|
+
return !0;
|
|
174
|
+
}
|
|
175
|
+
return !0;
|
|
176
|
+
}
|
|
177
|
+
if (s.nodeType === Node.TEXT_NODE)
|
|
178
|
+
return o += O(s.textContent ?? "").length, !1;
|
|
179
|
+
if (s.nodeType === Node.ELEMENT_NODE) {
|
|
180
|
+
const a = s;
|
|
181
|
+
if (S(a)) {
|
|
182
|
+
const m = P(a);
|
|
183
|
+
return o += String(m?.value ?? "").length, !1;
|
|
184
|
+
}
|
|
185
|
+
for (const m of Array.from(s.childNodes))
|
|
186
|
+
if (c(m)) return !0;
|
|
187
|
+
}
|
|
188
|
+
return !1;
|
|
189
|
+
};
|
|
190
|
+
return c(t), o;
|
|
191
|
+
}, u = i(n.startContainer, n.startOffset), N = i(n.endContainer, n.endOffset);
|
|
192
|
+
return {
|
|
193
|
+
start: Math.min(u, N),
|
|
194
|
+
end: Math.max(u, N)
|
|
195
|
+
};
|
|
196
|
+
}, pe = (t, e, n) => {
|
|
197
|
+
const r = (s) => Math.max(0, s), i = r(e), u = r(n), N = (s) => {
|
|
198
|
+
let a = s;
|
|
199
|
+
const m = (g) => {
|
|
200
|
+
if (g.nodeType === Node.TEXT_NODE) {
|
|
201
|
+
const h = g.textContent ?? "", y = O(h).length;
|
|
202
|
+
return a <= y ? {
|
|
203
|
+
node: g,
|
|
204
|
+
offset: Math.min(a, h.length)
|
|
205
|
+
} : (a -= y, null);
|
|
206
|
+
}
|
|
207
|
+
if (g.nodeType === Node.ELEMENT_NODE) {
|
|
208
|
+
const h = g;
|
|
209
|
+
if (S(h)) {
|
|
210
|
+
const y = P(h), x = String(y?.value ?? "").length, w = h.parentNode ?? t, D = Array.from(w.childNodes).indexOf(h);
|
|
211
|
+
return a <= 0 ? {
|
|
212
|
+
node: w,
|
|
213
|
+
offset: D
|
|
214
|
+
} : a < x ? {
|
|
215
|
+
node: w,
|
|
216
|
+
offset: D + 1
|
|
217
|
+
} : (a -= x, null);
|
|
218
|
+
}
|
|
219
|
+
for (const y of Array.from(g.childNodes)) {
|
|
220
|
+
const x = m(y);
|
|
221
|
+
if (x) return x;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
return null;
|
|
225
|
+
};
|
|
226
|
+
return m(t) ?? {
|
|
227
|
+
node: t,
|
|
228
|
+
offset: t.childNodes.length
|
|
229
|
+
};
|
|
230
|
+
}, f = N(i), d = N(u), o = window.getSelection();
|
|
231
|
+
if (!o) return;
|
|
232
|
+
const c = document.createRange();
|
|
233
|
+
try {
|
|
234
|
+
c.setStart(f.node, f.offset), c.setEnd(d.node, d.offset);
|
|
235
|
+
} catch {
|
|
236
|
+
c.selectNodeContents(t), c.collapse(!1);
|
|
237
|
+
}
|
|
238
|
+
o.removeAllRanges(), o.addRange(c);
|
|
239
|
+
}, he = (t, e, n) => {
|
|
240
|
+
const r = window.getSelection();
|
|
241
|
+
if (!r || typeof r.modify != "function" || !t.contains(r.focusNode) || !t.contains(r.anchorNode)) return !1;
|
|
242
|
+
const i = n === "right" ? "forward" : "backward";
|
|
243
|
+
try {
|
|
244
|
+
return r.modify(e, i, "character"), L(r.focusNode) && r.modify(e, i, "character"), !0;
|
|
245
|
+
} catch {
|
|
246
|
+
return !1;
|
|
247
|
+
}
|
|
248
|
+
}, me = (t) => {
|
|
249
|
+
const e = window.getSelection();
|
|
250
|
+
if (!e || e.rangeCount === 0) return null;
|
|
251
|
+
const n = e.getRangeAt(0);
|
|
252
|
+
return !t.contains(n.startContainer) || !t.contains(n.endContainer) ? null : n;
|
|
253
|
+
}, Ne = (t) => {
|
|
254
|
+
const e = t.parentNode;
|
|
255
|
+
return e ? Array.from(e.childNodes).indexOf(t) : -1;
|
|
256
|
+
}, Te = (t) => {
|
|
257
|
+
const e = t.startContainer, n = t.startOffset;
|
|
258
|
+
if (e.nodeType === Node.ELEMENT_NODE) return {
|
|
259
|
+
parent: e,
|
|
260
|
+
index: n
|
|
261
|
+
};
|
|
262
|
+
if (e.nodeType === Node.TEXT_NODE) {
|
|
263
|
+
const r = e, i = r.textContent ?? "", u = Ne(r);
|
|
264
|
+
return u < 0 || !r.parentNode ? null : i === k ? {
|
|
265
|
+
parent: r.parentNode,
|
|
266
|
+
index: u + (n > 0 ? 1 : 0)
|
|
267
|
+
} : n === 0 ? {
|
|
268
|
+
parent: r.parentNode,
|
|
269
|
+
index: u
|
|
270
|
+
} : n === i.length ? {
|
|
271
|
+
parent: r.parentNode,
|
|
272
|
+
index: u + 1
|
|
273
|
+
} : null;
|
|
274
|
+
}
|
|
275
|
+
return null;
|
|
276
|
+
}, J = (t, e) => {
|
|
277
|
+
const n = window.getSelection();
|
|
278
|
+
if (!n) return;
|
|
279
|
+
const r = document.createRange();
|
|
280
|
+
r.setStart(t, e), r.collapse(!0), n.removeAllRanges(), n.addRange(r);
|
|
281
|
+
}, W = (t, e) => {
|
|
282
|
+
const n = t.childNodes[e - 1];
|
|
283
|
+
n && L(n) && t.removeChild(n);
|
|
284
|
+
const r = Math.max(0, Math.min(e, t.childNodes.length - 1)), i = t.childNodes[r + 1];
|
|
285
|
+
i && L(i) && t.removeChild(i);
|
|
286
|
+
}, ye = (t, e) => {
|
|
287
|
+
const n = me(t);
|
|
288
|
+
if (!n || !n.collapsed) return !1;
|
|
289
|
+
const r = Te(n);
|
|
290
|
+
if (!r) return !1;
|
|
291
|
+
const i = r.parent, u = i.childNodes, N = (c) => {
|
|
292
|
+
let s = c;
|
|
293
|
+
for (; s > 0 && L(u[s - 1]); ) s--;
|
|
294
|
+
return s;
|
|
295
|
+
}, f = (c) => {
|
|
296
|
+
let s = c;
|
|
297
|
+
for (; s < u.length && L(u[s]); ) s++;
|
|
298
|
+
return s;
|
|
299
|
+
};
|
|
300
|
+
if (e === "backspace") {
|
|
301
|
+
const c = N(r.index), s = c > 0 ? u[c - 1] : null;
|
|
302
|
+
if (s && S(s)) {
|
|
303
|
+
const a = c - 1;
|
|
304
|
+
return i.removeChild(s), W(i, a), J(i, Math.max(0, Math.min(a, i.childNodes.length))), !0;
|
|
305
|
+
}
|
|
306
|
+
return !1;
|
|
307
|
+
}
|
|
308
|
+
const d = f(r.index), o = u[d] ?? null;
|
|
309
|
+
if (o && S(o)) {
|
|
310
|
+
const c = d;
|
|
311
|
+
return i.removeChild(o), W(i, c), J(i, Math.max(0, Math.min(c, i.childNodes.length))), !0;
|
|
312
|
+
}
|
|
313
|
+
return !1;
|
|
314
|
+
}, $ = (t) => {
|
|
315
|
+
t.querySelectorAll(`.${I}`).forEach((r) => r.classList.remove(j));
|
|
316
|
+
const e = window.getSelection();
|
|
317
|
+
if (!e || e.rangeCount === 0) return;
|
|
318
|
+
const n = e.getRangeAt(0);
|
|
319
|
+
!t.contains(n.startContainer) || !t.contains(n.endContainer) || t.querySelectorAll(`.${I}`).forEach((r) => {
|
|
320
|
+
try {
|
|
321
|
+
n.intersectsNode(r) && r.classList.add(j);
|
|
322
|
+
} catch {
|
|
323
|
+
}
|
|
324
|
+
});
|
|
325
|
+
}, q = (t, e, n, r) => {
|
|
326
|
+
H(t);
|
|
327
|
+
const i = (n ?? []).filter(Boolean).filter((o) => o && (o.type === "text" || o.type === "block") && Number.isFinite(o.start) && Number.isFinite(o.end) && o.start <= o.end), u = i.length ? i : se(e), N = r.filter((o) => typeof o != "string"), f = document.createDocumentFragment(), d = () => {
|
|
328
|
+
const o = f.lastChild;
|
|
329
|
+
o?.nodeType === Node.TEXT_NODE && (o.textContent ?? "") === k || f.appendChild(document.createTextNode(k));
|
|
330
|
+
};
|
|
331
|
+
u.forEach((o) => {
|
|
332
|
+
if (!o || !o.type) return;
|
|
333
|
+
const c = o.value ?? e.slice(o.start, o.end);
|
|
334
|
+
if (o.type === "text") {
|
|
335
|
+
const g = typeof o.content == "string" ? o.content : typeof c == "string" ? c : e.slice(o.start, o.end);
|
|
336
|
+
g?.length && f.appendChild(document.createTextNode(g));
|
|
337
|
+
return;
|
|
338
|
+
}
|
|
339
|
+
const s = X(c);
|
|
340
|
+
let a;
|
|
341
|
+
if (N.length) {
|
|
342
|
+
const g = N[0], h = X(g?.value ?? g);
|
|
343
|
+
(s === "" || h === s) && (a = g, N.shift());
|
|
344
|
+
}
|
|
345
|
+
a || (a = {
|
|
346
|
+
value: c
|
|
347
|
+
});
|
|
348
|
+
const m = o.content && typeof o.content != "string" ? oe.renderToStaticMarkup(/* @__PURE__ */ ee(te, { children: o.content })) : void 0;
|
|
349
|
+
d(), f.appendChild(G(a, m)), d();
|
|
350
|
+
}), t.innerHTML = "", t.appendChild(f), H(t);
|
|
351
|
+
}, Ae = (t) => {
|
|
352
|
+
const e = ne.c(28), {
|
|
353
|
+
editorRef: n,
|
|
354
|
+
transformSyntax: r,
|
|
355
|
+
filterSuggestionsByLastToken: i,
|
|
356
|
+
onLastTokenChange: u,
|
|
357
|
+
onStateChange: N
|
|
358
|
+
} = t, f = i === void 0 ? !1 : i, [d, o] = re.useState("");
|
|
359
|
+
let c;
|
|
360
|
+
e[0] !== f || e[1] !== u || e[2] !== N || e[3] !== r ? (c = (l) => {
|
|
361
|
+
if (!l)
|
|
362
|
+
return;
|
|
363
|
+
H(l);
|
|
364
|
+
const p = ge(l), T = de(l), R = ue(T), C = T.filter(Ee);
|
|
365
|
+
f && u?.(z(l)?.token ?? null);
|
|
366
|
+
let M = null;
|
|
367
|
+
r && (M = r(R, T), q(l, R, M, T)), p ? pe(l, p.start, p.end) : K(l), $(l);
|
|
368
|
+
const A = l.innerHTML ?? "";
|
|
369
|
+
o((v) => v === A ? v : A), N?.({
|
|
370
|
+
value: R,
|
|
371
|
+
tokens: C,
|
|
372
|
+
segments: M
|
|
373
|
+
});
|
|
374
|
+
}, e[0] = f, e[1] = u, e[2] = N, e[3] = r, e[4] = c) : c = e[4];
|
|
375
|
+
const s = c;
|
|
376
|
+
let a;
|
|
377
|
+
e[5] !== r ? (a = (l) => {
|
|
378
|
+
const p = document.createElement("div"), T = [], R = r ? r(l, T) : null;
|
|
379
|
+
q(p, l, R, T);
|
|
380
|
+
const C = p.innerHTML ?? "";
|
|
381
|
+
return o(C), C;
|
|
382
|
+
}, e[5] = r, e[6] = a) : a = e[6];
|
|
383
|
+
const m = a;
|
|
384
|
+
let g;
|
|
385
|
+
e[7] !== n || e[8] !== f || e[9] !== s ? (g = (l) => {
|
|
386
|
+
const p = n.current;
|
|
387
|
+
if (!p)
|
|
388
|
+
return;
|
|
389
|
+
H(p), p.focus({
|
|
390
|
+
preventScroll: !0
|
|
391
|
+
});
|
|
392
|
+
const T = l.insertMode ?? "replace", C = (() => {
|
|
393
|
+
const E = document.createRange();
|
|
394
|
+
switch (T) {
|
|
395
|
+
case "append":
|
|
396
|
+
return E.selectNodeContents(p), E.collapse(!1), E;
|
|
397
|
+
case "prepend":
|
|
398
|
+
return E.selectNodeContents(p), E.collapse(!0), E;
|
|
399
|
+
case "replace":
|
|
400
|
+
return E.selectNodeContents(p), E;
|
|
401
|
+
case "insert":
|
|
402
|
+
default:
|
|
403
|
+
return K(p);
|
|
404
|
+
}
|
|
405
|
+
})(), M = fe(l);
|
|
406
|
+
if (f && T !== "replace") {
|
|
407
|
+
const E = z(p);
|
|
408
|
+
E ? E.range.deleteContents() : C.deleteContents();
|
|
409
|
+
} else
|
|
410
|
+
C.deleteContents();
|
|
411
|
+
const A = G(M), v = document.createTextNode(k), B = document.createTextNode(k);
|
|
412
|
+
C.insertNode(v), C.insertNode(A), A.parentNode?.insertBefore(B, A.nextSibling ?? null);
|
|
413
|
+
const Z = window.getSelection(), F = document.createRange();
|
|
414
|
+
try {
|
|
415
|
+
F.setStart(B, 1);
|
|
416
|
+
} catch {
|
|
417
|
+
F.setStartAfter(A);
|
|
418
|
+
}
|
|
419
|
+
F.collapse(!0), Z?.removeAllRanges(), Z?.addRange(F), s(p);
|
|
420
|
+
}, e[7] = n, e[8] = f, e[9] = s, e[10] = g) : g = e[10];
|
|
421
|
+
const h = g;
|
|
422
|
+
let y;
|
|
423
|
+
e[11] !== n || e[12] !== s ? (y = (l) => {
|
|
424
|
+
l.preventDefault();
|
|
425
|
+
const p = l.clipboardData.getData("text/plain");
|
|
426
|
+
le(n.current, p), s(n.current);
|
|
427
|
+
}, e[11] = n, e[12] = s, e[13] = y) : y = e[13];
|
|
428
|
+
const x = y;
|
|
429
|
+
let w;
|
|
430
|
+
e[14] !== n || e[15] !== s ? (w = (l) => {
|
|
431
|
+
s(n.current);
|
|
432
|
+
}, e[14] = n, e[15] = s, e[16] = w) : w = e[16];
|
|
433
|
+
const D = w, Y = xe;
|
|
434
|
+
let _;
|
|
435
|
+
e[17] !== n || e[18] !== s ? (_ = (l) => {
|
|
436
|
+
const p = n.current;
|
|
437
|
+
if (!p || document.activeElement !== p)
|
|
438
|
+
return !1;
|
|
439
|
+
if ((l.key === "Backspace" || l.key === "Delete") && ye(p, l.key === "Backspace" ? "backspace" : "delete"))
|
|
440
|
+
return l.preventDefault(), l.stopPropagation(), s(p), !0;
|
|
441
|
+
if (l.key === "ArrowLeft" || l.key === "ArrowRight") {
|
|
442
|
+
const T = l.key === "ArrowLeft" ? "left" : "right";
|
|
443
|
+
if (he(p, l.shiftKey ? "extend" : "move", T))
|
|
444
|
+
return l.preventDefault(), l.stopPropagation(), $(p), !0;
|
|
445
|
+
}
|
|
446
|
+
return l.key === "Enter" ? (l.preventDefault(), !0) : !1;
|
|
447
|
+
}, e[17] = n, e[18] = s, e[19] = _) : _ = e[19];
|
|
448
|
+
const V = _;
|
|
449
|
+
let b;
|
|
450
|
+
return e[20] !== h || e[21] !== d || e[22] !== D || e[23] !== V || e[24] !== x || e[25] !== m || e[26] !== s ? (b = {
|
|
451
|
+
editorHtml: d,
|
|
452
|
+
setEditorHtml: o,
|
|
453
|
+
initializeFromExternalValue: m,
|
|
454
|
+
updateEditorState: s,
|
|
455
|
+
applySuggestionValueSyntax: h,
|
|
456
|
+
handlePaste: x,
|
|
457
|
+
handleChange: D,
|
|
458
|
+
handleKeyDownCapture: Y,
|
|
459
|
+
handleKeyDown: V
|
|
460
|
+
}, e[20] = h, e[21] = d, e[22] = D, e[23] = V, e[24] = x, e[25] = m, e[26] = s, e[27] = b) : b = e[27], b;
|
|
461
|
+
};
|
|
462
|
+
function Ee(t) {
|
|
463
|
+
return typeof t != "string";
|
|
464
|
+
}
|
|
465
|
+
function xe(t) {
|
|
466
|
+
(t.key === " " || t.code === "Space") && (t.stopPropagation(), t.nativeEvent?.stopImmediatePropagation?.());
|
|
467
|
+
}
|
|
468
|
+
export {
|
|
469
|
+
de as serializeEditorParts,
|
|
470
|
+
Ae as useContentEditableController
|
|
471
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as c, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "../../compiler-runtime
|
|
2
|
+
import { c as m } from "../../_virtual/compiler-runtime.js";
|
|
3
3
|
import { IconExclamationCircle as n } from "@tabler/icons-react";
|
|
4
4
|
const f = (r) => {
|
|
5
5
|
const e = m.c(3), {
|
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
import { MenuContentProps } from '../menu/Menu';
|
|
2
|
-
import { default as React } from 'react';
|
|
2
|
+
import { default as React, RefObject } from 'react';
|
|
3
3
|
export interface InputSuggestion {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
value: any;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
valueData?: any;
|
|
7
|
+
groupBy?: string;
|
|
8
|
+
insertMode?: "replace" | "append" | "prepend" | "insert";
|
|
8
9
|
}
|
|
9
|
-
export type InputSuggestionMenuContentProps = MenuContentProps
|
|
10
|
+
export type InputSuggestionMenuContentProps = MenuContentProps & {
|
|
11
|
+
inputRef?: RefObject<HTMLInputElement>;
|
|
12
|
+
};
|
|
10
13
|
export interface InputSuggestionMenuContentItemsProps {
|
|
11
14
|
suggestions?: InputSuggestion[];
|
|
12
15
|
onSuggestionSelect?: (suggestion: InputSuggestion) => void;
|
|
16
|
+
inputRef?: RefObject<HTMLInputElement>;
|
|
13
17
|
}
|
|
14
18
|
export interface InputSuggestionMenuContentItemsHandle {
|
|
15
|
-
focusFirstItem: () =>
|
|
16
|
-
focusLastItem: () =>
|
|
19
|
+
focusFirstItem: () => InputSuggestion | undefined;
|
|
20
|
+
focusLastItem: () => InputSuggestion | undefined;
|
|
21
|
+
highlightNextItem: () => InputSuggestion | undefined;
|
|
22
|
+
highlightPreviousItem: () => InputSuggestion | undefined;
|
|
23
|
+
selectActiveItem: () => InputSuggestion | undefined;
|
|
24
|
+
clearActiveItem: () => void;
|
|
17
25
|
}
|
|
18
|
-
export declare const InputSuggestionMenuContent: React.
|
|
19
|
-
export declare const InputSuggestionMenuContentItems: React.
|
|
26
|
+
export declare const InputSuggestionMenuContent: React.NamedExoticComponent<InputSuggestionMenuContentProps>;
|
|
27
|
+
export declare const InputSuggestionMenuContentItems: React.NamedExoticComponent<InputSuggestionMenuContentItemsProps>;
|