windmill-components 1.501.9 → 1.501.11
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.
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
<script lang="ts">import {
|
|
2
|
-
import { workspaceStore } from '../stores';
|
|
1
|
+
<script lang="ts">import { workspaceStore } from '../stores';
|
|
3
2
|
import ClipboardPanel from './details/ClipboardPanel.svelte';
|
|
4
|
-
|
|
3
|
+
let url = $derived(`${window.location.protocol}//${window.location.hostname}/`);
|
|
5
4
|
</script>
|
|
6
5
|
|
|
7
6
|
<div>
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
$$bindings?: Bindings;
|
|
4
|
-
} & Exports;
|
|
5
|
-
(internal: unknown, props: {
|
|
6
|
-
$$events?: Events;
|
|
7
|
-
$$slots?: Slots;
|
|
8
|
-
}): Exports & {
|
|
9
|
-
$set?: any;
|
|
10
|
-
$on?: any;
|
|
11
|
-
};
|
|
12
|
-
z_$$bindings?: Bindings;
|
|
13
|
-
}
|
|
14
|
-
declare const CliHelpBox: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
15
|
-
[evt: string]: CustomEvent<any>;
|
|
16
|
-
}, {}, {}, string>;
|
|
17
|
-
type CliHelpBox = InstanceType<typeof CliHelpBox>;
|
|
1
|
+
declare const CliHelpBox: import("svelte").Component<Record<string, never>, {}, "">;
|
|
2
|
+
type CliHelpBox = ReturnType<typeof CliHelpBox>;
|
|
18
3
|
export default CliHelpBox;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { page } from '$app/state';
|
|
2
1
|
import { ResourceService } from '../../../../gen';
|
|
3
2
|
import { workspaceStore } from '../../../../stores';
|
|
4
3
|
import { get } from 'svelte/store';
|
|
@@ -171,7 +170,7 @@ function getTriggerableComponents() {
|
|
|
171
170
|
// Function to get the current page name
|
|
172
171
|
function getCurrentPageName() {
|
|
173
172
|
try {
|
|
174
|
-
const currentPage =
|
|
173
|
+
const currentPage = window.location.pathname;
|
|
175
174
|
switch (currentPage) {
|
|
176
175
|
case '/':
|
|
177
176
|
return 'Home Page';
|
|
@@ -11,11 +11,11 @@ import Section from '../../Section.svelte';
|
|
|
11
11
|
import ScriptPicker from '../../ScriptPicker.svelte';
|
|
12
12
|
import Required from '../../Required.svelte';
|
|
13
13
|
import GcpTriggerEditorConfigSection from './GcpTriggerEditorConfigSection.svelte';
|
|
14
|
-
import { base } from '$app/paths';
|
|
15
14
|
import { untrack } from 'svelte';
|
|
16
15
|
import TriggerEditorToolbar from '../TriggerEditorToolbar.svelte';
|
|
17
16
|
import { saveGcpTriggerFromCfg } from './utils';
|
|
18
17
|
import { handleConfigChange } from '../utils';
|
|
18
|
+
import { base } from '../../../base';
|
|
19
19
|
let drawer = $state(undefined);
|
|
20
20
|
let is_flow = $state(false);
|
|
21
21
|
let initialPath = $state('');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "windmill-components",
|
|
3
|
-
"version": "1.501.
|
|
3
|
+
"version": "1.501.11",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"build": "vite build",
|
|
@@ -526,6 +526,12 @@
|
|
|
526
526
|
],
|
|
527
527
|
"tailwindUtils": [
|
|
528
528
|
"./package/components/apps/editor/componentsPanel/tailwindUtils.d.ts"
|
|
529
|
+
],
|
|
530
|
+
"components/scriptBuilder": [
|
|
531
|
+
"./package/components/scriptBuilder.d.ts"
|
|
532
|
+
],
|
|
533
|
+
"components/custom_ui": [
|
|
534
|
+
"./package/components/custom_ui.d.ts"
|
|
529
535
|
]
|
|
530
536
|
}
|
|
531
537
|
},
|