svelte-tweakpane-ui 1.5.3 → 1.5.4

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.
Files changed (103) hide show
  1. package/dist/control/Button.svelte +30 -30
  2. package/dist/control/Button.svelte.d.ts +18 -18
  3. package/dist/control/ButtonGrid.svelte +25 -25
  4. package/dist/control/ButtonGrid.svelte.d.ts +35 -35
  5. package/dist/control/Checkbox.svelte +2 -2
  6. package/dist/control/Checkbox.svelte.d.ts +23 -23
  7. package/dist/control/Color.svelte +34 -34
  8. package/dist/control/Color.svelte.d.ts +40 -40
  9. package/dist/control/CubicBezier.svelte +30 -30
  10. package/dist/control/CubicBezier.svelte.d.ts +47 -47
  11. package/dist/control/File.svelte +20 -20
  12. package/dist/control/File.svelte.d.ts +38 -38
  13. package/dist/control/Image.svelte +22 -22
  14. package/dist/control/Image.svelte.d.ts +31 -31
  15. package/dist/control/IntervalSlider.svelte +24 -24
  16. package/dist/control/IntervalSlider.svelte.d.ts +39 -39
  17. package/dist/control/List.svelte +35 -35
  18. package/dist/control/List.svelte.d.ts +31 -31
  19. package/dist/control/Point.svelte +31 -31
  20. package/dist/control/Point.svelte.d.ts +81 -81
  21. package/dist/control/RadioGrid.svelte +24 -24
  22. package/dist/control/RadioGrid.svelte.d.ts +40 -40
  23. package/dist/control/Ring.svelte +9 -9
  24. package/dist/control/Ring.svelte.d.ts +40 -40
  25. package/dist/control/RotationEuler.svelte +25 -25
  26. package/dist/control/RotationEuler.svelte.d.ts +53 -53
  27. package/dist/control/RotationQuaternion.svelte +24 -24
  28. package/dist/control/RotationQuaternion.svelte.d.ts +47 -47
  29. package/dist/control/Slider.svelte +9 -9
  30. package/dist/control/Slider.svelte.d.ts +32 -32
  31. package/dist/control/Stepper.svelte +16 -16
  32. package/dist/control/Stepper.svelte.d.ts +32 -32
  33. package/dist/control/Text.svelte +13 -13
  34. package/dist/control/Text.svelte.d.ts +26 -26
  35. package/dist/control/Textarea.svelte +34 -34
  36. package/dist/control/Textarea.svelte.d.ts +29 -29
  37. package/dist/control/Wheel.svelte +8 -8
  38. package/dist/control/Wheel.svelte.d.ts +32 -32
  39. package/dist/core/Binding.svelte +60 -60
  40. package/dist/core/Binding.svelte.d.ts +33 -33
  41. package/dist/core/Blade.svelte +30 -30
  42. package/dist/core/Blade.svelte.d.ts +21 -21
  43. package/dist/core/Folder.svelte +34 -34
  44. package/dist/core/Folder.svelte.d.ts +22 -22
  45. package/dist/core/Pane.svelte +17 -17
  46. package/dist/core/Pane.svelte.d.ts +56 -56
  47. package/dist/core/Separator.svelte +5 -5
  48. package/dist/core/Separator.svelte.d.ts +20 -20
  49. package/dist/core/TabGroup.svelte +29 -29
  50. package/dist/core/TabGroup.svelte.d.ts +18 -18
  51. package/dist/core/TabPage.svelte +36 -36
  52. package/dist/core/TabPage.svelte.d.ts +21 -21
  53. package/dist/extra/AutoObject.svelte +20 -20
  54. package/dist/extra/AutoObject.svelte.d.ts +22 -22
  55. package/dist/extra/AutoValue.svelte +3 -3
  56. package/dist/extra/AutoValue.svelte.d.ts +26 -26
  57. package/dist/extra/Element.svelte +10 -10
  58. package/dist/extra/Element.svelte.d.ts +26 -26
  59. package/dist/index.d.ts +48 -48
  60. package/dist/index.js +35 -35
  61. package/dist/internal/ClsPad.svelte +11 -11
  62. package/dist/internal/ClsPad.svelte.d.ts +17 -17
  63. package/dist/internal/GenericBinding.svelte +11 -11
  64. package/dist/internal/GenericBinding.svelte.d.ts +25 -25
  65. package/dist/internal/GenericBladeFolding.svelte +19 -19
  66. package/dist/internal/GenericBladeFolding.svelte.d.ts +20 -20
  67. package/dist/internal/GenericInput.svelte +7 -7
  68. package/dist/internal/GenericInput.svelte.d.ts +27 -27
  69. package/dist/internal/GenericInputFolding.svelte +21 -21
  70. package/dist/internal/GenericInputFolding.svelte.d.ts +32 -32
  71. package/dist/internal/GenericMonitor.svelte +10 -10
  72. package/dist/internal/GenericMonitor.svelte.d.ts +29 -29
  73. package/dist/internal/GenericPane.svelte +48 -48
  74. package/dist/internal/GenericPane.svelte.d.ts +22 -22
  75. package/dist/internal/GenericSlider.svelte +15 -15
  76. package/dist/internal/GenericSlider.svelte.d.ts +29 -29
  77. package/dist/internal/InternalMonitorBoolean.svelte +5 -5
  78. package/dist/internal/InternalMonitorBoolean.svelte.d.ts +31 -31
  79. package/dist/internal/InternalMonitorNumber.svelte +14 -14
  80. package/dist/internal/InternalMonitorNumber.svelte.d.ts +37 -37
  81. package/dist/internal/InternalMonitorString.svelte +9 -9
  82. package/dist/internal/InternalMonitorString.svelte.d.ts +32 -32
  83. package/dist/internal/InternalPaneDraggable.svelte +169 -173
  84. package/dist/internal/InternalPaneDraggable.svelte.d.ts +30 -30
  85. package/dist/internal/InternalPaneFixed.svelte +13 -13
  86. package/dist/internal/InternalPaneFixed.svelte.d.ts +23 -23
  87. package/dist/internal/InternalPaneInline.svelte +14 -14
  88. package/dist/internal/InternalPaneInline.svelte.d.ts +21 -21
  89. package/dist/monitor/FpsGraph.svelte +35 -35
  90. package/dist/monitor/FpsGraph.svelte.d.ts +50 -42
  91. package/dist/monitor/Monitor.svelte +4 -4
  92. package/dist/monitor/Monitor.svelte.d.ts +87 -88
  93. package/dist/monitor/Profiler.svelte +37 -37
  94. package/dist/monitor/Profiler.svelte.d.ts +78 -76
  95. package/dist/monitor/WaveformMonitor.svelte +12 -12
  96. package/dist/monitor/WaveformMonitor.svelte.d.ts +39 -39
  97. package/dist/theme.d.ts +61 -61
  98. package/dist/theme.js +49 -53
  99. package/dist/utils.d.ts +62 -66
  100. package/dist/utils.js +78 -78
  101. package/license.txt +1 -1
  102. package/package.json +100 -115
  103. package/readme.md +1 -1
