@mapomodule/uikit 1.0.0 → 2.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +199 -0
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +1 -0
- package/dist/module.d.mts +60 -0
- package/dist/module.d.ts +55 -0
- package/dist/module.d.ts.map +1 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +179 -0
- package/dist/runtime/adapters/defaultMediaAdapter.d.ts +14 -0
- package/dist/runtime/adapters/defaultMediaAdapter.d.ts.map +1 -0
- package/dist/runtime/adapters/defaultMediaAdapter.js +30 -0
- package/dist/runtime/assets/main.css +1 -0
- package/dist/runtime/components/MapoConfirmDialog.vue +35 -0
- package/dist/runtime/components/MapoConfirmDialog.vue.d.ts +4 -0
- package/dist/runtime/components/MapoConfirmDialog.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoDetail.vue +606 -0
- package/dist/runtime/components/MapoDetail.vue.d.ts +401 -0
- package/dist/runtime/components/MapoDetail.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoDetailLangSwitch.vue +126 -0
- package/dist/runtime/components/MapoDetailLangSwitch.vue.d.ts +23 -0
- package/dist/runtime/components/MapoDetailLangSwitch.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoDropArea.vue +99 -0
- package/dist/runtime/components/MapoDropArea.vue.d.ts +33 -0
- package/dist/runtime/components/MapoDropArea.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoLangSwitcher.vue +39 -0
- package/dist/runtime/components/MapoLangSwitcher.vue.d.ts +18 -0
- package/dist/runtime/components/MapoLangSwitcher.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoList.vue +191 -0
- package/dist/runtime/components/MapoList.vue.d.ts +111 -0
- package/dist/runtime/components/MapoList.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoListActions.vue +119 -0
- package/dist/runtime/components/MapoListActions.vue.d.ts +33 -0
- package/dist/runtime/components/MapoListActions.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoListFilters.vue +246 -0
- package/dist/runtime/components/MapoListFilters.vue.d.ts +38 -0
- package/dist/runtime/components/MapoListFilters.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoListHead.vue +9 -0
- package/dist/runtime/components/MapoListHead.vue.d.ts +14 -0
- package/dist/runtime/components/MapoListHead.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoListQuickEdit.vue +123 -0
- package/dist/runtime/components/MapoListQuickEdit.vue.d.ts +47 -0
- package/dist/runtime/components/MapoListQuickEdit.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoListTable.vue +665 -0
- package/dist/runtime/components/MapoListTable.vue.d.ts +105 -0
- package/dist/runtime/components/MapoListTable.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoListTabs.vue +38 -0
- package/dist/runtime/components/MapoListTabs.vue.d.ts +26 -0
- package/dist/runtime/components/MapoListTabs.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoLogin.vue +196 -0
- package/dist/runtime/components/MapoLogin.vue.d.ts +22 -0
- package/dist/runtime/components/MapoLogin.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoLogoutButton.vue +27 -0
- package/dist/runtime/components/MapoLogoutButton.vue.d.ts +29 -0
- package/dist/runtime/components/MapoLogoutButton.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoMediaBreadcrumbs.vue +47 -0
- package/dist/runtime/components/MapoMediaBreadcrumbs.vue.d.ts +4 -0
- package/dist/runtime/components/MapoMediaBreadcrumbs.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoMediaEditor.vue +320 -0
- package/dist/runtime/components/MapoMediaEditor.vue.d.ts +8 -0
- package/dist/runtime/components/MapoMediaEditor.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoMediaFileChanger.vue +112 -0
- package/dist/runtime/components/MapoMediaFileChanger.vue.d.ts +15 -0
- package/dist/runtime/components/MapoMediaFileChanger.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoMediaFolders.vue +220 -0
- package/dist/runtime/components/MapoMediaFolders.vue.d.ts +4 -0
- package/dist/runtime/components/MapoMediaFolders.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoMediaGallery.vue +219 -0
- package/dist/runtime/components/MapoMediaGallery.vue.d.ts +4 -0
- package/dist/runtime/components/MapoMediaGallery.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoMediaManager.vue +140 -0
- package/dist/runtime/components/MapoMediaManager.vue.d.ts +35 -0
- package/dist/runtime/components/MapoMediaManager.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoMediaManagerDialog.vue +116 -0
- package/dist/runtime/components/MapoMediaManagerDialog.vue.d.ts +41 -0
- package/dist/runtime/components/MapoMediaManagerDialog.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoMediaPreview.vue +92 -0
- package/dist/runtime/components/MapoMediaPreview.vue.d.ts +19 -0
- package/dist/runtime/components/MapoMediaPreview.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoMediaUploader.vue +290 -0
- package/dist/runtime/components/MapoMediaUploader.vue.d.ts +8 -0
- package/dist/runtime/components/MapoMediaUploader.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoMenuManager.vue +273 -0
- package/dist/runtime/components/MapoMenuManager.vue.d.ts +92 -0
- package/dist/runtime/components/MapoMenuManager.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoMenuNodeEditor.vue +201 -0
- package/dist/runtime/components/MapoMenuNodeEditor.vue.d.ts +61 -0
- package/dist/runtime/components/MapoMenuNodeEditor.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoMenuTreeview.vue +181 -0
- package/dist/runtime/components/MapoMenuTreeview.vue.d.ts +57 -0
- package/dist/runtime/components/MapoMenuTreeview.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoMenuTreeviewNode.vue +175 -0
- package/dist/runtime/components/MapoMenuTreeviewNode.vue.d.ts +27 -0
- package/dist/runtime/components/MapoMenuTreeviewNode.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoRootComponents.vue +9 -0
- package/dist/runtime/components/MapoRootComponents.vue.d.ts +4 -0
- package/dist/runtime/components/MapoRootComponents.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoSidebar.vue +89 -0
- package/dist/runtime/components/MapoSidebar.vue.d.ts +22 -0
- package/dist/runtime/components/MapoSidebar.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoSidebarList.vue +27 -0
- package/dist/runtime/components/MapoSidebarList.vue.d.ts +8 -0
- package/dist/runtime/components/MapoSidebarList.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoSidebarListItem.vue +74 -0
- package/dist/runtime/components/MapoSidebarListItem.vue.d.ts +9 -0
- package/dist/runtime/components/MapoSidebarListItem.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoSidebarProfile.vue +55 -0
- package/dist/runtime/components/MapoSidebarProfile.vue.d.ts +10 -0
- package/dist/runtime/components/MapoSidebarProfile.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoSnackBar.vue +38 -0
- package/dist/runtime/components/MapoSnackBar.vue.d.ts +4 -0
- package/dist/runtime/components/MapoSnackBar.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoThemeToggle.vue +23 -0
- package/dist/runtime/components/MapoThemeToggle.vue.d.ts +4 -0
- package/dist/runtime/components/MapoThemeToggle.vue.d.ts.map +1 -0
- package/dist/runtime/components/MapoTopbar.vue +30 -0
- package/dist/runtime/components/MapoTopbar.vue.d.ts +15 -0
- package/dist/runtime/components/MapoTopbar.vue.d.ts.map +1 -0
- package/dist/runtime/components/menuDndContext.d.ts +19 -0
- package/dist/runtime/components/menuDndContext.d.ts.map +1 -0
- package/dist/runtime/components/menuDndContext.js +3 -0
- package/dist/runtime/layouts/default.vue +43 -0
- package/dist/runtime/layouts/default.vue.d.ts +20 -0
- package/dist/runtime/layouts/default.vue.d.ts.map +1 -0
- package/dist/runtime/layouts/empty.vue +9 -0
- package/dist/runtime/layouts/empty.vue.d.ts +14 -0
- package/dist/runtime/layouts/empty.vue.d.ts.map +1 -0
- package/dist/runtime/page-meta.nuxt.d.ts +45 -0
- package/dist/runtime/pages/index.vue +14 -0
- package/dist/runtime/pages/index.vue.d.ts +4 -0
- package/dist/runtime/pages/index.vue.d.ts.map +1 -0
- package/dist/runtime/pages/login.vue +3 -0
- package/dist/runtime/pages/login.vue.d.ts +4 -0
- package/dist/runtime/pages/login.vue.d.ts.map +1 -0
- package/dist/runtime/plugins/media-adapter.d.ts +18 -0
- package/dist/runtime/plugins/media-adapter.d.ts.map +1 -0
- package/dist/runtime/plugins/media-adapter.js +8 -0
- package/dist/runtime/stores/media.d.ts +462 -0
- package/dist/runtime/stores/media.d.ts.map +1 -0
- package/dist/runtime/stores/media.js +344 -0
- package/dist/runtime/types/list.d.ts +59 -0
- package/dist/runtime/types/list.d.ts.map +1 -0
- package/dist/runtime/types/list.js +0 -0
- package/dist/runtime/types/media.d.ts +116 -0
- package/dist/runtime/types/media.d.ts.map +1 -0
- package/dist/runtime/types/media.js +0 -0
- package/dist/runtime/types/menu.d.ts +66 -0
- package/dist/runtime/types/menu.d.ts.map +1 -0
- package/dist/runtime/types/menu.js +30 -0
- package/dist/types.d.mts +9 -0
- package/package.json +67 -12
- package/src/index.ts +30 -0
- package/src/module.ts +311 -0
- package/src/runtime/adapters/defaultMediaAdapter.ts +57 -0
- package/src/runtime/assets/main.css +59 -0
- package/src/runtime/components/MapoConfirmDialog.vue +36 -0
- package/src/runtime/components/MapoDetail.vue +864 -0
- package/src/runtime/components/MapoDetailLangSwitch.vue +166 -0
- package/src/runtime/components/MapoDropArea.vue +127 -0
- package/src/runtime/components/MapoLangSwitcher.vue +74 -0
- package/src/runtime/components/MapoList.vue +339 -0
- package/src/runtime/components/MapoListActions.vue +158 -0
- package/src/runtime/components/MapoListFilters.vue +292 -0
- package/src/runtime/components/MapoListHead.vue +12 -0
- package/src/runtime/components/MapoListQuickEdit.vue +166 -0
- package/src/runtime/components/MapoListTable.vue +931 -0
- package/src/runtime/components/MapoListTabs.vue +48 -0
- package/src/runtime/components/MapoLogin.vue +212 -0
- package/src/runtime/components/MapoLogoutButton.vue +48 -0
- package/src/runtime/components/MapoMediaBreadcrumbs.vue +53 -0
- package/src/runtime/components/MapoMediaEditor.vue +350 -0
- package/src/runtime/components/MapoMediaFileChanger.vue +136 -0
- package/src/runtime/components/MapoMediaFolders.vue +239 -0
- package/src/runtime/components/MapoMediaGallery.vue +239 -0
- package/src/runtime/components/MapoMediaManager.vue +180 -0
- package/src/runtime/components/MapoMediaManagerDialog.vue +148 -0
- package/src/runtime/components/MapoMediaPreview.vue +111 -0
- package/src/runtime/components/MapoMediaUploader.vue +351 -0
- package/src/runtime/components/MapoMenuManager.vue +402 -0
- package/src/runtime/components/MapoMenuNodeEditor.vue +282 -0
- package/src/runtime/components/MapoMenuTreeview.vue +264 -0
- package/src/runtime/components/MapoMenuTreeviewNode.vue +234 -0
- package/src/runtime/components/MapoRootComponents.vue +9 -0
- package/src/runtime/components/MapoSidebar.vue +114 -0
- package/src/runtime/components/MapoSidebarList.vue +35 -0
- package/src/runtime/components/MapoSidebarListItem.vue +79 -0
- package/src/runtime/components/MapoSidebarProfile.vue +61 -0
- package/src/runtime/components/MapoSnackBar.vue +42 -0
- package/src/runtime/components/MapoThemeToggle.vue +27 -0
- package/src/runtime/components/MapoTopbar.vue +36 -0
- package/src/runtime/components/menuDndContext.ts +22 -0
- package/src/runtime/layouts/default.vue +53 -0
- package/src/runtime/layouts/empty.vue +9 -0
- package/src/runtime/page-meta.nuxt.d.ts +45 -0
- package/src/runtime/pages/index.vue +15 -0
- package/src/runtime/pages/login.vue +3 -0
- package/src/runtime/plugins/media-adapter.ts +33 -0
- package/src/runtime/stores/media.ts +474 -0
- package/src/runtime/types/list.ts +64 -0
- package/src/runtime/types/media.ts +126 -0
- package/src/runtime/types/menu.ts +105 -0
- package/CHANGELOG.md +0 -1030
- package/assets/mixins.scss +0 -22
- package/assets/variables.scss +0 -18
- package/components/ConfirmDialog.vue +0 -173
- package/components/Detail/Detail.vue +0 -696
- package/components/Detail/DetailLangSwitch.vue +0 -79
- package/components/DropArea.vue +0 -257
- package/components/Form/Form.vue +0 -218
- package/components/Form/FormField.vue +0 -216
- package/components/Form/FormGroup.vue +0 -146
- package/components/Form/FormTabs.vue +0 -188
- package/components/Form/defaults.js +0 -98
- package/components/Form/fields/ColorField.vue +0 -79
- package/components/Form/fields/DateField.vue +0 -77
- package/components/Form/fields/DateTimeField.vue +0 -271
- package/components/Form/fields/EnhancedMediaField.vue +0 -224
- package/components/Form/fields/FileField.vue +0 -125
- package/components/Form/fields/FksField.vue +0 -115
- package/components/Form/fields/MediaField.vue +0 -159
- package/components/Form/fields/MediaM2mField.vue +0 -149
- package/components/Form/fields/Repeater.vue +0 -618
- package/components/Form/fields/SeoPreview.vue +0 -89
- package/components/Form/fields/TimeField.vue +0 -154
- package/components/Form/fields/mapField/leaflet.injector.js +0 -39
- package/components/Form/fields/mapField/mapField.vue +0 -350
- package/components/Form/fields/wygEditor/defaults.js +0 -25
- package/components/Form/fields/wygEditor/utils/events.js +0 -64
- package/components/Form/fields/wygEditor/utils/mapomedia.plugin.js +0 -32
- package/components/Form/fields/wygEditor/utils/tinymce.injector.js +0 -29
- package/components/Form/fields/wygEditor/wygEditor.vue +0 -285
- package/components/Form/fields/wygEditorCKE/defaults.js +0 -103
- package/components/Form/fields/wygEditorCKE/utils/ckeditor.injector.js +0 -29
- package/components/Form/fields/wygEditorCKE/wygEditorCKE.vue +0 -270
- package/components/LangSwitcher.vue +0 -44
- package/components/List/List.vue +0 -271
- package/components/List/ListActions.vue +0 -164
- package/components/List/ListFilters.vue +0 -372
- package/components/List/ListHead.vue +0 -67
- package/components/List/ListQuickEdit.vue +0 -228
- package/components/List/ListTable.vue +0 -484
- package/components/List/ListTabs.vue +0 -65
- package/components/Login.vue +0 -125
- package/components/Logo.vue +0 -79
- package/components/LogoutButton.vue +0 -54
- package/components/MediaManager/MediaBreadcrumbs.vue +0 -45
- package/components/MediaManager/MediaEditor.vue +0 -340
- package/components/MediaManager/MediaFileChanger.vue +0 -78
- package/components/MediaManager/MediaFolders.vue +0 -287
- package/components/MediaManager/MediaGallery.vue +0 -281
- package/components/MediaManager/MediaManager.vue +0 -159
- package/components/MediaManager/MediaManagerDialog.vue +0 -104
- package/components/MediaManager/MediaPreview.vue +0 -258
- package/components/MediaManager/MediaUploader.vue +0 -163
- package/components/MenuManager/MenuManager.vue +0 -332
- package/components/MenuManager/MenuNodeEditor.vue +0 -270
- package/components/MenuManager/MenuTreeview.vue +0 -237
- package/components/MenuManager/MenuTreeviewNode.vue +0 -208
- package/components/PagePreview.vue +0 -58
- package/components/RootComponents.vue +0 -25
- package/components/SnackBar.vue +0 -69
- package/components/ThemeToggle.vue +0 -13
- package/components/layout/Sidebar/Sidebar.vue +0 -89
- package/components/layout/Sidebar/SidebarList.vue +0 -49
- package/components/layout/Sidebar/SidebarListItem.vue +0 -185
- package/components/layout/Sidebar/SidebarProfile.vue +0 -42
- package/components/layout/Sidebar/SidebarTitle.vue +0 -45
- package/components/layout/Topbar/Topbar.vue +0 -29
- package/components/layout/routebuilder.js +0 -48
- package/defaults/i18n.js +0 -37
- package/defaults/vuetify.js +0 -34
- package/layouts/default.vue +0 -47
- package/layouts/empty.vue +0 -16
- package/module.js +0 -80
- package/pages/index.vue +0 -37
- package/pages/login.vue +0 -10
- package/static/mapo/ckeditor/plugins/image2/dev/assets/image1.jpg +0 -0
- package/static/mapo/ckeditor/plugins/image2/dev/assets/image2.jpg +0 -0
- package/static/mapo/ckeditor/plugins/image2/dev/contents.css +0 -35
- package/static/mapo/ckeditor/plugins/image2/dev/image2.html +0 -338
- package/static/mapo/ckeditor/plugins/image2/dialogs/image2.js +0 -557
- package/static/mapo/ckeditor/plugins/image2/icons/hidpi/image.png +0 -0
- package/static/mapo/ckeditor/plugins/image2/icons/image.png +0 -0
- package/static/mapo/ckeditor/plugins/image2/lang/af.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/ar.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/az.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/bg.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/bn.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/bs.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/ca.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/cs.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/cy.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/da.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/de-ch.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/de.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/el.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/en-au.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/en-ca.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/en-gb.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/en.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/eo.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/es-mx.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/es.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/et.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/eu.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/fa.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/fi.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/fo.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/fr-ca.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/fr.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/gl.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/gu.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/he.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/hi.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/hr.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/hu.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/id.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/is.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/it.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/ja.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/ka.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/km.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/ko.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/ku.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/lt.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/lv.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/mk.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/mn.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/ms.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/nb.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/nl.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/no.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/oc.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/pl.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/pt-br.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/pt.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/ro.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/ru.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/si.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/sk.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/sl.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/sq.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/sr-latn.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/sr.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/sv.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/th.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/tr.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/tt.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/ug.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/uk.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/vi.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/zh-cn.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/lang/zh.js +0 -21
- package/static/mapo/ckeditor/plugins/image2/plugin.js +0 -1798
- package/static/mapo/ckeditor/plugins/image2/samples/assets/image1.jpg +0 -0
- package/static/mapo/ckeditor/plugins/image2/samples/assets/image2.jpg +0 -0
- package/static/mapo/ckeditor/plugins/image2/samples/image2.html +0 -68
- package/static/mapo/ckeditor/skins/moono/dev/icons16.png +0 -0
- package/static/mapo/ckeditor/skins/moono/dev/icons16.svg +0 -2374
- package/static/mapo/ckeditor/skins/moono/dev/icons32.png +0 -0
- package/static/mapo/ckeditor/skins/moono/dev/icons32.svg +0 -2722
- package/static/mapo/ckeditor/skins/moono/dev/locations.json +0 -144
- package/static/mapo/ckeditor/skins/moono/dialog.css +0 -5
- package/static/mapo/ckeditor/skins/moono/dialog_ie.css +0 -5
- package/static/mapo/ckeditor/skins/moono/dialog_ie7.css +0 -5
- package/static/mapo/ckeditor/skins/moono/dialog_ie8.css +0 -5
- package/static/mapo/ckeditor/skins/moono/dialog_iequirks.css +0 -5
- package/static/mapo/ckeditor/skins/moono/editor.css +0 -5
- package/static/mapo/ckeditor/skins/moono/editor_gecko.css +0 -5
- package/static/mapo/ckeditor/skins/moono/editor_ie.css +0 -5
- package/static/mapo/ckeditor/skins/moono/editor_ie7.css +0 -5
- package/static/mapo/ckeditor/skins/moono/editor_ie8.css +0 -5
- package/static/mapo/ckeditor/skins/moono/editor_iequirks.css +0 -5
- package/static/mapo/ckeditor/skins/moono/icons.png +0 -0
- package/static/mapo/ckeditor/skins/moono/icons_hidpi.png +0 -0
- package/static/mapo/ckeditor/skins/moono/images/anchor.png +0 -0
- package/static/mapo/ckeditor/skins/moono/images/arrow.png +0 -0
- package/static/mapo/ckeditor/skins/moono/images/close.png +0 -0
- package/static/mapo/ckeditor/skins/moono/images/hidpi/anchor.png +0 -0
- package/static/mapo/ckeditor/skins/moono/images/hidpi/close.png +0 -0
- package/static/mapo/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
- package/static/mapo/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
- package/static/mapo/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
- package/static/mapo/ckeditor/skins/moono/images/lock-open.png +0 -0
- package/static/mapo/ckeditor/skins/moono/images/lock.png +0 -0
- package/static/mapo/ckeditor/skins/moono/images/refresh.png +0 -0
- package/static/mapo/ckeditor/skins/moono/images/spinner.gif +0 -0
- package/static/mapo/ckeditor/skins/moono/readme.md +0 -49
- package/static/mapo/ckeditor/skins/moono/skin.js +0 -10
- package/static/mapo/ckeditor/skins/moono-dark/dialog.css +0 -5
- package/static/mapo/ckeditor/skins/moono-dark/dialog_ie.css +0 -5
- package/static/mapo/ckeditor/skins/moono-dark/dialog_ie7.css +0 -5
- package/static/mapo/ckeditor/skins/moono-dark/dialog_ie8.css +0 -5
- package/static/mapo/ckeditor/skins/moono-dark/dialog_iequirks.css +0 -5
- package/static/mapo/ckeditor/skins/moono-dark/editor.css +0 -5
- package/static/mapo/ckeditor/skins/moono-dark/editor_gecko.css +0 -5
- package/static/mapo/ckeditor/skins/moono-dark/editor_ie.css +0 -5
- package/static/mapo/ckeditor/skins/moono-dark/editor_ie7.css +0 -5
- package/static/mapo/ckeditor/skins/moono-dark/editor_ie8.css +0 -5
- package/static/mapo/ckeditor/skins/moono-dark/editor_iequirks.css +0 -5
- package/static/mapo/ckeditor/skins/moono-dark/icons.png +0 -0
- package/static/mapo/ckeditor/skins/moono-dark/icons_hidpi.png +0 -0
- package/static/mapo/ckeditor/skins/moono-dark/images/arrow.png +0 -0
- package/static/mapo/ckeditor/skins/moono-dark/images/close.png +0 -0
- package/static/mapo/ckeditor/skins/moono-dark/images/hidpi/close.png +0 -0
- package/static/mapo/ckeditor/skins/moono-dark/images/hidpi/lock-open.png +0 -0
- package/static/mapo/ckeditor/skins/moono-dark/images/hidpi/lock.png +0 -0
- package/static/mapo/ckeditor/skins/moono-dark/images/hidpi/refresh.png +0 -0
- package/static/mapo/ckeditor/skins/moono-dark/images/lock-open.png +0 -0
- package/static/mapo/ckeditor/skins/moono-dark/images/lock.png +0 -0
- package/static/mapo/ckeditor/skins/moono-dark/images/refresh.png +0 -0
- package/static/mapo/ckeditor/skins/moono-dark/readme.md +0 -51
- package/static/mapo/ckeditor/skins/moono-dark/skin.js +0 -5
- package/static/mapo/favicon.ico +0 -0
- package/static/mapo/tinymce-skins/mapo-dark/content.inline.min.css +0 -7
- package/static/mapo/tinymce-skins/mapo-dark/content.min.css +0 -7
- package/static/mapo/tinymce-skins/mapo-dark/content.mobile.min.css +0 -7
- package/static/mapo/tinymce-skins/mapo-dark/skin.min.css +0 -7
- package/static/mapo/tinymce-skins/mapo-dark/skin.mobile.min.css +0 -7
- package/static/mapo/tinymce-skins/mapo-light/content.inline.min.css +0 -7
- package/static/mapo/tinymce-skins/mapo-light/content.min.css +0 -7
- package/static/mapo/tinymce-skins/mapo-light/content.mobile.min.css +0 -7
- package/static/mapo/tinymce-skins/mapo-light/skin.min.css +0 -7
- package/static/mapo/tinymce-skins/mapo-light/skin.mobile.min.css +0 -7
- package/translations/en-US.js +0 -177
- package/translations/it-IT.js +0 -180
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
import type { ListTabItem } from "../types/list.js";
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
tabs: ListTabItem[];
|
|
7
|
+
modelValue?: string;
|
|
8
|
+
}>();
|
|
9
|
+
|
|
10
|
+
const emit = defineEmits<{ "update:modelValue": [value: string] }>();
|
|
11
|
+
|
|
12
|
+
const active = computed(() => props.modelValue ?? props.tabs[0]?.value ?? "");
|
|
13
|
+
|
|
14
|
+
defineSlots<{
|
|
15
|
+
/** Override for a single tab button. Receives `{ tab: ListTabItem, active: boolean }`. */
|
|
16
|
+
tab(props: { tab: ListTabItem; active: boolean }): any;
|
|
17
|
+
}>();
|
|
18
|
+
</script>
|
|
19
|
+
|
|
20
|
+
<template>
|
|
21
|
+
<div
|
|
22
|
+
v-if="tabs.length"
|
|
23
|
+
class="mapo-list-tabs flex gap-4 border-b border-default mb-4"
|
|
24
|
+
>
|
|
25
|
+
<button
|
|
26
|
+
v-for="tab in tabs"
|
|
27
|
+
:key="tab.value"
|
|
28
|
+
class="pb-2 text-sm font-medium transition-colors relative"
|
|
29
|
+
:class="
|
|
30
|
+
active === tab.value
|
|
31
|
+
? 'text-primary border-b-2 border-primary -mb-px'
|
|
32
|
+
: 'text-muted hover:text-default'
|
|
33
|
+
"
|
|
34
|
+
@click="emit('update:modelValue', tab.value)"
|
|
35
|
+
>
|
|
36
|
+
<slot name="tab" :tab="tab" :active="active === tab.value">
|
|
37
|
+
{{ tab.text }}
|
|
38
|
+
<UBadge
|
|
39
|
+
v-if="tab.count !== undefined"
|
|
40
|
+
:label="String(tab.count)"
|
|
41
|
+
size="xs"
|
|
42
|
+
variant="soft"
|
|
43
|
+
class="ml-1"
|
|
44
|
+
/>
|
|
45
|
+
</slot>
|
|
46
|
+
</button>
|
|
47
|
+
</div>
|
|
48
|
+
</template>
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { reactive, ref } from "vue";
|
|
3
|
+
import { useI18n } from "vue-i18n";
|
|
4
|
+
import { useMapoAuth } from "@mapomodule/core/runtime/auth/useMapoAuth";
|
|
5
|
+
import { useRoute, navigateTo } from "#app";
|
|
6
|
+
|
|
7
|
+
defineSlots<{
|
|
8
|
+
/** Left decorative panel (shown lg+). Replace with your own branding. */
|
|
9
|
+
panel(): unknown;
|
|
10
|
+
/** Logo / title area above the login form. */
|
|
11
|
+
brand(): unknown;
|
|
12
|
+
/** Content injected between the brand slot and the login form card. */
|
|
13
|
+
"before-form"(): unknown;
|
|
14
|
+
/** Content injected between the login form card and the footer slot. */
|
|
15
|
+
"after-form"(): unknown;
|
|
16
|
+
/** Content below the login card (links, copyright…). */
|
|
17
|
+
footer(): unknown;
|
|
18
|
+
}>();
|
|
19
|
+
|
|
20
|
+
const { t } = useI18n();
|
|
21
|
+
const { login } = useMapoAuth();
|
|
22
|
+
const route = useRoute();
|
|
23
|
+
|
|
24
|
+
const form = reactive({ username: "", password: "" });
|
|
25
|
+
const error = ref<string | null>(null);
|
|
26
|
+
const fieldErrors = reactive<{ username?: string; password?: string }>({});
|
|
27
|
+
const loading = ref(false);
|
|
28
|
+
|
|
29
|
+
async function submit() {
|
|
30
|
+
error.value = null;
|
|
31
|
+
fieldErrors.username = undefined;
|
|
32
|
+
fieldErrors.password = undefined;
|
|
33
|
+
loading.value = true;
|
|
34
|
+
try {
|
|
35
|
+
await login(form);
|
|
36
|
+
const redirect = (route.query.redirect as string) ?? "/";
|
|
37
|
+
await navigateTo(redirect);
|
|
38
|
+
} catch (e: unknown) {
|
|
39
|
+
const data = (e as { data?: { username?: string[]; password?: string[] } })
|
|
40
|
+
?.data;
|
|
41
|
+
if (data?.username || data?.password) {
|
|
42
|
+
if (data.username?.length) fieldErrors.username = data.username[0];
|
|
43
|
+
if (data.password?.length) fieldErrors.password = data.password[0];
|
|
44
|
+
} else {
|
|
45
|
+
error.value = t("mapo.login.invalidCredentials");
|
|
46
|
+
}
|
|
47
|
+
} finally {
|
|
48
|
+
loading.value = false;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
</script>
|
|
52
|
+
|
|
53
|
+
<template>
|
|
54
|
+
<div class="flex h-full min-h-screen bg-default">
|
|
55
|
+
<!-- Left decorative panel (lg+) -->
|
|
56
|
+
<div
|
|
57
|
+
class="hidden lg:flex lg:w-1/2 relative flex-col items-center justify-center overflow-hidden bg-primary"
|
|
58
|
+
>
|
|
59
|
+
<div class="absolute inset-0 pointer-events-none overflow-hidden">
|
|
60
|
+
<div
|
|
61
|
+
class="absolute -top-40 -left-40 size-96 rounded-full bg-white/10 blur-3xl"
|
|
62
|
+
/>
|
|
63
|
+
<div
|
|
64
|
+
class="absolute -bottom-32 -right-32 size-80 rounded-full bg-black/15 blur-3xl"
|
|
65
|
+
/>
|
|
66
|
+
<div
|
|
67
|
+
class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 size-72 rounded-full bg-white/5 blur-2xl"
|
|
68
|
+
/>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
71
|
+
<slot name="panel">
|
|
72
|
+
<div
|
|
73
|
+
class="relative z-10 flex flex-col items-center gap-6 px-12 text-center text-white"
|
|
74
|
+
>
|
|
75
|
+
<div
|
|
76
|
+
class="size-20 rounded-3xl bg-white/20 backdrop-blur-sm ring-1 ring-white/30 flex items-center justify-center"
|
|
77
|
+
>
|
|
78
|
+
<UIcon name="i-lucide-layers" class="size-10 text-white" />
|
|
79
|
+
</div>
|
|
80
|
+
<div class="space-y-2">
|
|
81
|
+
<h2 class="text-3xl font-bold tracking-tight">
|
|
82
|
+
{{ t("mapo.login.welcome") }}
|
|
83
|
+
</h2>
|
|
84
|
+
<p class="text-white/70 text-sm leading-relaxed max-w-xs">
|
|
85
|
+
{{ t("mapo.login.tagline") }}
|
|
86
|
+
</p>
|
|
87
|
+
</div>
|
|
88
|
+
<div class="flex gap-2 flex-wrap justify-center">
|
|
89
|
+
<span
|
|
90
|
+
v-for="tag in [
|
|
91
|
+
'Nuxt 4',
|
|
92
|
+
'Pinia',
|
|
93
|
+
'Nuxt UI v4',
|
|
94
|
+
'Tailwind v4',
|
|
95
|
+
'TypeScript',
|
|
96
|
+
]"
|
|
97
|
+
:key="tag"
|
|
98
|
+
class="px-3 py-1 rounded-full bg-white/10 text-xs font-medium text-white/80 ring-1 ring-white/20"
|
|
99
|
+
>{{ tag }}</span
|
|
100
|
+
>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
</slot>
|
|
104
|
+
</div>
|
|
105
|
+
|
|
106
|
+
<!-- Right: login form -->
|
|
107
|
+
<div
|
|
108
|
+
class="flex flex-1 flex-col items-center justify-center px-6 py-12 relative"
|
|
109
|
+
>
|
|
110
|
+
<div
|
|
111
|
+
class="pointer-events-none absolute inset-0 overflow-hidden lg:hidden"
|
|
112
|
+
>
|
|
113
|
+
<div
|
|
114
|
+
class="absolute -top-32 -right-32 size-96 rounded-full bg-primary/6 blur-3xl"
|
|
115
|
+
/>
|
|
116
|
+
<div
|
|
117
|
+
class="absolute -bottom-32 -left-32 size-80 rounded-full bg-primary/4 blur-3xl"
|
|
118
|
+
/>
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
<div class="relative z-10 w-full max-w-sm space-y-8">
|
|
122
|
+
<slot name="brand">
|
|
123
|
+
<div class="flex flex-col items-center gap-3 text-center">
|
|
124
|
+
<div
|
|
125
|
+
class="lg:hidden size-12 rounded-2xl bg-primary/10 ring-1 ring-primary/20 flex items-center justify-center"
|
|
126
|
+
>
|
|
127
|
+
<UIcon name="i-lucide-layers" class="size-6 text-primary" />
|
|
128
|
+
</div>
|
|
129
|
+
<div>
|
|
130
|
+
<h1 class="text-2xl font-bold text-highlighted tracking-tight">
|
|
131
|
+
{{ t("mapo.signIn") }}
|
|
132
|
+
</h1>
|
|
133
|
+
<p class="text-sm text-muted mt-1">
|
|
134
|
+
{{ t("mapo.login.subtitle") }}
|
|
135
|
+
</p>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
</slot>
|
|
139
|
+
|
|
140
|
+
<slot name="before-form" />
|
|
141
|
+
|
|
142
|
+
<UCard class="shadow-xl ring-1 ring-default/60">
|
|
143
|
+
<form class="space-y-5" @submit.prevent="submit">
|
|
144
|
+
<UFormField
|
|
145
|
+
:label="t('mapo.username')"
|
|
146
|
+
name="username"
|
|
147
|
+
:error="fieldErrors.username"
|
|
148
|
+
>
|
|
149
|
+
<UInput
|
|
150
|
+
v-model="form.username"
|
|
151
|
+
placeholder="username"
|
|
152
|
+
autocomplete="username"
|
|
153
|
+
:disabled="loading"
|
|
154
|
+
:color="fieldErrors.username ? 'error' : undefined"
|
|
155
|
+
leading-icon="i-lucide-user"
|
|
156
|
+
size="lg"
|
|
157
|
+
class="w-full"
|
|
158
|
+
/>
|
|
159
|
+
</UFormField>
|
|
160
|
+
|
|
161
|
+
<UFormField
|
|
162
|
+
:label="t('mapo.password')"
|
|
163
|
+
name="password"
|
|
164
|
+
:error="fieldErrors.password"
|
|
165
|
+
>
|
|
166
|
+
<UInput
|
|
167
|
+
v-model="form.password"
|
|
168
|
+
type="password"
|
|
169
|
+
placeholder="••••••••"
|
|
170
|
+
autocomplete="current-password"
|
|
171
|
+
:disabled="loading"
|
|
172
|
+
:color="fieldErrors.password ? 'error' : undefined"
|
|
173
|
+
leading-icon="i-lucide-lock"
|
|
174
|
+
size="lg"
|
|
175
|
+
class="w-full"
|
|
176
|
+
/>
|
|
177
|
+
</UFormField>
|
|
178
|
+
|
|
179
|
+
<Transition
|
|
180
|
+
enter-active-class="transition duration-200 ease-out"
|
|
181
|
+
enter-from-class="opacity-0 -translate-y-1"
|
|
182
|
+
leave-active-class="transition duration-150 ease-in"
|
|
183
|
+
leave-to-class="opacity-0 -translate-y-1"
|
|
184
|
+
>
|
|
185
|
+
<UAlert
|
|
186
|
+
v-if="error"
|
|
187
|
+
color="error"
|
|
188
|
+
variant="subtle"
|
|
189
|
+
:description="error"
|
|
190
|
+
icon="i-lucide-alert-circle"
|
|
191
|
+
/>
|
|
192
|
+
</Transition>
|
|
193
|
+
|
|
194
|
+
<UButton
|
|
195
|
+
type="submit"
|
|
196
|
+
size="lg"
|
|
197
|
+
:loading="loading"
|
|
198
|
+
:disabled="!form.username || !form.password"
|
|
199
|
+
block
|
|
200
|
+
>
|
|
201
|
+
{{ t("mapo.signIn") }}
|
|
202
|
+
</UButton>
|
|
203
|
+
</form>
|
|
204
|
+
</UCard>
|
|
205
|
+
|
|
206
|
+
<slot name="after-form" />
|
|
207
|
+
|
|
208
|
+
<slot name="footer" />
|
|
209
|
+
</div>
|
|
210
|
+
</div>
|
|
211
|
+
</div>
|
|
212
|
+
</template>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { useI18n } from "vue-i18n";
|
|
3
|
+
import { useMapoAuth } from "@mapomodule/core/runtime/auth/useMapoAuth";
|
|
4
|
+
|
|
5
|
+
withDefaults(
|
|
6
|
+
defineProps<{
|
|
7
|
+
/** Nuxt UI UButton `variant` prop. */
|
|
8
|
+
variant?: "solid" | "outline" | "soft" | "ghost" | "link";
|
|
9
|
+
/** Nuxt UI UButton `color` prop. */
|
|
10
|
+
color?:
|
|
11
|
+
| "primary"
|
|
12
|
+
| "secondary"
|
|
13
|
+
| "neutral"
|
|
14
|
+
| "info"
|
|
15
|
+
| "success"
|
|
16
|
+
| "warning"
|
|
17
|
+
| "error";
|
|
18
|
+
/** Nuxt UI UButton `size` prop. */
|
|
19
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
20
|
+
/** Show only the icon (no label). */
|
|
21
|
+
iconOnly?: boolean;
|
|
22
|
+
}>(),
|
|
23
|
+
{
|
|
24
|
+
variant: "ghost",
|
|
25
|
+
color: "neutral",
|
|
26
|
+
size: "sm",
|
|
27
|
+
iconOnly: false,
|
|
28
|
+
},
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
const { t } = useI18n();
|
|
32
|
+
const { logout } = useMapoAuth();
|
|
33
|
+
</script>
|
|
34
|
+
|
|
35
|
+
<template>
|
|
36
|
+
<UButton
|
|
37
|
+
:variant="variant"
|
|
38
|
+
:color="color"
|
|
39
|
+
:size="size"
|
|
40
|
+
icon="i-lucide-log-out"
|
|
41
|
+
:aria-label="iconOnly ? t('mapo.logout') : undefined"
|
|
42
|
+
@click="logout()"
|
|
43
|
+
>
|
|
44
|
+
<span v-if="!iconOnly">
|
|
45
|
+
<slot>{{ t("mapo.logout") }}</slot>
|
|
46
|
+
</span>
|
|
47
|
+
</UButton>
|
|
48
|
+
</template>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
import { useI18n } from "vue-i18n";
|
|
4
|
+
import { useMediaStore } from "../stores/media.js";
|
|
5
|
+
import type { MediaFolder } from "../types/media.js";
|
|
6
|
+
|
|
7
|
+
const { t } = useI18n();
|
|
8
|
+
const store = useMediaStore();
|
|
9
|
+
|
|
10
|
+
const items = computed(() => [
|
|
11
|
+
{
|
|
12
|
+
label: t("mapo.mediaManager.root"),
|
|
13
|
+
icon: "i-lucide-folder-open",
|
|
14
|
+
folder: null as MediaFolder | null,
|
|
15
|
+
},
|
|
16
|
+
...store.parentFolders.map((f) => ({
|
|
17
|
+
label: f.name,
|
|
18
|
+
icon: "i-lucide-folder",
|
|
19
|
+
folder: f,
|
|
20
|
+
})),
|
|
21
|
+
]);
|
|
22
|
+
|
|
23
|
+
function navigate(folder: MediaFolder | null) {
|
|
24
|
+
store.navigateToFolder(folder);
|
|
25
|
+
}
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<template>
|
|
29
|
+
<nav class="flex items-center gap-1 overflow-x-auto py-1 text-sm">
|
|
30
|
+
<template v-for="(item, i) in items" :key="i">
|
|
31
|
+
<UButton
|
|
32
|
+
variant="ghost"
|
|
33
|
+
color="neutral"
|
|
34
|
+
size="xs"
|
|
35
|
+
:icon="item.icon"
|
|
36
|
+
:disabled="i === items.length - 1"
|
|
37
|
+
:class="
|
|
38
|
+
i === items.length - 1
|
|
39
|
+
? 'font-semibold text-highlighted'
|
|
40
|
+
: 'text-muted hover:text-highlighted'
|
|
41
|
+
"
|
|
42
|
+
@click="navigate(item.folder)"
|
|
43
|
+
>
|
|
44
|
+
{{ item.label }}
|
|
45
|
+
</UButton>
|
|
46
|
+
<UIcon
|
|
47
|
+
v-if="i < items.length - 1"
|
|
48
|
+
name="i-lucide-chevron-right"
|
|
49
|
+
class="size-3 shrink-0 text-dimmed"
|
|
50
|
+
/>
|
|
51
|
+
</template>
|
|
52
|
+
</nav>
|
|
53
|
+
</template>
|