@builder.io/sdk-qwik 0.15.2 → 0.16.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 +32 -119
- package/lib/browser/index.qwik.mjs +32 -119
- package/lib/edge/index.qwik.cjs +32 -119
- package/lib/edge/index.qwik.mjs +32 -119
- package/lib/node/index.qwik.cjs +32 -119
- package/lib/node/index.qwik.mjs +32 -119
- package/package.json +1 -1
- package/types/src/components/block/block.helpers.d.ts +8 -8
- package/types/src/constants/sdk-version.d.ts +1 -1
|
@@ -626,56 +626,37 @@ 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
|
-
};
|
|
640
629
|
const provideLinkComponent = (block, linkComponent) => {
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
return {
|
|
647
|
-
builderLinkComponent: linkComponent
|
|
648
|
-
};
|
|
630
|
+
var _a;
|
|
631
|
+
if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderLinkComponent)
|
|
632
|
+
return {
|
|
633
|
+
builderLinkComponent: linkComponent
|
|
634
|
+
};
|
|
635
|
+
return {};
|
|
649
636
|
};
|
|
650
637
|
const provideRegisteredComponents = (block, registeredComponents) => {
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
return {
|
|
657
|
-
builderComponents: registeredComponents
|
|
658
|
-
};
|
|
638
|
+
var _a;
|
|
639
|
+
if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderComponents)
|
|
640
|
+
return {
|
|
641
|
+
builderComponents: registeredComponents
|
|
642
|
+
};
|
|
643
|
+
return {};
|
|
659
644
|
};
|
|
660
645
|
const provideBuilderBlock = (block, builderBlock) => {
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
return {
|
|
667
|
-
builderBlock
|
|
668
|
-
};
|
|
646
|
+
var _a;
|
|
647
|
+
if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderBlock)
|
|
648
|
+
return {
|
|
649
|
+
builderBlock
|
|
650
|
+
};
|
|
651
|
+
return {};
|
|
669
652
|
};
|
|
670
653
|
const provideBuilderContext = (block, context) => {
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
return {
|
|
677
|
-
builderContext: context
|
|
678
|
-
};
|
|
654
|
+
var _a;
|
|
655
|
+
if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderContext)
|
|
656
|
+
return {
|
|
657
|
+
builderContext: context
|
|
658
|
+
};
|
|
659
|
+
return {};
|
|
679
660
|
};
|
|
680
661
|
const SIZES = {
|
|
681
662
|
small: {
|
|
@@ -1563,8 +1544,9 @@ const getWidth = function getWidth2(props, state, index) {
|
|
|
1563
1544
|
return ((_a = state.cols[index]) == null ? void 0 : _a.width) || 100 / state.cols.length;
|
|
1564
1545
|
};
|
|
1565
1546
|
const getColumnCssWidth = function getColumnCssWidth2(props, state, index) {
|
|
1566
|
-
const
|
|
1567
|
-
|
|
1547
|
+
const width = getWidth(props, state, index);
|
|
1548
|
+
const subtractWidth = state.gutterSize * (state.cols.length - 1) * (width / 100);
|
|
1549
|
+
return `calc(${width}% - ${subtractWidth}px)`;
|
|
1568
1550
|
};
|
|
1569
1551
|
const getTabletStyle = function getTabletStyle2(props, state, { stackedStyle, desktopStyle }) {
|
|
1570
1552
|
return state.stackAt === "tablet" ? stackedStyle : desktopStyle;
|
|
@@ -2511,9 +2493,6 @@ const componentInfo$h = {
|
|
|
2511
2493
|
static: true,
|
|
2512
2494
|
noWrap: true,
|
|
2513
2495
|
shouldReceiveBuilderProps: {
|
|
2514
|
-
builderBlock: false,
|
|
2515
|
-
builderContext: false,
|
|
2516
|
-
builderComponents: false,
|
|
2517
2496
|
builderLinkComponent: true
|
|
2518
2497
|
}
|
|
2519
2498
|
};
|
|
@@ -2766,12 +2745,6 @@ const componentInfo$g = {
|
|
|
2766
2745
|
}
|
|
2767
2746
|
};
|
|
2768
2747
|
const componentInfo$f = {
|
|
2769
|
-
shouldReceiveBuilderProps: {
|
|
2770
|
-
builderBlock: false,
|
|
2771
|
-
builderContext: false,
|
|
2772
|
-
builderComponents: false,
|
|
2773
|
-
builderLinkComponent: false
|
|
2774
|
-
},
|
|
2775
2748
|
name: "Fragment",
|
|
2776
2749
|
static: true,
|
|
2777
2750
|
hidden: true,
|
|
@@ -2933,19 +2906,10 @@ const componentInfo$e = {
|
|
|
2933
2906
|
}
|
|
2934
2907
|
],
|
|
2935
2908
|
shouldReceiveBuilderProps: {
|
|
2936
|
-
builderBlock: true
|
|
2937
|
-
builderContext: false,
|
|
2938
|
-
builderComponents: false,
|
|
2939
|
-
builderLinkComponent: false
|
|
2909
|
+
builderBlock: true
|
|
2940
2910
|
}
|
|
2941
2911
|
};
|
|
2942
2912
|
const componentInfo$d = {
|
|
2943
|
-
shouldReceiveBuilderProps: {
|
|
2944
|
-
builderBlock: false,
|
|
2945
|
-
builderContext: false,
|
|
2946
|
-
builderComponents: false,
|
|
2947
|
-
builderLinkComponent: false
|
|
2948
|
-
},
|
|
2949
2913
|
name: "Core:Section",
|
|
2950
2914
|
static: true,
|
|
2951
2915
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -3006,10 +2970,7 @@ const componentInfo$c = {
|
|
|
3006
2970
|
}
|
|
3007
2971
|
],
|
|
3008
2972
|
shouldReceiveBuilderProps: {
|
|
3009
|
-
|
|
3010
|
-
builderContext: true,
|
|
3011
|
-
builderComponents: false,
|
|
3012
|
-
builderLinkComponent: false
|
|
2973
|
+
builderContext: true
|
|
3013
2974
|
}
|
|
3014
2975
|
};
|
|
3015
2976
|
const Slot = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
@@ -3383,10 +3344,7 @@ const Tabs = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
3383
3344
|
}, "Tabs_component_MhWcxXy0lMY"));
|
|
3384
3345
|
const componentInfo$9 = {
|
|
3385
3346
|
shouldReceiveBuilderProps: {
|
|
3386
|
-
builderBlock: false
|
|
3387
|
-
builderContext: false,
|
|
3388
|
-
builderComponents: false,
|
|
3389
|
-
builderLinkComponent: false
|
|
3347
|
+
builderBlock: false
|
|
3390
3348
|
},
|
|
3391
3349
|
name: "Text",
|
|
3392
3350
|
static: true,
|
|
@@ -3423,12 +3381,6 @@ const Text = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((
|
|
|
3423
3381
|
}, null, 3, "yO_0");
|
|
3424
3382
|
}, "Text_component_15p0cKUxgIE"));
|
|
3425
3383
|
const componentInfo$8 = {
|
|
3426
|
-
shouldReceiveBuilderProps: {
|
|
3427
|
-
builderBlock: false,
|
|
3428
|
-
builderContext: false,
|
|
3429
|
-
builderComponents: false,
|
|
3430
|
-
builderLinkComponent: false
|
|
3431
|
-
},
|
|
3432
3384
|
name: "Custom Code",
|
|
3433
3385
|
static: true,
|
|
3434
3386
|
requiredPermissions: [
|
|
@@ -3508,12 +3460,6 @@ const CustomCode = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inline
|
|
|
3508
3460
|
}, null, 3, "bY_0");
|
|
3509
3461
|
}, "CustomCode_component_uYOSy7w7Zqw"));
|
|
3510
3462
|
const componentInfo$7 = {
|
|
3511
|
-
shouldReceiveBuilderProps: {
|
|
3512
|
-
builderBlock: false,
|
|
3513
|
-
builderContext: false,
|
|
3514
|
-
builderComponents: false,
|
|
3515
|
-
builderLinkComponent: false
|
|
3516
|
-
},
|
|
3517
3463
|
name: "Embed",
|
|
3518
3464
|
static: true,
|
|
3519
3465
|
inputs: [
|
|
@@ -4176,12 +4122,6 @@ const STYLES = `
|
|
|
4176
4122
|
}
|
|
4177
4123
|
`;
|
|
4178
4124
|
const componentInfo$5 = {
|
|
4179
|
-
shouldReceiveBuilderProps: {
|
|
4180
|
-
builderBlock: false,
|
|
4181
|
-
builderContext: false,
|
|
4182
|
-
builderComponents: false,
|
|
4183
|
-
builderLinkComponent: false
|
|
4184
|
-
},
|
|
4185
4125
|
name: "Form:Input",
|
|
4186
4126
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
4187
4127
|
inputs: [
|
|
@@ -4265,12 +4205,6 @@ const FormInputComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwi
|
|
|
4265
4205
|
});
|
|
4266
4206
|
}, "FormInputComponent_component_AUUjdN0ueMs"));
|
|
4267
4207
|
const componentInfo$4 = {
|
|
4268
|
-
shouldReceiveBuilderProps: {
|
|
4269
|
-
builderBlock: false,
|
|
4270
|
-
builderContext: false,
|
|
4271
|
-
builderComponents: false,
|
|
4272
|
-
builderLinkComponent: false
|
|
4273
|
-
},
|
|
4274
4208
|
name: "Form:Select",
|
|
4275
4209
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
4276
4210
|
defaultStyles: {
|
|
@@ -4340,12 +4274,6 @@ const SelectComponent = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.i
|
|
|
4340
4274
|
}));
|
|
4341
4275
|
}, "SelectComponent_component_SPKbsFLikZU"));
|
|
4342
4276
|
const componentInfo$3 = {
|
|
4343
|
-
shouldReceiveBuilderProps: {
|
|
4344
|
-
builderBlock: false,
|
|
4345
|
-
builderContext: false,
|
|
4346
|
-
builderComponents: false,
|
|
4347
|
-
builderLinkComponent: false
|
|
4348
|
-
},
|
|
4349
4277
|
name: "Form:SubmitButton",
|
|
4350
4278
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
4351
4279
|
defaultStyles: {
|
|
@@ -4380,12 +4308,6 @@ const SubmitButton = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4380
4308
|
}, 0, "6z_0");
|
|
4381
4309
|
}, "SubmitButton_component_NXvMBMCDhwc"));
|
|
4382
4310
|
const componentInfo$2 = {
|
|
4383
|
-
shouldReceiveBuilderProps: {
|
|
4384
|
-
builderBlock: false,
|
|
4385
|
-
builderContext: false,
|
|
4386
|
-
builderComponents: false,
|
|
4387
|
-
builderLinkComponent: false
|
|
4388
|
-
},
|
|
4389
4311
|
name: "Form:TextArea",
|
|
4390
4312
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
4391
4313
|
inputs: [
|
|
@@ -4450,12 +4372,6 @@ const Textarea = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQ
|
|
|
4450
4372
|
}, 0, "kE_0");
|
|
4451
4373
|
}, "Textarea_component_o1TcxV139Oc"));
|
|
4452
4374
|
const componentInfo$1 = {
|
|
4453
|
-
shouldReceiveBuilderProps: {
|
|
4454
|
-
builderBlock: false,
|
|
4455
|
-
builderContext: false,
|
|
4456
|
-
builderComponents: false,
|
|
4457
|
-
builderLinkComponent: false
|
|
4458
|
-
},
|
|
4459
4375
|
// friendlyName?
|
|
4460
4376
|
name: "Raw:Img",
|
|
4461
4377
|
hideFromInsertMenu: true,
|
|
@@ -4619,10 +4535,7 @@ const componentInfo = {
|
|
|
4619
4535
|
}
|
|
4620
4536
|
],
|
|
4621
4537
|
shouldReceiveBuilderProps: {
|
|
4622
|
-
builderBlock: true
|
|
4623
|
-
builderContext: false,
|
|
4624
|
-
builderComponents: false,
|
|
4625
|
-
builderLinkComponent: false
|
|
4538
|
+
builderBlock: true
|
|
4626
4539
|
}
|
|
4627
4540
|
};
|
|
4628
4541
|
const Video = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
|
|
@@ -5270,7 +5183,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
5270
5183
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5271
5184
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5272
5185
|
}
|
|
5273
|
-
const SDK_VERSION = "0.
|
|
5186
|
+
const SDK_VERSION = "0.16.0";
|
|
5274
5187
|
const registry = {};
|
|
5275
5188
|
function register(type, info) {
|
|
5276
5189
|
let typeList = registry[type];
|
|
@@ -624,56 +624,37 @@ const getRepeatItemData = ({ block, context }) => {
|
|
|
624
624
|
}));
|
|
625
625
|
return repeatArray;
|
|
626
626
|
};
|
|
627
|
-
const applyDefaults = (shouldReceiveBuilderProps) => {
|
|
628
|
-
return {
|
|
629
|
-
// once we bump to a major version, toggle this to `false`.
|
|
630
|
-
builderBlock: true,
|
|
631
|
-
// once we bump to a major version, toggle this to `false`.
|
|
632
|
-
builderContext: true,
|
|
633
|
-
builderComponents: false,
|
|
634
|
-
builderLinkComponent: false,
|
|
635
|
-
...shouldReceiveBuilderProps
|
|
636
|
-
};
|
|
637
|
-
};
|
|
638
627
|
const provideLinkComponent = (block, linkComponent) => {
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
return {
|
|
645
|
-
builderLinkComponent: linkComponent
|
|
646
|
-
};
|
|
628
|
+
var _a;
|
|
629
|
+
if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderLinkComponent)
|
|
630
|
+
return {
|
|
631
|
+
builderLinkComponent: linkComponent
|
|
632
|
+
};
|
|
633
|
+
return {};
|
|
647
634
|
};
|
|
648
635
|
const provideRegisteredComponents = (block, registeredComponents) => {
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
return {
|
|
655
|
-
builderComponents: registeredComponents
|
|
656
|
-
};
|
|
636
|
+
var _a;
|
|
637
|
+
if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderComponents)
|
|
638
|
+
return {
|
|
639
|
+
builderComponents: registeredComponents
|
|
640
|
+
};
|
|
641
|
+
return {};
|
|
657
642
|
};
|
|
658
643
|
const provideBuilderBlock = (block, builderBlock) => {
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
return {
|
|
665
|
-
builderBlock
|
|
666
|
-
};
|
|
644
|
+
var _a;
|
|
645
|
+
if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderBlock)
|
|
646
|
+
return {
|
|
647
|
+
builderBlock
|
|
648
|
+
};
|
|
649
|
+
return {};
|
|
667
650
|
};
|
|
668
651
|
const provideBuilderContext = (block, context) => {
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
return {
|
|
675
|
-
builderContext: context
|
|
676
|
-
};
|
|
652
|
+
var _a;
|
|
653
|
+
if ((_a = block == null ? void 0 : block.shouldReceiveBuilderProps) == null ? void 0 : _a.builderContext)
|
|
654
|
+
return {
|
|
655
|
+
builderContext: context
|
|
656
|
+
};
|
|
657
|
+
return {};
|
|
677
658
|
};
|
|
678
659
|
const SIZES = {
|
|
679
660
|
small: {
|
|
@@ -1561,8 +1542,9 @@ const getWidth = function getWidth2(props, state, index) {
|
|
|
1561
1542
|
return ((_a = state.cols[index]) == null ? void 0 : _a.width) || 100 / state.cols.length;
|
|
1562
1543
|
};
|
|
1563
1544
|
const getColumnCssWidth = function getColumnCssWidth2(props, state, index) {
|
|
1564
|
-
const
|
|
1565
|
-
|
|
1545
|
+
const width = getWidth(props, state, index);
|
|
1546
|
+
const subtractWidth = state.gutterSize * (state.cols.length - 1) * (width / 100);
|
|
1547
|
+
return `calc(${width}% - ${subtractWidth}px)`;
|
|
1566
1548
|
};
|
|
1567
1549
|
const getTabletStyle = function getTabletStyle2(props, state, { stackedStyle, desktopStyle }) {
|
|
1568
1550
|
return state.stackAt === "tablet" ? stackedStyle : desktopStyle;
|
|
@@ -2509,9 +2491,6 @@ const componentInfo$h = {
|
|
|
2509
2491
|
static: true,
|
|
2510
2492
|
noWrap: true,
|
|
2511
2493
|
shouldReceiveBuilderProps: {
|
|
2512
|
-
builderBlock: false,
|
|
2513
|
-
builderContext: false,
|
|
2514
|
-
builderComponents: false,
|
|
2515
2494
|
builderLinkComponent: true
|
|
2516
2495
|
}
|
|
2517
2496
|
};
|
|
@@ -2764,12 +2743,6 @@ const componentInfo$g = {
|
|
|
2764
2743
|
}
|
|
2765
2744
|
};
|
|
2766
2745
|
const componentInfo$f = {
|
|
2767
|
-
shouldReceiveBuilderProps: {
|
|
2768
|
-
builderBlock: false,
|
|
2769
|
-
builderContext: false,
|
|
2770
|
-
builderComponents: false,
|
|
2771
|
-
builderLinkComponent: false
|
|
2772
|
-
},
|
|
2773
2746
|
name: "Fragment",
|
|
2774
2747
|
static: true,
|
|
2775
2748
|
hidden: true,
|
|
@@ -2931,19 +2904,10 @@ const componentInfo$e = {
|
|
|
2931
2904
|
}
|
|
2932
2905
|
],
|
|
2933
2906
|
shouldReceiveBuilderProps: {
|
|
2934
|
-
builderBlock: true
|
|
2935
|
-
builderContext: false,
|
|
2936
|
-
builderComponents: false,
|
|
2937
|
-
builderLinkComponent: false
|
|
2907
|
+
builderBlock: true
|
|
2938
2908
|
}
|
|
2939
2909
|
};
|
|
2940
2910
|
const componentInfo$d = {
|
|
2941
|
-
shouldReceiveBuilderProps: {
|
|
2942
|
-
builderBlock: false,
|
|
2943
|
-
builderContext: false,
|
|
2944
|
-
builderComponents: false,
|
|
2945
|
-
builderLinkComponent: false
|
|
2946
|
-
},
|
|
2947
2911
|
name: "Core:Section",
|
|
2948
2912
|
static: true,
|
|
2949
2913
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -3004,10 +2968,7 @@ const componentInfo$c = {
|
|
|
3004
2968
|
}
|
|
3005
2969
|
],
|
|
3006
2970
|
shouldReceiveBuilderProps: {
|
|
3007
|
-
|
|
3008
|
-
builderContext: true,
|
|
3009
|
-
builderComponents: false,
|
|
3010
|
-
builderLinkComponent: false
|
|
2971
|
+
builderContext: true
|
|
3011
2972
|
}
|
|
3012
2973
|
};
|
|
3013
2974
|
const Slot = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -3381,10 +3342,7 @@ const Tabs = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
3381
3342
|
}, "Tabs_component_MhWcxXy0lMY"));
|
|
3382
3343
|
const componentInfo$9 = {
|
|
3383
3344
|
shouldReceiveBuilderProps: {
|
|
3384
|
-
builderBlock: false
|
|
3385
|
-
builderContext: false,
|
|
3386
|
-
builderComponents: false,
|
|
3387
|
-
builderLinkComponent: false
|
|
3345
|
+
builderBlock: false
|
|
3388
3346
|
},
|
|
3389
3347
|
name: "Text",
|
|
3390
3348
|
static: true,
|
|
@@ -3421,12 +3379,6 @@ const Text = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
3421
3379
|
}, null, 3, "yO_0");
|
|
3422
3380
|
}, "Text_component_15p0cKUxgIE"));
|
|
3423
3381
|
const componentInfo$8 = {
|
|
3424
|
-
shouldReceiveBuilderProps: {
|
|
3425
|
-
builderBlock: false,
|
|
3426
|
-
builderContext: false,
|
|
3427
|
-
builderComponents: false,
|
|
3428
|
-
builderLinkComponent: false
|
|
3429
|
-
},
|
|
3430
3382
|
name: "Custom Code",
|
|
3431
3383
|
static: true,
|
|
3432
3384
|
requiredPermissions: [
|
|
@@ -3506,12 +3458,6 @@ const CustomCode = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((prop
|
|
|
3506
3458
|
}, null, 3, "bY_0");
|
|
3507
3459
|
}, "CustomCode_component_uYOSy7w7Zqw"));
|
|
3508
3460
|
const componentInfo$7 = {
|
|
3509
|
-
shouldReceiveBuilderProps: {
|
|
3510
|
-
builderBlock: false,
|
|
3511
|
-
builderContext: false,
|
|
3512
|
-
builderComponents: false,
|
|
3513
|
-
builderLinkComponent: false
|
|
3514
|
-
},
|
|
3515
3461
|
name: "Embed",
|
|
3516
3462
|
static: true,
|
|
3517
3463
|
inputs: [
|
|
@@ -4174,12 +4120,6 @@ const STYLES = `
|
|
|
4174
4120
|
}
|
|
4175
4121
|
`;
|
|
4176
4122
|
const componentInfo$5 = {
|
|
4177
|
-
shouldReceiveBuilderProps: {
|
|
4178
|
-
builderBlock: false,
|
|
4179
|
-
builderContext: false,
|
|
4180
|
-
builderComponents: false,
|
|
4181
|
-
builderLinkComponent: false
|
|
4182
|
-
},
|
|
4183
4123
|
name: "Form:Input",
|
|
4184
4124
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
4185
4125
|
inputs: [
|
|
@@ -4263,12 +4203,6 @@ const FormInputComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQ
|
|
|
4263
4203
|
});
|
|
4264
4204
|
}, "FormInputComponent_component_AUUjdN0ueMs"));
|
|
4265
4205
|
const componentInfo$4 = {
|
|
4266
|
-
shouldReceiveBuilderProps: {
|
|
4267
|
-
builderBlock: false,
|
|
4268
|
-
builderContext: false,
|
|
4269
|
-
builderComponents: false,
|
|
4270
|
-
builderLinkComponent: false
|
|
4271
|
-
},
|
|
4272
4206
|
name: "Form:Select",
|
|
4273
4207
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
4274
4208
|
defaultStyles: {
|
|
@@ -4338,12 +4272,6 @@ const SelectComponent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
|
|
|
4338
4272
|
}));
|
|
4339
4273
|
}, "SelectComponent_component_SPKbsFLikZU"));
|
|
4340
4274
|
const componentInfo$3 = {
|
|
4341
|
-
shouldReceiveBuilderProps: {
|
|
4342
|
-
builderBlock: false,
|
|
4343
|
-
builderContext: false,
|
|
4344
|
-
builderComponents: false,
|
|
4345
|
-
builderLinkComponent: false
|
|
4346
|
-
},
|
|
4347
4275
|
name: "Form:SubmitButton",
|
|
4348
4276
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
4349
4277
|
defaultStyles: {
|
|
@@ -4378,12 +4306,6 @@ const SubmitButton = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
4378
4306
|
}, 0, "6z_0");
|
|
4379
4307
|
}, "SubmitButton_component_NXvMBMCDhwc"));
|
|
4380
4308
|
const componentInfo$2 = {
|
|
4381
|
-
shouldReceiveBuilderProps: {
|
|
4382
|
-
builderBlock: false,
|
|
4383
|
-
builderContext: false,
|
|
4384
|
-
builderComponents: false,
|
|
4385
|
-
builderLinkComponent: false
|
|
4386
|
-
},
|
|
4387
4309
|
name: "Form:TextArea",
|
|
4388
4310
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
4389
4311
|
inputs: [
|
|
@@ -4448,12 +4370,6 @@ const Textarea = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
|
|
|
4448
4370
|
}, 0, "kE_0");
|
|
4449
4371
|
}, "Textarea_component_o1TcxV139Oc"));
|
|
4450
4372
|
const componentInfo$1 = {
|
|
4451
|
-
shouldReceiveBuilderProps: {
|
|
4452
|
-
builderBlock: false,
|
|
4453
|
-
builderContext: false,
|
|
4454
|
-
builderComponents: false,
|
|
4455
|
-
builderLinkComponent: false
|
|
4456
|
-
},
|
|
4457
4373
|
// friendlyName?
|
|
4458
4374
|
name: "Raw:Img",
|
|
4459
4375
|
hideFromInsertMenu: true,
|
|
@@ -4617,10 +4533,7 @@ const componentInfo = {
|
|
|
4617
4533
|
}
|
|
4618
4534
|
],
|
|
4619
4535
|
shouldReceiveBuilderProps: {
|
|
4620
|
-
builderBlock: true
|
|
4621
|
-
builderContext: false,
|
|
4622
|
-
builderComponents: false,
|
|
4623
|
-
builderLinkComponent: false
|
|
4536
|
+
builderBlock: true
|
|
4624
4537
|
}
|
|
4625
4538
|
};
|
|
4626
4539
|
const Video = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
|
|
@@ -5268,7 +5181,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
5268
5181
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
5269
5182
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
5270
5183
|
}
|
|
5271
|
-
const SDK_VERSION = "0.
|
|
5184
|
+
const SDK_VERSION = "0.16.0";
|
|
5272
5185
|
const registry = {};
|
|
5273
5186
|
function register(type, info) {
|
|
5274
5187
|
let typeList = registry[type];
|