@code0-tech/pictor 0.0.0-mvp.3 → 0.0.0-mvp.30
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
|
@@ -1,39 +1,46 @@
|
|
|
1
|
-
import { useState as
|
|
2
|
-
function
|
|
3
|
-
return (t =
|
|
1
|
+
import { useState as b, useRef as p, useEffect as y, useCallback as d, useMemo as P } from "react";
|
|
2
|
+
function c(r, t, e) {
|
|
3
|
+
return (t = w(t)) in r ? Object.defineProperty(r, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = e, r;
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
var t =
|
|
5
|
+
function w(r) {
|
|
6
|
+
var t = S(r, "string");
|
|
7
7
|
return typeof t == "symbol" ? t : t + "";
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
if (typeof
|
|
11
|
-
var
|
|
12
|
-
if (
|
|
13
|
-
var n =
|
|
9
|
+
function S(r, t) {
|
|
10
|
+
if (typeof r != "object" || !r) return r;
|
|
11
|
+
var e = r[Symbol.toPrimitive];
|
|
12
|
+
if (e !== void 0) {
|
|
13
|
+
var n = e.call(r, t);
|
|
14
14
|
if (typeof n != "object") return n;
|
|
15
15
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
16
16
|
}
|
|
17
|
-
return (t === "string" ? String : Number)(
|
|
17
|
+
return (t === "string" ? String : Number)(r);
|
|
18
18
|
}
|
|
19
|
-
class
|
|
20
|
-
constructor(t,
|
|
21
|
-
|
|
19
|
+
class f {
|
|
20
|
+
constructor(t, e, n) {
|
|
21
|
+
c(this, "changeValue", void 0), c(this, "currentValues", void 0), c(this, "currentValidations", void 0), this.changeValue = t, this.currentValues = e, this.currentValidations = n;
|
|
22
|
+
}
|
|
23
|
+
isValid() {
|
|
24
|
+
if (!this.currentValidations) return !0;
|
|
25
|
+
for (const t in this.currentValidations) {
|
|
26
|
+
const e = this.currentValidations[t];
|
|
27
|
+
if (e && e(this.currentValues[t], this.currentValues) !== null)
|
|
28
|
+
return !1;
|
|
29
|
+
}
|
|
30
|
+
return !0;
|
|
22
31
|
}
|
|
23
32
|
getInputProps(t) {
|
|
24
|
-
const
|
|
33
|
+
const e = this.currentValues[t], n = e ?? null, u = t, a = (this.currentValidations && this.currentValidations[t] ? this.currentValidations[t] : (i) => null)(e, this.currentValues);
|
|
25
34
|
return {
|
|
26
|
-
|
|
35
|
+
// @ts-ignore – z.B. wenn dein Input `defaultValue` kennt
|
|
36
|
+
defaultValue: n,
|
|
37
|
+
initialValue: n,
|
|
27
38
|
formValidation: {
|
|
28
|
-
setValue: (
|
|
29
|
-
this.changeValue(
|
|
39
|
+
setValue: (i) => {
|
|
40
|
+
this.changeValue(u, i);
|
|
30
41
|
},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} : {
|
|
34
|
-
notValidMessage: u,
|
|
35
|
-
valid: u === null ? !0 : !u
|
|
36
|
-
}
|
|
42
|
+
notValidMessage: a,
|
|
43
|
+
valid: a === null
|
|
37
44
|
},
|
|
38
45
|
...this.currentValidations && this.currentValidations[t] ? {
|
|
39
46
|
required: !0
|
|
@@ -41,17 +48,30 @@ class d {
|
|
|
41
48
|
};
|
|
42
49
|
}
|
|
43
50
|
}
|
|
44
|
-
const
|
|
51
|
+
const _ = (r) => {
|
|
45
52
|
const {
|
|
46
53
|
initialValues: t,
|
|
47
|
-
validate:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
validate: e = {},
|
|
55
|
+
truthyValidationBeforeSubmit: n = !0,
|
|
56
|
+
onSubmit: u
|
|
57
|
+
} = r, [o, a] = b(t), i = p(t);
|
|
58
|
+
y(() => {
|
|
59
|
+
a(t), i.current = t;
|
|
60
|
+
}, [t]);
|
|
61
|
+
const s = d((l, m) => {
|
|
62
|
+
a((g) => {
|
|
63
|
+
const V = {
|
|
64
|
+
...g,
|
|
65
|
+
[l]: m
|
|
66
|
+
};
|
|
67
|
+
return i.current = V, V;
|
|
68
|
+
});
|
|
69
|
+
}, []), h = P(() => new f(s, o, e), [s, o, e]), v = d(() => {
|
|
70
|
+
const l = new f(s, i.current, e);
|
|
71
|
+
u && (!n || l.isValid()) && u(i.current);
|
|
72
|
+
}, [s, e, u, n]);
|
|
73
|
+
return [h, v];
|
|
54
74
|
};
|
|
55
75
|
export {
|
|
56
|
-
|
|
76
|
+
_ as useForm
|
|
57
77
|
};
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Code0ComponentProps } from '../../utils/types';
|
|
2
|
+
import { Code0ComponentProps, Color } from '../../utils/types';
|
|
3
3
|
import { DropdownMenuArrowProps, DropdownMenuContentProps, DropdownMenuGroupProps, DropdownMenuItemProps, DropdownMenuLabelProps, DropdownMenuPortalProps, DropdownMenuProps, DropdownMenuSeparatorProps, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTriggerProps, DropdownMenuTriggerProps } from '@radix-ui/react-dropdown-menu';
|
|
4
4
|
export type MenuProps = Code0ComponentProps & DropdownMenuProps;
|
|
5
5
|
export type MenuTriggerProps = Code0ComponentProps & DropdownMenuTriggerProps;
|
|
6
6
|
export type MenuPortalProps = Code0ComponentProps & DropdownMenuPortalProps;
|
|
7
|
-
export type MenuContentProps = Code0ComponentProps & DropdownMenuContentProps
|
|
7
|
+
export type MenuContentProps = Code0ComponentProps & DropdownMenuContentProps & {
|
|
8
|
+
color?: Color;
|
|
9
|
+
};
|
|
8
10
|
export type MenuLabelProps = Code0ComponentProps & DropdownMenuLabelProps;
|
|
9
11
|
export type MenuItemProps = Code0ComponentProps & DropdownMenuItemProps;
|
|
10
12
|
export type MenuGroupProps = Code0ComponentProps & DropdownMenuGroupProps;
|
|
11
13
|
export type MenuSubProps = Code0ComponentProps & DropdownMenuSubProps;
|
|
12
14
|
export type MenuSubTriggerProps = Code0ComponentProps & DropdownMenuSubTriggerProps;
|
|
13
|
-
export type MenuSubContentProps = Code0ComponentProps & DropdownMenuSubContentProps
|
|
15
|
+
export type MenuSubContentProps = Code0ComponentProps & DropdownMenuSubContentProps & {
|
|
16
|
+
color?: Color;
|
|
17
|
+
};
|
|
14
18
|
export type MenuSeparatorProps = Code0ComponentProps & DropdownMenuSeparatorProps;
|
|
15
19
|
export type MenuArrowProps = Code0ComponentProps & DropdownMenuArrowProps;
|
|
16
20
|
export declare const Menu: React.FC<MenuProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "../../compiler-runtime
|
|
3
|
-
import '../../assets/Menu.css';/* empty css
|
|
2
|
+
import { c } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import '../../assets/components/menu/Menu.style.css';/* empty css */
|
|
4
4
|
import { mergeCode0Props as r } from "../../utils/utils.js";
|
|
5
|
-
import {
|
|
5
|
+
import { DropdownMenuItem as m, DropdownMenuContent as f, DropdownMenuLabel as _, DropdownMenu as M, DropdownMenuTrigger as a, DropdownMenuPortal as g, DropdownMenuGroup as w, DropdownMenuSub as $, DropdownMenuSubTrigger as b, DropdownMenuSubContent as d, DropdownMenuSeparator as D, DropdownMenuArrow as S } from "@radix-ui/react-dropdown-menu";
|
|
6
6
|
const A = (o) => {
|
|
7
7
|
const e = c.c(4);
|
|
8
8
|
let n;
|
|
@@ -16,28 +16,28 @@ const A = (o) => {
|
|
|
16
16
|
e[0] !== o ? (n = r("menu__trigger", o), e[0] = o, e[1] = n) : n = e[1];
|
|
17
17
|
const u = n;
|
|
18
18
|
let t;
|
|
19
|
-
return e[2] !== u ? (t = /* @__PURE__ */ l(
|
|
19
|
+
return e[2] !== u ? (t = /* @__PURE__ */ l(a, { ...u }), e[2] = u, e[3] = t) : t = e[3], t;
|
|
20
20
|
}, I = (o) => {
|
|
21
21
|
const e = c.c(4);
|
|
22
22
|
let n;
|
|
23
23
|
e[0] !== o ? (n = r("menu__portal", o), e[0] = o, e[1] = n) : n = e[1];
|
|
24
24
|
const u = n;
|
|
25
25
|
let t;
|
|
26
|
-
return e[2] !== u ? (t = /* @__PURE__ */ l(
|
|
26
|
+
return e[2] !== u ? (t = /* @__PURE__ */ l(g, { ...u }), e[2] = u, e[3] = t) : t = e[3], t;
|
|
27
27
|
}, L = (o) => {
|
|
28
|
-
const e = c.c(
|
|
29
|
-
let
|
|
30
|
-
e[0] !== o ? (
|
|
31
|
-
const
|
|
32
|
-
let
|
|
33
|
-
return e[
|
|
28
|
+
const e = c.c(6), n = o.align, u = `menu__content menu__content--${o.color ?? "primary"}`;
|
|
29
|
+
let t;
|
|
30
|
+
e[0] !== o || e[1] !== u ? (t = r(u, o), e[0] = o, e[1] = u, e[2] = t) : t = e[2];
|
|
31
|
+
const i = t;
|
|
32
|
+
let s;
|
|
33
|
+
return e[3] !== o.align || e[4] !== i ? (s = /* @__PURE__ */ l(f, { align: n, ...i }), e[3] = o.align, e[4] = i, e[5] = s) : s = e[5], s;
|
|
34
34
|
}, j = (o) => {
|
|
35
35
|
const e = c.c(4);
|
|
36
36
|
let n;
|
|
37
37
|
e[0] !== o ? (n = r("menu__label", o), e[0] = o, e[1] = n) : n = e[1];
|
|
38
38
|
const u = n;
|
|
39
39
|
let t;
|
|
40
|
-
return e[2] !== u ? (t = /* @__PURE__ */ l(
|
|
40
|
+
return e[2] !== u ? (t = /* @__PURE__ */ l(_, { ...u }), e[2] = u, e[3] = t) : t = e[3], t;
|
|
41
41
|
}, E = (o) => {
|
|
42
42
|
const e = c.c(4);
|
|
43
43
|
let n;
|
|
@@ -51,28 +51,28 @@ const A = (o) => {
|
|
|
51
51
|
e[0] !== o ? (n = r("menu__group", o), e[0] = o, e[1] = n) : n = e[1];
|
|
52
52
|
const u = n;
|
|
53
53
|
let t;
|
|
54
|
-
return e[2] !== u ? (t = /* @__PURE__ */ l(
|
|
54
|
+
return e[2] !== u ? (t = /* @__PURE__ */ l(w, { ...u }), e[2] = u, e[3] = t) : t = e[3], t;
|
|
55
55
|
}, h = (o) => {
|
|
56
56
|
const e = c.c(4);
|
|
57
57
|
let n;
|
|
58
58
|
e[0] !== o ? (n = r("menu__sub", o), e[0] = o, e[1] = n) : n = e[1];
|
|
59
59
|
const u = n;
|
|
60
60
|
let t;
|
|
61
|
-
return e[2] !== u ? (t = /* @__PURE__ */ l(
|
|
61
|
+
return e[2] !== u ? (t = /* @__PURE__ */ l($, { ...u }), e[2] = u, e[3] = t) : t = e[3], t;
|
|
62
62
|
}, k = (o) => {
|
|
63
63
|
const e = c.c(4);
|
|
64
64
|
let n;
|
|
65
65
|
e[0] !== o ? (n = r("menu__sub-trigger", o), e[0] = o, e[1] = n) : n = e[1];
|
|
66
66
|
const u = n;
|
|
67
67
|
let t;
|
|
68
|
-
return e[2] !== u ? (t = /* @__PURE__ */ l(d, { ...u }), e[2] = u, e[3] = t) : t = e[3], t;
|
|
69
|
-
}, q = (o) => {
|
|
70
|
-
const e = c.c(4);
|
|
71
|
-
let n;
|
|
72
|
-
e[0] !== o ? (n = r("menu__sub-content", o), e[0] = o, e[1] = n) : n = e[1];
|
|
73
|
-
const u = n;
|
|
74
|
-
let t;
|
|
75
68
|
return e[2] !== u ? (t = /* @__PURE__ */ l(b, { ...u }), e[2] = u, e[3] = t) : t = e[3], t;
|
|
69
|
+
}, q = (o) => {
|
|
70
|
+
const e = c.c(5), n = `menu__sub-content menu__sub-content--${o.color ?? "primary"}`;
|
|
71
|
+
let u;
|
|
72
|
+
e[0] !== o || e[1] !== n ? (u = r(n, o), e[0] = o, e[1] = n, e[2] = u) : u = e[2];
|
|
73
|
+
const t = u;
|
|
74
|
+
let i;
|
|
75
|
+
return e[3] !== t ? (i = /* @__PURE__ */ l(d, { ...t }), e[3] = t, e[4] = i) : i = e[4], i;
|
|
76
76
|
}, v = (o) => {
|
|
77
77
|
const e = c.c(4);
|
|
78
78
|
let n;
|
|
@@ -80,17 +80,17 @@ const A = (o) => {
|
|
|
80
80
|
const u = n;
|
|
81
81
|
let t;
|
|
82
82
|
return e[2] !== u ? (t = /* @__PURE__ */ l(D, { ...u }), e[2] = u, e[3] = t) : t = e[3], t;
|
|
83
|
-
},
|
|
83
|
+
}, z = (o) => {
|
|
84
84
|
const e = c.c(4);
|
|
85
85
|
let n;
|
|
86
86
|
e[0] !== o ? (n = r("menu__arrow", o), e[0] = o, e[1] = n) : n = e[1];
|
|
87
87
|
const u = n;
|
|
88
88
|
let t;
|
|
89
|
-
return e[2] !== u ? (t = /* @__PURE__ */ l(
|
|
89
|
+
return e[2] !== u ? (t = /* @__PURE__ */ l(S, { ...u }), e[2] = u, e[3] = t) : t = e[3], t;
|
|
90
90
|
};
|
|
91
91
|
export {
|
|
92
92
|
A as Menu,
|
|
93
|
-
|
|
93
|
+
z as MenuArrow,
|
|
94
94
|
L as MenuContent,
|
|
95
95
|
R as MenuGroup,
|
|
96
96
|
E as MenuItem,
|
|
@@ -1,48 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
import { Card as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as x, jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import { c as q } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { Card as N } from "../card/Card.js";
|
|
4
|
+
import '../../assets/components/quote/Quote.style.css';/* empty css */
|
|
5
|
+
import { Text as _ } from "../text/Text.js";
|
|
6
|
+
import g from "../card/CardSection.js";
|
|
7
|
+
const B = (h) => {
|
|
8
|
+
const e = q.c(25);
|
|
9
|
+
let l, r, t, i, o, p;
|
|
10
|
+
e[0] !== h ? ({
|
|
10
11
|
logo: t,
|
|
11
|
-
name:
|
|
12
|
-
position:
|
|
12
|
+
name: i,
|
|
13
|
+
position: o,
|
|
13
14
|
inlineBorder: p,
|
|
14
15
|
children: r,
|
|
15
|
-
...
|
|
16
|
-
} =
|
|
17
|
-
|
|
16
|
+
...l
|
|
17
|
+
} = h, e[0] = h, e[1] = l, e[2] = r, e[3] = t, e[4] = i, e[5] = o, e[6] = p) : (l = e[1], r = e[2], t = e[3], i = e[4], o = e[5], p = e[6]);
|
|
18
|
+
let s;
|
|
19
|
+
e[7] !== r ? (s = /* @__PURE__ */ f(g, { border: !0, children: /* @__PURE__ */ f("div", { className: "quote__text", children: r }) }), e[7] = r, e[8] = s) : s = e[8];
|
|
18
20
|
let m;
|
|
19
|
-
e[
|
|
21
|
+
e[9] !== t ? (m = t ? /* @__PURE__ */ f("div", { children: /* @__PURE__ */ f("img", { className: "quote__img", src: t, alt: "logo of quote" }) }) : null, e[9] = t, e[10] = m) : m = e[10];
|
|
20
22
|
let c;
|
|
21
|
-
e[
|
|
23
|
+
e[11] !== i ? (c = /* @__PURE__ */ f(_, { size: "md", hierarchy: "primary", m: 0, children: i }), e[11] = i, e[12] = c) : c = e[12];
|
|
22
24
|
let n;
|
|
23
|
-
e[
|
|
25
|
+
e[13] !== o ? (n = /* @__PURE__ */ f(_, { size: "sm", children: o }), e[13] = o, e[14] = n) : n = e[14];
|
|
24
26
|
let d;
|
|
25
|
-
e[
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
e[15] !== c || e[16] !== n ? (d = /* @__PURE__ */ x("div", { children: [
|
|
28
|
+
c,
|
|
29
|
+
n
|
|
30
|
+
] }), e[15] = c, e[16] = n, e[17] = d) : d = e[17];
|
|
28
31
|
let a;
|
|
29
|
-
e[18] !==
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
] }), e[18] =
|
|
33
|
-
let h;
|
|
34
|
-
e[21] !== n || e[22] !== a ? (h = /* @__PURE__ */ q(N, { className: "quote__footer", children: [
|
|
35
|
-
n,
|
|
36
|
-
a
|
|
37
|
-
] }), e[21] = n, e[22] = a, e[23] = h) : h = e[23];
|
|
32
|
+
e[18] !== m || e[19] !== d ? (a = /* @__PURE__ */ x(g, { border: !0, className: "quote__footer", children: [
|
|
33
|
+
m,
|
|
34
|
+
d
|
|
35
|
+
] }), e[18] = m, e[19] = d, e[20] = a) : a = e[20];
|
|
38
36
|
let u;
|
|
39
|
-
e[
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
] }), e[
|
|
43
|
-
let x;
|
|
44
|
-
return e[27] !== i || e[28] !== u ? (x = /* @__PURE__ */ l(y, { ...i, children: u }), e[27] = i, e[28] = u, e[29] = x) : x = e[29], x;
|
|
37
|
+
return e[21] !== l || e[22] !== s || e[23] !== a ? (u = /* @__PURE__ */ x(N, { ...l, className: "quote", children: [
|
|
38
|
+
s,
|
|
39
|
+
a
|
|
40
|
+
] }), e[21] = l, e[22] = s, e[23] = a, e[24] = u) : u = e[24], u;
|
|
45
41
|
};
|
|
46
42
|
export {
|
|
47
|
-
|
|
43
|
+
B as Quote
|
|
48
44
|
};
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c as s } from "../../compiler-runtime
|
|
2
|
+
import { c as s } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import '../../assets/components/row/Row.style.css';/* empty css */
|
|
3
4
|
import { mergeCode0Props as n } from "../../utils/utils.js";
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
let
|
|
7
|
-
if (
|
|
5
|
+
const a = (i) => {
|
|
6
|
+
const t = s.c(6);
|
|
7
|
+
let e, r;
|
|
8
|
+
if (t[0] !== i) {
|
|
8
9
|
const {
|
|
9
10
|
children: m,
|
|
10
11
|
...c
|
|
11
12
|
} = i;
|
|
12
|
-
|
|
13
|
+
e = m, r = n("row", c), t[0] = i, t[1] = e, t[2] = r;
|
|
13
14
|
} else
|
|
14
|
-
|
|
15
|
+
e = t[1], r = t[2];
|
|
15
16
|
let o;
|
|
16
|
-
return
|
|
17
|
+
return t[3] !== e || t[4] !== r ? (o = /* @__PURE__ */ l("div", { ...r, children: e }), t[3] = e, t[4] = r, t[5] = o) : o = t[5], o;
|
|
17
18
|
};
|
|
18
19
|
export {
|
|
19
|
-
|
|
20
|
+
a as Row
|
|
20
21
|
};
|
|
@@ -1,42 +1,43 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "../../compiler-runtime
|
|
2
|
+
import { c } from "../../_virtual/compiler-runtime.js";
|
|
3
3
|
import * as a from "@radix-ui/react-scroll-area";
|
|
4
|
-
import { mergeCode0Props as
|
|
5
|
-
import '../../assets/ScrollArea.css'
|
|
4
|
+
import { mergeCode0Props as i } from "../../utils/utils.js";
|
|
5
|
+
import '../../assets/components/scroll-area/ScrollArea.style.css';/* empty css */
|
|
6
|
+
const S = (t) => {
|
|
6
7
|
const e = c.c(4);
|
|
7
8
|
let r;
|
|
8
|
-
e[0] !== t ? (r =
|
|
9
|
+
e[0] !== t ? (r = i("scroll-area", t), e[0] = t, e[1] = r) : r = e[1];
|
|
9
10
|
let l;
|
|
10
11
|
return e[2] !== r ? (l = /* @__PURE__ */ o(a.ScrollArea, { ...r }), e[2] = r, e[3] = l) : l = e[3], l;
|
|
11
|
-
},
|
|
12
|
+
}, A = (t) => {
|
|
12
13
|
const e = c.c(4);
|
|
13
14
|
let r;
|
|
14
|
-
e[0] !== t ? (r =
|
|
15
|
+
e[0] !== t ? (r = i("scroll-area__viewport", t), e[0] = t, e[1] = r) : r = e[1];
|
|
15
16
|
let l;
|
|
16
17
|
return e[2] !== r ? (l = /* @__PURE__ */ o(a.ScrollAreaViewport, { ...r }), e[2] = r, e[3] = l) : l = e[3], l;
|
|
17
|
-
},
|
|
18
|
+
}, u = (t) => {
|
|
18
19
|
const e = c.c(4);
|
|
19
20
|
let r;
|
|
20
|
-
e[0] !== t ? (r =
|
|
21
|
+
e[0] !== t ? (r = i("scroll-area__scrollbar", t), e[0] = t, e[1] = r) : r = e[1];
|
|
21
22
|
let l;
|
|
22
23
|
return e[2] !== r ? (l = /* @__PURE__ */ o(a.ScrollAreaScrollbar, { ...r }), e[2] = r, e[3] = l) : l = e[3], l;
|
|
23
|
-
},
|
|
24
|
+
}, _ = (t) => {
|
|
24
25
|
const e = c.c(4);
|
|
25
26
|
let r;
|
|
26
|
-
e[0] !== t ? (r =
|
|
27
|
+
e[0] !== t ? (r = i("scroll-area__thumb", t), e[0] = t, e[1] = r) : r = e[1];
|
|
27
28
|
let l;
|
|
28
29
|
return e[2] !== r ? (l = /* @__PURE__ */ o(a.ScrollAreaThumb, { ...r }), e[2] = r, e[3] = l) : l = e[3], l;
|
|
29
|
-
},
|
|
30
|
+
}, b = (t) => {
|
|
30
31
|
const e = c.c(4);
|
|
31
32
|
let r;
|
|
32
|
-
e[0] !== t ? (r =
|
|
33
|
+
e[0] !== t ? (r = i("scroll-area__corner", t), e[0] = t, e[1] = r) : r = e[1];
|
|
33
34
|
let l;
|
|
34
35
|
return e[2] !== r ? (l = /* @__PURE__ */ o(a.ScrollAreaCorner, { ...r }), e[2] = r, e[3] = l) : l = e[3], l;
|
|
35
36
|
};
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
S as ScrollArea,
|
|
39
|
+
b as ScrollAreaCorner,
|
|
40
|
+
u as ScrollAreaScrollbar,
|
|
41
|
+
_ as ScrollAreaThumb,
|
|
42
|
+
A as ScrollAreaViewport
|
|
42
43
|
};
|
|
@@ -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,23 +1,26 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
import { Root as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
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";
|
|
7
|
+
import '../../assets/components/segmented-control/SegmentedControl.style.css';/* empty css */
|
|
8
|
+
const I = (m) => {
|
|
9
|
+
const t = i.c(4);
|
|
7
10
|
let e;
|
|
8
|
-
t[0] !== m ? (e =
|
|
9
|
-
const
|
|
11
|
+
t[0] !== m ? (e = l("segmented-control", m), t[0] = m, t[1] = e) : e = t[1];
|
|
12
|
+
const r = e;
|
|
10
13
|
let o;
|
|
11
|
-
return t[2] !==
|
|
12
|
-
},
|
|
13
|
-
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);
|
|
14
17
|
let e;
|
|
15
|
-
t[0] !== m ? (e =
|
|
16
|
-
const
|
|
18
|
+
t[0] !== m ? (e = l("segmented-control__item", m), t[0] = m, t[1] = e) : e = t[1];
|
|
19
|
+
const r = e;
|
|
17
20
|
let o;
|
|
18
|
-
return t[2] !==
|
|
21
|
+
return t[2] !== r ? (o = /* @__PURE__ */ n(s, { ...r }), t[2] = r, t[3] = o) : o = t[3], o;
|
|
19
22
|
};
|
|
20
23
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
I as SegmentedControl,
|
|
25
|
+
R as SegmentedControlItem
|
|
23
26
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { c } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import "../../utils/contextStore.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import { mergeCode0Props as p } from "../../utils/utils.js";
|
|
6
|
+
import '../../assets/components/spacing/Spacing.style.css';/* empty css */
|
|
7
|
+
const d = (r) => {
|
|
8
|
+
const t = c.c(4);
|
|
9
|
+
let i;
|
|
10
|
+
if (t[0] !== r) {
|
|
11
|
+
const {
|
|
12
|
+
spacing: e,
|
|
13
|
+
...m
|
|
14
|
+
} = r;
|
|
15
|
+
i = p(`spacing spacing--${e}`, m), t[0] = r, t[1] = i;
|
|
16
|
+
} else
|
|
17
|
+
i = t[1];
|
|
18
|
+
let o;
|
|
19
|
+
return t[2] !== i ? (o = /* @__PURE__ */ s("div", { ...i }), t[2] = i, t[3] = o) : o = t[3], o;
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
d as Spacing
|
|
23
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Code0ComponentProps } from '../../utils';
|
|
3
|
+
import { TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps } from '@radix-ui/react-tabs';
|
|
4
|
+
export type TabProps = Code0ComponentProps & TabsProps;
|
|
5
|
+
export type TabListProps = Code0ComponentProps & TabsListProps;
|
|
6
|
+
export type TabTriggerProps = Code0ComponentProps & TabsTriggerProps;
|
|
7
|
+
export type TabContentProps = Code0ComponentProps & TabsContentProps;
|
|
8
|
+
export declare const Tab: React.FC<TabProps>;
|
|
9
|
+
export declare const TabList: React.FC<TabListProps>;
|
|
10
|
+
export declare const TabTrigger: React.FC<TabTriggerProps>;
|
|
11
|
+
export declare const TabContent: React.FC<TabContentProps>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { c as n } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import "../../utils/contextStore.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import { mergeCode0Props as r } from "../../utils/utils.js";
|
|
6
|
+
import { Tabs as c, List as m, Trigger as b, Content as f } from "@radix-ui/react-tabs";
|
|
7
|
+
import '../../assets/components/tab/Tab.style.css';/* empty css */
|
|
8
|
+
const x = (a) => {
|
|
9
|
+
const t = n.c(4);
|
|
10
|
+
let e;
|
|
11
|
+
t[0] !== a ? (e = r("tab", a), t[0] = a, t[1] = e) : e = t[1];
|
|
12
|
+
let l;
|
|
13
|
+
return t[2] !== e ? (l = /* @__PURE__ */ o(c, { "data-slot": "tabs", ...e }), t[2] = e, t[3] = l) : l = t[3], l;
|
|
14
|
+
}, C = (a) => {
|
|
15
|
+
const t = n.c(4);
|
|
16
|
+
let e;
|
|
17
|
+
t[0] !== a ? (e = r("tab__list", a), t[0] = a, t[1] = e) : e = t[1];
|
|
18
|
+
let l;
|
|
19
|
+
return t[2] !== e ? (l = /* @__PURE__ */ o(m, { "data-slot": "tabs", ...e }), t[2] = e, t[3] = l) : l = t[3], l;
|
|
20
|
+
}, L = (a) => {
|
|
21
|
+
const t = n.c(5), e = a.value;
|
|
22
|
+
let l;
|
|
23
|
+
t[0] !== a ? (l = r("tab__trigger", a), t[0] = a, t[1] = l) : l = t[1];
|
|
24
|
+
const s = l;
|
|
25
|
+
let i;
|
|
26
|
+
return t[2] !== a.value || t[3] !== s ? (i = /* @__PURE__ */ o(b, { "data-slot": "tabs", "data-value": e, ...s }), t[2] = a.value, t[3] = s, t[4] = i) : i = t[4], i;
|
|
27
|
+
}, j = (a) => {
|
|
28
|
+
const t = n.c(4);
|
|
29
|
+
let e;
|
|
30
|
+
t[0] !== a ? (e = r("tab__content", a), t[0] = a, t[1] = e) : e = t[1];
|
|
31
|
+
const l = e;
|
|
32
|
+
let s;
|
|
33
|
+
return t[2] !== l ? (s = /* @__PURE__ */ o(f, { "data-slot": "tabs", ...l }), t[2] = l, t[3] = s) : s = t[3], s;
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
x as Tab,
|
|
37
|
+
j as TabContent,
|
|
38
|
+
C as TabList,
|
|
39
|
+
L as TabTrigger
|
|
40
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { c as h } from "../../compiler-runtime
|
|
3
|
-
import '../../assets/Text.css';/* empty css
|
|
2
|
+
import { c as h } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import '../../assets/components/text/Text.style.css';/* empty css */
|
|
4
4
|
import { mergeCode0Props as l } from "../../utils/utils.js";
|
|
5
5
|
const $ = (i) => {
|
|
6
6
|
const e = h.c(6);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Code0Component, Color } from '../../utils';
|
|
3
|
+
export interface ToastProps extends Omit<Code0Component<HTMLDivElement>, "title" | "id"> {
|
|
4
|
+
children?: React.ReactNode | React.ReactNode[];
|
|
5
|
+
id: string | number;
|
|
6
|
+
title: React.ReactNode;
|
|
7
|
+
color?: Color;
|
|
8
|
+
dismissible?: boolean;
|
|
9
|
+
onClose?: (event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
|
|
10
|
+
duration?: number;
|
|
11
|
+
}
|
|
12
|
+
export declare function toast(toast: Omit<ToastProps, 'id'>): string | number;
|
|
13
|
+
export declare function Toast(props: ToastProps): React.JSX.Element;
|