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