@mixd-id/web-scaffold 0.1.230406095 → 0.1.230406096

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.230406095",
4
+ "version": "0.1.230406096",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -695,8 +695,8 @@ export default{
695
695
  }, 300),
696
696
 
697
697
  saveLayout: throttle(function(reload = true){
698
- //this.layout.headers = (this.layout.headers ?? []).map((_) => createComponentInstance(_))
699
- //this.layout.footers = (this.layout.footers ?? []).map((_) => createComponentInstance(_))
698
+ this.layout.headers = (this.layout.headers ?? []).map((_) => this.createComponentInstance(_))
699
+ this.layout.footers = (this.layout.footers ?? []).map((_) => this.createComponentInstance(_))
700
700
 
701
701
  this.socketEmit2('layout.save', this.layout)
702
702
  .then(() => {
@@ -947,7 +947,7 @@ export default{
947
947
  }},
948
948
 
949
949
  { type:'Flex', name:'Flex', group:'Layouts', items:[], props:{
950
- flexColumns: [], direction: [ 'flex-col' ], gap: [],
950
+ flexColumns: [], direction: [ 'flex-row' ], gap: [],
951
951
  }},
952
952
 
953
953
  { type:'Grid', name:'Grid', group:'Layouts', items:[], gap:[], props:{
@@ -990,6 +990,7 @@ export default{
990
990
  'aspectRatio',
991
991
  'bdSize', 'bdColor', 'bdRadius', 'bdStyle',
992
992
  'bgColors', 'bgSize', 'bgPosition', 'bgRepeat',
993
+ 'gap',
993
994
  'padding', 'margin',
994
995
  'direction', 'columns', 'display',
995
996
  'width', 'minWidth', 'maxWidth',