@mixd-id/web-scaffold 0.1.240411016 → 0.1.240411018

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.240411016",
4
+ "version": "0.1.240411018",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -164,11 +164,8 @@ export default{
164
164
  let reader
165
165
 
166
166
  if(typeof src === 'string') {
167
- if(src.startsWith('data:image/') || src.indexOf('<svg') >= 0);
168
- else{
169
- if(src.indexOf('://') < 0 && src.substring(0, 1) !== '/'){
170
- src = ((import.meta.env.VITE_IMAGE_HOST ?? '') + '/' + src)
171
- }
167
+ if(src.indexOf('://') < 0 && src.substring(0, 1) !== '/'){
168
+ src = ((import.meta.env.VITE_IMAGE_HOST ?? '') + '/' + src)
172
169
  }
173
170
 
174
171
  this.actualSrc = src
@@ -240,7 +237,7 @@ export default{
240
237
  <style module>
241
238
 
242
239
  .comp{
243
- @apply relative flex items-center justify-center overflow-hidden aspect-square;
240
+ @apply relative flex items-center justify-center overflow-hidden;
244
241
  }
245
242
 
246
243
  .img{
@@ -712,6 +712,14 @@ export default{
712
712
  instance.items = component.items.map((_) => this.createComponentInstance(_)).filter(_=>_)
713
713
  }
714
714
 
715
+ if(Array.isArray(component.items2)){
716
+ instance.items2 = component.items2.map((_) => this.createComponentInstance(_)).filter(_=>_)
717
+ }
718
+
719
+ if(Array.isArray(component.items3)){
720
+ instance.items3 = component.items3.map((_) => this.createComponentInstance(_)).filter(_=>_)
721
+ }
722
+
715
723
  if(component.props && Array.isArray(component.props.items)){
716
724
  instance.items = component.props.items
717
725
  }