@builder.io/sdk-svelte 0.13.1 → 0.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.
Files changed (172) hide show
  1. package/lib/browser/blocks/columns/columns.svelte +0 -1
  2. package/lib/browser/blocks/columns/columns.svelte.d.ts +8 -10
  3. package/lib/browser/blocks/columns/columns.types.d.ts +2 -2
  4. package/lib/browser/blocks/form/form/component-info.d.ts +2 -0
  5. package/lib/browser/blocks/form/form/form.svelte +302 -0
  6. package/lib/browser/blocks/form/input/component-info.d.ts +2 -0
  7. package/lib/browser/blocks/{input → form/input}/input.svelte +3 -3
  8. package/lib/browser/blocks/form/select/component-info.d.ts +2 -0
  9. package/lib/{node/blocks → browser/blocks/form}/select/select.svelte +3 -3
  10. package/lib/browser/blocks/form/submit-button/component-info.d.ts +2 -0
  11. package/lib/{node/blocks → browser/blocks/form}/submit-button/submit-button.svelte +2 -2
  12. package/lib/browser/blocks/slot/slot.svelte +1 -0
  13. package/lib/browser/blocks/slot/slot.svelte.d.ts +4 -7
  14. package/lib/browser/blocks/symbol/symbol.svelte +0 -1
  15. package/lib/browser/blocks/symbol/symbol.svelte.d.ts +7 -9
  16. package/lib/browser/blocks/symbol/symbol.types.d.ts +2 -2
  17. package/lib/browser/components/block/block.svelte +4 -2
  18. package/lib/browser/components/block/components/block-wrapper.svelte.d.ts +4 -4
  19. package/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
  20. package/lib/browser/components/content/content.types.d.ts +1 -8
  21. package/lib/browser/components/content/contentProps.types.d.ts +12 -0
  22. package/lib/browser/components/content/contentProps.types.js +1 -0
  23. package/lib/browser/components/dynamic-renderer/dynamic-renderer.svelte +2 -0
  24. package/lib/browser/constants/builder-registered-components.js +5 -24
  25. package/lib/browser/constants/extra-components.d.ts +7 -0
  26. package/lib/browser/constants/extra-components.js +47 -0
  27. package/lib/browser/constants/sdk-version.d.ts +1 -1
  28. package/lib/browser/constants/sdk-version.js +1 -1
  29. package/lib/browser/functions/get-env.d.ts +2 -0
  30. package/lib/browser/functions/get-env.js +5 -0
  31. package/lib/browser/functions/get.d.ts +1 -0
  32. package/lib/browser/functions/get.js +4 -0
  33. package/lib/browser/types/builder-props.d.ts +1 -1
  34. package/lib/browser/types/input.d.ts +1 -0
  35. package/lib/browser/types/typescript.d.ts +0 -3
  36. package/lib/edge/blocks/columns/columns.svelte +0 -1
  37. package/lib/edge/blocks/columns/columns.svelte.d.ts +8 -10
  38. package/lib/edge/blocks/columns/columns.types.d.ts +2 -2
  39. package/lib/edge/blocks/form/form/component-info.d.ts +2 -0
  40. package/lib/edge/blocks/form/form/form.svelte +302 -0
  41. package/lib/edge/blocks/form/input/component-info.d.ts +2 -0
  42. package/lib/{node/blocks → edge/blocks/form}/input/input.svelte +3 -3
  43. package/lib/edge/blocks/form/select/component-info.d.ts +2 -0
  44. package/lib/{browser/blocks → edge/blocks/form}/select/select.svelte +3 -3
  45. package/lib/edge/blocks/form/submit-button/component-info.d.ts +2 -0
  46. package/lib/edge/blocks/{submit-button → form/submit-button}/submit-button.svelte +2 -2
  47. package/lib/edge/blocks/slot/slot.svelte +1 -0
  48. package/lib/edge/blocks/slot/slot.svelte.d.ts +4 -7
  49. package/lib/edge/blocks/symbol/symbol.svelte +0 -1
  50. package/lib/edge/blocks/symbol/symbol.svelte.d.ts +7 -9
  51. package/lib/edge/blocks/symbol/symbol.types.d.ts +2 -2
  52. package/lib/edge/components/block/block.svelte +4 -2
  53. package/lib/edge/components/block/components/block-wrapper.svelte.d.ts +4 -4
  54. package/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
  55. package/lib/edge/components/content/content.types.d.ts +1 -8
  56. package/lib/edge/components/content/contentProps.types.d.ts +12 -0
  57. package/lib/edge/components/content/contentProps.types.js +1 -0
  58. package/lib/edge/components/dynamic-renderer/dynamic-renderer.svelte +2 -0
  59. package/lib/edge/constants/builder-registered-components.js +5 -24
  60. package/lib/edge/constants/extra-components.d.ts +7 -0
  61. package/lib/edge/constants/extra-components.js +47 -0
  62. package/lib/edge/constants/sdk-version.d.ts +1 -1
  63. package/lib/edge/constants/sdk-version.js +1 -1
  64. package/lib/edge/functions/get-env.d.ts +2 -0
  65. package/lib/edge/functions/get-env.js +5 -0
  66. package/lib/edge/functions/get.d.ts +1 -0
  67. package/lib/edge/functions/get.js +4 -0
  68. package/lib/edge/types/builder-props.d.ts +1 -1
  69. package/lib/edge/types/input.d.ts +1 -0
  70. package/lib/edge/types/typescript.d.ts +0 -3
  71. package/lib/node/blocks/columns/columns.svelte +0 -1
  72. package/lib/node/blocks/columns/columns.svelte.d.ts +8 -10
  73. package/lib/node/blocks/columns/columns.types.d.ts +2 -2
  74. package/lib/node/blocks/form/form/component-info.d.ts +2 -0
  75. package/lib/node/blocks/form/form/form.svelte +302 -0
  76. package/lib/node/blocks/form/input/component-info.d.ts +2 -0
  77. package/lib/{edge/blocks → node/blocks/form}/input/input.svelte +3 -3
  78. package/lib/node/blocks/form/select/component-info.d.ts +2 -0
  79. package/lib/{edge/blocks → node/blocks/form}/select/select.svelte +3 -3
  80. package/lib/node/blocks/form/submit-button/component-info.d.ts +2 -0
  81. package/lib/{browser/blocks → node/blocks/form}/submit-button/submit-button.svelte +2 -2
  82. package/lib/node/blocks/slot/slot.svelte +1 -0
  83. package/lib/node/blocks/slot/slot.svelte.d.ts +4 -7
  84. package/lib/node/blocks/symbol/symbol.svelte +0 -1
  85. package/lib/node/blocks/symbol/symbol.svelte.d.ts +7 -9
  86. package/lib/node/blocks/symbol/symbol.types.d.ts +2 -2
  87. package/lib/node/components/block/block.svelte +4 -2
  88. package/lib/node/components/block/components/block-wrapper.svelte.d.ts +4 -4
  89. package/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
  90. package/lib/node/components/content/content.types.d.ts +1 -8
  91. package/lib/node/components/content/contentProps.types.d.ts +12 -0
  92. package/lib/node/components/content/contentProps.types.js +1 -0
  93. package/lib/node/components/dynamic-renderer/dynamic-renderer.svelte +2 -0
  94. package/lib/node/constants/builder-registered-components.js +5 -24
  95. package/lib/node/constants/extra-components.d.ts +7 -0
  96. package/lib/node/constants/extra-components.js +47 -0
  97. package/lib/node/constants/sdk-version.d.ts +1 -1
  98. package/lib/node/constants/sdk-version.js +1 -1
  99. package/lib/node/functions/get-env.d.ts +2 -0
  100. package/lib/node/functions/get-env.js +5 -0
  101. package/lib/node/functions/get.d.ts +1 -0
  102. package/lib/node/functions/get.js +4 -0
  103. package/lib/node/types/builder-props.d.ts +1 -1
  104. package/lib/node/types/input.d.ts +1 -0
  105. package/lib/node/types/typescript.d.ts +0 -3
  106. package/package.json +1 -1
  107. package/src/blocks/columns/columns.svelte +8 -11
  108. package/src/blocks/columns/columns.types.ts +2 -2
  109. package/src/blocks/form/{component-info.ts → form/component-info.ts} +1 -1
  110. package/src/blocks/form/form/form.svelte +358 -0
  111. package/src/blocks/{input → form/input}/component-info.ts +1 -1
  112. package/src/blocks/{input → form/input}/input.svelte +3 -3
  113. package/src/blocks/{select → form/select}/component-info.ts +1 -1
  114. package/src/blocks/{select → form/select}/select.svelte +3 -3
  115. package/src/blocks/{submit-button → form/submit-button}/component-info.ts +1 -1
  116. package/src/blocks/{submit-button → form/submit-button}/submit-button.svelte +2 -2
  117. package/src/blocks/slot/slot.svelte +4 -6
  118. package/src/blocks/symbol/symbol.svelte +7 -10
  119. package/src/blocks/symbol/symbol.types.ts +2 -2
  120. package/src/components/block/block.svelte +4 -2
  121. package/src/components/block/components/block-wrapper.svelte +4 -4
  122. package/src/components/block/components/component-ref/component-ref.helpers.ts +3 -3
  123. package/src/components/block/components/interactive-element.svelte +7 -9
  124. package/src/components/blocks/blocks-wrapper.svelte +7 -7
  125. package/src/components/content/content.types.ts +1 -7
  126. package/src/components/content/contentProps.types.ts +12 -0
  127. package/src/components/dynamic-renderer/dynamic-renderer.svelte +12 -16
  128. package/src/constants/builder-registered-components.ts +5 -24
  129. package/src/constants/extra-components.ts +49 -0
  130. package/src/constants/sdk-version.ts +1 -1
  131. package/src/functions/get-env.ts +5 -0
  132. package/src/functions/get.ts +4 -0
  133. package/src/types/builder-props.ts +1 -1
  134. package/src/types/input.ts +1 -0
  135. package/src/types/typescript.ts +1 -4
  136. package/lib/browser/blocks/form/component-info.d.ts +0 -2
  137. package/lib/browser/blocks/form/form.svelte +0 -2
  138. package/lib/browser/blocks/form/form.svelte.d.ts +0 -14
  139. package/lib/browser/blocks/input/component-info.d.ts +0 -2
  140. package/lib/browser/blocks/select/component-info.d.ts +0 -2
  141. package/lib/browser/blocks/submit-button/component-info.d.ts +0 -2
  142. package/lib/browser/components/dynamic-renderer/dynamic-renderer.svelte.d.ts +0 -21
  143. package/lib/edge/blocks/form/component-info.d.ts +0 -2
  144. package/lib/edge/blocks/form/form.svelte +0 -2
  145. package/lib/edge/blocks/form/form.svelte.d.ts +0 -14
  146. package/lib/edge/blocks/input/component-info.d.ts +0 -2
  147. package/lib/edge/blocks/select/component-info.d.ts +0 -2
  148. package/lib/edge/blocks/submit-button/component-info.d.ts +0 -2
  149. package/lib/edge/components/dynamic-renderer/dynamic-renderer.svelte.d.ts +0 -21
  150. package/lib/node/blocks/form/component-info.d.ts +0 -2
  151. package/lib/node/blocks/form/form.svelte +0 -2
  152. package/lib/node/blocks/form/form.svelte.d.ts +0 -14
  153. package/lib/node/blocks/input/component-info.d.ts +0 -2
  154. package/lib/node/blocks/select/component-info.d.ts +0 -2
  155. package/lib/node/blocks/submit-button/component-info.d.ts +0 -2
  156. package/lib/node/components/dynamic-renderer/dynamic-renderer.svelte.d.ts +0 -21
  157. package/src/blocks/form/form.svelte +0 -2
  158. /package/lib/browser/blocks/form/{component-info.js → form/component-info.js} +0 -0
  159. /package/lib/browser/blocks/{input → form/input}/component-info.js +0 -0
  160. /package/lib/browser/blocks/{select → form/select}/component-info.js +0 -0
  161. /package/lib/browser/blocks/{submit-button → form/submit-button}/component-info.js +0 -0
  162. /package/lib/browser/blocks/{submit-button → form/submit-button}/submit-button.svelte.d.ts +0 -0
  163. /package/lib/edge/blocks/form/{component-info.js → form/component-info.js} +0 -0
  164. /package/lib/edge/blocks/{input → form/input}/component-info.js +0 -0
  165. /package/lib/edge/blocks/{select → form/select}/component-info.js +0 -0
  166. /package/lib/edge/blocks/{submit-button → form/submit-button}/component-info.js +0 -0
  167. /package/lib/edge/blocks/{submit-button → form/submit-button}/submit-button.svelte.d.ts +0 -0
  168. /package/lib/node/blocks/form/{component-info.js → form/component-info.js} +0 -0
  169. /package/lib/node/blocks/{input → form/input}/component-info.js +0 -0
  170. /package/lib/node/blocks/{select → form/select}/component-info.js +0 -0
  171. /package/lib/node/blocks/{submit-button → form/submit-button}/component-info.js +0 -0
  172. /package/lib/node/blocks/{submit-button → form/submit-button}/submit-button.svelte.d.ts +0 -0
