@builder.io/sdk-qwik 0.14.29 → 0.15.0
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 +267 -79
- package/lib/browser/index.qwik.mjs +267 -79
- package/lib/edge/index.qwik.cjs +267 -79
- package/lib/edge/index.qwik.mjs +267 -79
- package/lib/node/index.qwik.cjs +286 -85
- package/lib/node/index.qwik.mjs +286 -85
- 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/components/block/block.helpers.d.ts +8 -8
- package/types/src/components/content-variants/inlined-fns.d.ts +1 -1
- package/types/src/constants/sdk-name.d.ts +1 -0
- package/types/src/constants/sdk-version.d.ts +1 -1
- package/types/src/types/components.d.ts +31 -0
- package/types/src/blocks/textarea/component-info.d.ts +0 -2
- /package/types/src/blocks/{textarea → form/textarea}/index.d.ts +0 -0
|
@@ -626,53 +626,56 @@ const getRepeatItemData = ({ block, context }) => {
|
|
|
626
626
|
}));
|
|
627
627
|
return repeatArray;
|
|
628
628
|
};
|
|
629
|
+
const applyDefaults = (shouldReceiveBuilderProps) => {
|
|
630
|
+
return {
|
|
631
|
+
// once we bump to a major version, toggle this to `false`.
|
|
632
|
+
builderBlock: true,
|
|
633
|
+
// once we bump to a major version, toggle this to `false`.
|
|
634
|
+
builderContext: true,
|
|
635
|
+
builderComponents: false,
|
|
636
|
+
builderLinkComponent: false,
|
|
637
|
+
...shouldReceiveBuilderProps
|
|
638
|
+
};
|
|
639
|
+
};
|
|
629
640
|
const provideLinkComponent = (block, linkComponent) => {
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
"Builder:Accordion"
|
|
637
|
-
].includes(block.name)) ? {
|
|
641
|
+
if (!block)
|
|
642
|
+
return {};
|
|
643
|
+
const shouldReceiveProp = applyDefaults(block.shouldReceiveBuilderProps).builderLinkComponent;
|
|
644
|
+
if (!shouldReceiveProp)
|
|
645
|
+
return {};
|
|
646
|
+
return {
|
|
638
647
|
builderLinkComponent: linkComponent
|
|
639
|
-
}
|
|
648
|
+
};
|
|
640
649
|
};
|
|
641
650
|
const provideRegisteredComponents = (block, registeredComponents) => {
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
].includes(block.name)) ? {
|
|
651
|
+
if (!block)
|
|
652
|
+
return {};
|
|
653
|
+
const shouldReceiveProp = applyDefaults(block.shouldReceiveBuilderProps).builderComponents;
|
|
654
|
+
if (!shouldReceiveProp)
|
|
655
|
+
return {};
|
|
656
|
+
return {
|
|
649
657
|
builderComponents: registeredComponents
|
|
650
|
-
}
|
|
658
|
+
};
|
|
651
659
|
};
|
|
652
660
|
const provideBuilderBlock = (block, builderBlock) => {
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
"Image",
|
|
660
|
-
"Video"
|
|
661
|
-
].includes(block.name)) ? {
|
|
661
|
+
if (!block)
|
|
662
|
+
return {};
|
|
663
|
+
const shouldReceiveProp = applyDefaults(block.shouldReceiveBuilderProps).builderBlock;
|
|
664
|
+
if (!shouldReceiveProp)
|
|
665
|
+
return {};
|
|
666
|
+
return {
|
|
662
667
|
builderBlock
|
|
663
|
-
}
|
|
668
|
+
};
|
|
664
669
|
};
|
|
665
670
|
const provideBuilderContext = (block, context) => {
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
"Slot"
|
|
673
|
-
].includes(block.name)) ? {
|
|
671
|
+
if (!block)
|
|
672
|
+
return {};
|
|
673
|
+
const shouldReceiveProp = applyDefaults(block.shouldReceiveBuilderProps).builderContext;
|
|
674
|
+
if (!shouldReceiveProp)
|
|
675
|
+
return {};
|
|
676
|
+
return {
|
|
674
677
|
builderContext: context
|
|
675
|
-
}
|
|
678
|
+
};
|
|
676
679
|
};
|
|
677
680
|
const SIZES = {
|
|
678
681
|
small: {
|
|
@@ -2172,7 +2175,7 @@ const defaultDetail = {
|
|
|
2172
2175
|
}
|
|
2173
2176
|
]
|
|
2174
2177
|
};
|
|
2175
|
-
const componentInfo$
|
|
2178
|
+
const componentInfo$i = {
|
|
2176
2179
|
name: "Builder:Accordion",
|
|
2177
2180
|
canHaveChildren: true,
|
|
2178
2181
|
image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
|
|
@@ -2254,7 +2257,13 @@ const componentInfo$h = {
|
|
|
2254
2257
|
options.set("items", []);
|
|
2255
2258
|
}
|
|
2256
2259
|
}
|
|
2257
|
-
]
|
|
2260
|
+
],
|
|
2261
|
+
shouldReceiveBuilderProps: {
|
|
2262
|
+
builderBlock: true,
|
|
2263
|
+
builderContext: true,
|
|
2264
|
+
builderComponents: true,
|
|
2265
|
+
builderLinkComponent: true
|
|
2266
|
+
}
|
|
2258
2267
|
};
|
|
2259
2268
|
const convertOrderNumberToString = (order) => {
|
|
2260
2269
|
return order.toString();
|
|
@@ -2464,7 +2473,7 @@ const Accordion = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlined
|
|
|
2464
2473
|
}, 1, "hf_3");
|
|
2465
2474
|
}), 1, "hf_4");
|
|
2466
2475
|
}, "Accordion_component_jkuUCHm0nt0"));
|
|
2467
|
-
const componentInfo$
|
|
2476
|
+
const componentInfo$h = {
|
|
2468
2477
|
name: "Core:Button",
|
|
2469
2478
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
2470
2479
|
defaultStyles: {
|
|
@@ -2500,9 +2509,15 @@ const componentInfo$g = {
|
|
|
2500
2509
|
}
|
|
2501
2510
|
],
|
|
2502
2511
|
static: true,
|
|
2503
|
-
noWrap: true
|
|
2512
|
+
noWrap: true,
|
|
2513
|
+
shouldReceiveBuilderProps: {
|
|
2514
|
+
builderBlock: false,
|
|
2515
|
+
builderContext: false,
|
|
2516
|
+
builderComponents: false,
|
|
2517
|
+
builderLinkComponent: true
|
|
2518
|
+
}
|
|
2504
2519
|
};
|
|
2505
|
-
const componentInfo$
|
|
2520
|
+
const componentInfo$g = {
|
|
2506
2521
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
2507
2522
|
name: "Columns",
|
|
2508
2523
|
isRSC: true,
|
|
@@ -2742,16 +2757,28 @@ const componentInfo$f = {
|
|
|
2742
2757
|
helperText: "When stacking columns for mobile devices, reverse the ordering",
|
|
2743
2758
|
advanced: true
|
|
2744
2759
|
}
|
|
2745
|
-
]
|
|
2760
|
+
],
|
|
2761
|
+
shouldReceiveBuilderProps: {
|
|
2762
|
+
builderBlock: true,
|
|
2763
|
+
builderContext: true,
|
|
2764
|
+
builderComponents: true,
|
|
2765
|
+
builderLinkComponent: true
|
|
2766
|
+
}
|
|
2746
2767
|
};
|
|
2747
|
-
const componentInfo$
|
|
2768
|
+
const componentInfo$f = {
|
|
2769
|
+
shouldReceiveBuilderProps: {
|
|
2770
|
+
builderBlock: false,
|
|
2771
|
+
builderContext: false,
|
|
2772
|
+
builderComponents: false,
|
|
2773
|
+
builderLinkComponent: false
|
|
2774
|
+
},
|
|
2748
2775
|
name: "Fragment",
|
|
2749
2776
|
static: true,
|
|
2750
2777
|
hidden: true,
|
|
2751
2778
|
canHaveChildren: true,
|
|
2752
2779
|
noWrap: true
|
|
2753
2780
|
};
|
|
2754
|
-
const componentInfo$
|
|
2781
|
+
const componentInfo$e = {
|
|
2755
2782
|
name: "Image",
|
|
2756
2783
|
static: true,
|
|
2757
2784
|
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,9 +2931,21 @@ const componentInfo$d = {
|
|
|
2904
2931
|
advanced: true,
|
|
2905
2932
|
defaultValue: 0.7041
|
|
2906
2933
|
}
|
|
2907
|
-
]
|
|
2934
|
+
],
|
|
2935
|
+
shouldReceiveBuilderProps: {
|
|
2936
|
+
builderBlock: true,
|
|
2937
|
+
builderContext: false,
|
|
2938
|
+
builderComponents: false,
|
|
2939
|
+
builderLinkComponent: false
|
|
2940
|
+
}
|
|
2908
2941
|
};
|
|
2909
|
-
const componentInfo$
|
|
2942
|
+
const componentInfo$d = {
|
|
2943
|
+
shouldReceiveBuilderProps: {
|
|
2944
|
+
builderBlock: false,
|
|
2945
|
+
builderContext: false,
|
|
2946
|
+
builderComponents: false,
|
|
2947
|
+
builderLinkComponent: false
|
|
2948
|
+
},
|
|
2910
2949
|
name: "Core:Section",
|
|
2911
2950
|
static: true,
|
|
2912
2951
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -2951,7 +2990,7 @@ const componentInfo$c = {
|
|
|
2951
2990
|
}
|
|
2952
2991
|
]
|
|
2953
2992
|
};
|
|
2954
|
-
const componentInfo$
|
|
2993
|
+
const componentInfo$c = {
|
|
2955
2994
|
name: "Slot",
|
|
2956
2995
|
isRSC: true,
|
|
2957
2996
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -2965,7 +3004,13 @@ const componentInfo$b = {
|
|
|
2965
3004
|
required: true,
|
|
2966
3005
|
defaultValue: "children"
|
|
2967
3006
|
}
|
|
2968
|
-
]
|
|
3007
|
+
],
|
|
3008
|
+
shouldReceiveBuilderProps: {
|
|
3009
|
+
builderBlock: false,
|
|
3010
|
+
builderContext: true,
|
|
3011
|
+
builderComponents: false,
|
|
3012
|
+
builderLinkComponent: false
|
|
3013
|
+
}
|
|
2969
3014
|
};
|
|
2970
3015
|
const Slot = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
2971
3016
|
var _a, _b;
|
|
@@ -3006,7 +3051,7 @@ const Slot = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
3006
3051
|
}
|
|
3007
3052
|
}, 0, "B1_1");
|
|
3008
3053
|
}, "Slot_component_WWgWgfV0bb0"));
|
|
3009
|
-
const componentInfo$
|
|
3054
|
+
const componentInfo$b = {
|
|
3010
3055
|
name: "Symbol",
|
|
3011
3056
|
noWrap: true,
|
|
3012
3057
|
static: true,
|
|
@@ -3044,7 +3089,13 @@ const componentInfo$a = {
|
|
|
3044
3089
|
hideFromUI: true,
|
|
3045
3090
|
type: "boolean"
|
|
3046
3091
|
}
|
|
3047
|
-
]
|
|
3092
|
+
],
|
|
3093
|
+
shouldReceiveBuilderProps: {
|
|
3094
|
+
builderBlock: true,
|
|
3095
|
+
builderContext: true,
|
|
3096
|
+
builderComponents: true,
|
|
3097
|
+
builderLinkComponent: true
|
|
3098
|
+
}
|
|
3048
3099
|
};
|
|
3049
3100
|
const defaultTab = {
|
|
3050
3101
|
"@type": "@builder.io/sdk:Element",
|
|
@@ -3086,7 +3137,7 @@ const defaultElement = {
|
|
|
3086
3137
|
}
|
|
3087
3138
|
}
|
|
3088
3139
|
};
|
|
3089
|
-
const componentInfo$
|
|
3140
|
+
const componentInfo$a = {
|
|
3090
3141
|
name: "Builder: Tabs",
|
|
3091
3142
|
inputs: [
|
|
3092
3143
|
{
|
|
@@ -3212,7 +3263,13 @@ const componentInfo$9 = {
|
|
|
3212
3263
|
}
|
|
3213
3264
|
]
|
|
3214
3265
|
}
|
|
3215
|
-
]
|
|
3266
|
+
],
|
|
3267
|
+
shouldReceiveBuilderProps: {
|
|
3268
|
+
builderBlock: true,
|
|
3269
|
+
builderContext: true,
|
|
3270
|
+
builderComponents: true,
|
|
3271
|
+
builderLinkComponent: true
|
|
3272
|
+
}
|
|
3216
3273
|
};
|
|
3217
3274
|
const activeTabContent = function activeTabContent2(props, state, active) {
|
|
3218
3275
|
return props.tabs && props.tabs[active].content;
|
|
@@ -3324,7 +3381,13 @@ const Tabs = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
3324
3381
|
}, 3, "6k_1"), 1, "6k_2") : null
|
|
3325
3382
|
], 1, "6k_3");
|
|
3326
3383
|
}, "Tabs_component_MhWcxXy0lMY"));
|
|
3327
|
-
const componentInfo$
|
|
3384
|
+
const componentInfo$9 = {
|
|
3385
|
+
shouldReceiveBuilderProps: {
|
|
3386
|
+
builderBlock: false,
|
|
3387
|
+
builderContext: false,
|
|
3388
|
+
builderComponents: false,
|
|
3389
|
+
builderLinkComponent: false
|
|
3390
|
+
},
|
|
3328
3391
|
name: "Text",
|
|
3329
3392
|
static: true,
|
|
3330
3393
|
isRSC: true,
|
|
@@ -3359,7 +3422,13 @@ const Text = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
3359
3422
|
}
|
|
3360
3423
|
}, null, 3, "yO_0");
|
|
3361
3424
|
}, "Text_component_15p0cKUxgIE"));
|
|
3362
|
-
const componentInfo$
|
|
3425
|
+
const componentInfo$8 = {
|
|
3426
|
+
shouldReceiveBuilderProps: {
|
|
3427
|
+
builderBlock: false,
|
|
3428
|
+
builderContext: false,
|
|
3429
|
+
builderComponents: false,
|
|
3430
|
+
builderLinkComponent: false
|
|
3431
|
+
},
|
|
3363
3432
|
name: "Custom Code",
|
|
3364
3433
|
static: true,
|
|
3365
3434
|
requiredPermissions: [
|
|
@@ -3438,7 +3507,13 @@ const CustomCode = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inline
|
|
|
3438
3507
|
], "p0.code")
|
|
3439
3508
|
}, null, 3, "bY_0");
|
|
3440
3509
|
}, "CustomCode_component_uYOSy7w7Zqw"));
|
|
3441
|
-
const componentInfo$
|
|
3510
|
+
const componentInfo$7 = {
|
|
3511
|
+
shouldReceiveBuilderProps: {
|
|
3512
|
+
builderBlock: false,
|
|
3513
|
+
builderContext: false,
|
|
3514
|
+
builderComponents: false,
|
|
3515
|
+
builderLinkComponent: false
|
|
3516
|
+
},
|
|
3442
3517
|
name: "Embed",
|
|
3443
3518
|
static: true,
|
|
3444
3519
|
inputs: [
|
|
@@ -3531,7 +3606,7 @@ const Embed = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
|
|
|
3531
3606
|
], "p0.content")
|
|
3532
3607
|
}, null, 3, "9r_0");
|
|
3533
3608
|
}, "Embed_component_Uji08ORjXbE"));
|
|
3534
|
-
const componentInfo$
|
|
3609
|
+
const componentInfo$6 = {
|
|
3535
3610
|
name: "Form:Form",
|
|
3536
3611
|
// editableTags: ['builder-form-error']
|
|
3537
3612
|
defaults: {
|
|
@@ -3801,7 +3876,13 @@ const componentInfo$5 = {
|
|
|
3801
3876
|
}
|
|
3802
3877
|
}
|
|
3803
3878
|
}
|
|
3804
|
-
]
|
|
3879
|
+
],
|
|
3880
|
+
shouldReceiveBuilderProps: {
|
|
3881
|
+
builderBlock: true,
|
|
3882
|
+
builderContext: true,
|
|
3883
|
+
builderComponents: true,
|
|
3884
|
+
builderLinkComponent: true
|
|
3885
|
+
}
|
|
3805
3886
|
};
|
|
3806
3887
|
const validEnvList = [
|
|
3807
3888
|
"production",
|
|
@@ -4112,7 +4193,13 @@ const STYLES = `
|
|
|
4112
4193
|
text-align: center;
|
|
4113
4194
|
}
|
|
4114
4195
|
`;
|
|
4115
|
-
const componentInfo$
|
|
4196
|
+
const componentInfo$5 = {
|
|
4197
|
+
shouldReceiveBuilderProps: {
|
|
4198
|
+
builderBlock: false,
|
|
4199
|
+
builderContext: false,
|
|
4200
|
+
builderComponents: false,
|
|
4201
|
+
builderLinkComponent: false
|
|
4202
|
+
},
|
|
4116
4203
|
name: "Form:Input",
|
|
4117
4204
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
4118
4205
|
inputs: [
|
|
@@ -4195,7 +4282,13 @@ const FormInputComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwi
|
|
|
4195
4282
|
required: props.required
|
|
4196
4283
|
});
|
|
4197
4284
|
}, "FormInputComponent_component_AUUjdN0ueMs"));
|
|
4198
|
-
const componentInfo$
|
|
4285
|
+
const componentInfo$4 = {
|
|
4286
|
+
shouldReceiveBuilderProps: {
|
|
4287
|
+
builderBlock: false,
|
|
4288
|
+
builderContext: false,
|
|
4289
|
+
builderComponents: false,
|
|
4290
|
+
builderLinkComponent: false
|
|
4291
|
+
},
|
|
4199
4292
|
name: "Form:Select",
|
|
4200
4293
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
4201
4294
|
defaultStyles: {
|
|
@@ -4256,14 +4349,21 @@ const SelectComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
|
|
|
4256
4349
|
value: props.value,
|
|
4257
4350
|
key: isEditing() && props.defaultValue ? props.defaultValue : "default-key",
|
|
4258
4351
|
defaultValue: props.defaultValue,
|
|
4259
|
-
name: props.name
|
|
4352
|
+
name: props.name,
|
|
4353
|
+
required: props.required
|
|
4260
4354
|
}, (props.options || []).map((option, index) => {
|
|
4261
4355
|
return /* @__PURE__ */ qwik._jsxQ("option", {
|
|
4262
4356
|
value: qwik._wrapSignal(option, "value")
|
|
4263
4357
|
}, null, option.name || option.value, 1, `${option.name}-${index}`);
|
|
4264
4358
|
}));
|
|
4265
4359
|
}, "SelectComponent_component_SPKbsFLikZU"));
|
|
4266
|
-
const componentInfo$
|
|
4360
|
+
const componentInfo$3 = {
|
|
4361
|
+
shouldReceiveBuilderProps: {
|
|
4362
|
+
builderBlock: false,
|
|
4363
|
+
builderContext: false,
|
|
4364
|
+
builderComponents: false,
|
|
4365
|
+
builderLinkComponent: false
|
|
4366
|
+
},
|
|
4267
4367
|
name: "Form:SubmitButton",
|
|
4268
4368
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
4269
4369
|
defaultStyles: {
|
|
@@ -4297,7 +4397,83 @@ const SubmitButton = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4297
4397
|
type: "submit"
|
|
4298
4398
|
}, 0, "6z_0");
|
|
4299
4399
|
}, "SubmitButton_component_NXvMBMCDhwc"));
|
|
4400
|
+
const componentInfo$2 = {
|
|
4401
|
+
shouldReceiveBuilderProps: {
|
|
4402
|
+
builderBlock: false,
|
|
4403
|
+
builderContext: false,
|
|
4404
|
+
builderComponents: false,
|
|
4405
|
+
builderLinkComponent: false
|
|
4406
|
+
},
|
|
4407
|
+
name: "Form:TextArea",
|
|
4408
|
+
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
4409
|
+
inputs: [
|
|
4410
|
+
{
|
|
4411
|
+
advanced: true,
|
|
4412
|
+
name: "value",
|
|
4413
|
+
type: "string"
|
|
4414
|
+
},
|
|
4415
|
+
{
|
|
4416
|
+
name: "name",
|
|
4417
|
+
type: "string",
|
|
4418
|
+
required: true,
|
|
4419
|
+
helperText: 'Every input in a form needs a unique name describing what it gets, e.g. "email"'
|
|
4420
|
+
},
|
|
4421
|
+
{
|
|
4422
|
+
name: "defaultValue",
|
|
4423
|
+
type: "string"
|
|
4424
|
+
},
|
|
4425
|
+
{
|
|
4426
|
+
name: "placeholder",
|
|
4427
|
+
type: "string",
|
|
4428
|
+
defaultValue: "Hello there"
|
|
4429
|
+
},
|
|
4430
|
+
{
|
|
4431
|
+
name: "required",
|
|
4432
|
+
type: "boolean",
|
|
4433
|
+
defaultValue: false
|
|
4434
|
+
}
|
|
4435
|
+
],
|
|
4436
|
+
defaultStyles: {
|
|
4437
|
+
paddingTop: "10px",
|
|
4438
|
+
paddingBottom: "10px",
|
|
4439
|
+
paddingLeft: "10px",
|
|
4440
|
+
paddingRight: "10px",
|
|
4441
|
+
borderRadius: "3px",
|
|
4442
|
+
borderWidth: "1px",
|
|
4443
|
+
borderStyle: "solid",
|
|
4444
|
+
borderColor: "#ccc"
|
|
4445
|
+
},
|
|
4446
|
+
static: true,
|
|
4447
|
+
noWrap: true
|
|
4448
|
+
};
|
|
4449
|
+
const Textarea = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
4450
|
+
return /* @__PURE__ */ qwik._jsxS("textarea", {
|
|
4451
|
+
...props.attributes
|
|
4452
|
+
}, {
|
|
4453
|
+
defaultValue: qwik._fnSignal((p0) => p0.defaultValue, [
|
|
4454
|
+
props
|
|
4455
|
+
], "p0.defaultValue"),
|
|
4456
|
+
name: qwik._fnSignal((p0) => p0.name, [
|
|
4457
|
+
props
|
|
4458
|
+
], "p0.name"),
|
|
4459
|
+
placeholder: qwik._fnSignal((p0) => p0.placeholder, [
|
|
4460
|
+
props
|
|
4461
|
+
], "p0.placeholder"),
|
|
4462
|
+
required: qwik._fnSignal((p0) => p0.required, [
|
|
4463
|
+
props
|
|
4464
|
+
], "p0.required"),
|
|
4465
|
+
value: qwik._fnSignal((p0) => p0.value, [
|
|
4466
|
+
props
|
|
4467
|
+
], "p0.value")
|
|
4468
|
+
}, 0, "kE_0");
|
|
4469
|
+
}, "Textarea_component_o1TcxV139Oc"));
|
|
4300
4470
|
const componentInfo$1 = {
|
|
4471
|
+
shouldReceiveBuilderProps: {
|
|
4472
|
+
builderBlock: false,
|
|
4473
|
+
builderContext: false,
|
|
4474
|
+
builderComponents: false,
|
|
4475
|
+
builderLinkComponent: false
|
|
4476
|
+
},
|
|
4301
4477
|
// friendlyName?
|
|
4302
4478
|
name: "Raw:Img",
|
|
4303
4479
|
hideFromInsertMenu: true,
|
|
@@ -4459,7 +4635,13 @@ const componentInfo = {
|
|
|
4459
4635
|
defaultValue: true,
|
|
4460
4636
|
advanced: true
|
|
4461
4637
|
}
|
|
4462
|
-
]
|
|
4638
|
+
],
|
|
4639
|
+
shouldReceiveBuilderProps: {
|
|
4640
|
+
builderBlock: true,
|
|
4641
|
+
builderContext: false,
|
|
4642
|
+
builderComponents: false,
|
|
4643
|
+
builderLinkComponent: false
|
|
4644
|
+
}
|
|
4463
4645
|
};
|
|
4464
4646
|
const Video = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
4465
4647
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
@@ -4568,28 +4750,32 @@ const Video = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
|
|
|
4568
4750
|
const getExtraComponents = () => [
|
|
4569
4751
|
{
|
|
4570
4752
|
component: CustomCode,
|
|
4571
|
-
...componentInfo$
|
|
4753
|
+
...componentInfo$8
|
|
4572
4754
|
},
|
|
4573
4755
|
{
|
|
4574
4756
|
component: Embed,
|
|
4575
|
-
...componentInfo$
|
|
4757
|
+
...componentInfo$7
|
|
4576
4758
|
},
|
|
4577
4759
|
...[
|
|
4578
4760
|
{
|
|
4579
4761
|
component: FormComponent,
|
|
4580
|
-
...componentInfo$
|
|
4762
|
+
...componentInfo$6
|
|
4581
4763
|
},
|
|
4582
4764
|
{
|
|
4583
4765
|
component: FormInputComponent,
|
|
4584
|
-
...componentInfo$
|
|
4766
|
+
...componentInfo$5
|
|
4585
4767
|
},
|
|
4586
4768
|
{
|
|
4587
4769
|
component: SubmitButton,
|
|
4588
|
-
...componentInfo$
|
|
4770
|
+
...componentInfo$3
|
|
4589
4771
|
},
|
|
4590
4772
|
{
|
|
4591
4773
|
component: SelectComponent,
|
|
4592
|
-
...componentInfo$
|
|
4774
|
+
...componentInfo$4
|
|
4775
|
+
},
|
|
4776
|
+
{
|
|
4777
|
+
component: Textarea,
|
|
4778
|
+
...componentInfo$2
|
|
4593
4779
|
}
|
|
4594
4780
|
],
|
|
4595
4781
|
{
|
|
@@ -4604,44 +4790,44 @@ const getExtraComponents = () => [
|
|
|
4604
4790
|
const getDefaultRegisteredComponents = () => [
|
|
4605
4791
|
{
|
|
4606
4792
|
component: Button,
|
|
4607
|
-
...componentInfo$
|
|
4793
|
+
...componentInfo$h
|
|
4608
4794
|
},
|
|
4609
4795
|
{
|
|
4610
4796
|
component: Columns,
|
|
4611
|
-
...componentInfo$
|
|
4797
|
+
...componentInfo$g
|
|
4612
4798
|
},
|
|
4613
4799
|
{
|
|
4614
4800
|
component: FragmentComponent,
|
|
4615
|
-
...componentInfo$
|
|
4801
|
+
...componentInfo$f
|
|
4616
4802
|
},
|
|
4617
4803
|
{
|
|
4618
4804
|
component: Image,
|
|
4619
|
-
...componentInfo$
|
|
4805
|
+
...componentInfo$e
|
|
4620
4806
|
},
|
|
4621
4807
|
{
|
|
4622
4808
|
component: SectionComponent,
|
|
4623
|
-
...componentInfo$
|
|
4809
|
+
...componentInfo$d
|
|
4624
4810
|
},
|
|
4625
4811
|
{
|
|
4626
4812
|
component: Slot,
|
|
4627
|
-
...componentInfo$
|
|
4813
|
+
...componentInfo$c
|
|
4628
4814
|
},
|
|
4629
4815
|
{
|
|
4630
4816
|
component: Symbol$1,
|
|
4631
|
-
...componentInfo$
|
|
4817
|
+
...componentInfo$b
|
|
4632
4818
|
},
|
|
4633
4819
|
{
|
|
4634
4820
|
component: Text,
|
|
4635
|
-
...componentInfo$
|
|
4821
|
+
...componentInfo$9
|
|
4636
4822
|
},
|
|
4637
4823
|
...[
|
|
4638
4824
|
{
|
|
4639
4825
|
component: Tabs,
|
|
4640
|
-
...componentInfo$
|
|
4826
|
+
...componentInfo$a
|
|
4641
4827
|
},
|
|
4642
4828
|
{
|
|
4643
4829
|
component: Accordion,
|
|
4644
|
-
...componentInfo$
|
|
4830
|
+
...componentInfo$i
|
|
4645
4831
|
}
|
|
4646
4832
|
],
|
|
4647
4833
|
...getExtraComponents()
|
|
@@ -5102,7 +5288,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
5102
5288
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5103
5289
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5104
5290
|
}
|
|
5105
|
-
const SDK_VERSION = "0.
|
|
5291
|
+
const SDK_VERSION = "0.15.0";
|
|
5106
5292
|
const registry = {};
|
|
5107
5293
|
function register(type, info) {
|
|
5108
5294
|
let typeList = registry[type];
|
|
@@ -6041,6 +6227,8 @@ const ContentVariants = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
|
|
|
6041
6227
|
props,
|
|
6042
6228
|
state
|
|
6043
6229
|
]));
|
|
6230
|
+
qwik.useTaskQrl(/* @__PURE__ */ qwik.inlinedQrl(({ track: track2 }) => {
|
|
6231
|
+
}, "ContentVariants_component_useTask_lSvynevU008"));
|
|
6044
6232
|
return /* @__PURE__ */ qwik._jsxC(qwik.Fragment, {
|
|
6045
6233
|
children: [
|
|
6046
6234
|
!props.isNestedRender && TARGET !== "reactNative" ? /* @__PURE__ */ qwik._jsxC(InlinedScript, {
|