polarvo-layout 1.0.72 → 1.0.74
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
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
:isHovable="isHovable"
|
|
47
47
|
class="hover:opacity-80"
|
|
48
48
|
:class="activeEditMode || isHovable ? `pointer-events-auto ` : `pointer-events-none`"
|
|
49
|
-
@set:defaultStyle="setDefaultStyle"
|
|
50
49
|
/>
|
|
51
50
|
</div>
|
|
52
51
|
</template>
|
|
@@ -101,10 +100,6 @@ function setRef(el) {
|
|
|
101
100
|
props.polarvo.components.unregister('elements', `${props.sectionKey}-${props.item.id}`);
|
|
102
101
|
}
|
|
103
102
|
}
|
|
104
|
-
|
|
105
|
-
function setDefaultStyle(defaultStyle) {
|
|
106
|
-
updateActiveElement(props.item.id, { customStyle: defaultStyle });
|
|
107
|
-
}
|
|
108
103
|
</script>
|
|
109
104
|
|
|
110
105
|
<style lang="scss" scoped>
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
:isHovable="isHovable"
|
|
45
45
|
class="hover:opacity-80"
|
|
46
46
|
:class="activeEditMode || isHovable ? `pointer-events-auto ` : `pointer-events-none`"
|
|
47
|
-
@set:defaultStyle="setDefaultStyle"
|
|
48
47
|
/>
|
|
49
48
|
<!-- 오버레이 -->
|
|
50
49
|
<div v-if="activeEditMode && item.id !== activeId" class="absolute inset-0 bg-black opacity-50 z-30"></div>
|
|
@@ -108,8 +107,4 @@ function setRef(el) {
|
|
|
108
107
|
props.polarvo.components.unregister('elements', `${props.sectionKey}-${props.item.id}`);
|
|
109
108
|
}
|
|
110
109
|
}
|
|
111
|
-
|
|
112
|
-
function setDefaultStyle(defaultStyle) {
|
|
113
|
-
updateActiveElement(props.item.id, { customStyle: defaultStyle });
|
|
114
|
-
}
|
|
115
110
|
</script>
|
|
@@ -201,6 +201,7 @@ class EngineManager {
|
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
+
|
|
204
205
|
/** elements 초기화
|
|
205
206
|
* @param {Array} elements - 새로운 elements 배열
|
|
206
207
|
*/
|
|
@@ -474,14 +475,14 @@ class EngineManager {
|
|
|
474
475
|
// };
|
|
475
476
|
// }
|
|
476
477
|
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
}
|
|
478
|
+
updates.config = {
|
|
479
|
+
gridColumns: this.activeData.config?.gridColumns || 2,
|
|
480
|
+
gridRows: this.activeData.config?.gridRows || 2,
|
|
481
|
+
gridGap: this.activeData.config?.gridGap || 4,
|
|
482
|
+
gridRowRatio: this.activeData.config?.gridRowRatio || [],
|
|
483
|
+
gridColumnRatio: this.activeData.config?.gridColumnRatio || [],
|
|
484
|
+
showGuideLine: this.activeData.config?.showGuideLine || false,
|
|
485
|
+
};
|
|
485
486
|
|
|
486
487
|
this._updateActiveSectionConfig('mode', updates);
|
|
487
488
|
}
|