@@ -3,15 +3,15 @@
3
3
  <script
4
4
  generics="T extends any, U extends GenericInputOptions = GenericInputOptions, V extends GenericInputRef = GenericInputRef"
5
5
  >
6
- import GenericBinding from './GenericBinding.svelte';
7
- export let options = void 0;
8
- export let ref = void 0;
9
- export let value;
10
- let optionsInternal;
6
+ import GenericBinding from './GenericBinding.svelte'
7
+ export let options = void 0
8
+ export let ref = void 0
9
+ export let value
10
+ let optionsInternal
11
11
  $: optionsInternal = {
12
12
  ...options,
13
- readonly: false
14
- };
13
+ readonly: false,
14
+ }
15
15
  </script>
16
16
 
17
17
  <GenericBinding bind:value bind:ref on:change options={optionsInternal} {...$$restProps} />
@@ -1,37 +1,37 @@
1
- import { SvelteComponent } from 'svelte';
2
- import type { BaseInputParams, InputBindingApi } from '@tweakpane/core';
3
- export type GenericInputOptions = BaseInputParams;
4
- export type GenericInputRef = InputBindingApi;
1
+ import { SvelteComponent } from 'svelte'
2
+ import type { BaseInputParams, InputBindingApi } from '@tweakpane/core'
3
+ export type GenericInputOptions = BaseInputParams
4
+ export type GenericInputRef = InputBindingApi
5
5
  declare class __sveltets_Render<