@@ -1,23 +1,19 @@
1
+ <script context="module" lang="ts">
2
+ export interface DynamicRendererProps {
3
+ children?: any;
4
+ TagName: any;
5
+ attributes: any;
6
+ actionAttributes: any;
7
+ }
8
+ </script>
9
+
1
10
  <script lang="ts">
2
11
  import { isEmptyElement } from "./dynamic-renderer.helpers.js";
3
12
  import { setAttrs } from "../../blocks/helpers.js";
4
- import type { PropsWithChildren } from "../../types/typescript.js";
5
13
 
6
- export let attributes: PropsWithChildren<{
7
- TagName: any;
8
- attributes: any;
9
- actionAttributes: any;
10
- }>["attributes"];
11
- export let TagName: PropsWithChildren<{
12
- TagName: any;
13
- attributes: any;
14
- actionAttributes: any;
15
- }>["TagName"];
16
- export let actionAttributes: PropsWithChildren<{
17
- TagName: any;
18
- attributes: any;
19
- actionAttributes: any;
20
- }>["actionAttributes"];
14
+ export let attributes: DynamicRendererProps["attributes"];
15
+ export let TagName: DynamicRendererProps["TagName"];
16
+ export let actionAttributes: DynamicRendererProps["actionAttributes"];
21
17
  </script>
