@builder-builder/builder 0.0.26 → 0.0.27
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/dist/client/schema.d.ts +25 -0
- package/dist/client/schema.js +3 -1
- package/dist/components/Builder.svelte.d.ts +24 -0
- package/dist/components/BuilderCollectionButtons.svelte.d.ts +22 -0
- package/dist/components/BuilderCollections.svelte.d.ts +23 -0
- package/dist/components/BuilderDescription.svelte.d.ts +18 -0
- package/dist/components/BuilderLayout.svelte.d.ts +24 -0
- package/dist/components/BuilderOption.svelte.d.ts +31 -0
- package/dist/components/BuilderOptionSelect.svelte.d.ts +21 -0
- package/dist/components/BuilderOptionToggleBoolean.svelte.d.ts +20 -0
- package/dist/components/BuilderOptionToggleNumber.svelte.d.ts +21 -0
- package/dist/components/BuilderOptionToggleString.svelte.d.ts +21 -0
- package/dist/components/BuilderPrice.svelte.d.ts +21 -0
- package/dist/components/BuilderRender.svelte.d.ts +39 -0
- package/dist/components/config.d.ts +2 -0
- package/dist/components/config.js +1 -0
- package/dist/components/dispatch.d.ts +1 -0
- package/dist/components/dispatch.js +3 -0
- package/dist/components/id.d.ts +1 -0
- package/dist/components/id.js +3 -0
- package/dist/components/index.d.ts +25 -0
- package/dist/components/index.js +7441 -0
- package/dist/entities/references.d.ts +48 -0
- package/dist/entities/serialise.d.ts +117 -0
- package/dist/entities/ui/describe.d.ts +48 -0
- package/dist/entities/ui/input.d.ts +66 -1
- package/dist/entities/ui/input.js +8 -2
- package/dist/entities/ui/page.d.ts +48 -0
- package/dist/entities/ui/pages.d.ts +8 -0
- package/dist/mappers/order.js +4 -2
- package/dist/mappers/render/option.d.ts +1 -0
- package/dist/mappers/render/option.js +1 -0
- package/package.json +7 -5
package/dist/client/schema.d.ts
CHANGED
|
@@ -219,6 +219,14 @@ export declare const BuilderBuilderGetResponseSchema: v.ObjectSchema<{
|
|
|
219
219
|
type: "ref";
|
|
220
220
|
id: string;
|
|
221
221
|
}> | undefined;
|
|
222
|
+
placeholderLabel?: string | Readonly<{
|
|
223
|
+
type: "parameter";
|
|
224
|
+
id: string;
|
|
225
|
+
name: string;
|
|
226
|
+
}> | Readonly<{
|
|
227
|
+
type: "ref";
|
|
228
|
+
id: string;
|
|
229
|
+
}> | undefined;
|
|
222
230
|
metadata?: Readonly<{
|
|
223
231
|
type: "parameter";
|
|
224
232
|
id: string;
|
|
@@ -280,6 +288,14 @@ export declare const BuilderBuilderGetResponseSchema: v.ObjectSchema<{
|
|
|
280
288
|
type: "ref";
|
|
281
289
|
id: string;
|
|
282
290
|
}> | undefined;
|
|
291
|
+
placeholderLabel?: string | Readonly<{
|
|
292
|
+
type: "parameter";
|
|
293
|
+
id: string;
|
|
294
|
+
name: string;
|
|
295
|
+
}> | Readonly<{
|
|
296
|
+
type: "ref";
|
|
297
|
+
id: string;
|
|
298
|
+
}> | undefined;
|
|
283
299
|
metadata?: Readonly<{
|
|
284
300
|
type: "parameter";
|
|
285
301
|
id: string;
|
|
@@ -343,6 +359,14 @@ export declare const BuilderBuilderGetResponseSchema: v.ObjectSchema<{
|
|
|
343
359
|
type: "ref";
|
|
344
360
|
id: string;
|
|
345
361
|
}> | undefined;
|
|
362
|
+
placeholderLabel?: string | Readonly<{
|
|
363
|
+
type: "parameter";
|
|
364
|
+
id: string;
|
|
365
|
+
name: string;
|
|
366
|
+
}> | Readonly<{
|
|
367
|
+
type: "ref";
|
|
368
|
+
id: string;
|
|
369
|
+
}> | undefined;
|
|
346
370
|
metadata?: Readonly<{
|
|
347
371
|
type: "parameter";
|
|
348
372
|
id: string;
|
|
@@ -393,6 +417,7 @@ export declare const BuilderBuilderGetResponseSchema: v.ObjectSchema<{
|
|
|
393
417
|
tags?: readonly string[] | undefined;
|
|
394
418
|
}>[];
|
|
395
419
|
}>]>;
|
|
420
|
+
readonly environment: v.PicklistSchema<["development", "staging", "production"], undefined>;
|
|
396
421
|
}, undefined>;
|
|
397
422
|
export type BuilderBuilderGetResponse = v.InferOutput<typeof BuilderBuilderGetResponseSchema>;
|
|
398
423
|
export declare const BuilderBuilderPriceRequestSchema: v.ObjectSchema<{
|
package/dist/client/schema.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { BuilderReferencesSchema, BuilderSerialisedSchema } from '../entities/index.js';
|
|
3
|
+
import { BuilderEnvironmentSchema } from '../environment.js';
|
|
3
4
|
import { BuilderInstanceSchema, BuilderVariantsSchema } from '../instance.js';
|
|
4
5
|
export const BuilderBuilderClientOptionsSchema = v.object({
|
|
5
6
|
url: v.string(),
|
|
@@ -10,7 +11,8 @@ export const BuilderBuilderGetResponseSchema = v.object({
|
|
|
10
11
|
name: v.string(),
|
|
11
12
|
serialised: BuilderSerialisedSchema,
|
|
12
13
|
references: BuilderReferencesSchema,
|
|
13
|
-
variants: BuilderVariantsSchema
|
|
14
|
+
variants: BuilderVariantsSchema,
|
|
15
|
+
environment: BuilderEnvironmentSchema
|
|
14
16
|
});
|
|
15
17
|
export const BuilderBuilderPriceRequestSchema = v.object({
|
|
16
18
|
instance: BuilderInstanceSchema
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { BuilderBuilderUpdate } from './BuilderRender.svelte';
|
|
3
|
+
import type { BuilderConfig } from './config.js';
|
|
4
|
+
export type BuilderBuilderProps = {
|
|
5
|
+
readonly builderId: string;
|
|
6
|
+
readonly url: string;
|
|
7
|
+
readonly apiKey: string;
|
|
8
|
+
readonly config?: BuilderConfig;
|
|
9
|
+
};
|
|
10
|
+
export type BuilderBuilderUpdateEvent = CustomEvent<BuilderBuilderUpdate>;
|
|
11
|
+
import './BuilderRender.svelte';
|
|
12
|
+
declare const __propDef: {
|
|
13
|
+
props: Record<string, never>;
|
|
14
|
+
events: {
|
|
15
|
+
[evt: string]: CustomEvent<any>;
|
|
16
|
+
};
|
|
17
|
+
slots: {};
|
|
18
|
+
};
|
|
19
|
+
export type BuilderProps = typeof __propDef.props;
|
|
20
|
+
export type BuilderEvents = typeof __propDef.events;
|
|
21
|
+
export type BuilderSlots = typeof __propDef.slots;
|
|
22
|
+
export default class Builder extends SvelteComponentTyped<BuilderProps, BuilderEvents, BuilderSlots> {
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { BuilderRenderCollection } from '../index.js';
|
|
3
|
+
export type BuilderBuilderCollectionButtonsProps = {
|
|
4
|
+
readonly collection: BuilderRenderCollection;
|
|
5
|
+
readonly add?: string;
|
|
6
|
+
readonly remove?: string;
|
|
7
|
+
};
|
|
8
|
+
export type BuilderBuilderCollectionButtonsAddEvent = CustomEvent<null>;
|
|
9
|
+
export type BuilderBuilderCollectionButtonsRemoveEvent = CustomEvent<null>;
|
|
10
|
+
declare const __propDef: {
|
|
11
|
+
props: Record<string, never>;
|
|
12
|
+
events: {
|
|
13
|
+
[evt: string]: CustomEvent<any>;
|
|
14
|
+
};
|
|
15
|
+
slots: {};
|
|
16
|
+
};
|
|
17
|
+
export type BuilderCollectionButtonsProps = typeof __propDef.props;
|
|
18
|
+
export type BuilderCollectionButtonsEvents = typeof __propDef.events;
|
|
19
|
+
export type BuilderCollectionButtonsSlots = typeof __propDef.slots;
|
|
20
|
+
export default class BuilderCollectionButtons extends SvelteComponentTyped<BuilderCollectionButtonsProps, BuilderCollectionButtonsEvents, BuilderCollectionButtonsSlots> {
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { BuilderInstance, BuilderRenderPages } from '../index.js';
|
|
3
|
+
import type { BuilderBuilderCollectionButtonsProps } from './BuilderCollectionButtons.svelte';
|
|
4
|
+
export type BuilderBuilderCollectionsProps = {
|
|
5
|
+
readonly layout: BuilderRenderPages;
|
|
6
|
+
readonly instance: BuilderInstance;
|
|
7
|
+
readonly buttons?: Partial<BuilderBuilderCollectionButtonsProps>;
|
|
8
|
+
};
|
|
9
|
+
export type BuilderBuilderCollectionsUpdateEvent = CustomEvent<BuilderInstance>;
|
|
10
|
+
import './BuilderCollectionButtons.svelte';
|
|
11
|
+
declare const __propDef: {
|
|
12
|
+
props: Record<string, never>;
|
|
13
|
+
events: {
|
|
14
|
+
[evt: string]: CustomEvent<any>;
|
|
15
|
+
};
|
|
16
|
+
slots: {};
|
|
17
|
+
};
|
|
18
|
+
export type BuilderCollectionsProps = typeof __propDef.props;
|
|
19
|
+
export type BuilderCollectionsEvents = typeof __propDef.events;
|
|
20
|
+
export type BuilderCollectionsSlots = typeof __propDef.slots;
|
|
21
|
+
export default class BuilderCollections extends SvelteComponentTyped<BuilderCollectionsProps, BuilderCollectionsEvents, BuilderCollectionsSlots> {
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { BuilderDescription } from '../index.js';
|
|
3
|
+
export type BuilderBuilderDescriptionProps = {
|
|
4
|
+
readonly description: BuilderDescription;
|
|
5
|
+
};
|
|
6
|
+
declare const __propDef: {
|
|
7
|
+
props: Record<string, never>;
|
|
8
|
+
events: {
|
|
9
|
+
[evt: string]: CustomEvent<any>;
|
|
10
|
+
};
|
|
11
|
+
slots: {};
|
|
12
|
+
};
|
|
13
|
+
export type BuilderDescriptionProps = typeof __propDef.props;
|
|
14
|
+
export type BuilderDescriptionEvents = typeof __propDef.events;
|
|
15
|
+
export type BuilderDescriptionSlots = typeof __propDef.slots;
|
|
16
|
+
export default class BuilderDescription extends SvelteComponentTyped<BuilderDescriptionProps, BuilderDescriptionEvents, BuilderDescriptionSlots> {
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { BuilderInstance, BuilderRenderPages } from '../index.js';
|
|
3
|
+
import type { BuilderBuilderOptionProps } from './BuilderOption.svelte';
|
|
4
|
+
export type BuilderBuilderLayoutProps = {
|
|
5
|
+
readonly layout: BuilderRenderPages;
|
|
6
|
+
readonly instance: BuilderInstance;
|
|
7
|
+
readonly headingLevel?: number;
|
|
8
|
+
readonly options?: Partial<BuilderBuilderOptionProps>;
|
|
9
|
+
};
|
|
10
|
+
export type BuilderBuilderLayoutUpdateEvent = CustomEvent<BuilderInstance>;
|
|
11
|
+
import './BuilderOption.svelte';
|
|
12
|
+
declare const __propDef: {
|
|
13
|
+
props: Record<string, never>;
|
|
14
|
+
events: {
|
|
15
|
+
[evt: string]: CustomEvent<any>;
|
|
16
|
+
};
|
|
17
|
+
slots: {};
|
|
18
|
+
};
|
|
19
|
+
export type BuilderLayoutProps = typeof __propDef.props;
|
|
20
|
+
export type BuilderLayoutEvents = typeof __propDef.events;
|
|
21
|
+
export type BuilderLayoutSlots = typeof __propDef.slots;
|
|
22
|
+
export default class BuilderLayout extends SvelteComponentTyped<BuilderLayoutProps, BuilderLayoutEvents, BuilderLayoutSlots> {
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { BuilderPrimitive, BuilderRenderOption } from '../index.js';
|
|
3
|
+
import type { BuilderBuilderOptionSelectProps } from './BuilderOptionSelect.svelte';
|
|
4
|
+
import type { BuilderBuilderOptionToggleBooleanProps } from './BuilderOptionToggleBoolean.svelte';
|
|
5
|
+
import type { BuilderBuilderOptionToggleNumberProps } from './BuilderOptionToggleNumber.svelte';
|
|
6
|
+
import type { BuilderBuilderOptionToggleStringProps } from './BuilderOptionToggleString.svelte';
|
|
7
|
+
export type BuilderBuilderOptionProps = {
|
|
8
|
+
readonly option: BuilderRenderOption;
|
|
9
|
+
readonly select?: Partial<BuilderBuilderOptionSelectProps>;
|
|
10
|
+
readonly toggleBoolean?: Partial<BuilderBuilderOptionToggleBooleanProps>;
|
|
11
|
+
readonly toggleNumber?: Partial<BuilderBuilderOptionToggleNumberProps>;
|
|
12
|
+
readonly toggleString?: Partial<BuilderBuilderOptionToggleStringProps>;
|
|
13
|
+
};
|
|
14
|
+
export type BuilderBuilderOptionUpdateEvent = CustomEvent<BuilderPrimitive>;
|
|
15
|
+
import './BuilderOptionSelect.svelte';
|
|
16
|
+
import './BuilderOptionToggleBoolean.svelte';
|
|
17
|
+
import './BuilderOptionToggleNumber.svelte';
|
|
18
|
+
import './BuilderOptionToggleString.svelte';
|
|
19
|
+
declare const __propDef: {
|
|
20
|
+
props: Record<string, never>;
|
|
21
|
+
events: {
|
|
22
|
+
[evt: string]: CustomEvent<any>;
|
|
23
|
+
};
|
|
24
|
+
slots: {};
|
|
25
|
+
};
|
|
26
|
+
export type BuilderOptionProps = typeof __propDef.props;
|
|
27
|
+
export type BuilderOptionEvents = typeof __propDef.events;
|
|
28
|
+
export type BuilderOptionSlots = typeof __propDef.slots;
|
|
29
|
+
export default class BuilderOption extends SvelteComponentTyped<BuilderOptionProps, BuilderOptionEvents, BuilderOptionSlots> {
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { BuilderRenderOption } from '../index.js';
|
|
3
|
+
export type BuilderBuilderOptionSelectProps = {
|
|
4
|
+
readonly option: BuilderRenderOption;
|
|
5
|
+
readonly placeholder?: string;
|
|
6
|
+
readonly id?: string;
|
|
7
|
+
};
|
|
8
|
+
export type BuilderBuilderOptionSelectUpdateEvent = CustomEvent<string | null>;
|
|
9
|
+
declare const __propDef: {
|
|
10
|
+
props: Record<string, never>;
|
|
11
|
+
events: {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
};
|
|
14
|
+
slots: {};
|
|
15
|
+
};
|
|
16
|
+
export type BuilderOptionSelectProps = typeof __propDef.props;
|
|
17
|
+
export type BuilderOptionSelectEvents = typeof __propDef.events;
|
|
18
|
+
export type BuilderOptionSelectSlots = typeof __propDef.slots;
|
|
19
|
+
export default class BuilderOptionSelect extends SvelteComponentTyped<BuilderOptionSelectProps, BuilderOptionSelectEvents, BuilderOptionSelectSlots> {
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { BuilderRenderOption } from '../index.js';
|
|
3
|
+
export type BuilderBuilderOptionToggleBooleanProps = {
|
|
4
|
+
readonly option: BuilderRenderOption;
|
|
5
|
+
readonly id?: string;
|
|
6
|
+
};
|
|
7
|
+
export type BuilderBuilderOptionToggleBooleanUpdateEvent = CustomEvent<boolean>;
|
|
8
|
+
declare const __propDef: {
|
|
9
|
+
props: Record<string, never>;
|
|
10
|
+
events: {
|
|
11
|
+
[evt: string]: CustomEvent<any>;
|
|
12
|
+
};
|
|
13
|
+
slots: {};
|
|
14
|
+
};
|
|
15
|
+
export type BuilderOptionToggleBooleanProps = typeof __propDef.props;
|
|
16
|
+
export type BuilderOptionToggleBooleanEvents = typeof __propDef.events;
|
|
17
|
+
export type BuilderOptionToggleBooleanSlots = typeof __propDef.slots;
|
|
18
|
+
export default class BuilderOptionToggleBoolean extends SvelteComponentTyped<BuilderOptionToggleBooleanProps, BuilderOptionToggleBooleanEvents, BuilderOptionToggleBooleanSlots> {
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { BuilderRenderOption } from '../index.js';
|
|
3
|
+
export type BuilderBuilderOptionToggleNumberProps = {
|
|
4
|
+
readonly option: BuilderRenderOption;
|
|
5
|
+
readonly placeholder?: string;
|
|
6
|
+
readonly id?: string;
|
|
7
|
+
};
|
|
8
|
+
export type BuilderBuilderOptionToggleNumberUpdateEvent = CustomEvent<number>;
|
|
9
|
+
declare const __propDef: {
|
|
10
|
+
props: Record<string, never>;
|
|
11
|
+
events: {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
};
|
|
14
|
+
slots: {};
|
|
15
|
+
};
|
|
16
|
+
export type BuilderOptionToggleNumberProps = typeof __propDef.props;
|
|
17
|
+
export type BuilderOptionToggleNumberEvents = typeof __propDef.events;
|
|
18
|
+
export type BuilderOptionToggleNumberSlots = typeof __propDef.slots;
|
|
19
|
+
export default class BuilderOptionToggleNumber extends SvelteComponentTyped<BuilderOptionToggleNumberProps, BuilderOptionToggleNumberEvents, BuilderOptionToggleNumberSlots> {
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { BuilderRenderOption } from '../index.js';
|
|
3
|
+
export type BuilderBuilderOptionToggleStringProps = {
|
|
4
|
+
readonly option: BuilderRenderOption;
|
|
5
|
+
readonly placeholder?: string;
|
|
6
|
+
readonly id?: string;
|
|
7
|
+
};
|
|
8
|
+
export type BuilderBuilderOptionToggleStringUpdateEvent = CustomEvent<string>;
|
|
9
|
+
declare const __propDef: {
|
|
10
|
+
props: Record<string, never>;
|
|
11
|
+
events: {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
};
|
|
14
|
+
slots: {};
|
|
15
|
+
};
|
|
16
|
+
export type BuilderOptionToggleStringProps = typeof __propDef.props;
|
|
17
|
+
export type BuilderOptionToggleStringEvents = typeof __propDef.events;
|
|
18
|
+
export type BuilderOptionToggleStringSlots = typeof __propDef.slots;
|
|
19
|
+
export default class BuilderOptionToggleString extends SvelteComponentTyped<BuilderOptionToggleStringProps, BuilderOptionToggleStringEvents, BuilderOptionToggleStringSlots> {
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type BuilderBuilderPriceProps = {
|
|
3
|
+
readonly price: number | null;
|
|
4
|
+
readonly empty?: string;
|
|
5
|
+
readonly locale?: string;
|
|
6
|
+
readonly currency?: string;
|
|
7
|
+
readonly rate?: number;
|
|
8
|
+
};
|
|
9
|
+
declare const __propDef: {
|
|
10
|
+
props: Record<string, never>;
|
|
11
|
+
events: {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
};
|
|
14
|
+
slots: {};
|
|
15
|
+
};
|
|
16
|
+
export type BuilderPriceProps = typeof __propDef.props;
|
|
17
|
+
export type BuilderPriceEvents = typeof __propDef.events;
|
|
18
|
+
export type BuilderPriceSlots = typeof __propDef.slots;
|
|
19
|
+
export default class BuilderPrice extends SvelteComponentTyped<BuilderPriceProps, BuilderPriceEvents, BuilderPriceSlots> {
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { BuilderEnvironment, BuilderInstance, BuilderOrder, BuilderReferences, BuilderSerialised, BuilderVariants } from '../index.js';
|
|
3
|
+
import type { BuilderBuilderCollectionsProps } from './BuilderCollections.svelte';
|
|
4
|
+
import type { BuilderBuilderDescriptionProps } from './BuilderDescription.svelte';
|
|
5
|
+
import type { BuilderBuilderLayoutProps } from './BuilderLayout.svelte';
|
|
6
|
+
import type { BuilderBuilderPriceProps } from './BuilderPrice.svelte';
|
|
7
|
+
export type BuilderBuilderRenderProps = {
|
|
8
|
+
readonly serialised: BuilderSerialised;
|
|
9
|
+
readonly references: BuilderReferences;
|
|
10
|
+
readonly variants: BuilderVariants;
|
|
11
|
+
readonly environment: BuilderEnvironment;
|
|
12
|
+
readonly layout?: Partial<BuilderBuilderLayoutProps>;
|
|
13
|
+
readonly collections?: Partial<BuilderBuilderCollectionsProps>;
|
|
14
|
+
readonly description?: Partial<BuilderBuilderDescriptionProps>;
|
|
15
|
+
readonly price?: Partial<BuilderBuilderPriceProps>;
|
|
16
|
+
};
|
|
17
|
+
export type BuilderBuilderUpdate = {
|
|
18
|
+
readonly instance: BuilderInstance;
|
|
19
|
+
readonly order: BuilderOrder;
|
|
20
|
+
readonly price: number | null;
|
|
21
|
+
};
|
|
22
|
+
export type BuilderBuilderRenderUpdateEvent = CustomEvent<BuilderBuilderUpdate>;
|
|
23
|
+
import './BuilderCollections.svelte';
|
|
24
|
+
import './BuilderDescription.svelte';
|
|
25
|
+
import './BuilderLayout.svelte';
|
|
26
|
+
import './BuilderPrice.svelte';
|
|
27
|
+
declare const __propDef: {
|
|
28
|
+
props: Record<string, never>;
|
|
29
|
+
events: {
|
|
30
|
+
[evt: string]: CustomEvent<any>;
|
|
31
|
+
};
|
|
32
|
+
slots: {};
|
|
33
|
+
};
|
|
34
|
+
export type BuilderRenderProps = typeof __propDef.props;
|
|
35
|
+
export type BuilderRenderEvents = typeof __propDef.events;
|
|
36
|
+
export type BuilderRenderSlots = typeof __propDef.slots;
|
|
37
|
+
export default class BuilderRender extends SvelteComponentTyped<BuilderRenderProps, BuilderRenderEvents, BuilderRenderSlots> {
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function dispatch(host: HTMLElement, name: string, detail?: unknown, options?: EventInit): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toId(prefix: string): string;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import './BuilderOptionSelect.svelte';
|
|
2
|
+
import './BuilderOptionToggleBoolean.svelte';
|
|
3
|
+
import './BuilderOptionToggleNumber.svelte';
|
|
4
|
+
import './BuilderOptionToggleString.svelte';
|
|
5
|
+
import './BuilderOption.svelte';
|
|
6
|
+
import './BuilderCollectionButtons.svelte';
|
|
7
|
+
import './BuilderLayout.svelte';
|
|
8
|
+
import './BuilderCollections.svelte';
|
|
9
|
+
import './BuilderDescription.svelte';
|
|
10
|
+
import './BuilderPrice.svelte';
|
|
11
|
+
import './BuilderRender.svelte';
|
|
12
|
+
import './Builder.svelte';
|
|
13
|
+
export type { BuilderBuilderOptionUpdateEvent, BuilderBuilderOptionProps } from './BuilderOption.svelte';
|
|
14
|
+
export type { BuilderBuilderOptionSelectUpdateEvent, BuilderBuilderOptionSelectProps } from './BuilderOptionSelect.svelte';
|
|
15
|
+
export type { BuilderBuilderOptionToggleBooleanUpdateEvent, BuilderBuilderOptionToggleBooleanProps } from './BuilderOptionToggleBoolean.svelte';
|
|
16
|
+
export type { BuilderBuilderOptionToggleNumberUpdateEvent, BuilderBuilderOptionToggleNumberProps } from './BuilderOptionToggleNumber.svelte';
|
|
17
|
+
export type { BuilderBuilderOptionToggleStringUpdateEvent, BuilderBuilderOptionToggleStringProps } from './BuilderOptionToggleString.svelte';
|
|
18
|
+
export type { BuilderBuilderCollectionButtonsAddEvent, BuilderBuilderCollectionButtonsProps, BuilderBuilderCollectionButtonsRemoveEvent } from './BuilderCollectionButtons.svelte';
|
|
19
|
+
export type { BuilderBuilderLayoutUpdateEvent, BuilderBuilderLayoutProps } from './BuilderLayout.svelte';
|
|
20
|
+
export type { BuilderBuilderCollectionsUpdateEvent, BuilderBuilderCollectionsProps } from './BuilderCollections.svelte';
|
|
21
|
+
export type { BuilderBuilderDescriptionProps } from './BuilderDescription.svelte';
|
|
22
|
+
export type { BuilderBuilderPriceProps } from './BuilderPrice.svelte';
|
|
23
|
+
export type { BuilderBuilderUpdate, BuilderBuilderRenderUpdateEvent, BuilderBuilderRenderProps } from './BuilderRender.svelte';
|
|
24
|
+
export type { BuilderConfig } from './config.js';
|
|
25
|
+
export type { BuilderBuilderUpdateEvent, BuilderBuilderProps } from './Builder.svelte';
|