6
6
  T extends any,
7
7
  U extends GenericInputOptions = GenericInputOptions,
8
- V extends GenericInputRef = GenericInputRef
8
+ V extends GenericInputRef = GenericInputRef,
9
9
  > {
10
10
  props(): {
11
11
  /**
12
12
  * The value to control.
13
13
  * @bindable
14
14
  */
15
- value: T;
15
+ value: T
16
16
  } & Omit<
17
17
  {
18
18
  /**
19
19
  * The binding's target object with values to manipulate.
20
20
  * @bindable
21
21
  */
22
- object: import('@tweakpane/core').Bindable & Record<string, T>;
22
+ object: import('@tweakpane/core').Bindable & Record<string, T>
23
23
  /** The key for the value in the target `object` that the control should manipulate. */
24
- key: string;
24
+ key: string
25
25
  /**
26
26
  * Prevent interactivity and gray out the control.
27
27
  * @default `false`
28
28
  */
29
- disabled?: boolean;
29
+ disabled?: boolean
30
30
  /**
31
31
  * Text displayed next to control.
32
32
  * @default `undefined`
33
33
  */
34
- label?: string | undefined;
34
+ label?: string | undefined
35
35
  /**
36
36
  * Tweakpane's internal options object.
37
37
  *
@@ -44,7 +44,7 @@ declare class __sveltets_Render<
44
44
  * Tweakpane UI_.
45
45
  * @default `undefined`
46
46
  */
47
- options?: U | undefined;
47
+ options?: U | undefined
48
48
  /**
49
49
  * Custom color scheme.
50
50
  *
@@ -52,7 +52,7 @@ declare class __sveltets_Render<
52
52
  * Inherits default Tweakpane theme equivalent to `ThemeUtils.presets.standard`, or the theme
53
53
  * set with `setGlobalDefaultTheme()`.
54
54
  */
55
- theme?: import('..').Theme | undefined;
55
+ theme?: import('..').Theme | undefined
56
56
  /**
57
57
  * Reference to internal Tweakpane
58
58
  * [`BindingApi`](https://tweakpane.github.io/docs/api/classes/_internal_.BindingApi.html) for
@@ -66,7 +66,7 @@ declare class __sveltets_Render<
66
66
  * @bindable
67
67
  * @readonly
68
68
  */
69
- ref?: V | undefined;
69
+ ref?: V | undefined
70
70
  /**
71
71
  * Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to automatically register in
72
72
  * the `<Binding>`'s containing `<Pane>`.
@@ -78,32 +78,32 @@ declare class __sveltets_Render<
78
78
  *
79
79
  * @default `undefined`
80
80
  */
81
- plugin?: import('..').Plugin | undefined;
81
+ plugin?: import('..').Plugin | undefined
82
82
  },
83
83
  'object' | 'key'
84
- >;
84
+ >
85
85
  events(): {
86
- change: import('..').BindingChangeEvent;
86
+ change: import('..').BindingChangeEvent
87
87
  } & {
88
- [evt: string]: CustomEvent<any>;
89
- };
90
- slots(): {};
88
+ [evt: string]: CustomEvent<any>
89
+ }
90
+ slots(): {}
91
91
  }
