mirror of
https://github.com/directus/directus.git
synced 2026-02-02 05:25:16 -05:00
* Fix linting errors * Fix remaining catch all routes * Fix directive registration regression * Replace $router global with composition function * Fix v-bind overwrite order in nested-draggable * Migrate vuedraggable * Fix building with empty translation files * Add comment regarding array equality check * Fix markdown-it plugins import * Fix newly introduced wrong store usage * Fix v-button-group model * Fix v-fancy-select model * Fix v-field-template model * Fix v-input model * Fix v-item-group model * Fix v-menu model * Fix v-select model * Fix v-tabs model * Fix v-tabs-items model * Fix v-textarea model * Fix v-checkbox model * Fix v-dialog model * Fix v-drawer model * Fix v-form model * Fix v-list model * Fix v-table model * Fix v-detail model * Fix v-radio model * Fix v-switch model * Fix files-navigation model * Fix replace-file model * Fix bookmark-add model * Fix bookmark-edit model * Fix drawer-batch model * Fix drawer-item model * Fix file-lightbox model * Fix image-editor model * Fix notifications-preview model * Fix users-invite model * Lowercase editor component name * Fix collections-filter model * Fix filter-input model * Fix filter-sidebar-detail model * Fix folder-picker model * Fix interface-checkboxes model * Fix interface-code model * Fix interface-icon model * Fix interface-repeater model * Fix refresh-sidebar-detail model * Fix search-input model * Fix interface/display component option v-model usage * Replace calling listener through $attrs with $emit and add emits option * Add comment regarding useCustomSelection emits * Fix context menu activation * Fix collectionsStore access * Fix popperjs * Hotfix useGroupable * Fix notifications-preview old prop name * Fix module bar tooltip translation * Fix useSync type signature * Fix update:layoutOptions emit name * Fix usePermissions missing imports regression * Revert changes to docs vuepress instance * Fix module-relative-resolve vite plugin when serving * Fix docs * Fix refresh on first load * Fix creating new collection * Fix loading of collection route * Fix v-dialog/v-menu appear transition * Access props directly * Fix v-table clickable * Fix v-drawer cancelable * Fix v-icon clickable * Fix v-input clickable * Fix v-list-group clickable * Fix v-list-item clickable * Fix v-overlay clickable * Fix header-bar primary button * Fix v-table item.* slot * Fix vue warning regarding exposed variables starting with _ or $ * Fix usePermissions * Add package-lock.json * Fix v-form unset regression * Fix vue shims * Fix useCustomSelection emit * Make extensions arrays shallow * Move teleport targets out of the vue app * Fix v-field-select model * Fix v-slider model * Fix v-pagination model * Fix card model * Fix v-select item-value prop usage * Fix layout-sidebar-detail model * Fix form-field model * Fix form-field-menu model * Fix form-field-interface model * Fix v-form model * Use kebab-case for modelValue * Update package-lock.json * Add missing dependency * Replace $t with i18n composable * Replace remaining usages of $t * Replace $te with i18n composable * Replace $n with i18n composable * Disable global injection in vue-i18n * Replace i18n.global.t usage where composable is already imported * Replace remaining i18n.global.t usage with composable * Replace remaining i18n.global usages with composable * Fix uploadFile emitter regression * Remove inheritAttrs: false from file-info-sidebar-detail * Hotfix v-input * Update .eslintrc.js * Fix use-preview * Fix eslint issues * Remove unused imports * Fix extension getter type * Refactor layout structure and fix tabular layout * Fix build * Fix cards layout * Hotfix vuedraggable * Dev is true again * Register export-sidebar-detail globally * Deconstruct layout state * Fix calendar layout * Fix cards/calendar layouts * Fix layout options when switching layout * Replace marked usage with md util * Use useLayout everywhere * Fix type issue * Fix codemirror dynamic imports * Fix data-fns dynamic import * Fix useLayout selection * Fix v-avatar scoped styling * Remove unused v-button-group component * Remove v-deep from v-card-actions * Replace v-deep in v-dialog * Use correct pseudoclasses for vue3 * Fix v-deep in v-field-template * Replace v-deep in v-list-item-content * Replace v-deep in v-list-item * v-deep in v-list * v-deep in v-notice * Replace breakpoint mixin * Replace v-deep in v-button * Enforce empty line before block * v-deep in v-pagination * No white lines on the inner brackets of a block please * Replace v-deep in v-select * Fix stylelint rule * Replace v-deep in v-table * Replace v-deep in v-tabs * Replace v-deep in rich text input * Replace v-deep * Replace v-deep elsewhere * Needs more stylelint tweaks, but v-deep is done * Fix translations interface * Fix date layout * Fix npm install * Fix router catch all routes * Fix layout options * Remove call to next in router guards * Remove vue router in-component guards * Refactor module route registration * Fix collections module navigation * Fix settings module navigation * Fix router-passthrough in devtools * Refactor docs export and docs route registration * Import docs routes using exported function * Remove moduleRelativeResolve vite hack * Re-add dev scripts * Fix deprecated hljs usage * Use activateContextMenu without parens * Re-add readme/license/editorconfig * Fix groupable * Fix initial docs navigation * Move global app css to app component * Fix collection navigation icon color * Fix field setup style * Fix divider icon style * Fix optional v-input slots * Use $slots direct property access * Fix docs font style * Fix docs v-deep * Fix docs add missing styles * Remove docs style margin * Fix save options color * Fix nested v-slotted usage * Fix v-button exact prop * Fix v-list-item exact prop * Fix package-lock.json * Improve useSync type * Fix route type error * Fix bookmark router links * Add redirect to route with bookmark * Fix files module folder route * Fix users module role route * Add redirect routes to files and roles sub-routes * Fix users module role active state * Replace routerPassthrough function with object * Nest file routes * Improve module bar hidden check * Remove slash from module router link * Fix files and folder navigation * Revert users route nesting * Fix buttons in list * Don't make nav item mandatory in left sidebar * Fix infinite loop in box open * Fix interactivity in v-list items * Fix docs menu jumps * Fix right click positioning * Fix missing translations * Fix close/open alignment of color interface * Fix code editor interfaces * Fix relation access in cards layout * Remove template ref from collection-or-item * Revert jest-environment-jsdom package update * Fix package-lock.json * Resolve vue3 TODO comments * Fix layout presets * Remove reactivity fix * Remove Todo3 comment * Fix icon color override * Add error message to useLayoutState * Add composable to properly transition dialog routes * Fix new collection transition * Fix add new role transition * Fix add new file transition * Fix activity item transition * Fix error type in useItems * Fix collection error dialog transition * Fix field detail transition * Fix permissions detail transition * Fix store getters types * Update package-lock * Fix preview icon color * Fix reference to selections * Fix linter warnings Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
118 lines
4.9 KiB
TypeScript
118 lines
4.9 KiB
TypeScript
import ExportSidebarDetail from '@/views/private/components/export-sidebar-detail';
|
|
import FilterSidebarDetail from '@/views/private/components/filter-sidebar-detail';
|
|
import RenderDisplay from '@/views/private/components/render-display';
|
|
import RenderTemplate from '@/views/private/components/render-template';
|
|
import SidebarDetail from '@/views/private/components/sidebar-detail/';
|
|
import UserPopover from '@/views/private/components/user-popover';
|
|
import ValueNull from '@/views/private/components/value-null';
|
|
import { App } from 'vue';
|
|
import TransitionBounce from './transition/bounce';
|
|
import TransitionDialog from './transition/dialog';
|
|
import TransitionExpand from './transition/expand';
|
|
import VAvatar from './v-avatar/';
|
|
import VBadge from './v-badge/';
|
|
import VBreadcrumb from './v-breadcrumb';
|
|
import VButton from './v-button/';
|
|
import VCard, { VCardActions, VCardSubtitle, VCardText, VCardTitle } from './v-card';
|
|
import VCheckbox from './v-checkbox/';
|
|
import VChip from './v-chip/';
|
|
import VDetail from './v-detail';
|
|
import VDialog from './v-dialog';
|
|
import VDivider from './v-divider';
|
|
import VDrawer from './v-drawer/';
|
|
import VError from './v-error';
|
|
import VFancySelect from './v-fancy-select';
|
|
import VFieldSelect from './v-field-select';
|
|
import VFieldTemplate from './v-field-template';
|
|
import VForm from './v-form';
|
|
import VHover from './v-hover/';
|
|
import VIcon from './v-icon/';
|
|
import VInfo from './v-info/';
|
|
import VInput from './v-input/';
|
|
import VItemGroup, { VItem } from './v-item-group';
|
|
import VList, { VListGroup, VListItem, VListItemContent, VListItemHint, VListItemIcon } from './v-list/';
|
|
import VMenu from './v-menu/';
|
|
import VNotice from './v-notice/';
|
|
import VOverlay from './v-overlay/';
|
|
import VPagination from './v-pagination/';
|
|
import VProgressCircular from './v-progress/circular/';
|
|
import VProgressLinear from './v-progress/linear/';
|
|
import VRadio from './v-radio/';
|
|
import VSelect from './v-select/';
|
|
import VSheet from './v-sheet/';
|
|
import VSkeletonLoader from './v-skeleton-loader/';
|
|
import VSlider from './v-slider/';
|
|
import VSwitch from './v-switch/';
|
|
import VTable from './v-table/';
|
|
import VTabs, { VTab, VTabItem, VTabsItems } from './v-tabs/';
|
|
import VTextOverflow from './v-text-overflow.vue';
|
|
import VTextarea from './v-textarea';
|
|
import VUpload from './v-upload';
|
|
|
|
export function registerComponents(app: App): void {
|
|
app.component('v-avatar', VAvatar);
|
|
app.component('v-badge', VBadge);
|
|
app.component('v-breadcrumb', VBreadcrumb);
|
|
app.component('v-button', VButton);
|
|
app.component('v-card-actions', VCardActions);
|
|
app.component('v-card-subtitle', VCardSubtitle);
|
|
app.component('v-card-text', VCardText);
|
|
app.component('v-card-title', VCardTitle);
|
|
app.component('v-card', VCard);
|
|
app.component('v-checkbox', VCheckbox);
|
|
app.component('v-chip', VChip);
|
|
app.component('v-detail', VDetail);
|
|
app.component('v-dialog', VDialog);
|
|
app.component('v-divider', VDivider);
|
|
app.component('v-error', VError);
|
|
app.component('v-fancy-select', VFancySelect);
|
|
app.component('v-field-template', VFieldTemplate);
|
|
app.component('v-field-select', VFieldSelect);
|
|
app.component('v-form', VForm);
|
|
app.component('v-hover', VHover);
|
|
app.component('v-icon', VIcon);
|
|
app.component('v-info', VInfo);
|
|
app.component('v-input', VInput);
|
|
app.component('v-item-group', VItemGroup);
|
|
app.component('v-item', VItem);
|
|
app.component('v-list-group', VListGroup);
|
|
app.component('v-list-item-content', VListItemContent);
|
|
app.component('v-list-item-hint', VListItemHint);
|
|
app.component('v-list-item-icon', VListItemIcon);
|
|
app.component('v-list-item', VListItem);
|
|
app.component('v-list', VList);
|
|
app.component('v-menu', VMenu);
|
|
app.component('v-drawer', VDrawer);
|
|
app.component('v-notice', VNotice);
|
|
app.component('v-overlay', VOverlay);
|
|
app.component('v-pagination', VPagination);
|
|
app.component('v-progress-circular', VProgressCircular);
|
|
app.component('v-progress-linear', VProgressLinear);
|
|
app.component('v-radio', VRadio);
|
|
app.component('v-select', VSelect);
|
|
app.component('v-sheet', VSheet);
|
|
app.component('v-skeleton-loader', VSkeletonLoader);
|
|
app.component('v-slider', VSlider);
|
|
app.component('v-switch', VSwitch);
|
|
app.component('v-tab-item', VTabItem);
|
|
app.component('v-tab', VTab);
|
|
app.component('v-table', VTable);
|
|
app.component('v-tabs-items', VTabsItems);
|
|
app.component('v-tabs', VTabs);
|
|
app.component('v-textarea', VTextarea);
|
|
app.component('v-text-overflow', VTextOverflow);
|
|
app.component('v-upload', VUpload);
|
|
|
|
app.component('transition-bounce', TransitionBounce);
|
|
app.component('transition-dialog', TransitionDialog);
|
|
app.component('transition-expand', TransitionExpand);
|
|
|
|
app.component('render-display', RenderDisplay);
|
|
app.component('render-template', RenderTemplate);
|
|
app.component('filter-sidebar-detail', FilterSidebarDetail);
|
|
app.component('export-sidebar-detail', ExportSidebarDetail);
|
|
app.component('sidebar-detail', SidebarDetail);
|
|
app.component('user-popover', UserPopover);
|
|
app.component('value-null', ValueNull);
|
|
}
|