@builder.io/sdk-qwik 0.14.29 → 0.14.31
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/lib/browser/index.qwik.cjs +103 -34
- package/lib/browser/index.qwik.mjs +103 -34
- package/lib/edge/index.qwik.cjs +103 -34
- package/lib/edge/index.qwik.mjs +103 -34
- package/lib/node/index.qwik.cjs +122 -40
- package/lib/node/index.qwik.mjs +122 -40
- package/package.json +1 -1
- package/types/src/blocks/form/select/select.d.ts +1 -0
- package/types/src/blocks/form/textarea/component-info.d.ts +2 -0
- package/types/src/blocks/{textarea → form/textarea}/textarea.d.ts +1 -0
- package/types/src/constants/sdk-name.d.ts +1 -0
- package/types/src/constants/sdk-version.d.ts +1 -1
- package/types/src/blocks/textarea/component-info.d.ts +0 -2
- /package/types/src/blocks/{textarea → form/textarea}/index.d.ts +0 -0
|
@@ -2172,7 +2172,7 @@ const defaultDetail = {
|
|
|
2172
2172
|
}
|
|
2173
2173
|
]
|
|
2174
2174
|
};
|
|
2175
|
-
const componentInfo$
|
|
2175
|
+
const componentInfo$i = {
|
|
2176
2176
|
name: "Builder:Accordion",
|
|
2177
2177
|
canHaveChildren: true,
|
|
2178
2178
|
image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
|
|
@@ -2464,7 +2464,7 @@ const Accordion = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlined
|
|
|
2464
2464
|
}, 1, "hf_3");
|
|
2465
2465
|
}), 1, "hf_4");
|
|
2466
2466
|
}, "Accordion_component_jkuUCHm0nt0"));
|
|
2467
|
-
const componentInfo$
|
|
2467
|
+
const componentInfo$h = {
|
|
2468
2468
|
name: "Core:Button",
|
|
2469
2469
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
2470
2470
|
defaultStyles: {
|
|
@@ -2502,7 +2502,7 @@ const componentInfo$g = {
|
|
|
2502
2502
|
static: true,
|
|
2503
2503
|
noWrap: true
|
|
2504
2504
|
};
|
|
2505
|
-
const componentInfo$
|
|
2505
|
+
const componentInfo$g = {
|
|
2506
2506
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
2507
2507
|
name: "Columns",
|
|
2508
2508
|
isRSC: true,
|
|
@@ -2744,14 +2744,14 @@ const componentInfo$f = {
|
|
|
2744
2744
|
}
|
|
2745
2745
|
]
|
|
2746
2746
|
};
|
|
2747
|
-
const componentInfo$
|
|
2747
|
+
const componentInfo$f = {
|
|
2748
2748
|
name: "Fragment",
|
|
2749
2749
|
static: true,
|
|
2750
2750
|
hidden: true,
|
|
2751
2751
|
canHaveChildren: true,
|
|
2752
2752
|
noWrap: true
|
|
2753
2753
|
};
|
|
2754
|
-
const componentInfo$
|
|
2754
|
+
const componentInfo$e = {
|
|
2755
2755
|
name: "Image",
|
|
2756
2756
|
static: true,
|
|
2757
2757
|
image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
|
|
@@ -2906,7 +2906,7 @@ const componentInfo$d = {
|
|
|
2906
2906
|
}
|
|
2907
2907
|
]
|
|
2908
2908
|
};
|
|
2909
|
-
const componentInfo$
|
|
2909
|
+
const componentInfo$d = {
|
|
2910
2910
|
name: "Core:Section",
|
|
2911
2911
|
static: true,
|
|
2912
2912
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -2951,7 +2951,7 @@ const componentInfo$c = {
|
|
|
2951
2951
|
}
|
|
2952
2952
|
]
|
|
2953
2953
|
};
|
|
2954
|
-
const componentInfo$
|
|
2954
|
+
const componentInfo$c = {
|
|
2955
2955
|
name: "Slot",
|
|
2956
2956
|
isRSC: true,
|
|
2957
2957
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -3006,7 +3006,7 @@ const Slot = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
3006
3006
|
}
|
|
3007
3007
|
}, 0, "B1_1");
|
|
3008
3008
|
}, "Slot_component_WWgWgfV0bb0"));
|
|
3009
|
-
const componentInfo$
|
|
3009
|
+
const componentInfo$b = {
|
|
3010
3010
|
name: "Symbol",
|
|
3011
3011
|
noWrap: true,
|
|
3012
3012
|
static: true,
|
|
@@ -3086,7 +3086,7 @@ const defaultElement = {
|
|
|
3086
3086
|
}
|
|
3087
3087
|
}
|
|
3088
3088
|
};
|
|
3089
|
-
const componentInfo$
|
|
3089
|
+
const componentInfo$a = {
|
|
3090
3090
|
name: "Builder: Tabs",
|
|
3091
3091
|
inputs: [
|
|
3092
3092
|
{
|
|
@@ -3324,7 +3324,7 @@ const Tabs = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
3324
3324
|
}, 3, "6k_1"), 1, "6k_2") : null
|
|
3325
3325
|
], 1, "6k_3");
|
|
3326
3326
|
}, "Tabs_component_MhWcxXy0lMY"));
|
|
3327
|
-
const componentInfo$
|
|
3327
|
+
const componentInfo$9 = {
|
|
3328
3328
|
name: "Text",
|
|
3329
3329
|
static: true,
|
|
3330
3330
|
isRSC: true,
|
|
@@ -3359,7 +3359,7 @@ const Text = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
3359
3359
|
}
|
|
3360
3360
|
}, null, 3, "yO_0");
|
|
3361
3361
|
}, "Text_component_15p0cKUxgIE"));
|
|
3362
|
-
const componentInfo$
|
|
3362
|
+
const componentInfo$8 = {
|
|
3363
3363
|
name: "Custom Code",
|
|
3364
3364
|
static: true,
|
|
3365
3365
|
requiredPermissions: [
|
|
@@ -3438,7 +3438,7 @@ const CustomCode = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inline
|
|
|
3438
3438
|
], "p0.code")
|
|
3439
3439
|
}, null, 3, "bY_0");
|
|
3440
3440
|
}, "CustomCode_component_uYOSy7w7Zqw"));
|
|
3441
|
-
const componentInfo$
|
|
3441
|
+
const componentInfo$7 = {
|
|
3442
3442
|
name: "Embed",
|
|
3443
3443
|
static: true,
|
|
3444
3444
|
inputs: [
|
|
@@ -3531,7 +3531,7 @@ const Embed = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
|
|
|
3531
3531
|
], "p0.content")
|
|
3532
3532
|
}, null, 3, "9r_0");
|
|
3533
3533
|
}, "Embed_component_Uji08ORjXbE"));
|
|
3534
|
-
const componentInfo$
|
|
3534
|
+
const componentInfo$6 = {
|
|
3535
3535
|
name: "Form:Form",
|
|
3536
3536
|
// editableTags: ['builder-form-error']
|
|
3537
3537
|
defaults: {
|
|
@@ -4112,7 +4112,7 @@ const STYLES = `
|
|
|
4112
4112
|
text-align: center;
|
|
4113
4113
|
}
|
|
4114
4114
|
`;
|
|
4115
|
-
const componentInfo$
|
|
4115
|
+
const componentInfo$5 = {
|
|
4116
4116
|
name: "Form:Input",
|
|
4117
4117
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
4118
4118
|
inputs: [
|
|
@@ -4195,7 +4195,7 @@ const FormInputComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwi
|
|
|
4195
4195
|
required: props.required
|
|
4196
4196
|
});
|
|
4197
4197
|
}, "FormInputComponent_component_AUUjdN0ueMs"));
|
|
4198
|
-
const componentInfo$
|
|
4198
|
+
const componentInfo$4 = {
|
|
4199
4199
|
name: "Form:Select",
|
|
4200
4200
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
4201
4201
|
defaultStyles: {
|
|
@@ -4256,14 +4256,15 @@ const SelectComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
|
|
|
4256
4256
|
value: props.value,
|
|
4257
4257
|
key: isEditing() && props.defaultValue ? props.defaultValue : "default-key",
|
|
4258
4258
|
defaultValue: props.defaultValue,
|
|
4259
|
-
name: props.name
|
|
4259
|
+
name: props.name,
|
|
4260
|
+
required: props.required
|
|
4260
4261
|
}, (props.options || []).map((option, index) => {
|
|
4261
4262
|
return /* @__PURE__ */ qwik._jsxQ("option", {
|
|
4262
4263
|
value: qwik._wrapSignal(option, "value")
|
|
4263
4264
|
}, null, option.name || option.value, 1, `${option.name}-${index}`);
|
|
4264
4265
|
}));
|
|
4265
4266
|
}, "SelectComponent_component_SPKbsFLikZU"));
|
|
4266
|
-
const componentInfo$
|
|
4267
|
+
const componentInfo$3 = {
|
|
4267
4268
|
name: "Form:SubmitButton",
|
|
4268
4269
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
4269
4270
|
defaultStyles: {
|
|
@@ -4297,6 +4298,70 @@ const SubmitButton = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4297
4298
|
type: "submit"
|
|
4298
4299
|
}, 0, "6z_0");
|
|
4299
4300
|
}, "SubmitButton_component_NXvMBMCDhwc"));
|
|
4301
|
+
const componentInfo$2 = {
|
|
4302
|
+
name: "Form:TextArea",
|
|
4303
|
+
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
4304
|
+
inputs: [
|
|
4305
|
+
{
|
|
4306
|
+
advanced: true,
|
|
4307
|
+
name: "value",
|
|
4308
|
+
type: "string"
|
|
4309
|
+
},
|
|
4310
|
+
{
|
|
4311
|
+
name: "name",
|
|
4312
|
+
type: "string",
|
|
4313
|
+
required: true,
|
|
4314
|
+
helperText: 'Every input in a form needs a unique name describing what it gets, e.g. "email"'
|
|
4315
|
+
},
|
|
4316
|
+
{
|
|
4317
|
+
name: "defaultValue",
|
|
4318
|
+
type: "string"
|
|
4319
|
+
},
|
|
4320
|
+
{
|
|
4321
|
+
name: "placeholder",
|
|
4322
|
+
type: "string",
|
|
4323
|
+
defaultValue: "Hello there"
|
|
4324
|
+
},
|
|
4325
|
+
{
|
|
4326
|
+
name: "required",
|
|
4327
|
+
type: "boolean",
|
|
4328
|
+
defaultValue: false
|
|
4329
|
+
}
|
|
4330
|
+
],
|
|
4331
|
+
defaultStyles: {
|
|
4332
|
+
paddingTop: "10px",
|
|
4333
|
+
paddingBottom: "10px",
|
|
4334
|
+
paddingLeft: "10px",
|
|
4335
|
+
paddingRight: "10px",
|
|
4336
|
+
borderRadius: "3px",
|
|
4337
|
+
borderWidth: "1px",
|
|
4338
|
+
borderStyle: "solid",
|
|
4339
|
+
borderColor: "#ccc"
|
|
4340
|
+
},
|
|
4341
|
+
static: true,
|
|
4342
|
+
noWrap: true
|
|
4343
|
+
};
|
|
4344
|
+
const Textarea = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
4345
|
+
return /* @__PURE__ */ qwik._jsxS("textarea", {
|
|
4346
|
+
...props.attributes
|
|
4347
|
+
}, {
|
|
4348
|
+
defaultValue: qwik._fnSignal((p0) => p0.defaultValue, [
|
|
4349
|
+
props
|
|
4350
|
+
], "p0.defaultValue"),
|
|
4351
|
+
name: qwik._fnSignal((p0) => p0.name, [
|
|
4352
|
+
props
|
|
4353
|
+
], "p0.name"),
|
|
4354
|
+
placeholder: qwik._fnSignal((p0) => p0.placeholder, [
|
|
4355
|
+
props
|
|
4356
|
+
], "p0.placeholder"),
|
|
4357
|
+
required: qwik._fnSignal((p0) => p0.required, [
|
|
4358
|
+
props
|
|
4359
|
+
], "p0.required"),
|
|
4360
|
+
value: qwik._fnSignal((p0) => p0.value, [
|
|
4361
|
+
props
|
|
4362
|
+
], "p0.value")
|
|
4363
|
+
}, 0, "kE_0");
|
|
4364
|
+
}, "Textarea_component_o1TcxV139Oc"));
|
|
4300
4365
|
const componentInfo$1 = {
|
|
4301
4366
|
// friendlyName?
|
|
4302
4367
|
name: "Raw:Img",
|
|
@@ -4568,28 +4633,32 @@ const Video = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
|
|
|
4568
4633
|
const getExtraComponents = () => [
|
|
4569
4634
|
{
|
|
4570
4635
|
component: CustomCode,
|
|
4571
|
-
...componentInfo$
|
|
4636
|
+
...componentInfo$8
|
|
4572
4637
|
},
|
|
4573
4638
|
{
|
|
4574
4639
|
component: Embed,
|
|
4575
|
-
...componentInfo$
|
|
4640
|
+
...componentInfo$7
|
|
4576
4641
|
},
|
|
4577
4642
|
...[
|
|
4578
4643
|
{
|
|
4579
4644
|
component: FormComponent,
|
|
4580
|
-
...componentInfo$
|
|
4645
|
+
...componentInfo$6
|
|
4581
4646
|
},
|
|
4582
4647
|
{
|
|
4583
4648
|
component: FormInputComponent,
|
|
4584
|
-
...componentInfo$
|
|
4649
|
+
...componentInfo$5
|
|
4585
4650
|
},
|
|
4586
4651
|
{
|
|
4587
4652
|
component: SubmitButton,
|
|
4588
|
-
...componentInfo$
|
|
4653
|
+
...componentInfo$3
|
|
4589
4654
|
},
|
|
4590
4655
|
{
|
|
4591
4656
|
component: SelectComponent,
|
|
4592
|
-
...componentInfo$
|
|
4657
|
+
...componentInfo$4
|
|
4658
|
+
},
|
|
4659
|
+
{
|
|
4660
|
+
component: Textarea,
|
|
4661
|
+
...componentInfo$2
|
|
4593
4662
|
}
|
|
4594
4663
|
],
|
|
4595
4664
|
{
|
|
@@ -4604,44 +4673,44 @@ const getExtraComponents = () => [
|
|
|
4604
4673
|
const getDefaultRegisteredComponents = () => [
|
|
4605
4674
|
{
|
|
4606
4675
|
component: Button,
|
|
4607
|
-
...componentInfo$
|
|
4676
|
+
...componentInfo$h
|
|
4608
4677
|
},
|
|
4609
4678
|
{
|
|
4610
4679
|
component: Columns,
|
|
4611
|
-
...componentInfo$
|
|
4680
|
+
...componentInfo$g
|
|
4612
4681
|
},
|
|
4613
4682
|
{
|
|
4614
4683
|
component: FragmentComponent,
|
|
4615
|
-
...componentInfo$
|
|
4684
|
+
...componentInfo$f
|
|
4616
4685
|
},
|
|
4617
4686
|
{
|
|
4618
4687
|
component: Image,
|
|
4619
|
-
...componentInfo$
|
|
4688
|
+
...componentInfo$e
|
|
4620
4689
|
},
|
|
4621
4690
|
{
|
|
4622
4691
|
component: SectionComponent,
|
|
4623
|
-
...componentInfo$
|
|
4692
|
+
...componentInfo$d
|
|
4624
4693
|
},
|
|
4625
4694
|
{
|
|
4626
4695
|
component: Slot,
|
|
4627
|
-
...componentInfo$
|
|
4696
|
+
...componentInfo$c
|
|
4628
4697
|
},
|
|
4629
4698
|
{
|
|
4630
4699
|
component: Symbol$1,
|
|
4631
|
-
...componentInfo$
|
|
4700
|
+
...componentInfo$b
|
|
4632
4701
|
},
|
|
4633
4702
|
{
|
|
4634
4703
|
component: Text,
|
|
4635
|
-
...componentInfo$
|
|
4704
|
+
...componentInfo$9
|
|
4636
4705
|
},
|
|
4637
4706
|
...[
|
|
4638
4707
|
{
|
|
4639
4708
|
component: Tabs,
|
|
4640
|
-
...componentInfo$
|
|
4709
|
+
...componentInfo$a
|
|
4641
4710
|
},
|
|
4642
4711
|
{
|
|
4643
4712
|
component: Accordion,
|
|
4644
|
-
...componentInfo$
|
|
4713
|
+
...componentInfo$i
|
|
4645
4714
|
}
|
|
4646
4715
|
],
|
|
4647
4716
|
...getExtraComponents()
|
|
@@ -5102,7 +5171,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
5102
5171
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5103
5172
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5104
5173
|
}
|
|
5105
|
-
const SDK_VERSION = "0.14.
|
|
5174
|
+
const SDK_VERSION = "0.14.31";
|
|
5106
5175
|
const registry = {};
|
|
5107
5176
|
function register(type, info) {
|
|
5108
5177
|
let typeList = registry[type];
|
|
@@ -2170,7 +2170,7 @@ const defaultDetail = {
|
|
|
2170
2170
|
}
|
|
2171
2171
|
]
|
|
2172
2172
|
};
|
|
2173
|
-
const componentInfo$
|
|
2173
|
+
const componentInfo$i = {
|
|
2174
2174
|
name: "Builder:Accordion",
|
|
2175
2175
|
canHaveChildren: true,
|
|
2176
2176
|
image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
|
|
@@ -2462,7 +2462,7 @@ const Accordion = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
|
|
|
2462
2462
|
}, 1, "hf_3");
|
|
2463
2463
|
}), 1, "hf_4");
|
|
2464
2464
|
}, "Accordion_component_jkuUCHm0nt0"));
|
|
2465
|
-
const componentInfo$
|
|
2465
|
+
const componentInfo$h = {
|
|
2466
2466
|
name: "Core:Button",
|
|
2467
2467
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
2468
2468
|
defaultStyles: {
|
|
@@ -2500,7 +2500,7 @@ const componentInfo$g = {
|
|
|
2500
2500
|
static: true,
|
|
2501
2501
|
noWrap: true
|
|
2502
2502
|
};
|
|
2503
|
-
const componentInfo$
|
|
2503
|
+
const componentInfo$g = {
|
|
2504
2504
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
2505
2505
|
name: "Columns",
|
|
2506
2506
|
isRSC: true,
|
|
@@ -2742,14 +2742,14 @@ const componentInfo$f = {
|
|
|
2742
2742
|
}
|
|
2743
2743
|
]
|
|
2744
2744
|
};
|
|
2745
|
-
const componentInfo$
|
|
2745
|
+
const componentInfo$f = {
|
|
2746
2746
|
name: "Fragment",
|
|
2747
2747
|
static: true,
|
|
2748
2748
|
hidden: true,
|
|
2749
2749
|
canHaveChildren: true,
|
|
2750
2750
|
noWrap: true
|
|
2751
2751
|
};
|
|
2752
|
-
const componentInfo$
|
|
2752
|
+
const componentInfo$e = {
|
|
2753
2753
|
name: "Image",
|
|
2754
2754
|
static: true,
|
|
2755
2755
|
image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
|
|
@@ -2904,7 +2904,7 @@ const componentInfo$d = {
|
|
|
2904
2904
|
}
|
|
2905
2905
|
]
|
|
2906
2906
|
};
|
|
2907
|
-
const componentInfo$
|
|
2907
|
+
const componentInfo$d = {
|
|
2908
2908
|
name: "Core:Section",
|
|
2909
2909
|
static: true,
|
|
2910
2910
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -2949,7 +2949,7 @@ const componentInfo$c = {
|
|
|
2949
2949
|
}
|
|
2950
2950
|
]
|
|
2951
2951
|
};
|
|
2952
|
-
const componentInfo$
|
|
2952
|
+
const componentInfo$c = {
|
|
2953
2953
|
name: "Slot",
|
|
2954
2954
|
isRSC: true,
|
|
2955
2955
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -3004,7 +3004,7 @@ const Slot = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
3004
3004
|
}
|
|
3005
3005
|
}, 0, "B1_1");
|
|
3006
3006
|
}, "Slot_component_WWgWgfV0bb0"));
|
|
3007
|
-
const componentInfo$
|
|
3007
|
+
const componentInfo$b = {
|
|
3008
3008
|
name: "Symbol",
|
|
3009
3009
|
noWrap: true,
|
|
3010
3010
|
static: true,
|
|
@@ -3084,7 +3084,7 @@ const defaultElement = {
|
|
|
3084
3084
|
}
|
|
3085
3085
|
}
|
|
3086
3086
|
};
|
|
3087
|
-
const componentInfo$
|
|
3087
|
+
const componentInfo$a = {
|
|
3088
3088
|
name: "Builder: Tabs",
|
|
3089
3089
|
inputs: [
|
|
3090
3090
|
{
|
|
@@ -3322,7 +3322,7 @@ const Tabs = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
3322
3322
|
}, 3, "6k_1"), 1, "6k_2") : null
|
|
3323
3323
|
], 1, "6k_3");
|
|
3324
3324
|
}, "Tabs_component_MhWcxXy0lMY"));
|
|
3325
|
-
const componentInfo$
|
|
3325
|
+
const componentInfo$9 = {
|
|
3326
3326
|
name: "Text",
|
|
3327
3327
|
static: true,
|
|
3328
3328
|
isRSC: true,
|
|
@@ -3357,7 +3357,7 @@ const Text = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
3357
3357
|
}
|
|
3358
3358
|
}, null, 3, "yO_0");
|
|
3359
3359
|
}, "Text_component_15p0cKUxgIE"));
|
|
3360
|
-
const componentInfo$
|
|
3360
|
+
const componentInfo$8 = {
|
|
3361
3361
|
name: "Custom Code",
|
|
3362
3362
|
static: true,
|
|
3363
3363
|
requiredPermissions: [
|
|
@@ -3436,7 +3436,7 @@ const CustomCode = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
|
|
|
3436
3436
|
], "p0.code")
|
|
3437
3437
|
}, null, 3, "bY_0");
|
|
3438
3438
|
}, "CustomCode_component_uYOSy7w7Zqw"));
|
|
3439
|
-
const componentInfo$
|
|
3439
|
+
const componentInfo$7 = {
|
|
3440
3440
|
name: "Embed",
|
|
3441
3441
|
static: true,
|
|
3442
3442
|
inputs: [
|
|
@@ -3529,7 +3529,7 @@ const Embed = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
3529
3529
|
], "p0.content")
|
|
3530
3530
|
}, null, 3, "9r_0");
|
|
3531
3531
|
}, "Embed_component_Uji08ORjXbE"));
|
|
3532
|
-
const componentInfo$
|
|
3532
|
+
const componentInfo$6 = {
|
|
3533
3533
|
name: "Form:Form",
|
|
3534
3534
|
// editableTags: ['builder-form-error']
|
|
3535
3535
|
defaults: {
|
|
@@ -4110,7 +4110,7 @@ const STYLES = `
|
|
|
4110
4110
|
text-align: center;
|
|
4111
4111
|
}
|
|
4112
4112
|
`;
|
|
4113
|
-
const componentInfo$
|
|
4113
|
+
const componentInfo$5 = {
|
|
4114
4114
|
name: "Form:Input",
|
|
4115
4115
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
4116
4116
|
inputs: [
|
|
@@ -4193,7 +4193,7 @@ const FormInputComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQ
|
|
|
4193
4193
|
required: props.required
|
|
4194
4194
|
});
|
|
4195
4195
|
}, "FormInputComponent_component_AUUjdN0ueMs"));
|
|
4196
|
-
const componentInfo$
|
|
4196
|
+
const componentInfo$4 = {
|
|
4197
4197
|
name: "Form:Select",
|
|
4198
4198
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
4199
4199
|
defaultStyles: {
|
|
@@ -4254,14 +4254,15 @@ const SelectComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
|
|
|
4254
4254
|
value: props.value,
|
|
4255
4255
|
key: isEditing() && props.defaultValue ? props.defaultValue : "default-key",
|
|
4256
4256
|
defaultValue: props.defaultValue,
|
|
4257
|
-
name: props.name
|
|
4257
|
+
name: props.name,
|
|
4258
|
+
required: props.required
|
|
4258
4259
|
}, (props.options || []).map((option, index) => {
|
|
4259
4260
|
return /* @__PURE__ */ _jsxQ("option", {
|
|
4260
4261
|
value: _wrapSignal(option, "value")
|
|
4261
4262
|
}, null, option.name || option.value, 1, `${option.name}-${index}`);
|
|
4262
4263
|
}));
|
|
4263
4264
|
}, "SelectComponent_component_SPKbsFLikZU"));
|
|
4264
|
-
const componentInfo$
|
|
4265
|
+
const componentInfo$3 = {
|
|
4265
4266
|
name: "Form:SubmitButton",
|
|
4266
4267
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
4267
4268
|
defaultStyles: {
|
|
@@ -4295,6 +4296,70 @@ const SubmitButton = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
4295
4296
|
type: "submit"
|
|
4296
4297
|
}, 0, "6z_0");
|
|
4297
4298
|
}, "SubmitButton_component_NXvMBMCDhwc"));
|
|
4299
|
+
const componentInfo$2 = {
|
|
4300
|
+
name: "Form:TextArea",
|
|
4301
|
+
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
4302
|
+
inputs: [
|
|
4303
|
+
{
|
|
4304
|
+
advanced: true,
|
|
4305
|
+
name: "value",
|
|
4306
|
+
type: "string"
|
|
4307
|
+
},
|
|
4308
|
+
{
|
|
4309
|
+
name: "name",
|
|
4310
|
+
type: "string",
|
|
4311
|
+
required: true,
|
|
4312
|
+
helperText: 'Every input in a form needs a unique name describing what it gets, e.g. "email"'
|
|
4313
|
+
},
|
|
4314
|
+
{
|
|
4315
|
+
name: "defaultValue",
|
|
4316
|
+
type: "string"
|
|
4317
|
+
},
|
|
4318
|
+
{
|
|
4319
|
+
name: "placeholder",
|
|
4320
|
+
type: "string",
|
|
4321
|
+
defaultValue: "Hello there"
|
|
4322
|
+
},
|
|
4323
|
+
{
|
|
4324
|
+
name: "required",
|
|
4325
|
+
type: "boolean",
|
|
4326
|
+
defaultValue: false
|
|
4327
|
+
}
|
|
4328
|
+
],
|
|
4329
|
+
defaultStyles: {
|
|
4330
|
+
paddingTop: "10px",
|
|
4331
|
+
paddingBottom: "10px",
|
|
4332
|
+
paddingLeft: "10px",
|
|
4333
|
+
paddingRight: "10px",
|
|
4334
|
+
borderRadius: "3px",
|
|
4335
|
+
borderWidth: "1px",
|
|
4336
|
+
borderStyle: "solid",
|
|
4337
|
+
borderColor: "#ccc"
|
|
4338
|
+
},
|
|
4339
|
+
static: true,
|
|
4340
|
+
noWrap: true
|
|
4341
|
+
};
|
|
4342
|
+
const Textarea = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
4343
|
+
return /* @__PURE__ */ _jsxS("textarea", {
|
|
4344
|
+
...props.attributes
|
|
4345
|
+
}, {
|
|
4346
|
+
defaultValue: _fnSignal((p0) => p0.defaultValue, [
|
|
4347
|
+
props
|
|
4348
|
+
], "p0.defaultValue"),
|
|
4349
|
+
name: _fnSignal((p0) => p0.name, [
|
|
4350
|
+
props
|
|
4351
|
+
], "p0.name"),
|
|
4352
|
+
placeholder: _fnSignal((p0) => p0.placeholder, [
|
|
4353
|
+
props
|
|
4354
|
+
], "p0.placeholder"),
|
|
4355
|
+
required: _fnSignal((p0) => p0.required, [
|
|
4356
|
+
props
|
|
4357
|
+
], "p0.required"),
|
|
4358
|
+
value: _fnSignal((p0) => p0.value, [
|
|
4359
|
+
props
|
|
4360
|
+
], "p0.value")
|
|
4361
|
+
}, 0, "kE_0");
|
|
4362
|
+
}, "Textarea_component_o1TcxV139Oc"));
|
|
4298
4363
|
const componentInfo$1 = {
|
|
4299
4364
|
// friendlyName?
|
|
4300
4365
|
name: "Raw:Img",
|
|
@@ -4566,28 +4631,32 @@ const Video = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
4566
4631
|
const getExtraComponents = () => [
|
|
4567
4632
|
{
|
|
4568
4633
|
component: CustomCode,
|
|
4569
|
-
...componentInfo$
|
|
4634
|
+
...componentInfo$8
|
|
4570
4635
|
},
|
|
4571
4636
|
{
|
|
4572
4637
|
component: Embed,
|
|
4573
|
-
...componentInfo$
|
|
4638
|
+
...componentInfo$7
|
|
4574
4639
|
},
|
|
4575
4640
|
...[
|
|
4576
4641
|
{
|
|
4577
4642
|
component: FormComponent,
|
|
4578
|
-
...componentInfo$
|
|
4643
|
+
...componentInfo$6
|
|
4579
4644
|
},
|
|
4580
4645
|
{
|
|
4581
4646
|
component: FormInputComponent,
|
|
4582
|
-
...componentInfo$
|
|
4647
|
+
...componentInfo$5
|
|
4583
4648
|
},
|
|
4584
4649
|
{
|
|
4585
4650
|
component: SubmitButton,
|
|
4586
|
-
...componentInfo$
|
|
4651
|
+
...componentInfo$3
|
|
4587
4652
|
},
|
|
4588
4653
|
{
|
|
4589
4654
|
component: SelectComponent,
|
|
4590
|
-
...componentInfo$
|
|
4655
|
+
...componentInfo$4
|
|
4656
|
+
},
|
|
4657
|
+
{
|
|
4658
|
+
component: Textarea,
|
|
4659
|
+
...componentInfo$2
|
|
4591
4660
|
}
|
|
4592
4661
|
],
|
|
4593
4662
|
{
|
|
@@ -4602,44 +4671,44 @@ const getExtraComponents = () => [
|
|
|
4602
4671
|
const getDefaultRegisteredComponents = () => [
|
|
4603
4672
|
{
|
|
4604
4673
|
component: Button,
|
|
4605
|
-
...componentInfo$
|
|
4674
|
+
...componentInfo$h
|
|
4606
4675
|
},
|
|
4607
4676
|
{
|
|
4608
4677
|
component: Columns,
|
|
4609
|
-
...componentInfo$
|
|
4678
|
+
...componentInfo$g
|
|
4610
4679
|
},
|
|
4611
4680
|
{
|
|
4612
4681
|
component: FragmentComponent,
|
|
4613
|
-
...componentInfo$
|
|
4682
|
+
...componentInfo$f
|
|
4614
4683
|
},
|
|
4615
4684
|
{
|
|
4616
4685
|
component: Image,
|
|
4617
|
-
...componentInfo$
|
|
4686
|
+
...componentInfo$e
|
|
4618
4687
|
},
|
|
4619
4688
|
{
|
|
4620
4689
|
component: SectionComponent,
|
|
4621
|
-
...componentInfo$
|
|
4690
|
+
...componentInfo$d
|
|
4622
4691
|
},
|
|
4623
4692
|
{
|
|
4624
4693
|
component: Slot,
|
|
4625
|
-
...componentInfo$
|
|
4694
|
+
...componentInfo$c
|
|
4626
4695
|
},
|
|
4627
4696
|
{
|
|
4628
4697
|
component: Symbol$1,
|
|
4629
|
-
...componentInfo$
|
|
4698
|
+
...componentInfo$b
|
|
4630
4699
|
},
|
|
4631
4700
|
{
|
|
4632
4701
|
component: Text,
|
|
4633
|
-
...componentInfo$
|
|
4702
|
+
...componentInfo$9
|
|
4634
4703
|
},
|
|
4635
4704
|
...[
|
|
4636
4705
|
{
|
|
4637
4706
|
component: Tabs,
|
|
4638
|
-
...componentInfo$
|
|
4707
|
+
...componentInfo$a
|
|
4639
4708
|
},
|
|
4640
4709
|
{
|
|
4641
4710
|
component: Accordion,
|
|
4642
|
-
...componentInfo$
|
|
4711
|
+
...componentInfo$i
|
|
4643
4712
|
}
|
|
4644
4713
|
],
|
|
4645
4714
|
...getExtraComponents()
|
|
@@ -5100,7 +5169,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
5100
5169
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5101
5170
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5102
5171
|
}
|
|
5103
|
-
const SDK_VERSION = "0.14.
|
|
5172
|
+
const SDK_VERSION = "0.14.31";
|
|
5104
5173
|
const registry = {};
|
|
5105
5174
|
function register(type, info) {
|
|
5106
5175
|
let typeList = registry[type];
|