92
92
  export type GenericInputProps<
93
93
  T extends any,
94
94
  U extends GenericInputOptions = GenericInputOptions,
95
- V extends GenericInputRef = GenericInputRef
96
- > = ReturnType<__sveltets_Render<T, U, V>['props']>;
95
+ V extends GenericInputRef = GenericInputRef,
96
+ > = ReturnType<__sveltets_Render<T, U, V>['props']>
97
97
  export type GenericInputEvents<
98
98
  T extends any,
99
99
  U extends GenericInputOptions = GenericInputOptions,
100
- V extends GenericInputRef = GenericInputRef
101
- > = ReturnType<__sveltets_Render<T, U, V>['events']>;
100
+ V extends GenericInputRef = GenericInputRef,
101
+ > = ReturnType<__sveltets_Render<T, U, V>['events']>
102
102
  export type GenericInputSlots<
103
103
  T extends any,
104
104
  U extends GenericInputOptions = GenericInputOptions,
105
- V extends GenericInputRef = GenericInputRef
106
- > = ReturnType<__sveltets_Render<T, U, V>['slots']>;
105
+ V extends GenericInputRef = GenericInputRef,
106
+ > = ReturnType<__sveltets_Render<T, U, V>['slots']>
107
107
  /**
108
108
  * This component is for internal use only.
109
109
  *
@@ -113,10 +113,10 @@ export type GenericInputSlots<
113
113
  export default class GenericInput<
114
114
  T extends any,
115
115
  U extends GenericInputOptions = GenericInputOptions,
116
- V extends GenericInputRef = GenericInputRef
116
+ V extends GenericInputRef = GenericInputRef,
117
117
  > extends SvelteComponent<
118
118
  GenericInputProps<T, U, V>,
119
119
  GenericInputEvents<T, U, V>,
120
120
  GenericInputSlots<T, U, V>
121
121
  > {}
122
- export {};
122
+ export {}
@@ -3,38 +3,38 @@
3
3
  <script
4
4
  generics="T extends any, U extends GenericInputFoldingOptions = GenericInputFoldingOptions, V extends GenericInputFoldingRef = GenericInputFoldingRef"
5
5
  >
6
- import GenericInput from './GenericInput.svelte';
7
- import { updateCollapsibility } from '../utils.js';
8
- export let value;
9
- export let ref = void 0;
10
- export let options = void 0;
11
- export let userExpandable = true;
12
- export let expanded = false;
13
- export let buttonClass = '';
14
- export let picker = void 0;
15
- let optionsInternal;
16
- let gotBinding = false;
17
- const initialExpanded = expanded;
18
- let internalExpanded = initialExpanded;
6
+ import GenericInput from './GenericInput.svelte'
7
+ import { updateCollapsibility } from '../utils.js'
8
+ export let value
9
+ export let ref = void 0
10
+ export let options = void 0
11
+ export let userExpandable = true
12
+ export let expanded = false
13
+ export let buttonClass = ''
14
+ export let picker = void 0
15
+ let optionsInternal
16
+ let gotBinding = false
17
+ const initialExpanded = expanded
18
+ let internalExpanded = initialExpanded
19
19
  $: if (!gotBinding && ref) {
20
- gotBinding = true;
20
+ gotBinding = true
21
21
  ref.controller?.valueController?.foldable_?.value('expanded').emitter.on('change', (event) => {
22
- internalExpanded = event.rawValue;
23
- expanded = internalExpanded;
24
- });
22
+ internalExpanded = event.rawValue
23
+ expanded = internalExpanded
24
+ })
25
25
  }
26
26
  $: optionsInternal = {
27
27
  ...options,
28
28
  expanded: initialExpanded,
29
29
  // Only set once
30
- picker
31
- };
32
- $: ref && buttonClass && updateCollapsibility(userExpandable ?? true, ref.element, buttonClass);
30
+ picker,
31
+ }
32
+ $: ref && buttonClass && updateCollapsibility(userExpandable ?? true, ref.element, buttonClass)
33
33
  $: ref &&
34
34
  buttonClass &&
35
35
  expanded !== internalExpanded &&
36
36
  ref.element.querySelectorAll(`.${buttonClass}`).length > 0 &&
37
- ref.element.querySelector(`.${buttonClass}`)?.click();
37
+ ref.element.querySelector(`.${buttonClass}`)?.click()
38
38
  </script>
39
39
 
40
40
  <GenericInput bind:value bind:ref on:change options={optionsInternal} {...$$restProps} />
@@ -1,61 +1,61 @@
1
- import { SvelteComponent } from 'svelte';
2
- import type { GenericInputOptions, GenericInputRef } from './GenericInput.svelte';
1
+ import { SvelteComponent } from 'svelte'
2
+ import type { GenericInputOptions, GenericInputRef } from './GenericInput.svelte'
3
3
  export type GenericInputFoldingOptions = {
4
- expanded?: boolean;
5
- } & GenericInputOptions;
6
- export type GenericInputFoldingRef = GenericInputRef;
4
+ expanded?: boolean
5
+ } & GenericInputOptions
6
+ export type GenericInputFoldingRef = GenericInputRef
7
7
  declare class __sveltets_Render<
8
8
  T extends any,
9
9
  U extends GenericInputFoldingOptions = GenericInputFoldingOptions,
10
- V extends GenericInputFoldingRef = GenericInputFoldingRef
10
+ V extends GenericInputFoldingRef = GenericInputFoldingRef,
11
11
  > {
12
12
  props(): {
13
13
  /**
14
14
  * DOM class name of the button used to expand and collapse the input's picker.
15
15
  * @default `undefined`
16
16
  * */
