mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-01-18 04:57:59 +00:00
Moved editors and grid components to their own directories
This commit is contained in:
parent
f33cac7f5c
commit
5b15782d7d
@ -2,9 +2,9 @@
|
||||
import { daysAbbr, months } from '$lib/constants';
|
||||
import { addDays, getWeek, isDate, isSameDay, startOfWeek } from 'date-fns';
|
||||
import { onMount } from 'svelte';
|
||||
import Clock from './clock.svelte';
|
||||
import Icon from './icon.svelte';
|
||||
import Modal from './modal.svelte';
|
||||
import Clock from '../clock.svelte';
|
||||
import Icon from '../icon.svelte';
|
||||
import Modal from '../modal.svelte';
|
||||
|
||||
export let value;
|
||||
export let show = false;
|
@ -4,7 +4,7 @@
|
||||
import { ObjectId } from 'bson';
|
||||
import { onMount } from 'svelte';
|
||||
import Datepicker from './datepicker.svelte';
|
||||
import Icon from './icon.svelte';
|
||||
import Icon from '../icon.svelte';
|
||||
|
||||
export let column = {};
|
||||
export let value = undefined;
|
@ -22,7 +22,8 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<CodeEditor bind:editor
|
||||
<CodeEditor
|
||||
bind:editor
|
||||
bind:text
|
||||
on:inited
|
||||
on:updated
|
@ -2,8 +2,8 @@
|
||||
import { pathsAreEqual, resolveKeypath, setValue } from '$lib/objects';
|
||||
import contextMenu from '$lib/stores/contextmenu';
|
||||
import { createEventDispatcher } from 'svelte';
|
||||
import FormInput from './forminput.svelte';
|
||||
import Icon from './icon.svelte';
|
||||
import FormInput from '$components/editors/forminput.svelte';
|
||||
import Icon from '$components/icon.svelte';
|
||||
|
||||
export let items = [];
|
||||
export let columns = [];
|
@ -1,8 +1,8 @@
|
||||
<script>
|
||||
import { onDestroy } from 'svelte';
|
||||
import BlankState from './blankstate.svelte';
|
||||
import BlankState from '../blankstate.svelte';
|
||||
import GridItems from './grid-items.svelte';
|
||||
import Icon from './icon.svelte';
|
||||
import Icon from '../icon.svelte';
|
||||
|
||||
export let columns = [];
|
||||
export let items = [];
|
@ -4,7 +4,7 @@
|
||||
import { createEventDispatcher, onDestroy } from 'svelte';
|
||||
import Icon from './icon.svelte';
|
||||
import Modal from './modal.svelte';
|
||||
import ObjectEditor from './objecteditor.svelte';
|
||||
import ObjectEditor from './editors/objecteditor.svelte';
|
||||
|
||||
export let data;
|
||||
export let readonly = false;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<script>
|
||||
import DirectoryChooser from '$components/directorychooser.svelte';
|
||||
import DirectoryChooser from '$components/editors/directorychooser.svelte';
|
||||
import Modal from '$components/modal.svelte';
|
||||
import input from '$lib/actions/input';
|
||||
import settings from '$lib/stores/settings';
|
||||
|
@ -2,7 +2,7 @@
|
||||
import Details from '$components/details.svelte';
|
||||
import Icon from '$components/icon.svelte';
|
||||
import Modal from '$components/modal.svelte';
|
||||
import ObjectEditor from '$components/objecteditor.svelte';
|
||||
import ObjectEditor from '$components/editors/objecteditor.svelte';
|
||||
import { aggregationStageDocumentationURL, aggregationStages } from '$lib/mongo';
|
||||
import Collation from '$lib/mongo/collation.svelte';
|
||||
import { jsonLooseParse, looseJsonIsValid } from '$lib/strings';
|
||||
|
@ -1,5 +1,5 @@
|
||||
<script>
|
||||
import FormInput from '$components/forminput.svelte';
|
||||
import FormInput from '$components/editors/forminput.svelte';
|
||||
import Hint from '$components/hint.svelte';
|
||||
import Icon from '$components/icon.svelte';
|
||||
import { inputTypes } from '$lib/mongo';
|
||||
|
@ -1,5 +1,5 @@
|
||||
<script>
|
||||
import Grid from '$components/grid.svelte';
|
||||
import Grid from '$components/grid/grid.svelte';
|
||||
import Hint from '$components/hint.svelte';
|
||||
import Icon from '$components/icon.svelte';
|
||||
import Modal from '$components/modal.svelte';
|
||||
|
@ -1,7 +1,7 @@
|
||||
<script>
|
||||
import Grid from '$components/grid.svelte';
|
||||
import Grid from '$components/grid/grid.svelte';
|
||||
import Icon from '$components/icon.svelte';
|
||||
import ObjectGrid from '$components/objectgrid.svelte';
|
||||
import ObjectGrid from '$components/grid/objectgrid.svelte';
|
||||
import ObjectViewer from '$components/objectviewer.svelte';
|
||||
import input from '$lib/actions/input';
|
||||
import dialogs from '$lib/dialogs';
|
||||
|
@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import Icon from '$components/icon.svelte';
|
||||
import ObjectGrid from '$components/objectgrid.svelte';
|
||||
import ObjectGrid from '$components/grid/objectgrid.svelte';
|
||||
|
||||
export let collection;
|
||||
export let visible = false;
|
||||
|
@ -1,8 +1,8 @@
|
||||
<script>
|
||||
import Details from '$components/details.svelte';
|
||||
import Grid from '$components/grid.svelte';
|
||||
import Grid from '$components/grid/grid.svelte';
|
||||
import Icon from '$components/icon.svelte';
|
||||
import ObjectEditor from '$components/objecteditor.svelte';
|
||||
import ObjectEditor from '$components/editors/objecteditor.svelte';
|
||||
import ObjectViewer from '$components/objectviewer.svelte';
|
||||
import { randomString } from '$lib/math';
|
||||
import { inputTypes } from '$lib/mongo';
|
||||
|
@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import Icon from '$components/icon.svelte';
|
||||
import ObjectEditor from '$components/objecteditor.svelte';
|
||||
import ObjectEditor from '$components/editors/objecteditor.svelte';
|
||||
import { convertLooseJson } from '$lib/strings';
|
||||
import { RemoveItems } from '$wails/go/app/App';
|
||||
import { onMount } from 'svelte';
|
||||
|
@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import Icon from '$components/icon.svelte';
|
||||
import ObjectGrid from '$components/objectgrid.svelte';
|
||||
import ObjectGrid from '$components/grid/objectgrid.svelte';
|
||||
|
||||
export let collection;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import DirectoryChooser from '$components/directorychooser.svelte';
|
||||
import Grid from '$components/grid.svelte';
|
||||
import DirectoryChooser from '$components/editors/directorychooser.svelte';
|
||||
import Grid from '$components/grid/grid.svelte';
|
||||
import Modal from '$components/modal.svelte';
|
||||
import { startProgress } from '$lib/progress';
|
||||
import hostTree from '$lib/stores/hosttree';
|
||||
|
@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import Icon from '$components/icon.svelte';
|
||||
import ObjectGrid from '$components/objectgrid.svelte';
|
||||
import ObjectGrid from '$components/grid/objectgrid.svelte';
|
||||
|
||||
export let database;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<script>
|
||||
import Grid from '$components/grid.svelte';
|
||||
import Grid from '$components/grid/grid.svelte';
|
||||
import Icon from '$components/icon.svelte';
|
||||
import ObjectViewer from '$components/objectviewer.svelte';
|
||||
import input from '$lib/actions/input';
|
||||
|
@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import Icon from '$components/icon.svelte';
|
||||
import ObjectGrid from '$components/objectgrid.svelte';
|
||||
import ObjectGrid from '$components/grid/objectgrid.svelte';
|
||||
|
||||
export let host;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import Icon from '$components/icon.svelte';
|
||||
import ObjectGrid from '$components/objectgrid.svelte';
|
||||
import ObjectGrid from '$components/grid/objectgrid.svelte';
|
||||
|
||||
export let host;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<script>
|
||||
import Grid from '$components/grid.svelte';
|
||||
import Grid from '$components/grid/grid.svelte';
|
||||
import hostTree from '$lib/stores/hosttree';
|
||||
|
||||
export let path = [];
|
||||
|
@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import BlankState from '$components/blankstate.svelte';
|
||||
import CodeEditor from '$components/codeeditor.svelte';
|
||||
import CodeEditor from '$components/editors/codeeditor.svelte';
|
||||
import Icon from '$components/icon.svelte';
|
||||
import environment from '$lib/stores/environment';
|
||||
import { OpenShellScript, SaveShellScript } from '$wails/go/app/App';
|
||||
|
Loading…
Reference in New Issue
Block a user