@builder.io/sdk-qwik 0.14.28 → 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 +106 -36
- package/lib/browser/index.qwik.mjs +106 -36
- package/lib/edge/index.qwik.cjs +106 -36
- package/lib/edge/index.qwik.mjs +106 -36
- package/lib/node/index.qwik.cjs +125 -42
- package/lib/node/index.qwik.mjs +125 -42
- 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/functions/extract-css-var-default-value.d.ts +1 -0
- 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",
|
|
@@ -2771,7 +2771,8 @@ const componentInfo$d = {
|
|
|
2771
2771
|
"jpeg",
|
|
2772
2772
|
"jpg",
|
|
2773
2773
|
"png",
|
|
2774
|
-
"svg"
|
|
2774
|
+
"svg",
|
|
2775
|
+
"webp"
|
|
2775
2776
|
],
|
|
2776
2777
|
required: true,
|
|
2777
2778
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
@@ -2905,7 +2906,7 @@ const componentInfo$d = {
|
|
|
2905
2906
|
}
|
|
2906
2907
|
]
|
|
2907
2908
|
};
|
|
2908
|
-
const componentInfo$
|
|
2909
|
+
const componentInfo$d = {
|
|
2909
2910
|
name: "Core:Section",
|
|
2910
2911
|
static: true,
|
|
2911
2912
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -2950,7 +2951,7 @@ const componentInfo$c = {
|
|
|
2950
2951
|
}
|
|
2951
2952
|
]
|
|
2952
2953
|
};
|
|
2953
|
-
const componentInfo$
|
|
2954
|
+
const componentInfo$c = {
|
|
2954
2955
|
name: "Slot",
|
|
2955
2956
|
isRSC: true,
|
|
2956
2957
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -3005,7 +3006,7 @@ const Slot = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
3005
3006
|
}
|
|
3006
3007
|
}, 0, "B1_1");
|
|
3007
3008
|
}, "Slot_component_WWgWgfV0bb0"));
|
|
3008
|
-
const componentInfo$
|
|
3009
|
+
const componentInfo$b = {
|
|
3009
3010
|
name: "Symbol",
|
|
3010
3011
|
noWrap: true,
|
|
3011
3012
|
static: true,
|
|
@@ -3085,7 +3086,7 @@ const defaultElement = {
|
|
|
3085
3086
|
}
|
|
3086
3087
|
}
|
|
3087
3088
|
};
|
|
3088
|
-
const componentInfo$
|
|
3089
|
+
const componentInfo$a = {
|
|
3089
3090
|
name: "Builder: Tabs",
|
|
3090
3091
|
inputs: [
|
|
3091
3092
|
{
|
|
@@ -3323,7 +3324,7 @@ const Tabs = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
3323
3324
|
}, 3, "6k_1"), 1, "6k_2") : null
|
|
3324
3325
|
], 1, "6k_3");
|
|
3325
3326
|
}, "Tabs_component_MhWcxXy0lMY"));
|
|
3326
|
-
const componentInfo$
|
|
3327
|
+
const componentInfo$9 = {
|
|
3327
3328
|
name: "Text",
|
|
3328
3329
|
static: true,
|
|
3329
3330
|
isRSC: true,
|
|
@@ -3358,7 +3359,7 @@ const Text = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
3358
3359
|
}
|
|
3359
3360
|
}, null, 3, "yO_0");
|
|
3360
3361
|
}, "Text_component_15p0cKUxgIE"));
|
|
3361
|
-
const componentInfo$
|
|
3362
|
+
const componentInfo$8 = {
|
|
3362
3363
|
name: "Custom Code",
|
|
3363
3364
|
static: true,
|
|
3364
3365
|
requiredPermissions: [
|
|
@@ -3437,7 +3438,7 @@ const CustomCode = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inline
|
|
|
3437
3438
|
], "p0.code")
|
|
3438
3439
|
}, null, 3, "bY_0");
|
|
3439
3440
|
}, "CustomCode_component_uYOSy7w7Zqw"));
|
|
3440
|
-
const componentInfo$
|
|
3441
|
+
const componentInfo$7 = {
|
|
3441
3442
|
name: "Embed",
|
|
3442
3443
|
static: true,
|
|
3443
3444
|
inputs: [
|
|
@@ -3451,7 +3452,7 @@ const componentInfo$6 = {
|
|
|
3451
3452
|
const url = options.get("url");
|
|
3452
3453
|
if (url) {
|
|
3453
3454
|
options.set("content", "Loading...");
|
|
3454
|
-
const apiKey =
|
|
3455
|
+
const apiKey = _iframelyApiKey;
|
|
3455
3456
|
return fetch(`https://iframe.ly/api/iframely?url=${url}&api_key=${apiKey}`).then((res) => res.json()).then((data) => {
|
|
3456
3457
|
if (options.get("url") === url) {
|
|
3457
3458
|
if (data.html)
|
|
@@ -3530,7 +3531,7 @@ const Embed = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
|
|
|
3530
3531
|
], "p0.content")
|
|
3531
3532
|
}, null, 3, "9r_0");
|
|
3532
3533
|
}, "Embed_component_Uji08ORjXbE"));
|
|
3533
|
-
const componentInfo$
|
|
3534
|
+
const componentInfo$6 = {
|
|
3534
3535
|
name: "Form:Form",
|
|
3535
3536
|
// editableTags: ['builder-form-error']
|
|
3536
3537
|
defaults: {
|
|
@@ -4111,7 +4112,7 @@ const STYLES = `
|
|
|
4111
4112
|
text-align: center;
|
|
4112
4113
|
}
|
|
4113
4114
|
`;
|
|
4114
|
-
const componentInfo$
|
|
4115
|
+
const componentInfo$5 = {
|
|
4115
4116
|
name: "Form:Input",
|
|
4116
4117
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
4117
4118
|
inputs: [
|
|
@@ -4194,7 +4195,7 @@ const FormInputComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwi
|
|
|
4194
4195
|
required: props.required
|
|
4195
4196
|
});
|
|
4196
4197
|
}, "FormInputComponent_component_AUUjdN0ueMs"));
|
|
4197
|
-
const componentInfo$
|
|
4198
|
+
const componentInfo$4 = {
|
|
4198
4199
|
name: "Form:Select",
|
|
4199
4200
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
4200
4201
|
defaultStyles: {
|
|
@@ -4255,14 +4256,15 @@ const SelectComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
|
|
|
4255
4256
|
value: props.value,
|
|
4256
4257
|
key: isEditing() && props.defaultValue ? props.defaultValue : "default-key",
|
|
4257
4258
|
defaultValue: props.defaultValue,
|
|
4258
|
-
name: props.name
|
|
4259
|
+
name: props.name,
|
|
4260
|
+
required: props.required
|
|
4259
4261
|
}, (props.options || []).map((option, index) => {
|
|
4260
4262
|
return /* @__PURE__ */ qwik._jsxQ("option", {
|
|
4261
4263
|
value: qwik._wrapSignal(option, "value")
|
|
4262
4264
|
}, null, option.name || option.value, 1, `${option.name}-${index}`);
|
|
4263
4265
|
}));
|
|
4264
4266
|
}, "SelectComponent_component_SPKbsFLikZU"));
|
|
4265
|
-
const componentInfo$
|
|
4267
|
+
const componentInfo$3 = {
|
|
4266
4268
|
name: "Form:SubmitButton",
|
|
4267
4269
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
4268
4270
|
defaultStyles: {
|
|
@@ -4296,6 +4298,70 @@ const SubmitButton = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4296
4298
|
type: "submit"
|
|
4297
4299
|
}, 0, "6z_0");
|
|
4298
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"));
|
|
4299
4365
|
const componentInfo$1 = {
|
|
4300
4366
|
// friendlyName?
|
|
4301
4367
|
name: "Raw:Img",
|
|
@@ -4567,28 +4633,32 @@ const Video = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
|
|
|
4567
4633
|
const getExtraComponents = () => [
|
|
4568
4634
|
{
|
|
4569
4635
|
component: CustomCode,
|
|
4570
|
-
...componentInfo$
|
|
4636
|
+
...componentInfo$8
|
|
4571
4637
|
},
|
|
4572
4638
|
{
|
|
4573
4639
|
component: Embed,
|
|
4574
|
-
...componentInfo$
|
|
4640
|
+
...componentInfo$7
|
|
4575
4641
|
},
|
|
4576
4642
|
...[
|
|
4577
4643
|
{
|
|
4578
4644
|
component: FormComponent,
|
|
4579
|
-
...componentInfo$
|
|
4645
|
+
...componentInfo$6
|
|
4580
4646
|
},
|
|
4581
4647
|
{
|
|
4582
4648
|
component: FormInputComponent,
|
|
4583
|
-
...componentInfo$
|
|
4649
|
+
...componentInfo$5
|
|
4584
4650
|
},
|
|
4585
4651
|
{
|
|
4586
4652
|
component: SubmitButton,
|
|
4587
|
-
...componentInfo$
|
|
4653
|
+
...componentInfo$3
|
|
4588
4654
|
},
|
|
4589
4655
|
{
|
|
4590
4656
|
component: SelectComponent,
|
|
4591
|
-
...componentInfo$
|
|
4657
|
+
...componentInfo$4
|
|
4658
|
+
},
|
|
4659
|
+
{
|
|
4660
|
+
component: Textarea,
|
|
4661
|
+
...componentInfo$2
|
|
4592
4662
|
}
|
|
4593
4663
|
],
|
|
4594
4664
|
{
|
|
@@ -4603,44 +4673,44 @@ const getExtraComponents = () => [
|
|
|
4603
4673
|
const getDefaultRegisteredComponents = () => [
|
|
4604
4674
|
{
|
|
4605
4675
|
component: Button,
|
|
4606
|
-
...componentInfo$
|
|
4676
|
+
...componentInfo$h
|
|
4607
4677
|
},
|
|
4608
4678
|
{
|
|
4609
4679
|
component: Columns,
|
|
4610
|
-
...componentInfo$
|
|
4680
|
+
...componentInfo$g
|
|
4611
4681
|
},
|
|
4612
4682
|
{
|
|
4613
4683
|
component: FragmentComponent,
|
|
4614
|
-
...componentInfo$
|
|
4684
|
+
...componentInfo$f
|
|
4615
4685
|
},
|
|
4616
4686
|
{
|
|
4617
4687
|
component: Image,
|
|
4618
|
-
...componentInfo$
|
|
4688
|
+
...componentInfo$e
|
|
4619
4689
|
},
|
|
4620
4690
|
{
|
|
4621
4691
|
component: SectionComponent,
|
|
4622
|
-
...componentInfo$
|
|
4692
|
+
...componentInfo$d
|
|
4623
4693
|
},
|
|
4624
4694
|
{
|
|
4625
4695
|
component: Slot,
|
|
4626
|
-
...componentInfo$
|
|
4696
|
+
...componentInfo$c
|
|
4627
4697
|
},
|
|
4628
4698
|
{
|
|
4629
4699
|
component: Symbol$1,
|
|
4630
|
-
...componentInfo$
|
|
4700
|
+
...componentInfo$b
|
|
4631
4701
|
},
|
|
4632
4702
|
{
|
|
4633
4703
|
component: Text,
|
|
4634
|
-
...componentInfo$
|
|
4704
|
+
...componentInfo$9
|
|
4635
4705
|
},
|
|
4636
4706
|
...[
|
|
4637
4707
|
{
|
|
4638
4708
|
component: Tabs,
|
|
4639
|
-
...componentInfo$
|
|
4709
|
+
...componentInfo$a
|
|
4640
4710
|
},
|
|
4641
4711
|
{
|
|
4642
4712
|
component: Accordion,
|
|
4643
|
-
...componentInfo$
|
|
4713
|
+
...componentInfo$i
|
|
4644
4714
|
}
|
|
4645
4715
|
],
|
|
4646
4716
|
...getExtraComponents()
|
|
@@ -5101,7 +5171,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
5101
5171
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5102
5172
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5103
5173
|
}
|
|
5104
|
-
const SDK_VERSION = "0.14.
|
|
5174
|
+
const SDK_VERSION = "0.14.31";
|
|
5105
5175
|
const registry = {};
|
|
5106
5176
|
function register(type, info) {
|
|
5107
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",
|
|
@@ -2769,7 +2769,8 @@ const componentInfo$d = {
|
|
|
2769
2769
|
"jpeg",
|
|
2770
2770
|
"jpg",
|
|
2771
2771
|
"png",
|
|
2772
|
-
"svg"
|
|
2772
|
+
"svg",
|
|
2773
|
+
"webp"
|
|
2773
2774
|
],
|
|
2774
2775
|
required: true,
|
|
2775
2776
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
@@ -2903,7 +2904,7 @@ const componentInfo$d = {
|
|
|
2903
2904
|
}
|
|
2904
2905
|
]
|
|
2905
2906
|
};
|
|
2906
|
-
const componentInfo$
|
|
2907
|
+
const componentInfo$d = {
|
|
2907
2908
|
name: "Core:Section",
|
|
2908
2909
|
static: true,
|
|
2909
2910
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -2948,7 +2949,7 @@ const componentInfo$c = {
|
|
|
2948
2949
|
}
|
|
2949
2950
|
]
|
|
2950
2951
|
};
|
|
2951
|
-
const componentInfo$
|
|
2952
|
+
const componentInfo$c = {
|
|
2952
2953
|
name: "Slot",
|
|
2953
2954
|
isRSC: true,
|
|
2954
2955
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -3003,7 +3004,7 @@ const Slot = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
3003
3004
|
}
|
|
3004
3005
|
}, 0, "B1_1");
|
|
3005
3006
|
}, "Slot_component_WWgWgfV0bb0"));
|
|
3006
|
-
const componentInfo$
|
|
3007
|
+
const componentInfo$b = {
|
|
3007
3008
|
name: "Symbol",
|
|
3008
3009
|
noWrap: true,
|
|
3009
3010
|
static: true,
|
|
@@ -3083,7 +3084,7 @@ const defaultElement = {
|
|
|
3083
3084
|
}
|
|
3084
3085
|
}
|
|
3085
3086
|
};
|
|
3086
|
-
const componentInfo$
|
|
3087
|
+
const componentInfo$a = {
|
|
3087
3088
|
name: "Builder: Tabs",
|
|
3088
3089
|
inputs: [
|
|
3089
3090
|
{
|
|
@@ -3321,7 +3322,7 @@ const Tabs = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
3321
3322
|
}, 3, "6k_1"), 1, "6k_2") : null
|
|
3322
3323
|
], 1, "6k_3");
|
|
3323
3324
|
}, "Tabs_component_MhWcxXy0lMY"));
|
|
3324
|
-
const componentInfo$
|
|
3325
|
+
const componentInfo$9 = {
|
|
3325
3326
|
name: "Text",
|
|
3326
3327
|
static: true,
|
|
3327
3328
|
isRSC: true,
|
|
@@ -3356,7 +3357,7 @@ const Text = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
3356
3357
|
}
|
|
3357
3358
|
}, null, 3, "yO_0");
|
|
3358
3359
|
}, "Text_component_15p0cKUxgIE"));
|
|
3359
|
-
const componentInfo$
|
|
3360
|
+
const componentInfo$8 = {
|
|
3360
3361
|
name: "Custom Code",
|
|
3361
3362
|
static: true,
|
|
3362
3363
|
requiredPermissions: [
|
|
@@ -3435,7 +3436,7 @@ const CustomCode = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
|
|
|
3435
3436
|
], "p0.code")
|
|
3436
3437
|
}, null, 3, "bY_0");
|
|
3437
3438
|
}, "CustomCode_component_uYOSy7w7Zqw"));
|
|
3438
|
-
const componentInfo$
|
|
3439
|
+
const componentInfo$7 = {
|
|
3439
3440
|
name: "Embed",
|
|
3440
3441
|
static: true,
|
|
3441
3442
|
inputs: [
|
|
@@ -3449,7 +3450,7 @@ const componentInfo$6 = {
|
|
|
3449
3450
|
const url = options.get("url");
|
|
3450
3451
|
if (url) {
|
|
3451
3452
|
options.set("content", "Loading...");
|
|
3452
|
-
const apiKey =
|
|
3453
|
+
const apiKey = _iframelyApiKey;
|
|
3453
3454
|
return fetch(`https://iframe.ly/api/iframely?url=${url}&api_key=${apiKey}`).then((res) => res.json()).then((data) => {
|
|
3454
3455
|
if (options.get("url") === url) {
|
|
3455
3456
|
if (data.html)
|
|
@@ -3528,7 +3529,7 @@ const Embed = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
3528
3529
|
], "p0.content")
|
|
3529
3530
|
}, null, 3, "9r_0");
|
|
3530
3531
|
}, "Embed_component_Uji08ORjXbE"));
|
|
3531
|
-
const componentInfo$
|
|
3532
|
+
const componentInfo$6 = {
|
|
3532
3533
|
name: "Form:Form",
|
|
3533
3534
|
// editableTags: ['builder-form-error']
|
|
3534
3535
|
defaults: {
|
|
@@ -4109,7 +4110,7 @@ const STYLES = `
|
|
|
4109
4110
|
text-align: center;
|
|
4110
4111
|
}
|
|
4111
4112
|
`;
|
|
4112
|
-
const componentInfo$
|
|
4113
|
+
const componentInfo$5 = {
|
|
4113
4114
|
name: "Form:Input",
|
|
4114
4115
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
4115
4116
|
inputs: [
|
|
@@ -4192,7 +4193,7 @@ const FormInputComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQ
|
|
|
4192
4193
|
required: props.required
|
|
4193
4194
|
});
|
|
4194
4195
|
}, "FormInputComponent_component_AUUjdN0ueMs"));
|
|
4195
|
-
const componentInfo$
|
|
4196
|
+
const componentInfo$4 = {
|
|
4196
4197
|
name: "Form:Select",
|
|
4197
4198
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
4198
4199
|
defaultStyles: {
|
|
@@ -4253,14 +4254,15 @@ const SelectComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
|
|
|
4253
4254
|
value: props.value,
|
|
4254
4255
|
key: isEditing() && props.defaultValue ? props.defaultValue : "default-key",
|
|
4255
4256
|
defaultValue: props.defaultValue,
|
|
4256
|
-
name: props.name
|
|
4257
|
+
name: props.name,
|
|
4258
|
+
required: props.required
|
|
4257
4259
|
}, (props.options || []).map((option, index) => {
|
|
4258
4260
|
return /* @__PURE__ */ _jsxQ("option", {
|
|
4259
4261
|
value: _wrapSignal(option, "value")
|
|
4260
4262
|
}, null, option.name || option.value, 1, `${option.name}-${index}`);
|
|
4261
4263
|
}));
|
|
4262
4264
|
}, "SelectComponent_component_SPKbsFLikZU"));
|
|
4263
|
-
const componentInfo$
|
|
4265
|
+
const componentInfo$3 = {
|
|
4264
4266
|
name: "Form:SubmitButton",
|
|
4265
4267
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
4266
4268
|
defaultStyles: {
|
|
@@ -4294,6 +4296,70 @@ const SubmitButton = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
4294
4296
|
type: "submit"
|
|
4295
4297
|
}, 0, "6z_0");
|
|
4296
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"));
|
|
4297
4363
|
const componentInfo$1 = {
|
|
4298
4364
|
// friendlyName?
|
|
4299
4365
|
name: "Raw:Img",
|
|
@@ -4565,28 +4631,32 @@ const Video = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
4565
4631
|
const getExtraComponents = () => [
|
|
4566
4632
|
{
|
|
4567
4633
|
component: CustomCode,
|
|
4568
|
-
...componentInfo$
|
|
4634
|
+
...componentInfo$8
|
|
4569
4635
|
},
|
|
4570
4636
|
{
|
|
4571
4637
|
component: Embed,
|
|
4572
|
-
...componentInfo$
|
|
4638
|
+
...componentInfo$7
|
|
4573
4639
|
},
|
|
4574
4640
|
...[
|
|
4575
4641
|
{
|
|
4576
4642
|
component: FormComponent,
|
|
4577
|
-
...componentInfo$
|
|
4643
|
+
...componentInfo$6
|
|
4578
4644
|
},
|
|
4579
4645
|
{
|
|
4580
4646
|
component: FormInputComponent,
|
|
4581
|
-
...componentInfo$
|
|
4647
|
+
...componentInfo$5
|
|
4582
4648
|
},
|
|
4583
4649
|
{
|
|
4584
4650
|
component: SubmitButton,
|
|
4585
|
-
...componentInfo$
|
|
4651
|
+
...componentInfo$3
|
|
4586
4652
|
},
|
|
4587
4653
|
{
|
|
4588
4654
|
component: SelectComponent,
|
|
4589
|
-
...componentInfo$
|
|
4655
|
+
...componentInfo$4
|
|
4656
|
+
},
|
|
4657
|
+
{
|
|
4658
|
+
component: Textarea,
|
|
4659
|
+
...componentInfo$2
|
|
4590
4660
|
}
|
|
4591
4661
|
],
|
|
4592
4662
|
{
|
|
@@ -4601,44 +4671,44 @@ const getExtraComponents = () => [
|
|
|
4601
4671
|
const getDefaultRegisteredComponents = () => [
|
|
4602
4672
|
{
|
|
4603
4673
|
component: Button,
|
|
4604
|
-
...componentInfo$
|
|
4674
|
+
...componentInfo$h
|
|
4605
4675
|
},
|
|
4606
4676
|
{
|
|
4607
4677
|
component: Columns,
|
|
4608
|
-
...componentInfo$
|
|
4678
|
+
...componentInfo$g
|
|
4609
4679
|
},
|
|
4610
4680
|
{
|
|
4611
4681
|
component: FragmentComponent,
|
|
4612
|
-
...componentInfo$
|
|
4682
|
+
...componentInfo$f
|
|
4613
4683
|
},
|
|
4614
4684
|
{
|
|
4615
4685
|
component: Image,
|
|
4616
|
-
...componentInfo$
|
|
4686
|
+
...componentInfo$e
|
|
4617
4687
|
},
|
|
4618
4688
|
{
|
|
4619
4689
|
component: SectionComponent,
|
|
4620
|
-
...componentInfo$
|
|
4690
|
+
...componentInfo$d
|
|
4621
4691
|
},
|
|
4622
4692
|
{
|
|
4623
4693
|
component: Slot,
|
|
4624
|
-
...componentInfo$
|
|
4694
|
+
...componentInfo$c
|
|
4625
4695
|
},
|
|
4626
4696
|
{
|
|
4627
4697
|
component: Symbol$1,
|
|
4628
|
-
...componentInfo$
|
|
4698
|
+
...componentInfo$b
|
|
4629
4699
|
},
|
|
4630
4700
|
{
|
|
4631
4701
|
component: Text,
|
|
4632
|
-
...componentInfo$
|
|
4702
|
+
...componentInfo$9
|
|
4633
4703
|
},
|
|
4634
4704
|
...[
|
|
4635
4705
|
{
|
|
4636
4706
|
component: Tabs,
|
|
4637
|
-
...componentInfo$
|
|
4707
|
+
...componentInfo$a
|
|
4638
4708
|
},
|
|
4639
4709
|
{
|
|
4640
4710
|
component: Accordion,
|
|
4641
|
-
...componentInfo$
|
|
4711
|
+
...componentInfo$i
|
|
4642
4712
|
}
|
|
4643
4713
|
],
|
|
4644
4714
|
...getExtraComponents()
|
|
@@ -5099,7 +5169,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
5099
5169
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5100
5170
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5101
5171
|
}
|
|
5102
|
-
const SDK_VERSION = "0.14.
|
|
5172
|
+
const SDK_VERSION = "0.14.31";
|
|
5103
5173
|
const registry = {};
|
|
5104
5174
|
function register(type, info) {
|
|
5105
5175
|
let typeList = registry[type];
|