17
- buttonClass?: string;
17
+ buttonClass?: string
18
18
  /**
19
19
  * Expand or collapse the input's picker.
20
20
  * @default `false`
21
21
  * @bindable
22
22
  * */
23
- expanded?: boolean;
23
+ expanded?: boolean
24
24
  /**
25
25
  * The style of value "picker" to use in the input.
26
26
  * @default `'popup'`
27
27
  */
28
- picker?: 'inline' | 'popup';
28
+ picker?: 'inline' | 'popup'
29
29
  /**
30
30
  * Allow users to interactively expand / contract the picker.
31
31
  * @default `true`
32
32
  * */
33
- userExpandable?: boolean;
33
+ userExpandable?: boolean
34
34
  } & {
35
35
  /**
36
36
  * The value to control.
37
37
  * @bindable
38
38
  */
39
- value: T;
39
+ value: T
40
40
  } & Omit<
41
41
  {
42
42
  /**
43
43
  * The binding's target object with values to manipulate.
44
44
  * @bindable
45
45
  */
46
- object: import('@tweakpane/core').Bindable & Record<string, T>;
46
+ object: import('@tweakpane/core').Bindable & Record<string, T>
47
47
  /** The key for the value in the target `object` that the control should manipulate. */
48
- key: string;
48
+ key: string
49
49
  /**
50
50
  * Prevent interactivity and gray out the control.
51
51
  * @default `false`
52
52
  */
53
- disabled?: boolean;
53
+ disabled?: boolean
54
54
  /**
55
55
  * Text displayed next to control.
56
56
  * @default `undefined`
57
57
  */
58
- label?: string | undefined;
58
+ label?: string | undefined
59
59
  /**
60
60
  * Tweakpane's internal options object.
61
61
  *
@@ -68,7 +68,7 @@ declare class __sveltets_Render<
68
68
  * Tweakpane UI_.
69
69
  * @default `undefined`
70
70
  */
71
- options?: U | undefined;
71
+ options?: U | undefined
72
72
  /**
73
73
  * Custom color scheme.
74
74
  *
@@ -76,7 +76,7 @@ declare class __sveltets_Render<
76
76
  * Inherits default Tweakpane theme equivalent to `ThemeUtils.presets.standard`, or the theme
77
77
  * set with `setGlobalDefaultTheme()`.
78
78
  */
79
- theme?: import('..').Theme | undefined;
79
+ theme?: import('..').Theme | undefined
80
80
  /**
81
81
  * Reference to internal Tweakpane
82
82
  * [`BindingApi`](https://tweakpane.github.io/docs/api/classes/_internal_.BindingApi.html) for
@@ -90,7 +90,7 @@ declare class __sveltets_Render<
90
90
  * @bindable
91
91
  * @readonly
92
92
  */
93
- ref?: V | undefined;
93
+ ref?: V | undefined
94
94
  /**
95
95
  * Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to automatically register in
96
96
  * the `<Binding>`'s containing `<Pane>`.
@@ -102,32 +102,32 @@ declare class __sveltets_Render<
102
102
  *
103
103
  * @default `undefined`
104
104
  */
105
- plugin?: import('../utils.js').Plugin | undefined;
105
+ plugin?: import('../utils.js').Plugin | undefined
106
106
  },
