@intlayer/design-system 5.8.1 → 6.0.0-canary.1
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 +34 -106
- package/dist/better-auth.CMQ3rA-I-7umXOENE.js.map +1 -1
- package/dist/better-auth.CMQ3rA-I-C2nBKRMa.cjs.map +1 -1
- package/dist/components/Breadcrumb/breadcrumb.content.cjs +3 -1
- package/dist/components/Breadcrumb/breadcrumb.content.cjs.map +1 -1
- package/dist/components/Breadcrumb/breadcrumb.content.d.ts +3 -0
- package/dist/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -1
- package/dist/components/Breadcrumb/breadcrumb.content.mjs +3 -1
- package/dist/components/Breadcrumb/breadcrumb.content.mjs.map +1 -1
- package/dist/components/Breadcrumb/index.cjs.map +1 -1
- package/dist/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/components/CopyButton/CopyButton.content.cjs +3 -1
- package/dist/components/CopyButton/CopyButton.content.cjs.map +1 -1
- package/dist/components/CopyButton/CopyButton.content.d.ts +3 -0
- package/dist/components/CopyButton/CopyButton.content.d.ts.map +1 -1
- package/dist/components/CopyButton/CopyButton.content.mjs +3 -1
- package/dist/components/CopyButton/CopyButton.content.mjs.map +1 -1
- package/dist/components/DictionaryEditor/DictionaryEditor.cjs +7 -3
- package/dist/components/DictionaryEditor/DictionaryEditor.cjs.map +1 -1
- package/dist/components/DictionaryEditor/DictionaryEditor.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/DictionaryEditor.mjs +7 -3
- package/dist/components/DictionaryEditor/DictionaryEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditor.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditor.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.cjs +83 -34
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +83 -34
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +13 -9
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +12 -8
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs +27 -13
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +27 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs +27 -13
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.cjs +9 -4
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.mjs +9 -4
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +29 -25
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +27 -23
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +37 -17
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +64 -2
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +37 -17
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs +25 -12
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs +25 -12
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +4 -5
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +4 -5
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/JSONEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/JSONEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs +25 -12
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs +25 -12
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +36 -31
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +36 -31
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +32 -28
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +32 -5
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +32 -28
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureEditor.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/StructureEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureEditor.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/StructureEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.cjs +2 -5
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.mjs +2 -5
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.cjs +9 -4
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -0
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.mjs +9 -4
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs +3 -3
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs +3 -3
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.cjs +4 -6
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.d.ts +3 -3
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.mjs +4 -6
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.cjs +7 -3
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -0
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.mjs +7 -3
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs +9 -6
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +9 -4
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs +9 -6
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs +28 -14
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +29 -2
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs +28 -14
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs.map +1 -1
- package/dist/components/DropDown/index.cjs +2 -2
- package/dist/components/DropDown/index.cjs.map +1 -1
- package/dist/components/DropDown/index.d.ts.map +1 -1
- package/dist/components/DropDown/index.mjs +2 -2
- package/dist/components/DropDown/index.mjs.map +1 -1
- package/dist/components/EditableField/EditableFieldTextArea.cjs +2 -5
- package/dist/components/EditableField/EditableFieldTextArea.cjs.map +1 -1
- package/dist/components/EditableField/EditableFieldTextArea.mjs +2 -5
- package/dist/components/EditableField/EditableFieldTextArea.mjs.map +1 -1
- package/dist/components/ExpandCollapse/ExpandCollapse.cjs.map +1 -1
- package/dist/components/ExpandCollapse/ExpandCollapse.d.ts +2 -2
- package/dist/components/ExpandCollapse/ExpandCollapse.d.ts.map +1 -1
- package/dist/components/ExpandCollapse/ExpandCollapse.mjs.map +1 -1
- package/dist/components/ExpandCollapse/expandCollapse.content.cjs +5 -2
- package/dist/components/ExpandCollapse/expandCollapse.content.cjs.map +1 -1
- package/dist/components/ExpandCollapse/expandCollapse.content.d.ts +3 -0
- package/dist/components/ExpandCollapse/expandCollapse.content.d.ts.map +1 -1
- package/dist/components/ExpandCollapse/expandCollapse.content.mjs +5 -2
- package/dist/components/ExpandCollapse/expandCollapse.content.mjs.map +1 -1
- package/dist/components/Flags/Flag.cjs +2 -1
- package/dist/components/Flags/Flag.cjs.map +1 -1
- package/dist/components/Flags/Flag.d.ts.map +1 -1
- package/dist/components/Flags/Flag.mjs +2 -1
- package/dist/components/Flags/Flag.mjs.map +1 -1
- package/dist/components/IDE/Code.cjs +8 -8
- package/dist/components/IDE/Code.cjs.map +1 -1
- package/dist/components/IDE/Code.mjs +8 -8
- package/dist/components/IDE/Code.mjs.map +1 -1
- package/dist/components/IDE/CodeBlockClient.cjs +1 -1
- package/dist/components/IDE/CodeBlockClient.cjs.map +1 -1
- package/dist/components/IDE/CodeBlockClient.d.ts +1 -1
- package/dist/components/IDE/CodeBlockClient.d.ts.map +1 -1
- package/dist/components/IDE/CodeBlockClient.mjs +1 -1
- package/dist/components/IDE/CodeBlockClient.mjs.map +1 -1
- package/dist/components/IDE/CodeContext.cjs +1 -3
- package/dist/components/IDE/CodeContext.cjs.map +1 -1
- package/dist/components/IDE/CodeContext.mjs +1 -3
- package/dist/components/IDE/CodeContext.mjs.map +1 -1
- package/dist/components/IDE/code.content.cjs +5 -2
- package/dist/components/IDE/code.content.cjs.map +1 -1
- package/dist/components/IDE/code.content.d.ts +5 -0
- package/dist/components/IDE/code.content.d.ts.map +1 -1
- package/dist/components/IDE/code.content.mjs +5 -2
- package/dist/components/IDE/code.content.mjs.map +1 -1
- package/dist/components/IDE/copyCode.content.cjs +5 -2
- package/dist/components/IDE/copyCode.content.cjs.map +1 -1
- package/dist/components/IDE/copyCode.content.d.ts +5 -0
- package/dist/components/IDE/copyCode.content.d.ts.map +1 -1
- package/dist/components/IDE/copyCode.content.mjs +5 -2
- package/dist/components/IDE/copyCode.content.mjs.map +1 -1
- package/dist/components/Input/Checkbox.cjs.map +1 -1
- package/dist/components/Input/Checkbox.d.ts +2 -2
- package/dist/components/Input/Checkbox.d.ts.map +1 -1
- package/dist/components/Input/Checkbox.mjs.map +1 -1
- package/dist/components/Loader/index.content.cjs +6 -1
- package/dist/components/Loader/index.content.cjs.map +1 -1
- package/dist/components/Loader/index.content.d.ts +33 -2
- package/dist/components/Loader/index.content.d.ts.map +1 -1
- package/dist/components/Loader/index.content.mjs +6 -1
- package/dist/components/Loader/index.content.mjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs +1 -3
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +1 -3
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.cjs +1 -3
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.cjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.mjs +1 -3
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.mjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.cjs +17 -8
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.cjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -0
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.mjs +17 -8
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.mjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs +13 -6
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs +13 -6
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs.map +1 -1
- package/dist/components/Modal/Modal.cjs +2 -4
- package/dist/components/Modal/Modal.cjs.map +1 -1
- package/dist/components/Modal/Modal.mjs +2 -4
- package/dist/components/Modal/Modal.mjs.map +1 -1
- package/dist/components/Navbar/MobileNavbar.cjs +1 -3
- package/dist/components/Navbar/MobileNavbar.cjs.map +1 -1
- package/dist/components/Navbar/MobileNavbar.mjs +1 -3
- package/dist/components/Navbar/MobileNavbar.mjs.map +1 -1
- package/dist/components/Navbar/index.cjs +2 -4
- package/dist/components/Navbar/index.cjs.map +1 -1
- package/dist/components/Navbar/index.mjs +2 -4
- package/dist/components/Navbar/index.mjs.map +1 -1
- package/dist/components/SwitchSelector/index.cjs +1 -3
- package/dist/components/SwitchSelector/index.cjs.map +1 -1
- package/dist/components/SwitchSelector/index.mjs +1 -3
- package/dist/components/SwitchSelector/index.mjs.map +1 -1
- package/dist/components/TabSelector/TabSelector.cjs +1 -3
- package/dist/components/TabSelector/TabSelector.cjs.map +1 -1
- package/dist/components/TabSelector/TabSelector.d.ts +1 -1
- package/dist/components/TabSelector/TabSelector.d.ts.map +1 -1
- package/dist/components/TabSelector/TabSelector.mjs +1 -3
- package/dist/components/TabSelector/TabSelector.mjs.map +1 -1
- package/dist/components/Table/table.content.cjs +3 -1
- package/dist/components/Table/table.content.cjs.map +1 -1
- package/dist/components/Table/table.content.d.ts +3 -0
- package/dist/components/Table/table.content.d.ts.map +1 -1
- package/dist/components/Table/table.content.mjs +3 -1
- package/dist/components/Table/table.content.mjs.map +1 -1
- package/dist/components/Tag/index.cjs +22 -88
- package/dist/components/Tag/index.cjs.map +1 -1
- package/dist/components/Tag/index.d.ts +5 -5
- package/dist/components/Tag/index.mjs +22 -88
- package/dist/components/Tag/index.mjs.map +1 -1
- package/dist/components/TextArea/AutocompleteTextArea.cjs +20 -21
- package/dist/components/TextArea/AutocompleteTextArea.cjs.map +1 -1
- package/dist/components/TextArea/AutocompleteTextArea.d.ts.map +1 -1
- package/dist/components/TextArea/AutocompleteTextArea.mjs +20 -21
- package/dist/components/TextArea/AutocompleteTextArea.mjs.map +1 -1
- package/dist/hooks/auth.cjs +26 -11
- package/dist/hooks/auth.cjs.map +1 -1
- package/dist/hooks/auth.mjs +26 -11
- package/dist/hooks/auth.mjs.map +1 -1
- package/dist/hooks/index.cjs +65 -66
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.ts +1 -3
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.mjs +4 -8
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/hooks/reactQuery.cjs +648 -0
- package/dist/hooks/reactQuery.cjs.map +1 -0
- package/dist/hooks/reactQuery.d.ts +899 -0
- package/dist/hooks/reactQuery.d.ts.map +1 -0
- package/dist/hooks/reactQuery.mjs +646 -0
- package/dist/hooks/reactQuery.mjs.map +1 -0
- package/dist/hooks/useAuth/useOAuth2.cjs +13 -10
- package/dist/hooks/useAuth/useOAuth2.cjs.map +1 -1
- package/dist/hooks/useAuth/useOAuth2.d.ts +1 -1
- package/dist/hooks/useAuth/useOAuth2.d.ts.map +1 -1
- package/dist/hooks/useAuth/useOAuth2.mjs +13 -10
- package/dist/hooks/useAuth/useOAuth2.mjs.map +1 -1
- package/dist/hooks/useAuth/useSession.cjs +23 -26
- package/dist/hooks/useAuth/useSession.cjs.map +1 -1
- package/dist/hooks/useAuth/useSession.d.ts +4 -352
- package/dist/hooks/useAuth/useSession.d.ts.map +1 -1
- package/dist/hooks/useAuth/useSession.mjs +23 -26
- package/dist/hooks/useAuth/useSession.mjs.map +1 -1
- package/dist/hooks/useIntlayerAPI.cjs +2 -3
- package/dist/hooks/useIntlayerAPI.cjs.map +1 -1
- package/dist/hooks/useIntlayerAPI.mjs +2 -3
- package/dist/hooks/useIntlayerAPI.mjs.map +1 -1
- package/dist/hooks/useUser/index.cjs +6 -9
- package/dist/hooks/useUser/index.cjs.map +1 -1
- package/dist/hooks/useUser/index.d.ts +2 -18
- package/dist/hooks/useUser/index.d.ts.map +1 -1
- package/dist/hooks/useUser/index.mjs +6 -9
- package/dist/hooks/useUser/index.mjs.map +1 -1
- package/dist/index-BCuMWKyy.js.map +1 -1
- package/dist/index-BYzBot7l.cjs.map +1 -1
- package/dist/providers/ReactQueryProvider.cjs +85 -0
- package/dist/providers/ReactQueryProvider.cjs.map +1 -0
- package/dist/providers/ReactQueryProvider.d.ts +13 -0
- package/dist/providers/ReactQueryProvider.d.ts.map +1 -0
- package/dist/providers/ReactQueryProvider.mjs +85 -0
- package/dist/providers/ReactQueryProvider.mjs.map +1 -0
- package/dist/providers/index.cjs +5 -0
- package/dist/{hooks/useAsync → providers}/index.cjs.map +1 -1
- package/dist/providers/index.d.ts +2 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.mjs +5 -0
- package/dist/{hooks/useAsync → providers}/index.mjs.map +1 -1
- package/package.json +30 -20
- package/dist/hooks/intlayerAPIHooks.cjs +0 -542
- package/dist/hooks/intlayerAPIHooks.cjs.map +0 -1
- package/dist/hooks/intlayerAPIHooks.d.ts +0 -968
- package/dist/hooks/intlayerAPIHooks.d.ts.map +0 -1
- package/dist/hooks/intlayerAPIHooks.mjs +0 -542
- package/dist/hooks/intlayerAPIHooks.mjs.map +0 -1
- package/dist/hooks/useAsync/index.cjs +0 -8
- package/dist/hooks/useAsync/index.d.ts +0 -3
- package/dist/hooks/useAsync/index.d.ts.map +0 -1
- package/dist/hooks/useAsync/index.mjs +0 -8
- package/dist/hooks/useAsync/useAsync.cjs +0 -244
- package/dist/hooks/useAsync/useAsync.cjs.map +0 -1
- package/dist/hooks/useAsync/useAsync.d.ts +0 -73
- package/dist/hooks/useAsync/useAsync.d.ts.map +0 -1
- package/dist/hooks/useAsync/useAsync.mjs +0 -244
- package/dist/hooks/useAsync/useAsync.mjs.map +0 -1
- package/dist/hooks/useAsync/useAsyncStateStore.cjs +0 -150
- package/dist/hooks/useAsync/useAsyncStateStore.cjs.map +0 -1
- package/dist/hooks/useAsync/useAsyncStateStore.d.ts +0 -52
- package/dist/hooks/useAsync/useAsyncStateStore.d.ts.map +0 -1
- package/dist/hooks/useAsync/useAsyncStateStore.mjs +0 -150
- package/dist/hooks/useAsync/useAsyncStateStore.mjs.map +0 -1
- package/dist/hooks/useAsync/useAsyncWrapper.cjs +0 -10
- package/dist/hooks/useAsync/useAsyncWrapper.cjs.map +0 -1
- package/dist/hooks/useAsync/useAsyncWrapper.d.ts +0 -37
- package/dist/hooks/useAsync/useAsyncWrapper.d.ts.map +0 -1
- package/dist/hooks/useAsync/useAsyncWrapper.mjs +0 -10
- package/dist/hooks/useAsync/useAsyncWrapper.mjs.map +0 -1
- package/dist/hooks/useGetAllDictionaries.cjs +0 -35
- package/dist/hooks/useGetAllDictionaries.cjs.map +0 -1
- package/dist/hooks/useGetAllDictionaries.d.ts +0 -11
- package/dist/hooks/useGetAllDictionaries.d.ts.map +0 -1
- package/dist/hooks/useGetAllDictionaries.mjs +0 -35
- package/dist/hooks/useGetAllDictionaries.mjs.map +0 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -459,8 +459,7 @@
|
|
|
459
459
|
"isEntry": true,
|
|
460
460
|
"imports": [
|
|
461
461
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
462
|
-
"src/hooks/
|
|
463
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
462
|
+
"src/hooks/reactQuery.ts",
|
|
464
463
|
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts",
|
|
465
464
|
"src/utils/object.ts",
|
|
466
465
|
"src/components/Button/Button.tsx",
|
|
@@ -483,9 +482,8 @@
|
|
|
483
482
|
"src": "src/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.tsx",
|
|
484
483
|
"isEntry": true,
|
|
485
484
|
"imports": [
|
|
486
|
-
"src/hooks/
|
|
485
|
+
"src/hooks/reactQuery.ts",
|
|
487
486
|
"src/hooks/useAuth/useAuth.ts",
|
|
488
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
489
487
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
490
488
|
"src/components/Button/Button.tsx",
|
|
491
489
|
"src/components/Form/FormBase.tsx",
|
|
@@ -524,8 +522,7 @@
|
|
|
524
522
|
"isEntry": true,
|
|
525
523
|
"imports": [
|
|
526
524
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
527
|
-
"src/hooks/
|
|
528
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
525
|
+
"src/hooks/reactQuery.ts",
|
|
529
526
|
"src/hooks/useAuth/useAuth.ts",
|
|
530
527
|
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts",
|
|
531
528
|
"src/components/Button/Button.tsx",
|
|
@@ -568,8 +565,6 @@
|
|
|
568
565
|
"imports": [
|
|
569
566
|
"src/components/Button/Button.tsx",
|
|
570
567
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
571
|
-
"src/components/Toaster/Toast.tsx",
|
|
572
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
573
568
|
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts",
|
|
574
569
|
"src/components/Container/index.tsx",
|
|
575
570
|
"src/components/DropDown/index.tsx",
|
|
@@ -651,8 +646,7 @@
|
|
|
651
646
|
"imports": [
|
|
652
647
|
"src/components/Modal/Modal.tsx",
|
|
653
648
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
654
|
-
"src/hooks/
|
|
655
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
649
|
+
"src/hooks/reactQuery.ts",
|
|
656
650
|
"src/hooks/useAuth/useAuth.ts",
|
|
657
651
|
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts",
|
|
658
652
|
"src/utils/cn.ts",
|
|
@@ -689,9 +683,6 @@
|
|
|
689
683
|
"src/components/Input/Input.tsx",
|
|
690
684
|
"src/components/Input/Checkbox.tsx",
|
|
691
685
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
692
|
-
"src/components/Toaster/Toast.tsx",
|
|
693
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
694
|
-
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts",
|
|
695
686
|
"src/components/DictionaryFieldEditor/NodeTypeSelector.tsx"
|
|
696
687
|
]
|
|
697
688
|
},
|
|
@@ -720,8 +711,6 @@
|
|
|
720
711
|
"isEntry": true,
|
|
721
712
|
"imports": [
|
|
722
713
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
723
|
-
"src/components/Toaster/Toast.tsx",
|
|
724
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
725
714
|
"src/hooks/usePersistedStore.ts",
|
|
726
715
|
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts"
|
|
727
716
|
]
|
|
@@ -814,9 +803,6 @@
|
|
|
814
803
|
"src/components/Input/Input.tsx",
|
|
815
804
|
"src/components/Input/Checkbox.tsx",
|
|
816
805
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
817
|
-
"src/components/Toaster/Toast.tsx",
|
|
818
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
819
|
-
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts",
|
|
820
806
|
"src/components/EditableField/EditableFieldLayout.tsx"
|
|
821
807
|
]
|
|
822
808
|
},
|
|
@@ -1213,8 +1199,6 @@
|
|
|
1213
1199
|
"isEntry": true,
|
|
1214
1200
|
"imports": [
|
|
1215
1201
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
1216
|
-
"src/components/Toaster/Toast.tsx",
|
|
1217
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
1218
1202
|
"src/hooks/usePersistedStore.ts",
|
|
1219
1203
|
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts"
|
|
1220
1204
|
]
|
|
@@ -1452,8 +1436,6 @@
|
|
|
1452
1436
|
"isEntry": true,
|
|
1453
1437
|
"imports": [
|
|
1454
1438
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
1455
|
-
"src/components/Toaster/Toast.tsx",
|
|
1456
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
1457
1439
|
"src/hooks/usePersistedStore.ts",
|
|
1458
1440
|
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts",
|
|
1459
1441
|
"src/components/Button/Button.tsx",
|
|
@@ -1472,8 +1454,6 @@
|
|
|
1472
1454
|
"isEntry": true,
|
|
1473
1455
|
"imports": [
|
|
1474
1456
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
1475
|
-
"src/components/Toaster/Toast.tsx",
|
|
1476
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
1477
1457
|
"src/hooks/usePersistedStore.ts",
|
|
1478
1458
|
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts"
|
|
1479
1459
|
]
|
|
@@ -1597,8 +1577,6 @@
|
|
|
1597
1577
|
"isEntry": true,
|
|
1598
1578
|
"imports": [
|
|
1599
1579
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
1600
|
-
"src/components/Toaster/Toast.tsx",
|
|
1601
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
1602
1580
|
"src/hooks/useGetElementOrWindow.ts",
|
|
1603
1581
|
"_index-BYzBot7l.cjs",
|
|
1604
1582
|
"src/utils/cn.ts",
|
|
@@ -1641,8 +1619,6 @@
|
|
|
1641
1619
|
"isEntry": true,
|
|
1642
1620
|
"imports": [
|
|
1643
1621
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
1644
|
-
"src/components/Toaster/Toast.tsx",
|
|
1645
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
1646
1622
|
"_index-BYzBot7l.cjs",
|
|
1647
1623
|
"src/hooks/useScrollDetection.ts",
|
|
1648
1624
|
"src/utils/cn.ts",
|
|
@@ -1657,8 +1633,6 @@
|
|
|
1657
1633
|
"isEntry": true,
|
|
1658
1634
|
"imports": [
|
|
1659
1635
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
1660
|
-
"src/components/Toaster/Toast.tsx",
|
|
1661
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
1662
1636
|
"src/hooks/useDevice.ts",
|
|
1663
1637
|
"src/hooks/useIsMounted.ts",
|
|
1664
1638
|
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts",
|
|
@@ -1876,8 +1850,6 @@
|
|
|
1876
1850
|
"isEntry": true,
|
|
1877
1851
|
"imports": [
|
|
1878
1852
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
1879
|
-
"src/components/Toaster/Toast.tsx",
|
|
1880
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
1881
1853
|
"src/hooks/useItemSelector.ts",
|
|
1882
1854
|
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts",
|
|
1883
1855
|
"src/utils/cn.ts"
|
|
@@ -1890,8 +1862,6 @@
|
|
|
1890
1862
|
"isEntry": true,
|
|
1891
1863
|
"imports": [
|
|
1892
1864
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
1893
|
-
"src/components/Toaster/Toast.tsx",
|
|
1894
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
1895
1865
|
"src/hooks/useItemSelector.ts",
|
|
1896
1866
|
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts",
|
|
1897
1867
|
"src/utils/cn.ts"
|
|
@@ -1955,10 +1925,7 @@
|
|
|
1955
1925
|
"src": "src/components/TextArea/AutocompleteTextArea.tsx",
|
|
1956
1926
|
"isEntry": true,
|
|
1957
1927
|
"imports": [
|
|
1958
|
-
"
|
|
1959
|
-
"src/hooks/intlayerAPIHooks.ts",
|
|
1960
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
1961
|
-
"src/hooks/useScrollBlockage/useScrollBlockageStore.ts",
|
|
1928
|
+
"src/hooks/reactQuery.ts",
|
|
1962
1929
|
"src/components/TextArea/AutoSizeTextArea.tsx"
|
|
1963
1930
|
]
|
|
1964
1931
|
},
|
|
@@ -2173,14 +2140,11 @@
|
|
|
2173
2140
|
"isEntry": true,
|
|
2174
2141
|
"imports": [
|
|
2175
2142
|
"src/hooks/auth.ts",
|
|
2176
|
-
"src/hooks/
|
|
2177
|
-
"src/hooks/useAsync/useAsync.ts",
|
|
2178
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
2143
|
+
"src/hooks/reactQuery.ts",
|
|
2179
2144
|
"src/hooks/useAuth/useAuth.ts",
|
|
2180
2145
|
"src/hooks/useAuth/useOAuth2.ts",
|
|
2181
2146
|
"src/hooks/useAuth/useSession.ts",
|
|
2182
2147
|
"src/hooks/useDevice.ts",
|
|
2183
|
-
"src/hooks/useGetAllDictionaries.tsx",
|
|
2184
2148
|
"src/hooks/useGetElementOrWindow.ts",
|
|
2185
2149
|
"src/hooks/useIsDarkMode.ts",
|
|
2186
2150
|
"src/hooks/useIsMounted.ts",
|
|
@@ -2193,55 +2157,17 @@
|
|
|
2193
2157
|
"src/hooks/useUser/index.ts"
|
|
2194
2158
|
]
|
|
2195
2159
|
},
|
|
2196
|
-
"src/hooks/
|
|
2197
|
-
"file": "hooks/
|
|
2198
|
-
"name": "hooks/
|
|
2199
|
-
"src": "src/hooks/
|
|
2160
|
+
"src/hooks/reactQuery.ts": {
|
|
2161
|
+
"file": "hooks/reactQuery.cjs",
|
|
2162
|
+
"name": "hooks/reactQuery",
|
|
2163
|
+
"src": "src/hooks/reactQuery.ts",
|
|
2200
2164
|
"isEntry": true,
|
|
2201
2165
|
"imports": [
|
|
2202
|
-
"src/components/Toaster/Toast.tsx",
|
|
2203
|
-
"src/components/Toaster/useToast.tsx",
|
|
2204
|
-
"src/hooks/useAsync/useAsync.ts",
|
|
2205
2166
|
"src/hooks/useAuth/useAuth.ts",
|
|
2206
2167
|
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs",
|
|
2207
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
2208
2168
|
"src/hooks/useIntlayerAPI.ts"
|
|
2209
2169
|
]
|
|
2210
2170
|
},
|
|
2211
|
-
"src/hooks/useAsync/index.ts": {
|
|
2212
|
-
"file": "hooks/useAsync/index.cjs",
|
|
2213
|
-
"name": "hooks/useAsync/index",
|
|
2214
|
-
"src": "src/hooks/useAsync/index.ts",
|
|
2215
|
-
"isEntry": true,
|
|
2216
|
-
"imports": [
|
|
2217
|
-
"src/hooks/useAsync/useAsync.ts",
|
|
2218
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx"
|
|
2219
|
-
]
|
|
2220
|
-
},
|
|
2221
|
-
"src/hooks/useAsync/useAsync.ts": {
|
|
2222
|
-
"file": "hooks/useAsync/useAsync.cjs",
|
|
2223
|
-
"name": "hooks/useAsync/useAsync",
|
|
2224
|
-
"src": "src/hooks/useAsync/useAsync.ts",
|
|
2225
|
-
"isEntry": true,
|
|
2226
|
-
"imports": [
|
|
2227
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx"
|
|
2228
|
-
]
|
|
2229
|
-
},
|
|
2230
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx": {
|
|
2231
|
-
"file": "hooks/useAsync/useAsyncStateStore.cjs",
|
|
2232
|
-
"name": "hooks/useAsync/useAsyncStateStore",
|
|
2233
|
-
"src": "src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
2234
|
-
"isEntry": true
|
|
2235
|
-
},
|
|
2236
|
-
"src/hooks/useAsync/useAsyncWrapper.ts": {
|
|
2237
|
-
"file": "hooks/useAsync/useAsyncWrapper.cjs",
|
|
2238
|
-
"name": "hooks/useAsync/useAsyncWrapper",
|
|
2239
|
-
"src": "src/hooks/useAsync/useAsyncWrapper.ts",
|
|
2240
|
-
"isEntry": true,
|
|
2241
|
-
"imports": [
|
|
2242
|
-
"src/hooks/useAsync/useAsync.ts"
|
|
2243
|
-
]
|
|
2244
|
-
},
|
|
2245
2171
|
"src/hooks/useAuth/index.ts": {
|
|
2246
2172
|
"file": "hooks/useAuth/index.cjs",
|
|
2247
2173
|
"name": "hooks/useAuth/index",
|
|
@@ -2267,10 +2193,7 @@
|
|
|
2267
2193
|
"file": "hooks/useAuth/useOAuth2.cjs",
|
|
2268
2194
|
"name": "hooks/useAuth/useOAuth2",
|
|
2269
2195
|
"src": "src/hooks/useAuth/useOAuth2.ts",
|
|
2270
|
-
"isEntry": true
|
|
2271
|
-
"imports": [
|
|
2272
|
-
"src/hooks/useAsync/useAsync.ts"
|
|
2273
|
-
]
|
|
2196
|
+
"isEntry": true
|
|
2274
2197
|
},
|
|
2275
2198
|
"src/hooks/useAuth/useSession.ts": {
|
|
2276
2199
|
"file": "hooks/useAuth/useSession.cjs",
|
|
@@ -2278,9 +2201,7 @@
|
|
|
2278
2201
|
"src": "src/hooks/useAuth/useSession.ts",
|
|
2279
2202
|
"isEntry": true,
|
|
2280
2203
|
"imports": [
|
|
2281
|
-
"src/hooks/auth.ts"
|
|
2282
|
-
"src/hooks/useAsync/useAsync.ts",
|
|
2283
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx"
|
|
2204
|
+
"src/hooks/auth.ts"
|
|
2284
2205
|
]
|
|
2285
2206
|
},
|
|
2286
2207
|
"src/hooks/useDevice.ts": {
|
|
@@ -2289,15 +2210,6 @@
|
|
|
2289
2210
|
"src": "src/hooks/useDevice.ts",
|
|
2290
2211
|
"isEntry": true
|
|
2291
2212
|
},
|
|
2292
|
-
"src/hooks/useGetAllDictionaries.tsx": {
|
|
2293
|
-
"file": "hooks/useGetAllDictionaries.cjs",
|
|
2294
|
-
"name": "hooks/useGetAllDictionaries",
|
|
2295
|
-
"src": "src/hooks/useGetAllDictionaries.tsx",
|
|
2296
|
-
"isEntry": true,
|
|
2297
|
-
"imports": [
|
|
2298
|
-
"src/hooks/intlayerAPIHooks.ts"
|
|
2299
|
-
]
|
|
2300
|
-
},
|
|
2301
2213
|
"src/hooks/useGetElementOrWindow.ts": {
|
|
2302
2214
|
"file": "hooks/useGetElementOrWindow.cjs",
|
|
2303
2215
|
"name": "hooks/useGetElementOrWindow",
|
|
@@ -2311,8 +2223,7 @@
|
|
|
2311
2223
|
"isEntry": true,
|
|
2312
2224
|
"imports": [
|
|
2313
2225
|
"src/hooks/auth.ts",
|
|
2314
|
-
"src/hooks/useAuth/useAuth.ts"
|
|
2315
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx"
|
|
2226
|
+
"src/hooks/useAuth/useAuth.ts"
|
|
2316
2227
|
]
|
|
2317
2228
|
},
|
|
2318
2229
|
"src/hooks/useIsDarkMode.ts": {
|
|
@@ -2384,11 +2295,28 @@
|
|
|
2384
2295
|
"src": "src/hooks/useUser/index.ts",
|
|
2385
2296
|
"isEntry": true,
|
|
2386
2297
|
"imports": [
|
|
2387
|
-
"
|
|
2388
|
-
"src/hooks/intlayerAPIHooks.ts",
|
|
2389
|
-
"src/hooks/useAsync/useAsyncStateStore.tsx",
|
|
2298
|
+
"src/hooks/reactQuery.ts",
|
|
2390
2299
|
"src/hooks/useAuth/useAuth.ts",
|
|
2391
|
-
"
|
|
2300
|
+
"_better-auth.CMQ3rA-I-C2nBKRMa.cjs"
|
|
2301
|
+
]
|
|
2302
|
+
},
|
|
2303
|
+
"src/providers/ReactQueryProvider.tsx": {
|
|
2304
|
+
"file": "providers/ReactQueryProvider.cjs",
|
|
2305
|
+
"name": "providers/ReactQueryProvider",
|
|
2306
|
+
"src": "src/providers/ReactQueryProvider.tsx",
|
|
2307
|
+
"isEntry": true,
|
|
2308
|
+
"imports": [
|
|
2309
|
+
"src/components/Toaster/Toast.tsx",
|
|
2310
|
+
"src/components/Toaster/useToast.tsx"
|
|
2311
|
+
]
|
|
2312
|
+
},
|
|
2313
|
+
"src/providers/index.ts": {
|
|
2314
|
+
"file": "providers/index.cjs",
|
|
2315
|
+
"name": "providers/index",
|
|
2316
|
+
"src": "src/providers/index.ts",
|
|
2317
|
+
"isEntry": true,
|
|
2318
|
+
"imports": [
|
|
2319
|
+
"src/providers/ReactQueryProvider.tsx"
|
|
2392
2320
|
]
|
|
2393
2321
|
},
|
|
2394
2322
|
"src/tailwind.config.ts": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"better-auth.CMQ3rA-I-7umXOENE.js","sources":["../../../../node_modules/.pnpm/better-auth@1.3.
|
|
1
|
+
{"version":3,"file":"better-auth.CMQ3rA-I-7umXOENE.js","sources":["../../../../node_modules/.pnpm/better-auth@1.3.8_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/better-auth/dist/shared/better-auth.CMQ3rA-I.mjs"],"sourcesContent":["const _envShim = /* @__PURE__ */ Object.create(null);\nconst _getEnv = (useShim) => globalThis.process?.env || //@ts-expect-error\nglobalThis.Deno?.env.toObject() || //@ts-expect-error\nglobalThis.__env__ || (useShim ? _envShim : globalThis);\nconst env = new Proxy(_envShim, {\n get(_, prop) {\n const env2 = _getEnv();\n return env2[prop] ?? _envShim[prop];\n },\n has(_, prop) {\n const env2 = _getEnv();\n return prop in env2 || prop in _envShim;\n },\n set(_, prop, value) {\n const env2 = _getEnv(true);\n env2[prop] = value;\n return true;\n },\n deleteProperty(_, prop) {\n if (!prop) {\n return false;\n }\n const env2 = _getEnv(true);\n delete env2[prop];\n return true;\n },\n ownKeys() {\n const env2 = _getEnv(true);\n return Object.keys(env2);\n }\n});\nfunction toBoolean(val) {\n return val ? val !== \"false\" : false;\n}\nconst nodeENV = typeof process !== \"undefined\" && process.env && process.env.NODE_ENV || \"\";\nconst isProduction = nodeENV === \"production\";\nconst isDevelopment = nodeENV === \"dev\" || nodeENV === \"development\";\nconst isTest = () => nodeENV === \"test\" || toBoolean(env.TEST);\nfunction getEnvVar(key, fallback) {\n if (typeof process !== \"undefined\" && process.env) {\n return process.env[key] ?? fallback;\n }\n if (typeof Deno !== \"undefined\") {\n return Deno.env.get(key) ?? fallback;\n }\n if (typeof Bun !== \"undefined\") {\n return Bun.env[key] ?? fallback;\n }\n return fallback;\n}\nfunction getBooleanEnvVar(key, fallback = true) {\n const value = getEnvVar(key);\n if (!value) return fallback;\n return value !== \"0\" && value.toLowerCase() !== \"false\" && value !== \"\";\n}\nconst ENV = {\n get BETTER_AUTH_TELEMETRY_ENDPOINT() {\n return getEnvVar(\n \"BETTER_AUTH_TELEMETRY_ENDPOINT\",\n \"https://telemetry.better-auth.com/v1/track\"\n );\n }\n};\n\nexport { ENV as E, isProduction as a, isDevelopment as b, getBooleanEnvVar as c, env as e, getEnvVar as g, isTest as i };\n"],"names":[],"mappings":"AAAA,MAAM,WAA2B,uBAAO,OAAO,IAAI;AACnD,MAAM,UAAU,CAAC,YAAY,WAAW,SAAS;AACjD,WAAW,MAAM,IAAI,SAAA;AACrB,WAAW,YAAY,UAAU,WAAW;AAC5C,MAAM,MAAM,IAAI,MAAM,UAAU;AAAA,EAC9B,IAAI,GAAG,MAAM;AACX,UAAM,OAAO,QAAA;AACb,WAAO,KAAK,IAAI,KAAK,SAAS,IAAI;AAAA,EACpC;AAAA,EACA,IAAI,GAAG,MAAM;AACX,UAAM,OAAO,QAAA;AACb,WAAO,QAAQ,QAAQ,QAAQ;AAAA,EACjC;AAAA,EACA,IAAI,GAAG,MAAM,OAAO;AAClB,UAAM,OAAO,QAAQ,IAAI;AACzB,SAAK,IAAI,IAAI;AACb,WAAO;AAAA,EACT;AAAA,EACA,eAAe,GAAG,MAAM;AACtB,QAAI,CAAC,MAAM;AACT,aAAO;AAAA,IACT;AACA,UAAM,OAAO,QAAQ,IAAI;AACzB,WAAO,KAAK,IAAI;AAChB,WAAO;AAAA,EACT;AAAA,EACA,UAAU;AACR,UAAM,OAAO,QAAQ,IAAI;AACzB,WAAO,OAAO,KAAK,IAAI;AAAA,EACzB;AACF,CAAC;","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"better-auth.CMQ3rA-I-C2nBKRMa.cjs","sources":["../../../../node_modules/.pnpm/better-auth@1.3.
|
|
1
|
+
{"version":3,"file":"better-auth.CMQ3rA-I-C2nBKRMa.cjs","sources":["../../../../node_modules/.pnpm/better-auth@1.3.8_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/better-auth/dist/shared/better-auth.CMQ3rA-I.mjs"],"sourcesContent":["const _envShim = /* @__PURE__ */ Object.create(null);\nconst _getEnv = (useShim) => globalThis.process?.env || //@ts-expect-error\nglobalThis.Deno?.env.toObject() || //@ts-expect-error\nglobalThis.__env__ || (useShim ? _envShim : globalThis);\nconst env = new Proxy(_envShim, {\n get(_, prop) {\n const env2 = _getEnv();\n return env2[prop] ?? _envShim[prop];\n },\n has(_, prop) {\n const env2 = _getEnv();\n return prop in env2 || prop in _envShim;\n },\n set(_, prop, value) {\n const env2 = _getEnv(true);\n env2[prop] = value;\n return true;\n },\n deleteProperty(_, prop) {\n if (!prop) {\n return false;\n }\n const env2 = _getEnv(true);\n delete env2[prop];\n return true;\n },\n ownKeys() {\n const env2 = _getEnv(true);\n return Object.keys(env2);\n }\n});\nfunction toBoolean(val) {\n return val ? val !== \"false\" : false;\n}\nconst nodeENV = typeof process !== \"undefined\" && process.env && process.env.NODE_ENV || \"\";\nconst isProduction = nodeENV === \"production\";\nconst isDevelopment = nodeENV === \"dev\" || nodeENV === \"development\";\nconst isTest = () => nodeENV === \"test\" || toBoolean(env.TEST);\nfunction getEnvVar(key, fallback) {\n if (typeof process !== \"undefined\" && process.env) {\n return process.env[key] ?? fallback;\n }\n if (typeof Deno !== \"undefined\") {\n return Deno.env.get(key) ?? fallback;\n }\n if (typeof Bun !== \"undefined\") {\n return Bun.env[key] ?? fallback;\n }\n return fallback;\n}\nfunction getBooleanEnvVar(key, fallback = true) {\n const value = getEnvVar(key);\n if (!value) return fallback;\n return value !== \"0\" && value.toLowerCase() !== \"false\" && value !== \"\";\n}\nconst ENV = {\n get BETTER_AUTH_TELEMETRY_ENDPOINT() {\n return getEnvVar(\n \"BETTER_AUTH_TELEMETRY_ENDPOINT\",\n \"https://telemetry.better-auth.com/v1/track\"\n );\n }\n};\n\nexport { ENV as E, isProduction as a, isDevelopment as b, getBooleanEnvVar as c, env as e, getEnvVar as g, isTest as i };\n"],"names":[],"mappings":";AAAA,MAAM,WAA2B,uBAAO,OAAO,IAAI;AACnD,MAAM,UAAU,CAAC,YAAY,WAAW,SAAS;AACjD,WAAW,MAAM,IAAI,SAAA;AACrB,WAAW,YAAY,UAAU,WAAW;AAC5C,MAAM,MAAM,IAAI,MAAM,UAAU;AAAA,EAC9B,IAAI,GAAG,MAAM;AACX,UAAM,OAAO,QAAA;AACb,WAAO,KAAK,IAAI,KAAK,SAAS,IAAI;AAAA,EACpC;AAAA,EACA,IAAI,GAAG,MAAM;AACX,UAAM,OAAO,QAAA;AACb,WAAO,QAAQ,QAAQ,QAAQ;AAAA,EACjC;AAAA,EACA,IAAI,GAAG,MAAM,OAAO;AAClB,UAAM,OAAO,QAAQ,IAAI;AACzB,SAAK,IAAI,IAAI;AACb,WAAO;AAAA,EACT;AAAA,EACA,eAAe,GAAG,MAAM;AACtB,QAAI,CAAC,MAAM;AACT,aAAO;AAAA,IACT;AACA,UAAM,OAAO,QAAQ,IAAI;AACzB,WAAO,KAAK,IAAI;AAChB,WAAO;AAAA,EACT;AAAA,EACA,UAAU;AACR,UAAM,OAAO,QAAQ,IAAI;AACzB,WAAO,OAAO,KAAK,IAAI;AAAA,EACzB;AACF,CAAC;;","x_google_ignoreList":[0]}
|
|
@@ -3,6 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const intlayer = require("intlayer");
|
|
4
4
|
const breadCrumbContent = {
|
|
5
5
|
key: "breadcrumb",
|
|
6
|
+
autoFill: "./{{key}}.content.json",
|
|
6
7
|
content: {
|
|
7
8
|
linkLabel: intlayer.t({
|
|
8
9
|
en: "Go to",
|
|
@@ -17,7 +18,8 @@ const breadCrumbContent = {
|
|
|
17
18
|
pt: "Ir para",
|
|
18
19
|
hi: "कर जाएं",
|
|
19
20
|
ar: "اذهب إلى",
|
|
20
|
-
ru: "Перейти на"
|
|
21
|
+
ru: "Перейти на",
|
|
22
|
+
tr: "Git"
|
|
21
23
|
})
|
|
22
24
|
}
|
|
23
25
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.content.cjs","sources":["../../../src/components/Breadcrumb/breadcrumb.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nexport const breadCrumbContent = {\n key: 'breadcrumb',\n content: {\n linkLabel: t({\n en: 'Go to',\n fr: 'Aller à',\n es: 'Ir a',\n 'en-GB': 'Go to',\n de: 'Gehe zu',\n ja: 'に移動',\n ko: '로 이동',\n zh: '转到',\n it: 'Vai a',\n pt: 'Ir para',\n hi: 'कर जाएं',\n ar: 'اذهب إلى',\n ru: 'Перейти на',\n }),\n },\n} satisfies Dictionary;\n\nexport default breadCrumbContent;\n"],"names":["t"],"mappings":";;;AAEO,MAAM,oBAAoB;AAAA,EAC/B,KAAK;AAAA,EACL,SAAS;AAAA,IACP,WAAWA,SAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,EAAA;AAEL;;;"}
|
|
1
|
+
{"version":3,"file":"breadcrumb.content.cjs","sources":["../../../src/components/Breadcrumb/breadcrumb.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nexport const breadCrumbContent = {\n key: 'breadcrumb',\n autoFill: './{{key}}.content.json',\n content: {\n linkLabel: t({\n en: 'Go to',\n fr: 'Aller à',\n es: 'Ir a',\n 'en-GB': 'Go to',\n de: 'Gehe zu',\n ja: 'に移動',\n ko: '로 이동',\n zh: '转到',\n it: 'Vai a',\n pt: 'Ir para',\n hi: 'कर जाएं',\n ar: 'اذهب إلى',\n ru: 'Перейти на',\n tr: 'Git',\n }),\n },\n} satisfies Dictionary;\n\nexport default breadCrumbContent;\n"],"names":["t"],"mappings":";;;AAEO,MAAM,oBAAoB;AAAA,EAC/B,KAAK;AAAA,EACL,UAAU;AAAA,EACV,SAAS;AAAA,IACP,WAAWA,SAAAA,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,EAAA;AAEL;;;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const breadCrumbContent: {
|
|
2
2
|
key: string;
|
|
3
|
+
autoFill: string;
|
|
3
4
|
content: {
|
|
4
5
|
linkLabel: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
5
6
|
en: string;
|
|
@@ -15,6 +16,7 @@ export declare const breadCrumbContent: {
|
|
|
15
16
|
hi: string;
|
|
16
17
|
ar: string;
|
|
17
18
|
ru: string;
|
|
19
|
+
tr: string;
|
|
18
20
|
}, {
|
|
19
21
|
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
20
22
|
} & {
|
|
@@ -32,6 +34,7 @@ export declare const breadCrumbContent: {
|
|
|
32
34
|
hi: string;
|
|
33
35
|
ar: string;
|
|
34
36
|
ru: string;
|
|
37
|
+
tr: string;
|
|
35
38
|
};
|
|
36
39
|
}>;
|
|
37
40
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.content.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumb/breadcrumb.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"breadcrumb.content.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumb/breadcrumb.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBR,CAAC;AAEvB,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t } from "intlayer";
|
|
2
2
|
const breadCrumbContent = {
|
|
3
3
|
key: "breadcrumb",
|
|
4
|
+
autoFill: "./{{key}}.content.json",
|
|
4
5
|
content: {
|
|
5
6
|
linkLabel: t({
|
|
6
7
|
en: "Go to",
|
|
@@ -15,7 +16,8 @@ const breadCrumbContent = {
|
|
|
15
16
|
pt: "Ir para",
|
|
16
17
|
hi: "कर जाएं",
|
|
17
18
|
ar: "اذهب إلى",
|
|
18
|
-
ru: "Перейти на"
|
|
19
|
+
ru: "Перейти на",
|
|
20
|
+
tr: "Git"
|
|
19
21
|
})
|
|
20
22
|
}
|
|
21
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.content.mjs","sources":["../../../src/components/Breadcrumb/breadcrumb.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nexport const breadCrumbContent = {\n key: 'breadcrumb',\n content: {\n linkLabel: t({\n en: 'Go to',\n fr: 'Aller à',\n es: 'Ir a',\n 'en-GB': 'Go to',\n de: 'Gehe zu',\n ja: 'に移動',\n ko: '로 이동',\n zh: '转到',\n it: 'Vai a',\n pt: 'Ir para',\n hi: 'कर जाएं',\n ar: 'اذهب إلى',\n ru: 'Перейти на',\n }),\n },\n} satisfies Dictionary;\n\nexport default breadCrumbContent;\n"],"names":[],"mappings":";AAEO,MAAM,oBAAoB;AAAA,EAC/B,KAAK;AAAA,EACL,SAAS;AAAA,IACP,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,EAAA;AAEL;"}
|
|
1
|
+
{"version":3,"file":"breadcrumb.content.mjs","sources":["../../../src/components/Breadcrumb/breadcrumb.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nexport const breadCrumbContent = {\n key: 'breadcrumb',\n autoFill: './{{key}}.content.json',\n content: {\n linkLabel: t({\n en: 'Go to',\n fr: 'Aller à',\n es: 'Ir a',\n 'en-GB': 'Go to',\n de: 'Gehe zu',\n ja: 'に移動',\n ko: '로 이동',\n zh: '转到',\n it: 'Vai a',\n pt: 'Ir para',\n hi: 'कर जाएं',\n ar: 'اذهب إلى',\n ru: 'Перейти на',\n tr: 'Git',\n }),\n },\n} satisfies Dictionary;\n\nexport default breadCrumbContent;\n"],"names":[],"mappings":";AAEO,MAAM,oBAAoB;AAAA,EAC/B,KAAK;AAAA,EACL,UAAU;AAAA,EACV,SAAS;AAAA,IACP,WAAW,EAAE;AAAA,MACX,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,EAAA;AAEL;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/Breadcrumb/index.tsx"],"sourcesContent":["'use client';\n\nimport type { Locales } from '@intlayer/config/client';\nimport { ChevronRightIcon } from 'lucide-react';\nimport { Fragment, type FC, type HTMLAttributes } from 'react';\nimport { useIntlayer } from 'react-intlayer';\nimport { cn } from '../../utils/cn';\nimport { Button, ButtonVariant, type ButtonProps } from '../Button';\nimport { Link, LinkColor, type LinkProps } from '../Link';\n\ntype LinkLinkProps = {\n
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/Breadcrumb/index.tsx"],"sourcesContent":["'use client';\n\nimport type { Locales } from '@intlayer/config/client';\nimport { ChevronRightIcon } from 'lucide-react';\nimport { Fragment, type FC, type HTMLAttributes } from 'react';\nimport { useIntlayer } from 'react-intlayer';\nimport { cn } from '../../utils/cn';\nimport { Button, ButtonVariant, type ButtonProps } from '../Button';\nimport { Link, LinkColor, type LinkProps } from '../Link';\n\ntype LinkLinkProps = {\n position: number;\n locale?: Locales;\n} & Omit<LinkProps, 'label'>;\n\nconst LinkLink: FC<LinkLinkProps> = ({\n href,\n lang,\n children,\n onClick,\n color,\n position,\n locale,\n ...props\n}) => {\n const { linkLabel } = useIntlayer('breadcrumb');\n\n return (\n <>\n <Link\n href={href}\n locale={locale}\n color={color}\n onClick={onClick}\n itemProp=\"item\"\n isExternalLink={false}\n itemScope\n itemType=\"https://schema.org/WebPage\"\n {...props}\n label={`${linkLabel} ${children}`}\n itemID={href}\n >\n <span itemProp=\"name\">{children}</span>\n </Link>\n <meta itemProp=\"position\" content={position.toString()} />\n </>\n );\n};\n\ntype ButtonButtonProps = {\n children: string;\n position: number;\n} & Omit<ButtonProps, 'children' | 'label'>;\n\nconst ButtonLink: FC<ButtonButtonProps> = ({\n children: text,\n onClick,\n color,\n position,\n ...props\n}) => {\n const { linkLabel } = useIntlayer('breadcrumb');\n\n return (\n <>\n <Button\n onClick={onClick}\n variant={ButtonVariant.LINK}\n label={`${linkLabel} ${text}`}\n color={color}\n itemProp=\"item\"\n {...props}\n >\n <span itemProp=\"name\">{text}</span>\n </Button>\n <meta itemProp=\"position\" content={position.toString()} />\n </>\n );\n};\n\ntype SpanProps = {\n children: string;\n position: number;\n} & HTMLAttributes<HTMLSpanElement>;\n\nconst Span: FC<SpanProps> = ({ children, position, ...props }) => (\n <span itemProp=\"item\">\n <span itemProp=\"name\" {...props}>\n {children}\n </span>\n <meta itemProp=\"position\" content={position.toString()} />\n </span>\n);\n\ntype DetailedBreadcrumbLink = {\n href?: string;\n text: string;\n onClick?: () => void;\n};\nexport type BreadcrumbLink = string | DetailedBreadcrumbLink;\n\nexport type BreadcrumbProps = {\n links: BreadcrumbLink[];\n color?: `${LinkColor}` | LinkColor;\n locale?: Locales;\n elementType?: 'page' | 'location';\n} & HTMLAttributes<HTMLOListElement>;\n\nexport const Breadcrumb: FC<BreadcrumbProps> = ({\n links,\n className,\n color = LinkColor.TEXT,\n locale,\n elementType = 'page',\n ...props\n}) => (\n <nav aria-label=\"breadcrumb\">\n <ol\n className={cn(\n 'flex flex-row flex-wrap items-center gap-2 text-sm',\n className\n )}\n itemScope\n itemType=\"http://schema.org/BreadcrumbList\"\n {...props}\n >\n {links.map((link, index) => {\n const isLastLink = index === links.length - 1;\n const isLink =\n typeof link === 'object' && typeof link.href === 'string';\n const isButton =\n typeof link === 'object' && typeof link.onClick === 'function';\n const isActive = index === links.length - 1;\n const ariaCurrent = isActive ? elementType : undefined;\n\n const text = (link as DetailedBreadcrumbLink).text ?? link;\n\n let section = (\n <Span key={text} position={index + 1} aria-current={ariaCurrent}>\n {text}\n </Span>\n );\n\n if (isLink) {\n section = (\n <LinkLink\n key={text}\n href={link.href!}\n color={color}\n position={index + 1}\n locale={locale}\n aria-current={ariaCurrent}\n >\n {text}\n </LinkLink>\n );\n } else if (isButton) {\n section = (\n <ButtonLink\n key={text}\n onClick={link.onClick!}\n color={color}\n position={index + 1}\n aria-current={ariaCurrent}\n >\n {text}\n </ButtonLink>\n );\n }\n\n const listElement = (\n <li\n itemProp=\"itemListElement\"\n itemScope\n itemType=\"https://schema.org/ListItem\"\n key={text}\n >\n {section}\n </li>\n );\n\n if (isLastLink) {\n return listElement;\n }\n\n return (\n <Fragment key={text}>\n {listElement}\n <ChevronRightIcon size={10} />\n </Fragment>\n );\n })}\n </ol>\n </nav>\n);\n"],"names":["useIntlayer","jsxs","Fragment","jsx","Link","Button","ButtonVariant","LinkColor","cn","ChevronRightIcon"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumb/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAY,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAI/D,OAAO,EAAQ,SAAS,EAAkB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumb/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAY,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAI/D,OAAO,EAAQ,SAAS,EAAkB,MAAM,SAAS,CAAC;AAsF1D,KAAK,sBAAsB,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,sBAAsB,CAAC;AAE7D,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,GAAG,SAAS,EAAE,GAAG,SAAS,CAAC;IACnC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;CACnC,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAErC,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAsF1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../src/components/Breadcrumb/index.tsx"],"sourcesContent":["'use client';\n\nimport type { Locales } from '@intlayer/config/client';\nimport { ChevronRightIcon } from 'lucide-react';\nimport { Fragment, type FC, type HTMLAttributes } from 'react';\nimport { useIntlayer } from 'react-intlayer';\nimport { cn } from '../../utils/cn';\nimport { Button, ButtonVariant, type ButtonProps } from '../Button';\nimport { Link, LinkColor, type LinkProps } from '../Link';\n\ntype LinkLinkProps = {\n
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../src/components/Breadcrumb/index.tsx"],"sourcesContent":["'use client';\n\nimport type { Locales } from '@intlayer/config/client';\nimport { ChevronRightIcon } from 'lucide-react';\nimport { Fragment, type FC, type HTMLAttributes } from 'react';\nimport { useIntlayer } from 'react-intlayer';\nimport { cn } from '../../utils/cn';\nimport { Button, ButtonVariant, type ButtonProps } from '../Button';\nimport { Link, LinkColor, type LinkProps } from '../Link';\n\ntype LinkLinkProps = {\n position: number;\n locale?: Locales;\n} & Omit<LinkProps, 'label'>;\n\nconst LinkLink: FC<LinkLinkProps> = ({\n href,\n lang,\n children,\n onClick,\n color,\n position,\n locale,\n ...props\n}) => {\n const { linkLabel } = useIntlayer('breadcrumb');\n\n return (\n <>\n <Link\n href={href}\n locale={locale}\n color={color}\n onClick={onClick}\n itemProp=\"item\"\n isExternalLink={false}\n itemScope\n itemType=\"https://schema.org/WebPage\"\n {...props}\n label={`${linkLabel} ${children}`}\n itemID={href}\n >\n <span itemProp=\"name\">{children}</span>\n </Link>\n <meta itemProp=\"position\" content={position.toString()} />\n </>\n );\n};\n\ntype ButtonButtonProps = {\n children: string;\n position: number;\n} & Omit<ButtonProps, 'children' | 'label'>;\n\nconst ButtonLink: FC<ButtonButtonProps> = ({\n children: text,\n onClick,\n color,\n position,\n ...props\n}) => {\n const { linkLabel } = useIntlayer('breadcrumb');\n\n return (\n <>\n <Button\n onClick={onClick}\n variant={ButtonVariant.LINK}\n label={`${linkLabel} ${text}`}\n color={color}\n itemProp=\"item\"\n {...props}\n >\n <span itemProp=\"name\">{text}</span>\n </Button>\n <meta itemProp=\"position\" content={position.toString()} />\n </>\n );\n};\n\ntype SpanProps = {\n children: string;\n position: number;\n} & HTMLAttributes<HTMLSpanElement>;\n\nconst Span: FC<SpanProps> = ({ children, position, ...props }) => (\n <span itemProp=\"item\">\n <span itemProp=\"name\" {...props}>\n {children}\n </span>\n <meta itemProp=\"position\" content={position.toString()} />\n </span>\n);\n\ntype DetailedBreadcrumbLink = {\n href?: string;\n text: string;\n onClick?: () => void;\n};\nexport type BreadcrumbLink = string | DetailedBreadcrumbLink;\n\nexport type BreadcrumbProps = {\n links: BreadcrumbLink[];\n color?: `${LinkColor}` | LinkColor;\n locale?: Locales;\n elementType?: 'page' | 'location';\n} & HTMLAttributes<HTMLOListElement>;\n\nexport const Breadcrumb: FC<BreadcrumbProps> = ({\n links,\n className,\n color = LinkColor.TEXT,\n locale,\n elementType = 'page',\n ...props\n}) => (\n <nav aria-label=\"breadcrumb\">\n <ol\n className={cn(\n 'flex flex-row flex-wrap items-center gap-2 text-sm',\n className\n )}\n itemScope\n itemType=\"http://schema.org/BreadcrumbList\"\n {...props}\n >\n {links.map((link, index) => {\n const isLastLink = index === links.length - 1;\n const isLink =\n typeof link === 'object' && typeof link.href === 'string';\n const isButton =\n typeof link === 'object' && typeof link.onClick === 'function';\n const isActive = index === links.length - 1;\n const ariaCurrent = isActive ? elementType : undefined;\n\n const text = (link as DetailedBreadcrumbLink).text ?? link;\n\n let section = (\n <Span key={text} position={index + 1} aria-current={ariaCurrent}>\n {text}\n </Span>\n );\n\n if (isLink) {\n section = (\n <LinkLink\n key={text}\n href={link.href!}\n color={color}\n position={index + 1}\n locale={locale}\n aria-current={ariaCurrent}\n >\n {text}\n </LinkLink>\n );\n } else if (isButton) {\n section = (\n <ButtonLink\n key={text}\n onClick={link.onClick!}\n color={color}\n position={index + 1}\n aria-current={ariaCurrent}\n >\n {text}\n </ButtonLink>\n );\n }\n\n const listElement = (\n <li\n itemProp=\"itemListElement\"\n itemScope\n itemType=\"https://schema.org/ListItem\"\n key={text}\n >\n {section}\n </li>\n );\n\n if (isLastLink) {\n return listElement;\n }\n\n return (\n <Fragment key={text}>\n {listElement}\n <ChevronRightIcon size={10} />\n </Fragment>\n );\n })}\n </ol>\n </nav>\n);\n"],"names":["Fragment"],"mappings":"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"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const intlayer = require("intlayer");
|
|
4
4
|
const copyContentContent = {
|
|
5
5
|
key: "copy-button",
|
|
6
|
+
autoFill: "./{{key}}.content.json",
|
|
6
7
|
content: {
|
|
7
8
|
label: intlayer.t({
|
|
8
9
|
en: "Copy content",
|
|
@@ -17,7 +18,8 @@ const copyContentContent = {
|
|
|
17
18
|
pt: "Copiar conteúdo",
|
|
18
19
|
hi: "सामग्री कॉपी करें",
|
|
19
20
|
ar: "نسخ المحتوى",
|
|
20
|
-
ru: "Копировать содержимое"
|
|
21
|
+
ru: "Копировать содержимое",
|
|
22
|
+
tr: "İçeriği kopyala"
|
|
21
23
|
})
|
|
22
24
|
}
|
|
23
25
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyButton.content.cjs","sources":["../../../src/components/CopyButton/CopyButton.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nexport const copyContentContent = {\n key: 'copy-button',\n content: {\n label: t({\n en: 'Copy content',\n fr: 'Copier le contenu',\n es: 'Copiar contenido',\n 'en-GB': 'Copy content',\n de: 'Inhalt kopieren',\n ja: 'コンテンツをコピー',\n ko: '콘텐츠 복사',\n zh: '复制内容',\n it: 'Copia contenuto',\n pt: 'Copiar conteúdo',\n hi: 'सामग्री कॉपी करें',\n ar: 'نسخ المحتوى',\n ru: 'Копировать содержимое',\n }),\n },\n} satisfies Dictionary;\n\nexport default copyContentContent;\n"],"names":["t"],"mappings":";;;AAEO,MAAM,qBAAqB;AAAA,EAChC,KAAK;AAAA,EACL,SAAS;AAAA,IACP,OAAOA,SAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,EAAA;AAEL;;;"}
|
|
1
|
+
{"version":3,"file":"CopyButton.content.cjs","sources":["../../../src/components/CopyButton/CopyButton.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nexport const copyContentContent = {\n key: 'copy-button',\n autoFill: './{{key}}.content.json',\n content: {\n label: t({\n en: 'Copy content',\n fr: 'Copier le contenu',\n es: 'Copiar contenido',\n 'en-GB': 'Copy content',\n de: 'Inhalt kopieren',\n ja: 'コンテンツをコピー',\n ko: '콘텐츠 복사',\n zh: '复制内容',\n it: 'Copia contenuto',\n pt: 'Copiar conteúdo',\n hi: 'सामग्री कॉपी करें',\n ar: 'نسخ المحتوى',\n ru: 'Копировать содержимое',\n tr: 'İçeriği kopyala',\n }),\n },\n} satisfies Dictionary;\n\nexport default copyContentContent;\n"],"names":["t"],"mappings":";;;AAEO,MAAM,qBAAqB;AAAA,EAChC,KAAK;AAAA,EACL,UAAU;AAAA,EACV,SAAS;AAAA,IACP,OAAOA,SAAAA,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,EAAA;AAEL;;;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const copyContentContent: {
|
|
2
2
|
key: string;
|
|
3
|
+
autoFill: string;
|
|
3
4
|
content: {
|
|
4
5
|
label: import('@intlayer/core').TypedNodeModel<import("@intlayer/core").NodeType.Translation, {
|
|
5
6
|
en: string;
|
|
@@ -15,6 +16,7 @@ export declare const copyContentContent: {
|
|
|
15
16
|
hi: string;
|
|
16
17
|
ar: string;
|
|
17
18
|
ru: string;
|
|
19
|
+
tr: string;
|
|
18
20
|
}, {
|
|
19
21
|
nodeType: import("@intlayer/core").NodeType.Translation | "translation";
|
|
20
22
|
} & {
|
|
@@ -32,6 +34,7 @@ export declare const copyContentContent: {
|
|
|
32
34
|
hi: string;
|
|
33
35
|
ar: string;
|
|
34
36
|
ru: string;
|
|
37
|
+
tr: string;
|
|
35
38
|
};
|
|
36
39
|
}>;
|
|
37
40
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyButton.content.d.ts","sourceRoot":"","sources":["../../../src/components/CopyButton/CopyButton.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"CopyButton.content.d.ts","sourceRoot":"","sources":["../../../src/components/CopyButton/CopyButton.content.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBT,CAAC;AAEvB,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t } from "intlayer";
|
|
2
2
|
const copyContentContent = {
|
|
3
3
|
key: "copy-button",
|
|
4
|
+
autoFill: "./{{key}}.content.json",
|
|
4
5
|
content: {
|
|
5
6
|
label: t({
|
|
6
7
|
en: "Copy content",
|
|
@@ -15,7 +16,8 @@ const copyContentContent = {
|
|
|
15
16
|
pt: "Copiar conteúdo",
|
|
16
17
|
hi: "सामग्री कॉपी करें",
|
|
17
18
|
ar: "نسخ المحتوى",
|
|
18
|
-
ru: "Копировать содержимое"
|
|
19
|
+
ru: "Копировать содержимое",
|
|
20
|
+
tr: "İçeriği kopyala"
|
|
19
21
|
})
|
|
20
22
|
}
|
|
21
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyButton.content.mjs","sources":["../../../src/components/CopyButton/CopyButton.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nexport const copyContentContent = {\n key: 'copy-button',\n content: {\n label: t({\n en: 'Copy content',\n fr: 'Copier le contenu',\n es: 'Copiar contenido',\n 'en-GB': 'Copy content',\n de: 'Inhalt kopieren',\n ja: 'コンテンツをコピー',\n ko: '콘텐츠 복사',\n zh: '复制内容',\n it: 'Copia contenuto',\n pt: 'Copiar conteúdo',\n hi: 'सामग्री कॉपी करें',\n ar: 'نسخ المحتوى',\n ru: 'Копировать содержимое',\n }),\n },\n} satisfies Dictionary;\n\nexport default copyContentContent;\n"],"names":[],"mappings":";AAEO,MAAM,qBAAqB;AAAA,EAChC,KAAK;AAAA,EACL,SAAS;AAAA,IACP,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,EAAA;AAEL;"}
|
|
1
|
+
{"version":3,"file":"CopyButton.content.mjs","sources":["../../../src/components/CopyButton/CopyButton.content.ts"],"sourcesContent":["import { t, type Dictionary } from 'intlayer';\n\nexport const copyContentContent = {\n key: 'copy-button',\n autoFill: './{{key}}.content.json',\n content: {\n label: t({\n en: 'Copy content',\n fr: 'Copier le contenu',\n es: 'Copiar contenido',\n 'en-GB': 'Copy content',\n de: 'Inhalt kopieren',\n ja: 'コンテンツをコピー',\n ko: '콘텐츠 복사',\n zh: '复制内容',\n it: 'Copia contenuto',\n pt: 'Copiar conteúdo',\n hi: 'सामग्री कॉपी करें',\n ar: 'نسخ المحتوى',\n ru: 'Копировать содержимое',\n tr: 'İçeriği kopyala',\n }),\n },\n} satisfies Dictionary;\n\nexport default copyContentContent;\n"],"names":[],"mappings":";AAEO,MAAM,qBAAqB;AAAA,EAChC,KAAK;AAAA,EACL,UAAU;AAAA,EACV,SAAS;AAAA,IACP,OAAO,EAAE;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA,CACL;AAAA,EAAA;AAEL;"}
|
|
@@ -23,13 +23,17 @@ const DictionaryEditor = ({
|
|
|
23
23
|
keyPath: [],
|
|
24
24
|
dictionary,
|
|
25
25
|
key: JSON.stringify(
|
|
26
|
-
(editedContent?.[dictionary.
|
|
26
|
+
(editedContent?.[dictionary.localId] ?? dictionary).content
|
|
27
27
|
),
|
|
28
|
-
editedContent: editedContent?.[dictionary.
|
|
28
|
+
editedContent: editedContent?.[dictionary.localId]?.content,
|
|
29
29
|
focusedKeyPath,
|
|
30
30
|
section: dictionary.content,
|
|
31
31
|
onContentChange: (content) => {
|
|
32
|
-
addEditedContent(
|
|
32
|
+
addEditedContent(
|
|
33
|
+
dictionary.localId,
|
|
34
|
+
content.newValue,
|
|
35
|
+
content.keyPath
|
|
36
|
+
);
|
|
33
37
|
},
|
|
34
38
|
onFocusKeyPath: setFocusedContentKeyPath
|
|
35
39
|
}
|