@builder.io/sdk-vue 0.0.1-64 → 0.0.1-65
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/package.json +1 -1
- package/vue2/src/blocks/columns/columns.vue +8 -8
- package/vue2/src/blocks/form/form.vue +2 -2
- package/vue2/src/blocks/image/image.vue +8 -8
- package/vue2/src/components/render-content/render-content.vue +1 -1
- package/vue3/src/blocks/columns/columns.vue +8 -8
- package/vue3/src/blocks/form/form.vue +2 -2
- package/vue3/src/blocks/image/image.vue +8 -8
- package/vue3/src/components/render-content/render-content.vue +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="builder-columns div-
|
|
2
|
+
<div class="builder-columns div-20351ewpue7" :style="columnsCssVars">
|
|
3
3
|
<div
|
|
4
|
-
class="builder-column div-
|
|
4
|
+
class="builder-column div-20351ewpue7-2"
|
|
5
5
|
v-for="(column, index) in columns"
|
|
6
6
|
:style="{
|
|
7
7
|
width: getColumnCssWidth(index),
|
|
@@ -74,32 +74,32 @@ export default {
|
|
|
74
74
|
};
|
|
75
75
|
</script>
|
|
76
76
|
<style scoped>
|
|
77
|
-
.div-
|
|
77
|
+
.div-20351ewpue7 {
|
|
78
78
|
display: flex;
|
|
79
79
|
align-items: stretch;
|
|
80
80
|
line-height: normal;
|
|
81
81
|
}
|
|
82
82
|
@media (max-width: 999px) {
|
|
83
|
-
.div-
|
|
83
|
+
.div-20351ewpue7 {
|
|
84
84
|
flex-direction: var(--flex-dir-tablet);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
@media (max-width: 639px) {
|
|
88
|
-
.div-
|
|
88
|
+
.div-20351ewpue7 {
|
|
89
89
|
flex-direction: var(--flex-dir);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
.div-
|
|
92
|
+
.div-20351ewpue7-2 {
|
|
93
93
|
flex-grow: 1;
|
|
94
94
|
}
|
|
95
95
|
@media (max-width: 999px) {
|
|
96
|
-
.div-
|
|
96
|
+
.div-20351ewpue7-2 {
|
|
97
97
|
width: var(--column-width-tablet) !important;
|
|
98
98
|
margin-left: var(--column-margin-left-tablet) !important;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
@media (max-width: 639px) {
|
|
102
|
-
.div-
|
|
102
|
+
.div-20351ewpue7-2 {
|
|
103
103
|
width: var(--column-width) !important;
|
|
104
104
|
margin-left: var(--column-margin-left) !important;
|
|
105
105
|
}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
></builder-blocks>
|
|
29
29
|
|
|
30
30
|
<pre
|
|
31
|
-
class="builder-form-error-text pre-
|
|
31
|
+
class="builder-form-error-text pre-1ifnufbde19"
|
|
32
32
|
v-if="submissionState === 'error' && responseData"
|
|
33
33
|
>
|
|
34
34
|
{{ JSON.stringify(responseData, null, 2) }}
|
|
@@ -301,7 +301,7 @@ export default {
|
|
|
301
301
|
};
|
|
302
302
|
</script>
|
|
303
303
|
<style scoped>
|
|
304
|
-
.pre-
|
|
304
|
+
.pre-1ifnufbde19 {
|
|
305
305
|
padding: 10px;
|
|
306
306
|
color: red;
|
|
307
307
|
text-align: center;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="div-
|
|
2
|
+
<div class="div-cvp1sc2nsao">
|
|
3
3
|
<picture>
|
|
4
4
|
<source type="image/webp" v-if="webpSrcSet" :srcset="webpSrcSet" />
|
|
5
5
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
_classStringToObject(
|
|
16
16
|
'builder-image' +
|
|
17
17
|
(this.className ? ' ' + this.className : '') +
|
|
18
|
-
' img-
|
|
18
|
+
' img-cvp1sc2nsao'
|
|
19
19
|
)
|
|
20
20
|
"
|
|
21
21
|
:src="image"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
</picture>
|
|
27
27
|
|
|
28
28
|
<div
|
|
29
|
-
class="builder-image-sizer div-
|
|
29
|
+
class="builder-image-sizer div-cvp1sc2nsao-2"
|
|
30
30
|
v-if="aspectRatio && !(fitContent && ((builderBlock && builderBlock.children) && (builderBlock && builderBlock.children).length))"
|
|
31
31
|
:style="{
|
|
32
32
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
<slot></slot>
|
|
38
38
|
|
|
39
|
-
<div class="div-
|
|
39
|
+
<div class="div-cvp1sc2nsao-3" v-if="!fitContent">
|
|
40
40
|
<slot></slot>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
@@ -110,10 +110,10 @@ export default {
|
|
|
110
110
|
};
|
|
111
111
|
</script>
|
|
112
112
|
<style scoped>
|
|
113
|
-
.div-
|
|
113
|
+
.div-cvp1sc2nsao {
|
|
114
114
|
position: relative;
|
|
115
115
|
}
|
|
116
|
-
.img-
|
|
116
|
+
.img-cvp1sc2nsao {
|
|
117
117
|
opacity: 1;
|
|
118
118
|
transition: opacity 0.2s ease-in-out;
|
|
119
119
|
position: absolute;
|
|
@@ -122,12 +122,12 @@ export default {
|
|
|
122
122
|
top: 0px;
|
|
123
123
|
left: 0px;
|
|
124
124
|
}
|
|
125
|
-
.div-
|
|
125
|
+
.div-cvp1sc2nsao-2 {
|
|
126
126
|
width: 100%;
|
|
127
127
|
pointer-events: none;
|
|
128
128
|
font-size: 0;
|
|
129
129
|
}
|
|
130
|
-
.div-
|
|
130
|
+
.div-cvp1sc2nsao-3 {
|
|
131
131
|
display: flex;
|
|
132
132
|
flex-direction: column;
|
|
133
133
|
align-items: stretch;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="builder-columns div-
|
|
2
|
+
<div class="builder-columns div-2btisl9m7v3" :style="columnsCssVars">
|
|
3
3
|
<template :key="index" v-for="(column, index) in columns">
|
|
4
4
|
<div
|
|
5
|
-
class="builder-column div-
|
|
5
|
+
class="builder-column div-2btisl9m7v3-2"
|
|
6
6
|
:style="{
|
|
7
7
|
width: getColumnCssWidth(index),
|
|
8
8
|
marginLeft: `${index === 0 ? 0 : getGutterSize()}px`,
|
|
@@ -76,32 +76,32 @@ export default {
|
|
|
76
76
|
};
|
|
77
77
|
</script>
|
|
78
78
|
<style scoped>
|
|
79
|
-
.div-
|
|
79
|
+
.div-2btisl9m7v3 {
|
|
80
80
|
display: flex;
|
|
81
81
|
align-items: stretch;
|
|
82
82
|
line-height: normal;
|
|
83
83
|
}
|
|
84
84
|
@media (max-width: 999px) {
|
|
85
|
-
.div-
|
|
85
|
+
.div-2btisl9m7v3 {
|
|
86
86
|
flex-direction: var(--flex-dir-tablet);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
@media (max-width: 639px) {
|
|
90
|
-
.div-
|
|
90
|
+
.div-2btisl9m7v3 {
|
|
91
91
|
flex-direction: var(--flex-dir);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
.div-
|
|
94
|
+
.div-2btisl9m7v3-2 {
|
|
95
95
|
flex-grow: 1;
|
|
96
96
|
}
|
|
97
97
|
@media (max-width: 999px) {
|
|
98
|
-
.div-
|
|
98
|
+
.div-2btisl9m7v3-2 {
|
|
99
99
|
width: var(--column-width-tablet) !important;
|
|
100
100
|
margin-left: var(--column-margin-left-tablet) !important;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
@media (max-width: 639px) {
|
|
104
|
-
.div-
|
|
104
|
+
.div-2btisl9m7v3-2 {
|
|
105
105
|
width: var(--column-width) !important;
|
|
106
106
|
margin-left: var(--column-margin-left) !important;
|
|
107
107
|
}
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
</template>
|
|
30
30
|
|
|
31
31
|
<template v-if="submissionState === 'error' && responseData">
|
|
32
|
-
<pre class="builder-form-error-text pre-
|
|
32
|
+
<pre class="builder-form-error-text pre-256wrwn33ry">
|
|
33
33
|
{{ JSON.stringify(responseData, null, 2) }}
|
|
34
34
|
</pre>
|
|
35
35
|
</template>
|
|
@@ -306,7 +306,7 @@ export default {
|
|
|
306
306
|
};
|
|
307
307
|
</script>
|
|
308
308
|
<style scoped>
|
|
309
|
-
.pre-
|
|
309
|
+
.pre-256wrwn33ry {
|
|
310
310
|
padding: 10px;
|
|
311
311
|
color: red;
|
|
312
312
|
text-align: center;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="div-
|
|
2
|
+
<div class="div-1fogms4bee0">
|
|
3
3
|
<picture>
|
|
4
4
|
<template v-if="webpSrcSet">
|
|
5
5
|
<source type="image/webp" :srcset="webpSrcSet" />
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
_classStringToObject(
|
|
18
18
|
'builder-image' +
|
|
19
19
|
(this.className ? ' ' + this.className : '') +
|
|
20
|
-
' img-
|
|
20
|
+
' img-1fogms4bee0'
|
|
21
21
|
)
|
|
22
22
|
"
|
|
23
23
|
:src="image"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
v-if="aspectRatio && !(fitContent && ((builderBlock && builderBlock.children) && (builderBlock && builderBlock.children).length))"
|
|
32
32
|
>
|
|
33
33
|
<div
|
|
34
|
-
class="builder-image-sizer div-
|
|
34
|
+
class="builder-image-sizer div-1fogms4bee0-2"
|
|
35
35
|
:style="{
|
|
36
36
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
37
37
|
paddingTop: aspectRatio * 100 + '%',
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
</template>
|
|
45
45
|
|
|
46
46
|
<template v-if="!fitContent">
|
|
47
|
-
<div class="div-
|
|
47
|
+
<div class="div-1fogms4bee0-3">
|
|
48
48
|
<slot></slot>
|
|
49
49
|
</div>
|
|
50
50
|
</template>
|
|
@@ -121,10 +121,10 @@ export default {
|
|
|
121
121
|
};
|
|
122
122
|
</script>
|
|
123
123
|
<style scoped>
|
|
124
|
-
.div-
|
|
124
|
+
.div-1fogms4bee0 {
|
|
125
125
|
position: relative;
|
|
126
126
|
}
|
|
127
|
-
.img-
|
|
127
|
+
.img-1fogms4bee0 {
|
|
128
128
|
opacity: 1;
|
|
129
129
|
transition: opacity 0.2s ease-in-out;
|
|
130
130
|
position: absolute;
|
|
@@ -133,12 +133,12 @@ export default {
|
|
|
133
133
|
top: 0px;
|
|
134
134
|
left: 0px;
|
|
135
135
|
}
|
|
136
|
-
.div-
|
|
136
|
+
.div-1fogms4bee0-2 {
|
|
137
137
|
width: 100%;
|
|
138
138
|
pointer-events: none;
|
|
139
139
|
font-size: 0;
|
|
140
140
|
}
|
|
141
|
-
.div-
|
|
141
|
+
.div-1fogms4bee0-3 {
|
|
142
142
|
display: flex;
|
|
143
143
|
flex-direction: column;
|
|
144
144
|
align-items: stretch;
|