polarvo-layout 1.0.12 → 1.0.13
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
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
<!-- editor - sub right -->
|
|
3
3
|
<div id="fast-menu" class="flex items-center gap-2">
|
|
4
4
|
<div
|
|
5
|
-
class="text-sm px-2 py-0.5 rounded-md cursor-pointer hover
|
|
6
|
-
:class="{ 'bg-blue-50 text-blue-
|
|
5
|
+
class="text-sm px-2 py-0.5 text-blue-500 rounded-md bg-white cursor-pointer hover:-translate-y-px border border-blue-200 transition"
|
|
6
|
+
:class="{ 'bg-blue-50 text-blue-600 font-semibold': activeDesign === 'option-default' }"
|
|
7
7
|
@click="clickDesignBar('option')"
|
|
8
8
|
>
|
|
9
9
|
옵션설정
|
|
10
10
|
</div>
|
|
11
11
|
<div
|
|
12
|
-
class="text-sm px-2 py-0.5 rounded-md cursor-pointer hover
|
|
13
|
-
:class="{ 'bg-blue-50 text-blue-
|
|
12
|
+
class="text-sm px-2 py-0.5 text-blue-500 rounded-md bg-white cursor-pointer hover:-translate-y-px border border-blue-200 transition"
|
|
13
|
+
:class="{ 'bg-blue-50 border-blue-400 text-blue-600 font-semibold': activeDesign === 'design' }"
|
|
14
14
|
@click="clickDesignBar('design')"
|
|
15
15
|
>
|
|
16
16
|
디자인설정
|
|
17
17
|
</div>
|
|
18
|
-
<div class="text-sm px-2 py-0.5 rounded-md cursor-pointer hover
|
|
18
|
+
<div class="text-sm px-2 py-0.5 text-gray-500 rounded-md cursor-pointer hover:-translate-y-px transition">더보기</div>
|
|
19
19
|
</div>
|
|
20
20
|
</template>
|
|
21
21
|
|
|
@@ -111,7 +111,7 @@ class GridDropEngine {
|
|
|
111
111
|
this._subscribe('system:requestUpdateActiveElement', ({ elements, elementId }) => {
|
|
112
112
|
this._elements = elements;
|
|
113
113
|
this._elementsUpdate = true;
|
|
114
|
-
this.setActiveElement(this._elements.find((x) => x.id === elementId) || null);
|
|
114
|
+
this.setActiveElement(this._elements.find((x) => x.id === elementId) || null, 'update');
|
|
115
115
|
|
|
116
116
|
this.eventBus.emit('gridDrop:requestUpdateActiveElement', {
|
|
117
117
|
elements: cloneDeep(this.gridElements),
|
package/src/index.js
CHANGED
|
@@ -18,7 +18,6 @@ import LayoutSideBar from './components/SideBar/LayoutSideBar.vue';
|
|
|
18
18
|
import LayoutMiniMenu from './components/MiniMenu/LayoutMiniMenu.vue';
|
|
19
19
|
import CanvasContainer from './components/Layout/CanvasContainer.vue';
|
|
20
20
|
|
|
21
|
-
|
|
22
21
|
export {
|
|
23
22
|
createPolarvoLayout,
|
|
24
23
|
IconBar,
|