107
107
  'object' | 'key'
108
- >;
108
+ >
109
109
  events(): {
110
- change: import('..').BindingChangeEvent;
110
+ change: import('..').BindingChangeEvent
111
111
  } & {
112
- [evt: string]: CustomEvent<any>;
113
- };
114
- slots(): {};
112
+ [evt: string]: CustomEvent<any>
113
+ }
114
+ slots(): {}
115
115
  }
116
116
  export type GenericInputFoldingProps<
117
117
  T extends any,
118
118
  U extends GenericInputFoldingOptions = GenericInputFoldingOptions,
119
- V extends GenericInputFoldingRef = GenericInputFoldingRef
120
- > = ReturnType<__sveltets_Render<T, U, V>['props']>;
119
+ V extends GenericInputFoldingRef = GenericInputFoldingRef,
120
+ > = ReturnType<__sveltets_Render<T, U, V>['props']>
121
121
  export type GenericInputFoldingEvents<
122
122
  T extends any,
123
123
  U extends GenericInputFoldingOptions = GenericInputFoldingOptions,
124
- V extends GenericInputFoldingRef = GenericInputFoldingRef
125
- > = ReturnType<__sveltets_Render<T, U, V>['events']>;
124
+ V extends GenericInputFoldingRef = GenericInputFoldingRef,
125
+ > = ReturnType<__sveltets_Render<T, U, V>['events']>
126
126
  export type GenericInputFoldingSlots<
127
127
  T extends any,
128
128
  U extends GenericInputFoldingOptions = GenericInputFoldingOptions,
