@intlayer/design-system 3.5.9 → 3.5.11
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/.vite/manifest.json +200 -200
- package/dist/Form-BoWOdiwq.js +321 -0
- package/dist/Form-BoWOdiwq.js.map +1 -0
- package/dist/Form-CSMiPnjC.cjs +320 -0
- package/dist/Form-CSMiPnjC.cjs.map +1 -0
- package/dist/Form-DlqjTz3u.js +321 -0
- package/dist/Form-DlqjTz3u.js.map +1 -0
- package/dist/Form-Dv0uHqbL.cjs +320 -0
- package/dist/Form-Dv0uHqbL.cjs.map +1 -0
- package/dist/components/Accordion/Accordion.cjs +1 -1
- package/dist/components/Accordion/Accordion.mjs +1 -1
- package/dist/components/Auth/AuthModal/index.cjs +1 -1
- package/dist/components/Auth/AuthModal/index.mjs +1 -1
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.cjs +1 -1
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.mjs +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs +2 -2
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs +2 -2
- package/dist/components/Auth/ChangePasswordForm/useChangePasswordSchema.d.ts +4 -4
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/assets/GithubLogo.cjs +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/assets/GithubLogo.mjs +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.cjs +1 -1
- package/dist/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.mjs +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs +2 -2
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs +2 -2
- package/dist/components/Auth/SignInForm/SignInForm.cjs +2 -2
- package/dist/components/Auth/SignInForm/SignInForm.mjs +2 -2
- package/dist/components/Auth/SignUpForm/SignUpForm.cjs +2 -2
- package/dist/components/Auth/SignUpForm/SignUpForm.mjs +2 -2
- package/dist/components/Auth/useAuth/useCSRF.d.ts +1 -1
- package/dist/components/Auth/useAuth/useOAuth2.d.ts +1 -1
- package/dist/components/Avatar/index.cjs +1 -1
- package/dist/components/Avatar/index.mjs +1 -1
- package/dist/components/Badge/index.cjs +1 -1
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Breadcrumb/index.cjs +1 -1
- package/dist/components/Breadcrumb/index.mjs +1 -1
- package/dist/components/Button/Button.cjs +1 -1
- package/dist/components/Button/Button.mjs +1 -1
- package/dist/components/ClickOutsideDiv/index.cjs +1 -1
- package/dist/components/ClickOutsideDiv/index.mjs +1 -1
- package/dist/components/Command/index.cjs +1 -1
- package/dist/components/Command/index.mjs +1 -1
- package/dist/components/Container/index.cjs +1 -1
- package/dist/components/Container/index.mjs +1 -1
- package/dist/components/ContentEditor/ContentEditor.cjs +1 -1
- package/dist/components/ContentEditor/ContentEditor.mjs +1 -1
- package/dist/components/ContentEditor/ContentEditorTextArea.cjs +1 -1
- package/dist/components/ContentEditor/ContentEditorTextArea.mjs +1 -1
- package/dist/components/ContentSelector/ContentSelector.cjs +1 -1
- package/dist/components/ContentSelector/ContentSelector.mjs +1 -1
- package/dist/components/CopyToClipboard/index.cjs +1 -1
- package/dist/components/CopyToClipboard/index.mjs +1 -1
- package/dist/components/DictionaryEditor/DictionaryEditor.cjs +2 -2
- package/dist/components/DictionaryEditor/DictionaryEditor.mjs +2 -2
- package/dist/components/DictionaryEditor/ItemLayout.cjs +1 -1
- package/dist/components/DictionaryEditor/ItemLayout.mjs +1 -1
- package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.cjs +2 -2
- package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.mjs +2 -2
- package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.cjs +2 -2
- package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.mjs +2 -2
- package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.cjs +2 -2
- package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.mjs +2 -2
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs +1 -1
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs +1 -1
- package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.cjs +2 -2
- package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.mjs +2 -2
- package/dist/components/DictionaryEditor/NodeWrapper/index.cjs +2 -2
- package/dist/components/DictionaryEditor/NodeWrapper/index.mjs +2 -2
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs +2 -2
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs +2 -2
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs +0 -6
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs.map +1 -1
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs +0 -6
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/JSONEditor.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/NodeEditor.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/NodeEditor.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.mjs +1 -1
- package/dist/components/DropDown/index.cjs +1 -1
- package/dist/components/DropDown/index.mjs +1 -1
- package/dist/components/EditableField/EditableFieldInput.cjs +1 -1
- package/dist/components/EditableField/EditableFieldInput.mjs +1 -1
- package/dist/components/EditableField/EditableFieldLayout.cjs +1 -1
- package/dist/components/EditableField/EditableFieldLayout.mjs +1 -1
- package/dist/components/EditableField/EditableFieldTextArea.cjs +1 -1
- package/dist/components/EditableField/EditableFieldTextArea.mjs +1 -1
- package/dist/components/Flags/Flag.cjs +1 -1
- package/dist/components/Flags/Flag.mjs +1 -1
- package/dist/components/Footer/index.cjs +1 -1
- package/dist/components/Footer/index.mjs +1 -1
- package/dist/components/Form/Form.cjs +2 -2
- package/dist/components/Form/Form.mjs +2 -2
- package/dist/components/Form/FormBase.cjs +1 -1
- package/dist/components/Form/FormBase.d.ts.map +1 -1
- package/dist/components/Form/FormBase.mjs +1 -1
- package/dist/components/Form/FormControl.cjs +1 -1
- package/dist/components/Form/FormControl.mjs +1 -1
- package/dist/components/Form/FormDescription.cjs +1 -1
- package/dist/components/Form/FormDescription.mjs +1 -1
- package/dist/components/Form/FormField.cjs +1 -1
- package/dist/components/Form/FormField.mjs +1 -1
- package/dist/components/Form/FormItem.cjs +1 -1
- package/dist/components/Form/FormItem.mjs +1 -1
- package/dist/components/Form/FormLabel.cjs +1 -1
- package/dist/components/Form/FormLabel.mjs +1 -1
- package/dist/components/Form/FormMessage.cjs +1 -1
- package/dist/components/Form/FormMessage.mjs +1 -1
- package/dist/components/Form/elements/AutoSizeTextAreaElement.cjs +2 -2
- package/dist/components/Form/elements/AutoSizeTextAreaElement.mjs +2 -2
- package/dist/components/Form/elements/CheckboxElement.cjs +2 -2
- package/dist/components/Form/elements/CheckboxElement.mjs +2 -2
- package/dist/components/Form/elements/EditableFieldInputElement.cjs +2 -2
- package/dist/components/Form/elements/EditableFieldInputElement.mjs +2 -2
- package/dist/components/Form/elements/EditableFieldTextAreaElement.cjs +2 -2
- package/dist/components/Form/elements/EditableFieldTextAreaElement.mjs +2 -2
- package/dist/components/Form/elements/FormElement.cjs +2 -2
- package/dist/components/Form/elements/FormElement.mjs +2 -2
- package/dist/components/Form/elements/FormElementWrapper.cjs +1 -1
- package/dist/components/Form/elements/FormElementWrapper.mjs +1 -1
- package/dist/components/Form/elements/InputElement.cjs +2 -2
- package/dist/components/Form/elements/InputElement.mjs +2 -2
- package/dist/components/Form/elements/InputPasswordElement.cjs +2 -2
- package/dist/components/Form/elements/InputPasswordElement.mjs +2 -2
- package/dist/components/Form/elements/MultiselectElement.cjs +2 -2
- package/dist/components/Form/elements/MultiselectElement.mjs +2 -2
- package/dist/components/Form/elements/SelectElement.cjs +2 -2
- package/dist/components/Form/elements/SelectElement.mjs +2 -2
- package/dist/components/Form/elements/SwitchSelectorElement.cjs +2 -2
- package/dist/components/Form/elements/SwitchSelectorElement.mjs +2 -2
- package/dist/components/Form/elements/TextAreaElement.cjs +2 -2
- package/dist/components/Form/elements/TextAreaElement.mjs +2 -2
- package/dist/components/Form/elements/index.cjs +1 -1
- package/dist/components/Form/elements/index.mjs +1 -1
- package/dist/components/Form/index.cjs +1 -1
- package/dist/components/Form/index.mjs +1 -1
- package/dist/components/Form/layout/FormItemLayout.cjs +2 -2
- package/dist/components/Form/layout/FormItemLayout.mjs +2 -2
- package/dist/components/Form/layout/FormLabelLayout.cjs +1 -1
- package/dist/components/Form/layout/FormLabelLayout.mjs +1 -1
- package/dist/components/Form/layout/RequiredStar.cjs +1 -1
- package/dist/components/Form/layout/RequiredStar.mjs +1 -1
- package/dist/components/Form/layout/index.cjs +1 -1
- package/dist/components/Form/layout/index.mjs +1 -1
- package/dist/components/Headers/index.cjs +1 -1
- package/dist/components/Headers/index.mjs +1 -1
- package/dist/components/IDE/Code.cjs +1 -1
- package/dist/components/IDE/Code.mjs +1 -1
- package/dist/components/IDE/CodeBlockClient.cjs +1 -1
- package/dist/components/IDE/CodeBlockClient.mjs +1 -1
- package/dist/components/IDE/CodeBlockServer.cjs +1 -1
- package/dist/components/IDE/CodeBlockServer.mjs +1 -1
- package/dist/components/IDE/CodeConditionalRenderer.cjs +1 -1
- package/dist/components/IDE/CodeConditionalRenderer.mjs +1 -1
- package/dist/components/IDE/CodeContext.cjs +1 -1
- package/dist/components/IDE/CodeContext.mjs +1 -1
- package/dist/components/IDE/CodeFormatSelector.cjs +1 -1
- package/dist/components/IDE/CodeFormatSelector.mjs +1 -1
- package/dist/components/IDE/ContentDeclarationFormatSelector.cjs +1 -1
- package/dist/components/IDE/ContentDeclarationFormatSelector.mjs +1 -1
- package/dist/components/IDE/CopyButton.cjs +1 -1
- package/dist/components/IDE/CopyButton.mjs +1 -1
- package/dist/components/IDE/FileList.cjs +1 -1
- package/dist/components/IDE/FileList.mjs +1 -1
- package/dist/components/IDE/FileTree.cjs +1 -1
- package/dist/components/IDE/FileTree.mjs +1 -1
- package/dist/components/IDE/IDE.cjs +1 -1
- package/dist/components/IDE/IDE.mjs +1 -1
- package/dist/components/IDE/MarkDownRender.cjs +1 -1
- package/dist/components/IDE/MarkDownRender.mjs +1 -1
- package/dist/components/IDE/MonacoCode.cjs +1 -1
- package/dist/components/IDE/MonacoCode.mjs +1 -1
- package/dist/components/IDE/PackageManagerSelector.cjs +1 -1
- package/dist/components/IDE/PackageManagerSelector.mjs +1 -1
- package/dist/components/InformationTag/index.cjs +1 -1
- package/dist/components/InformationTag/index.mjs +1 -1
- package/dist/components/Input/Checkbox.cjs +1 -1
- package/dist/components/Input/Checkbox.mjs +1 -1
- package/dist/components/Input/Input.cjs +1 -1
- package/dist/components/Input/Input.mjs +1 -1
- package/dist/components/Input/InputPassword.cjs +1 -1
- package/dist/components/Input/InputPassword.mjs +1 -1
- package/dist/components/Label/index.cjs +1 -1
- package/dist/components/Label/index.mjs +1 -1
- package/dist/components/Link/Link.cjs +1 -1
- package/dist/components/Link/Link.mjs +1 -1
- package/dist/components/Loader/index.cjs +1 -1
- package/dist/components/Loader/index.mjs +1 -1
- package/dist/components/Loader/spinner.cjs +1 -1
- package/dist/components/Loader/spinner.mjs +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.cjs +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.mjs +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs +1 -1
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +1 -1
- package/dist/components/Logo/LogoCircle.cjs +1 -1
- package/dist/components/Logo/LogoCircle.mjs +1 -1
- package/dist/components/Logo/LogoNoFrame.cjs +1 -1
- package/dist/components/Logo/LogoNoFrame.mjs +1 -1
- package/dist/components/Logo/LogoSquare.cjs +1 -1
- package/dist/components/Logo/LogoSquare.mjs +1 -1
- package/dist/components/Logo/LogoSquircle.cjs +1 -1
- package/dist/components/Logo/LogoSquircle.mjs +1 -1
- package/dist/components/Logo/LogoTextOnly.cjs +1 -1
- package/dist/components/Logo/LogoTextOnly.mjs +1 -1
- package/dist/components/Logo/LogoWithTextBelowCircle.cjs +1 -1
- package/dist/components/Logo/LogoWithTextBelowCircle.mjs +1 -1
- package/dist/components/Logo/LogoWithTextBelowNoFrame.cjs +1 -1
- package/dist/components/Logo/LogoWithTextBelowNoFrame.mjs +1 -1
- package/dist/components/Logo/LogoWithTextBelowSquircle.cjs +1 -1
- package/dist/components/Logo/LogoWithTextBelowSquircle.mjs +1 -1
- package/dist/components/Logo/LogoWithTextCircle.cjs +1 -1
- package/dist/components/Logo/LogoWithTextCircle.mjs +1 -1
- package/dist/components/Logo/LogoWithTextNoFrame.cjs +1 -1
- package/dist/components/Logo/LogoWithTextNoFrame.mjs +1 -1
- package/dist/components/Logo/LogoWithTextSquircle.cjs +1 -1
- package/dist/components/Logo/LogoWithTextSquircle.mjs +1 -1
- package/dist/components/Logo/index.cjs +1 -1
- package/dist/components/Logo/index.mjs +1 -1
- package/dist/components/MarkDownRender/index.cjs +1 -1
- package/dist/components/MarkDownRender/index.mjs +1 -1
- package/dist/components/MaxHeightSmoother/index.cjs +1 -1
- package/dist/components/MaxHeightSmoother/index.mjs +1 -1
- package/dist/components/MaxWidthSmoother/index.cjs +1 -1
- package/dist/components/MaxWidthSmoother/index.mjs +1 -1
- package/dist/components/Modal/Modal.cjs +1 -1
- package/dist/components/Modal/Modal.mjs +1 -1
- package/dist/components/Navbar/Burger.cjs +1 -1
- package/dist/components/Navbar/Burger.mjs +1 -1
- package/dist/components/Navbar/DesktopNavbar.cjs +1 -1
- package/dist/components/Navbar/DesktopNavbar.mjs +1 -1
- package/dist/components/Navbar/MobileNavbar.cjs +1 -1
- package/dist/components/Navbar/MobileNavbar.mjs +1 -1
- package/dist/components/Navbar/index.cjs +1 -1
- package/dist/components/Navbar/index.mjs +1 -1
- package/dist/components/Pattern/DotPattern.cjs +1 -1
- package/dist/components/Pattern/DotPattern.mjs +1 -1
- package/dist/components/Pattern/GridPattern.cjs +1 -1
- package/dist/components/Pattern/GridPattern.mjs +1 -1
- package/dist/components/Pattern/SpotLight.cjs +1 -1
- package/dist/components/Pattern/SpotLight.mjs +1 -1
- package/dist/components/Popover/index.cjs +1 -1
- package/dist/components/Popover/index.mjs +1 -1
- package/dist/components/PressableSpan/PressableSpan.cjs +1 -1
- package/dist/components/PressableSpan/PressableSpan.mjs +1 -1
- package/dist/components/ProfileDropDown/index.cjs +1 -1
- package/dist/components/ProfileDropDown/index.mjs +1 -1
- package/dist/components/RightDrawer/RightDrawer.cjs +1 -1
- package/dist/components/RightDrawer/RightDrawer.mjs +1 -1
- package/dist/components/Select/Multiselect.cjs +1 -1
- package/dist/components/Select/Multiselect.cjs.map +1 -1
- package/dist/components/Select/Multiselect.mjs +1 -1
- package/dist/components/Select/Select.cjs +1 -1
- package/dist/components/Select/Select.mjs +1 -1
- package/dist/components/SwitchSelector/index.cjs +1 -1
- package/dist/components/SwitchSelector/index.mjs +1 -1
- package/dist/components/TabSelector/TabSelector.cjs +1 -1
- package/dist/components/TabSelector/TabSelector.mjs +1 -1
- package/dist/components/Tag/index.cjs +1 -1
- package/dist/components/Tag/index.mjs +1 -1
- package/dist/components/TextArea/AutoSizeTextArea.cjs +1 -1
- package/dist/components/TextArea/AutoSizeTextArea.mjs +1 -1
- package/dist/components/TextArea/TextArea.cjs +1 -1
- package/dist/components/TextArea/TextArea.mjs +1 -1
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs +1 -1
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs +1 -1
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.cjs +1 -1
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.mjs +1 -1
- package/dist/components/Toaster/Toast.cjs +1 -1
- package/dist/components/Toaster/Toast.mjs +1 -1
- package/dist/components/Toaster/Toaster.cjs +1 -1
- package/dist/components/Toaster/Toaster.mjs +1 -1
- package/dist/components/WithResizer/index.cjs +1 -1
- package/dist/components/WithResizer/index.mjs +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/intlayerAPIHooks.cjs +1 -1
- package/dist/hooks/intlayerAPIHooks.d.ts +48 -48
- package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
- package/dist/hooks/intlayerAPIHooks.mjs +1 -1
- package/dist/hooks/useAsync/useAsyncStateStore.cjs +1 -1
- package/dist/hooks/useAsync/useAsyncStateStore.mjs +1 -1
- package/dist/hooks/useGetAllDictionaries.d.ts +1 -1
- package/dist/hooks/useGetAllDictionaries.d.ts.map +1 -1
- package/dist/hooks/useIntlayerAPI.cjs.map +1 -1
- package/dist/hooks/useIntlayerAPI.d.ts +58 -58
- package/dist/hooks/useIntlayerAPI.mjs.map +1 -1
- package/dist/index-B2UElBcQ.cjs +200 -0
- package/dist/index-B2UElBcQ.cjs.map +1 -0
- package/dist/index-BMzh1_UJ.js +201 -0
- package/dist/index-BMzh1_UJ.js.map +1 -0
- package/dist/index-BdTa-9zc.js +201 -0
- package/dist/index-BdTa-9zc.js.map +1 -0
- package/dist/index-DFc7og1d.cjs.map +1 -1
- package/dist/index-DTCehvKe.cjs +200 -0
- package/dist/index-DTCehvKe.cjs.map +1 -0
- package/dist/index-DcWYZrJW.js.map +1 -1
- package/dist/jsx-runtime-CL03FswV.cjs +506 -0
- package/dist/jsx-runtime-CL03FswV.cjs.map +1 -0
- package/dist/jsx-runtime-CgFM7lM3.cjs +934 -0
- package/dist/jsx-runtime-CgFM7lM3.cjs.map +1 -0
- package/dist/jsx-runtime-DQkoUcjV.js +935 -0
- package/dist/jsx-runtime-DQkoUcjV.js.map +1 -0
- package/dist/jsx-runtime-kmx34TxC.js +507 -0
- package/dist/jsx-runtime-kmx34TxC.js.map +1 -0
- package/dist/shallow-lhDIFtEp.cjs.map +1 -1
- package/dist/shallow-m9BpCkKh.js.map +1 -1
- package/dist/tailwind.config.cjs.map +1 -1
- package/dist/tailwind.config.mjs.map +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/zod-BV4nCGJE.js.map +1 -1
- package/dist/zod-DSrtTSD_.cjs.map +1 -1
- package/package.json +54 -60
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Multiselect.cjs","sources":["../../../src/components/Select/Multiselect.tsx"],"sourcesContent":["/* eslint-disable sonarjs/no-nested-conditional */\n/* eslint-disable sonarjs/cognitive-complexity */\n'use client';\n\nimport { X as RemoveIcon, Check } from 'lucide-react';\nimport {\n type ComponentPropsWithoutRef,\n type Dispatch,\n type ElementRef,\n type FC,\n type HTMLAttributes,\n type KeyboardEvent,\n type MouseEventHandler,\n type RefObject,\n type SetStateAction,\n type SyntheticEvent,\n createContext,\n forwardRef,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport { cn } from '../../utils/cn';\nimport { Badge } from '../Badge';\nimport { Command, CommandRoot } from '../Command';\n\ntype MultiSelectContextProps = {\n value: string[];\n onValueChange: (value: string) => void;\n open: boolean;\n setOpen: (value: boolean) => void;\n inputValue: string;\n setInputValue: Dispatch<SetStateAction<string>>;\n activeIndex: number;\n setActiveIndex: Dispatch<SetStateAction<number>>;\n ref: RefObject<HTMLInputElement>;\n handleSelect: (e: SyntheticEvent<HTMLInputElement>) => void;\n};\n\nconst MultiSelectContext = createContext<MultiSelectContextProps | null>(null);\n\nconst useMultiSelect = () => {\n const context = useContext(MultiSelectContext);\n if (!context) {\n throw new Error('useMultiSelect must be used within MultiSelectProvider');\n }\n return context;\n};\n\n/**\n * MultiSelect Docs: {@link: https://shadcn-extension.vercel.app/docs/multi-select}\n */\n\ntype MultiSelectProps = ComponentPropsWithoutRef<typeof CommandRoot> & {\n values?: string[];\n defaultValues?: string[];\n onValueChange?: (value: string[]) => void;\n loop?: boolean;\n};\n\n/**\n *\n * Usage example:\n * ```jsx\n * <MultiSelect\n * values={value}\n * onValuesChange={setValue}\n * loop\n * >\n * <MultiSelectTrigger>\n * <MultiSelectInput placeholder=\"Select your framework\" />\n * </MultiSelectTrigger>\n * <MultiSelectContent>\n * <MultiSelectList>\n * <MultiSelectItem value={\"React\"}>React</MultiSelectItem>\n * <MultiSelectItem value={\"Vue\"}>Vue</MultiSelectItem>\n * <MultiSelectItem value={\"Svelte\"}>Svelte</MultiSelectItem>\n * </MultiSelectList>\n * </MultiSelectContent>\n * </MultiSelect>\n * ```\n */\nconst MultiSelectRoot: FC<MultiSelectProps> = ({\n values: valuesProp,\n defaultValues,\n onValueChange: onValueChange,\n loop = false,\n className,\n children,\n dir,\n ...props\n}) => {\n const [value, setValue] = useState<string[]>(defaultValues ?? []);\n const [inputValue, setInputValue] = useState('');\n const [open, setOpen] = useState<boolean>(false);\n const [activeIndex, setActiveIndex] = useState<number>(-1);\n const inputRef = useRef<HTMLInputElement>(null);\n const [isValueSelected, setIsValueSelected] = useState(false);\n const [selectedValue, setSelectedValue] = useState('');\n\n useEffect(() => {\n if (valuesProp) {\n setValue(valuesProp);\n }\n }, [valuesProp]);\n\n const onValueChangeHandler = useCallback(\n (val: string) => {\n if (value.includes(val)) {\n const newValue = value.filter((item) => item !== val);\n setValue(newValue);\n onValueChange?.(newValue);\n } else {\n const newValue = [...value, val];\n setValue(newValue);\n onValueChange?.(newValue);\n }\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [value]\n );\n\n const handleSelect = useCallback(\n (e: SyntheticEvent<HTMLInputElement>) => {\n e.preventDefault();\n const target = e.currentTarget;\n const selection = target.value.substring(\n target.selectionStart ?? 0,\n target.selectionEnd ?? 0\n );\n\n setSelectedValue(selection);\n setIsValueSelected(selection === inputValue);\n },\n [inputValue]\n );\n\n const handleKeyDown = useCallback(\n (e: KeyboardEvent<HTMLDivElement>) => {\n e.stopPropagation();\n const target = inputRef.current;\n\n if (!target) return;\n\n const moveNext = () => {\n const nextIndex = activeIndex + 1;\n setActiveIndex(\n nextIndex > value.length - 1 ? (loop ? 0 : -1) : nextIndex\n );\n };\n\n const movePrev = () => {\n const prevIndex = activeIndex - 1;\n setActiveIndex(prevIndex < 0 ? value.length - 1 : prevIndex);\n };\n\n const moveCurrent = () => {\n const newIndex =\n activeIndex - 1 <= 0\n ? value.length - 1 === 0\n ? -1\n : 0\n : activeIndex - 1;\n setActiveIndex(newIndex);\n };\n\n switch (e.key) {\n case 'ArrowLeft':\n if (dir === 'rtl') {\n if (value.length > 0 && (activeIndex !== -1 || loop)) {\n moveNext();\n }\n } else if (value.length > 0 && target.selectionStart === 0) {\n movePrev();\n }\n break;\n\n case 'ArrowRight':\n if (dir === 'rtl') {\n if (value.length > 0 && target.selectionStart === 0) {\n movePrev();\n }\n } else if (value.length > 0 && (activeIndex !== -1 || loop)) {\n moveNext();\n }\n break;\n\n case 'Backspace':\n case 'Delete':\n if (value.length > 0) {\n if (activeIndex !== -1 && activeIndex < value.length) {\n onValueChangeHandler(value[activeIndex]);\n moveCurrent();\n } else if (\n (target.selectionStart === 0 && selectedValue === inputValue) ||\n isValueSelected\n ) {\n onValueChangeHandler(value[value.length - 1]);\n }\n }\n break;\n\n case 'Enter':\n setOpen(true);\n break;\n\n case 'Escape':\n if (activeIndex !== -1) {\n setActiveIndex(-1);\n } else if (open) {\n setOpen(false);\n }\n break;\n }\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [value, inputValue, activeIndex, loop]\n );\n\n const memoValue = useMemo(\n () => ({\n value,\n onValueChange: onValueChangeHandler,\n open,\n setOpen,\n inputValue,\n setInputValue,\n activeIndex,\n setActiveIndex,\n ref: inputRef,\n handleSelect,\n }),\n [\n value,\n onValueChangeHandler,\n open,\n setOpen,\n inputValue,\n setInputValue,\n activeIndex,\n setActiveIndex,\n inputRef,\n handleSelect,\n ]\n );\n\n return (\n <MultiSelectContext.Provider value={memoValue}>\n <CommandRoot\n onKeyDown={handleKeyDown}\n className={cn(\n 'flex w-full flex-col gap-2 overflow-visible bg-transparent',\n className\n )}\n dir={dir}\n {...props}\n >\n {children}\n </CommandRoot>\n </MultiSelectContext.Provider>\n );\n};\n\nconst MultiSelectTrigger = forwardRef<\n HTMLDivElement,\n HTMLAttributes<HTMLDivElement> & {\n getBadgeValue?: (value: string) => string;\n validationStyleEnabled?: boolean;\n }\n>(\n (\n {\n className,\n getBadgeValue = (value) => value,\n validationStyleEnabled = false,\n children,\n ...props\n },\n ref\n ) => {\n const { value, onValueChange, activeIndex } = useMultiSelect();\n\n const mousePreventDefault: MouseEventHandler<HTMLButtonElement> =\n useCallback((e) => {\n e.preventDefault();\n e.stopPropagation();\n }, []);\n\n return (\n <div\n ref={ref}\n className={cn(\n 'flex w-full flex-col gap-3 rounded-lg p-1 py-2',\n 'border-input ring-offset-background placeholder:text-muted-foreground focus:ring-ring flex w-full items-center justify-between whitespace-nowrap border px-3 py-2 text-sm focus:outline-none focus:ring-1 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1',\n 'bg-input-background dark:bg-input-background-dark text-input-text dark:text-input-text-dark w-full select-text resize-none rounded-xl border-2 px-2 py-1 text-sm shadow-none outline-0 transition-all',\n 'border-input-border dark:border-input-border-dark hover:border-input-border-hover dark:hover:border-input-border-hover-dark focus:border-input-border-focus dark:focus:border-input-border-focus focus:outline-0 focus:[box-shadow:none]',\n 'aria-[invalid=true]:border-error dark:aria-[invalid=true]:border-error-dark',\n validationStyleEnabled &&\n 'valid:border-success dark:valid:border-success-dark invalid:border-error dark:invalid:border-error-dark',\n className\n )}\n {...props}\n >\n {value.length > 0 && (\n <div className=\"flex w-full flex-wrap gap-1\">\n {value.map((item, index) => (\n <Badge\n key={item}\n className={cn(\n 'flex items-center gap-1 rounded-xl px-1',\n activeIndex === index && 'ring-muted-foreground ring-2'\n )}\n color=\"text\"\n >\n <span className=\"text-xs\">{getBadgeValue(item)}</span>\n <button\n aria-label={`Remove ${item} option`}\n aria-roledescription=\"button to remove option\"\n onMouseDown={mousePreventDefault}\n onClick={() => onValueChange(item)}\n >\n <span className=\"sr-only\">Remove {item} option</span>\n <RemoveIcon className=\"size-4 cursor-pointer\" />\n </button>\n </Badge>\n ))}\n </div>\n )}\n {children}\n </div>\n );\n }\n);\n\nMultiSelectTrigger.displayName = 'MultiSelectTrigger';\n\nconst MultiSelectInput: FC<ComponentPropsWithoutRef<typeof Command.Input>> = ({\n className,\n ...props\n}) => {\n const {\n setOpen,\n inputValue,\n setInputValue,\n activeIndex,\n setActiveIndex,\n handleSelect,\n ref: inputRef,\n } = useMultiSelect();\n\n return (\n <Command.Input\n {...props}\n tabIndex={0}\n ref={inputRef}\n value={inputValue}\n onValueChange={activeIndex === -1 ? setInputValue : undefined}\n onSelect={handleSelect}\n onBlur={() => setOpen(false)}\n onFocus={() => setOpen(true)}\n onClick={() => setActiveIndex(-1)}\n className={cn(\n 'ml-2 flex-1 cursor-pointer outline-none',\n className,\n activeIndex !== -1 && 'caret-transparent'\n )}\n />\n );\n};\n\nMultiSelectInput.displayName = 'MultiSelectInput';\n\nconst MultiSelectContent = forwardRef<\n HTMLDivElement,\n HTMLAttributes<HTMLDivElement>\n>(({ children }, ref) => {\n const { open } = useMultiSelect();\n return (\n <div ref={ref} className=\"relative\">\n {open && children}\n </div>\n );\n});\n\nMultiSelectContent.displayName = 'MultiSelectContent';\n\nconst MultiSelectList = forwardRef<\n ElementRef<typeof Command.List>,\n ComponentPropsWithoutRef<typeof Command.List>\n>(({ className, children }, ref) => (\n <Command.List\n ref={ref}\n className={cn(\n 'border-muted bg-input-background dark:bg-input-background-dark absolute top-0 z-10 flex w-full flex-col gap-2 rounded-lg border p-2 shadow-md transition-colors',\n className\n )}\n >\n {children}\n <Command.Empty>\n <span className=\"text-muted-foreground\">No results found</span>\n </Command.Empty>\n </Command.List>\n));\n\nMultiSelectList.displayName = 'MultiSelectList';\n\nconst MultiSelectItem = forwardRef<\n ElementRef<typeof Command.Item>,\n { value: string } & ComponentPropsWithoutRef<typeof Command.Item>\n>(({ className, value, children, ...props }, ref) => {\n const { value: Options, onValueChange, setInputValue } = useMultiSelect();\n\n const mousePreventDefault: MouseEventHandler<HTMLDivElement> = useCallback(\n (e) => {\n e.preventDefault();\n e.stopPropagation();\n },\n []\n );\n\n const isIncluded = Options.includes(value);\n return (\n <Command.Item\n ref={ref}\n {...props}\n onSelect={() => {\n onValueChange(value);\n setInputValue('');\n }}\n className={cn(\n 'flex cursor-pointer justify-between rounded-lg px-2 py-1 transition-colors',\n 'hover:bg-neutral/10 dark:hover:bg-neutral-dark/10',\n className,\n isIncluded && 'opacity-50',\n props.disabled && 'cursor-not-allowed opacity-50'\n )}\n onMouseDown={mousePreventDefault}\n >\n {children}\n {isIncluded && <Check className=\"size-4\" />}\n </Command.Item>\n );\n});\n\nMultiSelectItem.displayName = 'MultiSelectItem';\n\ntype MultiSelectType = typeof MultiSelectRoot & {\n Trigger: typeof MultiSelectTrigger;\n Input: typeof MultiSelectInput;\n Content: typeof MultiSelectContent;\n List: typeof MultiSelectList;\n Item: typeof MultiSelectItem;\n};\n\n/**\n *\n * Usage example:\n * ```jsx\n * <MultiSelect\n * values={value}\n * onValuesChange={setValue}\n * loop\n * >\n * <MultiSelect.Trigger>\n * <MultiSelect.Input placeholder=\"Select your framework\" />\n * </MultiSelect.Trigger>\n * <MultiSelect.Content>\n * <MultiSelect.List>\n * <MultiSelect.Item value={\"React\"}>React</MultiSelect.Item>\n * <MultiSelect.Item value={\"Vue\"}>Vue</MultiSelect.Item>\n * <MultiSelect.Item value={\"Svelte\"}>Svelte</MultiSelect.Item>\n * </MultiSelect.List>\n * </MultiSelect.Content>\n * </MultiSelect>\n * ```\n */\nexport const MultiSelect = MultiSelectRoot as MultiSelectType;\nMultiSelect.Trigger = MultiSelectTrigger;\nMultiSelect.Input = MultiSelectInput;\nMultiSelect.Content = MultiSelectContent;\nMultiSelect.List = MultiSelectList;\nMultiSelect.Item = MultiSelectItem;\n"],"names":["createContext","useContext","useState","useRef","useEffect","useCallback","useMemo","jsx","CommandRoot","cn","forwardRef","jsxs","Badge","RemoveIcon","Command","Check"],"mappings":";;;;;;;;;AA0CA,MAAM,qBAAqBA,yBAA8C,IAAI;AAE7E,MAAM,iBAAiB,MAAM;AACrB,QAAA,UAAUC,sBAAW,kBAAkB;AAC7C,MAAI,CAAC,SAAS;AACN,UAAA,IAAI,MAAM,wDAAwD;AAAA,EAAA;AAEnE,SAAA;AACT;AAmCA,MAAM,kBAAwC,CAAC;AAAA,EAC7C,QAAQ;AAAA,EACR;AAAA,EACA;AAAA,EACA,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,CAAC,OAAO,QAAQ,IAAIC,WAAAA,SAAmB,iBAAiB,CAAA,CAAE;AAChE,QAAM,CAAC,YAAY,aAAa,IAAIA,WAAAA,SAAS,EAAE;AAC/C,QAAM,CAAC,MAAM,OAAO,IAAIA,WAAAA,SAAkB,KAAK;AAC/C,QAAM,CAAC,aAAa,cAAc,IAAIA,oBAAiB,EAAE;AACnD,QAAA,WAAWC,kBAAyB,IAAI;AAC9C,QAAM,CAAC,iBAAiB,kBAAkB,IAAID,WAAAA,SAAS,KAAK;AAC5D,QAAM,CAAC,eAAe,gBAAgB,IAAIA,WAAAA,SAAS,EAAE;AAErDE,aAAAA,UAAU,MAAM;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AAA;AAAA,IAAA;AAAA,EAC3C;AAEJ,CAAC;AAED,gBAAgB,cAAc;AAgCvB,MAAM,cAAc;AAC3B,YAAY,UAAU;AACtB,YAAY,QAAQ;AACpB,YAAY,UAAU;AACtB,YAAY,OAAO;AACnB,YAAY,OAAO;;"}
|
|
1
|
+
{"version":3,"file":"Multiselect.cjs","sources":["../../../src/components/Select/Multiselect.tsx"],"sourcesContent":["/* eslint-disable sonarjs/no-nested-conditional */\n/* eslint-disable sonarjs/cognitive-complexity */\n'use client';\n\nimport { X as RemoveIcon, Check } from 'lucide-react';\nimport {\n type ComponentPropsWithoutRef,\n type Dispatch,\n type ElementRef,\n type FC,\n type HTMLAttributes,\n type KeyboardEvent,\n type MouseEventHandler,\n type RefObject,\n type SetStateAction,\n type SyntheticEvent,\n createContext,\n forwardRef,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport { cn } from '../../utils/cn';\nimport { Badge } from '../Badge';\nimport { Command, CommandRoot } from '../Command';\n\ntype MultiSelectContextProps = {\n value: string[];\n onValueChange: (value: string) => void;\n open: boolean;\n setOpen: (value: boolean) => void;\n inputValue: string;\n setInputValue: Dispatch<SetStateAction<string>>;\n activeIndex: number;\n setActiveIndex: Dispatch<SetStateAction<number>>;\n ref: RefObject<HTMLInputElement>;\n handleSelect: (e: SyntheticEvent<HTMLInputElement>) => void;\n};\n\nconst MultiSelectContext = createContext<MultiSelectContextProps | null>(null);\n\nconst useMultiSelect = () => {\n const context = useContext(MultiSelectContext);\n if (!context) {\n throw new Error('useMultiSelect must be used within MultiSelectProvider');\n }\n return context;\n};\n\n/**\n * MultiSelect Docs: {@link: https://shadcn-extension.vercel.app/docs/multi-select}\n */\n\ntype MultiSelectProps = ComponentPropsWithoutRef<typeof CommandRoot> & {\n values?: string[];\n defaultValues?: string[];\n onValueChange?: (value: string[]) => void;\n loop?: boolean;\n};\n\n/**\n *\n * Usage example:\n * ```jsx\n * <MultiSelect\n * values={value}\n * onValuesChange={setValue}\n * loop\n * >\n * <MultiSelectTrigger>\n * <MultiSelectInput placeholder=\"Select your framework\" />\n * </MultiSelectTrigger>\n * <MultiSelectContent>\n * <MultiSelectList>\n * <MultiSelectItem value={\"React\"}>React</MultiSelectItem>\n * <MultiSelectItem value={\"Vue\"}>Vue</MultiSelectItem>\n * <MultiSelectItem value={\"Svelte\"}>Svelte</MultiSelectItem>\n * </MultiSelectList>\n * </MultiSelectContent>\n * </MultiSelect>\n * ```\n */\nconst MultiSelectRoot: FC<MultiSelectProps> = ({\n values: valuesProp,\n defaultValues,\n onValueChange: onValueChange,\n loop = false,\n className,\n children,\n dir,\n ...props\n}) => {\n const [value, setValue] = useState<string[]>(defaultValues ?? []);\n const [inputValue, setInputValue] = useState('');\n const [open, setOpen] = useState<boolean>(false);\n const [activeIndex, setActiveIndex] = useState<number>(-1);\n const inputRef = useRef<HTMLInputElement>(null);\n const [isValueSelected, setIsValueSelected] = useState(false);\n const [selectedValue, setSelectedValue] = useState('');\n\n useEffect(() => {\n if (valuesProp) {\n setValue(valuesProp);\n }\n }, [valuesProp]);\n\n const onValueChangeHandler = useCallback(\n (val: string) => {\n if (value.includes(val)) {\n const newValue = value.filter((item) => item !== val);\n setValue(newValue);\n onValueChange?.(newValue);\n } else {\n const newValue = [...value, val];\n setValue(newValue);\n onValueChange?.(newValue);\n }\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [value]\n );\n\n const handleSelect = useCallback(\n (e: SyntheticEvent<HTMLInputElement>) => {\n e.preventDefault();\n const target = e.currentTarget;\n const selection = target.value.substring(\n target.selectionStart ?? 0,\n target.selectionEnd ?? 0\n );\n\n setSelectedValue(selection);\n setIsValueSelected(selection === inputValue);\n },\n [inputValue]\n );\n\n const handleKeyDown = useCallback(\n (e: KeyboardEvent<HTMLDivElement>) => {\n e.stopPropagation();\n const target = inputRef.current;\n\n if (!target) return;\n\n const moveNext = () => {\n const nextIndex = activeIndex + 1;\n setActiveIndex(\n nextIndex > value.length - 1 ? (loop ? 0 : -1) : nextIndex\n );\n };\n\n const movePrev = () => {\n const prevIndex = activeIndex - 1;\n setActiveIndex(prevIndex < 0 ? value.length - 1 : prevIndex);\n };\n\n const moveCurrent = () => {\n const newIndex =\n activeIndex - 1 <= 0\n ? value.length - 1 === 0\n ? -1\n : 0\n : activeIndex - 1;\n setActiveIndex(newIndex);\n };\n\n switch (e.key) {\n case 'ArrowLeft':\n if (dir === 'rtl') {\n if (value.length > 0 && (activeIndex !== -1 || loop)) {\n moveNext();\n }\n } else if (value.length > 0 && target.selectionStart === 0) {\n movePrev();\n }\n break;\n\n case 'ArrowRight':\n if (dir === 'rtl') {\n if (value.length > 0 && target.selectionStart === 0) {\n movePrev();\n }\n } else if (value.length > 0 && (activeIndex !== -1 || loop)) {\n moveNext();\n }\n break;\n\n case 'Backspace':\n case 'Delete':\n if (value.length > 0) {\n if (activeIndex !== -1 && activeIndex < value.length) {\n onValueChangeHandler(value[activeIndex]);\n moveCurrent();\n } else if (\n (target.selectionStart === 0 && selectedValue === inputValue) ||\n isValueSelected\n ) {\n onValueChangeHandler(value[value.length - 1]);\n }\n }\n break;\n\n case 'Enter':\n setOpen(true);\n break;\n\n case 'Escape':\n if (activeIndex !== -1) {\n setActiveIndex(-1);\n } else if (open) {\n setOpen(false);\n }\n break;\n }\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [value, inputValue, activeIndex, loop]\n );\n\n const memoValue = useMemo(\n () => ({\n value,\n onValueChange: onValueChangeHandler,\n open,\n setOpen,\n inputValue,\n setInputValue,\n activeIndex,\n setActiveIndex,\n ref: inputRef,\n handleSelect,\n }),\n [\n value,\n onValueChangeHandler,\n open,\n setOpen,\n inputValue,\n setInputValue,\n activeIndex,\n setActiveIndex,\n inputRef,\n handleSelect,\n ]\n );\n\n return (\n <MultiSelectContext.Provider value={memoValue}>\n <CommandRoot\n onKeyDown={handleKeyDown}\n className={cn(\n 'flex w-full flex-col gap-2 overflow-visible bg-transparent',\n className\n )}\n dir={dir}\n {...props}\n >\n {children}\n </CommandRoot>\n </MultiSelectContext.Provider>\n );\n};\n\nconst MultiSelectTrigger = forwardRef<\n HTMLDivElement,\n HTMLAttributes<HTMLDivElement> & {\n getBadgeValue?: (value: string) => string;\n validationStyleEnabled?: boolean;\n }\n>(\n (\n {\n className,\n getBadgeValue = (value) => value,\n validationStyleEnabled = false,\n children,\n ...props\n },\n ref\n ) => {\n const { value, onValueChange, activeIndex } = useMultiSelect();\n\n const mousePreventDefault: MouseEventHandler<HTMLButtonElement> =\n useCallback((e) => {\n e.preventDefault();\n e.stopPropagation();\n }, []);\n\n return (\n <div\n ref={ref}\n className={cn(\n 'flex w-full flex-col gap-3 rounded-lg p-1 py-2',\n 'border-input ring-offset-background placeholder:text-muted-foreground focus:ring-ring flex w-full items-center justify-between whitespace-nowrap border px-3 py-2 text-sm focus:outline-none focus:ring-1 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1',\n 'bg-input-background dark:bg-input-background-dark text-input-text dark:text-input-text-dark w-full select-text resize-none rounded-xl border-2 px-2 py-1 text-sm shadow-none outline-0 transition-all',\n 'border-input-border dark:border-input-border-dark hover:border-input-border-hover dark:hover:border-input-border-hover-dark focus:border-input-border-focus dark:focus:border-input-border-focus focus:outline-0 focus:[box-shadow:none]',\n 'aria-[invalid=true]:border-error dark:aria-[invalid=true]:border-error-dark',\n validationStyleEnabled &&\n 'valid:border-success dark:valid:border-success-dark invalid:border-error dark:invalid:border-error-dark',\n className\n )}\n {...props}\n >\n {value.length > 0 && (\n <div className=\"flex w-full flex-wrap gap-1\">\n {value.map((item, index) => (\n <Badge\n key={item}\n className={cn(\n 'flex items-center gap-1 rounded-xl px-1',\n activeIndex === index && 'ring-muted-foreground ring-2'\n )}\n color=\"text\"\n >\n <span className=\"text-xs\">{getBadgeValue(item)}</span>\n <button\n aria-label={`Remove ${item} option`}\n aria-roledescription=\"button to remove option\"\n onMouseDown={mousePreventDefault}\n onClick={() => onValueChange(item)}\n >\n <span className=\"sr-only\">Remove {item} option</span>\n <RemoveIcon className=\"size-4 cursor-pointer\" />\n </button>\n </Badge>\n ))}\n </div>\n )}\n {children}\n </div>\n );\n }\n);\n\nMultiSelectTrigger.displayName = 'MultiSelectTrigger';\n\nconst MultiSelectInput: FC<ComponentPropsWithoutRef<typeof Command.Input>> = ({\n className,\n ...props\n}) => {\n const {\n setOpen,\n inputValue,\n setInputValue,\n activeIndex,\n setActiveIndex,\n handleSelect,\n ref: inputRef,\n } = useMultiSelect();\n\n return (\n <Command.Input\n {...props}\n tabIndex={0}\n ref={inputRef}\n value={inputValue}\n onValueChange={activeIndex === -1 ? setInputValue : undefined}\n onSelect={handleSelect}\n onBlur={() => setOpen(false)}\n onFocus={() => setOpen(true)}\n onClick={() => setActiveIndex(-1)}\n className={cn(\n 'ml-2 flex-1 cursor-pointer outline-none',\n className,\n activeIndex !== -1 && 'caret-transparent'\n )}\n />\n );\n};\n\nMultiSelectInput.displayName = 'MultiSelectInput';\n\nconst MultiSelectContent = forwardRef<\n HTMLDivElement,\n HTMLAttributes<HTMLDivElement>\n>(({ children }, ref) => {\n const { open } = useMultiSelect();\n return (\n <div ref={ref} className=\"relative\">\n {open && children}\n </div>\n );\n});\n\nMultiSelectContent.displayName = 'MultiSelectContent';\n\nconst MultiSelectList = forwardRef<\n ElementRef<typeof Command.List>,\n ComponentPropsWithoutRef<typeof Command.List>\n>(({ className, children }, ref) => (\n <Command.List\n ref={ref}\n className={cn(\n 'border-muted bg-input-background dark:bg-input-background-dark absolute top-0 z-10 flex w-full flex-col gap-2 rounded-lg border p-2 shadow-md transition-colors',\n className\n )}\n >\n {children}\n <Command.Empty>\n <span className=\"text-muted-foreground\">No results found</span>\n </Command.Empty>\n </Command.List>\n));\n\nMultiSelectList.displayName = 'MultiSelectList';\n\nconst MultiSelectItem = forwardRef<\n ElementRef<typeof Command.Item>,\n { value: string } & ComponentPropsWithoutRef<typeof Command.Item>\n>(({ className, value, children, ...props }, ref) => {\n const { value: Options, onValueChange, setInputValue } = useMultiSelect();\n\n const mousePreventDefault: MouseEventHandler<HTMLDivElement> = useCallback(\n (e) => {\n e.preventDefault();\n e.stopPropagation();\n },\n []\n );\n\n const isIncluded = Options.includes(value);\n return (\n <Command.Item\n ref={ref}\n {...props}\n onSelect={() => {\n onValueChange(value);\n setInputValue('');\n }}\n className={cn(\n 'flex cursor-pointer justify-between rounded-lg px-2 py-1 transition-colors',\n 'hover:bg-neutral/10 dark:hover:bg-neutral-dark/10',\n className,\n isIncluded && 'opacity-50',\n props.disabled && 'cursor-not-allowed opacity-50'\n )}\n onMouseDown={mousePreventDefault}\n >\n {children}\n {isIncluded && <Check className=\"size-4\" />}\n </Command.Item>\n );\n});\n\nMultiSelectItem.displayName = 'MultiSelectItem';\n\ntype MultiSelectType = typeof MultiSelectRoot & {\n Trigger: typeof MultiSelectTrigger;\n Input: typeof MultiSelectInput;\n Content: typeof MultiSelectContent;\n List: typeof MultiSelectList;\n Item: typeof MultiSelectItem;\n};\n\n/**\n *\n * Usage example:\n * ```jsx\n * <MultiSelect\n * values={value}\n * onValuesChange={setValue}\n * loop\n * >\n * <MultiSelect.Trigger>\n * <MultiSelect.Input placeholder=\"Select your framework\" />\n * </MultiSelect.Trigger>\n * <MultiSelect.Content>\n * <MultiSelect.List>\n * <MultiSelect.Item value={\"React\"}>React</MultiSelect.Item>\n * <MultiSelect.Item value={\"Vue\"}>Vue</MultiSelect.Item>\n * <MultiSelect.Item value={\"Svelte\"}>Svelte</MultiSelect.Item>\n * </MultiSelect.List>\n * </MultiSelect.Content>\n * </MultiSelect>\n * ```\n */\nexport const MultiSelect = MultiSelectRoot as MultiSelectType;\nMultiSelect.Trigger = MultiSelectTrigger;\nMultiSelect.Input = MultiSelectInput;\nMultiSelect.Content = MultiSelectContent;\nMultiSelect.List = MultiSelectList;\nMultiSelect.Item = MultiSelectItem;\n"],"names":["createContext","useContext","useState","useRef","useEffect","useCallback","useMemo","jsx","CommandRoot","cn","forwardRef","jsxs","Badge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AA,EAC1D,CAAA;AAAA,IAAA;AAAA,EAAA;AACF,CACD;AAED,gBAAgB,cAAc;AAE9B,MAAM,kBAAkBJ,WAAAA,WAGtB,CAAC,EAAE,WAAW,OAAO,UAAU,GAAG,MAAM,GAAG,QAAQ;AACnD,QAAM,EAAE,OAAO,SAAS,eAAe,cAAA,IAAkB,eAAe;AAExE,QAAM,sBAAyDL,WAAA;AAAA,IAC7D,CAAC,MAAM;AACL,QAAE,eAAe;AACjB,QAAE,gBAAgB;AAAA,IACpB;AAAA,IACA,CAAA;AAAA,EACF;AAEM,QAAA,aAAa,QAAQ,SAAS,KAAK;AAEvC,SAAAM,2BAAA,kBAAA;AAAA,IAACG,yBAAAA,QAAQ;AAAA,IAAR;AAAA,MACC;AAAA,MACC,GAAG;AAAA,MACJ,UAAU,MAAM;AACd,sBAAc,KAAK;AACnB,sBAAc,EAAE;AAAA,MAClB;AAAA,MACA,WAAWL,SAAA;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA,cAAc;AAAA,QACd,MAAM,YAAY;AAAA,MACpB;AAAA,MACA,aAAa;AAAA,MAEZ,UAAA;AAAA,QAAA;AAAA,QACA,cAAcF,2BAAAA,kBAAAA,IAACQ,YAAAA,OAAM,EAAA,WAAU,SAAS,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAC3C;AAEJ,CAAC;AAED,gBAAgB,cAAc;AAgCvB,MAAM,cAAc;AAC3B,YAAY,UAAU;AACtB,YAAY,QAAQ;AACpB,YAAY,UAAU;AACtB,YAAY,OAAO;AACnB,YAAY,OAAO;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { j as jsxRuntimeExports } from "../../jsx-runtime-
|
|
2
|
+
import { j as jsxRuntimeExports } from "../../jsx-runtime-DQkoUcjV.js";
|
|
3
3
|
import { X, Check } from "lucide-react";
|
|
4
4
|
import { createContext, forwardRef, useCallback, useContext, useState, useRef, useEffect, useMemo } from "react";
|
|
5
5
|
import { cn } from "../../utils/cn.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const jsxRuntime = require("../../jsx-runtime-
|
|
4
|
+
const jsxRuntime = require("../../jsx-runtime-CgFM7lM3.cjs");
|
|
5
5
|
const SelectPrimitive = require("@radix-ui/react-select");
|
|
6
6
|
const lucideReact = require("lucide-react");
|
|
7
7
|
const require$$0 = require("react");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { j as jsxRuntimeExports } from "../../jsx-runtime-
|
|
2
|
+
import { j as jsxRuntimeExports } from "../../jsx-runtime-DQkoUcjV.js";
|
|
3
3
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
4
4
|
import { ChevronsUpDown, ChevronUpIcon, ChevronDownIcon, CheckIcon } from "lucide-react";
|
|
5
5
|
import { forwardRef } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const jsxRuntime = require("../../jsx-runtime-
|
|
4
|
+
const jsxRuntime = require("../../jsx-runtime-CgFM7lM3.cjs");
|
|
5
5
|
const require$$0 = require("react");
|
|
6
6
|
const classVarianceAuthority = require("class-variance-authority");
|
|
7
7
|
require("../../hooks/useScrollBlockage/useScrollBlockageStore.cjs");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { j as jsxRuntimeExports } from "../../jsx-runtime-
|
|
2
|
+
import { j as jsxRuntimeExports } from "../../jsx-runtime-DQkoUcjV.js";
|
|
3
3
|
import { useState, useRef, useEffect, createElement } from "react";
|
|
4
4
|
import { cva } from "class-variance-authority";
|
|
5
5
|
import "../../hooks/useScrollBlockage/useScrollBlockageStore.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const jsxRuntime = require("../../jsx-runtime-
|
|
4
|
+
const jsxRuntime = require("../../jsx-runtime-CgFM7lM3.cjs");
|
|
5
5
|
const classVarianceAuthority = require("class-variance-authority");
|
|
6
6
|
const require$$0 = require("react");
|
|
7
7
|
require("../../hooks/useScrollBlockage/useScrollBlockageStore.cjs");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { j as jsxRuntimeExports } from "../../jsx-runtime-
|
|
2
|
+
import { j as jsxRuntimeExports } from "../../jsx-runtime-DQkoUcjV.js";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
import { useRef, cloneElement } from "react";
|
|
5
5
|
import "../../hooks/useScrollBlockage/useScrollBlockageStore.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("../../jsx-runtime-
|
|
3
|
+
const jsxRuntime = require("../../jsx-runtime-CgFM7lM3.cjs");
|
|
4
4
|
const classVarianceAuthority = require("class-variance-authority");
|
|
5
5
|
const require$$0 = require("react");
|
|
6
6
|
const containerVariants = classVarianceAuthority.cva("backdrop-blur w-fit", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "../../jsx-runtime-
|
|
1
|
+
import { j as jsxRuntimeExports } from "../../jsx-runtime-DQkoUcjV.js";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
4
|
const containerVariants = cva("backdrop-blur w-fit", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("../../jsx-runtime-
|
|
3
|
+
const jsxRuntime = require("../../jsx-runtime-CgFM7lM3.cjs");
|
|
4
4
|
const require$$0 = require("react");
|
|
5
5
|
const utils_cn = require("../../utils/cn.cjs");
|
|
6
6
|
const components_TextArea_TextArea = require("./TextArea.cjs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "../../jsx-runtime-
|
|
1
|
+
import { j as jsxRuntimeExports } from "../../jsx-runtime-DQkoUcjV.js";
|
|
2
2
|
import { forwardRef, useRef, useImperativeHandle, useCallback, useEffect } from "react";
|
|
3
3
|
import { cn } from "../../utils/cn.mjs";
|
|
4
4
|
import { TextArea } from "./TextArea.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("../../jsx-runtime-
|
|
3
|
+
const jsxRuntime = require("../../jsx-runtime-CgFM7lM3.cjs");
|
|
4
4
|
const require$$0 = require("react");
|
|
5
5
|
const utils_cn = require("../../utils/cn.cjs");
|
|
6
6
|
const components_Input_Input = require("../Input/Input.cjs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "../../jsx-runtime-
|
|
1
|
+
import { j as jsxRuntimeExports } from "../../jsx-runtime-DQkoUcjV.js";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { cn } from "../../utils/cn.mjs";
|
|
4
4
|
import { inputVariants } from "../Input/Input.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const jsxRuntime = require("../../jsx-runtime-
|
|
4
|
+
const jsxRuntime = require("../../jsx-runtime-CgFM7lM3.cjs");
|
|
5
5
|
const lucideReact = require("lucide-react");
|
|
6
6
|
const require$$0 = require("react");
|
|
7
7
|
const components_Button_Button = require("../Button/Button.cjs");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { j as jsxRuntimeExports } from "../../jsx-runtime-
|
|
2
|
+
import { j as jsxRuntimeExports } from "../../jsx-runtime-DQkoUcjV.js";
|
|
3
3
|
import { CircleDashed, Sun, Moon } from "lucide-react";
|
|
4
4
|
import { useState } from "react";
|
|
5
5
|
import { Button } from "../Button/Button.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const jsxRuntime = require("../../jsx-runtime-
|
|
4
|
+
const jsxRuntime = require("../../jsx-runtime-CgFM7lM3.cjs");
|
|
5
5
|
const lucideReact = require("lucide-react");
|
|
6
6
|
const require$$0 = require("react");
|
|
7
7
|
const utils_cn = require("../../utils/cn.cjs");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { j as jsxRuntimeExports } from "../../jsx-runtime-
|
|
2
|
+
import { j as jsxRuntimeExports } from "../../jsx-runtime-DQkoUcjV.js";
|
|
3
3
|
import { CircleDashed, Moon, Sun } from "lucide-react";
|
|
4
4
|
import { useState } from "react";
|
|
5
5
|
import { cn } from "../../utils/cn.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const jsxRuntime = require("../../jsx-runtime-
|
|
4
|
+
const jsxRuntime = require("../../jsx-runtime-CgFM7lM3.cjs");
|
|
5
5
|
const ToastPrimitives = require("@radix-ui/react-toast");
|
|
6
6
|
const classVarianceAuthority = require("class-variance-authority");
|
|
7
7
|
const lucideReact = require("lucide-react");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { j as jsxRuntimeExports } from "../../jsx-runtime-
|
|
2
|
+
import { j as jsxRuntimeExports } from "../../jsx-runtime-DQkoUcjV.js";
|
|
3
3
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
4
4
|
import { cva } from "class-variance-authority";
|
|
5
5
|
import { X } from "lucide-react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const jsxRuntime = require("../../jsx-runtime-
|
|
4
|
+
const jsxRuntime = require("../../jsx-runtime-CgFM7lM3.cjs");
|
|
5
5
|
const components_Toaster_Toast = require("./Toast.cjs");
|
|
6
6
|
const components_Toaster_useToast = require("./useToast.cjs");
|
|
7
7
|
const Toaster = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { j as jsxRuntimeExports } from "../../jsx-runtime-
|
|
2
|
+
import { j as jsxRuntimeExports } from "../../jsx-runtime-DQkoUcjV.js";
|
|
3
3
|
import { ToastProvider, Toast, ToastTitle, ToastDescription, ToastClose, ToastViewport } from "./Toast.mjs";
|
|
4
4
|
import { useToast } from "./useToast.mjs";
|
|
5
5
|
const Toaster = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const jsxRuntime = require("../../jsx-runtime-
|
|
4
|
+
const jsxRuntime = require("../../jsx-runtime-CgFM7lM3.cjs");
|
|
5
5
|
const require$$0 = require("react");
|
|
6
6
|
const utils_cn = require("../../utils/cn.cjs");
|
|
7
7
|
const WithResizer = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { j as jsxRuntimeExports } from "../../jsx-runtime-
|
|
2
|
+
import { j as jsxRuntimeExports } from "../../jsx-runtime-DQkoUcjV.js";
|
|
3
3
|
import { useRef, useState, useCallback, useEffect } from "react";
|
|
4
4
|
import { cn } from "../../utils/cn.mjs";
|
|
5
5
|
const WithResizer = ({
|
|
@@ -40,7 +40,7 @@ const components_Flags_Flag = require("./Flags/Flag.cjs");
|
|
|
40
40
|
const components_InformationTag_index = require("./InformationTag/index.cjs");
|
|
41
41
|
const components_Form_FormBase = require("./Form/FormBase.cjs");
|
|
42
42
|
const components_Form_FormField = require("./Form/FormField.cjs");
|
|
43
|
-
const components_Form_layout_FormItemLayout = require("../Form-
|
|
43
|
+
const components_Form_layout_FormItemLayout = require("../Form-CSMiPnjC.cjs");
|
|
44
44
|
const components_Label_index = require("./Label/index.cjs");
|
|
45
45
|
const components_Input_Input = require("./Input/Input.cjs");
|
|
46
46
|
const components_Input_InputPassword = require("./Input/InputPassword.cjs");
|
|
@@ -38,7 +38,7 @@ import { Flag } from "./Flags/Flag.mjs";
|
|
|
38
38
|
import { InformationTag } from "./InformationTag/index.mjs";
|
|
39
39
|
import { useForm } from "./Form/FormBase.mjs";
|
|
40
40
|
import { useFormField } from "./Form/FormField.mjs";
|
|
41
|
-
import { F } from "../Form-
|
|
41
|
+
import { F } from "../Form-DlqjTz3u.js";
|
|
42
42
|
import { Label } from "./Label/index.mjs";
|
|
43
43
|
import { Input, inputVariants } from "./Input/Input.mjs";
|
|
44
44
|
import { InputPassword } from "./Input/InputPassword.mjs";
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
4
4
|
const components_Auth_useAuth_index = require("../components/Auth/useAuth/index.cjs");
|
|
5
5
|
require("../components/Toaster/Toast.cjs");
|
|
6
6
|
const components_Toaster_useToast = require("../components/Toaster/useToast.cjs");
|
|
7
|
-
require("../jsx-runtime-
|
|
7
|
+
require("../jsx-runtime-CgFM7lM3.cjs");
|
|
8
8
|
const hooks_useAsync_useAsync = require("./useAsync/useAsync.cjs");
|
|
9
9
|
const hooks_useIntlayerAPI = require("./useIntlayerAPI.cjs");
|
|
10
10
|
const process = {};
|
|
@@ -3,74 +3,74 @@ import { UseAsyncOptions } from './useAsync/useAsync';
|
|
|
3
3
|
/**
|
|
4
4
|
* Auth
|
|
5
5
|
*/
|
|
6
|
-
export declare const useLogin: (args?: UseAsyncOptions<typeof intlayerAPI.auth.login>) => import('./useAsync').UseAsyncResult<"login", (user: LoginBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<LoginResult>>;
|
|
7
|
-
export declare const useRegister: (args?: UseAsyncOptions<typeof intlayerAPI.auth.register>) => import('./useAsync').UseAsyncResult<"register", (user: RegisterBody, query?: RegisterQuery, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<RegisterResult>>;
|
|
6
|
+
export declare const useLogin: (args?: UseAsyncOptions<typeof intlayerAPI.auth.login>) => import('./useAsync').UseAsyncResult<"login", (user: import('@intlayer/backend').LoginBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').LoginResult>>;
|
|
7
|
+
export declare const useRegister: (args?: UseAsyncOptions<typeof intlayerAPI.auth.register>) => import('./useAsync').UseAsyncResult<"register", (user: import('@intlayer/backend').RegisterBody, query?: import('@intlayer/backend').RegisterQuery, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').RegisterResult>>;
|
|
8
8
|
export declare const useLogout: (args?: UseAsyncOptions<typeof intlayerAPI.auth.logout>) => import('./useAsync').UseAsyncResult<"logout", (otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<void>>;
|
|
9
|
-
export declare const useChangePassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.changePassword>) => import('./useAsync').UseAsyncResult<"changePassword", (data: UpdatePasswordBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<UpdatePasswordResult>>;
|
|
10
|
-
export declare const useAskResetPassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.askResetPassword>) => import('./useAsync').UseAsyncResult<"askResetPassword", (email: AskResetPasswordBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<AskResetPasswordResult>>;
|
|
11
|
-
export declare const useResetPassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.resetPassword>) => import('./useAsync').UseAsyncResult<"resetPassword", (params: ResetPasswordParams, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<ResetPasswordResult>>;
|
|
12
|
-
export declare const useCheckIfUserHasPassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.checkIfUserHasPassword>) => import('./useAsync').UseAsyncResult<"checkIfUserHasPassword", (otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<CheckIfUserHasPasswordResult>>;
|
|
13
|
-
export declare const useVerifyEmail: (args?: UseAsyncOptions<typeof intlayerAPI.auth.verifyEmail>) => import('./useAsync').UseAsyncResult<"verifyEmail", ({ userId, secret }: ValidEmailParams, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<ValidEmailResult>>;
|
|
14
|
-
export declare const useGetUserByAccount: (args?: UseAsyncOptions<typeof intlayerAPI.user.getUserByAccount>) => import('./useAsync').UseAsyncResult<"getUserByAccount", (providerAccountId: GetUserByAccountParams, provider: GetUserByAccountParams, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<GetUserByAccountResult>>;
|
|
9
|
+
export declare const useChangePassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.changePassword>) => import('./useAsync').UseAsyncResult<"changePassword", (data: import('@intlayer/backend').UpdatePasswordBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').UpdatePasswordResult>>;
|
|
10
|
+
export declare const useAskResetPassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.askResetPassword>) => import('./useAsync').UseAsyncResult<"askResetPassword", (email: import('@intlayer/backend').AskResetPasswordBody["email"], otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AskResetPasswordResult>>;
|
|
11
|
+
export declare const useResetPassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.resetPassword>) => import('./useAsync').UseAsyncResult<"resetPassword", (params: import('@intlayer/backend').ResetPasswordParams, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').ResetPasswordResult>>;
|
|
12
|
+
export declare const useCheckIfUserHasPassword: (args?: UseAsyncOptions<typeof intlayerAPI.auth.checkIfUserHasPassword>) => import('./useAsync').UseAsyncResult<"checkIfUserHasPassword", (otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').CheckIfUserHasPasswordResult>>;
|
|
13
|
+
export declare const useVerifyEmail: (args?: UseAsyncOptions<typeof intlayerAPI.auth.verifyEmail>) => import('./useAsync').UseAsyncResult<"verifyEmail", ({ userId, secret }: import('@intlayer/backend').ValidEmailParams, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').ValidEmailResult>>;
|
|
14
|
+
export declare const useGetUserByAccount: (args?: UseAsyncOptions<typeof intlayerAPI.user.getUserByAccount>) => import('./useAsync').UseAsyncResult<"getUserByAccount", (providerAccountId: import('@intlayer/backend').GetUserByAccountParams["providerAccountId"], provider: import('@intlayer/backend').GetUserByAccountParams["provider"], otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').GetUserByAccountResult>>;
|
|
15
15
|
/**
|
|
16
16
|
* User
|
|
17
17
|
*/
|
|
18
|
-
export declare const useGetUsers: (args?: UseAsyncOptions<typeof intlayerAPI.user.getUsers>) => import('./useAsync').UseAsyncResult<"getUsers", (filters?: GetUsersParams, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<GetUsersResult>>;
|
|
19
|
-
export declare const useCreateUser: (args?: UseAsyncOptions<typeof intlayerAPI.user.createUser>) => import('./useAsync').UseAsyncResult<"createUser", (user: CreateUserBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<CreateUserResult>>;
|
|
20
|
-
export declare const useUpdateUser: (args?: UseAsyncOptions<typeof intlayerAPI.user.updateUser>) => import('./useAsync').UseAsyncResult<"updateUser", (user: UpdateUserBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<UpdateUserResult>>;
|
|
21
|
-
export declare const useDeleteUser: (args?: UseAsyncOptions<typeof intlayerAPI.user.deleteUser>) => import('./useAsync').UseAsyncResult<"deleteUser", (userId: string, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<UpdateUserResult>>;
|
|
18
|
+
export declare const useGetUsers: (args?: UseAsyncOptions<typeof intlayerAPI.user.getUsers>) => import('./useAsync').UseAsyncResult<"getUsers", (filters?: import('@intlayer/backend').GetUsersParams, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').GetUsersResult>>;
|
|
19
|
+
export declare const useCreateUser: (args?: UseAsyncOptions<typeof intlayerAPI.user.createUser>) => import('./useAsync').UseAsyncResult<"createUser", (user: import('@intlayer/backend').CreateUserBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').CreateUserResult>>;
|
|
20
|
+
export declare const useUpdateUser: (args?: UseAsyncOptions<typeof intlayerAPI.user.updateUser>) => import('./useAsync').UseAsyncResult<"updateUser", (user: import('@intlayer/backend').UpdateUserBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').UpdateUserResult>>;
|
|
21
|
+
export declare const useDeleteUser: (args?: UseAsyncOptions<typeof intlayerAPI.user.deleteUser>) => import('./useAsync').UseAsyncResult<"deleteUser", (userId: string, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').UpdateUserResult>>;
|
|
22
22
|
/**
|
|
23
23
|
* Organization
|
|
24
24
|
*/
|
|
25
|
-
export declare const useGetOrganizations: (args?: UseAsyncOptions<typeof intlayerAPI.organization.getOrganizations>) => import('./useAsync').UseAsyncResult<"getOrganizations", (filters?: GetOrganizationsParams, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<GetOrganizationsResult>>;
|
|
26
|
-
export declare const useAddOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.addOrganization>) => import('./useAsync').UseAsyncResult<"addOrganization", (organization: AddOrganizationBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<AddOrganizationResult>>;
|
|
27
|
-
export declare const useUpdateOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.updateOrganization>) => import('./useAsync').UseAsyncResult<"updateOrganization", (organization: UpdateOrganizationBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<UpdateOrganizationResult>>;
|
|
28
|
-
export declare const useUpdateOrganizationMembers: (args?: UseAsyncOptions<typeof intlayerAPI.organization.updateOrganizationMembers>) => import('./useAsync').UseAsyncResult<"updateOrganizationMembers", (body: UpdateOrganizationMembersBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<UpdateOrganizationMembersResult>>;
|
|
29
|
-
export declare const useAddOrganizationMember: (args?: UseAsyncOptions<typeof intlayerAPI.organization.addOrganizationMember>) => import('./useAsync').UseAsyncResult<"addOrganizationMember", (body: AddOrganizationMemberBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<AddOrganizationMemberResult>>;
|
|
30
|
-
export declare const useDeleteOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.deleteOrganization>) => import('./useAsync').UseAsyncResult<"deleteOrganization", (otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<DeleteOrganizationResult>>;
|
|
31
|
-
export declare const useSelectOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.selectOrganization>) => import('./useAsync').UseAsyncResult<"selectOrganization", (organizationId: SelectOrganizationParam, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<SelectOrganizationResult>>;
|
|
32
|
-
export declare const useUnselectOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.unselectOrganization>) => import('./useAsync').UseAsyncResult<"unselectOrganization", (otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<UnselectOrganizationResult>>;
|
|
25
|
+
export declare const useGetOrganizations: (args?: UseAsyncOptions<typeof intlayerAPI.organization.getOrganizations>) => import('./useAsync').UseAsyncResult<"getOrganizations", (filters?: import('@intlayer/backend').GetOrganizationsParams, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').GetOrganizationsResult>>;
|
|
26
|
+
export declare const useAddOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.addOrganization>) => import('./useAsync').UseAsyncResult<"addOrganization", (organization: import('@intlayer/backend').AddOrganizationBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AddOrganizationResult>>;
|
|
27
|
+
export declare const useUpdateOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.updateOrganization>) => import('./useAsync').UseAsyncResult<"updateOrganization", (organization: import('@intlayer/backend').UpdateOrganizationBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').UpdateOrganizationResult>>;
|
|
28
|
+
export declare const useUpdateOrganizationMembers: (args?: UseAsyncOptions<typeof intlayerAPI.organization.updateOrganizationMembers>) => import('./useAsync').UseAsyncResult<"updateOrganizationMembers", (body: import('@intlayer/backend').UpdateOrganizationMembersBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').UpdateOrganizationMembersResult>>;
|
|
29
|
+
export declare const useAddOrganizationMember: (args?: UseAsyncOptions<typeof intlayerAPI.organization.addOrganizationMember>) => import('./useAsync').UseAsyncResult<"addOrganizationMember", (body: import('@intlayer/backend').AddOrganizationMemberBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AddOrganizationMemberResult>>;
|
|
30
|
+
export declare const useDeleteOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.deleteOrganization>) => import('./useAsync').UseAsyncResult<"deleteOrganization", (otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').DeleteOrganizationResult>>;
|
|
31
|
+
export declare const useSelectOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.selectOrganization>) => import('./useAsync').UseAsyncResult<"selectOrganization", (organizationId: import('@intlayer/backend').SelectOrganizationParam["organizationId"], otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').SelectOrganizationResult>>;
|
|
32
|
+
export declare const useUnselectOrganization: (args?: UseAsyncOptions<typeof intlayerAPI.organization.unselectOrganization>) => import('./useAsync').UseAsyncResult<"unselectOrganization", (otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').UnselectOrganizationResult>>;
|
|
33
33
|
/**
|
|
34
34
|
* Project
|
|
35
35
|
*/
|
|
36
|
-
export declare const useGetProjects: (args?: UseAsyncOptions<typeof intlayerAPI.project.getProjects>) => import('./useAsync').UseAsyncResult<"getProjects", (filters?: GetProjectsParams, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<GetProjectsResult>>;
|
|
37
|
-
export declare const useAddProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.addProject>) => import('./useAsync').UseAsyncResult<"addProject", (project: AddProjectBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<AddProjectResult>>;
|
|
38
|
-
export declare const useUpdateProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.updateProject>) => import('./useAsync').UseAsyncResult<"updateProject", (project: UpdateProjectBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<UpdateProjectResult>>;
|
|
39
|
-
export declare const useUpdateProjectMembers: (args?: UseAsyncOptions<typeof intlayerAPI.project.updateProjectMembers>) => import('./useAsync').UseAsyncResult<"updateProjectMembers", (body: UpdateProjectMembersBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<UpdateProjectMembersResult>>;
|
|
40
|
-
export declare const useDeleteProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.deleteProject>) => import('./useAsync').UseAsyncResult<"deleteProject", (otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<DeleteProjectResult>>;
|
|
41
|
-
export declare const useSelectProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.selectProject>) => import('./useAsync').UseAsyncResult<"selectProject", (projectId: SelectProjectParam, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<SelectProjectResult>>;
|
|
42
|
-
export declare const useUnselectProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.unselectProject>) => import('./useAsync').UseAsyncResult<"unselectProject", (otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<UnselectProjectResult>>;
|
|
43
|
-
export declare const useAddNewAccessKey: (args?: UseAsyncOptions<typeof intlayerAPI.project.addNewAccessKey>) => import('./useAsync').UseAsyncResult<"addNewAccessKey", (accessKey: AddNewAccessKeyBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<AddNewAccessKeyResponse>>;
|
|
44
|
-
export declare const useDeleteAccessKey: (args?: UseAsyncOptions<typeof intlayerAPI.project.deleteAccessKey>) => import('./useAsync').UseAsyncResult<"deleteAccessKey", (clientId: DeleteAccessKeyBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<DeleteAccessKeyResponse>>;
|
|
45
|
-
export declare const useRefreshAccessKey: (args?: UseAsyncOptions<typeof intlayerAPI.project.refreshAccessKey>) => import('./useAsync').UseAsyncResult<"refreshAccessKey", (clientId: RefreshAccessKeyBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<RefreshAccessKeyResponse>>;
|
|
36
|
+
export declare const useGetProjects: (args?: UseAsyncOptions<typeof intlayerAPI.project.getProjects>) => import('./useAsync').UseAsyncResult<"getProjects", (filters?: import('@intlayer/backend').GetProjectsParams, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').GetProjectsResult>>;
|
|
37
|
+
export declare const useAddProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.addProject>) => import('./useAsync').UseAsyncResult<"addProject", (project: import('@intlayer/backend').AddProjectBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AddProjectResult>>;
|
|
38
|
+
export declare const useUpdateProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.updateProject>) => import('./useAsync').UseAsyncResult<"updateProject", (project: import('@intlayer/backend').UpdateProjectBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').UpdateProjectResult>>;
|
|
39
|
+
export declare const useUpdateProjectMembers: (args?: UseAsyncOptions<typeof intlayerAPI.project.updateProjectMembers>) => import('./useAsync').UseAsyncResult<"updateProjectMembers", (body: import('@intlayer/backend').UpdateProjectMembersBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').UpdateProjectMembersResult>>;
|
|
40
|
+
export declare const useDeleteProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.deleteProject>) => import('./useAsync').UseAsyncResult<"deleteProject", (otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').DeleteProjectResult>>;
|
|
41
|
+
export declare const useSelectProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.selectProject>) => import('./useAsync').UseAsyncResult<"selectProject", (projectId: import('@intlayer/backend').SelectProjectParam["projectId"], otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').SelectProjectResult>>;
|
|
42
|
+
export declare const useUnselectProject: (args?: UseAsyncOptions<typeof intlayerAPI.project.unselectProject>) => import('./useAsync').UseAsyncResult<"unselectProject", (otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').UnselectProjectResult>>;
|
|
43
|
+
export declare const useAddNewAccessKey: (args?: UseAsyncOptions<typeof intlayerAPI.project.addNewAccessKey>) => import('./useAsync').UseAsyncResult<"addNewAccessKey", (accessKey: import('@intlayer/backend').AddNewAccessKeyBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AddNewAccessKeyResponse>>;
|
|
44
|
+
export declare const useDeleteAccessKey: (args?: UseAsyncOptions<typeof intlayerAPI.project.deleteAccessKey>) => import('./useAsync').UseAsyncResult<"deleteAccessKey", (clientId: import('@intlayer/backend').DeleteAccessKeyBody["clientId"], otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').DeleteAccessKeyResponse>>;
|
|
45
|
+
export declare const useRefreshAccessKey: (args?: UseAsyncOptions<typeof intlayerAPI.project.refreshAccessKey>) => import('./useAsync').UseAsyncResult<"refreshAccessKey", (clientId: import('@intlayer/backend').RefreshAccessKeyBody["clientId"], otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').RefreshAccessKeyResponse>>;
|
|
46
46
|
/**
|
|
47
47
|
* Dictionary
|
|
48
48
|
*/
|
|
49
|
-
export declare const useGetDictionaries: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionaries>) => import('./useAsync').UseAsyncResult<"getDictionaries", (filters?: GetDictionariesParams, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<GetDictionariesResult>>;
|
|
50
|
-
export declare const useGetDictionariesKeys: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionariesKeys>) => import('./useAsync').UseAsyncResult<"getDictionariesKeys", (otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<GetDictionariesKeysResult>>;
|
|
51
|
-
export declare const useGetDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionary>) => import('./useAsync').UseAsyncResult<"getDictionary", (dictionaryKey: GetDictionaryParams, version?: GetDictionaryQuery, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<GetDictionaryResult>>;
|
|
52
|
-
export declare const useAddDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.addDictionary>) => import('./useAsync').UseAsyncResult<"addDictionary", (dictionary: AddDictionaryBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<AddDictionaryResult>>;
|
|
53
|
-
export declare const usePushDictionaries: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.pushDictionaries>) => import('./useAsync').UseAsyncResult<"pushDictionaries", (dictionaries: PushDictionariesBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<PushDictionariesResult>>;
|
|
54
|
-
export declare const useUpdateDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.updateDictionary>) => import('./useAsync').UseAsyncResult<"updateDictionary", (dictionaryId: UpdateDictionaryParam, dictionary: UpdateDictionaryBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<UpdateDictionaryResult>>;
|
|
55
|
-
export declare const useDeleteDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.deleteDictionary>) => import('./useAsync').UseAsyncResult<"deleteDictionary", (id: DeleteDictionaryParam, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<DeleteDictionaryResult>>;
|
|
49
|
+
export declare const useGetDictionaries: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionaries>) => import('./useAsync').UseAsyncResult<"getDictionaries", (filters?: import('@intlayer/backend').GetDictionariesParams, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').GetDictionariesResult>>;
|
|
50
|
+
export declare const useGetDictionariesKeys: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionariesKeys>) => import('./useAsync').UseAsyncResult<"getDictionariesKeys", (otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').GetDictionariesKeysResult>>;
|
|
51
|
+
export declare const useGetDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.getDictionary>) => import('./useAsync').UseAsyncResult<"getDictionary", (dictionaryKey: import('@intlayer/backend').GetDictionaryParams["dictionaryKey"], version?: import('@intlayer/backend').GetDictionaryQuery["version"], otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').GetDictionaryResult>>;
|
|
52
|
+
export declare const useAddDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.addDictionary>) => import('./useAsync').UseAsyncResult<"addDictionary", (dictionary: import('@intlayer/backend').AddDictionaryBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AddDictionaryResult>>;
|
|
53
|
+
export declare const usePushDictionaries: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.pushDictionaries>) => import('./useAsync').UseAsyncResult<"pushDictionaries", (dictionaries: import('@intlayer/backend').PushDictionariesBody["dictionaries"], otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').PushDictionariesResult>>;
|
|
54
|
+
export declare const useUpdateDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.updateDictionary>) => import('./useAsync').UseAsyncResult<"updateDictionary", (dictionaryId: import('@intlayer/backend').UpdateDictionaryParam["dictionaryId"], dictionary: import('@intlayer/backend').UpdateDictionaryBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').UpdateDictionaryResult>>;
|
|
55
|
+
export declare const useDeleteDictionary: (args?: UseAsyncOptions<typeof intlayerAPI.dictionary.deleteDictionary>) => import('./useAsync').UseAsyncResult<"deleteDictionary", (id: import('@intlayer/backend').DeleteDictionaryParam["dictionaryId"], otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').DeleteDictionaryResult>>;
|
|
56
56
|
/**
|
|
57
57
|
* Tag
|
|
58
58
|
*/
|
|
59
|
-
export declare const useGetTags: (args?: UseAsyncOptions<typeof intlayerAPI.tag.getTags>) => import('./useAsync').UseAsyncResult<"getTags", (filters?: GetTagsParams, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<GetTagsResult>>;
|
|
60
|
-
export declare const useAddTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.addTag>) => import('./useAsync').UseAsyncResult<"addTag", (tag: AddTagBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<AddTagResult>>;
|
|
61
|
-
export declare const useUpdateTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.updateTag>) => import('./useAsync').UseAsyncResult<"updateTag", (tagId: UpdateTagParams, tag: UpdateTagBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<UpdateTagResult>>;
|
|
62
|
-
export declare const useDeleteTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.deleteTag>) => import('./useAsync').UseAsyncResult<"deleteTag", (tagId: DeleteTagParams, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<DeleteTagResult>>;
|
|
59
|
+
export declare const useGetTags: (args?: UseAsyncOptions<typeof intlayerAPI.tag.getTags>) => import('./useAsync').UseAsyncResult<"getTags", (filters?: import('@intlayer/backend').GetTagsParams, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').GetTagsResult>>;
|
|
60
|
+
export declare const useAddTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.addTag>) => import('./useAsync').UseAsyncResult<"addTag", (tag: import('@intlayer/backend').AddTagBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AddTagResult>>;
|
|
61
|
+
export declare const useUpdateTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.updateTag>) => import('./useAsync').UseAsyncResult<"updateTag", (tagId: import('@intlayer/backend').UpdateTagParams["tagId"], tag: import('@intlayer/backend').UpdateTagBody, otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').UpdateTagResult>>;
|
|
62
|
+
export declare const useDeleteTag: (args?: UseAsyncOptions<typeof intlayerAPI.tag.deleteTag>) => import('./useAsync').UseAsyncResult<"deleteTag", (tagId: import('@intlayer/backend').DeleteTagParams["tagId"], otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').DeleteTagResult>>;
|
|
63
63
|
/**
|
|
64
64
|
* Stripe
|
|
65
65
|
*/
|
|
66
|
-
export declare const useGetSubscription: (args?: UseAsyncOptions<typeof intlayerAPI.stripe.getSubscription>) => import('./useAsync').UseAsyncResult<"getSubscription", (body?: GetCheckoutSessionBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<GetCheckoutSessionResult>>;
|
|
67
|
-
export declare const useCancelSubscription: (args?: UseAsyncOptions<typeof intlayerAPI.stripe.cancelSubscription>) => import('./useAsync').UseAsyncResult<"cancelSubscription", (otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<GetCheckoutSessionResult>>;
|
|
66
|
+
export declare const useGetSubscription: (args?: UseAsyncOptions<typeof intlayerAPI.stripe.getSubscription>) => import('./useAsync').UseAsyncResult<"getSubscription", (body?: import('@intlayer/backend').GetCheckoutSessionBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').GetCheckoutSessionResult>>;
|
|
67
|
+
export declare const useCancelSubscription: (args?: UseAsyncOptions<typeof intlayerAPI.stripe.cancelSubscription>) => import('./useAsync').UseAsyncResult<"cancelSubscription", (otherOptions?: import('node_modules/@intlayer/api/src/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').GetCheckoutSessionResult>>;
|
|
68
68
|
/**
|
|
69
69
|
* AI
|
|
70
70
|
*/
|
|
71
|
-
export declare const useAuditContentDeclaration: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclaration>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?: AuditContentDeclarationBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<AuditContentDeclarationResult>>;
|
|
72
|
-
export declare const useAuditContentDeclarationMetadata: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclarationMetadata>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?: AuditContentDeclarationMetadataBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<AuditContentDeclarationMetadataResult>>;
|
|
73
|
-
export declare const useAuditContentDeclarationField: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclarationField>) => import('./useAsync').UseAsyncResult<"auditContentDeclarationField", (body?: AuditContentDeclarationFieldBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<AuditContentDeclarationFieldResult>>;
|
|
74
|
-
export declare const useAuditTag: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditTag>) => import('./useAsync').UseAsyncResult<"auditTag", (body?: AuditTagBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<AuditTagResult>>;
|
|
75
|
-
export declare const useAskDocQuestion: (args?: UseAsyncOptions<typeof intlayerAPI.ai.askDocQuestion>) => import('./useAsync').UseAsyncResult<"askDocQuestion", (body?: AskDocQuestionBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<AskDocQuestionResult>>;
|
|
71
|
+
export declare const useAuditContentDeclaration: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclaration>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?: import('@intlayer/backend').AuditContentDeclarationBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationResult>>;
|
|
72
|
+
export declare const useAuditContentDeclarationMetadata: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclarationMetadata>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?: import('@intlayer/backend').AuditContentDeclarationMetadataBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationMetadataResult>>;
|
|
73
|
+
export declare const useAuditContentDeclarationField: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditContentDeclarationField>) => import('./useAsync').UseAsyncResult<"auditContentDeclarationField", (body?: import('@intlayer/backend').AuditContentDeclarationFieldBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationFieldResult>>;
|
|
74
|
+
export declare const useAuditTag: (args?: UseAsyncOptions<typeof intlayerAPI.ai.auditTag>) => import('./useAsync').UseAsyncResult<"auditTag", (body?: import('@intlayer/backend').AuditTagBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AuditTagResult>>;
|
|
75
|
+
export declare const useAskDocQuestion: (args?: UseAsyncOptions<typeof intlayerAPI.ai.askDocQuestion>) => import('./useAsync').UseAsyncResult<"askDocQuestion", (body?: import('@intlayer/backend').AskDocQuestionBody, otherOptions?: import('node_modules/@intlayer/api/dist/types/fetcher').FetcherOptions) => Promise<import('@intlayer/backend').AskDocQuestionResult>>;
|
|
76
76
|
//# sourceMappingURL=intlayerAPIHooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intlayerAPIHooks.d.ts","sourceRoot":"","sources":["../../src/hooks/intlayerAPIHooks.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,EAAY,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAwHhE;;GAEG;AAEH,eAAO,MAAM,QAAQ,UACZ,eAAe,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"intlayerAPIHooks.d.ts","sourceRoot":"","sources":["../../src/hooks/intlayerAPIHooks.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,EAAY,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAwHhE;;GAEG;AAEH,eAAO,MAAM,QAAQ,UACZ,eAAe,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,oOAKnD,CAAC;AACL,eAAO,MAAM,WAAW,UACf,eAAe,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,gSAKtD,CAAC;AACL,eAAO,MAAM,SAAS,UACb,eAAe,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,qJAKpD,CAAC;AACL,eAAO,MAAM,iBAAiB,UACrB,eAAe,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,yEAof5D,mBAGM,+HACsB,mBAAmB,wBAv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L,eAAO,MAAM,iBAAiB,UACrB,eAAe,CAAC,OAAO,WAAW,CAAC,EAAE,CAAC,cAAc,CAAC,0EAE09E,mBAAmB,+HAAuE,mBAAmB,wBADxjF,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useAuth } from "../components/Auth/useAuth/index.mjs";
|
|
3
3
|
import "../components/Toaster/Toast.mjs";
|
|
4
4
|
import { useToast } from "../components/Toaster/useToast.mjs";
|
|
5
|
-
import "../jsx-runtime-
|
|
5
|
+
import "../jsx-runtime-DQkoUcjV.js";
|
|
6
6
|
import { useAsync } from "./useAsync/useAsync.mjs";
|
|
7
7
|
import { useIntlayerAuth } from "./useIntlayerAPI.mjs";
|
|
8
8
|
const process = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const jsxRuntime = require("../../jsx-runtime-
|
|
4
|
+
const jsxRuntime = require("../../jsx-runtime-CgFM7lM3.cjs");
|
|
5
5
|
const require$$0 = require("react");
|
|
6
6
|
const createDefaultStates = () => ({
|
|
7
7
|
isFetched: false,
|