windmill-components 1.13.0 → 1.13.3
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/common.js +23 -0
- package/components/ArgInfo.svelte +3 -3
- package/{lib/components → components}/ArgInfo.svelte.d.ts +0 -0
- package/{lib/components → components}/ArgInput.svelte.d.ts +2 -2
- package/{lib/components → components}/AutosizedTextarea.svelte.d.ts +0 -0
- package/{lib/components → components}/Badge.svelte.d.ts +0 -0
- package/{lib/components → components}/Button.svelte.d.ts +0 -0
- package/{lib/components → components}/ButtonAndDropdown.svelte.d.ts +1 -1
- package/{lib/components → components}/CenteredPage.svelte.d.ts +0 -0
- package/{lib/components → components}/ChevronButton.svelte.d.ts +0 -0
- package/{lib/components → components}/DisplayResult.svelte.d.ts +0 -0
- package/components/Dropdown.svelte +1 -1
- package/{lib/components → components}/Dropdown.svelte.d.ts +1 -1
- package/components/Editor.svelte +3 -0
- package/{lib/components → components}/Editor.svelte.d.ts +2 -0
- package/{lib/components → components}/FieldHeader.svelte.d.ts +2 -1
- package/components/FlowBuilder.svelte +3 -3
- package/{lib/components → components}/FlowBuilder.svelte.d.ts +1 -1
- package/components/FlowEditor.svelte +3 -3
- package/{lib/components → components}/FlowEditor.svelte.d.ts +1 -1
- package/components/FlowPreview.svelte +3 -3
- package/{lib/components → components}/FlowPreview.svelte.d.ts +2 -2
- package/components/FlowStatusViewer.svelte +3 -3
- package/{lib/components → components}/FlowStatusViewer.svelte.d.ts +1 -1
- package/components/GroupModal.svelte +3 -3
- package/{lib/components → components}/GroupModal.svelte.d.ts +0 -0
- package/{lib/components → components}/IconedResourceType.svelte.d.ts +0 -0
- package/components/InviteGlobalUser.svelte +2 -2
- package/{lib/components → components}/InviteGlobalUser.svelte.d.ts +0 -0
- package/components/InviteUser.svelte +3 -3
- package/{lib/components → components}/InviteUser.svelte.d.ts +0 -0
- package/{lib/components → components}/ItemPicker.svelte.d.ts +0 -0
- package/components/JobStatus.svelte +1 -1
- package/{lib/components → components}/JobStatus.svelte.d.ts +1 -1
- package/{lib/components → components}/Modal.svelte.d.ts +0 -0
- package/components/ModuleStep.svelte +1 -1
- package/{lib/components → components}/ModuleStep.svelte.d.ts +2 -2
- package/{lib/components → components}/Multiselect.svelte.d.ts +0 -0
- package/components/ObjectResourceInput.svelte +2 -2
- package/{lib/components → components}/ObjectResourceInput.svelte.d.ts +0 -0
- package/{lib/components → components}/ObjectTypeNarrowing.svelte.d.ts +0 -0
- package/{lib/components → components}/PageHeader.svelte.d.ts +0 -0
- package/{lib/components → components}/Password.svelte.d.ts +0 -0
- package/components/Path.svelte +4 -4
- package/{lib/components → components}/Path.svelte.d.ts +1 -1
- package/{lib/components → components}/RadioButton.svelte.d.ts +0 -0
- package/{lib/components → components}/Required.svelte.d.ts +0 -0
- package/components/ResourceEditor.svelte +3 -3
- package/{lib/components → components}/ResourceEditor.svelte.d.ts +0 -0
- package/components/ResourcePicker.svelte +2 -2
- package/{lib/components → components}/ResourcePicker.svelte.d.ts +0 -0
- package/components/ResourceTypePicker.svelte +2 -2
- package/{lib/components → components}/ResourceTypePicker.svelte.d.ts +0 -0
- package/components/RunForm.svelte +1 -1
- package/{lib/components → components}/RunForm.svelte.d.ts +1 -1
- package/components/SchemaEditor.svelte +76 -71
- package/{lib/components → components}/SchemaEditor.svelte.d.ts +1 -4
- package/components/SchemaForm.svelte +1 -1
- package/{lib/components → components}/SchemaForm.svelte.d.ts +1 -1
- package/{lib/components → components}/SchemaModal.svelte.d.ts +1 -1
- package/components/SchemaViewer.svelte +1 -1
- package/{lib/components → components}/SchemaViewer.svelte.d.ts +1 -1
- package/components/ScriptBuilder.svelte +4 -4
- package/{lib/components → components}/ScriptBuilder.svelte.d.ts +1 -1
- package/components/ScriptEditor.svelte +4 -4
- package/{lib/components → components}/ScriptEditor.svelte.d.ts +2 -2
- package/components/ScriptPicker.svelte +3 -3
- package/{lib/components → components}/ScriptPicker.svelte.d.ts +0 -0
- package/{lib/components → components}/ScriptSchema.svelte.d.ts +1 -1
- package/components/ShareModal.svelte +4 -4
- package/{lib/components → components}/ShareModal.svelte.d.ts +0 -0
- package/components/SharedBadge.svelte +1 -1
- package/{lib/components → components}/SharedBadge.svelte.d.ts +0 -0
- package/{lib/components → components}/StringTypeNarrowing.svelte.d.ts +0 -0
- package/{lib/components → components}/Switch.svelte.d.ts +0 -0
- package/{lib/components → components}/TableCustom.svelte.d.ts +0 -0
- package/{lib/components → components}/TableSimple.svelte.d.ts +0 -0
- package/{lib/components → components}/Tabs.svelte.d.ts +0 -0
- package/{lib/components → components}/Tooltip.svelte.d.ts +0 -0
- package/components/VariableEditor.svelte +3 -3
- package/{lib/components → components}/VariableEditor.svelte.d.ts +0 -0
- package/{lib/components → components}/icons/DbIcon.svelte.d.ts +0 -0
- package/{lib/components → components}/icons/Mail.svelte.d.ts +0 -0
- package/{lib/components → components}/icons/Mysql.svelte.d.ts +0 -0
- package/{lib/components → components}/icons/PostgresIcon.svelte.d.ts +0 -0
- package/{lib/components → components}/icons/Slack.svelte.d.ts +0 -0
- package/gen/core/ApiError.js +10 -0
- package/gen/core/ApiRequestOptions.js +1 -0
- package/gen/core/ApiResult.js +1 -0
- package/gen/core/CancelablePromise.js +86 -0
- package/gen/core/OpenAPI.js +11 -0
- package/gen/core/request.js +261 -0
- package/gen/index.js +30 -0
- package/gen/models/AuditLog.js +29 -0
- package/gen/models/CompletedJob.js +19 -0
- package/gen/models/ContextualVariable.js +4 -0
- package/gen/models/CreateResource.js +4 -0
- package/gen/models/CreateVariable.js +4 -0
- package/gen/models/CreateWorkspace.js +4 -0
- package/gen/models/EditResource.js +4 -0
- package/gen/models/EditResourceType.js +4 -0
- package/gen/models/EditSchedule.js +4 -0
- package/gen/models/EditVariable.js +4 -0
- package/gen/models/EditWorkspaceUser.js +4 -0
- package/gen/models/Flow.js +4 -0
- package/gen/models/FlowModule.js +4 -0
- package/gen/models/FlowModuleValue.js +11 -0
- package/gen/models/FlowPreview.js +4 -0
- package/gen/models/FlowStatus.js +4 -0
- package/gen/models/FlowStatusModule.js +15 -0
- package/gen/models/FlowValue.js +4 -0
- package/gen/models/GlobalUserInfo.js +11 -0
- package/gen/models/Group.js +4 -0
- package/gen/models/InputTransform.js +11 -0
- package/gen/models/Job.js +11 -0
- package/gen/models/ListableVariable.js +4 -0
- package/gen/models/Login.js +4 -0
- package/gen/models/MainArgSignature.js +4 -0
- package/gen/models/NewSchedule.js +4 -0
- package/gen/models/NewToken.js +4 -0
- package/gen/models/NewUser.js +4 -0
- package/gen/models/Preview.js +11 -0
- package/gen/models/QueuedJob.js +19 -0
- package/gen/models/Resource.js +4 -0
- package/gen/models/ResourceType.js +4 -0
- package/gen/models/Schedule.js +4 -0
- package/gen/models/Script.js +11 -0
- package/gen/models/ScriptArgs.js +4 -0
- package/gen/models/TruncatedToken.js +4 -0
- package/gen/models/User.js +4 -0
- package/gen/models/UserWorkspaceList.js +4 -0
- package/gen/models/WorkerPing.js +4 -0
- package/gen/models/Workspace.js +4 -0
- package/gen/models/WorkspaceInvite.js +4 -0
- package/gen/services/AdminService.js +52 -0
- package/gen/services/AuditService.js +43 -0
- package/gen/services/FlowService.js +90 -0
- package/gen/services/GranularAclService.js +56 -0
- package/gen/services/GroupService.js +133 -0
- package/gen/services/JobService.js +260 -0
- package/gen/services/ResourceService.js +177 -0
- package/gen/services/ScheduleService.js +100 -0
- package/gen/services/ScriptService.js +188 -0
- package/gen/services/SettingsService.js +26 -0
- package/gen/services/UserService.js +302 -0
- package/gen/services/VariableService.js +98 -0
- package/gen/services/WorkerService.js +19 -0
- package/gen/services/WorkspaceService.js +185 -0
- package/infer.js +81 -0
- package/package.json +69 -3
- package/stores.js +26 -0
- package/utils.js +258 -0
package/common.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export function pathToMeta(path) {
|
|
2
|
+
const splitted = path.split('/');
|
|
3
|
+
let ownerKind;
|
|
4
|
+
if (splitted[0] == 'g') {
|
|
5
|
+
ownerKind = 'group';
|
|
6
|
+
}
|
|
7
|
+
else if (splitted[0] == 'u') {
|
|
8
|
+
ownerKind = 'user';
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
console.error('Not recognized owner:' + splitted[0]);
|
|
12
|
+
return {
|
|
13
|
+
ownerKind: 'user',
|
|
14
|
+
owner: '',
|
|
15
|
+
name: ''
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
ownerKind,
|
|
20
|
+
owner: splitted[1],
|
|
21
|
+
name: splitted.slice(2).join('/')
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<script>import { truncate } from '
|
|
1
|
+
<script>import { truncate } from '../utils';
|
|
2
2
|
import Modal from './Modal.svelte';
|
|
3
3
|
import Tooltip from './Tooltip.svelte';
|
|
4
4
|
import json from 'svelte-highlight/languages/json';
|
|
5
5
|
import github from 'svelte-highlight/styles/github';
|
|
6
6
|
import { Highlight } from 'svelte-highlight';
|
|
7
|
-
import { ResourceService } from '
|
|
8
|
-
import { workspaceStore } from '
|
|
7
|
+
import { ResourceService } from '../gen';
|
|
8
|
+
import { workspaceStore } from '../stores';
|
|
9
9
|
export let value;
|
|
10
10
|
let resourceViewer;
|
|
11
11
|
let resource;
|
|
File without changes
|
|
@@ -17,8 +17,8 @@ declare const __propDef: {
|
|
|
17
17
|
disabled?: boolean | undefined;
|
|
18
18
|
editableSchema?: boolean | undefined;
|
|
19
19
|
itemsType?: {
|
|
20
|
-
type?: "string" | "number" | undefined;
|
|
21
|
-
contentEncoding?:
|
|
20
|
+
type?: "string" | "number" | "bytes" | undefined;
|
|
21
|
+
contentEncoding?: "base64" | undefined;
|
|
22
22
|
} | undefined;
|
|
23
23
|
displayHeader?: boolean | undefined;
|
|
24
24
|
evalValueToRaw?: (() => void) | undefined;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/components/Editor.svelte
CHANGED
|
@@ -6,6 +6,8 @@ import editorWorker from 'monaco-editor/esm/vs/editor/editor.worker?worker';
|
|
|
6
6
|
import jsonWorker from 'monaco-editor/esm/vs/language/json/json.worker?worker';
|
|
7
7
|
import tsWorker from 'monaco-editor/esm/vs/language/typescript/ts.worker?worker';
|
|
8
8
|
import * as vscode from 'vscode';
|
|
9
|
+
import { createEventDispatcher } from 'svelte';
|
|
10
|
+
const dispatch = createEventDispatcher();
|
|
9
11
|
let divEl = null;
|
|
10
12
|
let editor;
|
|
11
13
|
export let deno = false;
|
|
@@ -255,6 +257,7 @@ async function loadMonaco() {
|
|
|
255
257
|
});
|
|
256
258
|
editor.onDidChangeModelContent((event) => {
|
|
257
259
|
code = getCode();
|
|
260
|
+
dispatch('change');
|
|
258
261
|
});
|
|
259
262
|
if (lang == 'json') {
|
|
260
263
|
monaco.languages.json.jsonDefaults.setDiagnosticsOptions({
|
|
@@ -7,7 +7,8 @@ declare const __propDef: {
|
|
|
7
7
|
type?: string | undefined;
|
|
8
8
|
required?: boolean | undefined;
|
|
9
9
|
itemsType?: {
|
|
10
|
-
type?: "string" | "number" | undefined;
|
|
10
|
+
type?: "string" | "number" | "bytes" | undefined;
|
|
11
|
+
contentEncoding?: "base64" | undefined;
|
|
11
12
|
} | undefined;
|
|
12
13
|
};
|
|
13
14
|
events: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<script>import { FlowService } from '
|
|
2
|
-
import { sendUserToast } from '
|
|
1
|
+
<script>import { FlowService } from '../gen';
|
|
2
|
+
import { sendUserToast } from '../utils';
|
|
3
3
|
import { page } from '$app/stores';
|
|
4
4
|
import { goto } from '$app/navigation';
|
|
5
5
|
import Path from './Path.svelte';
|
|
6
6
|
import SvelteMarkdown from 'svelte-markdown';
|
|
7
|
-
import { workspaceStore } from '
|
|
7
|
+
import { workspaceStore } from '../stores';
|
|
8
8
|
import ScriptSchema from './ScriptSchema.svelte';
|
|
9
9
|
import Required from './Required.svelte';
|
|
10
10
|
import FlowEditor from './FlowEditor.svelte';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script>import { faPlus } from '@fortawesome/free-solid-svg-icons';
|
|
2
|
-
import { emptySchema, loadSchema } from '
|
|
2
|
+
import { emptySchema, loadSchema } from '../utils';
|
|
3
3
|
import Icon from 'svelte-awesome';
|
|
4
|
-
import { FlowModuleValue, ScriptService } from '
|
|
4
|
+
import { FlowModuleValue, ScriptService } from '../gen';
|
|
5
5
|
import SchemaEditor from './SchemaEditor.svelte';
|
|
6
|
-
import { workspaceStore } from '
|
|
6
|
+
import { workspaceStore } from '../stores';
|
|
7
7
|
import ModuleStep from './ModuleStep.svelte';
|
|
8
8
|
import FlowPreview from './FlowPreview.svelte';
|
|
9
9
|
export let flow;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script>import { faChevronDown, faChevronUp } from '@fortawesome/free-solid-svg-icons';
|
|
2
|
-
import { sendUserToast, truncateRev } from '
|
|
2
|
+
import { sendUserToast, truncateRev } from '../utils';
|
|
3
3
|
import Icon from 'svelte-awesome';
|
|
4
|
-
import { Job, JobService, InputTransform } from '
|
|
5
|
-
import { workspaceStore } from '
|
|
4
|
+
import { Job, JobService, InputTransform } from '../gen';
|
|
5
|
+
import { workspaceStore } from '../stores';
|
|
6
6
|
import RunForm from './RunForm.svelte';
|
|
7
7
|
import FlowStatusViewer from './FlowStatusViewer.svelte';
|
|
8
8
|
import { onDestroy } from 'svelte';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import { type Flow } from '
|
|
3
|
-
import type { Schema } from '
|
|
2
|
+
import { type Flow } from '../gen';
|
|
3
|
+
import type { Schema } from '../common';
|
|
4
4
|
declare const __propDef: {
|
|
5
5
|
props: {
|
|
6
6
|
i: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script>import { faHourglassHalf, faSpinner, faTimes } from '@fortawesome/free-solid-svg-icons';
|
|
2
|
-
import { truncateRev } from '
|
|
2
|
+
import { truncateRev } from '../utils';
|
|
3
3
|
import Icon from 'svelte-awesome';
|
|
4
4
|
import { check } from 'svelte-awesome/icons';
|
|
5
|
-
import { CompletedJob, FlowModuleValue, FlowStatusModule, JobService, QueuedJob } from '
|
|
6
|
-
import { workspaceStore } from '
|
|
5
|
+
import { CompletedJob, FlowModuleValue, FlowStatusModule, JobService, QueuedJob } from '../gen';
|
|
6
|
+
import { workspaceStore } from '../stores';
|
|
7
7
|
import DisplayResult from './DisplayResult.svelte';
|
|
8
8
|
import ChevronButton from './ChevronButton.svelte';
|
|
9
9
|
import JobStatus from './JobStatus.svelte';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<script>import { userStore, workspaceStore } from '
|
|
1
|
+
<script>import { userStore, workspaceStore } from '../stores';
|
|
2
2
|
import Modal from './Modal.svelte';
|
|
3
|
-
import { GroupService, UserService } from '
|
|
3
|
+
import { GroupService, UserService } from '../gen';
|
|
4
4
|
import AutoComplete from 'simple-svelte-autocomplete';
|
|
5
5
|
import PageHeader from './PageHeader.svelte';
|
|
6
6
|
import TableCustom from './TableCustom.svelte';
|
|
7
|
-
import { canWrite } from '
|
|
7
|
+
import { canWrite } from '../utils';
|
|
8
8
|
let name = '';
|
|
9
9
|
let modal;
|
|
10
10
|
let can_write = false;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<script>import { sendUserToast } from '
|
|
1
|
+
<script>import { sendUserToast } from '../utils';
|
|
2
2
|
import Switch from './Switch.svelte';
|
|
3
3
|
import { createEventDispatcher } from 'svelte';
|
|
4
|
-
import { UserService } from '
|
|
4
|
+
import { UserService } from '../gen';
|
|
5
5
|
const dispatch = createEventDispatcher();
|
|
6
6
|
let valid = true;
|
|
7
7
|
let modal;
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<script>import { sendUserToast } from '
|
|
1
|
+
<script>import { sendUserToast } from '../utils';
|
|
2
2
|
import Switch from './Switch.svelte';
|
|
3
3
|
import { createEventDispatcher } from 'svelte';
|
|
4
|
-
import { workspaceStore } from '
|
|
5
|
-
import { WorkspaceService } from '
|
|
4
|
+
import { workspaceStore } from '../stores';
|
|
5
|
+
import { WorkspaceService } from '../gen';
|
|
6
6
|
const dispatch = createEventDispatcher();
|
|
7
7
|
let valid = true;
|
|
8
8
|
let modal;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import { faCalendar, faCircle, faClock, faHourglassHalf, faTimes } from '@fortawesome/free-solid-svg-icons';
|
|
2
|
-
import { displayDate, forLater } from '
|
|
2
|
+
import { displayDate, forLater } from '../utils';
|
|
3
3
|
import Icon from 'svelte-awesome';
|
|
4
4
|
import { check } from 'svelte-awesome/icons';
|
|
5
5
|
const SMALL_ICON_SCALE = 0.7;
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import SchemaForm from './SchemaForm.svelte';
|
|
2
2
|
import ScriptPicker from './ScriptPicker.svelte';
|
|
3
|
-
import { emptySchema, loadSchema as UloadSchema } from '
|
|
3
|
+
import { emptySchema, loadSchema as UloadSchema } from '../utils';
|
|
4
4
|
import FlowPreview from './FlowPreview.svelte';
|
|
5
5
|
export let flow;
|
|
6
6
|
export let i;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { Schema } from '
|
|
3
|
-
import type { Flow, FlowModule } from '
|
|
2
|
+
import type { Schema } from '../common';
|
|
3
|
+
import type { Flow, FlowModule } from '../gen';
|
|
4
4
|
import SchemaForm from './SchemaForm.svelte';
|
|
5
5
|
declare const __propDef: {
|
|
6
6
|
props: {
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<script>import { ResourceService } from '
|
|
1
|
+
<script>import { ResourceService } from '../gen';
|
|
2
2
|
import ResourcePicker from './ResourcePicker.svelte';
|
|
3
|
-
import { workspaceStore } from '
|
|
3
|
+
import { workspaceStore } from '../stores';
|
|
4
4
|
import SchemaForm from './SchemaForm.svelte';
|
|
5
5
|
import RadioButton from './RadioButton.svelte';
|
|
6
6
|
export let format;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/components/Path.svelte
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<script>import { pathToMeta } from '
|
|
2
|
-
import { GroupService } from '
|
|
1
|
+
<script>import { pathToMeta } from '../common';
|
|
2
|
+
import { GroupService } from '../gen';
|
|
3
3
|
import Tooltip from './Tooltip.svelte';
|
|
4
|
-
import { userStore, workspaceStore } from '
|
|
5
|
-
import { sleep } from '
|
|
4
|
+
import { userStore, workspaceStore } from '../stores';
|
|
5
|
+
import { sleep } from '../utils';
|
|
6
6
|
export let meta = {
|
|
7
7
|
ownerKind: 'user',
|
|
8
8
|
owner: '',
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<script>import { ResourceService, VariableService } from '
|
|
2
|
-
import { allTrue, emptySchema, sendUserToast } from '
|
|
1
|
+
<script>import { ResourceService, VariableService } from '../gen';
|
|
2
|
+
import { allTrue, emptySchema, sendUserToast } from '../utils';
|
|
3
3
|
import { createEventDispatcher } from 'svelte';
|
|
4
4
|
import Modal from './Modal.svelte';
|
|
5
5
|
import Path from './Path.svelte';
|
|
@@ -8,7 +8,7 @@ import AutosizedTextarea from './AutosizedTextarea.svelte';
|
|
|
8
8
|
import ItemPicker from './ItemPicker.svelte';
|
|
9
9
|
import VariableEditor from './VariableEditor.svelte';
|
|
10
10
|
import Required from './Required.svelte';
|
|
11
|
-
import { workspaceStore } from '
|
|
11
|
+
import { workspaceStore } from '../stores';
|
|
12
12
|
import ResourceTypePicker from './ResourceTypePicker.svelte';
|
|
13
13
|
let path = '';
|
|
14
14
|
let initialPath = '';
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<script>import { ResourceService } from '
|
|
2
|
-
import { workspaceStore } from '
|
|
1
|
+
<script>import { ResourceService } from '../gen';
|
|
2
|
+
import { workspaceStore } from '../stores';
|
|
3
3
|
let resources = [];
|
|
4
4
|
export let value;
|
|
5
5
|
export let resourceType;
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { createEventDispatcher } from 'svelte';
|
|
2
|
-
import { ResourceService } from '
|
|
3
|
-
import { workspaceStore } from '
|
|
2
|
+
import { ResourceService } from '../gen';
|
|
3
|
+
import { workspaceStore } from '../stores';
|
|
4
4
|
import IconedResourceType from './IconedResourceType.svelte';
|
|
5
5
|
let resources = [];
|
|
6
6
|
export let value;
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import { page } from '$app/stores';
|
|
2
|
-
import { getToday } from '
|
|
2
|
+
import { getToday } from '../utils';
|
|
3
3
|
import { slide } from 'svelte/transition';
|
|
4
4
|
import { faChevronDown, faChevronUp } from '@fortawesome/free-solid-svg-icons';
|
|
5
5
|
import Icon from 'svelte-awesome';
|