129
- V extends GenericInputFoldingRef = GenericInputFoldingRef
130
- > = ReturnType<__sveltets_Render<T, U, V>['slots']>;
129
+ V extends GenericInputFoldingRef = GenericInputFoldingRef,
130
+ > = ReturnType<__sveltets_Render<T, U, V>['slots']>
131
131
  /**
132
132
  * This component is for internal use only.
133
133
  *
@@ -137,10 +137,10 @@ export type GenericInputFoldingSlots<
137
137
  export default class GenericInputFolding<
138
138
  T extends any,
139
139
  U extends GenericInputFoldingOptions = GenericInputFoldingOptions,
140
- V extends GenericInputFoldingRef = GenericInputFoldingRef
140
+ V extends GenericInputFoldingRef = GenericInputFoldingRef,
141
141
  > extends SvelteComponent<
142
142
  GenericInputFoldingProps<T, U, V>,
143
143
  GenericInputFoldingEvents<T, U, V>,
144
144
  GenericInputFoldingSlots<T, U, V>
145
145
  > {}
146
- export {};
146
+ export {}
@@ -3,22 +3,22 @@
3
3
  <script
4
4
  generics="T extends any, U extends GenericMonitorOptions, V extends GenericMonitorRef = GenericMonitorRef"
5
5
  >
6
- import GenericBinding from './GenericBinding.svelte';
7
- export let value;
8
- export let ref = void 0;
9
- export let options = void 0;
10
- export let rows = void 0;
11
- export let bufferSize = void 0;
12
- export let interval = void 0;
13
- let optionsInternal;
6
+ import GenericBinding from './GenericBinding.svelte'
7
+ export let value
8
+ export let ref = void 0
9
+ export let options = void 0
10
+ export let rows = void 0
11
+ export let bufferSize = void 0
12
+ export let interval = void 0
13
+ let optionsInternal
14
14
  $: optionsInternal = {
15
15
  bufferSize,
16
16
  interval: interval ?? 0,
17
17
  // Zero confirmed as never updating (not same interface as setInterval())
18
18
  rows,
19
19
  ...options,
20
- readonly: true
21
- };
20
+ readonly: true,
21
+ }
22
22
  </script>
23
23
 
24
24
  <GenericBinding {value} bind:ref options={optionsInternal} {...$$restProps} />
@@ -1,11 +1,11 @@
1
- import { SvelteComponent } from 'svelte';
2
- import type { BaseMonitorParams, MonitorBindingApi } from '@tweakpane/core';
3
- export type GenericMonitorOptions = BaseMonitorParams;
4
- export type GenericMonitorRef = MonitorBindingApi;
1
+ import { SvelteComponent } from 'svelte'
2
+ import type { BaseMonitorParams, MonitorBindingApi } from '@tweakpane/core'
3
+ export type GenericMonitorOptions = BaseMonitorParams
4
+ export type GenericMonitorRef = MonitorBindingApi
5
5
  declare class __sveltets_Render<
6
6
  T extends any,
7
7
  U extends GenericMonitorOptions,
8
- V extends GenericMonitorRef = GenericMonitorRef
8
+ V extends GenericMonitorRef = GenericMonitorRef,
9
9
  > {
10
10
  props(): {
11
11
  /**
@@ -13,14 +13,14 @@ declare class __sveltets_Render<
13
13
  * @default `1` \
14
14
  * Or `64` if value is `number` and `graph` is `true`.
15
15
  * */
16
- bufferSize?: number;
16
+ bufferSize?: number
17
17
  /**
18
18
  * Time between value samples in milliseconds.
19
19
  *
20
20
  * Useful when `graph` is true. Defaults to reactive value updates only (`interval={0}`).
21
21
  * @default `0`
22
22
  * */
23
- interval?: number;
23
+ interval?: number
24
24
  /**
25
25
  * Number of visible rows of state history.
26
26
  *
@@ -29,32 +29,32 @@ declare class __sveltets_Render<
29
29
  * @default `1` \
30
30
  * Or `3` if value is `string` and `multiline` is `true`.
31
31
  * */
32
- rows?: number;
32
+ rows?: number
33
33
  } & {
34
34
  /**
35
35
  * The value to control.
36
36
  * @bindable
37
37
  */
38
- value: T;
38
+ value: T
39
39
  } & Omit<
