windmill-components 1.138.6 → 1.138.7

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.
@@ -4,8 +4,6 @@ import { Badge, Button } from './common';
4
4
  import { createEventDispatcher } from 'svelte';
5
5
  import Icon from 'svelte-awesome';
6
6
  import FieldHeader from './FieldHeader.svelte';
7
- import ObjectResourceInput from './ObjectResourceInput.svelte';
8
- import ResourcePicker from './ResourcePicker.svelte';
9
7
  import autosize from 'svelte-autosize';
10
8
  import Toggle from './Toggle.svelte';
11
9
  import Range from './Range.svelte';
@@ -13,6 +11,8 @@ import LightweightSchemaForm from './LightweightSchemaForm.svelte';
13
11
  import { twMerge } from 'tailwind-merge';
14
12
  import { fade } from 'svelte/transition';
15
13
  import { X } from 'lucide-svelte';
14
+ import LightweightResourcePicker from './LightweightResourcePicker.svelte';
15
+ import LightweightObjectResourceInput from './LightweightObjectResourceInput.svelte';
16
16
  export let css = undefined;
17
17
  export let label = '';
18
18
  export let value;
@@ -253,7 +253,7 @@ $: inputCat = computeInputCat(type, format, itemsType?.type, enum_, contentEncod
253
253
  </span>
254
254
  </div>
255
255
  {:else if inputCat == 'resource-object'}
256
- <ObjectResourceInput {format} bind:value />
256
+ <LightweightObjectResourceInput {format} bind:value />
257
257
  {:else if inputCat == 'object'}
258
258
  {#if properties && Object.keys(properties).length > 0}
259
259
  <div class="p-4 pl-8 border rounded w-full">
@@ -300,7 +300,7 @@ $: inputCat = computeInputCat(type, format, itemsType?.type, enum_, contentEncod
300
300
  />
301
301
  {:else if inputCat == 'resource-string'}
302
302
  <div class="flex flex-row gap-x-1 w-full">
303
- <ResourcePicker
303
+ <LightweightResourcePicker
304
304
  bind:value
305
305
  resourceType={format.split('-').length > 1
306
306
  ? format.substring('resource-'.length)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-components",
3
- "version": "1.138.6",
3
+ "version": "1.138.7",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build",