windmill-components 1.13.6 → 1.13.9
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/components/ArgInfo.svelte +1 -1
- package/components/FlowBuilder.svelte +1 -1
- package/components/FlowBuilder.svelte.d.ts +1 -1
- package/components/FlowEditor.svelte +1 -1
- package/components/FlowEditor.svelte.d.ts +1 -1
- package/components/FlowPreview.svelte +1 -1
- package/components/FlowPreview.svelte.d.ts +1 -1
- package/components/FlowStatusViewer.svelte +1 -1
- package/components/FlowStatusViewer.svelte.d.ts +1 -1
- package/components/GroupModal.svelte +1 -1
- package/components/InviteGlobalUser.svelte +1 -1
- package/components/InviteUser.svelte +1 -1
- package/components/JobStatus.svelte.d.ts +1 -1
- package/components/ModuleStep.svelte.d.ts +1 -1
- package/components/ObjectResourceInput.svelte +1 -1
- package/components/Path.svelte +1 -1
- package/components/ResourceEditor.svelte +1 -1
- package/components/ResourcePicker.svelte +1 -1
- package/components/ResourceTypePicker.svelte +1 -1
- package/components/RunForm.svelte.d.ts +1 -1
- package/components/ScriptBuilder.svelte +1 -1
- package/components/ScriptBuilder.svelte.d.ts +1 -1
- package/components/ScriptEditor.svelte +1 -1
- package/components/ScriptPicker.svelte +1 -1
- package/components/ShareModal.svelte +1 -1
- package/components/VariableEditor.svelte +1 -1
- package/infer.d.ts +1 -1
- package/infer.js +2 -2
- package/logout.js +3 -3
- package/package.json +2 -2
- package/stores.d.ts +1 -1
- package/utils.d.ts +2 -2
- package/utils.js +3 -3
|
@@ -4,7 +4,7 @@ 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 '../gen';
|
|
7
|
+
import { ResourceService } from '../gen/index.js';
|
|
8
8
|
import { workspaceStore } from '../stores';
|
|
9
9
|
export let value;
|
|
10
10
|
let resourceViewer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script>import { faPlus } from '@fortawesome/free-solid-svg-icons';
|
|
2
2
|
import { emptySchema, loadSchema } from '../utils';
|
|
3
3
|
import Icon from 'svelte-awesome';
|
|
4
|
-
import { FlowModuleValue, ScriptService } from '../gen';
|
|
4
|
+
import { FlowModuleValue, ScriptService } from '../gen/index.js';
|
|
5
5
|
import SchemaEditor from './SchemaEditor.svelte';
|
|
6
6
|
import { workspaceStore } from '../stores';
|
|
7
7
|
import ModuleStep from './ModuleStep.svelte';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script>import { faChevronDown, faChevronUp } from '@fortawesome/free-solid-svg-icons';
|
|
2
2
|
import { sendUserToast, truncateRev } from '../utils';
|
|
3
3
|
import Icon from 'svelte-awesome';
|
|
4
|
-
import { Job, JobService, InputTransform } from '../gen';
|
|
4
|
+
import { Job, JobService, InputTransform } from '../gen/index.js';
|
|
5
5
|
import { workspaceStore } from '../stores';
|
|
6
6
|
import RunForm from './RunForm.svelte';
|
|
7
7
|
import FlowStatusViewer from './FlowStatusViewer.svelte';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
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 '../gen';
|
|
5
|
+
import { CompletedJob, FlowModuleValue, FlowStatusModule, JobService, QueuedJob } from '../gen/index.js';
|
|
6
6
|
import { workspaceStore } from '../stores';
|
|
7
7
|
import DisplayResult from './DisplayResult.svelte';
|
|
8
8
|
import ChevronButton from './ChevronButton.svelte';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { userStore, workspaceStore } from '../stores';
|
|
2
2
|
import Modal from './Modal.svelte';
|
|
3
|
-
import { GroupService, UserService } from '../gen';
|
|
3
|
+
import { GroupService, UserService } from '../gen/index.js';
|
|
4
4
|
import AutoComplete from 'simple-svelte-autocomplete';
|
|
5
5
|
import PageHeader from './PageHeader.svelte';
|
|
6
6
|
import TableCustom from './TableCustom.svelte';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script>import { sendUserToast } from '../utils';
|
|
2
2
|
import Switch from './Switch.svelte';
|
|
3
3
|
import { createEventDispatcher } from 'svelte';
|
|
4
|
-
import { UserService } from '../gen';
|
|
4
|
+
import { UserService } from '../gen/index.js';
|
|
5
5
|
const dispatch = createEventDispatcher();
|
|
6
6
|
let valid = true;
|
|
7
7
|
let modal;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import Switch from './Switch.svelte';
|
|
3
3
|
import { createEventDispatcher } from 'svelte';
|
|
4
4
|
import { workspaceStore } from '../stores';
|
|
5
|
-
import { WorkspaceService } from '../gen';
|
|
5
|
+
import { WorkspaceService } from '../gen/index.js';
|
|
6
6
|
const dispatch = createEventDispatcher();
|
|
7
7
|
let valid = true;
|
|
8
8
|
let modal;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
2
|
import type { Schema } from '../common';
|
|
3
|
-
import type { Flow, FlowModule } from '../gen';
|
|
3
|
+
import type { Flow, FlowModule } from '../gen/index.js';
|
|
4
4
|
import SchemaForm from './SchemaForm.svelte';
|
|
5
5
|
declare const __propDef: {
|
|
6
6
|
props: {
|
package/components/Path.svelte
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import { pathToMeta } from '../common';
|
|
2
|
-
import { GroupService } from '../gen';
|
|
2
|
+
import { GroupService } from '../gen/index.js';
|
|
3
3
|
import Tooltip from './Tooltip.svelte';
|
|
4
4
|
import { userStore, workspaceStore } from '../stores';
|
|
5
5
|
import { sleep } from '../utils';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<script>import { ResourceService, VariableService } from '../gen';
|
|
1
|
+
<script>import { ResourceService, VariableService } from '../gen/index.js';
|
|
2
2
|
import { allTrue, emptySchema, sendUserToast } from '../utils';
|
|
3
3
|
import { createEventDispatcher } from 'svelte';
|
|
4
4
|
import Modal from './Modal.svelte';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import { createEventDispatcher } from 'svelte';
|
|
2
|
-
import { ResourceService } from '../gen';
|
|
2
|
+
import { ResourceService } from '../gen/index.js';
|
|
3
3
|
import { workspaceStore } from '../stores';
|
|
4
4
|
import IconedResourceType from './IconedResourceType.svelte';
|
|
5
5
|
let resources = [];
|
|
@@ -46,7 +46,7 @@ export async function main(x: string, y: string = 'default arg') {
|
|
|
46
46
|
`
|
|
47
47
|
</script>
|
|
48
48
|
|
|
49
|
-
<script>import { ScriptService } from '../gen';
|
|
49
|
+
<script>import { ScriptService } from '../gen/index.js';
|
|
50
50
|
import { emptySchema, sendUserToast } from '../utils';
|
|
51
51
|
import { onDestroy } from 'svelte';
|
|
52
52
|
import ScriptEditor from './ScriptEditor.svelte';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<script>import { JobService, Job, CompletedJob, VariableService, ResourceService, ScriptService } from '../gen';
|
|
1
|
+
<script>import { JobService, Job, CompletedJob, VariableService, ResourceService, ScriptService } from '../gen/index.js';
|
|
2
2
|
import { sendUserToast, emptySchema, displayDate } from '../utils';
|
|
3
3
|
import { fade } from 'svelte/transition';
|
|
4
4
|
import Icon from 'svelte-awesome';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import { sendUserToast } from '../utils';
|
|
2
|
-
import { ScriptService, FlowService, Script } from '../gen';
|
|
2
|
+
import { ScriptService, FlowService, Script } from '../gen/index.js';
|
|
3
3
|
import Icon from 'svelte-awesome';
|
|
4
4
|
import { faSearch } from '@fortawesome/free-solid-svg-icons';
|
|
5
5
|
import { hubScripts, workspaceStore } from '../stores';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import TableCustom from './TableCustom.svelte';
|
|
3
3
|
import { GranularAclService } from '../gen/services/GranularAclService';
|
|
4
4
|
import { sendUserToast } from '../utils';
|
|
5
|
-
import { GroupService, UserService } from '../gen';
|
|
5
|
+
import { GroupService, UserService } from '../gen/index.js';
|
|
6
6
|
import { createEventDispatcher } from 'svelte';
|
|
7
7
|
import AutoComplete from 'simple-svelte-autocomplete';
|
|
8
8
|
import { workspaceStore } from '../stores';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import Password from './Password.svelte';
|
|
2
2
|
import { sendUserToast } from '../utils';
|
|
3
|
-
import { VariableService } from '../gen';
|
|
3
|
+
import { VariableService } from '../gen/index.js';
|
|
4
4
|
import AutosizedTextarea from './AutosizedTextarea.svelte';
|
|
5
5
|
import Path from './Path.svelte';
|
|
6
6
|
import Modal from './Modal.svelte';
|
package/infer.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Schema } from './common';
|
|
1
|
+
import type { Schema } from './common.js';
|
|
2
2
|
export declare function inferArgs(language: 'python3' | 'deno', code: string, schema: Schema): Promise<void>;
|
package/infer.js
CHANGED
package/logout.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { goto } from '$app/navigation';
|
|
2
|
-
import { UserService } from './gen';
|
|
3
|
-
import { clearStores } from './stores';
|
|
4
|
-
import { sendUserToast } from './utils';
|
|
2
|
+
import { UserService } from './gen/index.js';
|
|
3
|
+
import { clearStores } from './stores.js';
|
|
4
|
+
import { sendUserToast } from './utils.js';
|
|
5
5
|
export function logoutWithRedirect(rd) {
|
|
6
6
|
const error = encodeURIComponent('You have been logged out because your session has expired.');
|
|
7
7
|
goto(`/user/login?error=${error}${rd ? '&rd=' + encodeURIComponent(rd) : ''}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "windmill-components",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.9",
|
|
4
4
|
"devDependencies": {
|
|
5
5
|
"@sveltejs/adapter-node": "^1.0.0-next.78",
|
|
6
6
|
"@sveltejs/adapter-static": "^1.0.0-next.34",
|
|
@@ -174,4 +174,4 @@
|
|
|
174
174
|
"./stores": "./stores.js",
|
|
175
175
|
"./utils": "./utils.js"
|
|
176
176
|
}
|
|
177
|
-
}
|
|
177
|
+
}
|
package/stores.d.ts
CHANGED
package/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type User } from './gen';
|
|
2
|
-
import { type UserExt } from './stores';
|
|
1
|
+
import { type User } from './gen/index.js';
|
|
2
|
+
import { type UserExt } from './stores.js';
|
|
3
3
|
export declare function isToday(someDate: Date): boolean;
|
|
4
4
|
export declare function daysAgo(someDate: Date): number;
|
|
5
5
|
export declare function secondsAgo(date: Date): number;
|
package/utils.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
|
|
2
2
|
import { toast } from '@zerodevx/svelte-toast';
|
|
3
3
|
import { get } from 'svelte/store';
|
|
4
|
-
import { ScriptService, UserService } from './gen';
|
|
5
|
-
import { inferArgs } from './infer';
|
|
6
|
-
import { superadmin, workspaceStore } from './stores';
|
|
4
|
+
import { ScriptService, UserService } from './gen/index.js';
|
|
5
|
+
import { inferArgs } from './infer.js';
|
|
6
|
+
import { superadmin, workspaceStore } from './stores.js';
|
|
7
7
|
export function isToday(someDate) {
|
|
8
8
|
const today = new Date();
|
|
9
9
|
return (someDate.getDate() == today.getDate() &&
|