@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
package/lib/edge/index.qwik.cjs
CHANGED
|
@@ -5396,7 +5396,7 @@ const defaultDetail = {
|
|
|
5396
5396
|
}
|
|
5397
5397
|
]
|
|
5398
5398
|
};
|
|
5399
|
-
const componentInfo$
|
|
5399
|
+
const componentInfo$i = {
|
|
5400
5400
|
name: "Builder:Accordion",
|
|
5401
5401
|
canHaveChildren: true,
|
|
5402
5402
|
image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
|
|
@@ -5688,7 +5688,7 @@ const Accordion = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlined
|
|
|
5688
5688
|
}, 1, "hf_3");
|
|
5689
5689
|
}), 1, "hf_4");
|
|
5690
5690
|
}, "Accordion_component_jkuUCHm0nt0"));
|
|
5691
|
-
const componentInfo$
|
|
5691
|
+
const componentInfo$h = {
|
|
5692
5692
|
name: "Core:Button",
|
|
5693
5693
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
5694
5694
|
defaultStyles: {
|
|
@@ -5726,7 +5726,7 @@ const componentInfo$g = {
|
|
|
5726
5726
|
static: true,
|
|
5727
5727
|
noWrap: true
|
|
5728
5728
|
};
|
|
5729
|
-
const componentInfo$
|
|
5729
|
+
const componentInfo$g = {
|
|
5730
5730
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
5731
5731
|
name: "Columns",
|
|
5732
5732
|
isRSC: true,
|
|
@@ -5968,14 +5968,14 @@ const componentInfo$f = {
|
|
|
5968
5968
|
}
|
|
5969
5969
|
]
|
|
5970
5970
|
};
|
|
5971
|
-
const componentInfo$
|
|
5971
|
+
const componentInfo$f = {
|
|
5972
5972
|
name: "Fragment",
|
|
5973
5973
|
static: true,
|
|
5974
5974
|
hidden: true,
|
|
5975
5975
|
canHaveChildren: true,
|
|
5976
5976
|
noWrap: true
|
|
5977
5977
|
};
|
|
5978
|
-
const componentInfo$
|
|
5978
|
+
const componentInfo$e = {
|
|
5979
5979
|
name: "Image",
|
|
5980
5980
|
static: true,
|
|
5981
5981
|
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",
|
|
@@ -6130,7 +6130,7 @@ const componentInfo$d = {
|
|
|
6130
6130
|
}
|
|
6131
6131
|
]
|
|
6132
6132
|
};
|
|
6133
|
-
const componentInfo$
|
|
6133
|
+
const componentInfo$d = {
|
|
6134
6134
|
name: "Core:Section",
|
|
6135
6135
|
static: true,
|
|
6136
6136
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -6175,7 +6175,7 @@ const componentInfo$c = {
|
|
|
6175
6175
|
}
|
|
6176
6176
|
]
|
|
6177
6177
|
};
|
|
6178
|
-
const componentInfo$
|
|
6178
|
+
const componentInfo$c = {
|
|
6179
6179
|
name: "Slot",
|
|
6180
6180
|
isRSC: true,
|
|
6181
6181
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -6230,7 +6230,7 @@ const Slot = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
6230
6230
|
}
|
|
6231
6231
|
}, 0, "B1_1");
|
|
6232
6232
|
}, "Slot_component_WWgWgfV0bb0"));
|
|
6233
|
-
const componentInfo$
|
|
6233
|
+
const componentInfo$b = {
|
|
6234
6234
|
name: "Symbol",
|
|
6235
6235
|
noWrap: true,
|
|
6236
6236
|
static: true,
|
|
@@ -6310,7 +6310,7 @@ const defaultElement = {
|
|
|
6310
6310
|
}
|
|
6311
6311
|
}
|
|
6312
6312
|
};
|
|
6313
|
-
const componentInfo$
|
|
6313
|
+
const componentInfo$a = {
|
|
6314
6314
|
name: "Builder: Tabs",
|
|
6315
6315
|
inputs: [
|
|
6316
6316
|
{
|
|
@@ -6548,7 +6548,7 @@ const Tabs = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
6548
6548
|
}, 3, "6k_1"), 1, "6k_2") : null
|
|
6549
6549
|
], 1, "6k_3");
|
|
6550
6550
|
}, "Tabs_component_MhWcxXy0lMY"));
|
|
6551
|
-
const componentInfo$
|
|
6551
|
+
const componentInfo$9 = {
|
|
6552
6552
|
name: "Text",
|
|
6553
6553
|
static: true,
|
|
6554
6554
|
isRSC: true,
|
|
@@ -6583,7 +6583,7 @@ const Text = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
6583
6583
|
}
|
|
6584
6584
|
}, null, 3, "yO_0");
|
|
6585
6585
|
}, "Text_component_15p0cKUxgIE"));
|
|
6586
|
-
const componentInfo$
|
|
6586
|
+
const componentInfo$8 = {
|
|
6587
6587
|
name: "Custom Code",
|
|
6588
6588
|
static: true,
|
|
6589
6589
|
requiredPermissions: [
|
|
@@ -6662,7 +6662,7 @@ const CustomCode = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inline
|
|
|
6662
6662
|
], "p0.code")
|
|
6663
6663
|
}, null, 3, "bY_0");
|
|
6664
6664
|
}, "CustomCode_component_uYOSy7w7Zqw"));
|
|
6665
|
-
const componentInfo$
|
|
6665
|
+
const componentInfo$7 = {
|
|
6666
6666
|
name: "Embed",
|
|
6667
6667
|
static: true,
|
|
6668
6668
|
inputs: [
|
|
@@ -6755,7 +6755,7 @@ const Embed = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
|
|
|
6755
6755
|
], "p0.content")
|
|
6756
6756
|
}, null, 3, "9r_0");
|
|
6757
6757
|
}, "Embed_component_Uji08ORjXbE"));
|
|
6758
|
-
const componentInfo$
|
|
6758
|
+
const componentInfo$6 = {
|
|
6759
6759
|
name: "Form:Form",
|
|
6760
6760
|
// editableTags: ['builder-form-error']
|
|
6761
6761
|
defaults: {
|
|
@@ -7336,7 +7336,7 @@ const STYLES = `
|
|
|
7336
7336
|
text-align: center;
|
|
7337
7337
|
}
|
|
7338
7338
|
`;
|
|
7339
|
-
const componentInfo$
|
|
7339
|
+
const componentInfo$5 = {
|
|
7340
7340
|
name: "Form:Input",
|
|
7341
7341
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
7342
7342
|
inputs: [
|
|
@@ -7419,7 +7419,7 @@ const FormInputComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwi
|
|
|
7419
7419
|
required: props.required
|
|
7420
7420
|
});
|
|
7421
7421
|
}, "FormInputComponent_component_AUUjdN0ueMs"));
|
|
7422
|
-
const componentInfo$
|
|
7422
|
+
const componentInfo$4 = {
|
|
7423
7423
|
name: "Form:Select",
|
|
7424
7424
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
7425
7425
|
defaultStyles: {
|
|
@@ -7480,14 +7480,15 @@ const SelectComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
|
|
|
7480
7480
|
value: props.value,
|
|
7481
7481
|
key: isEditing() && props.defaultValue ? props.defaultValue : "default-key",
|
|
7482
7482
|
defaultValue: props.defaultValue,
|
|
7483
|
-
name: props.name
|
|
7483
|
+
name: props.name,
|
|
7484
|
+
required: props.required
|
|
7484
7485
|
}, (props.options || []).map((option, index) => {
|
|
7485
7486
|
return /* @__PURE__ */ qwik._jsxQ("option", {
|
|
7486
7487
|
value: qwik._wrapSignal(option, "value")
|
|
7487
7488
|
}, null, option.name || option.value, 1, `${option.name}-${index}`);
|
|
7488
7489
|
}));
|
|
7489
7490
|
}, "SelectComponent_component_SPKbsFLikZU"));
|
|
7490
|
-
const componentInfo$
|
|
7491
|
+
const componentInfo$3 = {
|
|
7491
7492
|
name: "Form:SubmitButton",
|
|
7492
7493
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
7493
7494
|
defaultStyles: {
|
|
@@ -7521,6 +7522,70 @@ const SubmitButton = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
7521
7522
|
type: "submit"
|
|
7522
7523
|
}, 0, "6z_0");
|
|
7523
7524
|
}, "SubmitButton_component_NXvMBMCDhwc"));
|
|
7525
|
+
const componentInfo$2 = {
|
|
7526
|
+
name: "Form:TextArea",
|
|
7527
|
+
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
7528
|
+
inputs: [
|
|
7529
|
+
{
|
|
7530
|
+
advanced: true,
|
|
7531
|
+
name: "value",
|
|
7532
|
+
type: "string"
|
|
7533
|
+
},
|
|
7534
|
+
{
|
|
7535
|
+
name: "name",
|
|
7536
|
+
type: "string",
|
|
7537
|
+
required: true,
|
|
7538
|
+
helperText: 'Every input in a form needs a unique name describing what it gets, e.g. "email"'
|
|
7539
|
+
},
|
|
7540
|
+
{
|
|
7541
|
+
name: "defaultValue",
|
|
7542
|
+
type: "string"
|
|
7543
|
+
},
|
|
7544
|
+
{
|
|
7545
|
+
name: "placeholder",
|
|
7546
|
+
type: "string",
|
|
7547
|
+
defaultValue: "Hello there"
|
|
7548
|
+
},
|
|
7549
|
+
{
|
|
7550
|
+
name: "required",
|
|
7551
|
+
type: "boolean",
|
|
7552
|
+
defaultValue: false
|
|
7553
|
+
}
|
|
7554
|
+
],
|
|
7555
|
+
defaultStyles: {
|
|
7556
|
+
paddingTop: "10px",
|
|
7557
|
+
paddingBottom: "10px",
|
|
7558
|
+
paddingLeft: "10px",
|
|
7559
|
+
paddingRight: "10px",
|
|
7560
|
+
borderRadius: "3px",
|
|
7561
|
+
borderWidth: "1px",
|
|
7562
|
+
borderStyle: "solid",
|
|
7563
|
+
borderColor: "#ccc"
|
|
7564
|
+
},
|
|
7565
|
+
static: true,
|
|
7566
|
+
noWrap: true
|
|
7567
|
+
};
|
|
7568
|
+
const Textarea = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
7569
|
+
return /* @__PURE__ */ qwik._jsxS("textarea", {
|
|
7570
|
+
...props.attributes
|
|
7571
|
+
}, {
|
|
7572
|
+
defaultValue: qwik._fnSignal((p0) => p0.defaultValue, [
|
|
7573
|
+
props
|
|
7574
|
+
], "p0.defaultValue"),
|
|
7575
|
+
name: qwik._fnSignal((p0) => p0.name, [
|
|
7576
|
+
props
|
|
7577
|
+
], "p0.name"),
|
|
7578
|
+
placeholder: qwik._fnSignal((p0) => p0.placeholder, [
|
|
7579
|
+
props
|
|
7580
|
+
], "p0.placeholder"),
|
|
7581
|
+
required: qwik._fnSignal((p0) => p0.required, [
|
|
7582
|
+
props
|
|
7583
|
+
], "p0.required"),
|
|
7584
|
+
value: qwik._fnSignal((p0) => p0.value, [
|
|
7585
|
+
props
|
|
7586
|
+
], "p0.value")
|
|
7587
|
+
}, 0, "kE_0");
|
|
7588
|
+
}, "Textarea_component_o1TcxV139Oc"));
|
|
7524
7589
|
const componentInfo$1 = {
|
|
7525
7590
|
// friendlyName?
|
|
7526
7591
|
name: "Raw:Img",
|
|
@@ -7792,28 +7857,32 @@ const Video = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
|
|
|
7792
7857
|
const getExtraComponents = () => [
|
|
7793
7858
|
{
|
|
7794
7859
|
component: CustomCode,
|
|
7795
|
-
...componentInfo$
|
|
7860
|
+
...componentInfo$8
|
|
7796
7861
|
},
|
|
7797
7862
|
{
|
|
7798
7863
|
component: Embed,
|
|
7799
|
-
...componentInfo$
|
|
7864
|
+
...componentInfo$7
|
|
7800
7865
|
},
|
|
7801
7866
|
...[
|
|
7802
7867
|
{
|
|
7803
7868
|
component: FormComponent,
|
|
7804
|
-
...componentInfo$
|
|
7869
|
+
...componentInfo$6
|
|
7805
7870
|
},
|
|
7806
7871
|
{
|
|
7807
7872
|
component: FormInputComponent,
|
|
7808
|
-
...componentInfo$
|
|
7873
|
+
...componentInfo$5
|
|
7809
7874
|
},
|
|
7810
7875
|
{
|
|
7811
7876
|
component: SubmitButton,
|
|
7812
|
-
...componentInfo$
|
|
7877
|
+
...componentInfo$3
|
|
7813
7878
|
},
|
|
7814
7879
|
{
|
|
7815
7880
|
component: SelectComponent,
|
|
7816
|
-
...componentInfo$
|
|
7881
|
+
...componentInfo$4
|
|
7882
|
+
},
|
|
7883
|
+
{
|
|
7884
|
+
component: Textarea,
|
|
7885
|
+
...componentInfo$2
|
|
7817
7886
|
}
|
|
7818
7887
|
],
|
|
7819
7888
|
{
|
|
@@ -7828,44 +7897,44 @@ const getExtraComponents = () => [
|
|
|
7828
7897
|
const getDefaultRegisteredComponents = () => [
|
|
7829
7898
|
{
|
|
7830
7899
|
component: Button,
|
|
7831
|
-
...componentInfo$
|
|
7900
|
+
...componentInfo$h
|
|
7832
7901
|
},
|
|
7833
7902
|
{
|
|
7834
7903
|
component: Columns,
|
|
7835
|
-
...componentInfo$
|
|
7904
|
+
...componentInfo$g
|
|
7836
7905
|
},
|
|
7837
7906
|
{
|
|
7838
7907
|
component: FragmentComponent,
|
|
7839
|
-
...componentInfo$
|
|
7908
|
+
...componentInfo$f
|
|
7840
7909
|
},
|
|
7841
7910
|
{
|
|
7842
7911
|
component: Image,
|
|
7843
|
-
...componentInfo$
|
|
7912
|
+
...componentInfo$e
|
|
7844
7913
|
},
|
|
7845
7914
|
{
|
|
7846
7915
|
component: SectionComponent,
|
|
7847
|
-
...componentInfo$
|
|
7916
|
+
...componentInfo$d
|
|
7848
7917
|
},
|
|
7849
7918
|
{
|
|
7850
7919
|
component: Slot,
|
|
7851
|
-
...componentInfo$
|
|
7920
|
+
...componentInfo$c
|
|
7852
7921
|
},
|
|
7853
7922
|
{
|
|
7854
7923
|
component: Symbol$1,
|
|
7855
|
-
...componentInfo$
|
|
7924
|
+
...componentInfo$b
|
|
7856
7925
|
},
|
|
7857
7926
|
{
|
|
7858
7927
|
component: Text,
|
|
7859
|
-
...componentInfo$
|
|
7928
|
+
...componentInfo$9
|
|
7860
7929
|
},
|
|
7861
7930
|
...[
|
|
7862
7931
|
{
|
|
7863
7932
|
component: Tabs,
|
|
7864
|
-
...componentInfo$
|
|
7933
|
+
...componentInfo$a
|
|
7865
7934
|
},
|
|
7866
7935
|
{
|
|
7867
7936
|
component: Accordion,
|
|
7868
|
-
...componentInfo$
|
|
7937
|
+
...componentInfo$i
|
|
7869
7938
|
}
|
|
7870
7939
|
],
|
|
7871
7940
|
...getExtraComponents()
|
|
@@ -8326,7 +8395,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
8326
8395
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
8327
8396
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
8328
8397
|
}
|
|
8329
|
-
const SDK_VERSION = "0.14.
|
|
8398
|
+
const SDK_VERSION = "0.14.31";
|
|
8330
8399
|
const registry = {};
|
|
8331
8400
|
function register(type, info) {
|
|
8332
8401
|
let typeList = registry[type];
|
package/lib/edge/index.qwik.mjs
CHANGED
|
@@ -5394,7 +5394,7 @@ const defaultDetail = {
|
|
|
5394
5394
|
}
|
|
5395
5395
|
]
|
|
5396
5396
|
};
|
|
5397
|
-
const componentInfo$
|
|
5397
|
+
const componentInfo$i = {
|
|
5398
5398
|
name: "Builder:Accordion",
|
|
5399
5399
|
canHaveChildren: true,
|
|
5400
5400
|
image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
|
|
@@ -5686,7 +5686,7 @@ const Accordion = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
|
|
|
5686
5686
|
}, 1, "hf_3");
|
|
5687
5687
|
}), 1, "hf_4");
|
|
5688
5688
|
}, "Accordion_component_jkuUCHm0nt0"));
|
|
5689
|
-
const componentInfo$
|
|
5689
|
+
const componentInfo$h = {
|
|
5690
5690
|
name: "Core:Button",
|
|
5691
5691
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
5692
5692
|
defaultStyles: {
|
|
@@ -5724,7 +5724,7 @@ const componentInfo$g = {
|
|
|
5724
5724
|
static: true,
|
|
5725
5725
|
noWrap: true
|
|
5726
5726
|
};
|
|
5727
|
-
const componentInfo$
|
|
5727
|
+
const componentInfo$g = {
|
|
5728
5728
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
5729
5729
|
name: "Columns",
|
|
5730
5730
|
isRSC: true,
|
|
@@ -5966,14 +5966,14 @@ const componentInfo$f = {
|
|
|
5966
5966
|
}
|
|
5967
5967
|
]
|
|
5968
5968
|
};
|
|
5969
|
-
const componentInfo$
|
|
5969
|
+
const componentInfo$f = {
|
|
5970
5970
|
name: "Fragment",
|
|
5971
5971
|
static: true,
|
|
5972
5972
|
hidden: true,
|
|
5973
5973
|
canHaveChildren: true,
|
|
5974
5974
|
noWrap: true
|
|
5975
5975
|
};
|
|
5976
|
-
const componentInfo$
|
|
5976
|
+
const componentInfo$e = {
|
|
5977
5977
|
name: "Image",
|
|
5978
5978
|
static: true,
|
|
5979
5979
|
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",
|
|
@@ -6128,7 +6128,7 @@ const componentInfo$d = {
|
|
|
6128
6128
|
}
|
|
6129
6129
|
]
|
|
6130
6130
|
};
|
|
6131
|
-
const componentInfo$
|
|
6131
|
+
const componentInfo$d = {
|
|
6132
6132
|
name: "Core:Section",
|
|
6133
6133
|
static: true,
|
|
6134
6134
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -6173,7 +6173,7 @@ const componentInfo$c = {
|
|
|
6173
6173
|
}
|
|
6174
6174
|
]
|
|
6175
6175
|
};
|
|
6176
|
-
const componentInfo$
|
|
6176
|
+
const componentInfo$c = {
|
|
6177
6177
|
name: "Slot",
|
|
6178
6178
|
isRSC: true,
|
|
6179
6179
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -6228,7 +6228,7 @@ const Slot = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
6228
6228
|
}
|
|
6229
6229
|
}, 0, "B1_1");
|
|
6230
6230
|
}, "Slot_component_WWgWgfV0bb0"));
|
|
6231
|
-
const componentInfo$
|
|
6231
|
+
const componentInfo$b = {
|
|
6232
6232
|
name: "Symbol",
|
|
6233
6233
|
noWrap: true,
|
|
6234
6234
|
static: true,
|
|
@@ -6308,7 +6308,7 @@ const defaultElement = {
|
|
|
6308
6308
|
}
|
|
6309
6309
|
}
|
|
6310
6310
|
};
|
|
6311
|
-
const componentInfo$
|
|
6311
|
+
const componentInfo$a = {
|
|
6312
6312
|
name: "Builder: Tabs",
|
|
6313
6313
|
inputs: [
|
|
6314
6314
|
{
|
|
@@ -6546,7 +6546,7 @@ const Tabs = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
6546
6546
|
}, 3, "6k_1"), 1, "6k_2") : null
|
|
6547
6547
|
], 1, "6k_3");
|
|
6548
6548
|
}, "Tabs_component_MhWcxXy0lMY"));
|
|
6549
|
-
const componentInfo$
|
|
6549
|
+
const componentInfo$9 = {
|
|
6550
6550
|
name: "Text",
|
|
6551
6551
|
static: true,
|
|
6552
6552
|
isRSC: true,
|
|
@@ -6581,7 +6581,7 @@ const Text = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
6581
6581
|
}
|
|
6582
6582
|
}, null, 3, "yO_0");
|
|
6583
6583
|
}, "Text_component_15p0cKUxgIE"));
|
|
6584
|
-
const componentInfo$
|
|
6584
|
+
const componentInfo$8 = {
|
|
6585
6585
|
name: "Custom Code",
|
|
6586
6586
|
static: true,
|
|
6587
6587
|
requiredPermissions: [
|
|
@@ -6660,7 +6660,7 @@ const CustomCode = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
|
|
|
6660
6660
|
], "p0.code")
|
|
6661
6661
|
}, null, 3, "bY_0");
|
|
6662
6662
|
}, "CustomCode_component_uYOSy7w7Zqw"));
|
|
6663
|
-
const componentInfo$
|
|
6663
|
+
const componentInfo$7 = {
|
|
6664
6664
|
name: "Embed",
|
|
6665
6665
|
static: true,
|
|
6666
6666
|
inputs: [
|
|
@@ -6753,7 +6753,7 @@ const Embed = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
6753
6753
|
], "p0.content")
|
|
6754
6754
|
}, null, 3, "9r_0");
|
|
6755
6755
|
}, "Embed_component_Uji08ORjXbE"));
|
|
6756
|
-
const componentInfo$
|
|
6756
|
+
const componentInfo$6 = {
|
|
6757
6757
|
name: "Form:Form",
|
|
6758
6758
|
// editableTags: ['builder-form-error']
|
|
6759
6759
|
defaults: {
|
|
@@ -7334,7 +7334,7 @@ const STYLES = `
|
|
|
7334
7334
|
text-align: center;
|
|
7335
7335
|
}
|
|
7336
7336
|
`;
|
|
7337
|
-
const componentInfo$
|
|
7337
|
+
const componentInfo$5 = {
|
|
7338
7338
|
name: "Form:Input",
|
|
7339
7339
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
7340
7340
|
inputs: [
|
|
@@ -7417,7 +7417,7 @@ const FormInputComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQ
|
|
|
7417
7417
|
required: props.required
|
|
7418
7418
|
});
|
|
7419
7419
|
}, "FormInputComponent_component_AUUjdN0ueMs"));
|
|
7420
|
-
const componentInfo$
|
|
7420
|
+
const componentInfo$4 = {
|
|
7421
7421
|
name: "Form:Select",
|
|
7422
7422
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
7423
7423
|
defaultStyles: {
|
|
@@ -7478,14 +7478,15 @@ const SelectComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
|
|
|
7478
7478
|
value: props.value,
|
|
7479
7479
|
key: isEditing() && props.defaultValue ? props.defaultValue : "default-key",
|
|
7480
7480
|
defaultValue: props.defaultValue,
|
|
7481
|
-
name: props.name
|
|
7481
|
+
name: props.name,
|
|
7482
|
+
required: props.required
|
|
7482
7483
|
}, (props.options || []).map((option, index) => {
|
|
7483
7484
|
return /* @__PURE__ */ _jsxQ("option", {
|
|
7484
7485
|
value: _wrapSignal(option, "value")
|
|
7485
7486
|
}, null, option.name || option.value, 1, `${option.name}-${index}`);
|
|
7486
7487
|
}));
|
|
7487
7488
|
}, "SelectComponent_component_SPKbsFLikZU"));
|
|
7488
|
-
const componentInfo$
|
|
7489
|
+
const componentInfo$3 = {
|
|
7489
7490
|
name: "Form:SubmitButton",
|
|
7490
7491
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
7491
7492
|
defaultStyles: {
|
|
@@ -7519,6 +7520,70 @@ const SubmitButton = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
7519
7520
|
type: "submit"
|
|
7520
7521
|
}, 0, "6z_0");
|
|
7521
7522
|
}, "SubmitButton_component_NXvMBMCDhwc"));
|
|
7523
|
+
const componentInfo$2 = {
|
|
7524
|
+
name: "Form:TextArea",
|
|
7525
|
+
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
7526
|
+
inputs: [
|
|
7527
|
+
{
|
|
7528
|
+
advanced: true,
|
|
7529
|
+
name: "value",
|
|
7530
|
+
type: "string"
|
|
7531
|
+
},
|
|
7532
|
+
{
|
|
7533
|
+
name: "name",
|
|
7534
|
+
type: "string",
|
|
7535
|
+
required: true,
|
|
7536
|
+
helperText: 'Every input in a form needs a unique name describing what it gets, e.g. "email"'
|
|
7537
|
+
},
|
|
7538
|
+
{
|
|
7539
|
+
name: "defaultValue",
|
|
7540
|
+
type: "string"
|
|
7541
|
+
},
|
|
7542
|
+
{
|
|
7543
|
+
name: "placeholder",
|
|
7544
|
+
type: "string",
|
|
7545
|
+
defaultValue: "Hello there"
|
|
7546
|
+
},
|
|
7547
|
+
{
|
|
7548
|
+
name: "required",
|
|
7549
|
+
type: "boolean",
|
|
7550
|
+
defaultValue: false
|
|
7551
|
+
}
|
|
7552
|
+
],
|
|
7553
|
+
defaultStyles: {
|
|
7554
|
+
paddingTop: "10px",
|
|
7555
|
+
paddingBottom: "10px",
|
|
7556
|
+
paddingLeft: "10px",
|
|
7557
|
+
paddingRight: "10px",
|
|
7558
|
+
borderRadius: "3px",
|
|
7559
|
+
borderWidth: "1px",
|
|
7560
|
+
borderStyle: "solid",
|
|
7561
|
+
borderColor: "#ccc"
|
|
7562
|
+
},
|
|
7563
|
+
static: true,
|
|
7564
|
+
noWrap: true
|
|
7565
|
+
};
|
|
7566
|
+
const Textarea = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
7567
|
+
return /* @__PURE__ */ _jsxS("textarea", {
|
|
7568
|
+
...props.attributes
|
|
7569
|
+
}, {
|
|
7570
|
+
defaultValue: _fnSignal((p0) => p0.defaultValue, [
|
|
7571
|
+
props
|
|
7572
|
+
], "p0.defaultValue"),
|
|
7573
|
+
name: _fnSignal((p0) => p0.name, [
|
|
7574
|
+
props
|
|
7575
|
+
], "p0.name"),
|
|
7576
|
+
placeholder: _fnSignal((p0) => p0.placeholder, [
|
|
7577
|
+
props
|
|
7578
|
+
], "p0.placeholder"),
|
|
7579
|
+
required: _fnSignal((p0) => p0.required, [
|
|
7580
|
+
props
|
|
7581
|
+
], "p0.required"),
|
|
7582
|
+
value: _fnSignal((p0) => p0.value, [
|
|
7583
|
+
props
|
|
7584
|
+
], "p0.value")
|
|
7585
|
+
}, 0, "kE_0");
|
|
7586
|
+
}, "Textarea_component_o1TcxV139Oc"));
|
|
7522
7587
|
const componentInfo$1 = {
|
|
7523
7588
|
// friendlyName?
|
|
7524
7589
|
name: "Raw:Img",
|
|
@@ -7790,28 +7855,32 @@ const Video = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
7790
7855
|
const getExtraComponents = () => [
|
|
7791
7856
|
{
|
|
7792
7857
|
component: CustomCode,
|
|
7793
|
-
...componentInfo$
|
|
7858
|
+
...componentInfo$8
|
|
7794
7859
|
},
|
|
7795
7860
|
{
|
|
7796
7861
|
component: Embed,
|
|
7797
|
-
...componentInfo$
|
|
7862
|
+
...componentInfo$7
|
|
7798
7863
|
},
|
|
7799
7864
|
...[
|
|
7800
7865
|
{
|
|
7801
7866
|
component: FormComponent,
|
|
7802
|
-
...componentInfo$
|
|
7867
|
+
...componentInfo$6
|
|
7803
7868
|
},
|
|
7804
7869
|
{
|
|
7805
7870
|
component: FormInputComponent,
|
|
7806
|
-
...componentInfo$
|
|
7871
|
+
...componentInfo$5
|
|
7807
7872
|
},
|
|
7808
7873
|
{
|
|
7809
7874
|
component: SubmitButton,
|
|
7810
|
-
...componentInfo$
|
|
7875
|
+
...componentInfo$3
|
|
7811
7876
|
},
|
|
7812
7877
|
{
|
|
7813
7878
|
component: SelectComponent,
|
|
7814
|
-
...componentInfo$
|
|
7879
|
+
...componentInfo$4
|
|
7880
|
+
},
|
|
7881
|
+
{
|
|
7882
|
+
component: Textarea,
|
|
7883
|
+
...componentInfo$2
|
|
7815
7884
|
}
|
|
7816
7885
|
],
|
|
7817
7886
|
{
|
|
@@ -7826,44 +7895,44 @@ const getExtraComponents = () => [
|
|
|
7826
7895
|
const getDefaultRegisteredComponents = () => [
|
|
7827
7896
|
{
|
|
7828
7897
|
component: Button,
|
|
7829
|
-
...componentInfo$
|
|
7898
|
+
...componentInfo$h
|
|
7830
7899
|
},
|
|
7831
7900
|
{
|
|
7832
7901
|
component: Columns,
|
|
7833
|
-
...componentInfo$
|
|
7902
|
+
...componentInfo$g
|
|
7834
7903
|
},
|
|
7835
7904
|
{
|
|
7836
7905
|
component: FragmentComponent,
|
|
7837
|
-
...componentInfo$
|
|
7906
|
+
...componentInfo$f
|
|
7838
7907
|
},
|
|
7839
7908
|
{
|
|
7840
7909
|
component: Image,
|
|
7841
|
-
...componentInfo$
|
|
7910
|
+
...componentInfo$e
|
|
7842
7911
|
},
|
|
7843
7912
|
{
|
|
7844
7913
|
component: SectionComponent,
|
|
7845
|
-
...componentInfo$
|
|
7914
|
+
...componentInfo$d
|
|
7846
7915
|
},
|
|
7847
7916
|
{
|
|
7848
7917
|
component: Slot,
|
|
7849
|
-
...componentInfo$
|
|
7918
|
+
...componentInfo$c
|
|
7850
7919
|
},
|
|
7851
7920
|
{
|
|
7852
7921
|
component: Symbol$1,
|
|
7853
|
-
...componentInfo$
|
|
7922
|
+
...componentInfo$b
|
|
7854
7923
|
},
|
|
7855
7924
|
{
|
|
7856
7925
|
component: Text,
|
|
7857
|
-
...componentInfo$
|
|
7926
|
+
...componentInfo$9
|
|
7858
7927
|
},
|
|
7859
7928
|
...[
|
|
7860
7929
|
{
|
|
7861
7930
|
component: Tabs,
|
|
7862
|
-
...componentInfo$
|
|
7931
|
+
...componentInfo$a
|
|
7863
7932
|
},
|
|
7864
7933
|
{
|
|
7865
7934
|
component: Accordion,
|
|
7866
|
-
...componentInfo$
|
|
7935
|
+
...componentInfo$i
|
|
7867
7936
|
}
|
|
7868
7937
|
],
|
|
7869
7938
|
...getExtraComponents()
|
|
@@ -8324,7 +8393,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
8324
8393
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
8325
8394
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
8326
8395
|
}
|
|
8327
|
-
const SDK_VERSION = "0.14.
|
|
8396
|
+
const SDK_VERSION = "0.14.31";
|
|
8328
8397
|
const registry = {};
|
|
8329
8398
|
function register(type, info) {
|
|
8330
8399
|
let typeList = registry[type];
|