22
18
 
23
19
  {#if !isEmptyElement(TagName)}
@@ -2,16 +2,10 @@ import { default as Button } from '../blocks/button/button.svelte';
2
2
  import { componentInfo as buttonComponentInfo } from '../blocks/button/component-info.js';
3
3
  import { default as Columns } from '../blocks/columns/columns.svelte';
4
4
  import { componentInfo as columnsComponentInfo } from '../blocks/columns/component-info.js';
5
- import { componentInfo as customCodeInfo } from '../blocks/custom-code/component-info.js';
6
- import { default as customCode } from '../blocks/custom-code/custom-code.svelte';
7
- import { componentInfo as embedComponentInfo } from '../blocks/embed/component-info.js';
8
- import { default as embed } from '../blocks/embed/embed.svelte';
9
5
  import { componentInfo as fragmentComponentInfo } from '../blocks/fragment/component-info.js';
10
6
  import { default as Fragment } from '../blocks/fragment/fragment.svelte';
11
7
  import { componentInfo as imageComponentInfo } from '../blocks/image/component-info.js';
12
8
  import { default as Image } from '../blocks/image/image.svelte';
13
- import { componentInfo as imgComponentInfo } from '../blocks/img/component-info.js';
14
- import { default as Img } from '../blocks/img/img.svelte';
15
9
  import { componentInfo as sectionComponentInfo } from '../blocks/section/component-info.js';
16
10
  import { default as Section } from '../blocks/section/section.svelte';
17
11
  import { componentInfo as slotComponentInfo } from '../blocks/slot/component-info.js';
@@ -20,9 +14,8 @@ import { componentInfo as symbolComponentInfo } from '../blocks/symbol/component
20
14
  import { default as Symbol } from '../blocks/symbol/symbol.svelte';
21
15
  import { componentInfo as textComponentInfo } from '../blocks/text/component-info.js';
22
16
  import { default as Text } from '../blocks/text/text.svelte';
23
- import { componentInfo as videoComponentInfo } from '../blocks/video/component-info.js';
24
- import { default as Video } from '../blocks/video/video.svelte';
25
17
  import type { RegisteredComponent } from '../context/types.js';
18
+ import { getExtraComponents } from './extra-components.js';
26
19
 
27
20
  /**
28
21
  * Returns a list of all registered components.
@@ -34,34 +27,22 @@ export const getDefaultRegisteredComponents: () => RegisteredComponent[] = () =>
34
27
  }, {
35
28
  component: Columns,
36
29
  ...columnsComponentInfo
37
- }, {
38
- component: customCode,
39
- ...customCodeInfo
40
- }, {
41
- component: embed,
42
- ...embedComponentInfo
43
30
  }, {
44
31
  component: Fragment,
45
32
  ...fragmentComponentInfo
46
33
  }, {
47
34
  component: Image,
48
35
  ...imageComponentInfo
49
- }, {
50
- component: Img,
51
- ...imgComponentInfo
52
36
  }, {
53
37
  component: Section,
54
38
  ...sectionComponentInfo
39
+ }, {
40
+ component: Slot,
41
+ ...slotComponentInfo
55
42
  }, {
56
43
  component: Symbol,
57
44
  ...symbolComponentInfo
58
45
  }, {
59
46
  component: Text,
60
47
  ...textComponentInfo
61
- }, {
62
- component: Video,
63
- ...videoComponentInfo
64
- }, {
65
- component: Slot,
66
- ...slotComponentInfo
67
- }]
48
+ }, ...getExtraComponents()]
@@ -0,0 +1,49 @@
1
+ /**
2
+ * These are in a separate file because React Native does not support them (yet).
3
+ * Having them in a separate file allows us to override it to be empty in the
4
+ * React Native SDK.
5
+ */
6
+
7
+ import { componentInfo as customCodeInfo } from '../blocks/custom-code/component-info.js';
8
+ import { default as customCode } from '../blocks/custom-code/custom-code.svelte';
9
+ import { componentInfo as embedComponentInfo } from '../blocks/embed/component-info.js';
10
+ import { default as embed } from '../blocks/embed/embed.svelte';
11
+ import { componentInfo as formComponentInfo } from '../blocks/form/form/component-info.js';
12
+ import { default as Form } from '../blocks/form/form/form.svelte';
13
+ import { componentInfo as formInputComponentInfo } from '../blocks/form/input/component-info.js';
14
+ import { default as FormInput } from '../blocks/form/input/input.svelte';
15
+ import { componentInfo as formSelectComponentInfo } from '../blocks/form/select/component-info.js';
16
+ import { default as FormSelect } from '../blocks/form/select/select.svelte';
17
+ import { componentInfo as formSubmitButtonComponentInfo } from '../blocks/form/submit-button/component-info.js';
18
+ import { default as FormSubmitButton } from '../blocks/form/submit-button/submit-button.svelte';
19
+ import { componentInfo as imgComponentInfo } from '../blocks/img/component-info.js';
20
+ import { default as Img } from '../blocks/img/img.svelte';
21
+ import { componentInfo as videoComponentInfo } from '../blocks/video/component-info.js';
22
+ import { default as Video } from '../blocks/video/video.svelte';
23
+ import type { RegisteredComponent } from '../context/types.js';
24
+ import { TARGET } from './target.js';
25
+ export const getExtraComponents: () => RegisteredComponent[] = () => [{
26
+ component: customCode,
27
+ ...customCodeInfo
28
+ }, {
29
+ component: embed,
30
+ ...embedComponentInfo
31
+ }, ...(TARGET === 'rsc' ? [] : [{
32
+ component: Form,
33
+ ...formComponentInfo
34
+ }, {
35
+ component: FormInput,
36
+ ...formInputComponentInfo
37
+ }, {
38
+ component: FormSubmitButton,
39
+ ...formSubmitButtonComponentInfo
40
+ }, {
41
+ component: FormSelect,
42
+ ...formSelectComponentInfo
43
+ }]), {
44
+ component: Img,
45
+ ...imgComponentInfo
46
+ }, {
47
+ component: Video,
48
+ ...videoComponentInfo
49
+ }]
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.13.1"
1
+ export const SDK_VERSION = "0.13.3"
@@ -0,0 +1,5 @@
1
+ export const validEnvList = ['production', 'qa', 'test', 'development', 'dev', 'cdn-qa', 'cloud', 'fast', 'cdn2', 'cdn-prod'];
2
+ export const getEnv = (): string => {
3
+ const env = process.env.NODE_ENV || 'production';
4
+ return validEnvList.includes(env) ? env : 'production';
5
+ }
@@ -0,0 +1,4 @@
1
+ export const get = (obj: any, path: string, defaultValue?: any) => {
2
+ const result = String.prototype.split.call(path, /[,[\].]+?/).filter(Boolean).reduce((res, key) => res !== null && res !== undefined ? res[key] : res, obj);
3
+ return result === undefined || result === obj ? defaultValue : result;
4
+ }
@@ -1,7 +1,7 @@
1
1
  import type { Writable } from "svelte/store";
2
2
  import type { BuilderContextInterface, RegisteredComponents } from '../context/types.js';
3
3
  import type { BuilderBlock } from './builder-block.js';
4
- export type PropsWithBuilderData<T> = T & {
4
+ export type BuilderDataProps = {
5
5
  builderBlock: BuilderBlock;
6
6
  builderContext: Writable<BuilderContextInterface>;
7
7
  };
@@ -119,4 +119,5 @@ export interface Input {
119
119
  type?: string;
120
120
  };
121
121
  onChange?: ((options: Map<string, any>) => void | Promise<void>) | string;
122
+ meta?: Record<string, any>;
122
123
  }
@@ -6,7 +6,4 @@ export type Overwrite<T, U> = keyof U extends keyof T ? Pick<T, Exclude<keyof T,
6
6
  export type Prettify<T> = {
7
7
 
8
8
  // eslint-disable-next-line @typescript-eslint/ban-types
9
- [K in keyof T]: T[K] } & {};
10
- export type PropsWithChildren<P> = P & {
11
- children?: any;
12
- }
9
+ [K in keyof T]: T[K] } & {}
@@ -1,2 +0,0 @@
1
- import type { ComponentInfo } from '../../types/components.js';
2
- export declare const componentInfo: ComponentInfo;
@@ -1,2 +0,0 @@
1
- <script>"use strict";
2
- </script>
@@ -1,14 +0,0 @@
1
- import { SvelteComponent } from "svelte";
2
- declare const __propDef: {
3
- props: Record<string, never>;
4
- events: {
5
- [evt: string]: CustomEvent<any>;
6
- };
7
- slots: {};
8
- };
9
- export type FormProps = typeof __propDef.props;
10
- export type FormEvents = typeof __propDef.events;
11
- export type FormSlots = typeof __propDef.slots;
12
- export default class Form extends SvelteComponent<FormProps, FormEvents, FormSlots> {
13
- }
14
- export {};
@@ -1,2 +0,0 @@
1
- import type { ComponentInfo } from '../../types/components.js';
2
- export declare const componentInfo: ComponentInfo;
@@ -1,2 +0,0 @@
1
- import type { ComponentInfo } from '../../types/components.js';
2
- export declare const componentInfo: ComponentInfo;
@@ -1,2 +0,0 @@
1
- import type { ComponentInfo } from '../../types/components.js';
2
- export declare const componentInfo: ComponentInfo;
@@ -1,21 +0,0 @@
1
- import { SvelteComponent } from "svelte";
2
- import type { PropsWithChildren } from "../../types/typescript.js";
3
- declare const __propDef: {
4
- props: {
5
- attributes: any;
6
- TagName: any;
7
- actionAttributes: any;
8
- };
9
- events: {
10
- [evt: string]: CustomEvent<any>;
11
- };
12
- slots: {
13
- default: {};
14
- };
15
- };
16
- export type DynamicRendererProps = typeof __propDef.props;
17
- export type DynamicRendererEvents = typeof __propDef.events;
18
- export type DynamicRendererSlots = typeof __propDef.slots;
19
- export default class DynamicRenderer extends SvelteComponent<DynamicRendererProps, DynamicRendererEvents, DynamicRendererSlots> {
20
- }
21
- export {};
@@ -1,2 +0,0 @@
1
- import type { ComponentInfo } from '../../types/components.js';
2
- export declare const componentInfo: ComponentInfo;
@@ -1,2 +0,0 @@
1
- <script>"use strict";
2
- </script>
@@ -1,14 +0,0 @@
1
- import { SvelteComponent } from "svelte";
2
- declare const __propDef: {
3
- props: Record<string, never>;
4
- events: {
5
- [evt: string]: CustomEvent<any>;
6
- };
7
- slots: {};
8
- };
9
- export type FormProps = typeof __propDef.props;
10
- export type FormEvents = typeof __propDef.events;
11
- export type FormSlots = typeof __propDef.slots;
12
- export default class Form extends SvelteComponent<FormProps, FormEvents, FormSlots> {
13
- }
14
- export {};
@@ -1,2 +0,0 @@
1
- import type { ComponentInfo } from '../../types/components.js';
2
- export declare const componentInfo: ComponentInfo;
@@ -1,2 +0,0 @@
1
- import type { ComponentInfo } from '../../types/components.js';
2
- export declare const componentInfo: ComponentInfo;
@@ -1,2 +0,0 @@
1
- import type { ComponentInfo } from '../../types/components.js';
2
- export declare const componentInfo: ComponentInfo;
@@ -1,21 +0,0 @@
1
- import { SvelteComponent } from "svelte";
2
- import type { PropsWithChildren } from "../../types/typescript.js";
3
- declare const __propDef: {
4
- props: {
5
- attributes: any;
6
- TagName: any;
7
- actionAttributes: any;
8
- };
9
- events: {
10
- [evt: string]: CustomEvent<any>;
11
- };
12
- slots: {
13
- default: {};
14
- };
15
- };
16
- export type DynamicRendererProps = typeof __propDef.props;
17
- export type DynamicRendererEvents = typeof __propDef.events;
18
- export type DynamicRendererSlots = typeof __propDef.slots;
19
- export default class DynamicRenderer extends SvelteComponent<DynamicRendererProps, DynamicRendererEvents, DynamicRendererSlots> {
20
- }
21
- export {};
@@ -1,2 +0,0 @@
1
- import type { ComponentInfo } from '../../types/components.js';
2
- export declare const componentInfo: ComponentInfo;
@@ -1,2 +0,0 @@
1
- <script>"use strict";
2
- </script>
@@ -1,14 +0,0 @@
1
- import { SvelteComponent } from "svelte";
2
- declare const __propDef: {
3
- props: Record<string, never>;
4
- events: {
5
- [evt: string]: CustomEvent<any>;
6
- };
7
- slots: {};
8
- };
9
- export type FormProps = typeof __propDef.props;
10
- export type FormEvents = typeof __propDef.events;
11
- export type FormSlots = typeof __propDef.slots;
12
- export default class Form extends SvelteComponent<FormProps, FormEvents, FormSlots> {
13
- }
14
- export {};
@@ -1,2 +0,0 @@
1
- import type { ComponentInfo } from '../../types/components.js';
2
- export declare const componentInfo: ComponentInfo;
@@ -1,2 +0,0 @@
1
- import type { ComponentInfo } from '../../types/components.js';
2
- export declare const componentInfo: ComponentInfo;
@@ -1,2 +0,0 @@
1
- import type { ComponentInfo } from '../../types/components.js';
2
- export declare const componentInfo: ComponentInfo;
@@ -1,21 +0,0 @@
1
- import { SvelteComponent } from "svelte";
2
- import type { PropsWithChildren } from "../../types/typescript.js";
3
- declare const __propDef: {
4
- props: {
5
- attributes: any;
6
- TagName: any;
7
- actionAttributes: any;
8
- };
9
- events: {
10
- [evt: string]: CustomEvent<any>;
11
- };
12
- slots: {
13
- default: {};
14
- };
15
- };
16
- export type DynamicRendererProps = typeof __propDef.props;
17
- export type DynamicRendererEvents = typeof __propDef.events;
18
- export type DynamicRendererSlots = typeof __propDef.slots;
19
- export default class DynamicRenderer extends SvelteComponent<DynamicRendererProps, DynamicRendererEvents, DynamicRendererSlots> {
20
- }
21
- export {};
@@ -1,2 +0,0 @@
1
- <script lang="ts">
2
- </script>