@code0-tech/pictor 0.0.0-mvp.10
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/LICENSE +29 -0
- package/README.md +0 -0
- package/dist/_virtual/compiler-runtime.js +5 -0
- package/dist/_virtual/compiler-runtime2.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/assets/components/avatar/Avatar.style.css +1 -0
- package/dist/assets/components/badge/Badge.style.css +1 -0
- package/dist/assets/components/breadcrumb/Breadcrumb.style.css +1 -0
- 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/col/Col.style.css +1 -0
- package/dist/assets/components/command/Command.style.css +1 -0
- package/dist/assets/components/container/Container.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/minimap/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-fullscreen/DFullScreen.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/flex/Flex.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/components/quote/Quote.style.css +1 -0
- package/dist/assets/components/row/Row.style.css +1 -0
- package/dist/assets/components/scroll-area/ScrollArea.style.css +1 -0
- 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/tooltip/Tooltip.style.css +1 -0
- package/dist/assets/node_modules/@xyflow/react/dist/style.css +1 -0
- package/dist/components/avatar/Avatar.d.ts +8 -0
- package/dist/components/avatar/Avatar.js +55 -0
- package/dist/components/badge/Badge.d.ts +7 -0
- package/dist/components/badge/Badge.js +22 -0
- package/dist/components/breadcrumb/Breadcrumb.d.ts +7 -0
- package/dist/components/breadcrumb/Breadcrumb.js +32 -0
- package/dist/components/button/Button.d.ts +10 -0
- package/dist/components/button/Button.js +29 -0
- package/dist/components/button-group/ButtonGroup.d.ts +7 -0
- package/dist/components/button-group/ButtonGroup.js +27 -0
- package/dist/components/card/Card.d.ts +14 -0
- package/dist/components/card/Card.js +39 -0
- package/dist/components/card/CardSection.d.ts +9 -0
- package/dist/components/card/CardSection.js +22 -0
- package/dist/components/col/Col.d.ts +13 -0
- package/dist/components/col/Col.js +27 -0
- package/dist/components/command/Command.d.ts +30 -0
- package/dist/components/command/Command.js +103 -0
- package/dist/components/container/Container.d.ts +6 -0
- package/dist/components/container/Container.js +21 -0
- package/dist/components/d-flow/DFlow.d.ts +5 -0
- package/dist/components/d-flow/DFlow.edges.hook.d.ts +4 -0
- package/dist/components/d-flow/DFlow.edges.hook.js +144 -0
- package/dist/components/d-flow/DFlow.js +375 -0
- package/dist/components/d-flow/DFlow.nodes.hook.d.ts +3 -0
- package/dist/components/d-flow/DFlow.nodes.hook.js +139 -0
- package/dist/components/d-flow/DFlow.service.d.ts +10 -0
- package/dist/components/d-flow/DFlow.service.js +11 -0
- package/dist/components/d-flow/DFlow.view.d.ts +109 -0
- package/dist/components/d-flow/DFlow.view.js +213 -0
- package/dist/components/d-flow/control/DFlowControl.d.ts +2 -0
- package/dist/components/d-flow/control/DFlowControl.js +77 -0
- package/dist/components/d-flow/control/index.d.ts +1 -0
- package/dist/components/d-flow/control/index.js +4 -0
- package/dist/components/d-flow/data-type/DFlowDataType.service.d.ts +10 -0
- package/dist/components/d-flow/data-type/DFlowDataType.service.js +91 -0
- package/dist/components/d-flow/data-type/DFlowDataType.validation.type.d.ts +2 -0
- package/dist/components/d-flow/data-type/DFlowDataType.validation.type.js +18 -0
- package/dist/components/d-flow/data-type/DFlowDataType.validation.value.d.ts +4 -0
- package/dist/components/d-flow/data-type/DFlowDataType.validation.value.js +20 -0
- package/dist/components/d-flow/data-type/DFlowDataType.view.d.ts +32 -0
- package/dist/components/d-flow/data-type/DFlowDataType.view.js +65 -0
- package/dist/components/d-flow/data-type/index.d.ts +2 -0
- package/dist/components/d-flow/data-type/index.js +6 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeContainsKeyRule.d.ts +6 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeContainsKeyRule.js +222 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeContainsTypeRule.d.ts +6 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeContainsTypeRule.js +229 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeItemOfCollectionRule.d.ts +7 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeItemOfCollectionRule.js +214 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeNumberRangeRule.d.ts +4 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeNumberRangeRule.js +214 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeParentRule.d.ts +9 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeParentRule.js +217 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeRegexRule.d.ts +4 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeRegexRule.js +214 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeReturnTypeRule.d.ts +6 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeReturnTypeRule.js +243 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeRule.d.ts +8 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeRule.js +10 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeRules.d.ts +3 -0
- package/dist/components/d-flow/data-type/rules/DFlowDataTypeRules.js +10 -0
- package/dist/components/d-flow/edge/DFlowEdge.d.ts +10 -0
- package/dist/components/d-flow/edge/DFlowEdge.js +48 -0
- package/dist/components/d-flow/folder/DFlowFolder.d.ts +19 -0
- package/dist/components/d-flow/folder/DFlowFolder.js +119 -0
- package/dist/components/d-flow/folder/index.d.ts +1 -0
- package/dist/components/d-flow/folder/index.js +6 -0
- package/dist/components/d-flow/function/DFlowFunction.input.hook.d.ts +4 -0
- package/dist/components/d-flow/function/DFlowFunction.input.hook.js +9 -0
- package/dist/components/d-flow/function/DFlowFunction.return.hook.d.ts +4 -0
- package/dist/components/d-flow/function/DFlowFunction.return.hook.js +11 -0
- package/dist/components/d-flow/function/DFlowFunction.service.d.ts +6 -0
- package/dist/components/d-flow/function/DFlowFunction.service.js +9 -0
- package/dist/components/d-flow/function/DFlowFunction.vaildation.hook.d.ts +10 -0
- package/dist/components/d-flow/function/DFlowFunction.vaildation.hook.js +74 -0
- package/dist/components/d-flow/function/DFlowFunction.view.d.ts +66 -0
- package/dist/components/d-flow/function/DFlowFunction.view.js +117 -0
- package/dist/components/d-flow/function/DFlowFunctionDefaultCard.d.ts +15 -0
- package/dist/components/d-flow/function/DFlowFunctionDefaultCard.js +158 -0
- package/dist/components/d-flow/function/DFlowFunctionGroupCard.d.ts +5 -0
- package/dist/components/d-flow/function/DFlowFunctionGroupCard.js +55 -0
- package/dist/components/d-flow/function/DFlowFunctionSuggestionCard.d.ts +11 -0
- package/dist/components/d-flow/function/DFlowFunctionSuggestionCard.js +26 -0
- package/dist/components/d-flow/function/DFlowFunctionTriggerCard.d.ts +9 -0
- package/dist/components/d-flow/function/DFlowFunctionTriggerCard.js +97 -0
- package/dist/components/d-flow/function/index.d.ts +2 -0
- package/dist/components/d-flow/function/index.js +7 -0
- package/dist/components/d-flow/index.d.ts +13 -0
- package/dist/components/d-flow/index.js +46 -0
- package/dist/components/d-flow/input/DFlowInputDataType.d.ts +8 -0
- package/dist/components/d-flow/input/DFlowInputDataType.js +422 -0
- package/dist/components/d-flow/minimap/DFlowMiniMap.d.ts +2 -0
- package/dist/components/d-flow/minimap/DFlowMiniMap.js +22 -0
- package/dist/components/d-flow/minimap/index.d.ts +1 -0
- package/dist/components/d-flow/minimap/index.js +4 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestion.hook.d.ts +33 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestion.hook.js +150 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestion.service.d.ts +5 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestion.service.js +18 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestion.view.d.ts +21 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestion.view.js +25 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestionMenu.d.ts +8 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestionMenu.js +67 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestionMenu.util.d.ts +3 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestionMenu.util.js +42 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestionMenuFooter.d.ts +2 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestionMenuFooter.js +69 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestionMenuSearchBar.d.ts +6 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestionMenuSearchBar.js +21 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestionSearchInput.d.ts +7 -0
- package/dist/components/d-flow/suggestion/DFlowSuggestionSearchInput.js +22 -0
- package/dist/components/d-flow/suggestion/index.d.ts +2 -0
- package/dist/components/d-flow/suggestion/index.js +7 -0
- package/dist/components/d-flow/tab/DFlowTabDefault.d.ts +11 -0
- package/dist/components/d-flow/tab/DFlowTabDefault.js +97 -0
- package/dist/components/d-flow/tab/DFlowTabTrigger.d.ts +6 -0
- package/dist/components/d-flow/tab/DFlowTabTrigger.js +51 -0
- package/dist/components/d-flow/tab/DFlowTabs.d.ts +2 -0
- package/dist/components/d-flow/tab/DFlowTabs.js +105 -0
- package/dist/components/d-flow/type/DFlowType.service.d.ts +6 -0
- package/dist/components/d-flow/type/DFlowType.service.js +9 -0
- package/dist/components/d-flow/type/DFlowType.view.d.ts +35 -0
- package/dist/components/d-flow/type/DFlowType.view.js +69 -0
- package/dist/components/d-flow/type/index.d.ts +2 -0
- package/dist/components/d-flow/type/index.js +6 -0
- package/dist/components/d-flow/validation/DFlowValidation.d.ts +6 -0
- package/dist/components/d-flow/validation/DFlowValidation.hook.d.ts +3 -0
- package/dist/components/d-flow/validation/DFlowValidation.hook.js +10 -0
- package/dist/components/d-flow/validation/DFlowValidation.js +60 -0
- package/dist/components/d-flow/validation/index.d.ts +2 -0
- package/dist/components/d-flow/validation/index.js +6 -0
- package/dist/components/d-fullscreen/DFullScreen.d.ts +6 -0
- package/dist/components/d-fullscreen/DFullScreen.js +26 -0
- package/dist/components/d-layout/DLayout.d.ts +10 -0
- package/dist/components/d-layout/DLayout.js +52 -0
- package/dist/components/d-namespace/DNamespace.service.d.ts +6 -0
- package/dist/components/d-namespace/DNamespace.service.js +11 -0
- package/dist/components/d-namespace/DNamespace.view.d.ts +32 -0
- package/dist/components/d-namespace/DNamespace.view.js +65 -0
- package/dist/components/d-namespace/index.d.ts +12 -0
- package/dist/components/d-namespace/index.js +35 -0
- package/dist/components/d-namespace/license/DNamespaceLicense.service.d.ts +8 -0
- package/dist/components/d-namespace/license/DNamespaceLicense.service.js +11 -0
- package/dist/components/d-namespace/license/DNamespaceLicense.view.d.ts +26 -0
- package/dist/components/d-namespace/license/DNamespaceLicense.view.js +57 -0
- package/dist/components/d-namespace/member/DNamespaceMember.service.d.ts +9 -0
- package/dist/components/d-namespace/member/DNamespaceMember.service.js +11 -0
- package/dist/components/d-namespace/member/DNamespaceMember.view.d.ts +26 -0
- package/dist/components/d-namespace/member/DNamespaceMember.view.js +57 -0
- package/dist/components/d-namespace/project/DNamespaceProject.service.d.ts +9 -0
- package/dist/components/d-namespace/project/DNamespaceProject.service.js +11 -0
- package/dist/components/d-namespace/project/DNamespaceProject.view.d.ts +35 -0
- package/dist/components/d-namespace/project/DNamespaceProject.view.js +69 -0
- package/dist/components/d-namespace/project/DNamespaceProjectCard.d.ts +9 -0
- package/dist/components/d-namespace/project/DNamespaceProjectCard.js +57 -0
- package/dist/components/d-namespace/project/DNamespaceProjectMenu.d.ts +9 -0
- package/dist/components/d-namespace/project/DNamespaceProjectMenu.js +18 -0
- package/dist/components/d-namespace/role/DNamespaceRole.service.d.ts +10 -0
- package/dist/components/d-namespace/role/DNamespaceRole.service.js +11 -0
- package/dist/components/d-namespace/role/DNamespaceRole.view.d.ts +26 -0
- package/dist/components/d-namespace/role/DNamespaceRole.view.js +57 -0
- package/dist/components/d-organization/DOrganization.service.d.ts +8 -0
- package/dist/components/d-organization/DOrganization.service.js +11 -0
- package/dist/components/d-organization/DOrganization.view.d.ts +20 -0
- package/dist/components/d-organization/DOrganization.view.js +52 -0
- package/dist/components/d-organization/DOrganizationCard.d.ts +10 -0
- package/dist/components/d-organization/DOrganizationCard.js +63 -0
- package/dist/components/d-organization/DOrganizationMenu.d.ts +9 -0
- package/dist/components/d-organization/DOrganizationMenu.js +18 -0
- package/dist/components/d-organization/index.d.ts +4 -0
- package/dist/components/d-organization/index.js +19 -0
- package/dist/components/d-resizable/DResizable.d.ts +10 -0
- package/dist/components/d-resizable/DResizable.js +32 -0
- package/dist/components/d-runtime/DRuntime.service.d.ts +9 -0
- package/dist/components/d-runtime/DRuntime.service.js +11 -0
- package/dist/components/d-runtime/DRuntime.view.d.ts +38 -0
- package/dist/components/d-runtime/DRuntime.view.js +73 -0
- package/dist/components/d-runtime/index.d.ts +2 -0
- package/dist/components/d-runtime/index.js +6 -0
- package/dist/components/d-user/DUser.service.d.ts +21 -0
- package/dist/components/d-user/DUser.service.js +17 -0
- package/dist/components/d-user/DUser.view.d.ts +52 -0
- package/dist/components/d-user/DUser.view.js +100 -0
- package/dist/components/d-user/DUserMenu.d.ts +8 -0
- package/dist/components/d-user/DUserMenu.js +28 -0
- package/dist/components/d-user/index.d.ts +3 -0
- package/dist/components/d-user/index.js +17 -0
- package/dist/components/dialog/Dialog.d.ts +28 -0
- package/dist/components/dialog/Dialog.js +99 -0
- package/dist/components/file-tabs/FileTabs.d.ts +17 -0
- package/dist/components/file-tabs/FileTabs.js +71 -0
- package/dist/components/file-tabs/FileTabs.service.d.ts +13 -0
- package/dist/components/file-tabs/FileTabs.service.js +47 -0
- package/dist/components/file-tabs/FileTabs.view.d.ts +9 -0
- package/dist/components/file-tabs/FileTabs.view.js +1 -0
- package/dist/components/flex/Flex.d.ts +7 -0
- package/dist/components/flex/Flex.js +21 -0
- package/dist/components/form/CheckboxInput.d.ts +5 -0
- package/dist/components/form/CheckboxInput.js +67 -0
- package/dist/components/form/EmailInput.d.ts +8 -0
- package/dist/components/form/EmailInput.js +20 -0
- package/dist/components/form/Input.d.ts +22 -0
- package/dist/components/form/Input.js +153 -0
- package/dist/components/form/InputDescription.d.ts +5 -0
- package/dist/components/form/InputDescription.js +12 -0
- package/dist/components/form/InputLabel.d.ts +5 -0
- package/dist/components/form/InputLabel.js +12 -0
- package/dist/components/form/InputMessage.d.ts +5 -0
- package/dist/components/form/InputMessage.js +18 -0
- package/dist/components/form/InputSuggestion.d.ts +19 -0
- package/dist/components/form/InputSuggestion.js +102 -0
- package/dist/components/form/NumberInput.d.ts +6 -0
- package/dist/components/form/NumberInput.js +20 -0
- package/dist/components/form/PasswordInput.d.ts +8 -0
- package/dist/components/form/PasswordInput.js +18 -0
- package/dist/components/form/PinInput.d.ts +11 -0
- package/dist/components/form/PinInput.js +66 -0
- package/dist/components/form/RadioGroup.d.ts +5 -0
- package/dist/components/form/RadioGroup.js +48 -0
- package/dist/components/form/RadioInput.d.ts +7 -0
- package/dist/components/form/RadioInput.js +27 -0
- package/dist/components/form/SwitchInput.d.ts +6 -0
- package/dist/components/form/SwitchInput.js +19 -0
- package/dist/components/form/TextInput.d.ts +7 -0
- package/dist/components/form/TextInput.js +19 -0
- package/dist/components/form/index.d.ts +15 -0
- package/dist/components/form/index.js +37 -0
- package/dist/components/form/useForm.d.ts +25 -0
- package/dist/components/form/useForm.js +57 -0
- package/dist/components/menu/Menu.d.ts +27 -0
- package/dist/components/menu/Menu.js +104 -0
- package/dist/components/quote/Quote.d.ts +10 -0
- package/dist/components/quote/Quote.js +49 -0
- package/dist/components/row/Row.d.ts +6 -0
- package/dist/components/row/Row.js +21 -0
- package/dist/components/scroll-area/ScrollArea.d.ts +13 -0
- package/dist/components/scroll-area/ScrollArea.js +43 -0
- package/dist/components/segmented-control/SegmentedControl.d.ts +8 -0
- package/dist/components/segmented-control/SegmentedControl.js +24 -0
- 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.d.ts +8 -0
- package/dist/components/text/Text.js +23 -0
- package/dist/components/tooltip/Tooltip.d.ts +13 -0
- package/dist/components/tooltip/Tooltip.js +48 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +226 -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/utils/arrayService.d.ts +10 -0
- package/dist/utils/arrayService.js +1 -0
- package/dist/utils/contextStore.d.ts +62 -0
- package/dist/utils/contextStore.js +60 -0
- package/dist/utils/generics.d.ts +17 -0
- package/dist/utils/generics.js +310 -0
- package/dist/utils/index.d.ts +8 -0
- package/dist/utils/index.js +28 -0
- package/dist/utils/inspection.d.ts +13 -0
- package/dist/utils/inspection.js +4 -0
- package/dist/utils/nonReactiveArrayService.d.ts +19 -0
- package/dist/utils/nonReactiveArrayService.js +54 -0
- package/dist/utils/objectStore.d.ts +12 -0
- package/dist/utils/objectStore.js +34 -0
- package/dist/utils/reactiveArrayService.d.ts +22 -0
- package/dist/utils/reactiveArrayService.js +91 -0
- package/dist/utils/types.d.ts +57 -0
- package/dist/utils/types.js +4 -0
- package/dist/utils/utils.d.ts +68 -0
- package/dist/utils/utils.js +216 -0
- package/package.json +119 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { c as l } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { Root as i, Item as s } from "@radix-ui/react-toggle-group";
|
|
4
|
+
import { mergeCode0Props as c } from "../../utils/utils.js";
|
|
5
|
+
import '../../assets/components/segmented-control/SegmentedControl.style.css';/* empty css */
|
|
6
|
+
const C = (m) => {
|
|
7
|
+
const t = l.c(4);
|
|
8
|
+
let e;
|
|
9
|
+
t[0] !== m ? (e = c("segmented-control", m), t[0] = m, t[1] = e) : e = t[1];
|
|
10
|
+
const r = e;
|
|
11
|
+
let o;
|
|
12
|
+
return t[2] !== r ? (o = /* @__PURE__ */ n(i, { ...r }), t[2] = r, t[3] = o) : o = t[3], o;
|
|
13
|
+
}, I = (m) => {
|
|
14
|
+
const t = l.c(4);
|
|
15
|
+
let e;
|
|
16
|
+
t[0] !== m ? (e = c("segmented-control__item", m), t[0] = m, t[1] = e) : e = t[1];
|
|
17
|
+
const r = e;
|
|
18
|
+
let o;
|
|
19
|
+
return t[2] !== r ? (o = /* @__PURE__ */ n(s, { ...r }), t[2] = r, t[3] = o) : o = t[3], o;
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
C as SegmentedControl,
|
|
23
|
+
I as SegmentedControlItem
|
|
24
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Code0Component, Code0Sizes } from '../../utils/types';
|
|
3
|
+
export interface FontType extends Omit<Omit<Code0Component<HTMLSpanElement>, "children">, "size"> {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
size?: Code0Sizes;
|
|
6
|
+
hierarchy?: "primary" | "secondary" | "tertiary";
|
|
7
|
+
}
|
|
8
|
+
export declare const Text: React.FC<FontType>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { c as h } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import '../../assets/components/text/Text.style.css';/* empty css */
|
|
4
|
+
import { mergeCode0Props as l } from "../../utils/utils.js";
|
|
5
|
+
const $ = (i) => {
|
|
6
|
+
const e = h.c(6);
|
|
7
|
+
let t, r;
|
|
8
|
+
if (e[0] !== i) {
|
|
9
|
+
const {
|
|
10
|
+
size: s,
|
|
11
|
+
children: m,
|
|
12
|
+
hierarchy: c,
|
|
13
|
+
...n
|
|
14
|
+
} = i;
|
|
15
|
+
t = m, r = l(`text text--${c === void 0 ? "secondary" : c} text--${s === void 0 ? "sm" : s}`, n), e[0] = i, e[1] = t, e[2] = r;
|
|
16
|
+
} else
|
|
17
|
+
t = e[1], r = e[2];
|
|
18
|
+
let o;
|
|
19
|
+
return e[3] !== t || e[4] !== r ? (o = /* @__PURE__ */ p("span", { ...r, children: t }), e[3] = t, e[4] = r, e[5] = o) : o = e[5], o;
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
$ as Text
|
|
23
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Code0ComponentProps } from '../../utils/types';
|
|
3
|
+
import * as RadixTooltip from "@radix-ui/react-tooltip";
|
|
4
|
+
export type TooltipProps = Code0ComponentProps & RadixTooltip.TooltipProps;
|
|
5
|
+
export type TooltipTriggerProps = Code0ComponentProps & RadixTooltip.TooltipTriggerProps;
|
|
6
|
+
export type TooltipPortalProps = Code0ComponentProps & RadixTooltip.TooltipPortalProps;
|
|
7
|
+
export type TooltipContentProps = Code0ComponentProps & RadixTooltip.TooltipContentProps;
|
|
8
|
+
export type TooltipArrowProps = Code0ComponentProps & RadixTooltip.TooltipArrowProps;
|
|
9
|
+
export declare const Tooltip: React.FC<TooltipProps>;
|
|
10
|
+
export declare const TooltipTrigger: React.FC<TooltipTriggerProps>;
|
|
11
|
+
export declare const TooltipPortal: React.FC<TooltipPortalProps>;
|
|
12
|
+
export declare const TooltipContent: React.FC<TooltipContentProps>;
|
|
13
|
+
export declare const TooltipArrow: React.FC<TooltipArrowProps>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { c } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import * as n from "@radix-ui/react-tooltip";
|
|
4
|
+
import { mergeCode0Props as s } from "../../utils/utils.js";
|
|
5
|
+
import '../../assets/components/tooltip/Tooltip.style.css';/* empty css */
|
|
6
|
+
const _ = (l) => {
|
|
7
|
+
const t = c.c(4);
|
|
8
|
+
let o;
|
|
9
|
+
t[0] !== l ? (o = s("tooltip", l), t[0] = l, t[1] = o) : o = t[1];
|
|
10
|
+
const i = o;
|
|
11
|
+
let e;
|
|
12
|
+
return t[2] !== i ? (e = /* @__PURE__ */ r(n.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ r(n.Tooltip, { ...i }) }), t[2] = i, t[3] = e) : e = t[3], e;
|
|
13
|
+
}, g = (l) => {
|
|
14
|
+
const t = c.c(4);
|
|
15
|
+
let o;
|
|
16
|
+
t[0] !== l ? (o = s("tooltip__trigger", l), t[0] = l, t[1] = o) : o = t[1];
|
|
17
|
+
const i = o;
|
|
18
|
+
let e;
|
|
19
|
+
return t[2] !== i ? (e = /* @__PURE__ */ r(n.TooltipTrigger, { ...i }), t[2] = i, t[3] = e) : e = t[3], e;
|
|
20
|
+
}, p = (l) => {
|
|
21
|
+
const t = c.c(4);
|
|
22
|
+
let o;
|
|
23
|
+
t[0] !== l ? (o = s("tooltip__portal", l), t[0] = l, t[1] = o) : o = t[1];
|
|
24
|
+
const i = o;
|
|
25
|
+
let e;
|
|
26
|
+
return t[2] !== i ? (e = /* @__PURE__ */ r(n.TooltipPortal, { ...i }), t[2] = i, t[3] = e) : e = t[3], e;
|
|
27
|
+
}, u = (l) => {
|
|
28
|
+
const t = c.c(4);
|
|
29
|
+
let o;
|
|
30
|
+
t[0] !== l ? (o = s("tooltip__content", l), t[0] = l, t[1] = o) : o = t[1];
|
|
31
|
+
const i = o;
|
|
32
|
+
let e;
|
|
33
|
+
return t[2] !== i ? (e = /* @__PURE__ */ r(n.TooltipContent, { ...i }), t[2] = i, t[3] = e) : e = t[3], e;
|
|
34
|
+
}, d = (l) => {
|
|
35
|
+
const t = c.c(4);
|
|
36
|
+
let o;
|
|
37
|
+
t[0] !== l ? (o = s("tooltip__arrow", l), t[0] = l, t[1] = o) : o = t[1];
|
|
38
|
+
const i = o;
|
|
39
|
+
let e;
|
|
40
|
+
return t[2] !== i ? (e = /* @__PURE__ */ r(n.TooltipArrow, { ...i }), t[2] = i, t[3] = e) : e = t[3], e;
|
|
41
|
+
};
|
|
42
|
+
export {
|
|
43
|
+
_ as Tooltip,
|
|
44
|
+
d as TooltipArrow,
|
|
45
|
+
u as TooltipContent,
|
|
46
|
+
p as TooltipPortal,
|
|
47
|
+
g as TooltipTrigger
|
|
48
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export * from './components/avatar/Avatar';
|
|
2
|
+
export * from './components/badge/Badge';
|
|
3
|
+
export * from './components/breadcrumb/Breadcrumb';
|
|
4
|
+
export * from './components/button/Button';
|
|
5
|
+
export * from './components/button-group/ButtonGroup';
|
|
6
|
+
export * from './components/card/Card';
|
|
7
|
+
export * from './components/col/Col';
|
|
8
|
+
export * from './components/command/Command';
|
|
9
|
+
export * from './components/container/Container';
|
|
10
|
+
export * from './components/d-flow/index';
|
|
11
|
+
export * from './components/d-fullscreen/DFullScreen';
|
|
12
|
+
export * from './components/d-layout/DLayout';
|
|
13
|
+
export * from './components/d-namespace/index';
|
|
14
|
+
export * from './components/d-organization/index';
|
|
15
|
+
export * from './components/d-resizable/DResizable';
|
|
16
|
+
export * from './components/d-runtime/index';
|
|
17
|
+
export * from './components/d-user/index';
|
|
18
|
+
export * from './components/dialog/Dialog';
|
|
19
|
+
export * from './components/flex/Flex';
|
|
20
|
+
export * from './components/form/index';
|
|
21
|
+
export * from './components/menu/Menu';
|
|
22
|
+
export * from './components/quote/Quote';
|
|
23
|
+
export * from './components/row/Row';
|
|
24
|
+
export * from './components/scroll-area/ScrollArea';
|
|
25
|
+
export * from './components/segmented-control/SegmentedControl';
|
|
26
|
+
export * from './components/spacing/Spacing';
|
|
27
|
+
export * from './components/text/Text';
|
|
28
|
+
export * from './components/tooltip/Tooltip';
|
|
29
|
+
export * from './utils/index';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import { Avatar as m } from "./components/avatar/Avatar.js";
|
|
2
|
+
import { Badge as n } from "./components/badge/Badge.js";
|
|
3
|
+
import { Breadcrumb as x } from "./components/breadcrumb/Breadcrumb.js";
|
|
4
|
+
import { Button as c } from "./components/button/Button.js";
|
|
5
|
+
import { ButtonGroup as D } from "./components/button-group/ButtonGroup.js";
|
|
6
|
+
import { Card as g } from "./components/card/Card.js";
|
|
7
|
+
import { Col as w } from "./components/col/Col.js";
|
|
8
|
+
import { Command as d, CommandDialog as F, CommandEmpty as C, CommandGroup as R, CommandInput as I, CommandItem as V, CommandList as M, CommandSeparator as T, CommandShortcut as P } from "./components/command/Command.js";
|
|
9
|
+
import { Container as N } from "./components/container/Container.js";
|
|
10
|
+
import { FlowSettingView as A, FlowView as G, NodeFunctionView as L, NodeParameterView as O } from "./components/d-flow/DFlow.view.js";
|
|
11
|
+
import { DFlowReactiveService as h } from "./components/d-flow/DFlow.service.js";
|
|
12
|
+
import { FLOW_EDGE_RAINBOW as B, useFlowEdges as j } from "./components/d-flow/DFlow.edges.hook.js";
|
|
13
|
+
import { useFlowNodes as U } from "./components/d-flow/DFlow.nodes.hook.js";
|
|
14
|
+
import { DFlow as _ } from "./components/d-flow/DFlow.js";
|
|
15
|
+
import { DFlowControl as K } from "./components/d-flow/control/DFlowControl.js";
|
|
16
|
+
import { DFlowDataTypeReactiveService as q } from "./components/d-flow/data-type/DFlowDataType.service.js";
|
|
17
|
+
import { DataTypeView as X } from "./components/d-flow/data-type/DFlowDataType.view.js";
|
|
18
|
+
import { DFlowFolder as Z, DFlowFolderGroup as $, DFlowFolderItem as ee } from "./components/d-flow/folder/DFlowFolder.js";
|
|
19
|
+
import { DFlowFunctionReactiveService as re } from "./components/d-flow/function/DFlowFunction.service.js";
|
|
20
|
+
import { FunctionDefinitionView as ie, ParameterDefinitionView as pe } from "./components/d-flow/function/DFlowFunction.view.js";
|
|
21
|
+
import { DFlowMiniMap as ae } from "./components/d-flow/minimap/DFlowMiniMap.js";
|
|
22
|
+
import { DFlowReactiveSuggestionService as le } from "./components/d-flow/suggestion/DFlowSuggestion.service.js";
|
|
23
|
+
import { DFlowSuggestion as fe, DFlowSuggestionType as ce } from "./components/d-flow/suggestion/DFlowSuggestion.view.js";
|
|
24
|
+
import { DFlowTypeReactiveService as De } from "./components/d-flow/type/DFlowType.service.js";
|
|
25
|
+
import { FlowTypeView as ge } from "./components/d-flow/type/DFlowType.view.js";
|
|
26
|
+
import { useDFlowValidations as we } from "./components/d-flow/validation/DFlowValidation.hook.js";
|
|
27
|
+
import { DFlowValidation as de } from "./components/d-flow/validation/DFlowValidation.js";
|
|
28
|
+
import { DFullScreen as Ce } from "./components/d-fullscreen/DFullScreen.js";
|
|
29
|
+
import { DLayout as Ie } from "./components/d-layout/DLayout.js";
|
|
30
|
+
import { DNamespaceLicenseReactiveService as Me } from "./components/d-namespace/license/DNamespaceLicense.service.js";
|
|
31
|
+
import { DNamespaceLicenseView as Pe } from "./components/d-namespace/license/DNamespaceLicense.view.js";
|
|
32
|
+
import { DNamespaceMemberReactiveService as Ne } from "./components/d-namespace/member/DNamespaceMember.service.js";
|
|
33
|
+
import { DNamespaceMemberView as Ae } from "./components/d-namespace/member/DNamespaceMember.view.js";
|
|
34
|
+
import { DNamespaceProjectReactiveService as Le } from "./components/d-namespace/project/DNamespaceProject.service.js";
|
|
35
|
+
import { DNamespaceProjectView as Ee } from "./components/d-namespace/project/DNamespaceProject.view.js";
|
|
36
|
+
import "react/jsx-runtime";
|
|
37
|
+
import "react";
|
|
38
|
+
import { Text as ze } from "./components/text/Text.js";
|
|
39
|
+
import "@tabler/icons-react";
|
|
40
|
+
import { ContextStore as je, ContextStoreProvider as He, useService as Ue, useStore as We } from "./utils/contextStore.js";
|
|
41
|
+
import { Flex as ke } from "./components/flex/Flex.js";
|
|
42
|
+
import "./_virtual/compiler-runtime.js";
|
|
43
|
+
import { getChild as Qe, getContent as qe, getPositionAroundTarget as Je, getPositioning as Xe, getWindowPositioning as Ye, mergeCode0Props as Ze, parseUnit as $e } from "./utils/utils.js";
|
|
44
|
+
import { DNamespaceReactiveService as oo } from "./components/d-namespace/DNamespace.service.js";
|
|
45
|
+
import { DRuntimeReactiveService as to } from "./components/d-runtime/DRuntime.service.js";
|
|
46
|
+
import { Menu as po, MenuArrow as mo, MenuContent as ao, MenuGroup as no, MenuItem as lo, MenuLabel as xo, MenuPortal as fo, MenuSeparator as co, MenuSub as uo, MenuSubContent as Do, MenuSubTrigger as so, MenuTrigger as go } from "./components/menu/Menu.js";
|
|
47
|
+
import { DNamespaceRoleReactiveService as wo } from "./components/d-namespace/role/DNamespaceRole.service.js";
|
|
48
|
+
import { DNamespaceRoleView as Fo } from "./components/d-namespace/role/DNamespaceRole.view.js";
|
|
49
|
+
import { DNamespaceView as Ro } from "./components/d-namespace/DNamespace.view.js";
|
|
50
|
+
import { DOrganizationReactiveService as Vo } from "./components/d-organization/DOrganization.service.js";
|
|
51
|
+
import { DOrganizationView as To } from "./components/d-organization/DOrganization.view.js";
|
|
52
|
+
import { DResizableHandle as bo, DResizablePanel as No, DResizablePanelGroup as yo } from "./components/d-resizable/DResizable.js";
|
|
53
|
+
import { DRuntimeView as Go } from "./components/d-runtime/DRuntime.view.js";
|
|
54
|
+
import { DUserReactiveService as Oo } from "./components/d-user/DUser.service.js";
|
|
55
|
+
import { DUserView as ho } from "./components/d-user/DUser.view.js";
|
|
56
|
+
import { Dialog as Bo, DialogClose as jo, DialogContent as Ho, DialogDescription as Uo, DialogFooter as Wo, DialogHeader as _o, DialogOverlay as ko, DialogPortal as Ko, DialogTitle as Qo, DialogTrigger as qo } from "./components/dialog/Dialog.js";
|
|
57
|
+
import { CheckboxInput as Xo } from "./components/form/CheckboxInput.js";
|
|
58
|
+
import { EmailInput as Zo, emailValidation as $o } from "./components/form/EmailInput.js";
|
|
59
|
+
import { Input as or, setElementKey as rr } from "./components/form/Input.js";
|
|
60
|
+
import { InputDescription as ir } from "./components/form/InputDescription.js";
|
|
61
|
+
import { InputLabel as mr } from "./components/form/InputLabel.js";
|
|
62
|
+
import { InputMessage as nr } from "./components/form/InputMessage.js";
|
|
63
|
+
import { InputSuggestionMenuContent as xr, InputSuggestionMenuContentItems as fr } from "./components/form/InputSuggestion.js";
|
|
64
|
+
import { NumberInput as ur } from "./components/form/NumberInput.js";
|
|
65
|
+
import { PasswordInput as sr } from "./components/form/PasswordInput.js";
|
|
66
|
+
import { PinInput as Sr, PinInputField as wr, PinInputHiddenField as vr } from "./components/form/PinInput.js";
|
|
67
|
+
import { RadioGroup as Fr } from "./components/form/RadioGroup.js";
|
|
68
|
+
import { RadioInput as Rr } from "./components/form/RadioInput.js";
|
|
69
|
+
import { SwitchInput as Vr } from "./components/form/SwitchInput.js";
|
|
70
|
+
import { TextInput as Tr } from "./components/form/TextInput.js";
|
|
71
|
+
import { useForm as br } from "./components/form/useForm.js";
|
|
72
|
+
import { Quote as yr } from "./components/quote/Quote.js";
|
|
73
|
+
import { Row as Gr } from "./components/row/Row.js";
|
|
74
|
+
import { ScrollArea as Or, ScrollAreaCorner as Er, ScrollAreaScrollbar as hr, ScrollAreaThumb as zr, ScrollAreaViewport as Br } from "./components/scroll-area/ScrollArea.js";
|
|
75
|
+
import { SegmentedControl as Hr, SegmentedControlItem as Ur } from "./components/segmented-control/SegmentedControl.js";
|
|
76
|
+
import { Spacing as _r } from "./components/spacing/Spacing.js";
|
|
77
|
+
import { Tooltip as Kr, TooltipArrow as Qr, TooltipContent as qr, TooltipPortal as Jr, TooltipTrigger as Xr } from "./components/tooltip/Tooltip.js";
|
|
78
|
+
import { InspectionSeverity as Zr } from "./utils/inspection.js";
|
|
79
|
+
import { NonReactiveArrayService as et, createNonReactiveArrayService as ot } from "./utils/nonReactiveArrayService.js";
|
|
80
|
+
import { ObjectService as tt, createObjectService as it } from "./utils/objectStore.js";
|
|
81
|
+
import { ReactiveArrayService as mt, useReactiveArrayService as at } from "./utils/reactiveArrayService.js";
|
|
82
|
+
import { Colors as lt } from "./utils/types.js";
|
|
83
|
+
export {
|
|
84
|
+
m as Avatar,
|
|
85
|
+
n as Badge,
|
|
86
|
+
x as Breadcrumb,
|
|
87
|
+
c as Button,
|
|
88
|
+
D as ButtonGroup,
|
|
89
|
+
g as Card,
|
|
90
|
+
Xo as CheckboxInput,
|
|
91
|
+
w as Col,
|
|
92
|
+
lt as Colors,
|
|
93
|
+
d as Command,
|
|
94
|
+
F as CommandDialog,
|
|
95
|
+
C as CommandEmpty,
|
|
96
|
+
R as CommandGroup,
|
|
97
|
+
I as CommandInput,
|
|
98
|
+
V as CommandItem,
|
|
99
|
+
M as CommandList,
|
|
100
|
+
T as CommandSeparator,
|
|
101
|
+
P as CommandShortcut,
|
|
102
|
+
N as Container,
|
|
103
|
+
je as ContextStore,
|
|
104
|
+
He as ContextStoreProvider,
|
|
105
|
+
_ as DFlow,
|
|
106
|
+
K as DFlowControl,
|
|
107
|
+
q as DFlowDataTypeReactiveService,
|
|
108
|
+
Z as DFlowFolder,
|
|
109
|
+
$ as DFlowFolderGroup,
|
|
110
|
+
ee as DFlowFolderItem,
|
|
111
|
+
re as DFlowFunctionReactiveService,
|
|
112
|
+
ae as DFlowMiniMap,
|
|
113
|
+
h as DFlowReactiveService,
|
|
114
|
+
le as DFlowReactiveSuggestionService,
|
|
115
|
+
fe as DFlowSuggestion,
|
|
116
|
+
ce as DFlowSuggestionType,
|
|
117
|
+
De as DFlowTypeReactiveService,
|
|
118
|
+
de as DFlowValidation,
|
|
119
|
+
Ce as DFullScreen,
|
|
120
|
+
Ie as DLayout,
|
|
121
|
+
Me as DNamespaceLicenseReactiveService,
|
|
122
|
+
Pe as DNamespaceLicenseView,
|
|
123
|
+
Ne as DNamespaceMemberReactiveService,
|
|
124
|
+
Ae as DNamespaceMemberView,
|
|
125
|
+
Le as DNamespaceProjectReactiveService,
|
|
126
|
+
Ee as DNamespaceProjectView,
|
|
127
|
+
oo as DNamespaceReactiveService,
|
|
128
|
+
wo as DNamespaceRoleReactiveService,
|
|
129
|
+
Fo as DNamespaceRoleView,
|
|
130
|
+
Ro as DNamespaceView,
|
|
131
|
+
Vo as DOrganizationReactiveService,
|
|
132
|
+
To as DOrganizationView,
|
|
133
|
+
bo as DResizableHandle,
|
|
134
|
+
No as DResizablePanel,
|
|
135
|
+
yo as DResizablePanelGroup,
|
|
136
|
+
to as DRuntimeReactiveService,
|
|
137
|
+
Go as DRuntimeView,
|
|
138
|
+
Oo as DUserReactiveService,
|
|
139
|
+
ho as DUserView,
|
|
140
|
+
X as DataTypeView,
|
|
141
|
+
Bo as Dialog,
|
|
142
|
+
jo as DialogClose,
|
|
143
|
+
Ho as DialogContent,
|
|
144
|
+
Uo as DialogDescription,
|
|
145
|
+
Wo as DialogFooter,
|
|
146
|
+
_o as DialogHeader,
|
|
147
|
+
ko as DialogOverlay,
|
|
148
|
+
Ko as DialogPortal,
|
|
149
|
+
Qo as DialogTitle,
|
|
150
|
+
qo as DialogTrigger,
|
|
151
|
+
Zo as EmailInput,
|
|
152
|
+
B as FLOW_EDGE_RAINBOW,
|
|
153
|
+
ke as Flex,
|
|
154
|
+
A as FlowSettingView,
|
|
155
|
+
ge as FlowTypeView,
|
|
156
|
+
G as FlowView,
|
|
157
|
+
ie as FunctionDefinitionView,
|
|
158
|
+
or as Input,
|
|
159
|
+
ir as InputDescription,
|
|
160
|
+
mr as InputLabel,
|
|
161
|
+
nr as InputMessage,
|
|
162
|
+
xr as InputSuggestionMenuContent,
|
|
163
|
+
fr as InputSuggestionMenuContentItems,
|
|
164
|
+
Zr as InspectionSeverity,
|
|
165
|
+
po as Menu,
|
|
166
|
+
mo as MenuArrow,
|
|
167
|
+
ao as MenuContent,
|
|
168
|
+
no as MenuGroup,
|
|
169
|
+
lo as MenuItem,
|
|
170
|
+
xo as MenuLabel,
|
|
171
|
+
fo as MenuPortal,
|
|
172
|
+
co as MenuSeparator,
|
|
173
|
+
uo as MenuSub,
|
|
174
|
+
Do as MenuSubContent,
|
|
175
|
+
so as MenuSubTrigger,
|
|
176
|
+
go as MenuTrigger,
|
|
177
|
+
L as NodeFunctionView,
|
|
178
|
+
O as NodeParameterView,
|
|
179
|
+
et as NonReactiveArrayService,
|
|
180
|
+
ur as NumberInput,
|
|
181
|
+
tt as ObjectService,
|
|
182
|
+
pe as ParameterDefinitionView,
|
|
183
|
+
sr as PasswordInput,
|
|
184
|
+
Sr as PinInput,
|
|
185
|
+
wr as PinInputField,
|
|
186
|
+
vr as PinInputHiddenField,
|
|
187
|
+
yr as Quote,
|
|
188
|
+
Fr as RadioGroup,
|
|
189
|
+
Rr as RadioInput,
|
|
190
|
+
mt as ReactiveArrayService,
|
|
191
|
+
Gr as Row,
|
|
192
|
+
Or as ScrollArea,
|
|
193
|
+
Er as ScrollAreaCorner,
|
|
194
|
+
hr as ScrollAreaScrollbar,
|
|
195
|
+
zr as ScrollAreaThumb,
|
|
196
|
+
Br as ScrollAreaViewport,
|
|
197
|
+
Hr as SegmentedControl,
|
|
198
|
+
Ur as SegmentedControlItem,
|
|
199
|
+
_r as Spacing,
|
|
200
|
+
Vr as SwitchInput,
|
|
201
|
+
ze as Text,
|
|
202
|
+
Tr as TextInput,
|
|
203
|
+
Kr as Tooltip,
|
|
204
|
+
Qr as TooltipArrow,
|
|
205
|
+
qr as TooltipContent,
|
|
206
|
+
Jr as TooltipPortal,
|
|
207
|
+
Xr as TooltipTrigger,
|
|
208
|
+
ot as createNonReactiveArrayService,
|
|
209
|
+
it as createObjectService,
|
|
210
|
+
$o as emailValidation,
|
|
211
|
+
Qe as getChild,
|
|
212
|
+
qe as getContent,
|
|
213
|
+
Je as getPositionAroundTarget,
|
|
214
|
+
Xe as getPositioning,
|
|
215
|
+
Ye as getWindowPositioning,
|
|
216
|
+
Ze as mergeCode0Props,
|
|
217
|
+
$e as parseUnit,
|
|
218
|
+
rr as setElementKey,
|
|
219
|
+
we as useDFlowValidations,
|
|
220
|
+
j as useFlowEdges,
|
|
221
|
+
U as useFlowNodes,
|
|
222
|
+
br as useForm,
|
|
223
|
+
at as useReactiveArrayService,
|
|
224
|
+
Ue as useService,
|
|
225
|
+
We as useStore
|
|
226
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { __exports as e } from "../../../_virtual/react-compiler-runtime.development.js";
|
|
2
|
+
import a from "react";
|
|
3
|
+
var n;
|
|
4
|
+
function s() {
|
|
5
|
+
return n ? e : (n = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
6
|
+
var t = a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
7
|
+
e.c = function(r) {
|
|
8
|
+
var o = t.H;
|
|
9
|
+
return o === null && console.error(
|
|
10
|
+
`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
11
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
12
|
+
2. You might be breaking the Rules of Hooks
|
|
13
|
+
3. You might have more than one copy of React in the same app
|
|
14
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
|
|
15
|
+
), o.useMemoCache(r);
|
|
16
|
+
};
|
|
17
|
+
})(), e);
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
s as __require
|
|
21
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { __exports as r } from "../../../_virtual/react-compiler-runtime.production.js";
|
|
2
|
+
import o from "react";
|
|
3
|
+
var e;
|
|
4
|
+
function u() {
|
|
5
|
+
if (e) return r;
|
|
6
|
+
e = 1;
|
|
7
|
+
var t = o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
8
|
+
return r.c = function(_) {
|
|
9
|
+
return t.H.useMemoCache(_);
|
|
10
|
+
}, r;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
u as __require
|
|
14
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __module as e } from "../../_virtual/compiler-runtime2.js";
|
|
2
|
+
import { __require as i } from "./cjs/react-compiler-runtime.production.js";
|
|
3
|
+
import { __require as o } from "./cjs/react-compiler-runtime.development.js";
|
|
4
|
+
var r;
|
|
5
|
+
function p() {
|
|
6
|
+
return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = i() : e.exports = o(), e.exports);
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
p as __require
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Type representing a concrete class constructor.
|
|
4
|
+
*/
|
|
5
|
+
export type ConcreteCtor<T> = new (...args: any[]) => T;
|
|
6
|
+
/**
|
|
7
|
+
* Type representing an abstract class constructor.
|
|
8
|
+
*/
|
|
9
|
+
export type AbstractCtor<T> = abstract new (...args: any[]) => T;
|
|
10
|
+
/**
|
|
11
|
+
* A class constructor type that can be either concrete or abstract.
|
|
12
|
+
*/
|
|
13
|
+
export type ServiceClass<T> = ConcreteCtor<T> | AbstractCtor<T>;
|
|
14
|
+
/**
|
|
15
|
+
* Tuple representing a service entry: [store, service].
|
|
16
|
+
*/
|
|
17
|
+
export type ServiceEntry<T = any> = [any, T];
|
|
18
|
+
/**
|
|
19
|
+
* Map storing service entries, keyed by their (abstract or concrete) class constructor.
|
|
20
|
+
*/
|
|
21
|
+
export type ServiceMap = Map<Function, ServiceEntry>;
|
|
22
|
+
/**
|
|
23
|
+
* React Context for providing and consuming registered services and stores.
|
|
24
|
+
*/
|
|
25
|
+
export declare const ContextStore: React.Context<ServiceMap | null>;
|
|
26
|
+
/**
|
|
27
|
+
* Props for the ContextStoreProvider component.
|
|
28
|
+
* @property services - Array of [store, service] tuples to register.
|
|
29
|
+
* @property children - React children to render within the provider.
|
|
30
|
+
*/
|
|
31
|
+
export type ContextStoreProviderProps = {
|
|
32
|
+
services: ServiceEntry[];
|
|
33
|
+
children: ReactNode;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* ContextStoreProvider
|
|
37
|
+
*
|
|
38
|
+
* Registers all given services and their associated stores in a shared context.
|
|
39
|
+
*
|
|
40
|
+
* Each service is indexed by both its concrete constructor and all abstract or
|
|
41
|
+
* base class constructors in its prototype chain.
|
|
42
|
+
*
|
|
43
|
+
* If multiple services share the same base class, the first one wins (no overwriting).
|
|
44
|
+
*/
|
|
45
|
+
export declare const ContextStoreProvider: React.FC<ContextStoreProviderProps>;
|
|
46
|
+
/**
|
|
47
|
+
* Retrieves a service instance from the ContextStore by its class.
|
|
48
|
+
* Works with both concrete classes and abstract base classes.
|
|
49
|
+
*
|
|
50
|
+
* @param ServiceClass - The (abstract or concrete) class of the desired service.
|
|
51
|
+
* @returns The matching service instance.
|
|
52
|
+
* @throws If the context or service cannot be found.
|
|
53
|
+
*/
|
|
54
|
+
export declare const useService: <T>(ServiceClass: ServiceClass<T>) => T;
|
|
55
|
+
/**
|
|
56
|
+
* Retrieves the store associated with a (concrete or abstract) service class.
|
|
57
|
+
*
|
|
58
|
+
* @param ServiceClass - The (abstract or concrete) class whose store should be retrieved.
|
|
59
|
+
* @returns The store instance associated with the given service.
|
|
60
|
+
* @throws If the context or store cannot be found.
|
|
61
|
+
*/
|
|
62
|
+
export declare const useStore: <T>(ServiceClass: ServiceClass<T>) => any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../_virtual/compiler-runtime.js";
|
|
3
|
+
import { createContext as d, useContext as a } from "react";
|
|
4
|
+
const u = d(null);
|
|
5
|
+
function C(n) {
|
|
6
|
+
const t = [];
|
|
7
|
+
let o = Object.getPrototypeOf(n);
|
|
8
|
+
for (; o && o.constructor && o !== Object.prototype; ) {
|
|
9
|
+
const e = o.constructor;
|
|
10
|
+
t.push(e), o = Object.getPrototypeOf(o);
|
|
11
|
+
}
|
|
12
|
+
return t;
|
|
13
|
+
}
|
|
14
|
+
const g = (n) => {
|
|
15
|
+
const t = i.c(5), {
|
|
16
|
+
services: o,
|
|
17
|
+
children: e
|
|
18
|
+
} = n;
|
|
19
|
+
let r;
|
|
20
|
+
t[0] !== o ? (r = /* @__PURE__ */ new Map(), o.forEach((h) => {
|
|
21
|
+
const [p, f] = h, m = f.constructor;
|
|
22
|
+
r.has(m) || r.set(m, [p, f]);
|
|
23
|
+
const l = C(f);
|
|
24
|
+
for (const w of l)
|
|
25
|
+
r.has(w) || r.set(w, [p, f]);
|
|
26
|
+
}), t[0] = o, t[1] = r) : r = t[1];
|
|
27
|
+
const c = r;
|
|
28
|
+
let s;
|
|
29
|
+
return t[2] !== e || t[3] !== c ? (s = /* @__PURE__ */ x(u.Provider, { value: c, children: e }), t[2] = e, t[3] = c, t[4] = s) : s = t[4], s;
|
|
30
|
+
}, O = (n) => {
|
|
31
|
+
const t = i.c(3), o = a(u);
|
|
32
|
+
if (!o)
|
|
33
|
+
throw new Error("ContextStore not found");
|
|
34
|
+
let e;
|
|
35
|
+
t[0] !== n || t[1] !== o ? (e = o.get(n), t[0] = n, t[1] = o, t[2] = e) : e = t[2];
|
|
36
|
+
const r = e;
|
|
37
|
+
if (!r) {
|
|
38
|
+
const c = n?.name ?? "UnknownServiceClass";
|
|
39
|
+
throw new Error(`Service not found for ${c}`);
|
|
40
|
+
}
|
|
41
|
+
return r[1];
|
|
42
|
+
}, P = (n) => {
|
|
43
|
+
const t = i.c(3), o = a(u);
|
|
44
|
+
if (!o)
|
|
45
|
+
throw new Error("ContextStore not found");
|
|
46
|
+
let e;
|
|
47
|
+
t[0] !== n || t[1] !== o ? (e = o.get(n), t[0] = n, t[1] = o, t[2] = e) : e = t[2];
|
|
48
|
+
const r = e;
|
|
49
|
+
if (!r) {
|
|
50
|
+
const c = n?.name ?? "UnknownServiceClass";
|
|
51
|
+
throw new Error(`Store not found for ${c}`);
|
|
52
|
+
}
|
|
53
|
+
return r[0];
|
|
54
|
+
};
|
|
55
|
+
export {
|
|
56
|
+
u as ContextStore,
|
|
57
|
+
g as ContextStoreProvider,
|
|
58
|
+
O as useService,
|
|
59
|
+
P as useStore
|
|
60
|
+
};
|