40
40
  {
41
41
  /**
42
42
  * The binding's target object with values to manipulate.
43
43
  * @bindable
44
44
  */
45
- object: import('@tweakpane/core').Bindable & Record<string, T>;
45
+ object: import('@tweakpane/core').Bindable & Record<string, T>
46
46
  /** The key for the value in the target `object` that the control should manipulate. */
47
- key: string;
47
+ key: string
48
48
  /**
49
49
  * Prevent interactivity and gray out the control.
50
50
  * @default `false`
51
51
  */
52
- disabled?: boolean;
52
+ disabled?: boolean
53
53
  /**
54
54
  * Text displayed next to control.
55
55
  * @default `undefined`
56
56
  */
57
- label?: string | undefined;
57
+ label?: string | undefined
58
58
  /**
59
59
  * Tweakpane's internal options object.
60
60
  *
@@ -67,7 +67,7 @@ declare class __sveltets_Render<
67
67
  * Tweakpane UI_.
68
68
  * @default `undefined`
69
69
  */
70
- options?: U | undefined;
70
+ options?: U | undefined
71
71
  /**
72
72
  * Custom color scheme.
73
73
  *
@@ -75,7 +75,7 @@ declare class __sveltets_Render<
75
75
  * Inherits default Tweakpane theme equivalent to `ThemeUtils.presets.standard`, or the theme
76
76
  * set with `setGlobalDefaultTheme()`.
77
77
  */
78
- theme?: import('..').Theme | undefined;
78
+ theme?: import('..').Theme | undefined
79
79
  /**
80
80
  * Reference to internal Tweakpane
81
81
  * [`BindingApi`](https://tweakpane.github.io/docs/api/classes/_internal_.BindingApi.html) for
@@ -89,7 +89,7 @@ declare class __sveltets_Render<
89
89
  * @bindable
90
90
  * @readonly
91
91
  */
92
- ref?: V | undefined;
92
+ ref?: V | undefined
93
93
  /**
94
94
  * Imported Tweakpane `TpPluginBundle` (aliased as `Plugin`) module to automatically register in
95
95
  * the `<Binding>`'s containing `<Pane>`.
@@ -101,30 +101,30 @@ declare class __sveltets_Render<
101
101
  *
102
102
  * @default `undefined`
103
103
  */
104
- plugin?: import('..').Plugin | undefined;
104
+ plugin?: import('..').Plugin | undefined
105
105
  },
106
106
  'object' | 'key'
107
- >;
107
+ >
108
108
  events(): {} & {
109
- [evt: string]: CustomEvent<any>;
110
- };
111
- slots(): {};
109
+ [evt: string]: CustomEvent<any>
110
+ }
111
+ slots(): {}
112
112
  }
113
113
  export type GenericMonitorProps<
114
114
  T extends any,
115
115
  U extends GenericMonitorOptions,
116
- V extends GenericMonitorRef = GenericMonitorRef
117
- > = ReturnType<__sveltets_Render<T, U, V>['props']>;
116
+ V extends GenericMonitorRef = GenericMonitorRef,
117
+ > = ReturnType<__sveltets_Render<T, U, V>['props']>
118
118
  export type GenericMonitorEvents<
119
119
  T extends any,
120
120
  U extends GenericMonitorOptions,
121
- V extends GenericMonitorRef = GenericMonitorRef
122
- > = ReturnType<__sveltets_Render<T, U, V>['events']>;
121
+ V extends GenericMonitorRef = GenericMonitorRef,
122
+ > = ReturnType<__sveltets_Render<T, U, V>['events']>
123
123
  export type GenericMonitorSlots<
124
124
  T extends any,
125
125
  U extends GenericMonitorOptions,
126
- V extends GenericMonitorRef = GenericMonitorRef
127
- > = ReturnType<__sveltets_Render<T, U, V>['slots']>;
126
+ V extends GenericMonitorRef = GenericMonitorRef,
127
+ > = ReturnType<__sveltets_Render<T, U, V>['slots']>
128
128
  /**
129
129
  * This component is for internal use only.
130
130
  *
@@ -134,10 +134,10 @@ export type GenericMonitorSlots<
134
134
  export default class GenericMonitor<
135
135
  T extends any,
136
136
  U extends GenericMonitorOptions,
137
- V extends GenericMonitorRef = GenericMonitorRef
137
+ V extends GenericMonitorRef = GenericMonitorRef,
138
138
  > extends SvelteComponent<
139
139
  GenericMonitorProps<T, U, V>,
140
140
  GenericMonitorEvents<T, U, V>,
141
141
  GenericMonitorSlots<T, U, V>
142
142
  > {}
143
- export {};
143
+ export {}