@intlayer/design-system 2.0.13 → 3.0.0
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 +1798 -369
- package/dist/Form-Cbu7ff1e.js +278 -0
- package/dist/Form-Cbu7ff1e.js.map +1 -0
- package/dist/Form-wWTTkxTp.cjs +277 -0
- package/dist/Form-wWTTkxTp.cjs.map +1 -0
- package/dist/components/Accordion/Accordion.cjs +64 -0
- package/dist/components/Accordion/Accordion.cjs.map +1 -0
- package/dist/components/Accordion/Accordion.d.ts +17 -1
- package/dist/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/Accordion/Accordion.mjs +64 -0
- package/dist/components/Accordion/Accordion.mjs.map +1 -0
- package/dist/components/Accordion/index.cjs +5 -0
- package/dist/components/Accordion/index.cjs.map +1 -0
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/Accordion/index.d.ts.map +1 -0
- package/dist/components/Accordion/index.mjs +5 -0
- package/dist/components/Accordion/index.mjs.map +1 -0
- package/dist/components/Auth/AuthModal/index.cjs +157 -0
- package/dist/components/Auth/AuthModal/index.cjs.map +1 -0
- package/dist/components/Auth/AuthModal/index.d.ts +21 -0
- package/dist/components/Auth/AuthModal/index.d.ts.map +1 -0
- package/dist/components/Auth/AuthModal/index.mjs +157 -0
- package/dist/components/Auth/AuthModal/index.mjs.map +1 -0
- package/dist/components/Auth/AuthProvider/index.cjs +71 -0
- package/dist/components/Auth/AuthProvider/index.cjs.map +1 -0
- package/dist/components/Auth/AuthProvider/index.d.ts +30 -0
- package/dist/components/Auth/AuthProvider/index.d.ts.map +1 -0
- package/dist/components/Auth/AuthProvider/index.mjs +71 -0
- package/dist/components/Auth/AuthProvider/index.mjs.map +1 -0
- package/dist/components/Auth/AuthProvider/useCSRF.cjs +22 -0
- package/dist/components/Auth/AuthProvider/useCSRF.cjs.map +1 -0
- package/dist/components/Auth/AuthProvider/useCSRF.d.ts +5 -0
- package/dist/components/Auth/AuthProvider/useCSRF.d.ts.map +1 -0
- package/dist/components/Auth/AuthProvider/useCSRF.mjs +22 -0
- package/dist/components/Auth/AuthProvider/useCSRF.mjs.map +1 -0
- package/dist/components/Auth/AuthProvider/useOAuth2.cjs +26 -0
- package/dist/components/Auth/AuthProvider/useOAuth2.cjs.map +1 -0
- package/dist/components/Auth/AuthProvider/useOAuth2.d.ts +4 -0
- package/dist/components/Auth/AuthProvider/useOAuth2.d.ts.map +1 -0
- package/dist/components/Auth/AuthProvider/useOAuth2.mjs +26 -0
- package/dist/components/Auth/AuthProvider/useOAuth2.mjs.map +1 -0
- package/dist/components/Auth/AuthProvider/useSession.cjs +67 -0
- package/dist/components/Auth/AuthProvider/useSession.cjs.map +1 -0
- package/dist/components/Auth/AuthProvider/useSession.d.ts +9 -0
- package/dist/components/Auth/AuthProvider/useSession.d.ts.map +1 -0
- package/dist/components/Auth/AuthProvider/useSession.mjs +67 -0
- package/dist/components/Auth/AuthProvider/useSession.mjs.map +1 -0
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.cjs +36 -0
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.cjs.map +1 -0
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.d.ts +6 -0
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.d.ts.map +1 -0
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.mjs +36 -0
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierClient.mjs.map +1 -0
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierServer.cjs +22 -0
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierServer.cjs.map +1 -0
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierServer.d.ts +9 -0
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierServer.d.ts.map +1 -0
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierServer.mjs +22 -0
- package/dist/components/Auth/AuthenticationBarrier/AuthenticationBarrierServer.mjs.map +1 -0
- package/dist/components/Auth/AuthenticationBarrier/accessValidation.cjs +15 -0
- package/dist/components/Auth/AuthenticationBarrier/accessValidation.cjs.map +1 -0
- package/dist/components/Auth/AuthenticationBarrier/accessValidation.d.ts +5 -0
- package/dist/components/Auth/AuthenticationBarrier/accessValidation.d.ts.map +1 -0
- package/dist/components/Auth/AuthenticationBarrier/accessValidation.mjs +15 -0
- package/dist/components/Auth/AuthenticationBarrier/accessValidation.mjs.map +1 -0
- package/dist/components/Auth/AuthenticationBarrier/index.cjs +7 -0
- package/dist/components/Auth/AuthenticationBarrier/index.cjs.map +1 -0
- package/dist/components/Auth/AuthenticationBarrier/index.d.ts +24 -0
- package/dist/components/Auth/AuthenticationBarrier/index.d.ts.map +1 -0
- package/dist/components/Auth/AuthenticationBarrier/index.mjs +7 -0
- package/dist/components/Auth/AuthenticationBarrier/index.mjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs +91 -0
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts +11 -0
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs +91 -0
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs +66 -0
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.cjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.d.ts +25 -0
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.d.ts.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs +66 -0
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordSchema.mjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/index.cjs +7 -0
- package/dist/components/Auth/ChangePasswordForm/index.cjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/index.content.cjs +67 -0
- package/dist/components/Auth/ChangePasswordForm/index.content.cjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/index.content.d.ts +23 -0
- package/dist/components/Auth/ChangePasswordForm/index.content.d.ts.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/index.content.mjs +67 -0
- package/dist/components/Auth/ChangePasswordForm/index.content.mjs.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/index.d.ts +3 -0
- package/dist/components/Auth/ChangePasswordForm/index.d.ts.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/index.mjs +7 -0
- package/dist/components/Auth/ChangePasswordForm/index.mjs.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs +61 -0
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.cjs.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.d.ts +6 -0
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.d.ts.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs +61 -0
- package/dist/components/Auth/ExternalsLoginButtons/ExternalsLoginButtons.mjs.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/assets/GithubLogo.cjs +15 -0
- package/dist/components/Auth/ExternalsLoginButtons/assets/GithubLogo.cjs.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/assets/GithubLogo.d.ts +4 -0
- package/dist/components/Auth/ExternalsLoginButtons/assets/GithubLogo.d.ts.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/assets/GithubLogo.mjs +15 -0
- package/dist/components/Auth/ExternalsLoginButtons/assets/GithubLogo.mjs.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.cjs +23 -0
- package/dist/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.cjs.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.d.ts +4 -0
- package/dist/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.d.ts.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.mjs +23 -0
- package/dist/components/Auth/ExternalsLoginButtons/assets/GoogleLogo.mjs.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs +36 -0
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.cjs.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts +12 -0
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.d.ts.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs +36 -0
- package/dist/components/Auth/ExternalsLoginButtons/externalsLoginButtons.content.mjs.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/index.cjs +7 -0
- package/dist/components/Auth/ExternalsLoginButtons/index.cjs.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/index.d.ts +2 -0
- package/dist/components/Auth/ExternalsLoginButtons/index.d.ts.map +1 -0
- package/dist/components/Auth/ExternalsLoginButtons/index.mjs +7 -0
- package/dist/components/Auth/ExternalsLoginButtons/index.mjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs +110 -0
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.cjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts +12 -0
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.d.ts.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs +110 -0
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs +29 -0
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.cjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts +11 -0
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.d.ts.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs +29 -0
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordSchema.mjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/index.cjs +7 -0
- package/dist/components/Auth/ResetPasswordForm/index.cjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/index.content.cjs +50 -0
- package/dist/components/Auth/ResetPasswordForm/index.content.cjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/index.content.d.ts +18 -0
- package/dist/components/Auth/ResetPasswordForm/index.content.d.ts.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/index.content.mjs +50 -0
- package/dist/components/Auth/ResetPasswordForm/index.content.mjs.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/index.d.ts +3 -0
- package/dist/components/Auth/ResetPasswordForm/index.d.ts.map +1 -0
- package/dist/components/Auth/ResetPasswordForm/index.mjs +7 -0
- package/dist/components/Auth/ResetPasswordForm/index.mjs.map +1 -0
- package/dist/components/Auth/SignInForm/SignInForm.cjs +94 -0
- package/dist/components/Auth/SignInForm/SignInForm.cjs.map +1 -0
- package/dist/components/Auth/SignInForm/SignInForm.d.ts +12 -0
- package/dist/components/Auth/SignInForm/SignInForm.d.ts.map +1 -0
- package/dist/components/Auth/SignInForm/SignInForm.mjs +94 -0
- package/dist/components/Auth/SignInForm/SignInForm.mjs.map +1 -0
- package/dist/components/Auth/SignInForm/SignInSchema.cjs +38 -0
- package/dist/components/Auth/SignInForm/SignInSchema.cjs.map +1 -0
- package/dist/components/Auth/SignInForm/SignInSchema.d.ts +14 -0
- package/dist/components/Auth/SignInForm/SignInSchema.d.ts.map +1 -0
- package/dist/components/Auth/SignInForm/SignInSchema.mjs +38 -0
- package/dist/components/Auth/SignInForm/SignInSchema.mjs.map +1 -0
- package/dist/components/Auth/SignInForm/index.cjs +7 -0
- package/dist/components/Auth/SignInForm/index.cjs.map +1 -0
- package/dist/components/Auth/SignInForm/index.content.cjs +84 -0
- package/dist/components/Auth/SignInForm/index.content.cjs.map +1 -0
- package/dist/components/Auth/SignInForm/index.content.d.ts +28 -0
- package/dist/components/Auth/SignInForm/index.content.d.ts.map +1 -0
- package/dist/components/Auth/SignInForm/index.content.mjs +84 -0
- package/dist/components/Auth/SignInForm/index.content.mjs.map +1 -0
- package/dist/components/Auth/SignInForm/index.d.ts +3 -0
- package/dist/components/Auth/SignInForm/index.d.ts.map +1 -0
- package/dist/components/Auth/SignInForm/index.mjs +7 -0
- package/dist/components/Auth/SignInForm/index.mjs.map +1 -0
- package/dist/components/Auth/SignUpForm/SignUpForm.cjs +96 -0
- package/dist/components/Auth/SignUpForm/SignUpForm.cjs.map +1 -0
- package/dist/components/Auth/SignUpForm/SignUpForm.d.ts +11 -0
- package/dist/components/Auth/SignUpForm/SignUpForm.d.ts.map +1 -0
- package/dist/components/Auth/SignUpForm/SignUpForm.mjs +96 -0
- package/dist/components/Auth/SignUpForm/SignUpForm.mjs.map +1 -0
- package/dist/components/Auth/SignUpForm/SignUpSchema.cjs +61 -0
- package/dist/components/Auth/SignUpForm/SignUpSchema.cjs.map +1 -0
- package/dist/components/Auth/SignUpForm/SignUpSchema.d.ts +25 -0
- package/dist/components/Auth/SignUpForm/SignUpSchema.d.ts.map +1 -0
- package/dist/components/Auth/SignUpForm/SignUpSchema.mjs +61 -0
- package/dist/components/Auth/SignUpForm/SignUpSchema.mjs.map +1 -0
- package/dist/components/Auth/SignUpForm/index.cjs +7 -0
- package/dist/components/Auth/SignUpForm/index.cjs.map +1 -0
- package/dist/components/Auth/SignUpForm/index.content.cjs +72 -0
- package/dist/components/Auth/SignUpForm/index.content.cjs.map +1 -0
- package/dist/components/Auth/SignUpForm/index.content.d.ts +24 -0
- package/dist/components/Auth/SignUpForm/index.content.d.ts.map +1 -0
- package/dist/components/Auth/SignUpForm/index.content.mjs +72 -0
- package/dist/components/Auth/SignUpForm/index.content.mjs.map +1 -0
- package/dist/components/Auth/SignUpForm/index.d.ts +3 -0
- package/dist/components/Auth/SignUpForm/index.d.ts.map +1 -0
- package/dist/components/Auth/SignUpForm/index.mjs +7 -0
- package/dist/components/Auth/SignUpForm/index.mjs.map +1 -0
- package/dist/components/Auth/index.cjs +35 -0
- package/dist/components/Auth/index.cjs.map +1 -0
- package/dist/components/Auth/index.d.ts +10 -0
- package/dist/components/Auth/index.d.ts.map +1 -0
- package/dist/components/Auth/index.mjs +35 -0
- package/dist/components/Auth/index.mjs.map +1 -0
- package/dist/components/Auth/useUser/index.cjs +31 -0
- package/dist/components/Auth/useUser/index.cjs.map +1 -0
- package/dist/components/Auth/useUser/index.d.ts +8 -0
- package/dist/components/Auth/useUser/index.d.ts.map +1 -0
- package/dist/components/Auth/useUser/index.mjs +31 -0
- package/dist/components/Auth/useUser/index.mjs.map +1 -0
- package/dist/components/Avatar/index.cjs +63 -0
- package/dist/components/Avatar/index.cjs.map +1 -0
- package/dist/components/Avatar/index.d.ts +2 -1
- package/dist/components/Avatar/index.d.ts.map +1 -0
- package/dist/components/Avatar/index.mjs +63 -0
- package/dist/components/Avatar/index.mjs.map +1 -0
- package/dist/components/Badge/index.cjs +42 -0
- package/dist/components/Badge/index.cjs.map +1 -0
- package/dist/components/Badge/index.d.ts +10 -0
- package/dist/components/Badge/index.d.ts.map +1 -0
- package/dist/components/Badge/index.mjs +42 -0
- package/dist/components/Badge/index.mjs.map +1 -0
- package/dist/components/Breadcrumb/index.cjs +52 -0
- package/dist/components/Breadcrumb/index.cjs.map +1 -0
- package/dist/components/Breadcrumb/index.d.ts +14 -0
- package/dist/components/Breadcrumb/index.d.ts.map +1 -0
- package/dist/components/Breadcrumb/index.mjs +52 -0
- package/dist/components/Breadcrumb/index.mjs.map +1 -0
- package/dist/components/Button/Button.cjs +155 -0
- package/dist/components/Button/Button.cjs.map +1 -0
- package/dist/components/Button/Button.d.ts +27 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/Button.mjs +155 -0
- package/dist/components/Button/Button.mjs.map +1 -0
- package/dist/components/Button/index.cjs +5 -0
- package/dist/components/Button/index.cjs.map +1 -0
- package/dist/components/Button/index.d.ts +2 -22
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Button/index.mjs +5 -0
- package/dist/components/Button/index.mjs.map +1 -0
- package/dist/components/Command/index.cjs +121 -0
- package/dist/components/Command/index.cjs.map +1 -0
- package/dist/components/Command/index.d.ts +136 -0
- package/dist/components/Command/index.d.ts.map +1 -0
- package/dist/components/Command/index.mjs +121 -0
- package/dist/components/Command/index.mjs.map +1 -0
- package/dist/components/Container/index.cjs +101 -0
- package/dist/components/Container/index.cjs.map +1 -0
- package/dist/components/Container/index.d.ts +15 -20
- package/dist/components/Container/index.d.ts.map +1 -0
- package/dist/components/Container/index.mjs +101 -0
- package/dist/components/Container/index.mjs.map +1 -0
- package/dist/components/ContentEditor/ContentEditor.cjs +62 -0
- package/dist/components/ContentEditor/ContentEditor.cjs.map +1 -0
- package/dist/components/ContentEditor/ContentEditor.d.ts +3 -2
- package/dist/components/ContentEditor/ContentEditor.d.ts.map +1 -0
- package/dist/components/ContentEditor/ContentEditor.mjs +62 -0
- package/dist/components/ContentEditor/ContentEditor.mjs.map +1 -0
- package/dist/components/ContentEditor/ContentEditorTextArea.cjs +68 -0
- package/dist/components/ContentEditor/ContentEditorTextArea.cjs.map +1 -0
- package/dist/components/ContentEditor/ContentEditorTextArea.d.ts +9 -0
- package/dist/components/ContentEditor/ContentEditorTextArea.d.ts.map +1 -0
- package/dist/components/ContentEditor/ContentEditorTextArea.mjs +68 -0
- package/dist/components/ContentEditor/ContentEditorTextArea.mjs.map +1 -0
- package/dist/components/ContentEditor/index.cjs +5 -0
- package/dist/components/ContentEditor/index.cjs.map +1 -0
- package/dist/components/ContentEditor/index.d.ts +1 -0
- package/dist/components/ContentEditor/index.d.ts.map +1 -0
- package/dist/components/ContentEditor/index.mjs +5 -0
- package/dist/components/ContentEditor/index.mjs.map +1 -0
- package/dist/components/ContentSelector/ContentSelector.cjs +21 -0
- package/dist/components/ContentSelector/ContentSelector.cjs.map +1 -0
- package/dist/components/ContentSelector/ContentSelector.d.ts +1 -1
- package/dist/components/ContentSelector/ContentSelector.d.ts.map +1 -0
- package/dist/components/ContentSelector/ContentSelector.mjs +21 -0
- package/dist/components/ContentSelector/ContentSelector.mjs.map +1 -0
- package/dist/components/ContentSelector/index.cjs +5 -0
- package/dist/components/ContentSelector/index.cjs.map +1 -0
- package/dist/components/ContentSelector/index.d.ts +1 -0
- package/dist/components/ContentSelector/index.d.ts.map +1 -0
- package/dist/components/ContentSelector/index.mjs +5 -0
- package/dist/components/ContentSelector/index.mjs.map +1 -0
- package/dist/components/CopyToClipboard/index.cjs +45 -0
- package/dist/components/CopyToClipboard/index.cjs.map +1 -0
- package/dist/components/CopyToClipboard/index.d.ts +8 -0
- package/dist/components/CopyToClipboard/index.d.ts.map +1 -0
- package/dist/components/CopyToClipboard/index.mjs +45 -0
- package/dist/components/CopyToClipboard/index.mjs.map +1 -0
- package/dist/components/DictionaryEditor/DictionaryEditor.cjs +35 -0
- package/dist/components/DictionaryEditor/DictionaryEditor.cjs.map +1 -0
- package/dist/components/DictionaryEditor/DictionaryEditor.d.ts +5 -7
- package/dist/components/DictionaryEditor/DictionaryEditor.d.ts.map +1 -0
- package/dist/components/DictionaryEditor/DictionaryEditor.mjs +35 -0
- package/dist/components/DictionaryEditor/DictionaryEditor.mjs.map +1 -0
- package/dist/components/DictionaryEditor/ItemLayout.cjs +54 -0
- package/dist/components/DictionaryEditor/ItemLayout.cjs.map +1 -0
- package/dist/components/DictionaryEditor/ItemLayout.d.ts +1 -4
- package/dist/components/DictionaryEditor/ItemLayout.d.ts.map +1 -0
- package/dist/components/DictionaryEditor/ItemLayout.mjs +54 -0
- package/dist/components/DictionaryEditor/ItemLayout.mjs.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.cjs +9 -0
- package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.cjs.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.d.ts +3 -2
- package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.d.ts.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.mjs +9 -0
- package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.mjs.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.cjs +8 -0
- package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.cjs.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.d.ts +3 -2
- package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.d.ts.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.mjs +8 -0
- package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.mjs.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.cjs +9 -0
- package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.cjs.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.d.ts +3 -2
- package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.d.ts.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.mjs +9 -0
- package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.mjs.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs +47 -0
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.d.ts +3 -2
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.d.ts.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs +47 -0
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.cjs +7 -0
- package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.cjs.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.d.ts +3 -2
- package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.d.ts.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.mjs +7 -0
- package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.mjs.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/index.cjs +10 -0
- package/dist/components/DictionaryEditor/NodeWrapper/index.cjs.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/index.d.ts +6 -5
- package/dist/components/DictionaryEditor/NodeWrapper/index.d.ts.map +1 -0
- package/dist/components/DictionaryEditor/NodeWrapper/index.mjs +10 -0
- package/dist/components/DictionaryEditor/NodeWrapper/index.mjs.map +1 -0
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs +29 -0
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.map +1 -0
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts +6 -4
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.d.ts.map +1 -0
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs +29 -0
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs.map +1 -0
- package/dist/components/DictionaryEditor/index.cjs +9 -0
- package/dist/components/DictionaryEditor/index.cjs.map +1 -0
- package/dist/components/DictionaryEditor/index.d.ts +3 -0
- package/dist/components/DictionaryEditor/index.d.ts.map +1 -0
- package/dist/components/DictionaryEditor/index.mjs +9 -0
- package/dist/components/DictionaryEditor/index.mjs.map +1 -0
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs +492 -0
- package/dist/components/DictionaryEditor/useEditedContentStore.cjs.map +1 -0
- package/dist/components/DictionaryEditor/useEditedContentStore.d.ts +28 -0
- package/dist/components/DictionaryEditor/useEditedContentStore.d.ts.map +1 -0
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs +492 -0
- package/dist/components/DictionaryEditor/useEditedContentStore.mjs.map +1 -0
- package/dist/components/DictionaryEditor/useEditionPanelStore.cjs +15 -0
- package/dist/components/DictionaryEditor/useEditionPanelStore.cjs.map +1 -0
- package/dist/components/DictionaryEditor/useEditionPanelStore.d.ts +16 -0
- package/dist/components/DictionaryEditor/useEditionPanelStore.d.ts.map +1 -0
- package/dist/components/DictionaryEditor/useEditionPanelStore.mjs +15 -0
- package/dist/components/DictionaryEditor/useEditionPanelStore.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs +54 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts +8 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs +54 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs +20 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.d.ts +8 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs +20 -0
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/dictionariesSelector.content.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +111 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.d.ts +4 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +111 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs +129 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +49 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs +129 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs +40 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.d.ts +14 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs +40 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +195 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts +9 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +195 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs +85 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.d.ts +20 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs +85 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +149 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +53 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +149 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +128 -0
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts +10 -0
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +128 -0
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.cjs +129 -0
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.d.ts +10 -0
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.mjs +129 -0
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs +298 -0
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.d.ts +11 -0
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs +298 -0
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.cjs +71 -0
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.d.ts +20 -0
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.mjs +71 -0
- package/dist/components/DictionaryFieldEditor/EnumKeyInput.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.cjs +22 -0
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts +11 -0
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs +22 -0
- package/dist/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs +298 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts +11 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +298 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs +79 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +31 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs +79 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs +99 -0
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.d.ts +11 -0
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs +99 -0
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +129 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts +9 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +129 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.cjs +8 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.d.ts +5 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.mjs +8 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveFormSchema.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +67 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +27 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +67 -0
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs +32 -0
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +12 -0
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs +32 -0
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/editorView.content.cjs +41 -0
- package/dist/components/DictionaryFieldEditor/editorView.content.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/editorView.content.d.ts +17 -0
- package/dist/components/DictionaryFieldEditor/editorView.content.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/editorView.content.mjs +41 -0
- package/dist/components/DictionaryFieldEditor/editorView.content.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/getIsEditableSection.cjs +38 -0
- package/dist/components/DictionaryFieldEditor/getIsEditableSection.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/getIsEditableSection.d.ts +4 -0
- package/dist/components/DictionaryFieldEditor/getIsEditableSection.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/getIsEditableSection.mjs +38 -0
- package/dist/components/DictionaryFieldEditor/getIsEditableSection.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/index.cjs +9 -0
- package/dist/components/DictionaryFieldEditor/index.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/index.d.ts +4 -0
- package/dist/components/DictionaryFieldEditor/index.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/index.mjs +9 -0
- package/dist/components/DictionaryFieldEditor/index.mjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs +40 -0
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs.map +1 -0
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +12 -0
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -0
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs +40 -0
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs.map +1 -0
- package/dist/components/DropDown/index.cjs +77 -0
- package/dist/components/DropDown/index.cjs.map +1 -0
- package/dist/components/DropDown/index.d.ts +21 -2
- package/dist/components/DropDown/index.d.ts.map +1 -0
- package/dist/components/DropDown/index.mjs +77 -0
- package/dist/components/DropDown/index.mjs.map +1 -0
- package/dist/components/DropDown/types.cjs +2 -0
- package/dist/components/DropDown/types.cjs.map +1 -0
- package/dist/components/DropDown/types.d.ts +11 -6
- package/dist/components/DropDown/types.d.ts.map +1 -0
- package/dist/components/DropDown/types.mjs +2 -0
- package/dist/components/DropDown/types.mjs.map +1 -0
- package/dist/components/EditableField/EditableFieldInput.cjs +28 -0
- package/dist/components/EditableField/EditableFieldInput.cjs.map +1 -0
- package/dist/components/EditableField/EditableFieldInput.d.ts +10 -0
- package/dist/components/EditableField/EditableFieldInput.d.ts.map +1 -0
- package/dist/components/EditableField/EditableFieldInput.mjs +28 -0
- package/dist/components/EditableField/EditableFieldInput.mjs.map +1 -0
- package/dist/components/EditableField/EditableFieldLayout.cjs +121 -0
- package/dist/components/EditableField/EditableFieldLayout.cjs.map +1 -0
- package/dist/components/EditableField/EditableFieldLayout.d.ts +12 -0
- package/dist/components/EditableField/EditableFieldLayout.d.ts.map +1 -0
- package/dist/components/EditableField/EditableFieldLayout.mjs +121 -0
- package/dist/components/EditableField/EditableFieldLayout.mjs.map +1 -0
- package/dist/components/EditableField/EditableFieldTextArea.cjs +29 -0
- package/dist/components/EditableField/EditableFieldTextArea.cjs.map +1 -0
- package/dist/components/EditableField/EditableFieldTextArea.d.ts +5 -0
- package/dist/components/EditableField/EditableFieldTextArea.d.ts.map +1 -0
- package/dist/components/EditableField/EditableFieldTextArea.mjs +29 -0
- package/dist/components/EditableField/EditableFieldTextArea.mjs.map +1 -0
- package/dist/components/EditableField/index.cjs +7 -0
- package/dist/components/EditableField/index.cjs.map +1 -0
- package/dist/components/EditableField/index.d.ts +3 -0
- package/dist/components/EditableField/index.d.ts.map +1 -0
- package/dist/components/EditableField/index.mjs +7 -0
- package/dist/components/EditableField/index.mjs.map +1 -0
- package/dist/components/Flags/Flag.cjs +369 -0
- package/dist/components/Flags/Flag.cjs.map +1 -0
- package/dist/components/Flags/Flag.d.ts +9 -0
- package/dist/components/Flags/Flag.d.ts.map +1 -0
- package/dist/components/Flags/Flag.mjs +369 -0
- package/dist/components/Flags/Flag.mjs.map +1 -0
- package/dist/components/Flags/index.cjs +5 -0
- package/dist/components/Flags/index.cjs.map +1 -0
- package/dist/components/Flags/index.d.ts +2 -0
- package/dist/components/Flags/index.d.ts.map +1 -0
- package/dist/components/Flags/index.mjs +5 -0
- package/dist/components/Flags/index.mjs.map +1 -0
- package/dist/components/Footer/index.cjs +23 -0
- package/dist/components/Footer/index.cjs.map +1 -0
- package/dist/components/Footer/index.d.ts +3 -2
- package/dist/components/Footer/index.d.ts.map +1 -0
- package/dist/components/Footer/index.mjs +23 -0
- package/dist/components/Footer/index.mjs.map +1 -0
- package/dist/components/Form/Form.cjs +14 -0
- package/dist/components/Form/Form.cjs.map +1 -0
- package/dist/components/Form/Form.d.ts +54 -0
- package/dist/components/Form/Form.d.ts.map +1 -0
- package/dist/components/Form/Form.mjs +14 -0
- package/dist/components/Form/Form.mjs.map +1 -0
- package/dist/components/Form/FormBase.cjs +72 -0
- package/dist/components/Form/FormBase.cjs.map +1 -0
- package/dist/components/Form/FormBase.d.ts +21 -0
- package/dist/components/Form/FormBase.d.ts.map +1 -0
- package/dist/components/Form/FormBase.mjs +72 -0
- package/dist/components/Form/FormBase.mjs.map +1 -0
- package/dist/components/Form/FormControl.cjs +23 -0
- package/dist/components/Form/FormControl.cjs.map +1 -0
- package/dist/components/Form/FormControl.d.ts +2 -0
- package/dist/components/Form/FormControl.d.ts.map +1 -0
- package/dist/components/Form/FormControl.mjs +23 -0
- package/dist/components/Form/FormControl.mjs.map +1 -0
- package/dist/components/Form/FormDescription.cjs +21 -0
- package/dist/components/Form/FormDescription.cjs.map +1 -0
- package/dist/components/Form/FormDescription.d.ts +4 -0
- package/dist/components/Form/FormDescription.d.ts.map +1 -0
- package/dist/components/Form/FormDescription.mjs +21 -0
- package/dist/components/Form/FormDescription.mjs.map +1 -0
- package/dist/components/Form/FormField.cjs +42 -0
- package/dist/components/Form/FormField.cjs.map +1 -0
- package/dist/components/Form/FormField.d.ts +16 -0
- package/dist/components/Form/FormField.d.ts.map +1 -0
- package/dist/components/Form/FormField.mjs +42 -0
- package/dist/components/Form/FormField.mjs.map +1 -0
- package/dist/components/Form/FormItem.cjs +22 -0
- package/dist/components/Form/FormItem.cjs.map +1 -0
- package/dist/components/Form/FormItem.d.ts +9 -0
- package/dist/components/Form/FormItem.d.ts.map +1 -0
- package/dist/components/Form/FormItem.mjs +22 -0
- package/dist/components/Form/FormItem.mjs.map +1 -0
- package/dist/components/Form/FormLabel.cjs +23 -0
- package/dist/components/Form/FormLabel.cjs.map +1 -0
- package/dist/components/Form/FormLabel.d.ts +2 -0
- package/dist/components/Form/FormLabel.d.ts.map +1 -0
- package/dist/components/Form/FormLabel.mjs +23 -0
- package/dist/components/Form/FormLabel.mjs.map +1 -0
- package/dist/components/Form/FormMessage.cjs +27 -0
- package/dist/components/Form/FormMessage.cjs.map +1 -0
- package/dist/components/Form/FormMessage.d.ts +4 -0
- package/dist/components/Form/FormMessage.d.ts.map +1 -0
- package/dist/components/Form/FormMessage.mjs +27 -0
- package/dist/components/Form/FormMessage.mjs.map +1 -0
- package/dist/components/Form/elements/EditableFieldInputElement.cjs +7 -0
- package/dist/components/Form/elements/EditableFieldInputElement.cjs.map +1 -0
- package/dist/components/Form/elements/EditableFieldInputElement.d.ts +14 -0
- package/dist/components/Form/elements/EditableFieldInputElement.d.ts.map +1 -0
- package/dist/components/Form/elements/EditableFieldInputElement.mjs +7 -0
- package/dist/components/Form/elements/EditableFieldInputElement.mjs.map +1 -0
- package/dist/components/Form/elements/EditableFieldTextAreaElement.cjs +7 -0
- package/dist/components/Form/elements/EditableFieldTextAreaElement.cjs.map +1 -0
- package/dist/components/Form/elements/EditableFieldTextAreaElement.d.ts +14 -0
- package/dist/components/Form/elements/EditableFieldTextAreaElement.d.ts.map +1 -0
- package/dist/components/Form/elements/EditableFieldTextAreaElement.mjs +7 -0
- package/dist/components/Form/elements/EditableFieldTextAreaElement.mjs.map +1 -0
- package/dist/components/Form/elements/FormElement.cjs +11 -0
- package/dist/components/Form/elements/FormElement.cjs.map +1 -0
- package/dist/components/Form/elements/FormElement.d.ts +21 -0
- package/dist/components/Form/elements/FormElement.d.ts.map +1 -0
- package/dist/components/Form/elements/FormElement.mjs +11 -0
- package/dist/components/Form/elements/FormElement.mjs.map +1 -0
- package/dist/components/Form/elements/FormElementWrapper.cjs +37 -0
- package/dist/components/Form/elements/FormElementWrapper.cjs.map +1 -0
- package/dist/components/Form/elements/FormElementWrapper.d.ts +10 -0
- package/dist/components/Form/elements/FormElementWrapper.d.ts.map +1 -0
- package/dist/components/Form/elements/FormElementWrapper.mjs +37 -0
- package/dist/components/Form/elements/FormElementWrapper.mjs.map +1 -0
- package/dist/components/Form/elements/InputElement.cjs +8 -0
- package/dist/components/Form/elements/InputElement.cjs.map +1 -0
- package/dist/components/Form/elements/InputElement.d.ts +10 -0
- package/dist/components/Form/elements/InputElement.d.ts.map +1 -0
- package/dist/components/Form/elements/InputElement.mjs +8 -0
- package/dist/components/Form/elements/InputElement.mjs.map +1 -0
- package/dist/components/Form/elements/InputPasswordElement.cjs +8 -0
- package/dist/components/Form/elements/InputPasswordElement.cjs.map +1 -0
- package/dist/components/Form/elements/InputPasswordElement.d.ts +11 -0
- package/dist/components/Form/elements/InputPasswordElement.d.ts.map +1 -0
- package/dist/components/Form/elements/InputPasswordElement.mjs +8 -0
- package/dist/components/Form/elements/InputPasswordElement.mjs.map +1 -0
- package/dist/components/Form/elements/MultiselectElement.cjs +9 -0
- package/dist/components/Form/elements/MultiselectElement.cjs.map +1 -0
- package/dist/components/Form/elements/MultiselectElement.d.ts +14 -0
- package/dist/components/Form/elements/MultiselectElement.d.ts.map +1 -0
- package/dist/components/Form/elements/MultiselectElement.mjs +9 -0
- package/dist/components/Form/elements/MultiselectElement.mjs.map +1 -0
- package/dist/components/Form/elements/SelectElement.cjs +9 -0
- package/dist/components/Form/elements/SelectElement.cjs.map +1 -0
- package/dist/components/Form/elements/SelectElement.d.ts +14 -0
- package/dist/components/Form/elements/SelectElement.d.ts.map +1 -0
- package/dist/components/Form/elements/SelectElement.mjs +9 -0
- package/dist/components/Form/elements/SelectElement.mjs.map +1 -0
- package/dist/components/Form/elements/SwitchSelectorElement.cjs +9 -0
- package/dist/components/Form/elements/SwitchSelectorElement.cjs.map +1 -0
- package/dist/components/Form/elements/SwitchSelectorElement.d.ts +14 -0
- package/dist/components/Form/elements/SwitchSelectorElement.d.ts.map +1 -0
- package/dist/components/Form/elements/SwitchSelectorElement.mjs +9 -0
- package/dist/components/Form/elements/SwitchSelectorElement.mjs.map +1 -0
- package/dist/components/Form/elements/TextAreaElement.cjs +7 -0
- package/dist/components/Form/elements/TextAreaElement.cjs.map +1 -0
- package/dist/components/Form/elements/TextAreaElement.d.ts +10 -0
- package/dist/components/Form/elements/TextAreaElement.d.ts.map +1 -0
- package/dist/components/Form/elements/TextAreaElement.mjs +7 -0
- package/dist/components/Form/elements/TextAreaElement.mjs.map +1 -0
- package/dist/components/Form/elements/index.cjs +10 -0
- package/dist/components/Form/elements/index.cjs.map +1 -0
- package/dist/components/Form/elements/index.d.ts +7 -0
- package/dist/components/Form/elements/index.d.ts.map +1 -0
- package/dist/components/Form/elements/index.mjs +10 -0
- package/dist/components/Form/elements/index.mjs.map +1 -0
- package/dist/components/Form/index.cjs +9 -0
- package/dist/components/Form/index.cjs.map +1 -0
- package/dist/components/Form/index.d.ts +4 -0
- package/dist/components/Form/index.d.ts.map +1 -0
- package/dist/components/Form/index.mjs +9 -0
- package/dist/components/Form/index.mjs.map +1 -0
- package/dist/components/Form/layout/FormItemLayout.cjs +7 -0
- package/dist/components/Form/layout/FormItemLayout.cjs.map +1 -0
- package/dist/components/Form/layout/FormItemLayout.d.ts +11 -0
- package/dist/components/Form/layout/FormItemLayout.d.ts.map +1 -0
- package/dist/components/Form/layout/FormItemLayout.mjs +7 -0
- package/dist/components/Form/layout/FormItemLayout.mjs.map +1 -0
- package/dist/components/Form/layout/FormLabelLayout.cjs +22 -0
- package/dist/components/Form/layout/FormLabelLayout.cjs.map +1 -0
- package/dist/components/Form/layout/FormLabelLayout.d.ts +11 -0
- package/dist/components/Form/layout/FormLabelLayout.d.ts.map +1 -0
- package/dist/components/Form/layout/FormLabelLayout.mjs +22 -0
- package/dist/components/Form/layout/FormLabelLayout.mjs.map +1 -0
- package/dist/components/Form/layout/RequiredStar.cjs +6 -0
- package/dist/components/Form/layout/RequiredStar.cjs.map +1 -0
- package/dist/components/Form/layout/RequiredStar.d.ts +8 -0
- package/dist/components/Form/layout/RequiredStar.d.ts.map +1 -0
- package/dist/components/Form/layout/RequiredStar.mjs +6 -0
- package/dist/components/Form/layout/RequiredStar.mjs.map +1 -0
- package/dist/components/Form/layout/index.cjs +7 -0
- package/dist/components/Form/layout/index.cjs.map +1 -0
- package/dist/components/Form/layout/index.d.ts +3 -0
- package/dist/components/Form/layout/index.d.ts.map +1 -0
- package/dist/components/Form/layout/index.mjs +7 -0
- package/dist/components/Form/layout/index.mjs.map +1 -0
- package/dist/components/Headers/SectionScroller.cjs +29 -0
- package/dist/components/Headers/SectionScroller.cjs.map +1 -0
- package/dist/components/Headers/SectionScroller.d.ts +1 -0
- package/dist/components/Headers/SectionScroller.d.ts.map +1 -0
- package/dist/components/Headers/SectionScroller.mjs +29 -0
- package/dist/components/Headers/SectionScroller.mjs.map +1 -0
- package/dist/components/Headers/index.cjs +122 -0
- package/dist/components/Headers/index.cjs.map +1 -0
- package/dist/components/Headers/index.d.ts +11 -6
- package/dist/components/Headers/index.d.ts.map +1 -0
- package/dist/components/Headers/index.mjs +122 -0
- package/dist/components/Headers/index.mjs.map +1 -0
- package/dist/components/IDE/CodeRender.cjs +627 -0
- package/dist/components/IDE/CodeRender.cjs.map +1 -0
- package/dist/components/IDE/CodeRender.d.ts +1 -0
- package/dist/components/IDE/CodeRender.d.ts.map +1 -0
- package/dist/components/IDE/CodeRender.mjs +605 -0
- package/dist/components/IDE/CodeRender.mjs.map +1 -0
- package/dist/components/IDE/FileList.cjs +24 -0
- package/dist/components/IDE/FileList.cjs.map +1 -0
- package/dist/components/IDE/FileList.d.ts +7 -0
- package/dist/components/IDE/FileList.d.ts.map +1 -0
- package/dist/components/IDE/FileList.mjs +24 -0
- package/dist/components/IDE/FileList.mjs.map +1 -0
- package/dist/components/IDE/FileTree.cjs +105 -0
- package/dist/components/IDE/FileTree.cjs.map +1 -0
- package/dist/components/IDE/FileTree.d.ts +1 -0
- package/dist/components/IDE/FileTree.d.ts.map +1 -0
- package/dist/components/IDE/FileTree.mjs +105 -0
- package/dist/components/IDE/FileTree.mjs.map +1 -0
- package/dist/components/IDE/IDE.cjs +89 -0
- package/dist/components/IDE/IDE.cjs.map +1 -0
- package/dist/components/IDE/IDE.d.ts +1 -0
- package/dist/components/IDE/IDE.d.ts.map +1 -0
- package/dist/components/IDE/IDE.mjs +89 -0
- package/dist/components/IDE/IDE.mjs.map +1 -0
- package/dist/components/IDE/MarkDownRender.cjs +26 -0
- package/dist/components/IDE/MarkDownRender.cjs.map +1 -0
- package/dist/components/IDE/MarkDownRender.d.ts +1 -0
- package/dist/components/IDE/MarkDownRender.d.ts.map +1 -0
- package/dist/components/IDE/MarkDownRender.mjs +26 -0
- package/dist/components/IDE/MarkDownRender.mjs.map +1 -0
- package/dist/components/IDE/createFileTree.cjs +25 -0
- package/dist/components/IDE/createFileTree.cjs.map +1 -0
- package/dist/components/IDE/createFileTree.d.ts +1 -0
- package/dist/components/IDE/createFileTree.d.ts.map +1 -0
- package/dist/components/IDE/createFileTree.mjs +25 -0
- package/dist/components/IDE/createFileTree.mjs.map +1 -0
- package/dist/components/IDE/index.cjs +9 -0
- package/dist/components/IDE/index.cjs.map +1 -0
- package/dist/components/IDE/index.d.ts +2 -0
- package/dist/components/IDE/index.d.ts.map +1 -0
- package/dist/components/IDE/index.mjs +9 -0
- package/dist/components/IDE/index.mjs.map +1 -0
- package/dist/components/InformationTag/index.cjs +14 -0
- package/dist/components/InformationTag/index.cjs.map +1 -0
- package/dist/components/InformationTag/index.d.ts +6 -0
- package/dist/components/InformationTag/index.d.ts.map +1 -0
- package/dist/components/InformationTag/index.mjs +14 -0
- package/dist/components/InformationTag/index.mjs.map +1 -0
- package/dist/components/Input/Input.cjs +46 -0
- package/dist/components/Input/Input.cjs.map +1 -0
- package/dist/components/Input/Input.d.ts +12 -0
- package/dist/components/Input/Input.d.ts.map +1 -0
- package/dist/components/Input/Input.mjs +46 -0
- package/dist/components/Input/Input.mjs.map +1 -0
- package/dist/components/Input/InputPassword.cjs +47 -0
- package/dist/components/Input/InputPassword.cjs.map +1 -0
- package/dist/components/Input/InputPassword.d.ts +6 -0
- package/dist/components/Input/InputPassword.d.ts.map +1 -0
- package/dist/components/Input/InputPassword.mjs +47 -0
- package/dist/components/Input/InputPassword.mjs.map +1 -0
- package/dist/components/Input/index.cjs +8 -0
- package/dist/components/Input/index.cjs.map +1 -0
- package/dist/components/Input/index.d.ts +3 -0
- package/dist/components/Input/index.d.ts.map +1 -0
- package/dist/components/Input/index.mjs +8 -0
- package/dist/components/Input/index.mjs.map +1 -0
- package/dist/components/Label/index.cjs +16 -0
- package/dist/components/Label/index.cjs.map +1 -0
- package/dist/components/Label/index.d.ts +4 -0
- package/dist/components/Label/index.d.ts.map +1 -0
- package/dist/components/Label/index.mjs +16 -0
- package/dist/components/Label/index.mjs.map +1 -0
- package/dist/components/Link/Link.cjs +67 -0
- package/dist/components/Link/Link.cjs.map +1 -0
- package/dist/components/Link/Link.d.ts +14 -0
- package/dist/components/Link/Link.d.ts.map +1 -0
- package/dist/components/Link/Link.mjs +67 -0
- package/dist/components/Link/Link.mjs.map +1 -0
- package/dist/components/Link/index.cjs +5 -0
- package/dist/components/Link/index.cjs.map +1 -0
- package/dist/components/Link/index.d.ts +2 -0
- package/dist/components/Link/index.d.ts.map +1 -0
- package/dist/components/Link/index.mjs +5 -0
- package/dist/components/Link/index.mjs.map +1 -0
- package/dist/components/Loader/index.cjs +20 -0
- package/dist/components/Loader/index.cjs.map +1 -0
- package/dist/components/Loader/index.d.ts +21 -0
- package/dist/components/Loader/index.d.ts.map +1 -0
- package/dist/components/Loader/index.mjs +20 -0
- package/dist/components/Loader/index.mjs.map +1 -0
- package/dist/components/Loader/spinner.cjs +75 -0
- package/dist/components/Loader/spinner.cjs.map +1 -0
- package/dist/components/Loader/spinner.d.ts +1 -0
- package/dist/components/Loader/spinner.d.ts.map +1 -0
- package/dist/components/Loader/spinner.mjs +75 -0
- package/dist/components/Loader/spinner.mjs.map +1 -0
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs +76 -0
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -0
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts +3 -2
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts.map +1 -0
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +76 -0
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -0
- package/dist/components/LocaleSwitcherDropDown/index.cjs +5 -0
- package/dist/components/LocaleSwitcherDropDown/index.cjs.map +1 -0
- package/dist/components/LocaleSwitcherDropDown/index.d.ts +1 -0
- package/dist/components/LocaleSwitcherDropDown/index.d.ts.map +1 -0
- package/dist/components/LocaleSwitcherDropDown/index.mjs +5 -0
- package/dist/components/LocaleSwitcherDropDown/index.mjs.map +1 -0
- package/dist/components/Logo/LogoCircle.cjs +28 -0
- package/dist/components/Logo/LogoCircle.cjs.map +1 -0
- package/dist/components/Logo/LogoCircle.d.ts +1 -0
- package/dist/components/Logo/LogoCircle.d.ts.map +1 -0
- package/dist/components/Logo/LogoCircle.mjs +28 -0
- package/dist/components/Logo/LogoCircle.mjs.map +1 -0
- package/dist/components/Logo/LogoNoFrame.cjs +111 -0
- package/dist/components/Logo/LogoNoFrame.cjs.map +1 -0
- package/dist/components/Logo/LogoNoFrame.d.ts +1 -0
- package/dist/components/Logo/LogoNoFrame.d.ts.map +1 -0
- package/dist/components/Logo/LogoNoFrame.mjs +111 -0
- package/dist/components/Logo/LogoNoFrame.mjs.map +1 -0
- package/dist/components/Logo/LogoSquare.cjs +28 -0
- package/dist/components/Logo/LogoSquare.cjs.map +1 -0
- package/dist/components/Logo/LogoSquare.d.ts +1 -0
- package/dist/components/Logo/LogoSquare.d.ts.map +1 -0
- package/dist/components/Logo/LogoSquare.mjs +28 -0
- package/dist/components/Logo/LogoSquare.mjs.map +1 -0
- package/dist/components/Logo/LogoSquircle.cjs +65 -0
- package/dist/components/Logo/LogoSquircle.cjs.map +1 -0
- package/dist/components/Logo/LogoSquircle.d.ts +1 -0
- package/dist/components/Logo/LogoSquircle.d.ts.map +1 -0
- package/dist/components/Logo/LogoSquircle.mjs +65 -0
- package/dist/components/Logo/LogoSquircle.mjs.map +1 -0
- package/dist/components/Logo/LogoTextOnly.cjs +102 -0
- package/dist/components/Logo/LogoTextOnly.cjs.map +1 -0
- package/dist/components/Logo/LogoTextOnly.d.ts +1 -0
- package/dist/components/Logo/LogoTextOnly.d.ts.map +1 -0
- package/dist/components/Logo/LogoTextOnly.mjs +102 -0
- package/dist/components/Logo/LogoTextOnly.mjs.map +1 -0
- package/dist/components/Logo/LogoWithTextBelowCircle.cjs +115 -0
- package/dist/components/Logo/LogoWithTextBelowCircle.cjs.map +1 -0
- package/dist/components/Logo/LogoWithTextBelowCircle.d.ts +1 -0
- package/dist/components/Logo/LogoWithTextBelowCircle.d.ts.map +1 -0
- package/dist/components/Logo/LogoWithTextBelowCircle.mjs +115 -0
- package/dist/components/Logo/LogoWithTextBelowCircle.mjs.map +1 -0
- package/dist/components/Logo/LogoWithTextBelowNoFrame.cjs +114 -0
- package/dist/components/Logo/LogoWithTextBelowNoFrame.cjs.map +1 -0
- package/dist/components/Logo/LogoWithTextBelowNoFrame.d.ts +1 -0
- package/dist/components/Logo/LogoWithTextBelowNoFrame.d.ts.map +1 -0
- package/dist/components/Logo/LogoWithTextBelowNoFrame.mjs +114 -0
- package/dist/components/Logo/LogoWithTextBelowNoFrame.mjs.map +1 -0
- package/dist/components/Logo/LogoWithTextBelowSquircle.cjs +68 -0
- package/dist/components/Logo/LogoWithTextBelowSquircle.cjs.map +1 -0
- package/dist/components/Logo/LogoWithTextBelowSquircle.d.ts +1 -0
- package/dist/components/Logo/LogoWithTextBelowSquircle.d.ts.map +1 -0
- package/dist/components/Logo/LogoWithTextBelowSquircle.mjs +68 -0
- package/dist/components/Logo/LogoWithTextBelowSquircle.mjs.map +1 -0
- package/dist/components/Logo/LogoWithTextCircle.cjs +202 -0
- package/dist/components/Logo/LogoWithTextCircle.cjs.map +1 -0
- package/dist/components/Logo/LogoWithTextCircle.d.ts +1 -0
- package/dist/components/Logo/LogoWithTextCircle.d.ts.map +1 -0
- package/dist/components/Logo/LogoWithTextCircle.mjs +202 -0
- package/dist/components/Logo/LogoWithTextCircle.mjs.map +1 -0
- package/dist/components/Logo/LogoWithTextNoFrame.cjs +114 -0
- package/dist/components/Logo/LogoWithTextNoFrame.cjs.map +1 -0
- package/dist/components/Logo/LogoWithTextNoFrame.d.ts +1 -0
- package/dist/components/Logo/LogoWithTextNoFrame.d.ts.map +1 -0
- package/dist/components/Logo/LogoWithTextNoFrame.mjs +114 -0
- package/dist/components/Logo/LogoWithTextNoFrame.mjs.map +1 -0
- package/dist/components/Logo/LogoWithTextSquircle.cjs +68 -0
- package/dist/components/Logo/LogoWithTextSquircle.cjs.map +1 -0
- package/dist/components/Logo/LogoWithTextSquircle.d.ts +1 -0
- package/dist/components/Logo/LogoWithTextSquircle.d.ts.map +1 -0
- package/dist/components/Logo/LogoWithTextSquircle.mjs +68 -0
- package/dist/components/Logo/LogoWithTextSquircle.mjs.map +1 -0
- package/dist/components/Logo/index.cjs +67 -0
- package/dist/components/Logo/index.cjs.map +1 -0
- package/dist/components/Logo/index.d.ts +1 -0
- package/dist/components/Logo/index.d.ts.map +1 -0
- package/dist/components/Logo/index.mjs +67 -0
- package/dist/components/Logo/index.mjs.map +1 -0
- package/dist/components/MarkDownRender/index.cjs +104 -0
- package/dist/components/MarkDownRender/index.cjs.map +1 -0
- package/dist/components/MarkDownRender/index.d.ts +1 -0
- package/dist/components/MarkDownRender/index.d.ts.map +1 -0
- package/dist/components/MarkDownRender/index.mjs +104 -0
- package/dist/components/MarkDownRender/index.mjs.map +1 -0
- package/dist/components/MaxHeightSmoother/index.cjs +42 -0
- package/dist/components/MaxHeightSmoother/index.cjs.map +1 -0
- package/dist/components/MaxHeightSmoother/index.d.ts +1 -0
- package/dist/components/MaxHeightSmoother/index.d.ts.map +1 -0
- package/dist/components/MaxHeightSmoother/index.mjs +42 -0
- package/dist/components/MaxHeightSmoother/index.mjs.map +1 -0
- package/dist/components/MaxWidthSmoother/index.cjs +36 -0
- package/dist/components/MaxWidthSmoother/index.cjs.map +1 -0
- package/dist/components/MaxWidthSmoother/index.d.ts +4 -4
- package/dist/components/MaxWidthSmoother/index.d.ts.map +1 -0
- package/dist/components/MaxWidthSmoother/index.mjs +36 -0
- package/dist/components/MaxWidthSmoother/index.mjs.map +1 -0
- package/dist/components/Modal/Modal.cjs +119 -0
- package/dist/components/Modal/Modal.cjs.map +1 -0
- package/dist/components/Modal/Modal.d.ts +24 -0
- package/dist/components/Modal/Modal.d.ts.map +1 -0
- package/dist/components/Modal/Modal.mjs +119 -0
- package/dist/components/Modal/Modal.mjs.map +1 -0
- package/dist/components/Modal/index.cjs +5 -0
- package/dist/components/Modal/index.cjs.map +1 -0
- package/dist/components/Modal/index.d.ts +2 -9
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/Modal/index.mjs +5 -0
- package/dist/components/Modal/index.mjs.map +1 -0
- package/dist/components/Navbar/Burger.cjs +60 -0
- package/dist/components/Navbar/Burger.cjs.map +1 -0
- package/dist/components/Navbar/Burger.d.ts +2 -1
- package/dist/components/Navbar/Burger.d.ts.map +1 -0
- package/dist/components/Navbar/Burger.mjs +60 -0
- package/dist/components/Navbar/Burger.mjs.map +1 -0
- package/dist/components/Navbar/DesktopNavbar.cjs +44 -0
- package/dist/components/Navbar/DesktopNavbar.cjs.map +1 -0
- package/dist/components/Navbar/DesktopNavbar.d.ts +1 -0
- package/dist/components/Navbar/DesktopNavbar.d.ts.map +1 -0
- package/dist/components/Navbar/DesktopNavbar.mjs +44 -0
- package/dist/components/Navbar/DesktopNavbar.mjs.map +1 -0
- package/dist/components/Navbar/MobileNavbar.cjs +170 -0
- package/dist/components/Navbar/MobileNavbar.cjs.map +1 -0
- package/dist/components/Navbar/MobileNavbar.d.ts +2 -0
- package/dist/components/Navbar/MobileNavbar.d.ts.map +1 -0
- package/dist/components/Navbar/MobileNavbar.mjs +170 -0
- package/dist/components/Navbar/MobileNavbar.mjs.map +1 -0
- package/dist/components/Navbar/index.cjs +53 -0
- package/dist/components/Navbar/index.cjs.map +1 -0
- package/dist/components/Navbar/index.d.ts +2 -0
- package/dist/components/Navbar/index.d.ts.map +1 -0
- package/dist/components/Navbar/index.mjs +53 -0
- package/dist/components/Navbar/index.mjs.map +1 -0
- package/dist/components/Navbar/useNavigation.cjs +57 -0
- package/dist/components/Navbar/useNavigation.cjs.map +1 -0
- package/dist/components/Navbar/useNavigation.d.ts +1 -0
- package/dist/components/Navbar/useNavigation.d.ts.map +1 -0
- package/dist/components/Navbar/useNavigation.mjs +57 -0
- package/dist/components/Navbar/useNavigation.mjs.map +1 -0
- package/dist/components/Pattern/DotPattern.cjs +47 -0
- package/dist/components/Pattern/DotPattern.cjs.map +1 -0
- package/dist/components/Pattern/DotPattern.d.ts +14 -0
- package/dist/components/Pattern/DotPattern.d.ts.map +1 -0
- package/dist/components/Pattern/DotPattern.mjs +47 -0
- package/dist/components/Pattern/DotPattern.mjs.map +1 -0
- package/dist/components/Pattern/GridPattern.cjs +63 -0
- package/dist/components/Pattern/GridPattern.cjs.map +1 -0
- package/dist/components/Pattern/GridPattern.d.ts +13 -0
- package/dist/components/Pattern/GridPattern.d.ts.map +1 -0
- package/dist/components/Pattern/GridPattern.mjs +63 -0
- package/dist/components/Pattern/GridPattern.mjs.map +1 -0
- package/dist/components/Pattern/SpotLight.cjs +73 -0
- package/dist/components/Pattern/SpotLight.cjs.map +1 -0
- package/dist/components/Pattern/SpotLight.d.ts +13 -0
- package/dist/components/Pattern/SpotLight.d.ts.map +1 -0
- package/dist/components/Pattern/SpotLight.mjs +73 -0
- package/dist/components/Pattern/SpotLight.mjs.map +1 -0
- package/dist/components/Pattern/index.cjs +9 -0
- package/dist/components/Pattern/index.cjs.map +1 -0
- package/dist/components/Pattern/index.d.ts +4 -0
- package/dist/components/Pattern/index.d.ts.map +1 -0
- package/dist/components/Pattern/index.mjs +9 -0
- package/dist/components/Pattern/index.mjs.map +1 -0
- package/dist/components/Popover/index.cjs +25 -0
- package/dist/components/Popover/index.cjs.map +1 -0
- package/dist/components/Popover/index.d.ts +1 -0
- package/dist/components/Popover/index.d.ts.map +1 -0
- package/dist/components/Popover/index.mjs +25 -0
- package/dist/components/Popover/index.mjs.map +1 -0
- package/dist/components/PressableSpan/PressableSpan.cjs +90 -0
- package/dist/components/PressableSpan/PressableSpan.cjs.map +1 -0
- package/dist/components/PressableSpan/PressableSpan.d.ts +11 -0
- package/dist/components/PressableSpan/PressableSpan.d.ts.map +1 -0
- package/dist/components/PressableSpan/PressableSpan.mjs +90 -0
- package/dist/components/PressableSpan/PressableSpan.mjs.map +1 -0
- package/dist/components/PressableSpan/index.cjs +5 -0
- package/dist/components/PressableSpan/index.cjs.map +1 -0
- package/dist/components/PressableSpan/index.d.ts +2 -0
- package/dist/components/PressableSpan/index.d.ts.map +1 -0
- package/dist/components/PressableSpan/index.mjs +5 -0
- package/dist/components/PressableSpan/index.mjs.map +1 -0
- package/dist/components/ProfileDropDown/index.cjs +25 -0
- package/dist/components/ProfileDropDown/index.cjs.map +1 -0
- package/dist/components/ProfileDropDown/index.d.ts +1 -0
- package/dist/components/ProfileDropDown/index.d.ts.map +1 -0
- package/dist/components/ProfileDropDown/index.mjs +25 -0
- package/dist/components/ProfileDropDown/index.mjs.map +1 -0
- package/dist/components/RightDrawer/RightDrawer.cjs +89 -0
- package/dist/components/RightDrawer/RightDrawer.cjs.map +1 -0
- package/dist/components/RightDrawer/RightDrawer.d.ts +1 -0
- package/dist/components/RightDrawer/RightDrawer.d.ts.map +1 -0
- package/dist/components/RightDrawer/RightDrawer.mjs +89 -0
- package/dist/components/RightDrawer/RightDrawer.mjs.map +1 -0
- package/dist/components/RightDrawer/index.cjs +8 -0
- package/dist/components/RightDrawer/index.cjs.map +1 -0
- package/dist/components/RightDrawer/index.d.ts +1 -0
- package/dist/components/RightDrawer/index.d.ts.map +1 -0
- package/dist/components/RightDrawer/index.mjs +8 -0
- package/dist/components/RightDrawer/index.mjs.map +1 -0
- package/dist/components/RightDrawer/useRightDrawerStore.cjs +18 -0
- package/dist/components/RightDrawer/useRightDrawerStore.cjs.map +1 -0
- package/dist/components/RightDrawer/useRightDrawerStore.d.ts +1 -0
- package/dist/components/RightDrawer/useRightDrawerStore.d.ts.map +1 -0
- package/dist/components/RightDrawer/useRightDrawerStore.mjs +18 -0
- package/dist/components/RightDrawer/useRightDrawerStore.mjs.map +1 -0
- package/dist/components/Select/Multiselect.cjs +334 -0
- package/dist/components/Select/Multiselect.cjs.map +1 -0
- package/dist/components/Select/Multiselect.d.ts +97 -0
- package/dist/components/Select/Multiselect.d.ts.map +1 -0
- package/dist/components/Select/Multiselect.mjs +334 -0
- package/dist/components/Select/Multiselect.mjs.map +1 -0
- package/dist/components/Select/Select.cjs +152 -0
- package/dist/components/Select/Select.cjs.map +1 -0
- package/dist/components/Select/Select.d.ts +42 -0
- package/dist/components/Select/Select.d.ts.map +1 -0
- package/dist/components/Select/Select.mjs +135 -0
- package/dist/components/Select/Select.mjs.map +1 -0
- package/dist/components/Select/index.cjs +10 -0
- package/dist/components/Select/index.cjs.map +1 -0
- package/dist/components/Select/index.d.ts +3 -0
- package/dist/components/Select/index.d.ts.map +1 -0
- package/dist/components/Select/index.mjs +10 -0
- package/dist/components/Select/index.mjs.map +1 -0
- package/dist/components/SwitchSelector/index.cjs +143 -0
- package/dist/components/SwitchSelector/index.cjs.map +1 -0
- package/dist/components/SwitchSelector/index.d.ts +41 -0
- package/dist/components/SwitchSelector/index.d.ts.map +1 -0
- package/dist/components/SwitchSelector/index.mjs +143 -0
- package/dist/components/SwitchSelector/index.mjs.map +1 -0
- package/dist/components/TabSelector/TabSelector.cjs +108 -0
- package/dist/components/TabSelector/TabSelector.cjs.map +1 -0
- package/dist/components/TabSelector/TabSelector.d.ts +35 -0
- package/dist/components/TabSelector/TabSelector.d.ts.map +1 -0
- package/dist/components/TabSelector/TabSelector.mjs +108 -0
- package/dist/components/TabSelector/TabSelector.mjs.map +1 -0
- package/dist/components/TabSelector/index.cjs +5 -0
- package/dist/components/TabSelector/index.cjs.map +1 -0
- package/dist/components/TabSelector/index.d.ts +2 -0
- package/dist/components/TabSelector/index.d.ts.map +1 -0
- package/dist/components/TabSelector/index.mjs +5 -0
- package/dist/components/TabSelector/index.mjs.map +1 -0
- package/dist/components/TextArea/AutoSizeTextArea.cjs +54 -0
- package/dist/components/TextArea/AutoSizeTextArea.cjs.map +1 -0
- package/dist/components/TextArea/AutoSizeTextArea.d.ts +8 -0
- package/dist/components/TextArea/AutoSizeTextArea.d.ts.map +1 -0
- package/dist/components/TextArea/AutoSizeTextArea.mjs +54 -0
- package/dist/components/TextArea/AutoSizeTextArea.mjs.map +1 -0
- package/dist/components/TextArea/TextArea.cjs +27 -0
- package/dist/components/TextArea/TextArea.cjs.map +1 -0
- package/dist/components/TextArea/TextArea.d.ts +9 -0
- package/dist/components/TextArea/TextArea.d.ts.map +1 -0
- package/dist/components/TextArea/TextArea.mjs +27 -0
- package/dist/components/TextArea/TextArea.mjs.map +1 -0
- package/dist/components/TextArea/index.cjs +7 -0
- package/dist/components/TextArea/index.cjs.map +1 -0
- package/dist/components/TextArea/index.d.ts +3 -0
- package/dist/components/TextArea/index.d.ts.map +1 -0
- package/dist/components/TextArea/index.mjs +7 -0
- package/dist/components/TextArea/index.mjs.map +1 -0
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs +89 -0
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs.map +1 -0
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.d.ts +1 -0
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.d.ts.map +1 -0
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs +89 -0
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs.map +1 -0
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.cjs +84 -0
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.cjs.map +1 -0
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.d.ts +1 -0
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.d.ts.map +1 -0
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.mjs +84 -0
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.mjs.map +1 -0
- package/dist/components/ThemeSwitcherDropDown/index.cjs +9 -0
- package/dist/components/ThemeSwitcherDropDown/index.cjs.map +1 -0
- package/dist/components/ThemeSwitcherDropDown/index.d.ts +1 -0
- package/dist/components/ThemeSwitcherDropDown/index.d.ts.map +1 -0
- package/dist/components/ThemeSwitcherDropDown/index.mjs +9 -0
- package/dist/components/ThemeSwitcherDropDown/index.mjs.map +1 -0
- package/dist/components/ThemeSwitcherDropDown/types.cjs +10 -0
- package/dist/components/ThemeSwitcherDropDown/types.cjs.map +1 -0
- package/dist/components/ThemeSwitcherDropDown/types.d.ts +1 -0
- package/dist/components/ThemeSwitcherDropDown/types.d.ts.map +1 -0
- package/dist/components/ThemeSwitcherDropDown/types.mjs +10 -0
- package/dist/components/ThemeSwitcherDropDown/types.mjs.map +1 -0
- package/dist/components/Toaster/Toast.cjs +117 -0
- package/dist/components/Toaster/Toast.cjs.map +1 -0
- package/dist/components/Toaster/Toast.d.ts +16 -0
- package/dist/components/Toaster/Toast.d.ts.map +1 -0
- package/dist/components/Toaster/Toast.mjs +100 -0
- package/dist/components/Toaster/Toast.mjs.map +1 -0
- package/dist/components/Toaster/Toaster.cjs +22 -0
- package/dist/components/Toaster/Toaster.cjs.map +1 -0
- package/dist/components/Toaster/Toaster.d.ts +2 -0
- package/dist/components/Toaster/Toaster.d.ts.map +1 -0
- package/dist/components/Toaster/Toaster.mjs +22 -0
- package/dist/components/Toaster/Toaster.mjs.map +1 -0
- package/dist/components/Toaster/index.cjs +17 -0
- package/dist/components/Toaster/index.cjs.map +1 -0
- package/dist/components/Toaster/index.d.ts +4 -0
- package/dist/components/Toaster/index.d.ts.map +1 -0
- package/dist/components/Toaster/index.mjs +17 -0
- package/dist/components/Toaster/index.mjs.map +1 -0
- package/dist/components/Toaster/useToast.cjs +124 -0
- package/dist/components/Toaster/useToast.cjs.map +1 -0
- package/dist/components/Toaster/useToast.d.ts +49 -0
- package/dist/components/Toaster/useToast.d.ts.map +1 -0
- package/dist/components/Toaster/useToast.mjs +124 -0
- package/dist/components/Toaster/useToast.mjs.map +1 -0
- package/dist/components/WithResizer/index.cjs +91 -0
- package/dist/components/WithResizer/index.cjs.map +1 -0
- package/dist/components/WithResizer/index.d.ts +1 -0
- package/dist/components/WithResizer/index.d.ts.map +1 -0
- package/dist/components/WithResizer/index.mjs +91 -0
- package/dist/components/WithResizer/index.mjs.map +1 -0
- package/dist/components/index.cjs +172 -0
- package/dist/components/index.cjs.map +1 -0
- package/dist/components/index.d.ts +21 -2
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.mjs +172 -0
- package/dist/components/index.mjs.map +1 -0
- package/dist/hooks/index.cjs +58 -0
- package/dist/hooks/index.cjs.map +1 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.mjs +58 -0
- package/dist/hooks/index.mjs.map +1 -0
- package/dist/hooks/intlayerAPIHooks.cjs +244 -0
- package/dist/hooks/intlayerAPIHooks.cjs.map +1 -0
- package/dist/hooks/intlayerAPIHooks.d.ts +56 -0
- package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -0
- package/dist/hooks/intlayerAPIHooks.mjs +244 -0
- package/dist/hooks/intlayerAPIHooks.mjs.map +1 -0
- package/dist/hooks/useAsync/index.cjs +5 -0
- package/dist/hooks/useAsync/index.cjs.map +1 -0
- package/dist/hooks/useAsync/index.d.ts +2 -0
- package/dist/hooks/useAsync/index.d.ts.map +1 -0
- package/dist/hooks/useAsync/index.mjs +5 -0
- package/dist/hooks/useAsync/index.mjs.map +1 -0
- package/dist/hooks/useAsync/useAsync.cjs +275 -0
- package/dist/hooks/useAsync/useAsync.cjs.map +1 -0
- package/dist/hooks/useAsync/useAsync.d.ts +93 -0
- package/dist/hooks/useAsync/useAsync.d.ts.map +1 -0
- package/dist/hooks/useAsync/useAsync.mjs +275 -0
- package/dist/hooks/useAsync/useAsync.mjs.map +1 -0
- package/dist/hooks/useAsync/useAsyncStateStore.cjs +168 -0
- package/dist/hooks/useAsync/useAsyncStateStore.cjs.map +1 -0
- package/dist/hooks/useAsync/useAsyncStateStore.d.ts +34 -0
- package/dist/hooks/useAsync/useAsyncStateStore.d.ts.map +1 -0
- package/dist/hooks/useAsync/useAsyncStateStore.mjs +168 -0
- package/dist/hooks/useAsync/useAsyncStateStore.mjs.map +1 -0
- package/dist/hooks/useAsync/useAsyncWrapper.cjs +10 -0
- package/dist/hooks/useAsync/useAsyncWrapper.cjs.map +1 -0
- package/dist/hooks/useAsync/useAsyncWrapper.d.ts +38 -0
- package/dist/hooks/useAsync/useAsyncWrapper.d.ts.map +1 -0
- package/dist/hooks/useAsync/useAsyncWrapper.mjs +10 -0
- package/dist/hooks/useAsync/useAsyncWrapper.mjs.map +1 -0
- package/dist/hooks/useDevice.cjs +61 -0
- package/dist/hooks/useDevice.cjs.map +1 -0
- package/dist/hooks/useDevice.d.ts +1 -0
- package/dist/hooks/useDevice.d.ts.map +1 -0
- package/dist/hooks/useDevice.mjs +61 -0
- package/dist/hooks/useDevice.mjs.map +1 -0
- package/dist/hooks/useGetAllDictionaries.cjs +32 -0
- package/dist/hooks/useGetAllDictionaries.cjs.map +1 -0
- package/dist/hooks/useGetAllDictionaries.d.ts +9 -0
- package/dist/hooks/useGetAllDictionaries.d.ts.map +1 -0
- package/dist/hooks/useGetAllDictionaries.mjs +32 -0
- package/dist/hooks/useGetAllDictionaries.mjs.map +1 -0
- package/dist/hooks/useGetElementOrWindow.cjs +13 -0
- package/dist/hooks/useGetElementOrWindow.cjs.map +1 -0
- package/dist/hooks/useGetElementOrWindow.d.ts +1 -0
- package/dist/hooks/useGetElementOrWindow.d.ts.map +1 -0
- package/dist/hooks/useGetElementOrWindow.mjs +13 -0
- package/dist/hooks/useGetElementOrWindow.mjs.map +1 -0
- package/dist/hooks/useIntlayerAPI.cjs +27 -0
- package/dist/hooks/useIntlayerAPI.cjs.map +1 -0
- package/dist/hooks/useIntlayerAPI.d.ts +59 -0
- package/dist/hooks/useIntlayerAPI.d.ts.map +1 -0
- package/dist/hooks/useIntlayerAPI.mjs +27 -0
- package/dist/hooks/useIntlayerAPI.mjs.map +1 -0
- package/dist/hooks/useIsMounted.cjs +13 -0
- package/dist/hooks/useIsMounted.cjs.map +1 -0
- package/dist/hooks/useIsMounted.d.ts +1 -0
- package/dist/hooks/useIsMounted.d.ts.map +1 -0
- package/dist/hooks/useIsMounted.mjs +13 -0
- package/dist/hooks/useIsMounted.mjs.map +1 -0
- package/dist/hooks/useItemSelector.cjs +89 -0
- package/dist/hooks/useItemSelector.cjs.map +1 -0
- package/dist/hooks/useItemSelector.d.ts +11 -0
- package/dist/hooks/useItemSelector.d.ts.map +1 -0
- package/dist/hooks/useItemSelector.mjs +89 -0
- package/dist/hooks/useItemSelector.mjs.map +1 -0
- package/dist/hooks/useScrollBlockage/index.cjs +27 -0
- package/dist/hooks/useScrollBlockage/index.cjs.map +1 -0
- package/dist/hooks/useScrollBlockage/index.d.ts +1 -0
- package/dist/hooks/useScrollBlockage/index.d.ts.map +1 -0
- package/dist/hooks/useScrollBlockage/index.mjs +27 -0
- package/dist/hooks/useScrollBlockage/index.mjs.map +1 -0
- package/dist/hooks/useScrollBlockage/useScrollBlockageStore.cjs +63 -0
- package/dist/hooks/useScrollBlockage/useScrollBlockageStore.cjs.map +1 -0
- package/dist/hooks/useScrollBlockage/useScrollBlockageStore.d.ts +1 -0
- package/dist/hooks/useScrollBlockage/useScrollBlockageStore.d.ts.map +1 -0
- package/dist/hooks/useScrollBlockage/useScrollBlockageStore.mjs +63 -0
- package/dist/hooks/useScrollBlockage/useScrollBlockageStore.mjs.map +1 -0
- package/dist/hooks/useScrollDetection.cjs +71 -0
- package/dist/hooks/useScrollDetection.cjs.map +1 -0
- package/dist/hooks/useScrollDetection.d.ts +1 -0
- package/dist/hooks/useScrollDetection.d.ts.map +1 -0
- package/dist/hooks/useScrollDetection.mjs +71 -0
- package/dist/hooks/useScrollDetection.mjs.map +1 -0
- package/dist/index-BZQDMSxb.cjs +200 -0
- package/dist/index-BZQDMSxb.cjs.map +1 -0
- package/dist/index-pLq_417z.js +201 -0
- package/dist/index-pLq_417z.js.map +1 -0
- package/dist/jsx-runtime-BgSF1HG2.js +939 -0
- package/dist/jsx-runtime-BgSF1HG2.js.map +1 -0
- package/dist/jsx-runtime-DvCoRj5u.cjs +938 -0
- package/dist/jsx-runtime-DvCoRj5u.cjs.map +1 -0
- package/dist/libs/index.cjs +6 -0
- package/dist/libs/index.cjs.map +1 -0
- package/dist/libs/index.d.ts +2 -0
- package/dist/libs/index.d.ts.map +1 -0
- package/dist/libs/index.mjs +6 -0
- package/dist/libs/index.mjs.map +1 -0
- package/dist/libs/intlayer-api/auth.cjs +129 -0
- package/dist/libs/intlayer-api/auth.cjs.map +1 -0
- package/dist/libs/intlayer-api/auth.d.ts +34 -0
- package/dist/libs/intlayer-api/auth.d.ts.map +1 -0
- package/dist/libs/intlayer-api/auth.mjs +129 -0
- package/dist/libs/intlayer-api/auth.mjs.map +1 -0
- package/dist/libs/intlayer-api/dictionary.cjs +78 -0
- package/dist/libs/intlayer-api/dictionary.cjs.map +1 -0
- package/dist/libs/intlayer-api/dictionary.d.ts +22 -0
- package/dist/libs/intlayer-api/dictionary.d.ts.map +1 -0
- package/dist/libs/intlayer-api/dictionary.mjs +78 -0
- package/dist/libs/intlayer-api/dictionary.mjs.map +1 -0
- package/dist/libs/intlayer-api/fetcher.cjs +72 -0
- package/dist/libs/intlayer-api/fetcher.cjs.map +1 -0
- package/dist/libs/intlayer-api/fetcher.d.ts +70 -0
- package/dist/libs/intlayer-api/fetcher.d.ts.map +1 -0
- package/dist/libs/intlayer-api/fetcher.mjs +72 -0
- package/dist/libs/intlayer-api/fetcher.mjs.map +1 -0
- package/dist/libs/intlayer-api/index.cjs +18 -0
- package/dist/libs/intlayer-api/index.cjs.map +1 -0
- package/dist/libs/intlayer-api/index.d.ts +119 -0
- package/dist/libs/intlayer-api/index.d.ts.map +1 -0
- package/dist/libs/intlayer-api/index.mjs +18 -0
- package/dist/libs/intlayer-api/index.mjs.map +1 -0
- package/dist/libs/intlayer-api/organization.cjs +95 -0
- package/dist/libs/intlayer-api/organization.cjs.map +1 -0
- package/dist/libs/intlayer-api/organization.d.ts +26 -0
- package/dist/libs/intlayer-api/organization.d.ts.map +1 -0
- package/dist/libs/intlayer-api/organization.mjs +95 -0
- package/dist/libs/intlayer-api/organization.mjs.map +1 -0
- package/dist/libs/intlayer-api/project.cjs +110 -0
- package/dist/libs/intlayer-api/project.cjs.map +1 -0
- package/dist/libs/intlayer-api/project.d.ts +28 -0
- package/dist/libs/intlayer-api/project.d.ts.map +1 -0
- package/dist/libs/intlayer-api/project.mjs +110 -0
- package/dist/libs/intlayer-api/project.mjs.map +1 -0
- package/dist/libs/intlayer-api/user.cjs +70 -0
- package/dist/libs/intlayer-api/user.cjs.map +1 -0
- package/dist/libs/intlayer-api/user.d.ts +22 -0
- package/dist/libs/intlayer-api/user.d.ts.map +1 -0
- package/dist/libs/intlayer-api/user.mjs +70 -0
- package/dist/libs/intlayer-api/user.mjs.map +1 -0
- package/dist/tailwind.css +1 -0
- package/dist/utils/camelCase.cjs +15 -0
- package/dist/utils/camelCase.cjs.map +1 -0
- package/dist/utils/camelCase.d.ts +3 -0
- package/dist/utils/camelCase.d.ts.map +1 -0
- package/dist/utils/camelCase.mjs +15 -0
- package/dist/utils/camelCase.mjs.map +1 -0
- package/dist/utils/capitalize.cjs +10 -0
- package/dist/utils/capitalize.cjs.map +1 -0
- package/dist/utils/capitalize.d.ts +1 -0
- package/dist/utils/capitalize.d.ts.map +1 -0
- package/dist/utils/capitalize.mjs +10 -0
- package/dist/utils/capitalize.mjs.map +1 -0
- package/dist/utils/cn.cjs +7 -0
- package/dist/utils/cn.cjs.map +1 -0
- package/dist/utils/cn.d.ts +1 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/cn.mjs +7 -0
- package/dist/utils/cn.mjs.map +1 -0
- package/dist/utils/dictionary.cjs +122 -0
- package/dist/utils/dictionary.cjs.map +1 -0
- package/dist/utils/dictionary.d.ts +7 -0
- package/dist/utils/dictionary.d.ts.map +1 -0
- package/dist/utils/dictionary.mjs +122 -0
- package/dist/utils/dictionary.mjs.map +1 -0
- package/dist/utils/isElementAtTopAndNotCovered.cjs +17 -0
- package/dist/utils/isElementAtTopAndNotCovered.cjs.map +1 -0
- package/dist/utils/isElementAtTopAndNotCovered.d.ts +2 -0
- package/dist/utils/isElementAtTopAndNotCovered.d.ts.map +1 -0
- package/dist/utils/isElementAtTopAndNotCovered.mjs +17 -0
- package/dist/utils/isElementAtTopAndNotCovered.mjs.map +1 -0
- package/dist/utils/object.cjs +22 -0
- package/dist/utils/object.cjs.map +1 -0
- package/dist/utils/object.d.ts +18 -0
- package/dist/utils/object.d.ts.map +1 -0
- package/dist/utils/object.mjs +22 -0
- package/dist/utils/object.mjs.map +1 -0
- package/dist/zod-BV4nCGJE.js +47 -0
- package/dist/zod-BV4nCGJE.js.map +1 -0
- package/dist/zod-DSrtTSD_.cjs +46 -0
- package/dist/zod-DSrtTSD_.cjs.map +1 -0
- package/package.json +77 -35
- package/dist/MarkDownRender-7oiSvDiM.cjs +0 -14
- package/dist/MarkDownRender-JEDIcxQT.js +0 -316
- package/dist/StringWrapper-CW70GPXq.js +0 -28
- package/dist/StringWrapper-DUDqtkwz.cjs +0 -1
- package/dist/check-BLEiR8OY.js +0 -12
- package/dist/check-rhNgx2ZQ.cjs +0 -6
- package/dist/chevron-right-D3LPoNy5.js +0 -14
- package/dist/chevron-right-bKrhRS9t.cjs +0 -6
- package/dist/components/Accordion/Accordion.cjs.js +0 -8
- package/dist/components/Accordion/Accordion.es.js +0 -48
- package/dist/components/Accordion/index.cjs.js +0 -1
- package/dist/components/Accordion/index.es.js +0 -5
- package/dist/components/Avatar/index.cjs.js +0 -6
- package/dist/components/Avatar/index.es.js +0 -71
- package/dist/components/Button/index.cjs.js +0 -6
- package/dist/components/Button/index.es.js +0 -306
- package/dist/components/Container/index.cjs.js +0 -7
- package/dist/components/Container/index.es.js +0 -152
- package/dist/components/ContentEditor/ContentEditor.cjs.js +0 -5
- package/dist/components/ContentEditor/ContentEditor.es.js +0 -75
- package/dist/components/ContentEditor/index.cjs.js +0 -1
- package/dist/components/ContentEditor/index.es.js +0 -5
- package/dist/components/ContentSelector/ContentSelector.cjs.js +0 -1
- package/dist/components/ContentSelector/ContentSelector.es.js +0 -14
- package/dist/components/ContentSelector/index.cjs.js +0 -1
- package/dist/components/ContentSelector/index.es.js +0 -5
- package/dist/components/DictionaryEditor/DictionaryEditor.cjs.js +0 -1
- package/dist/components/DictionaryEditor/DictionaryEditor.es.js +0 -25
- package/dist/components/DictionaryEditor/ItemLayout.cjs.js +0 -1
- package/dist/components/DictionaryEditor/ItemLayout.es.js +0 -81
- package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.cjs.js +0 -1
- package/dist/components/DictionaryEditor/NodeWrapper/ArrayWrapper.es.js +0 -10
- package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.cjs.js +0 -1
- package/dist/components/DictionaryEditor/NodeWrapper/EnumerationWrapper.es.js +0 -9
- package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.cjs.js +0 -1
- package/dist/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.es.js +0 -9
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.cjs.js +0 -1
- package/dist/components/DictionaryEditor/NodeWrapper/StringWrapper.es.js +0 -9
- package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.cjs.js +0 -1
- package/dist/components/DictionaryEditor/NodeWrapper/TranslationWrapper.es.js +0 -7
- package/dist/components/DictionaryEditor/NodeWrapper/index.cjs.js +0 -1
- package/dist/components/DictionaryEditor/NodeWrapper/index.es.js +0 -11
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.cjs.js +0 -1
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.es.js +0 -40
- package/dist/components/DictionaryEditor/index.cjs.js +0 -1
- package/dist/components/DictionaryEditor/index.es.js +0 -5
- package/dist/components/DropDown/index.cjs.js +0 -5
- package/dist/components/DropDown/index.es.js +0 -50
- package/dist/components/DropDown/types.cjs.js +0 -1
- package/dist/components/DropDown/types.es.js +0 -1
- package/dist/components/Footer/index.cjs.js +0 -1
- package/dist/components/Footer/index.es.js +0 -71
- package/dist/components/Headers/SectionScroller.cjs.js +0 -1
- package/dist/components/Headers/SectionScroller.es.js +0 -20
- package/dist/components/Headers/index.cjs.js +0 -1
- package/dist/components/Headers/index.es.js +0 -103
- package/dist/components/IDE/CodeRender.cjs.js +0 -26
- package/dist/components/IDE/CodeRender.es.js +0 -22872
- package/dist/components/IDE/FileTree.cjs.js +0 -1
- package/dist/components/IDE/FileTree.es.js +0 -112
- package/dist/components/IDE/IDE.cjs.js +0 -1
- package/dist/components/IDE/IDE.es.js +0 -187
- package/dist/components/IDE/MarkDownRender.cjs.js +0 -1
- package/dist/components/IDE/MarkDownRender.es.js +0 -7
- package/dist/components/IDE/createFileTree.cjs.js +0 -1
- package/dist/components/IDE/createFileTree.es.js +0 -25
- package/dist/components/IDE/index.cjs.js +0 -1
- package/dist/components/IDE/index.es.js +0 -7
- package/dist/components/Loader/index.cjs.js +0 -1
- package/dist/components/Loader/index.es.js +0 -23
- package/dist/components/Loader/spinner.cjs.js +0 -1
- package/dist/components/Loader/spinner.es.js +0 -22
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.js +0 -6
- package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.es.js +0 -571
- package/dist/components/LocaleSwitcherDropDown/index.cjs.js +0 -1
- package/dist/components/LocaleSwitcherDropDown/index.es.js +0 -5
- package/dist/components/Logo/LogoCircle.cjs.js +0 -1
- package/dist/components/Logo/LogoCircle.es.js +0 -12
- package/dist/components/Logo/LogoNoFrame.cjs.js +0 -1
- package/dist/components/Logo/LogoNoFrame.es.js +0 -28
- package/dist/components/Logo/LogoSquare.cjs.js +0 -1
- package/dist/components/Logo/LogoSquare.es.js +0 -12
- package/dist/components/Logo/LogoSquircle.cjs.js +0 -1
- package/dist/components/Logo/LogoSquircle.es.js +0 -17
- package/dist/components/Logo/LogoTextOnly.cjs.js +0 -1
- package/dist/components/Logo/LogoTextOnly.es.js +0 -28
- package/dist/components/Logo/LogoWithTextBelowCircle.cjs.js +0 -1
- package/dist/components/Logo/LogoWithTextBelowCircle.es.js +0 -30
- package/dist/components/Logo/LogoWithTextBelowNoFrame.cjs.js +0 -1
- package/dist/components/Logo/LogoWithTextBelowNoFrame.es.js +0 -28
- package/dist/components/Logo/LogoWithTextBelowSquircle.cjs.js +0 -1
- package/dist/components/Logo/LogoWithTextBelowSquircle.es.js +0 -17
- package/dist/components/Logo/LogoWithTextCircle.cjs.js +0 -1
- package/dist/components/Logo/LogoWithTextCircle.es.js +0 -51
- package/dist/components/Logo/LogoWithTextNoFrame.cjs.js +0 -1
- package/dist/components/Logo/LogoWithTextNoFrame.es.js +0 -28
- package/dist/components/Logo/LogoWithTextSquircle.cjs.js +0 -1
- package/dist/components/Logo/LogoWithTextSquircle.es.js +0 -17
- package/dist/components/Logo/index.cjs.js +0 -1
- package/dist/components/Logo/index.es.js +0 -65
- package/dist/components/MarkDownRender/index.cjs.js +0 -1
- package/dist/components/MarkDownRender/index.es.js +0 -106
- package/dist/components/MaxHeightSmoother/index.cjs.js +0 -6
- package/dist/components/MaxHeightSmoother/index.es.js +0 -52
- package/dist/components/MaxWidthSmoother/index.cjs.js +0 -6
- package/dist/components/MaxWidthSmoother/index.es.js +0 -39
- package/dist/components/Modal/index.cjs.js +0 -1
- package/dist/components/Modal/index.es.js +0 -64
- package/dist/components/Navbar/Burger.cjs.js +0 -1
- package/dist/components/Navbar/Burger.es.js +0 -84
- package/dist/components/Navbar/DesktopNavbar.cjs.js +0 -7
- package/dist/components/Navbar/DesktopNavbar.es.js +0 -76
- package/dist/components/Navbar/MobileNavbar.cjs.js +0 -9
- package/dist/components/Navbar/MobileNavbar.es.js +0 -199
- package/dist/components/Navbar/index.cjs.js +0 -1
- package/dist/components/Navbar/index.es.js +0 -25
- package/dist/components/Navbar/useNavigation.cjs.js +0 -1
- package/dist/components/Navbar/useNavigation.es.js +0 -39
- package/dist/components/Popover/index.cjs.js +0 -1
- package/dist/components/Popover/index.es.js +0 -52
- package/dist/components/PressableDiv/PressableDiv.cjs.js +0 -1
- package/dist/components/PressableDiv/PressableDiv.d.ts +0 -10
- package/dist/components/PressableDiv/PressableDiv.es.js +0 -63
- package/dist/components/PressableDiv/index.cjs.js +0 -1
- package/dist/components/PressableDiv/index.d.ts +0 -1
- package/dist/components/PressableDiv/index.es.js +0 -5
- package/dist/components/ProfileDropDown/index.cjs.js +0 -6
- package/dist/components/ProfileDropDown/index.es.js +0 -37
- package/dist/components/RedirectionButton/RedirectionButton.cjs.js +0 -1
- package/dist/components/RedirectionButton/RedirectionButton.d.ts +0 -8
- package/dist/components/RedirectionButton/RedirectionButton.es.js +0 -34
- package/dist/components/RedirectionButton/index.cjs.js +0 -1
- package/dist/components/RedirectionButton/index.d.ts +0 -1
- package/dist/components/RedirectionButton/index.es.js +0 -5
- package/dist/components/RightDrawer/RightDrawer.cjs.js +0 -8
- package/dist/components/RightDrawer/RightDrawer.es.js +0 -124
- package/dist/components/RightDrawer/index.cjs.js +0 -1
- package/dist/components/RightDrawer/index.es.js +0 -8
- package/dist/components/RightDrawer/useRightDrawerStore.cjs.js +0 -1
- package/dist/components/RightDrawer/useRightDrawerStore.es.js +0 -15
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs.js +0 -1
- package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.es.js +0 -69
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.cjs.js +0 -1
- package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.es.js +0 -65
- package/dist/components/ThemeSwitcherDropDown/index.cjs.js +0 -1
- package/dist/components/ThemeSwitcherDropDown/index.es.js +0 -9
- package/dist/components/ThemeSwitcherDropDown/types.cjs.js +0 -1
- package/dist/components/ThemeSwitcherDropDown/types.es.js +0 -5
- package/dist/components/WithResizer/index.cjs.js +0 -1
- package/dist/components/WithResizer/index.es.js +0 -82
- package/dist/components/index.cjs.js +0 -1
- package/dist/components/index.es.js +0 -65
- package/dist/createLucideIcon-DlZEiEGq.js +0 -80
- package/dist/createLucideIcon-ZOnO-fn6.cjs +0 -21
- package/dist/hooks/index.cjs.js +0 -1
- package/dist/hooks/index.es.js +0 -13
- package/dist/hooks/useDevice.cjs.js +0 -1
- package/dist/hooks/useDevice.es.js +0 -48
- package/dist/hooks/useGetElementOrWindow.cjs.js +0 -1
- package/dist/hooks/useGetElementOrWindow.es.js +0 -11
- package/dist/hooks/useIsMounted.cjs.js +0 -1
- package/dist/hooks/useIsMounted.es.js +0 -11
- package/dist/hooks/useScrollBlockage/index.cjs.js +0 -1
- package/dist/hooks/useScrollBlockage/index.es.js +0 -24
- package/dist/hooks/useScrollBlockage/useScrollBlockageStore.cjs.js +0 -1
- package/dist/hooks/useScrollBlockage/useScrollBlockageStore.es.js +0 -40
- package/dist/hooks/useScrollDetection.cjs.js +0 -1
- package/dist/hooks/useScrollDetection.es.js +0 -41
- package/dist/index-CJEkIqT6.cjs +0 -1
- package/dist/index-DBWNacRP.js +0 -133
- package/dist/intlayer-editor/src/client/renderContentEditor.d.ts +0 -13
- package/dist/jsx-runtime-D6agescH.cjs +0 -30
- package/dist/jsx-runtime-Tw_Kw2GZ.js +0 -638
- package/dist/localeList-CaRF-907.js +0 -300
- package/dist/localeList-DlUgKn8J.cjs +0 -1
- package/dist/motion-minimal-BFpJTMRN.js +0 -788
- package/dist/motion-minimal-CwdK8lup.cjs +0 -1
- package/dist/styled-components.browser.esm-D6kkzXl4.js +0 -1085
- package/dist/styled-components.browser.esm-GqWwDlfY.cjs +0 -58
- package/dist/sun-BQYZHcpc.cjs +0 -16
- package/dist/sun-BrKC5Qwg.js +0 -49
- package/dist/utils/capitalize.cjs.js +0 -1
- package/dist/utils/capitalize.es.js +0 -5
- package/dist/utils/cn.cjs.js +0 -1
- package/dist/utils/cn.es.js +0 -2338
- package/dist/x-BKwnSvvj.js +0 -15
- package/dist/x-DIXoN4xe.cjs +0 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/libs/intlayer-api/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,cAAc,EACd,gBAAgB,EACjB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAW,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AAKzD,eAAO,MAAM,UAAU,oBAAoB,cAAc;uBAuE/C,cAAc,iBACN,cAAc;yBAjElB,cAAc,iBACV,cAAc;0BAiBpB,iBAAiB,CAAC,QAAQ,CAAC,iBACrB,cAAc;0CA6BT,sBAAsB,CAAC,mBAAmB,CAAC,YACpD,sBAAsB,CAAC,UAAU,CAAC,iBAC9B,cAAc;4BAjBrB,oBAAoB,CAAC,OAAO,CAAC,iBACtB,cAAc;uBAiDtB,cAAc,iBACN,cAAc;yBAkBpB,MAAM,iBACA,cAAc;CAoB/B,CAAC;AAEF,eAAO,MAAM,OAAO;uBA7DV,cAAc,iBACN,cAAc;yBAjElB,cAAc,iBACV,cAAc;0BAiBpB,iBAAiB,CAAC,QAAQ,CAAC,iBACrB,cAAc;0CA6BT,sBAAsB,CAAC,mBAAmB,CAAC,YACpD,sBAAsB,CAAC,UAAU,CAAC,iBAC9B,cAAc;4BAjBrB,oBAAoB,CAAC,OAAO,CAAC,iBACtB,cAAc;uBAiDtB,cAAc,iBACN,cAAc;yBAkBpB,MAAM,iBACA,cAAc;CAsBG,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { getConfiguration } from "@intlayer/config/client";
|
|
2
|
+
import { fetcher } from "./fetcher.mjs";
|
|
3
|
+
const backendURL = getConfiguration().editor.backendURL;
|
|
4
|
+
const USER_API_ROUTE = `${backendURL}/api/user`;
|
|
5
|
+
const getUserAPI = (authAPIOptions = {}) => {
|
|
6
|
+
const getUsers = async (filters, otherOptions = {}) => await fetcher(
|
|
7
|
+
USER_API_ROUTE,
|
|
8
|
+
authAPIOptions,
|
|
9
|
+
otherOptions,
|
|
10
|
+
{
|
|
11
|
+
params: filters
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
const getUserById = async (userId, otherOptions = {}) => await fetcher(
|
|
15
|
+
`${USER_API_ROUTE}/${userId}`,
|
|
16
|
+
authAPIOptions,
|
|
17
|
+
otherOptions
|
|
18
|
+
);
|
|
19
|
+
const getUserByEmail = async (email, otherOptions = {}) => await fetcher(
|
|
20
|
+
`${USER_API_ROUTE}/email/${email}`,
|
|
21
|
+
authAPIOptions,
|
|
22
|
+
otherOptions
|
|
23
|
+
);
|
|
24
|
+
const getUserByAccount = async (providerAccountId, provider, otherOptions = {}) => await fetcher(
|
|
25
|
+
`${USER_API_ROUTE}/account/${provider}/${providerAccountId}`,
|
|
26
|
+
authAPIOptions,
|
|
27
|
+
otherOptions
|
|
28
|
+
);
|
|
29
|
+
const createUser = async (user, otherOptions = {}) => await fetcher(
|
|
30
|
+
`${USER_API_ROUTE}/`,
|
|
31
|
+
authAPIOptions,
|
|
32
|
+
otherOptions,
|
|
33
|
+
{
|
|
34
|
+
method: "POST",
|
|
35
|
+
body: user
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
const updateUser = async (user, otherOptions = {}) => await fetcher(
|
|
39
|
+
`${USER_API_ROUTE}`,
|
|
40
|
+
authAPIOptions,
|
|
41
|
+
otherOptions,
|
|
42
|
+
{
|
|
43
|
+
method: "PUT",
|
|
44
|
+
body: user
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
const deleteUser = async (userId, otherOptions = {}) => await fetcher(
|
|
48
|
+
`${USER_API_ROUTE}/${userId}`,
|
|
49
|
+
authAPIOptions,
|
|
50
|
+
otherOptions,
|
|
51
|
+
{
|
|
52
|
+
method: "DELETE"
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
return {
|
|
56
|
+
createUser,
|
|
57
|
+
getUsers,
|
|
58
|
+
getUserById,
|
|
59
|
+
getUserByAccount,
|
|
60
|
+
getUserByEmail,
|
|
61
|
+
updateUser,
|
|
62
|
+
deleteUser
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const userAPI = getUserAPI();
|
|
66
|
+
export {
|
|
67
|
+
getUserAPI,
|
|
68
|
+
userAPI
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=user.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.mjs","sources":["../../../src/libs/intlayer-api/user.ts"],"sourcesContent":["import type {\n CreateUserBody,\n CreateUserResult,\n GetUserByAccountParams,\n GetUserByAccountResult,\n GetUserByEmailParams,\n GetUserByEmailResult,\n GetUserByIdParams,\n GetUserByIdResult,\n GetUsersParams,\n GetUsersResult,\n UpdateUserBody,\n UpdateUserResult,\n} from '@intlayer/backend';\nimport { getConfiguration } from '@intlayer/config/client';\nimport { fetcher, type FetcherOptions } from './fetcher';\n\nconst backendURL = getConfiguration().editor.backendURL;\nconst USER_API_ROUTE = `${backendURL}/api/user`;\n\nexport const getUserAPI = (authAPIOptions: FetcherOptions = {}) => {\n /**\n * Retrieves a list of users based on filters and pagination.\n * @param filters - Filters and pagination options.\n * @returns List of users.\n */\n const getUsers = async (\n filters?: GetUsersParams,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetUsersResult>(\n USER_API_ROUTE,\n authAPIOptions,\n otherOptions,\n {\n params: filters,\n }\n );\n\n /**\n * Retrieves a user by ID.\n * @param userId - User ID.\n * @returns User object.\n */\n const getUserById = async (\n userId: GetUserByIdParams['userId'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetUserByIdResult>(\n `${USER_API_ROUTE}/${userId}`,\n authAPIOptions,\n otherOptions\n );\n\n /**\n * Retrieves a user by email.\n * @param email - User email.\n * @returns User object.\n */\n const getUserByEmail = async (\n email: GetUserByEmailParams['email'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetUserByEmailResult>(\n `${USER_API_ROUTE}/email/${email}`,\n authAPIOptions,\n otherOptions\n );\n\n /**\n * Retrieves a user by account.\n * @param providerAccountId - The provider account ID.\n * @param provider - The provider of the account.\n */\n const getUserByAccount = async (\n providerAccountId: GetUserByAccountParams['providerAccountId'],\n provider: GetUserByAccountParams['provider'],\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<GetUserByAccountResult>(\n `${USER_API_ROUTE}/account/${provider}/${providerAccountId}`,\n authAPIOptions,\n otherOptions\n );\n\n /**\n * Creates a new user.\n * @param user - User credentials.\n * @returns User object.\n */\n const createUser = async (\n user: CreateUserBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<CreateUserResult>(\n `${USER_API_ROUTE}/`,\n authAPIOptions,\n otherOptions,\n {\n method: 'POST',\n body: user,\n }\n );\n\n /**\n * Updates the user with the provided data.\n * @param user - Updated user data.\n * @returns User object.\n */\n const updateUser = async (\n user: UpdateUserBody,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<UpdateUserResult>(\n `${USER_API_ROUTE}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'PUT',\n body: user,\n }\n );\n\n /**\n * Deletes a user with the provided ID.\n * @param userId - User ID.\n * @returns User object.\n */\n const deleteUser = async (\n userId: string,\n otherOptions: FetcherOptions = {}\n ) =>\n await fetcher<UpdateUserResult>(\n `${USER_API_ROUTE}/${userId}`,\n authAPIOptions,\n otherOptions,\n {\n method: 'DELETE',\n }\n );\n\n return {\n createUser,\n getUsers,\n getUserById,\n getUserByAccount,\n getUserByEmail,\n updateUser,\n deleteUser,\n };\n};\n\nexport const userAPI = getUserAPI();\n"],"names":[],"mappings":";;AAiBA,MAAM,aAAa,iBAAiB,EAAE,OAAO;AAC7C,MAAM,iBAAiB,GAAG,UAAU;AAE7B,MAAM,aAAa,CAAC,iBAAiC,OAAO;AAMjE,QAAM,WAAW,OACf,SACA,eAA+B,CAAA,MAE/B,MAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,IACV;AAAA,EAAA;AAQJ,QAAM,cAAc,OAClB,QACA,eAA+B,CAAA,MAE/B,MAAM;AAAA,IACJ,GAAG,cAAc,IAAI,MAAM;AAAA,IAC3B;AAAA,IACA;AAAA,EAAA;AAQJ,QAAM,iBAAiB,OACrB,OACA,eAA+B,CAAA,MAE/B,MAAM;AAAA,IACJ,GAAG,cAAc,UAAU,KAAK;AAAA,IAChC;AAAA,IACA;AAAA,EAAA;AAQJ,QAAM,mBAAmB,OACvB,mBACA,UACA,eAA+B,OAE/B,MAAM;AAAA,IACJ,GAAG,cAAc,YAAY,QAAQ,IAAI,iBAAiB;AAAA,IAC1D;AAAA,IACA;AAAA,EAAA;AAQJ,QAAM,aAAa,OACjB,MACA,eAA+B,CAAA,MAE/B,MAAM;AAAA,IACJ,GAAG,cAAc;AAAA,IACjB;AAAA,IACA;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,MAAM;AAAA,IACR;AAAA,EAAA;AAQJ,QAAM,aAAa,OACjB,MACA,eAA+B,CAAA,MAE/B,MAAM;AAAA,IACJ,GAAG,cAAc;AAAA,IACjB;AAAA,IACA;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,MAAM;AAAA,IACR;AAAA,EAAA;AAQJ,QAAM,aAAa,OACjB,QACA,eAA+B,CAAA,MAE/B,MAAM;AAAA,IACJ,GAAG,cAAc,IAAI,MAAM;AAAA,IAC3B;AAAA,IACA;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,IACV;AAAA,EAAA;AAGG,SAAA;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAEJ;AAEO,MAAM,UAAU,WAAW;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:Inter Variable;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}.container{margin-left:auto;margin-right:auto;padding-left:2rem;padding-right:2rem;width:100%}@media (min-width:1400px){.container{max-width:1400px}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.bottom-0{bottom:0}.left-0{left:0}.left-1\/2{left:50%}.left-5{left:1.25rem}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-3{top:.75rem}.top-6{top:1.5rem}.top-\[calc\(100\%\+0\.5rem\)\]{top:calc(100% + .5rem)}.z-10{z-index:10}.z-50{z-index:50}.z-\[-1\]{z-index:-1}.z-\[1000\]{z-index:1000}.z-\[100\]{z-index:100}.float-start{float:inline-start}.m-2{margin:.5rem}.m-3{margin:.75rem}.m-auto{margin:auto}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-1{margin-bottom:.25rem;margin-top:.25rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mb-3{margin-bottom:.75rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-\[10vw\]{margin-left:10vw}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.size-10{height:2.5rem;width:2.5rem}.size-3{height:.75rem;width:.75rem}.size-3\.5{height:.875rem;width:.875rem}.size-4{height:1rem;width:1rem}.size-5{height:1.25rem;width:1.25rem}.size-6{height:1.5rem;width:1.5rem}.size-7{height:1.75rem;width:1.75rem}.size-9{height:2.25rem;width:2.25rem}.size-full{height:100%;width:100%}.h-8{height:2rem}.h-\[1px\]{height:1px}.h-\[2px\]{height:2px}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-96{max-height:24rem}.max-h-\[300px\]{max-height:300px}.max-h-\[30vh\]{max-height:30vh}.max-h-\[50vh\]{max-height:50vh}.max-h-\[70vh\]{max-height:70vh}.max-h-\[95vh\]{max-height:95vh}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-10{min-height:2.5rem}.min-h-11{min-height:2.75rem}.min-h-8{min-height:2rem}.min-h-9{min-height:2.25rem}.w-16{width:4rem}.w-20{width:5rem}.w-3\/4{width:75%}.w-4{width:1rem}.w-40{width:10rem}.w-44{width:11rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.min-w-20{min-width:5rem}.min-w-28{min-width:7rem}.min-w-\[100px\]{min-width:100px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.min-w-full{min-width:100%}.max-w-\[100vw\]{max-width:100vw}.max-w-\[30vw\]{max-width:30vw}.max-w-\[400px\]{max-width:400px}.max-w-\[50vw\]{max-width:50vw}.max-w-\[70vw\]{max-width:70vw}.max-w-\[80\%\]{max-width:80%}.max-w-\[95vw\]{max-width:95vw}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.shrink-0{flex-shrink:0}.table-fixed{table-layout:fixed}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}.-translate-y-2{--tw-translate-y:-0.5rem}.-translate-y-2,.-translate-y-3{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-3{--tw-translate-y:-0.75rem}.-translate-y-full{--tw-translate-y:-100%}.-translate-y-full,.translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y:0px}.translate-y-2{--tw-translate-y:0.5rem}.translate-y-2,.translate-y-3{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-3{--tw-translate-y:0.75rem}.translate-y-\[150\%\]{--tw-translate-y:150%}.translate-y-\[150\%\],.translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y:100%}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.rotate-90{--tw-rotate:90deg}.rotate-90,.rotate-\[-45deg\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-\[-45deg\]{--tw-rotate:-45deg}.rotate-\[45deg\]{--tw-rotate:45deg}.rotate-\[45deg\],.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spotlight{0%{opacity:0;transform:translate(72%,-62%) scale(.5)}to{opacity:1;transform:translate(50%,-40%) scale(1)}}.animate-spotlight{animation:spotlight 2s ease .75s 1 forwards}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}.resize-none{resize:none}.resize{resize:both}.scroll-m-8{scroll-margin:2rem}.scroll-p-8{scroll-padding:2rem}.grid-cols-\[0fr\]{grid-template-columns:0fr}.grid-cols-\[0px\]{grid-template-columns:0}.grid-cols-\[1fr\]{grid-template-columns:1fr}.grid-cols-\[auto\2c 1fr\]{grid-template-columns:auto 1fr}.grid-rows-\[0fr\]{grid-template-rows:0fr}.grid-rows-\[1fr\]{grid-template-rows:1fr}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-0{gap:0}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-\[0\.1rem\]{gap:.1rem}.gap-\[10vw\]{gap:10vw}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-y-0{row-gap:0}.gap-y-3{row-gap:.75rem}.gap-y-6{row-gap:1.5rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse:0;border-left-width:calc(1px*(1 - var(--tw-divide-x-reverse)));border-right-width:calc(1px*var(--tw-divide-x-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-dashed>:not([hidden])~:not([hidden]){border-style:dashed}.divide-text\/20>:not([hidden])~:not([hidden]){border-color:hsla(0,0%,7%,.2)}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-x-visible{overflow-x:visible}.overflow-y-scroll{overflow-y:scroll}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.text-nowrap{text-wrap:nowrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-t-3xl{border-top-left-radius:1.5rem;border-top-right-radius:1.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-\[1\.5px\]{border-width:1.5px}.border-y-\[1\.5px\]{border-bottom-width:1.5px;border-top-width:1.5px}.border-l-4{border-left-width:4px}.border-r-\[1\.5px\]{border-right-width:1.5px}.border-r-\[2px\]{border-right-width:2px}.border-t-\[1\.5px\]{border-top-width:1.5px}.border-none{border-style:none}.border-card{--tw-border-opacity:1;border-color:rgba(231,231,231,var(--tw-border-opacity))}.border-destructive{--tw-border-opacity:1;border-color:rgba(251,125,60,var(--tw-border-opacity))}.border-error{--tw-border-opacity:1;border-color:rgba(181,24,13,var(--tw-border-opacity))}.border-inherit{border-color:inherit}.border-input-border{--tw-border-opacity:1;border-color:rgba(246,246,246,var(--tw-border-opacity))}.border-neutral{--tw-border-opacity:1;border-color:rgba(93,93,93,var(--tw-border-opacity))}.border-neutral-200{--tw-border-opacity:1;border-color:rgba(209,209,209,var(--tw-border-opacity))}.border-neutral-800{--tw-border-opacity:1;border-color:rgba(69,69,69,var(--tw-border-opacity))}.border-primary{--tw-border-opacity:1;border-color:rgba(232,121,249,var(--tw-border-opacity))}.border-secondary{--tw-border-opacity:1;border-color:rgba(255,230,109,var(--tw-border-opacity))}.border-success{--tw-border-opacity:1;border-color:rgba(0,204,102,var(--tw-border-opacity))}.border-text{--tw-border-opacity:1;border-color:rgba(18,18,18,var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgba(255,255,255,var(--tw-border-opacity))}.bg-background\/40{background-color:hsla(0,0%,100%,.4)}.bg-card{--tw-bg-opacity:1;background-color:rgba(231,231,231,var(--tw-bg-opacity))}.bg-card\/20{background-color:hsla(0,0%,91%,.2)}.bg-card\/40{background-color:hsla(0,0%,91%,.4)}.bg-card\/60{background-color:hsla(0,0%,91%,.6)}.bg-card\/80{background-color:hsla(0,0%,91%,.8)}.bg-card\/95{background-color:hsla(0,0%,91%,.95)}.bg-destructive{--tw-bg-opacity:1;background-color:rgba(251,125,60,var(--tw-bg-opacity))}.bg-error{--tw-bg-opacity:1;background-color:rgba(181,24,13,var(--tw-bg-opacity))}.bg-error\/40{background-color:rgba(181,24,13,.4)}.bg-green-500{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-inherit{background-color:inherit}.bg-input-background{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-neutral{--tw-bg-opacity:1;background-color:rgba(93,93,93,var(--tw-bg-opacity))}.bg-neutral-200{--tw-bg-opacity:1;background-color:rgba(209,209,209,var(--tw-bg-opacity))}.bg-neutral-800{--tw-bg-opacity:1;background-color:rgba(69,69,69,var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity:1;background-color:rgba(232,121,249,var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity:1;background-color:rgb(252 165 165/var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity:1;background-color:rgba(255,230,109,var(--tw-bg-opacity))}.bg-success{--tw-bg-opacity:1;background-color:rgba(0,204,102,var(--tw-bg-opacity))}.bg-success\/30{background-color:rgba(0,204,102,.3)}.bg-text{--tw-bg-opacity:1;background-color:rgba(18,18,18,var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity:1;background-color:rgb(234 179 8/var(--tw-bg-opacity))}.bg-opacity-0{--tw-bg-opacity:0}.bg-none{background-image:none}.fill-neutral\/10{fill:rgba(93,93,93,.1)}.fill-neutral\/30{fill:rgba(93,93,93,.3)}.stroke-neutral\/10{stroke:rgba(93,93,93,.1)}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-\[1\.5px\]{padding:1.5px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.pb-\[20\%\]{padding-bottom:20%}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-5{padding-left:1.25rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pt-10{padding-top:2.5rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-6{line-height:1.5rem}.leading-none{line-height:1}.tracking-wide{letter-spacing:.025em}.tracking-widest{letter-spacing:.1em}.\!text-current{color:currentColor!important}.text-card{--tw-text-opacity:1;color:rgba(231,231,231,var(--tw-text-opacity))}.text-destructive{--tw-text-opacity:1;color:rgba(251,125,60,var(--tw-text-opacity))}.text-error{--tw-text-opacity:1;color:rgba(181,24,13,var(--tw-text-opacity))}.text-inherit{color:inherit}.text-input-text{--tw-text-opacity:1;color:rgba(18,18,18,var(--tw-text-opacity))}.text-neutral{--tw-text-opacity:1;color:rgba(93,93,93,var(--tw-text-opacity))}.text-neutral-400{--tw-text-opacity:1;color:rgba(136,136,136,var(--tw-text-opacity))}.text-neutral-800{--tw-text-opacity:1;color:rgba(69,69,69,var(--tw-text-opacity))}.text-primary{--tw-text-opacity:1;color:rgba(232,121,249,var(--tw-text-opacity))}.text-secondary{--tw-text-opacity:1;color:rgba(255,230,109,var(--tw-text-opacity))}.text-success{--tw-text-opacity:1;color:rgba(0,204,102,var(--tw-text-opacity))}.text-text{--tw-text-opacity:1;color:rgba(18,18,18,var(--tw-text-opacity))}.text-text-dark,.text-text-opposite{--tw-text-opacity:1;color:rgba(255,245,237,var(--tw-text-opacity))}.text-text\/50{color:hsla(0,0%,7%,.5)}.text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.text-opacity-75{--tw-text-opacity:0.75}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.caret-transparent{caret-color:transparent}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-90{opacity:.9}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-\[0_0_10px_-15px_rgba\(0\2c 0\2c 0\2c 0\.3\)\]{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0_0_10px_-15px_rgba\(0\2c 0\2c 0\2c 0\.3\)\]{--tw-shadow:0 0 10px -15px rgba(0,0,0,.3);--tw-shadow-colored:0 0 10px -15px var(--tw-shadow-color)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-lg,.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-0{outline-width:0}.outline-2{outline-width:2px}.outline-offset-4{outline-offset:4px}.outline-inherit{outline-color:inherit}.outline-transparent{outline-color:transparent}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring-0,.ring-2{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring-current{--tw-ring-color:currentColor}.ring-offset-background{--tw-ring-offset-color:#fff}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-\[left\2c width\]{transition-duration:.15s;transition-property:left,width;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.delay-100{transition-delay:.1s}.delay-200{transition-delay:.2s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-left-12:after{content:var(--tw-content);left:-3rem}.after\:right-0:after{content:var(--tw-content);right:0}.after\:top-0:after{content:var(--tw-content);top:0}.after\:top-1\/2:after{content:var(--tw-content);top:50%}.after\:block:after{content:var(--tw-content);display:block}.after\:h-10:after{content:var(--tw-content);height:2.5rem}.after\:h-full:after{content:var(--tw-content);height:100%}.after\:w-2:after{content:var(--tw-content);width:.5rem}.after\:-translate-y-1\/2:after{--tw-translate-y:-50%}.after\:-translate-y-1\/2:after,.after\:translate-x-1\/2:after{content:var(--tw-content);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:translate-x-1\/2:after{--tw-translate-x:50%}.after\:scale-75:after{--tw-scale-x:.75;--tw-scale-y:.75}.after\:scale-75:after,.after\:transform:after{content:var(--tw-content);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:cursor-ew-resize:after{content:var(--tw-content);cursor:ew-resize}.after\:rounded-full:after{border-radius:9999px;content:var(--tw-content)}.after\:bg-neutral-200:after{--tw-bg-opacity:1;background-color:rgba(209,209,209,var(--tw-bg-opacity));content:var(--tw-content)}.after\:to-neutral:after{--tw-gradient-to:#5d5d5d var(--tw-gradient-to-position);content:var(--tw-content)}.after\:px-6:after{content:var(--tw-content);padding-left:1.5rem;padding-right:1.5rem}.after\:text-neutral:after{--tw-text-opacity:1;color:rgba(93,93,93,var(--tw-text-opacity));content:var(--tw-content)}.after\:transition:after{content:var(--tw-content);transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\:transition-opacity:after{content:var(--tw-content);transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\:delay-100:after{content:var(--tw-content);transition-delay:.1s}.after\:duration-200:after{content:var(--tw-content);transition-duration:.2s}.after\:content-\[\"\"\]:after{--tw-content:"";content:var(--tw-content)}.after\:content-\[\'\#\'\]:after{--tw-content:"#";content:var(--tw-content)}.valid\:border-success:valid{--tw-border-opacity:1;border-color:rgba(0,204,102,var(--tw-border-opacity))}.invalid\:border-error:invalid{--tw-border-opacity:1;border-color:rgba(181,24,13,var(--tw-border-opacity))}.hover\:scale-110:hover{--tw-scale-x:1.1;--tw-scale-y:1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:grid-rows-\[1fr\]:hover{grid-template-rows:1fr}.hover\:overflow-x-auto:hover{overflow-x:auto}.hover\:border-input-border-hover:hover{--tw-border-opacity:1;border-color:rgba(231,231,231,var(--tw-border-opacity))}.hover\:bg-card\/30:hover{background-color:hsla(0,0%,91%,.3)}.hover\:bg-destructive-500:hover{--tw-bg-opacity:1;background-color:rgba(249,90,22,var(--tw-bg-opacity))}.hover\:bg-neutral-300:hover{--tw-bg-opacity:1;background-color:rgba(176,176,176,var(--tw-bg-opacity))}.hover\:bg-neutral-500:hover{--tw-bg-opacity:1;background-color:rgba(109,109,109,var(--tw-bg-opacity))}.hover\:bg-neutral-600:hover{--tw-bg-opacity:1;background-color:rgba(93,93,93,var(--tw-bg-opacity))}.hover\:bg-neutral-900:hover{--tw-bg-opacity:1;background-color:rgba(61,61,61,var(--tw-bg-opacity))}.hover\:bg-neutral\/10:hover{background-color:rgba(93,93,93,.1)}.hover\:bg-primary-500:hover{--tw-bg-opacity:1;background-color:rgba(197,101,212,var(--tw-bg-opacity))}.hover\:bg-red-500:hover{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.hover\:bg-secondary-300:hover{--tw-bg-opacity:1;background-color:rgba(255,216,69,var(--tw-bg-opacity))}.hover\:bg-text:hover{--tw-bg-opacity:1;background-color:rgba(18,18,18,var(--tw-bg-opacity))}.hover\:bg-text\/10:hover{background-color:hsla(0,0%,7%,.1)}.hover\:bg-transparent:hover{background-color:transparent}.hover\:bg-opacity-0:hover{--tw-bg-opacity:0}.hover\:bg-opacity-10:hover{--tw-bg-opacity:0.1}.hover\:bg-opacity-30:hover{--tw-bg-opacity:0.3}.hover\:text-primary:hover{--tw-text-opacity:1;color:rgba(232,121,249,var(--tw-text-opacity))}.hover\:text-text\/80:hover{color:hsla(0,0%,7%,.8)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-80:hover{opacity:.8}.hover\:outline-inherit:hover{outline-color:inherit}.hover\:delay-0:hover{transition-delay:0s}.after\:hover\:cursor-pointer:hover:after{content:var(--tw-content);cursor:pointer}.hover\:after\:opacity-80:hover:after{content:var(--tw-content);opacity:.8}.focus\:grid-rows-\[1fr\]:focus{grid-template-rows:1fr}.focus\:overflow-x-auto:focus{overflow-x:auto}.focus\:border-input-border-focus:focus{--tw-border-opacity:1;border-color:rgba(209,209,209,var(--tw-border-opacity))}.focus\:bg-neutral\/10:focus{background-color:rgba(93,93,93,.1)}.focus\:bg-text-opposite\/20:focus{background-color:rgba(255,245,237,.2)}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:outline-0:focus{outline-width:0}.focus\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-1:focus,.focus\:ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus\:\[box-shadow\:none\]:focus{box-shadow:none}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.active\:border-neutral-400:active{--tw-border-opacity:1;border-color:rgba(136,136,136,var(--tw-border-opacity))}.after\:active\:bg-neutral-400:active:after{--tw-bg-opacity:1;background-color:rgba(136,136,136,var(--tw-bg-opacity));content:var(--tw-content)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:text-white\/25:disabled{color:hsla(0,0%,100%,.25)}.disabled\:opacity-50:disabled{opacity:.5}.group\/dropdown:focus-within .group-focus-within\/dropdown\:visible{visibility:visible}.group\/dropdown:focus-within .group-focus-within\/dropdown\:grid-rows-\[1fr\]{grid-template-rows:1fr}.group\/dropdown:hover .group-hover\/dropdown\:visible,.group\/editable-field:hover .group-hover\/editable-field\:visible,.group\/height-smoother:hover .group-hover\/height-smoother\:visible{visibility:visible}.group\/dropdown:hover .group-hover\/dropdown\:grid-rows-\[1fr\]{grid-template-rows:1fr}.group:hover .group-hover\:opacity-0{opacity:0}.group:hover .group-hover\:opacity-100{opacity:1}.group\/height-smoother:focus .group-focus\/height-smoother\:visible{visibility:visible}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:rgba(251,125,60,.3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{--tw-bg-opacity:1;background-color:rgba(251,125,60,var(--tw-bg-opacity))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity:1;color:rgb(254 242 242/var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(251,125,60,var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(248 113 113/var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color:#dc2626}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-selected\:cursor-default[aria-selected=true]{cursor:default}.aria-selected\:bg-text\/20[aria-selected=true]{background-color:hsla(0,0%,7%,.2)}.aria-selected\:text-black[aria-selected=true]{--tw-text-opacity:1;color:rgba(0,0,0,var(--tw-text-opacity))}.aria-selected\:text-primary[aria-selected=true]{--tw-text-opacity:1;color:rgba(232,121,249,var(--tw-text-opacity))}.aria-selected\:text-text[aria-selected=true]{--tw-text-opacity:1;color:rgba(18,18,18,var(--tw-text-opacity))}.aria-selected\:text-text-dark[aria-selected=true]{--tw-text-opacity:1;color:rgba(255,245,237,var(--tw-text-opacity))}.aria-selected\:text-white[aria-selected=true]{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.aria-selected\:hover\:cursor-default:hover[aria-selected=true]{cursor:default}.aria-\[invalid\=true\]\:border-error[aria-invalid=true]{--tw-border-opacity:1;border-color:rgba(181,24,13,var(--tw-border-opacity))}.aria-\[current\=true\]\:bg-opacity-5[aria-current=true]{--tw-bg-opacity:0.05}.data-\[disabled\=true\]\:pointer-events-none[data-disabled=true],.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom],.data-\[side\=left\]\:-translate-x-1[data-side=left]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:-0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right],.data-\[side\=top\]\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x:0px}.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel],.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x:var(--radix-toast-swipe-end-x)}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x:var(--radix-toast-swipe-move-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[disabled\=true\]\:opacity-50[data-disabled=true],.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (min-width:768px){.max-md\:flex-col{flex-direction:column}}@media (min-width:640px){.sm\:bottom-0{bottom:0}.sm\:right-0{right:0}.sm\:top-auto{top:auto}.sm\:flex-col{flex-direction:column}}@media (min-width:768px){.md\:sticky{position:sticky}.md\:w-1\/4{width:25%}.md\:w-2\/3{width:66.666667%}.md\:w-\[400px\]{width:400px}.md\:max-w-\[420px\]{max-width:420px}.md\:max-w-\[50\%\]{max-width:50%}.md\:gap-4{gap:1rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.after\:md\:opacity-0:after{content:var(--tw-content);opacity:0}}.dark\:divide-text-dark\/20:where([data-theme=dark],[data-theme=dark] *)>:not([hidden])~:not([hidden]){border-color:rgba(255,245,237,.2)}.dark\:border-none:where([data-theme=dark],[data-theme=dark] *){border-style:none}.dark\:border-card-dark:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(39,39,39,var(--tw-border-opacity))}.dark\:border-destructive-dark:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(251,125,60,var(--tw-border-opacity))}.dark\:border-error-dark:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(255,88,77,var(--tw-border-opacity))}.dark\:border-input-border-dark:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(79,79,79,var(--tw-border-opacity))}.dark\:border-neutral-950:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(48,48,48,var(--tw-border-opacity))}.dark\:border-neutral-dark:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(136,136,136,var(--tw-border-opacity))}.dark\:border-primary-dark:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(232,121,249,var(--tw-border-opacity))}.dark\:border-secondary-dark:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(255,230,109,var(--tw-border-opacity))}.dark\:border-success-dark:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(102,255,153,var(--tw-border-opacity))}.dark\:border-text-dark:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(255,245,237,var(--tw-border-opacity))}.dark\:bg-background-dark\/40:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,9%,.4)}.dark\:bg-card-dark:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgba(39,39,39,var(--tw-bg-opacity))}.dark\:bg-card-dark\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(39,39,39,.2)}.dark\:bg-card-dark\/40:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(39,39,39,.4)}.dark\:bg-card-dark\/60:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(39,39,39,.6)}.dark\:bg-card-dark\/80:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(39,39,39,.8)}.dark\:bg-card-dark\/95:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(39,39,39,.95)}.dark\:bg-destructive-dark:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgba(251,125,60,var(--tw-bg-opacity))}.dark\:bg-error-dark:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgba(255,88,77,var(--tw-bg-opacity))}.dark\:bg-error-dark\/40:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(255,88,77,.4)}.dark\:bg-input-background-dark:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgba(61,61,61,var(--tw-bg-opacity))}.dark\:bg-neutral-700:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgba(79,79,79,var(--tw-bg-opacity))}.dark\:bg-neutral-950:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgba(48,48,48,var(--tw-bg-opacity))}.dark\:bg-neutral-dark:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgba(136,136,136,var(--tw-bg-opacity))}.dark\:bg-primary-dark:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgba(232,121,249,var(--tw-bg-opacity))}.dark\:bg-secondary-dark:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgba(255,230,109,var(--tw-bg-opacity))}.dark\:bg-success-dark:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgba(102,255,153,var(--tw-bg-opacity))}.dark\:bg-success-dark\/30:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(102,255,153,.3)}.dark\:bg-text-dark:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgba(255,245,237,var(--tw-bg-opacity))}.dark\:bg-transparent:where([data-theme=dark],[data-theme=dark] *){background-color:transparent}.dark\:bg-opacity-0:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:0}.dark\:fill-neutral-dark\/10:where([data-theme=dark],[data-theme=dark] *){fill:hsla(0,0%,53%,.1)}.dark\:fill-neutral-dark\/30:where([data-theme=dark],[data-theme=dark] *){fill:hsla(0,0%,53%,.3)}.dark\:stroke-neutral-dark\/10:where([data-theme=dark],[data-theme=dark] *){stroke:hsla(0,0%,53%,.1)}.dark\:text-error-dark:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgba(255,88,77,var(--tw-text-opacity))}.dark\:text-inherit:where([data-theme=dark],[data-theme=dark] *){color:inherit}.dark\:text-input-text-dark:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgba(246,246,246,var(--tw-text-opacity))}.dark\:text-neutral-dark:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgba(136,136,136,var(--tw-text-opacity))}.dark\:text-primary-dark:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgba(232,121,249,var(--tw-text-opacity))}.dark\:text-secondary-dark:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgba(255,230,109,var(--tw-text-opacity))}.dark\:text-success-dark:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgba(102,255,153,var(--tw-text-opacity))}.dark\:text-text:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgba(18,18,18,var(--tw-text-opacity))}.dark\:text-text-dark:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgba(255,245,237,var(--tw-text-opacity))}.dark\:text-text-dark\/50:where([data-theme=dark],[data-theme=dark] *){color:rgba(255,245,237,.5)}.dark\:text-text-opposite-dark:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgba(28,28,28,var(--tw-text-opacity))}.after\:dark\:bg-neutral-950:where([data-theme=dark],[data-theme=dark] *):after{--tw-bg-opacity:1;background-color:rgba(48,48,48,var(--tw-bg-opacity));content:var(--tw-content)}.dark\:after\:text-neutral-dark:where([data-theme=dark],[data-theme=dark] *):after{--tw-text-opacity:1;color:rgba(136,136,136,var(--tw-text-opacity));content:var(--tw-content)}.dark\:valid\:border-success-dark:valid:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(102,255,153,var(--tw-border-opacity))}.dark\:invalid\:border-error-dark:invalid:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(255,88,77,var(--tw-border-opacity))}.dark\:hover\:border-input-border-hover-dark:hover:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(93,93,93,var(--tw-border-opacity))}.dark\:hover\:bg-card-dark:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgba(39,39,39,var(--tw-bg-opacity))}.dark\:hover\:bg-card-dark\/30:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(39,39,39,.3)}.dark\:hover\:bg-neutral-700:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgba(79,79,79,var(--tw-bg-opacity))}.dark\:hover\:bg-neutral-900:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgba(61,61,61,var(--tw-bg-opacity))}.dark\:hover\:bg-neutral-dark\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,53%,.1)}.dark\:hover\:bg-red-300:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(252 165 165/var(--tw-bg-opacity))}.dark\:hover\:bg-text-opposite\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(255,245,237,.1)}.hover\:dark\:bg-destructive-200:where([data-theme=dark],[data-theme=dark] *):hover{--tw-bg-opacity:1;background-color:rgba(254,206,170,var(--tw-bg-opacity))}.hover\:dark\:bg-neutral-400:where([data-theme=dark],[data-theme=dark] *):hover{--tw-bg-opacity:1;background-color:rgba(136,136,136,var(--tw-bg-opacity))}.hover\:dark\:bg-primary-300:where([data-theme=dark],[data-theme=dark] *):hover{--tw-bg-opacity:1;background-color:rgba(241,171,252,var(--tw-bg-opacity))}.hover\:dark\:bg-secondary-100:where([data-theme=dark],[data-theme=dark] *):hover{--tw-bg-opacity:1;background-color:rgba(255,246,194,var(--tw-bg-opacity))}.hover\:dark\:bg-transparent:where([data-theme=dark],[data-theme=dark] *):hover{background-color:transparent}.dark\:hover\:bg-opacity-0:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:0}.dark\:hover\:bg-opacity-10:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:0.1}.dark\:hover\:text-text-dark\/80:hover:where([data-theme=dark],[data-theme=dark] *){color:rgba(255,245,237,.8)}.dark\:focus\:border-input-border-focus:focus:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(209,209,209,var(--tw-border-opacity))}.dark\:focus\:bg-neutral-dark\/10:focus:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,53%,.1)}.dark\:focus\:bg-text-opposite\/20:focus:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(255,245,237,.2)}.dark\:active\:border-neutral-600:active:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(93,93,93,var(--tw-border-opacity))}.dark\:after\:active\:bg-neutral-600:active:where([data-theme=dark],[data-theme=dark] *):after{--tw-bg-opacity:1;background-color:rgba(93,93,93,var(--tw-bg-opacity));content:var(--tw-content)}.dark\:aria-selected\:bg-text-opposite\/20[aria-selected=true]:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(255,245,237,.2)}.dark\:aria-selected\:text-text[aria-selected=true]:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgba(18,18,18,var(--tw-text-opacity))}.dark\:aria-selected\:text-text-dark[aria-selected=true]:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgba(255,245,237,var(--tw-text-opacity))}.dark\:aria-\[invalid\=true\]\:border-error-dark[aria-invalid=true]:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgba(255,88,77,var(--tw-border-opacity))}.\[\&\+div\]\:text-xs+div{font-size:.75rem;line-height:1rem}.\[\&\:has\(\.section\:hover\)\]\:bg-transparent:has(.section:hover){background-color:transparent}.\[\&\>span\]\:line-clamp-1>span{-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box;overflow:hidden}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-bottom:.375rem;padding-top:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:size-5 [cmdk-input-wrapper] svg{height:1.25rem;width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]_svg\]\:size-5 [cmdk-item] svg{height:1.25rem;width:1.25rem}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const sentenceToCamelCase = (string) => {
|
|
4
|
+
const sentence = string.split(" ").map(
|
|
5
|
+
(word) => `${word.charAt(0).toUpperCase()}${word.slice(1).toLowerCase()}`
|
|
6
|
+
).join("");
|
|
7
|
+
return `${sentence.charAt(0).toLowerCase()}${sentence.slice(1)}`;
|
|
8
|
+
};
|
|
9
|
+
const camelCaseToSentence = (string) => {
|
|
10
|
+
const result = string.replace(/([A-Z])/g, " $1");
|
|
11
|
+
return result.toLowerCase().trim();
|
|
12
|
+
};
|
|
13
|
+
exports.camelCaseToSentence = camelCaseToSentence;
|
|
14
|
+
exports.sentenceToCamelCase = sentenceToCamelCase;
|
|
15
|
+
//# sourceMappingURL=camelCase.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"camelCase.cjs","sources":["../../src/utils/camelCase.ts"],"sourcesContent":["export const sentenceToCamelCase = (string: string): string => {\n const sentence = string\n .split(' ')\n .map(\n (word) => `${word.charAt(0).toUpperCase()}${word.slice(1).toLowerCase()}`\n )\n .join('');\n\n return `${sentence.charAt(0).toLowerCase()}${sentence.slice(1)}`;\n};\n\nexport const camelCaseToSentence = (string: string): string => {\n const result = string.replace(/([A-Z])/g, ' $1');\n return result.toLowerCase().trim();\n};\n"],"names":[],"mappings":";;AAAa,MAAA,sBAAsB,CAAC,WAA2B;AAC7D,QAAM,WAAW,OACd,MAAM,GAAG,EACT;AAAA,IACC,CAAC,SAAS,GAAG,KAAK,OAAO,CAAC,EAAE,aAAa,GAAG,KAAK,MAAM,CAAC,EAAE,YAAa,CAAA;AAAA,EAAA,EAExE,KAAK,EAAE;AAEH,SAAA,GAAG,SAAS,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,MAAM,CAAC,CAAC;AAChE;AAEa,MAAA,sBAAsB,CAAC,WAA2B;AAC7D,QAAM,SAAS,OAAO,QAAQ,YAAY,KAAK;AACxC,SAAA,OAAO,cAAc;AAC9B;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"camelCase.d.ts","sourceRoot":"","sources":["../../src/utils/camelCase.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,WAAY,MAAM,KAAG,MASpD,CAAC;AAEF,eAAO,MAAM,mBAAmB,WAAY,MAAM,KAAG,MAGpD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const sentenceToCamelCase = (string) => {
|
|
2
|
+
const sentence = string.split(" ").map(
|
|
3
|
+
(word) => `${word.charAt(0).toUpperCase()}${word.slice(1).toLowerCase()}`
|
|
4
|
+
).join("");
|
|
5
|
+
return `${sentence.charAt(0).toLowerCase()}${sentence.slice(1)}`;
|
|
6
|
+
};
|
|
7
|
+
const camelCaseToSentence = (string) => {
|
|
8
|
+
const result = string.replace(/([A-Z])/g, " $1");
|
|
9
|
+
return result.toLowerCase().trim();
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
camelCaseToSentence,
|
|
13
|
+
sentenceToCamelCase
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=camelCase.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"camelCase.mjs","sources":["../../src/utils/camelCase.ts"],"sourcesContent":["export const sentenceToCamelCase = (string: string): string => {\n const sentence = string\n .split(' ')\n .map(\n (word) => `${word.charAt(0).toUpperCase()}${word.slice(1).toLowerCase()}`\n )\n .join('');\n\n return `${sentence.charAt(0).toLowerCase()}${sentence.slice(1)}`;\n};\n\nexport const camelCaseToSentence = (string: string): string => {\n const result = string.replace(/([A-Z])/g, ' $1');\n return result.toLowerCase().trim();\n};\n"],"names":[],"mappings":"AAAa,MAAA,sBAAsB,CAAC,WAA2B;AAC7D,QAAM,WAAW,OACd,MAAM,GAAG,EACT;AAAA,IACC,CAAC,SAAS,GAAG,KAAK,OAAO,CAAC,EAAE,aAAa,GAAG,KAAK,MAAM,CAAC,EAAE,YAAa,CAAA;AAAA,EAAA,EAExE,KAAK,EAAE;AAEH,SAAA,GAAG,SAAS,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,MAAM,CAAC,CAAC;AAChE;AAEa,MAAA,sBAAsB,CAAC,WAA2B;AAC7D,QAAM,SAAS,OAAO,QAAQ,YAAY,KAAK;AACxC,SAAA,OAAO,cAAc;AAC9B;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const capitalize = (string) => {
|
|
4
|
+
if (!string) {
|
|
5
|
+
return "";
|
|
6
|
+
}
|
|
7
|
+
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
8
|
+
};
|
|
9
|
+
exports.capitalize = capitalize;
|
|
10
|
+
//# sourceMappingURL=capitalize.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capitalize.cjs","sources":["../../src/utils/capitalize.ts"],"sourcesContent":["export const capitalize = (string: string | undefined) => {\n if (!string) {\n return '';\n }\n\n return string.charAt(0).toUpperCase() + string.slice(1);\n};\n"],"names":[],"mappings":";;AAAa,MAAA,aAAa,CAAC,WAA+B;AACxD,MAAI,CAAC,QAAQ;AACJ,WAAA;AAAA,EACT;AAEO,SAAA,OAAO,OAAO,CAAC,EAAE,gBAAgB,OAAO,MAAM,CAAC;AACxD;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capitalize.d.ts","sourceRoot":"","sources":["../../src/utils/capitalize.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,WAAY,MAAM,GAAG,SAAS,WAMpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capitalize.mjs","sources":["../../src/utils/capitalize.ts"],"sourcesContent":["export const capitalize = (string: string | undefined) => {\n if (!string) {\n return '';\n }\n\n return string.charAt(0).toUpperCase() + string.slice(1);\n};\n"],"names":[],"mappings":"AAAa,MAAA,aAAa,CAAC,WAA+B;AACxD,MAAI,CAAC,QAAQ;AACJ,WAAA;AAAA,EACT;AAEO,SAAA,OAAO,OAAO,CAAC,EAAE,gBAAgB,OAAO,MAAM,CAAC;AACxD;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const clsx = require("clsx");
|
|
4
|
+
const tailwindMerge = require("tailwind-merge");
|
|
5
|
+
const cn = (...inputs) => tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
6
|
+
exports.cn = cn;
|
|
7
|
+
//# sourceMappingURL=cn.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.cjs","sources":["../../src/utils/cn.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport const cn = (...inputs: ClassValue[]) => twMerge(clsx(inputs));\n"],"names":["twMerge","clsx"],"mappings":";;;;AAGO,MAAM,KAAK,IAAI,WAAyBA,cAAAA,QAAQC,KAAAA,KAAK,MAAM,CAAC;;"}
|
package/dist/utils/cn.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../src/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C,eAAO,MAAM,EAAE,cAAe,UAAU,EAAE,WAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.mjs","sources":["../../src/utils/cn.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport const cn = (...inputs: ClassValue[]) => twMerge(clsx(inputs));\n"],"names":[],"mappings":";;AAGO,MAAM,KAAK,IAAI,WAAyB,QAAQ,KAAK,MAAM,CAAC;"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const core = require("@intlayer/core");
|
|
4
|
+
const require$$0 = require("react");
|
|
5
|
+
const getDictionaryValueByKeyPath = (dictionaryContent, keyPath) => {
|
|
6
|
+
let currentValue = { ...dictionaryContent };
|
|
7
|
+
for (const keyObj of keyPath) {
|
|
8
|
+
if (keyObj.type === core.NodeType.Object || keyObj.type === core.NodeType.Array) {
|
|
9
|
+
currentValue = currentValue?.[keyObj.key];
|
|
10
|
+
} else if (keyObj.type === core.NodeType.Translation) {
|
|
11
|
+
currentValue = currentValue?.[core.NodeType.Translation][keyObj.key];
|
|
12
|
+
} else if (keyObj.type === core.NodeType.Enumeration) {
|
|
13
|
+
currentValue = currentValue?.[core.NodeType.Enumeration][keyObj.key];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return currentValue;
|
|
17
|
+
};
|
|
18
|
+
const editDictionaryByKeyPath = (dictionaryContent, keyPath, newValue) => {
|
|
19
|
+
let currentValue = dictionaryContent;
|
|
20
|
+
let parentValue = null;
|
|
21
|
+
let lastKeys = [];
|
|
22
|
+
for (const keyObj of keyPath) {
|
|
23
|
+
parentValue = currentValue;
|
|
24
|
+
if (keyObj.type === core.NodeType.Object) {
|
|
25
|
+
lastKeys = [keyObj.key];
|
|
26
|
+
if (!currentValue[keyObj.key]) {
|
|
27
|
+
currentValue = {
|
|
28
|
+
...currentValue,
|
|
29
|
+
[keyObj.key]: {}
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
currentValue = currentValue[keyObj.key];
|
|
33
|
+
} else if (keyObj.type === core.NodeType.Array) {
|
|
34
|
+
lastKeys = [keyObj.key];
|
|
35
|
+
if (!currentValue[keyObj.key]) {
|
|
36
|
+
currentValue[keyObj.key] = {};
|
|
37
|
+
}
|
|
38
|
+
currentValue = currentValue[keyObj.key];
|
|
39
|
+
} else if (keyObj.type === core.NodeType.Translation) {
|
|
40
|
+
lastKeys = [core.NodeType.Translation, keyObj.key];
|
|
41
|
+
if (!currentValue[core.NodeType.Translation]) {
|
|
42
|
+
currentValue[core.NodeType.Translation] = {
|
|
43
|
+
...currentValue[core.NodeType.Translation],
|
|
44
|
+
[keyObj.key]: newValue
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
currentValue = currentValue[core.NodeType.Translation][keyObj.key];
|
|
48
|
+
} else if (keyObj.type === core.NodeType.Enumeration) {
|
|
49
|
+
lastKeys = [core.NodeType.Enumeration, keyObj.key];
|
|
50
|
+
if (!currentValue[core.NodeType.Enumeration]) {
|
|
51
|
+
currentValue[core.NodeType.Enumeration] = {
|
|
52
|
+
...currentValue[core.NodeType.Enumeration],
|
|
53
|
+
[keyObj.key]: newValue
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
currentValue = currentValue[core.NodeType.Enumeration][keyObj.key];
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
if (parentValue && lastKeys.length > 0) {
|
|
60
|
+
for (const key of lastKeys.slice(0, -1)) {
|
|
61
|
+
parentValue = parentValue[key];
|
|
62
|
+
}
|
|
63
|
+
if (
|
|
64
|
+
// Remove the field if the new value is undefined
|
|
65
|
+
typeof newValue === "undefined"
|
|
66
|
+
) {
|
|
67
|
+
delete parentValue[lastKeys[lastKeys.length - 1]];
|
|
68
|
+
} else {
|
|
69
|
+
parentValue[lastKeys[lastKeys.length - 1]] = newValue;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return dictionaryContent;
|
|
73
|
+
};
|
|
74
|
+
const removeDictionaryValueByKeyPath = (dictionaryContent, keyPath) => {
|
|
75
|
+
let currentValue = dictionaryContent;
|
|
76
|
+
let parentValue = null;
|
|
77
|
+
let lastKey = null;
|
|
78
|
+
for (const keyObj of keyPath) {
|
|
79
|
+
parentValue = currentValue;
|
|
80
|
+
if (keyObj.type === core.NodeType.Object || keyObj.type === core.NodeType.Array) {
|
|
81
|
+
lastKey = keyObj.key;
|
|
82
|
+
currentValue = currentValue[keyObj.key];
|
|
83
|
+
} else if (keyObj.type === core.NodeType.Translation) {
|
|
84
|
+
lastKey = core.NodeType.Translation;
|
|
85
|
+
currentValue = currentValue[core.NodeType.Translation][keyObj.key];
|
|
86
|
+
} else if (keyObj.type === core.NodeType.Enumeration) {
|
|
87
|
+
lastKey = core.NodeType.Enumeration;
|
|
88
|
+
currentValue = currentValue[core.NodeType.Enumeration][keyObj.key];
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
if (parentValue && lastKey !== null) {
|
|
92
|
+
if (Array.isArray(parentValue)) {
|
|
93
|
+
parentValue.splice(lastKey, 1);
|
|
94
|
+
} else {
|
|
95
|
+
delete parentValue[lastKey];
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return dictionaryContent;
|
|
99
|
+
};
|
|
100
|
+
const getSectionType = (section) => {
|
|
101
|
+
if (typeof section === "string") {
|
|
102
|
+
return core.NodeType.Text;
|
|
103
|
+
}
|
|
104
|
+
if (section?.nodeType === core.NodeType.Translation) {
|
|
105
|
+
return core.NodeType.Translation;
|
|
106
|
+
}
|
|
107
|
+
if (section?.nodeType === core.NodeType.Enumeration) {
|
|
108
|
+
return core.NodeType.Enumeration;
|
|
109
|
+
}
|
|
110
|
+
if (Array.isArray(section)) {
|
|
111
|
+
return core.NodeType.Array;
|
|
112
|
+
}
|
|
113
|
+
if (require$$0.isValidElement(section)) {
|
|
114
|
+
return core.NodeType.ReactNode;
|
|
115
|
+
}
|
|
116
|
+
return core.NodeType.Object;
|
|
117
|
+
};
|
|
118
|
+
exports.editDictionaryByKeyPath = editDictionaryByKeyPath;
|
|
119
|
+
exports.getDictionaryValueByKeyPath = getDictionaryValueByKeyPath;
|
|
120
|
+
exports.getSectionType = getSectionType;
|
|
121
|
+
exports.removeDictionaryValueByKeyPath = removeDictionaryValueByKeyPath;
|
|
122
|
+
//# sourceMappingURL=dictionary.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dictionary.cjs","sources":["../../src/utils/dictionary.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport {\n NodeType,\n type TranslationContent,\n type DictionaryValue,\n type KeyPath,\n type EnumerationContent,\n} from '@intlayer/core';\nimport { isValidElement } from 'react';\n\nexport const getDictionaryValueByKeyPath = (\n dictionaryContent: DictionaryValue,\n keyPath: KeyPath[]\n): DictionaryValue => {\n let currentValue: any = { ...(dictionaryContent as object) };\n\n for (const keyObj of keyPath) {\n if (keyObj.type === NodeType.Object || keyObj.type === NodeType.Array) {\n currentValue = currentValue?.[keyObj.key];\n } else if (keyObj.type === NodeType.Translation) {\n currentValue = currentValue?.[NodeType.Translation][keyObj.key];\n } else if (keyObj.type === NodeType.Enumeration) {\n currentValue = currentValue?.[NodeType.Enumeration][keyObj.key];\n }\n }\n\n return currentValue as DictionaryValue;\n};\n\ntype LastKeyType = string | number;\n\nexport const editDictionaryByKeyPath = (\n dictionaryContent: DictionaryValue,\n keyPath: KeyPath[],\n newValue: DictionaryValue\n): DictionaryValue => {\n let currentValue: any = dictionaryContent;\n let parentValue: any = null;\n let lastKeys: LastKeyType[] = [];\n\n for (const keyObj of keyPath) {\n parentValue = currentValue;\n\n if (keyObj.type === NodeType.Object) {\n lastKeys = [keyObj.key];\n\n if (!currentValue[keyObj.key]) {\n currentValue = {\n ...currentValue,\n [keyObj.key]: {},\n };\n }\n currentValue = currentValue[keyObj.key];\n } else if (keyObj.type === NodeType.Array) {\n lastKeys = [keyObj.key];\n\n if (!currentValue[keyObj.key]) {\n currentValue[keyObj.key] = {};\n }\n currentValue = currentValue[keyObj.key];\n } else if (keyObj.type === NodeType.Translation) {\n lastKeys = [NodeType.Translation, keyObj.key];\n\n if (!currentValue[NodeType.Translation]) {\n currentValue[NodeType.Translation] = {\n ...currentValue[NodeType.Translation],\n [keyObj.key]: newValue,\n };\n }\n currentValue = currentValue[NodeType.Translation][keyObj.key];\n } else if (keyObj.type === NodeType.Enumeration) {\n lastKeys = [NodeType.Enumeration, keyObj.key];\n\n if (!currentValue[NodeType.Enumeration]) {\n currentValue[NodeType.Enumeration] = {\n ...currentValue[NodeType.Enumeration],\n [keyObj.key]: newValue,\n };\n }\n currentValue = currentValue[NodeType.Enumeration][keyObj.key];\n }\n }\n\n // Assign the new value to the last key of the parent\n if (parentValue && lastKeys.length > 0) {\n for (const key of lastKeys.slice(0, -1)) {\n parentValue = parentValue[key];\n }\n if (\n // Remove the field if the new value is undefined\n typeof newValue === 'undefined'\n ) {\n delete parentValue[lastKeys[lastKeys.length - 1]];\n } else {\n parentValue[lastKeys[lastKeys.length - 1]] = newValue;\n }\n }\n\n return dictionaryContent;\n};\n\nexport const removeDictionaryValueByKeyPath = (\n dictionaryContent: DictionaryValue,\n keyPath: KeyPath[]\n): DictionaryValue => {\n let currentValue: any = dictionaryContent;\n let parentValue: any = null;\n let lastKey: string | number | null = null;\n\n for (const keyObj of keyPath) {\n parentValue = currentValue;\n\n if (keyObj.type === NodeType.Object || keyObj.type === NodeType.Array) {\n lastKey = keyObj.key;\n currentValue = currentValue[keyObj.key];\n } else if (keyObj.type === NodeType.Translation) {\n lastKey = NodeType.Translation;\n currentValue = currentValue[NodeType.Translation][keyObj.key];\n } else if (keyObj.type === NodeType.Enumeration) {\n lastKey = NodeType.Enumeration;\n currentValue = currentValue[NodeType.Enumeration][keyObj.key];\n }\n }\n\n if (parentValue && lastKey !== null) {\n if (Array.isArray(parentValue)) {\n parentValue.splice(lastKey as unknown as number, 1);\n } else {\n delete parentValue[lastKey];\n }\n }\n\n return dictionaryContent;\n};\n\nexport const getSectionType = (section: DictionaryValue): NodeType => {\n if (typeof section === 'string') {\n return NodeType.Text;\n }\n\n if (\n (section as TranslationContent<unknown>)?.nodeType === NodeType.Translation\n ) {\n return NodeType.Translation;\n }\n\n if (\n (section as EnumerationContent<unknown>)?.nodeType === NodeType.Enumeration\n ) {\n return NodeType.Enumeration;\n }\n\n if (Array.isArray(section)) {\n return NodeType.Array;\n }\n\n if (isValidElement(section)) {\n return NodeType.ReactNode;\n }\n\n return NodeType.Object;\n};\n"],"names":["NodeType","isValidElement"],"mappings":";;;;AAUa,MAAA,8BAA8B,CACzC,mBACA,YACoB;AAChB,MAAA,eAAoB,EAAE,GAAI;AAE9B,aAAW,UAAU,SAAS;AAC5B,QAAI,OAAO,SAASA,cAAS,UAAU,OAAO,SAASA,cAAS,OAAO;AACtD,qBAAA,eAAe,OAAO,GAAG;AAAA,IAC/B,WAAA,OAAO,SAASA,KAAAA,SAAS,aAAa;AAC/C,qBAAe,eAAeA,KAAA,SAAS,WAAW,EAAE,OAAO,GAAG;AAAA,IACrD,WAAA,OAAO,SAASA,KAAAA,SAAS,aAAa;AAC/C,qBAAe,eAAeA,KAAA,SAAS,WAAW,EAAE,OAAO,GAAG;AAAA,IAChE;AAAA,EACF;AAEO,SAAA;AACT;AAIO,MAAM,0BAA0B,CACrC,mBACA,SACA,aACoB;AACpB,MAAI,eAAoB;AACxB,MAAI,cAAmB;AACvB,MAAI,WAA0B,CAAA;AAE9B,aAAW,UAAU,SAAS;AACd,kBAAA;AAEV,QAAA,OAAO,SAASA,KAAA,SAAS,QAAQ;AACxB,iBAAA,CAAC,OAAO,GAAG;AAEtB,UAAI,CAAC,aAAa,OAAO,GAAG,GAAG;AACd,uBAAA;AAAA,UACb,GAAG;AAAA,UACH,CAAC,OAAO,GAAG,GAAG,CAAC;AAAA,QAAA;AAAA,MAEnB;AACe,qBAAA,aAAa,OAAO,GAAG;AAAA,IAC7B,WAAA,OAAO,SAASA,KAAAA,SAAS,OAAO;AAC9B,iBAAA,CAAC,OAAO,GAAG;AAEtB,UAAI,CAAC,aAAa,OAAO,GAAG,GAAG;AAChB,qBAAA,OAAO,GAAG,IAAI;MAC7B;AACe,qBAAA,aAAa,OAAO,GAAG;AAAA,IAC7B,WAAA,OAAO,SAASA,KAAAA,SAAS,aAAa;AAC/C,iBAAW,CAACA,KAAA,SAAS,aAAa,OAAO,GAAG;AAE5C,UAAI,CAAC,aAAaA,cAAS,WAAW,GAAG;AAC1B,qBAAAA,KAAAA,SAAS,WAAW,IAAI;AAAA,UACnC,GAAG,aAAaA,KAAA,SAAS,WAAW;AAAA,UACpC,CAAC,OAAO,GAAG,GAAG;AAAA,QAAA;AAAA,MAElB;AACA,qBAAe,aAAaA,KAAA,SAAS,WAAW,EAAE,OAAO,GAAG;AAAA,IACnD,WAAA,OAAO,SAASA,KAAAA,SAAS,aAAa;AAC/C,iBAAW,CAACA,KAAA,SAAS,aAAa,OAAO,GAAG;AAE5C,UAAI,CAAC,aAAaA,cAAS,WAAW,GAAG;AAC1B,qBAAAA,KAAAA,SAAS,WAAW,IAAI;AAAA,UACnC,GAAG,aAAaA,KAAA,SAAS,WAAW;AAAA,UACpC,CAAC,OAAO,GAAG,GAAG;AAAA,QAAA;AAAA,MAElB;AACA,qBAAe,aAAaA,KAAA,SAAS,WAAW,EAAE,OAAO,GAAG;AAAA,IAC9D;AAAA,EACF;AAGI,MAAA,eAAe,SAAS,SAAS,GAAG;AACtC,eAAW,OAAO,SAAS,MAAM,GAAG,EAAE,GAAG;AACvC,oBAAc,YAAY,GAAG;AAAA,IAC/B;AACA;AAAA;AAAA,MAEE,OAAO,aAAa;AAAA,MACpB;AACA,aAAO,YAAY,SAAS,SAAS,SAAS,CAAC,CAAC;AAAA,IAAA,OAC3C;AACL,kBAAY,SAAS,SAAS,SAAS,CAAC,CAAC,IAAI;AAAA,IAC/C;AAAA,EACF;AAEO,SAAA;AACT;AAEa,MAAA,iCAAiC,CAC5C,mBACA,YACoB;AACpB,MAAI,eAAoB;AACxB,MAAI,cAAmB;AACvB,MAAI,UAAkC;AAEtC,aAAW,UAAU,SAAS;AACd,kBAAA;AAEd,QAAI,OAAO,SAASA,cAAS,UAAU,OAAO,SAASA,cAAS,OAAO;AACrE,gBAAU,OAAO;AACF,qBAAA,aAAa,OAAO,GAAG;AAAA,IAC7B,WAAA,OAAO,SAASA,KAAAA,SAAS,aAAa;AAC/C,gBAAUA,KAAS,SAAA;AACnB,qBAAe,aAAaA,KAAA,SAAS,WAAW,EAAE,OAAO,GAAG;AAAA,IACnD,WAAA,OAAO,SAASA,KAAAA,SAAS,aAAa;AAC/C,gBAAUA,KAAS,SAAA;AACnB,qBAAe,aAAaA,KAAA,SAAS,WAAW,EAAE,OAAO,GAAG;AAAA,IAC9D;AAAA,EACF;AAEI,MAAA,eAAe,YAAY,MAAM;AAC/B,QAAA,MAAM,QAAQ,WAAW,GAAG;AAClB,kBAAA,OAAO,SAA8B,CAAC;AAAA,IAAA,OAC7C;AACL,aAAO,YAAY,OAAO;AAAA,IAC5B;AAAA,EACF;AAEO,SAAA;AACT;AAEa,MAAA,iBAAiB,CAAC,YAAuC;AAChE,MAAA,OAAO,YAAY,UAAU;AAC/B,WAAOA,KAAAA,SAAS;AAAA,EAClB;AAGG,MAAA,SAAyC,aAAaA,KAAA,SAAS,aAChE;AACA,WAAOA,KAAAA,SAAS;AAAA,EAClB;AAGG,MAAA,SAAyC,aAAaA,KAAA,SAAS,aAChE;AACA,WAAOA,KAAAA,SAAS;AAAA,EAClB;AAEI,MAAA,MAAM,QAAQ,OAAO,GAAG;AAC1B,WAAOA,KAAAA,SAAS;AAAA,EAClB;AAEI,MAAAC,WAAAA,eAAe,OAAO,GAAG;AAC3B,WAAOD,KAAAA,SAAS;AAAA,EAClB;AAEA,SAAOA,KAAAA,SAAS;AAClB;;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NodeType, DictionaryValue, KeyPath } from '@intlayer/core';
|
|
2
|
+
|
|
3
|
+
export declare const getDictionaryValueByKeyPath: (dictionaryContent: DictionaryValue, keyPath: KeyPath[]) => DictionaryValue;
|
|
4
|
+
export declare const editDictionaryByKeyPath: (dictionaryContent: DictionaryValue, keyPath: KeyPath[], newValue: DictionaryValue) => DictionaryValue;
|
|
5
|
+
export declare const removeDictionaryValueByKeyPath: (dictionaryContent: DictionaryValue, keyPath: KeyPath[]) => DictionaryValue;
|
|
6
|
+
export declare const getSectionType: (section: DictionaryValue) => NodeType;
|
|
7
|
+
//# sourceMappingURL=dictionary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../src/utils/dictionary.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAER,KAAK,eAAe,EACpB,KAAK,OAAO,EAEb,MAAM,gBAAgB,CAAC;AAGxB,eAAO,MAAM,2BAA2B,sBACnB,eAAe,WACzB,OAAO,EAAE,KACjB,eAcF,CAAC;AAIF,eAAO,MAAM,uBAAuB,sBACf,eAAe,WACzB,OAAO,EAAE,YACR,eAAe,KACxB,eAgEF,CAAC;AAEF,eAAO,MAAM,8BAA8B,sBACtB,eAAe,WACzB,OAAO,EAAE,KACjB,eA6BF,CAAC;AAEF,eAAO,MAAM,cAAc,YAAa,eAAe,KAAG,QA0BzD,CAAC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { NodeType } from "@intlayer/core";
|
|
2
|
+
import { isValidElement } from "react";
|
|
3
|
+
const getDictionaryValueByKeyPath = (dictionaryContent, keyPath) => {
|
|
4
|
+
let currentValue = { ...dictionaryContent };
|
|
5
|
+
for (const keyObj of keyPath) {
|
|
6
|
+
if (keyObj.type === NodeType.Object || keyObj.type === NodeType.Array) {
|
|
7
|
+
currentValue = currentValue?.[keyObj.key];
|
|
8
|
+
} else if (keyObj.type === NodeType.Translation) {
|
|
9
|
+
currentValue = currentValue?.[NodeType.Translation][keyObj.key];
|
|
10
|
+
} else if (keyObj.type === NodeType.Enumeration) {
|
|
11
|
+
currentValue = currentValue?.[NodeType.Enumeration][keyObj.key];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
return currentValue;
|
|
15
|
+
};
|
|
16
|
+
const editDictionaryByKeyPath = (dictionaryContent, keyPath, newValue) => {
|
|
17
|
+
let currentValue = dictionaryContent;
|
|
18
|
+
let parentValue = null;
|
|
19
|
+
let lastKeys = [];
|
|
20
|
+
for (const keyObj of keyPath) {
|
|
21
|
+
parentValue = currentValue;
|
|
22
|
+
if (keyObj.type === NodeType.Object) {
|
|
23
|
+
lastKeys = [keyObj.key];
|
|
24
|
+
if (!currentValue[keyObj.key]) {
|
|
25
|
+
currentValue = {
|
|
26
|
+
...currentValue,
|
|
27
|
+
[keyObj.key]: {}
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
currentValue = currentValue[keyObj.key];
|
|
31
|
+
} else if (keyObj.type === NodeType.Array) {
|
|
32
|
+
lastKeys = [keyObj.key];
|
|
33
|
+
if (!currentValue[keyObj.key]) {
|
|
34
|
+
currentValue[keyObj.key] = {};
|
|
35
|
+
}
|
|
36
|
+
currentValue = currentValue[keyObj.key];
|
|
37
|
+
} else if (keyObj.type === NodeType.Translation) {
|
|
38
|
+
lastKeys = [NodeType.Translation, keyObj.key];
|
|
39
|
+
if (!currentValue[NodeType.Translation]) {
|
|
40
|
+
currentValue[NodeType.Translation] = {
|
|
41
|
+
...currentValue[NodeType.Translation],
|
|
42
|
+
[keyObj.key]: newValue
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
currentValue = currentValue[NodeType.Translation][keyObj.key];
|
|
46
|
+
} else if (keyObj.type === NodeType.Enumeration) {
|
|
47
|
+
lastKeys = [NodeType.Enumeration, keyObj.key];
|
|
48
|
+
if (!currentValue[NodeType.Enumeration]) {
|
|
49
|
+
currentValue[NodeType.Enumeration] = {
|
|
50
|
+
...currentValue[NodeType.Enumeration],
|
|
51
|
+
[keyObj.key]: newValue
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
currentValue = currentValue[NodeType.Enumeration][keyObj.key];
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
if (parentValue && lastKeys.length > 0) {
|
|
58
|
+
for (const key of lastKeys.slice(0, -1)) {
|
|
59
|
+
parentValue = parentValue[key];
|
|
60
|
+
}
|
|
61
|
+
if (
|
|
62
|
+
// Remove the field if the new value is undefined
|
|
63
|
+
typeof newValue === "undefined"
|
|
64
|
+
) {
|
|
65
|
+
delete parentValue[lastKeys[lastKeys.length - 1]];
|
|
66
|
+
} else {
|
|
67
|
+
parentValue[lastKeys[lastKeys.length - 1]] = newValue;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return dictionaryContent;
|
|
71
|
+
};
|
|
72
|
+
const removeDictionaryValueByKeyPath = (dictionaryContent, keyPath) => {
|
|
73
|
+
let currentValue = dictionaryContent;
|
|
74
|
+
let parentValue = null;
|
|
75
|
+
let lastKey = null;
|
|
76
|
+
for (const keyObj of keyPath) {
|
|
77
|
+
parentValue = currentValue;
|
|
78
|
+
if (keyObj.type === NodeType.Object || keyObj.type === NodeType.Array) {
|
|
79
|
+
lastKey = keyObj.key;
|
|
80
|
+
currentValue = currentValue[keyObj.key];
|
|
81
|
+
} else if (keyObj.type === NodeType.Translation) {
|
|
82
|
+
lastKey = NodeType.Translation;
|
|
83
|
+
currentValue = currentValue[NodeType.Translation][keyObj.key];
|
|
84
|
+
} else if (keyObj.type === NodeType.Enumeration) {
|
|
85
|
+
lastKey = NodeType.Enumeration;
|
|
86
|
+
currentValue = currentValue[NodeType.Enumeration][keyObj.key];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
if (parentValue && lastKey !== null) {
|
|
90
|
+
if (Array.isArray(parentValue)) {
|
|
91
|
+
parentValue.splice(lastKey, 1);
|
|
92
|
+
} else {
|
|
93
|
+
delete parentValue[lastKey];
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return dictionaryContent;
|
|
97
|
+
};
|
|
98
|
+
const getSectionType = (section) => {
|
|
99
|
+
if (typeof section === "string") {
|
|
100
|
+
return NodeType.Text;
|
|
101
|
+
}
|
|
102
|
+
if (section?.nodeType === NodeType.Translation) {
|
|
103
|
+
return NodeType.Translation;
|
|
104
|
+
}
|
|
105
|
+
if (section?.nodeType === NodeType.Enumeration) {
|
|
106
|
+
return NodeType.Enumeration;
|
|
107
|
+
}
|
|
108
|
+
if (Array.isArray(section)) {
|
|
109
|
+
return NodeType.Array;
|
|
110
|
+
}
|
|
111
|
+
if (isValidElement(section)) {
|
|
112
|
+
return NodeType.ReactNode;
|
|
113
|
+
}
|
|
114
|
+
return NodeType.Object;
|
|
115
|
+
};
|
|
116
|
+
export {
|
|
117
|
+
editDictionaryByKeyPath,
|
|
118
|
+
getDictionaryValueByKeyPath,
|
|
119
|
+
getSectionType,
|
|
120
|
+
removeDictionaryValueByKeyPath
|
|
121
|
+
};
|
|
122
|
+
//# sourceMappingURL=dictionary.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dictionary.mjs","sources":["../../src/utils/dictionary.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport {\n NodeType,\n type TranslationContent,\n type DictionaryValue,\n type KeyPath,\n type EnumerationContent,\n} from '@intlayer/core';\nimport { isValidElement } from 'react';\n\nexport const getDictionaryValueByKeyPath = (\n dictionaryContent: DictionaryValue,\n keyPath: KeyPath[]\n): DictionaryValue => {\n let currentValue: any = { ...(dictionaryContent as object) };\n\n for (const keyObj of keyPath) {\n if (keyObj.type === NodeType.Object || keyObj.type === NodeType.Array) {\n currentValue = currentValue?.[keyObj.key];\n } else if (keyObj.type === NodeType.Translation) {\n currentValue = currentValue?.[NodeType.Translation][keyObj.key];\n } else if (keyObj.type === NodeType.Enumeration) {\n currentValue = currentValue?.[NodeType.Enumeration][keyObj.key];\n }\n }\n\n return currentValue as DictionaryValue;\n};\n\ntype LastKeyType = string | number;\n\nexport const editDictionaryByKeyPath = (\n dictionaryContent: DictionaryValue,\n keyPath: KeyPath[],\n newValue: DictionaryValue\n): DictionaryValue => {\n let currentValue: any = dictionaryContent;\n let parentValue: any = null;\n let lastKeys: LastKeyType[] = [];\n\n for (const keyObj of keyPath) {\n parentValue = currentValue;\n\n if (keyObj.type === NodeType.Object) {\n lastKeys = [keyObj.key];\n\n if (!currentValue[keyObj.key]) {\n currentValue = {\n ...currentValue,\n [keyObj.key]: {},\n };\n }\n currentValue = currentValue[keyObj.key];\n } else if (keyObj.type === NodeType.Array) {\n lastKeys = [keyObj.key];\n\n if (!currentValue[keyObj.key]) {\n currentValue[keyObj.key] = {};\n }\n currentValue = currentValue[keyObj.key];\n } else if (keyObj.type === NodeType.Translation) {\n lastKeys = [NodeType.Translation, keyObj.key];\n\n if (!currentValue[NodeType.Translation]) {\n currentValue[NodeType.Translation] = {\n ...currentValue[NodeType.Translation],\n [keyObj.key]: newValue,\n };\n }\n currentValue = currentValue[NodeType.Translation][keyObj.key];\n } else if (keyObj.type === NodeType.Enumeration) {\n lastKeys = [NodeType.Enumeration, keyObj.key];\n\n if (!currentValue[NodeType.Enumeration]) {\n currentValue[NodeType.Enumeration] = {\n ...currentValue[NodeType.Enumeration],\n [keyObj.key]: newValue,\n };\n }\n currentValue = currentValue[NodeType.Enumeration][keyObj.key];\n }\n }\n\n // Assign the new value to the last key of the parent\n if (parentValue && lastKeys.length > 0) {\n for (const key of lastKeys.slice(0, -1)) {\n parentValue = parentValue[key];\n }\n if (\n // Remove the field if the new value is undefined\n typeof newValue === 'undefined'\n ) {\n delete parentValue[lastKeys[lastKeys.length - 1]];\n } else {\n parentValue[lastKeys[lastKeys.length - 1]] = newValue;\n }\n }\n\n return dictionaryContent;\n};\n\nexport const removeDictionaryValueByKeyPath = (\n dictionaryContent: DictionaryValue,\n keyPath: KeyPath[]\n): DictionaryValue => {\n let currentValue: any = dictionaryContent;\n let parentValue: any = null;\n let lastKey: string | number | null = null;\n\n for (const keyObj of keyPath) {\n parentValue = currentValue;\n\n if (keyObj.type === NodeType.Object || keyObj.type === NodeType.Array) {\n lastKey = keyObj.key;\n currentValue = currentValue[keyObj.key];\n } else if (keyObj.type === NodeType.Translation) {\n lastKey = NodeType.Translation;\n currentValue = currentValue[NodeType.Translation][keyObj.key];\n } else if (keyObj.type === NodeType.Enumeration) {\n lastKey = NodeType.Enumeration;\n currentValue = currentValue[NodeType.Enumeration][keyObj.key];\n }\n }\n\n if (parentValue && lastKey !== null) {\n if (Array.isArray(parentValue)) {\n parentValue.splice(lastKey as unknown as number, 1);\n } else {\n delete parentValue[lastKey];\n }\n }\n\n return dictionaryContent;\n};\n\nexport const getSectionType = (section: DictionaryValue): NodeType => {\n if (typeof section === 'string') {\n return NodeType.Text;\n }\n\n if (\n (section as TranslationContent<unknown>)?.nodeType === NodeType.Translation\n ) {\n return NodeType.Translation;\n }\n\n if (\n (section as EnumerationContent<unknown>)?.nodeType === NodeType.Enumeration\n ) {\n return NodeType.Enumeration;\n }\n\n if (Array.isArray(section)) {\n return NodeType.Array;\n }\n\n if (isValidElement(section)) {\n return NodeType.ReactNode;\n }\n\n return NodeType.Object;\n};\n"],"names":[],"mappings":";;AAUa,MAAA,8BAA8B,CACzC,mBACA,YACoB;AAChB,MAAA,eAAoB,EAAE,GAAI;AAE9B,aAAW,UAAU,SAAS;AAC5B,QAAI,OAAO,SAAS,SAAS,UAAU,OAAO,SAAS,SAAS,OAAO;AACtD,qBAAA,eAAe,OAAO,GAAG;AAAA,IAC/B,WAAA,OAAO,SAAS,SAAS,aAAa;AAC/C,qBAAe,eAAe,SAAS,WAAW,EAAE,OAAO,GAAG;AAAA,IACrD,WAAA,OAAO,SAAS,SAAS,aAAa;AAC/C,qBAAe,eAAe,SAAS,WAAW,EAAE,OAAO,GAAG;AAAA,IAChE;AAAA,EACF;AAEO,SAAA;AACT;AAIO,MAAM,0BAA0B,CACrC,mBACA,SACA,aACoB;AACpB,MAAI,eAAoB;AACxB,MAAI,cAAmB;AACvB,MAAI,WAA0B,CAAA;AAE9B,aAAW,UAAU,SAAS;AACd,kBAAA;AAEV,QAAA,OAAO,SAAS,SAAS,QAAQ;AACxB,iBAAA,CAAC,OAAO,GAAG;AAEtB,UAAI,CAAC,aAAa,OAAO,GAAG,GAAG;AACd,uBAAA;AAAA,UACb,GAAG;AAAA,UACH,CAAC,OAAO,GAAG,GAAG,CAAC;AAAA,QAAA;AAAA,MAEnB;AACe,qBAAA,aAAa,OAAO,GAAG;AAAA,IAC7B,WAAA,OAAO,SAAS,SAAS,OAAO;AAC9B,iBAAA,CAAC,OAAO,GAAG;AAEtB,UAAI,CAAC,aAAa,OAAO,GAAG,GAAG;AAChB,qBAAA,OAAO,GAAG,IAAI;MAC7B;AACe,qBAAA,aAAa,OAAO,GAAG;AAAA,IAC7B,WAAA,OAAO,SAAS,SAAS,aAAa;AAC/C,iBAAW,CAAC,SAAS,aAAa,OAAO,GAAG;AAE5C,UAAI,CAAC,aAAa,SAAS,WAAW,GAAG;AAC1B,qBAAA,SAAS,WAAW,IAAI;AAAA,UACnC,GAAG,aAAa,SAAS,WAAW;AAAA,UACpC,CAAC,OAAO,GAAG,GAAG;AAAA,QAAA;AAAA,MAElB;AACA,qBAAe,aAAa,SAAS,WAAW,EAAE,OAAO,GAAG;AAAA,IACnD,WAAA,OAAO,SAAS,SAAS,aAAa;AAC/C,iBAAW,CAAC,SAAS,aAAa,OAAO,GAAG;AAE5C,UAAI,CAAC,aAAa,SAAS,WAAW,GAAG;AAC1B,qBAAA,SAAS,WAAW,IAAI;AAAA,UACnC,GAAG,aAAa,SAAS,WAAW;AAAA,UACpC,CAAC,OAAO,GAAG,GAAG;AAAA,QAAA;AAAA,MAElB;AACA,qBAAe,aAAa,SAAS,WAAW,EAAE,OAAO,GAAG;AAAA,IAC9D;AAAA,EACF;AAGI,MAAA,eAAe,SAAS,SAAS,GAAG;AACtC,eAAW,OAAO,SAAS,MAAM,GAAG,EAAE,GAAG;AACvC,oBAAc,YAAY,GAAG;AAAA,IAC/B;AACA;AAAA;AAAA,MAEE,OAAO,aAAa;AAAA,MACpB;AACA,aAAO,YAAY,SAAS,SAAS,SAAS,CAAC,CAAC;AAAA,IAAA,OAC3C;AACL,kBAAY,SAAS,SAAS,SAAS,CAAC,CAAC,IAAI;AAAA,IAC/C;AAAA,EACF;AAEO,SAAA;AACT;AAEa,MAAA,iCAAiC,CAC5C,mBACA,YACoB;AACpB,MAAI,eAAoB;AACxB,MAAI,cAAmB;AACvB,MAAI,UAAkC;AAEtC,aAAW,UAAU,SAAS;AACd,kBAAA;AAEd,QAAI,OAAO,SAAS,SAAS,UAAU,OAAO,SAAS,SAAS,OAAO;AACrE,gBAAU,OAAO;AACF,qBAAA,aAAa,OAAO,GAAG;AAAA,IAC7B,WAAA,OAAO,SAAS,SAAS,aAAa;AAC/C,gBAAU,SAAS;AACnB,qBAAe,aAAa,SAAS,WAAW,EAAE,OAAO,GAAG;AAAA,IACnD,WAAA,OAAO,SAAS,SAAS,aAAa;AAC/C,gBAAU,SAAS;AACnB,qBAAe,aAAa,SAAS,WAAW,EAAE,OAAO,GAAG;AAAA,IAC9D;AAAA,EACF;AAEI,MAAA,eAAe,YAAY,MAAM;AAC/B,QAAA,MAAM,QAAQ,WAAW,GAAG;AAClB,kBAAA,OAAO,SAA8B,CAAC;AAAA,IAAA,OAC7C;AACL,aAAO,YAAY,OAAO;AAAA,IAC5B;AAAA,EACF;AAEO,SAAA;AACT;AAEa,MAAA,iBAAiB,CAAC,YAAuC;AAChE,MAAA,OAAO,YAAY,UAAU;AAC/B,WAAO,SAAS;AAAA,EAClB;AAGG,MAAA,SAAyC,aAAa,SAAS,aAChE;AACA,WAAO,SAAS;AAAA,EAClB;AAGG,MAAA,SAAyC,aAAa,SAAS,aAChE;AACA,WAAO,SAAS;AAAA,EAClB;AAEI,MAAA,MAAM,QAAQ,OAAO,GAAG;AAC1B,WAAO,SAAS;AAAA,EAClB;AAEI,MAAA,eAAe,OAAO,GAAG;AAC3B,WAAO,SAAS;AAAA,EAClB;AAEA,SAAO,SAAS;AAClB;"}
|