@builder.io/sdk-vue 0.8.1 → 0.10.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/README.md +1 -4
- package/package.json +1 -1
- package/vue2/lib/browser/{block-a0c2b259.cjs → block-36cac25a.cjs} +2 -2
- package/vue2/lib/{node/block-7f67e05d.js → browser/block-861bf355.js} +7 -7
- package/vue2/lib/{node/block-styles-c993aa90.cjs → browser/block-styles-c455ab54.cjs} +1 -1
- package/vue2/lib/{edge/block-styles-df04ce35.js → browser/block-styles-faed2449.js} +5 -5
- package/vue2/lib/browser/{block-wrapper-57736e55.js → block-wrapper-37b64344.js} +5 -5
- package/vue2/lib/browser/{block-wrapper-899031dc.cjs → block-wrapper-74b1fda9.cjs} +1 -1
- package/vue2/lib/browser/blocks-wrapper-2b49452c.cjs +1 -0
- package/vue2/lib/browser/blocks-wrapper-490b6501.js +74 -0
- package/vue2/lib/{edge/component-ref-406288b4.js → browser/component-ref-92ea8509.js} +6 -6
- package/vue2/lib/{node/component-ref-19d8d4a8.cjs → browser/component-ref-9693d3b5.cjs} +1 -1
- package/vue2/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
- package/vue2/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
- package/vue2/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +14 -0
- package/vue2/lib/browser/components/blocks/blocks.vue.d.ts +1 -1
- package/vue2/lib/browser/components/content/components/enable-editor.vue.d.ts +3 -0
- package/vue2/lib/browser/components/content/content.vue.d.ts +2 -0
- package/vue2/lib/browser/components/content-variants/content-variants.types.d.ts +16 -0
- package/vue2/lib/browser/components/content-variants/content-variants.vue.d.ts +12 -0
- package/vue2/lib/browser/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/browser/{content-3cada794.cjs → content-53eb5655.cjs} +1 -1
- package/vue2/lib/{edge/content-fbac6557.js → browser/content-8f812a38.js} +29 -23
- package/vue2/lib/browser/context/builder.context.d.ts +2 -0
- package/vue2/lib/browser/context/types.d.ts +2 -1
- package/vue2/lib/{node/css-3747a91a.cjs → browser/css-38eebc34.cjs} +1 -1
- package/vue2/lib/browser/{css-445df887.js → css-c5e3c46b.js} +1 -1
- package/vue2/lib/browser/enable-editor-1f6a54ac.cjs +1 -0
- package/vue2/lib/{edge/enable-editor-f4bb4d8e.js → browser/enable-editor-7ccc9be9.js} +25 -27
- package/vue2/lib/browser/{evaluate-a8ca82e7.cjs → evaluate-5b9ba4c5.cjs} +1 -1
- package/vue2/lib/browser/{evaluate-b3a4e37f.js → evaluate-6fd688e4.js} +1 -1
- package/vue2/lib/browser/functions/get-block-properties.d.ts +1 -1
- package/vue2/lib/browser/functions/get-content/index.d.ts +2 -2
- package/vue2/lib/browser/functions/transform-block-properties.d.ts +5 -2
- package/vue2/lib/{edge/get-block-actions-89cffb9a.js → browser/get-block-actions-9d967845.js} +2 -2
- package/vue2/lib/browser/{get-block-actions-3bd34049.cjs → get-block-actions-ea954589.cjs} +1 -1
- package/vue2/lib/browser/get-block-properties-d54aca83.cjs +1 -0
- package/vue2/lib/browser/{get-block-properties-4030d3b5.js → get-block-properties-ddf880dc.js} +10 -4
- package/vue2/lib/browser/{get-processed-block-14ea8201.cjs → get-processed-block-6a4110c3.cjs} +1 -1
- package/vue2/lib/browser/{get-processed-block-497309fc.js → get-processed-block-8eee466e.js} +2 -2
- package/vue2/lib/{node/index-f335cf42.js → browser/index-7a45f7e8.js} +113 -106
- package/vue2/lib/{edge/index-56af5fb4.cjs → browser/index-fae2823a.cjs} +7 -7
- package/vue2/lib/browser/index-helpers/blocks-exports.d.ts +12 -0
- package/vue2/lib/browser/index.cjs +1 -1
- package/vue2/lib/browser/index.js +1 -1
- package/vue2/lib/browser/{inlined-script-3dc8b278.cjs → inlined-script-310b1b78.cjs} +1 -1
- package/vue2/lib/{edge/inlined-script-a166a386.js → browser/inlined-script-93bcd870.js} +1 -1
- package/vue2/lib/browser/{inlined-styles-f1203db0.cjs → inlined-styles-52d0d9db.cjs} +1 -1
- package/vue2/lib/{node/inlined-styles-c3091b9e.js → browser/inlined-styles-f0555ea7.js} +1 -1
- package/vue2/lib/{node/interactive-element-72f51043.js → browser/interactive-element-35f60577.js} +5 -5
- package/vue2/lib/{node/interactive-element-64032c60.cjs → browser/interactive-element-d7adf963.cjs} +1 -1
- package/vue2/lib/{node/repeated-block-c2df83ff.cjs → browser/repeated-block-20b005e0.cjs} +1 -1
- package/vue2/lib/{node/repeated-block-f033b120.js → browser/repeated-block-ba6d35cc.js} +2 -2
- package/vue2/lib/browser/style.css +1 -1
- package/vue2/lib/{node/styles-7d3b3741.cjs → browser/styles-917a4f34.cjs} +2 -2
- package/vue2/lib/browser/{styles-e141b29e.js → styles-dc764ba9.js} +2 -2
- package/vue2/lib/browser/types/enforced-partials.d.ts +7 -2
- package/vue2/lib/{node/block-9f7dfe6d.cjs → edge/block-0f92a227.cjs} +2 -2
- package/vue2/lib/{browser/block-f1233138.js → edge/block-49c9733d.js} +7 -7
- package/vue2/lib/{node/block-styles-6d96e69c.js → edge/block-styles-ce2d9d5e.js} +5 -5
- package/vue2/lib/edge/{block-styles-236afaf6.cjs → block-styles-df90677b.cjs} +1 -1
- package/vue2/lib/{node/block-wrapper-4772c4ae.js → edge/block-wrapper-59785121.js} +5 -5
- package/vue2/lib/{node/block-wrapper-08f3c04a.cjs → edge/block-wrapper-f0eef937.cjs} +1 -1
- package/vue2/lib/edge/blocks-wrapper-79845ab6.js +74 -0
- package/vue2/lib/edge/blocks-wrapper-b7c8852b.cjs +1 -0
- package/vue2/lib/{browser/component-ref-de2bce5c.cjs → edge/component-ref-3248243b.cjs} +1 -1
- package/vue2/lib/{node/component-ref-6b1013d0.js → edge/component-ref-921b715d.js} +6 -6
- package/vue2/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
- package/vue2/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
- package/vue2/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +14 -0
- package/vue2/lib/edge/components/blocks/blocks.vue.d.ts +1 -1
- package/vue2/lib/edge/components/content/components/enable-editor.vue.d.ts +3 -0
- package/vue2/lib/edge/components/content/content.vue.d.ts +2 -0
- package/vue2/lib/edge/components/content-variants/content-variants.types.d.ts +16 -0
- package/vue2/lib/edge/components/content-variants/content-variants.vue.d.ts +12 -0
- package/vue2/lib/edge/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/{node/content-7e6f95d2.cjs → edge/content-5c261489.cjs} +1 -1
- package/vue2/lib/{browser/content-bd41cd51.js → edge/content-98b184de.js} +29 -23
- package/vue2/lib/edge/context/builder.context.d.ts +2 -0
- package/vue2/lib/edge/context/types.d.ts +2 -1
- package/vue2/lib/{browser/css-535c5d1c.cjs → edge/css-4311a890.cjs} +1 -1
- package/vue2/lib/{node/css-ab629ac6.js → edge/css-b08d1e02.js} +1 -1
- package/vue2/lib/{node/enable-editor-58b89268.js → edge/enable-editor-52c3ad3c.js} +25 -27
- package/vue2/lib/edge/enable-editor-a382ccc8.cjs +1 -0
- package/vue2/lib/edge/{evaluate-0145ba88.cjs → evaluate-0bfb6f5e.cjs} +1 -1
- package/vue2/lib/edge/{evaluate-063c5f7a.js → evaluate-636aee70.js} +1 -1
- package/vue2/lib/edge/functions/get-block-properties.d.ts +1 -1
- package/vue2/lib/edge/functions/get-content/index.d.ts +2 -2
- package/vue2/lib/edge/functions/transform-block-properties.d.ts +5 -2
- package/vue2/lib/{node/get-block-actions-261b93f6.js → edge/get-block-actions-01697843.js} +2 -2
- package/vue2/lib/edge/{get-block-actions-7f885c3f.cjs → get-block-actions-d1222ac0.cjs} +1 -1
- package/vue2/lib/{node/get-block-properties-49526534.js → edge/get-block-properties-2332f899.js} +10 -4
- package/vue2/lib/edge/get-block-properties-c4077926.cjs +1 -0
- package/vue2/lib/edge/{get-processed-block-adb656ef.cjs → get-processed-block-0a1ec6ea.cjs} +1 -1
- package/vue2/lib/{node/get-processed-block-7242c9a8.js → edge/get-processed-block-1e4b19d3.js} +2 -2
- package/vue2/lib/{node/index-00b54a2d.cjs → edge/index-255d62bb.cjs} +7 -7
- package/vue2/lib/{browser/index-f3618847.js → edge/index-34d29a8a.js} +113 -106
- package/vue2/lib/edge/index-helpers/blocks-exports.d.ts +12 -0
- package/vue2/lib/edge/index.cjs +1 -1
- package/vue2/lib/edge/index.js +1 -1
- package/vue2/lib/{node/inlined-script-b0441af1.js → edge/inlined-script-48390289.js} +1 -1
- package/vue2/lib/edge/{inlined-script-a5b3779c.cjs → inlined-script-b88e2ef6.cjs} +1 -1
- package/vue2/lib/edge/{inlined-styles-029c0f2b.cjs → inlined-styles-0caaacb4.cjs} +1 -1
- package/vue2/lib/edge/{inlined-styles-f7c080fd.js → inlined-styles-8a6dd3b8.js} +1 -1
- package/vue2/lib/{browser/interactive-element-3720d577.js → edge/interactive-element-6bdf0962.js} +5 -5
- package/vue2/lib/edge/{interactive-element-960a9e10.cjs → interactive-element-bfb79ccc.cjs} +1 -1
- package/vue2/lib/{browser/repeated-block-711036ce.js → edge/repeated-block-72e17122.js} +2 -2
- package/vue2/lib/{browser/repeated-block-37646894.cjs → edge/repeated-block-c02fe8e4.cjs} +1 -1
- package/vue2/lib/edge/style.css +1 -1
- package/vue2/lib/edge/{styles-5c035753.js → styles-204a75db.js} +2 -2
- package/vue2/lib/{browser/styles-18e2ee39.cjs → edge/styles-61420111.cjs} +2 -2
- package/vue2/lib/edge/types/enforced-partials.d.ts +7 -2
- package/vue2/lib/{edge/block-65659a3f.cjs → node/block-79274dc2.cjs} +2 -2
- package/vue2/lib/{edge/block-35ad0e3f.js → node/block-e9ed3688.js} +7 -7
- package/vue2/lib/{browser/block-styles-33d86077.cjs → node/block-styles-09e2b9ad.cjs} +1 -1
- package/vue2/lib/{browser/block-styles-ebf9b1a6.js → node/block-styles-7bd04542.js} +5 -5
- package/vue2/lib/{edge/block-wrapper-ed85d5e5.js → node/block-wrapper-8924bb4a.js} +5 -5
- package/vue2/lib/{edge/block-wrapper-92227702.cjs → node/block-wrapper-a86bfb8b.cjs} +1 -1
- package/vue2/lib/node/blocks-wrapper-cccd83c0.cjs +1 -0
- package/vue2/lib/node/blocks-wrapper-f0f089d5.js +74 -0
- package/vue2/lib/{edge/component-ref-6fe256db.cjs → node/component-ref-f57085a0.cjs} +1 -1
- package/vue2/lib/{browser/component-ref-8822545e.js → node/component-ref-fbc7880f.js} +6 -6
- package/vue2/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
- package/vue2/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
- package/vue2/lib/node/components/blocks/blocks-wrapper.vue.d.ts +14 -0
- package/vue2/lib/node/components/blocks/blocks.vue.d.ts +1 -1
- package/vue2/lib/node/components/content/components/enable-editor.vue.d.ts +3 -0
- package/vue2/lib/node/components/content/content.vue.d.ts +2 -0
- package/vue2/lib/node/components/content-variants/content-variants.types.d.ts +16 -0
- package/vue2/lib/node/components/content-variants/content-variants.vue.d.ts +12 -0
- package/vue2/lib/node/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/node/{content-5de9cb53.js → content-59b2396d.js} +29 -23
- package/vue2/lib/{edge/content-78b300bf.cjs → node/content-d39cec9a.cjs} +1 -1
- package/vue2/lib/node/context/builder.context.d.ts +2 -0
- package/vue2/lib/node/context/types.d.ts +2 -1
- package/vue2/lib/{edge/css-15965af3.cjs → node/css-51ee2b3d.cjs} +1 -1
- package/vue2/lib/{edge/css-11eef1df.js → node/css-daa1c065.js} +1 -1
- package/vue2/lib/{browser/enable-editor-9486d0af.js → node/enable-editor-b2f063a7.js} +25 -27
- package/vue2/lib/node/enable-editor-e72e68d4.cjs +1 -0
- package/vue2/lib/node/{evaluate-5237e8df.cjs → evaluate-2c4b0c95.cjs} +1 -1
- package/vue2/lib/node/{evaluate-e40501d4.js → evaluate-a1bee057.js} +1 -1
- package/vue2/lib/node/functions/get-block-properties.d.ts +1 -1
- package/vue2/lib/node/functions/get-content/index.d.ts +2 -2
- package/vue2/lib/node/functions/transform-block-properties.d.ts +5 -2
- package/vue2/lib/{browser/get-block-actions-e5886236.js → node/get-block-actions-c172c6db.js} +2 -2
- package/vue2/lib/node/{get-block-actions-5d60bb63.cjs → get-block-actions-e0b74d12.cjs} +1 -1
- package/vue2/lib/{edge/get-block-properties-aedb780e.js → node/get-block-properties-281909a9.js} +10 -4
- package/vue2/lib/node/get-block-properties-f861d489.cjs +1 -0
- package/vue2/lib/node/{get-processed-block-3b811708.cjs → get-processed-block-0f04fb43.cjs} +1 -1
- package/vue2/lib/{edge/get-processed-block-c0f0da5d.js → node/get-processed-block-52f3ad4e.js} +2 -2
- package/vue2/lib/{edge/index-7870efd8.js → node/index-2a78d8bb.js} +113 -106
- package/vue2/lib/{browser/index-c5b74b20.cjs → node/index-ca2796c1.cjs} +7 -7
- package/vue2/lib/node/index-helpers/blocks-exports.d.ts +12 -0
- package/vue2/lib/node/index.cjs +1 -1
- package/vue2/lib/node/index.js +1 -1
- package/vue2/lib/node/{inlined-script-e7e8cc4a.cjs → inlined-script-b064e35e.cjs} +1 -1
- package/vue2/lib/{browser/inlined-script-84f7b988.js → node/inlined-script-f844d064.js} +1 -1
- package/vue2/lib/{browser/inlined-styles-9918b05e.js → node/inlined-styles-7bd96b02.js} +1 -1
- package/vue2/lib/node/{inlined-styles-a8e61790.cjs → inlined-styles-8bc76deb.cjs} +1 -1
- package/vue2/lib/{browser/interactive-element-5656c996.cjs → node/interactive-element-0ad1f701.cjs} +1 -1
- package/vue2/lib/{edge/interactive-element-c889d9dc.js → node/interactive-element-58f52f69.js} +5 -5
- package/vue2/lib/{edge/repeated-block-0c2cb139.cjs → node/repeated-block-8cc1a441.cjs} +1 -1
- package/vue2/lib/{edge/repeated-block-07d2d25b.js → node/repeated-block-bbb43376.js} +2 -2
- package/vue2/lib/node/style.css +1 -1
- package/vue2/lib/{edge/styles-ed45e5cf.cjs → node/styles-08d4bba5.cjs} +2 -2
- package/vue2/lib/node/{styles-a1697843.js → styles-23471dd5.js} +2 -2
- package/vue2/lib/node/types/enforced-partials.d.ts +7 -2
- package/vue3/lib/{edge/block-wrapper.57daa012.cjs → browser/block-wrapper.79de0d1b.cjs} +1 -1
- package/vue3/lib/{edge/block-wrapper.0d57b295.js → browser/block-wrapper.d8753b7e.js} +2 -2
- package/vue3/lib/browser/blocks/image/image.vue.d.ts +3 -3
- package/vue3/lib/{edge/component-ref.47f4d835.js → browser/component-ref.0fcf8f81.js} +2 -2
- package/vue3/lib/{edge/component-ref.5f18534f.cjs → browser/component-ref.e571e4c0.cjs} +1 -1
- package/vue3/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
- package/vue3/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
- package/vue3/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +14 -0
- package/vue3/lib/browser/components/blocks/blocks.vue.d.ts +7 -7
- package/vue3/lib/browser/components/content/components/enable-editor.vue.d.ts +9 -0
- package/vue3/lib/browser/components/content/content.vue.d.ts +14 -0
- package/vue3/lib/browser/components/content-variants/content-variants.types.d.ts +16 -0
- package/vue3/lib/browser/components/content-variants/content-variants.vue.d.ts +12 -0
- package/vue3/lib/browser/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/browser/context/builder.context.d.ts +2 -0
- package/vue3/lib/browser/context/types.d.ts +2 -1
- package/vue3/lib/browser/functions/get-block-properties.d.ts +1 -1
- package/vue3/lib/browser/functions/get-content/index.d.ts +2 -2
- package/vue3/lib/browser/functions/transform-block-properties.d.ts +5 -2
- package/vue3/lib/{edge/get-block-actions.e18a650e.js → browser/get-block-actions.532ddca6.js} +17 -11
- package/vue3/lib/browser/get-block-actions.cf4a0fd3.cjs +1 -0
- package/vue3/lib/browser/index-helpers/blocks-exports.d.ts +18 -6
- package/vue3/lib/browser/{index.796bf63b.cjs → index.85b3d46a.cjs} +19 -19
- package/vue3/lib/browser/index.cjs +1 -1
- package/vue3/lib/browser/{index.c5cd33f5.js → index.d5883cd5.js} +678 -637
- package/vue3/lib/browser/index.js +1 -1
- package/vue3/lib/{edge/repeated-block.dbf2ac5d.js → browser/repeated-block.612b0dc8.js} +2 -2
- package/vue3/lib/browser/{repeated-block.293b3b51.cjs → repeated-block.d9744c29.cjs} +1 -1
- package/vue3/lib/browser/style.css +1 -1
- package/vue3/lib/browser/types/enforced-partials.d.ts +7 -2
- package/vue3/lib/{browser/block-wrapper.93359482.js → edge/block-wrapper.48cbd4ad.js} +2 -2
- package/vue3/lib/{browser/block-wrapper.2dba8fb9.cjs → edge/block-wrapper.5f54529d.cjs} +1 -1
- package/vue3/lib/edge/blocks/image/image.vue.d.ts +3 -3
- package/vue3/lib/{browser/component-ref.5d332cbe.cjs → edge/component-ref.779a5527.cjs} +1 -1
- package/vue3/lib/{browser/component-ref.348e3f3c.js → edge/component-ref.cd17a2b8.js} +2 -2
- package/vue3/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
- package/vue3/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
- package/vue3/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +14 -0
- package/vue3/lib/edge/components/blocks/blocks.vue.d.ts +7 -7
- package/vue3/lib/edge/components/content/components/enable-editor.vue.d.ts +9 -0
- package/vue3/lib/edge/components/content/content.vue.d.ts +14 -0
- package/vue3/lib/edge/components/content-variants/content-variants.types.d.ts +16 -0
- package/vue3/lib/edge/components/content-variants/content-variants.vue.d.ts +12 -0
- package/vue3/lib/edge/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/edge/context/builder.context.d.ts +2 -0
- package/vue3/lib/edge/context/types.d.ts +2 -1
- package/vue3/lib/edge/functions/get-block-properties.d.ts +1 -1
- package/vue3/lib/edge/functions/get-content/index.d.ts +2 -2
- package/vue3/lib/edge/functions/transform-block-properties.d.ts +5 -2
- package/vue3/lib/edge/get-block-actions.e213d5e5.cjs +1 -0
- package/vue3/lib/{browser/get-block-actions.ca6fe762.js → edge/get-block-actions.e90f22a0.js} +17 -11
- package/vue3/lib/edge/index-helpers/blocks-exports.d.ts +18 -6
- package/vue3/lib/edge/{index.a7c064ed.js → index.26869e2b.js} +849 -808
- package/vue3/lib/edge/{index.c0fdb424.cjs → index.9551e853.cjs} +26 -26
- package/vue3/lib/edge/index.cjs +1 -1
- package/vue3/lib/edge/index.js +1 -1
- package/vue3/lib/edge/{repeated-block.0dedccc0.cjs → repeated-block.1a05344c.cjs} +1 -1
- package/vue3/lib/{browser/repeated-block.aa5dc36f.js → edge/repeated-block.f6f04e89.js} +2 -2
- package/vue3/lib/edge/style.css +1 -1
- package/vue3/lib/edge/types/enforced-partials.d.ts +7 -2
- package/vue3/lib/node/{block-wrapper.9e3f2443.cjs → block-wrapper.4e8f944e.cjs} +1 -1
- package/vue3/lib/node/{block-wrapper.1140bc59.js → block-wrapper.9be5f8cd.js} +2 -2
- package/vue3/lib/node/blocks/image/image.vue.d.ts +3 -3
- package/vue3/lib/node/{component-ref.814bc23c.cjs → component-ref.64358a5b.cjs} +1 -1
- package/vue3/lib/node/{component-ref.cad6e759.js → component-ref.b1bfb450.js} +2 -2
- package/vue3/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +1 -3
- package/vue3/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +1 -3
- package/vue3/lib/node/components/blocks/blocks-wrapper.vue.d.ts +14 -0
- package/vue3/lib/node/components/blocks/blocks.vue.d.ts +7 -7
- package/vue3/lib/node/components/content/components/enable-editor.vue.d.ts +9 -0
- package/vue3/lib/node/components/content/content.vue.d.ts +14 -0
- package/vue3/lib/node/components/content-variants/content-variants.types.d.ts +16 -0
- package/vue3/lib/node/components/content-variants/content-variants.vue.d.ts +12 -0
- package/vue3/lib/node/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/node/context/builder.context.d.ts +2 -0
- package/vue3/lib/node/context/types.d.ts +2 -1
- package/vue3/lib/node/functions/get-block-properties.d.ts +1 -1
- package/vue3/lib/node/functions/get-content/index.d.ts +2 -2
- package/vue3/lib/node/functions/transform-block-properties.d.ts +5 -2
- package/vue3/lib/node/get-block-actions.37f280b9.cjs +1 -0
- package/vue3/lib/node/{get-block-actions.46d61b25.js → get-block-actions.f7d97db3.js} +17 -11
- package/vue3/lib/node/index-helpers/blocks-exports.d.ts +18 -6
- package/vue3/lib/node/{index.456bef99.cjs → index.1e45420a.cjs} +7 -7
- package/vue3/lib/node/index.cjs +1 -1
- package/vue3/lib/node/{index.14c688da.js → index.f52ac974.js} +143 -101
- package/vue3/lib/node/index.js +1 -1
- package/vue3/lib/node/{repeated-block.19d21383.cjs → repeated-block.21ee0d19.cjs} +1 -1
- package/vue3/lib/node/{repeated-block.e72a8275.js → repeated-block.9f1ca9a7.js} +2 -2
- package/vue3/lib/node/style.css +1 -1
- package/vue3/lib/node/types/enforced-partials.d.ts +7 -2
- package/vue2/lib/browser/blocks-wrapper-542bca6e.cjs +0 -1
- package/vue2/lib/browser/blocks-wrapper-a93bf471.js +0 -73
- package/vue2/lib/browser/enable-editor-4491b5dd.cjs +0 -1
- package/vue2/lib/browser/functions/get-react-native-block-styles.d.ts +0 -7
- package/vue2/lib/browser/functions/sanitize-react-native-block-styles.d.ts +0 -3
- package/vue2/lib/browser/get-block-properties-d090641d.cjs +0 -1
- package/vue2/lib/edge/blocks-wrapper-c1bdb5b4.js +0 -73
- package/vue2/lib/edge/blocks-wrapper-ed1c3990.cjs +0 -1
- package/vue2/lib/edge/enable-editor-d4895e04.cjs +0 -1
- package/vue2/lib/edge/functions/get-react-native-block-styles.d.ts +0 -7
- package/vue2/lib/edge/functions/sanitize-react-native-block-styles.d.ts +0 -3
- package/vue2/lib/edge/get-block-properties-3f6858d3.cjs +0 -1
- package/vue2/lib/node/blocks-wrapper-0a06ae61.js +0 -73
- package/vue2/lib/node/blocks-wrapper-c8ab561d.cjs +0 -1
- package/vue2/lib/node/enable-editor-a05ea891.cjs +0 -1
- package/vue2/lib/node/functions/get-react-native-block-styles.d.ts +0 -7
- package/vue2/lib/node/functions/sanitize-react-native-block-styles.d.ts +0 -3
- package/vue2/lib/node/get-block-properties-ff0444df.cjs +0 -1
- package/vue3/lib/browser/functions/get-react-native-block-styles.d.ts +0 -7
- package/vue3/lib/browser/functions/sanitize-react-native-block-styles.d.ts +0 -3
- package/vue3/lib/browser/get-block-actions.91d70ba2.cjs +0 -1
- package/vue3/lib/edge/functions/get-react-native-block-styles.d.ts +0 -7
- package/vue3/lib/edge/functions/sanitize-react-native-block-styles.d.ts +0 -3
- package/vue3/lib/edge/get-block-actions.51f2dc73.cjs +0 -1
- package/vue3/lib/node/functions/get-react-native-block-styles.d.ts +0 -7
- package/vue3/lib/node/functions/sanitize-react-native-block-styles.d.ts +0 -3
- package/vue3/lib/node/get-block-actions.68f47245.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { d as n, g as r, h as o, C as i, F as g, I as c, R as l, f as m, S as d, i as C, j as p, V as u, n as f, m as h, x as B, o as R, p as S, q as k, u as E, t as x, k as P, l as v, r as y, s as F, v as I } from "./index.
|
|
2
|
+
import { d as n, g as r, h as o, C as i, F as g, I as c, R as l, f as m, S as d, i as C, j as p, V as u, n as f, m as h, x as B, o as R, p as S, q as k, u as E, t as x, k as P, l as v, r as y, s as F, v as I } from "./index.d5883cd5.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
export {
|
|
5
5
|
n as Blocks,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as t, defineAsyncComponent as n, resolveComponent as r, openBlock as c, createBlock as s } from "vue";
|
|
3
|
-
import { b as p, _ as l } from "./index.
|
|
4
|
-
const a = () => import("./index.
|
|
3
|
+
import { b as p, _ as l } from "./index.d5883cd5.js";
|
|
4
|
+
const a = () => import("./index.d5883cd5.js").then((e) => e.y).then((e) => e.default).catch((e) => {
|
|
5
5
|
throw console.error(
|
|
6
6
|
"Error while attempting to dynamically import component Block at ../block.vue",
|
|
7
7
|
e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index.
|
|
1
|
+
"use strict";var k=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./index.85b3d46a.cjs"),r=()=>Promise.resolve().then(()=>require("./index.85b3d46a.cjs")).then(e=>e.block).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block.vue",e),e}),c=o.defineComponent({name:"repeated-block",components:{Block:o.defineAsyncComponent(r)},props:["repeatContext","block","registeredComponents"],data(){return{store:this.repeatContext}},provide(){const e=this;return{[t.BuilderContext.key]:e.store}}});function s(e,i,p,d,a,u){const n=o.resolveComponent("block");return o.openBlock(),o.createBlock(n,{block:e.block,context:e.store,registeredComponents:e.registeredComponents},null,8,["block","context","registeredComponents"])}const l=t._export_sfc(c,[["render",s],["__file","/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/repeated-block.vue"]]);exports.default=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.button-21azgz5avex[data-v-becdf225]{all:unset}.
|
|
1
|
+
.button-21azgz5avex[data-v-becdf225]{all:unset}.component-178o76acnws[data-v-1f8aab9f]{display:flex;flex-direction:column;align-items:stretch}.div-16nol0lwi20[data-v-7be099dc]{display:flex;line-height:normal}.div-16nol0lwi20-2[data-v-7be099dc]{display:flex;flex-direction:column;align-items:stretch}.img-1be3j8m9ewb[data-v-58ca75d1]{opacity:1;transition:opacity .2s ease-in-out}.div-1be3j8m9ewb[data-v-58ca75d1]{width:100%;pointer-events:none;font-size:0}.div-1be3j8m9ewb-2[data-v-58ca75d1]{display:flex;flex-direction:column;align-items:stretch;position:absolute;top:0;left:0;width:100%;height:100%}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import type { Prettify } from './typescript.js';
|
|
2
|
+
/**
|
|
3
|
+
* Lol Typescript
|
|
4
|
+
* https://stackoverflow.com/questions/49927523/disallow-call-with-any/49928360#49928360
|
|
5
|
+
*/
|
|
6
|
+
type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
|
2
7
|
type OptionalFieldsOnly<T> = {
|
|
3
|
-
[K in keyof T as T[K] extends Required<T>[K] ? never : K]: T[K];
|
|
8
|
+
[K in keyof T as T[K] extends Required<T>[K] ? IfAny<T[K], K, never> : K]: T[K];
|
|
4
9
|
};
|
|
5
10
|
type RequiredFieldsOnly<T> = {
|
|
6
|
-
[K in keyof T as T[K] extends Required<T>[K] ? K : never]: T[K];
|
|
11
|
+
[K in keyof T as T[K] extends Required<T>[K] ? IfAny<T[K], never, K> : never]: T[K];
|
|
7
12
|
};
|
|
8
13
|
type Enforced<T> = {
|
|
9
14
|
[K in keyof T]-?: T[K];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as l, openBlock as o, createBlock as t, resolveDynamicComponent as r, mergeProps as n, toHandlers as a, withCtx as c, renderSlot as p } from "vue";
|
|
3
|
-
import { g as s, a as k } from "./get-block-actions.
|
|
4
|
-
import { _ as i } from "./index.
|
|
3
|
+
import { g as s, a as k } from "./get-block-actions.e90f22a0.js";
|
|
4
|
+
import { _ as i } from "./index.26869e2b.js";
|
|
5
5
|
const u = l({
|
|
6
6
|
name: "block-wrapper",
|
|
7
7
|
props: ["Wrapper", "block", "context", "hasChildren"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var u=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./get-block-actions.
|
|
1
|
+
"use strict";var u=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("./get-block-actions.e213d5e5.cjs"),r=require("./index.9551e853.cjs"),n=o.defineComponent({name:"block-wrapper",props:["Wrapper","block","context","hasChildren"],data(){return{getBlockActions:t.getBlockActions,getBlockProperties:t.getBlockProperties}}});function c(e,a,s,p,i,k){return e.hasChildren?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({key:0},e.getBlockProperties({block:e.block,context:e.context}),o.toHandlers(e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}))),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},16)):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({key:1},e.getBlockProperties({block:e.block,context:e.context}),o.toHandlers(e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}))),null,16))}const l=r._export_sfc(n,[["render",c],["__file","/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/block-wrapper.vue"]]);exports.default=l;
|
|
@@ -19,10 +19,10 @@ export interface ImageProps {
|
|
|
19
19
|
}
|
|
20
20
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
21
21
|
image?: any;
|
|
22
|
+
className?: any;
|
|
22
23
|
aspectRatio?: any;
|
|
23
24
|
backgroundPosition?: any;
|
|
24
25
|
backgroundSize?: any;
|
|
25
|
-
className?: any;
|
|
26
26
|
builderBlock?: any;
|
|
27
27
|
src?: any;
|
|
28
28
|
srcset?: any;
|
|
@@ -44,10 +44,10 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
44
44
|
_classStringToObject(str: string): Record<string, boolean>;
|
|
45
45
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
46
46
|
image?: any;
|
|
47
|
+
className?: any;
|
|
47
48
|
aspectRatio?: any;
|
|
48
49
|
backgroundPosition?: any;
|
|
49
50
|
backgroundSize?: any;
|
|
50
|
-
className?: any;
|
|
51
51
|
builderBlock?: any;
|
|
52
52
|
src?: any;
|
|
53
53
|
srcset?: any;
|
|
@@ -57,10 +57,10 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
57
57
|
fitContent?: any;
|
|
58
58
|
}>>>, {
|
|
59
59
|
readonly image?: any;
|
|
60
|
+
readonly className?: any;
|
|
60
61
|
readonly aspectRatio?: any;
|
|
61
62
|
readonly backgroundPosition?: any;
|
|
62
63
|
readonly backgroundSize?: any;
|
|
63
|
-
readonly className?: any;
|
|
64
64
|
readonly builderBlock?: any;
|
|
65
65
|
readonly src?: any;
|
|
66
66
|
readonly srcset?: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var P=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),n=require("./index.
|
|
1
|
+
"use strict";var P=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),n=require("./index.9551e853.cjs"),a=require("./get-block-actions.e213d5e5.cjs"),d=o.defineComponent({name:"interactive-element",props:["wrapperProps","block","context","Wrapper"],data(){return{getBlockActions:a.getBlockActions,getBlockProperties:a.getBlockProperties}}});function b(e,r,c,l,s,p){return o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.mergeProps({attributes:{...e.getBlockProperties({block:e.block,context:e.context}),...e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}},e.wrapperProps),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},16,["attributes"])}const u=n._export_sfc(d,[["render",b],["__file","/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/interactive-element.vue"]]),B=({componentOptions:e,builderBlock:r,context:c,componentRef:l,includeBlockProps:s,isInteractive:p,contextValue:i})=>p?{Wrapper:l,block:r,context:c,wrapperProps:e}:{...e,...s?{attributes:a.getBlockProperties({block:r,context:i})}:{}},f=o.defineComponent({name:"component-ref",components:{Block:n.Block,BlockStyles:n.BlockStyles,InteractiveElement:u},props:["isInteractive","componentRef","componentOptions","builderBlock","context","includeBlockProps","blockChildren","registeredComponents"],data(){return{Wrapper:this.isInteractive?n.wrapComponentRef(u):this.componentRef,getWrapperProps:B}}});function g(e,r,c,l,s,p){const i=o.resolveComponent("block"),k=o.resolveComponent("block-styles");return e.componentRef?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.Wrapper),o.normalizeProps(o.mergeProps({key:0},e.getWrapperProps({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}))),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.blockChildren,(t,m)=>(o.openBlock(),o.createBlock(i,{key:"block-"+t.id,block:t,context:e.context,registeredComponents:e.registeredComponents},null,8,["block","context","registeredComponents"]))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.blockChildren,(t,m)=>(o.openBlock(),o.createBlock(k,{key:"block-style-"+t.id,block:t,context:e.context},null,8,["block","context"]))),128))]),_:1},16)):o.createCommentVNode("v-if",!0)}const v=n._export_sfc(f,[["render",g],["__file","/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/components/component-ref/component-ref.vue"]]);exports.default=v;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { defineComponent as f, openBlock as o, createBlock as r, resolveDynamicComponent as v, mergeProps as g, withCtx as B, renderSlot as S, resolveComponent as m, normalizeProps as h, createElementBlock as u, Fragment as k, renderList as d, createCommentVNode as w } from "vue";
|
|
3
|
-
import { _ as P, B as y, a as R, w as W } from "./index.
|
|
4
|
-
import { g as I, a as C } from "./get-block-actions.
|
|
3
|
+
import { _ as P, B as y, a as R, w as W } from "./index.26869e2b.js";
|
|
4
|
+
import { g as I, a as C } from "./get-block-actions.e90f22a0.js";
|
|
5
5
|
const E = f({
|
|
6
6
|
name: "interactive-element",
|
|
7
7
|
props: ["wrapperProps", "block", "context", "Wrapper"],
|
|
@@ -21,9 +21,7 @@ export interface ComponentProps {
|
|
|
21
21
|
export declare const getWrapperProps: ({ componentOptions, builderBlock, context, componentRef, includeBlockProps, isInteractive, contextValue }: Omit<ComponentProps, "registeredComponents" | "blockChildren"> & {
|
|
22
22
|
contextValue: BuilderContextInterface;
|
|
23
23
|
}) => InteractiveElementProps | {
|
|
24
|
-
attributes?:
|
|
25
|
-
[index: string]: any;
|
|
26
|
-
} | undefined;
|
|
24
|
+
attributes?: any;
|
|
27
25
|
builderBlock: BuilderBlock;
|
|
28
26
|
builderContext: BuilderContextInterface;
|
|
29
27
|
};
|
|
@@ -13,9 +13,7 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
13
13
|
getWrapperProps: ({ componentOptions, builderBlock, context, componentRef, includeBlockProps, isInteractive, contextValue }: Omit<ComponentProps, "registeredComponents" | "blockChildren"> & {
|
|
14
14
|
contextValue: import("../../../../context/types.js").BuilderContextInterface;
|
|
15
15
|
}) => import("../interactive-element.vue").InteractiveElementProps | {
|
|
16
|
-
attributes?:
|
|
17
|
-
[index: string]: any;
|
|
18
|
-
} | undefined;
|
|
16
|
+
attributes?: any;
|
|
19
17
|
builderBlock: import("../../../../types/builder-block.js").BuilderBlock;
|
|
20
18
|
builderContext: import("../../../../context/types.js").BuilderContextInterface;
|
|
21
19
|
};
|
|
@@ -4,12 +4,22 @@ export type BlocksWrapperProps = {
|
|
|
4
4
|
parent: string | undefined;
|
|
5
5
|
path: string | undefined;
|
|
6
6
|
styleProp: Record<string, any> | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* The element that wraps each list of blocks. Defaults to a `div` element ('ScrollView' in React Native).
|
|
9
|
+
*/
|
|
10
|
+
BlocksWrapper: any;
|
|
11
|
+
/**
|
|
12
|
+
* Additonal props to pass to `blocksWrapper`. Defaults to `{}`.
|
|
13
|
+
*/
|
|
14
|
+
BlocksWrapperProps: any;
|
|
7
15
|
};
|
|
8
16
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
9
17
|
path?: any;
|
|
18
|
+
BlocksWrapper?: any;
|
|
10
19
|
blocks?: any;
|
|
11
20
|
parent?: any;
|
|
12
21
|
styleProp?: any;
|
|
22
|
+
BlocksWrapperProps?: any;
|
|
13
23
|
}>, unknown, unknown, {
|
|
14
24
|
className(): string;
|
|
15
25
|
}, {
|
|
@@ -18,13 +28,17 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
18
28
|
_classStringToObject(str: string): Record<string, boolean>;
|
|
19
29
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
20
30
|
path?: any;
|
|
31
|
+
BlocksWrapper?: any;
|
|
21
32
|
blocks?: any;
|
|
22
33
|
parent?: any;
|
|
23
34
|
styleProp?: any;
|
|
35
|
+
BlocksWrapperProps?: any;
|
|
24
36
|
}>>>, {
|
|
25
37
|
readonly path?: any;
|
|
38
|
+
readonly BlocksWrapper?: any;
|
|
26
39
|
readonly blocks?: any;
|
|
27
40
|
readonly parent?: any;
|
|
28
41
|
readonly styleProp?: any;
|
|
42
|
+
readonly BlocksWrapperProps?: any;
|
|
29
43
|
}, {}>;
|
|
30
44
|
export default _default;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import type { BuilderContextInterface, RegisteredComponents } from "../../context/types.js";
|
|
2
2
|
import type { BlocksWrapperProps } from "./blocks-wrapper.vue";
|
|
3
|
-
export type BlocksProps = Partial<BlocksWrapperProps
|
|
3
|
+
export type BlocksProps = Partial<Omit<BlocksWrapperProps, "BlocksWrapper" | "BlocksWrapperProps">> & {
|
|
4
4
|
context?: BuilderContextInterface;
|
|
5
5
|
registeredComponents?: RegisteredComponents;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
8
8
|
path?: any;
|
|
9
9
|
blocks?: any;
|
|
10
|
-
context?: any;
|
|
11
|
-
registeredComponents?: any;
|
|
12
10
|
parent?: any;
|
|
13
11
|
styleProp?: any;
|
|
12
|
+
context?: any;
|
|
13
|
+
registeredComponents?: any;
|
|
14
14
|
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
15
15
|
path?: any;
|
|
16
16
|
blocks?: any;
|
|
17
|
-
context?: any;
|
|
18
|
-
registeredComponents?: any;
|
|
19
17
|
parent?: any;
|
|
20
18
|
styleProp?: any;
|
|
19
|
+
context?: any;
|
|
20
|
+
registeredComponents?: any;
|
|
21
21
|
}>>>, {
|
|
22
22
|
readonly path?: any;
|
|
23
23
|
readonly blocks?: any;
|
|
24
|
-
readonly context?: any;
|
|
25
|
-
readonly registeredComponents?: any;
|
|
26
24
|
readonly parent?: any;
|
|
27
25
|
readonly styleProp?: any;
|
|
26
|
+
readonly context?: any;
|
|
27
|
+
readonly registeredComponents?: any;
|
|
28
28
|
}, {}>;
|
|
29
29
|
export default _default;
|
|
@@ -5,15 +5,18 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
5
5
|
apiKey?: any;
|
|
6
6
|
canTrack?: any;
|
|
7
7
|
builderContextSignal?: any;
|
|
8
|
+
contentWrapper?: any;
|
|
8
9
|
model?: any;
|
|
9
10
|
locale?: any;
|
|
10
11
|
includeRefs?: any;
|
|
11
12
|
enrich?: any;
|
|
12
13
|
showContent?: any;
|
|
14
|
+
contentWrapperProps?: any;
|
|
13
15
|
}>, unknown, {
|
|
14
16
|
forceReRenderCount: number;
|
|
15
17
|
lastUpdated: number;
|
|
16
18
|
shouldSendResetCookie: boolean;
|
|
19
|
+
ContentWrapper: any;
|
|
17
20
|
httpReqsData: {};
|
|
18
21
|
clicked: boolean;
|
|
19
22
|
builderContext: {
|
|
@@ -27,6 +30,8 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
27
30
|
apiVersion: undefined;
|
|
28
31
|
componentInfos: {};
|
|
29
32
|
inheritedStyles: {};
|
|
33
|
+
BlocksWrapper: string;
|
|
34
|
+
BlocksWrapperProps: {};
|
|
30
35
|
};
|
|
31
36
|
key: symbol;
|
|
32
37
|
};
|
|
@@ -68,21 +73,25 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
68
73
|
apiKey?: any;
|
|
69
74
|
canTrack?: any;
|
|
70
75
|
builderContextSignal?: any;
|
|
76
|
+
contentWrapper?: any;
|
|
71
77
|
model?: any;
|
|
72
78
|
locale?: any;
|
|
73
79
|
includeRefs?: any;
|
|
74
80
|
enrich?: any;
|
|
75
81
|
showContent?: any;
|
|
82
|
+
contentWrapperProps?: any;
|
|
76
83
|
}>>>, {
|
|
77
84
|
readonly content?: any;
|
|
78
85
|
readonly context?: any;
|
|
79
86
|
readonly apiKey?: any;
|
|
80
87
|
readonly canTrack?: any;
|
|
81
88
|
readonly builderContextSignal?: any;
|
|
89
|
+
readonly contentWrapper?: any;
|
|
82
90
|
readonly model?: any;
|
|
83
91
|
readonly locale?: any;
|
|
84
92
|
readonly includeRefs?: any;
|
|
85
93
|
readonly enrich?: any;
|
|
86
94
|
readonly showContent?: any;
|
|
95
|
+
readonly contentWrapperProps?: any;
|
|
87
96
|
}, {}>;
|
|
88
97
|
export default _default;
|
|
@@ -7,13 +7,17 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
7
7
|
context?: any;
|
|
8
8
|
apiKey?: any;
|
|
9
9
|
apiVersion?: any;
|
|
10
|
+
blocksWrapper?: any;
|
|
10
11
|
canTrack?: any;
|
|
12
|
+
contentWrapper?: any;
|
|
11
13
|
model?: any;
|
|
12
14
|
locale?: any;
|
|
13
15
|
includeRefs?: any;
|
|
14
16
|
enrich?: any;
|
|
15
17
|
showContent?: any;
|
|
18
|
+
contentWrapperProps?: any;
|
|
16
19
|
customComponents?: any;
|
|
20
|
+
blocksWrapperProps?: any;
|
|
17
21
|
isSsrAbTest?: any;
|
|
18
22
|
}>, unknown, {
|
|
19
23
|
scriptStr: string;
|
|
@@ -30,6 +34,8 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
30
34
|
apiVersion: any;
|
|
31
35
|
componentInfos: Dictionary<ComponentInfo>;
|
|
32
36
|
inheritedStyles: {};
|
|
37
|
+
BlocksWrapper: any;
|
|
38
|
+
BlocksWrapperProps: any;
|
|
33
39
|
};
|
|
34
40
|
TARGET: import("../../types/targets.js").Target;
|
|
35
41
|
}, {}, {
|
|
@@ -40,13 +46,17 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
40
46
|
context?: any;
|
|
41
47
|
apiKey?: any;
|
|
42
48
|
apiVersion?: any;
|
|
49
|
+
blocksWrapper?: any;
|
|
43
50
|
canTrack?: any;
|
|
51
|
+
contentWrapper?: any;
|
|
44
52
|
model?: any;
|
|
45
53
|
locale?: any;
|
|
46
54
|
includeRefs?: any;
|
|
47
55
|
enrich?: any;
|
|
48
56
|
showContent?: any;
|
|
57
|
+
contentWrapperProps?: any;
|
|
49
58
|
customComponents?: any;
|
|
59
|
+
blocksWrapperProps?: any;
|
|
50
60
|
isSsrAbTest?: any;
|
|
51
61
|
}>>>, {
|
|
52
62
|
readonly data?: any;
|
|
@@ -54,13 +64,17 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
54
64
|
readonly context?: any;
|
|
55
65
|
readonly apiKey?: any;
|
|
56
66
|
readonly apiVersion?: any;
|
|
67
|
+
readonly blocksWrapper?: any;
|
|
57
68
|
readonly canTrack?: any;
|
|
69
|
+
readonly contentWrapper?: any;
|
|
58
70
|
readonly model?: any;
|
|
59
71
|
readonly locale?: any;
|
|
60
72
|
readonly includeRefs?: any;
|
|
61
73
|
readonly enrich?: any;
|
|
62
74
|
readonly showContent?: any;
|
|
75
|
+
readonly contentWrapperProps?: any;
|
|
63
76
|
readonly customComponents?: any;
|
|
77
|
+
readonly blocksWrapperProps?: any;
|
|
64
78
|
readonly isSsrAbTest?: any;
|
|
65
79
|
}, {}>;
|
|
66
80
|
export default _default;
|
|
@@ -17,4 +17,20 @@ export interface ContentVariantsPrps {
|
|
|
17
17
|
/** @deprecated use `enrich` instead **/
|
|
18
18
|
includeRefs?: boolean;
|
|
19
19
|
enrich?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* The element that wraps your content. Defaults to `div` ('ScrollView' in React Native).
|
|
22
|
+
*/
|
|
23
|
+
contentWrapper?: any;
|
|
24
|
+
/**
|
|
25
|
+
* Additonal props to pass to `contentWrapper`. Defaults to `{}`.
|
|
26
|
+
*/
|
|
27
|
+
contentWrapperProps?: any;
|
|
28
|
+
/**
|
|
29
|
+
* The element that wraps your blocks. Defaults to `div` ('ScrollView' in React Native).
|
|
30
|
+
*/
|
|
31
|
+
blocksWrapper?: any;
|
|
32
|
+
/**
|
|
33
|
+
* Additonal props to pass to `blocksWrapper`. Defaults to `{}`.
|
|
34
|
+
*/
|
|
35
|
+
blocksWrapperProps?: any;
|
|
20
36
|
}
|
|
@@ -4,12 +4,16 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
4
4
|
context?: any;
|
|
5
5
|
apiKey?: any;
|
|
6
6
|
apiVersion?: any;
|
|
7
|
+
blocksWrapper?: any;
|
|
7
8
|
canTrack?: any;
|
|
9
|
+
contentWrapper?: any;
|
|
8
10
|
model?: any;
|
|
9
11
|
locale?: any;
|
|
10
12
|
includeRefs?: any;
|
|
11
13
|
enrich?: any;
|
|
14
|
+
contentWrapperProps?: any;
|
|
12
15
|
customComponents?: any;
|
|
16
|
+
blocksWrapperProps?: any;
|
|
13
17
|
__isNestedRender?: any;
|
|
14
18
|
}>, unknown, {
|
|
15
19
|
shouldRenderVariants: boolean;
|
|
@@ -49,12 +53,16 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
49
53
|
context?: any;
|
|
50
54
|
apiKey?: any;
|
|
51
55
|
apiVersion?: any;
|
|
56
|
+
blocksWrapper?: any;
|
|
52
57
|
canTrack?: any;
|
|
58
|
+
contentWrapper?: any;
|
|
53
59
|
model?: any;
|
|
54
60
|
locale?: any;
|
|
55
61
|
includeRefs?: any;
|
|
56
62
|
enrich?: any;
|
|
63
|
+
contentWrapperProps?: any;
|
|
57
64
|
customComponents?: any;
|
|
65
|
+
blocksWrapperProps?: any;
|
|
58
66
|
__isNestedRender?: any;
|
|
59
67
|
}>>>, {
|
|
60
68
|
readonly data?: any;
|
|
@@ -62,12 +70,16 @@ declare const _default: import("vue").DefineComponent<Readonly<{
|
|
|
62
70
|
readonly context?: any;
|
|
63
71
|
readonly apiKey?: any;
|
|
64
72
|
readonly apiVersion?: any;
|
|
73
|
+
readonly blocksWrapper?: any;
|
|
65
74
|
readonly canTrack?: any;
|
|
75
|
+
readonly contentWrapper?: any;
|
|
66
76
|
readonly model?: any;
|
|
67
77
|
readonly locale?: any;
|
|
68
78
|
readonly includeRefs?: any;
|
|
69
79
|
readonly enrich?: any;
|
|
80
|
+
readonly contentWrapperProps?: any;
|
|
70
81
|
readonly customComponents?: any;
|
|
82
|
+
readonly blocksWrapperProps?: any;
|
|
71
83
|
readonly __isNestedRender?: any;
|
|
72
84
|
}, {}>;
|
|
73
85
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.10.0";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BlocksWrapperProps } from '../components/blocks/blocks-wrapper.vue';
|
|
1
2
|
import type { ApiVersion } from '../types/api-version.js';
|
|
2
3
|
import type { BuilderContent } from '../types/builder-content.js';
|
|
3
4
|
import type { ComponentInfo } from '../types/components.js';
|
|
@@ -8,7 +9,7 @@ export type RegisteredComponent = ComponentInfo & {
|
|
|
8
9
|
export type RegisteredComponents = Dictionary<RegisteredComponent>;
|
|
9
10
|
export type BuilderRenderState = Record<string, unknown>;
|
|
10
11
|
export type BuilderRenderContext = Record<string, unknown>;
|
|
11
|
-
export interface BuilderContextInterface {
|
|
12
|
+
export interface BuilderContextInterface extends Pick<BlocksWrapperProps, 'BlocksWrapper' | 'BlocksWrapperProps'> {
|
|
12
13
|
content: Nullable<BuilderContent>;
|
|
13
14
|
context: BuilderRenderContext;
|
|
14
15
|
/**
|
|
@@ -16,11 +16,11 @@ type ContentResults = {
|
|
|
16
16
|
/**
|
|
17
17
|
* @internal Exported only for testing purposes. Do not use.
|
|
18
18
|
*/
|
|
19
|
-
export declare const _processContentResult: (options: GetContentOptions, content: ContentResults, url?: URL) => Promise<
|
|
19
|
+
export declare const _processContentResult: (options: GetContentOptions, content: ContentResults, url?: URL) => Promise<BuilderContent[]>;
|
|
20
20
|
/**
|
|
21
21
|
* Returns a paginated array of entries that match the given options.
|
|
22
22
|
*/
|
|
23
|
-
export declare function fetchEntries(options: GetContentOptions): Promise<
|
|
23
|
+
export declare function fetchEntries(options: GetContentOptions): Promise<BuilderContent[] | null>;
|
|
24
24
|
/**
|
|
25
25
|
* @deprecated `getAllContent` was renamed to `fetchEntries`. This is a temporary alias to avoid breaking changes.
|
|
26
26
|
*/
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare function transformBlockProperties({ properties, }: {
|
|
2
|
+
properties: any;
|
|
3
|
+
block: any;
|
|
4
|
+
context: any;
|
|
5
|
+
}): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var g=require("./style.css");const o=require("./index.9551e853.cjs");function i(e){const t={};if(typeof e!="string")return t;const r=e.trim().split(/\\s+/);for(const s of r)t[s]=!0;return t}function l({properties:e}){return e.class=i(e.class),e}const u=e=>({href:e.href});function f({block:e,context:t}){var s;const r={...u(e),...e.properties,"builder-id":e.id,style:e.style?v(e.style):void 0,class:[e.id,"builder-block",e.class,(s=e.properties)==null?void 0:s.class].filter(Boolean).join(" ")};return l({properties:r,context:t,block:e})}function v(e){switch(o.TARGET){case"svelte":case"vue2":case"vue3":case"solid":return o.convertStyleMapToCSSArray(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}const d=e=>`v-on:${e.toLowerCase()}`,S=(e,t)=>r=>o.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:r,isExpression:!1});function p(e){var s;const t={},r=(s=e.block.actions)!=null?s:{};for(const n in r){if(!r.hasOwnProperty(n))continue;const a=r[n];let c=d(n);if(e.stripPrefix)switch(o.TARGET){case"vue2":case"vue3":c=c.replace("v-on:","");break;case"svelte":c=c.replace("on:","");break}t[c]=S(a,e)}return t}exports.getBlockActions=p;exports.getBlockProperties=f;
|
package/vue3/lib/{browser/get-block-actions.ca6fe762.js → edge/get-block-actions.e90f22a0.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { T as
|
|
2
|
+
import { T as c, c as i, e as l } from "./index.26869e2b.js";
|
|
3
3
|
function u(e) {
|
|
4
4
|
const t = {};
|
|
5
5
|
if (typeof e != "string")
|
|
@@ -9,7 +9,9 @@ function u(e) {
|
|
|
9
9
|
t[s] = !0;
|
|
10
10
|
return t;
|
|
11
11
|
}
|
|
12
|
-
function f(
|
|
12
|
+
function f({
|
|
13
|
+
properties: e
|
|
14
|
+
}) {
|
|
13
15
|
return e.class = u(e.class), e;
|
|
14
16
|
}
|
|
15
17
|
const v = (e) => ({
|
|
@@ -24,13 +26,17 @@ function g({
|
|
|
24
26
|
...v(e),
|
|
25
27
|
...e.properties,
|
|
26
28
|
"builder-id": e.id,
|
|
27
|
-
style: e.style ?
|
|
29
|
+
style: e.style ? S(e.style) : void 0,
|
|
28
30
|
class: [e.id, "builder-block", e.class, (s = e.properties) == null ? void 0 : s.class].filter(Boolean).join(" ")
|
|
29
31
|
};
|
|
30
|
-
return f(
|
|
32
|
+
return f({
|
|
33
|
+
properties: r,
|
|
34
|
+
context: t,
|
|
35
|
+
block: e
|
|
36
|
+
});
|
|
31
37
|
}
|
|
32
|
-
function
|
|
33
|
-
switch (
|
|
38
|
+
function S(e) {
|
|
39
|
+
switch (c) {
|
|
34
40
|
case "svelte":
|
|
35
41
|
case "vue2":
|
|
36
42
|
case "vue3":
|
|
@@ -43,7 +49,7 @@ function p(e) {
|
|
|
43
49
|
return e;
|
|
44
50
|
}
|
|
45
51
|
}
|
|
46
|
-
const
|
|
52
|
+
const p = (e) => `v-on:${e.toLowerCase()}`, d = (e, t) => (r) => l({
|
|
47
53
|
code: e,
|
|
48
54
|
context: t.context,
|
|
49
55
|
localState: t.localState,
|
|
@@ -58,10 +64,10 @@ function x(e) {
|
|
|
58
64
|
for (const o in r) {
|
|
59
65
|
if (!r.hasOwnProperty(o))
|
|
60
66
|
continue;
|
|
61
|
-
const
|
|
62
|
-
let a =
|
|
67
|
+
const n = r[o];
|
|
68
|
+
let a = p(o);
|
|
63
69
|
if (e.stripPrefix)
|
|
64
|
-
switch (
|
|
70
|
+
switch (c) {
|
|
65
71
|
case "vue2":
|
|
66
72
|
case "vue3":
|
|
67
73
|
a = a.replace("v-on:", "");
|
|
@@ -70,7 +76,7 @@ function x(e) {
|
|
|
70
76
|
a = a.replace("on:", "");
|
|
71
77
|
break;
|
|
72
78
|
}
|
|
73
|
-
t[a] = d(
|
|
79
|
+
t[a] = d(n, e);
|
|
74
80
|
}
|
|
75
81
|
return t;
|
|
76
82
|
}
|
|
@@ -15,24 +15,24 @@ export { Blocks, Content };
|
|
|
15
15
|
export declare const RenderBlocks: import("vue").DefineComponent<Readonly<{
|
|
16
16
|
path?: any;
|
|
17
17
|
blocks?: any;
|
|
18
|
-
context?: any;
|
|
19
|
-
registeredComponents?: any;
|
|
20
18
|
parent?: any;
|
|
21
19
|
styleProp?: any;
|
|
20
|
+
context?: any;
|
|
21
|
+
registeredComponents?: any;
|
|
22
22
|
}>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
23
23
|
path?: any;
|
|
24
24
|
blocks?: any;
|
|
25
|
-
context?: any;
|
|
26
|
-
registeredComponents?: any;
|
|
27
25
|
parent?: any;
|
|
28
26
|
styleProp?: any;
|
|
27
|
+
context?: any;
|
|
28
|
+
registeredComponents?: any;
|
|
29
29
|
}>>>, {
|
|
30
30
|
readonly path?: any;
|
|
31
31
|
readonly blocks?: any;
|
|
32
|
-
readonly context?: any;
|
|
33
|
-
readonly registeredComponents?: any;
|
|
34
32
|
readonly parent?: any;
|
|
35
33
|
readonly styleProp?: any;
|
|
34
|
+
readonly context?: any;
|
|
35
|
+
readonly registeredComponents?: any;
|
|
36
36
|
}, {}>;
|
|
37
37
|
/**
|
|
38
38
|
* @deprecated Renamed to `Content`.
|
|
@@ -43,12 +43,16 @@ export declare const RenderContent: import("vue").DefineComponent<Readonly<{
|
|
|
43
43
|
context?: any;
|
|
44
44
|
apiKey?: any;
|
|
45
45
|
apiVersion?: any;
|
|
46
|
+
blocksWrapper?: any;
|
|
46
47
|
canTrack?: any;
|
|
48
|
+
contentWrapper?: any;
|
|
47
49
|
model?: any;
|
|
48
50
|
locale?: any;
|
|
49
51
|
includeRefs?: any;
|
|
50
52
|
enrich?: any;
|
|
53
|
+
contentWrapperProps?: any;
|
|
51
54
|
customComponents?: any;
|
|
55
|
+
blocksWrapperProps?: any;
|
|
52
56
|
__isNestedRender?: any;
|
|
53
57
|
}>, unknown, {
|
|
54
58
|
shouldRenderVariants: boolean;
|
|
@@ -88,12 +92,16 @@ export declare const RenderContent: import("vue").DefineComponent<Readonly<{
|
|
|
88
92
|
context?: any;
|
|
89
93
|
apiKey?: any;
|
|
90
94
|
apiVersion?: any;
|
|
95
|
+
blocksWrapper?: any;
|
|
91
96
|
canTrack?: any;
|
|
97
|
+
contentWrapper?: any;
|
|
92
98
|
model?: any;
|
|
93
99
|
locale?: any;
|
|
94
100
|
includeRefs?: any;
|
|
95
101
|
enrich?: any;
|
|
102
|
+
contentWrapperProps?: any;
|
|
96
103
|
customComponents?: any;
|
|
104
|
+
blocksWrapperProps?: any;
|
|
97
105
|
__isNestedRender?: any;
|
|
98
106
|
}>>>, {
|
|
99
107
|
readonly data?: any;
|
|
@@ -101,11 +109,15 @@ export declare const RenderContent: import("vue").DefineComponent<Readonly<{
|
|
|
101
109
|
readonly context?: any;
|
|
102
110
|
readonly apiKey?: any;
|
|
103
111
|
readonly apiVersion?: any;
|
|
112
|
+
readonly blocksWrapper?: any;
|
|
104
113
|
readonly canTrack?: any;
|
|
114
|
+
readonly contentWrapper?: any;
|
|
105
115
|
readonly model?: any;
|
|
106
116
|
readonly locale?: any;
|
|
107
117
|
readonly includeRefs?: any;
|
|
108
118
|
readonly enrich?: any;
|
|
119
|
+
readonly contentWrapperProps?: any;
|
|
109
120
|
readonly customComponents?: any;
|
|
121
|
+
readonly blocksWrapperProps?: any;
|
|
110
122
|
readonly __isNestedRender?: any;
|
|
111
123
|
}, {}>;
|