File tree 7 files changed +9
-8
lines changed
7 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" content" >
3
- <draggable class =" content__content" v-model =" blocks" :options =" dragOptions" >
3
+ <draggable class =" content__content" v-model =" blocks" v-bind =" dragOptions" >
4
4
<transition-group name =" draggable_list" tag =' div' >
5
5
<div class =" content__item" v-for =" (block, index) in blocks" :key =" block.id" >
6
6
<a17-blockeditor-item
Original file line number Diff line number Diff line change 4
4
<a17-button :disabled =" disabled" type =" button" variant =" ghost" @click =" openMediaLibrary(remainingSlides)" >{{ addLabel }}</a17-button >
5
5
<span class =" slideshow__note f--small" ><slot ></slot ></span >
6
6
</div >
7
- <draggable class =" slideshow__content" v-model =" slides" :options =" dragOptions" v-if =" slides.length" >
7
+ <draggable class =" slideshow__content" v-model =" slides" v-bind =" dragOptions" v-if =" slides.length" >
8
8
<transition-group name =" draggable_list" tag =' div' >
9
9
<div class =" slide" v-for =" (slide, index) in slides" :key =" `${slide.id}_${index}`" >
10
10
<div class =" slide__handle" v-if =" !disabled" >
Original file line number Diff line number Diff line change 5
5
:value =" savedBlocks"
6
6
group =" blocks"
7
7
:move =" handleOnMove"
8
- @end =" e => handleOnEnd(moveBlock, moveBlockToEditor)"
9
- :options =" dragOptions" >
8
+ @end =" handleOnEnd(moveBlock, moveBlockToEditor)"
9
+ v-bind =" dragOptions" >
10
10
<transition-group name =" draggable_list"
11
11
tag =' div' >
12
12
<div class =" blocks__item"
Original file line number Diff line number Diff line change 45
45
class =" buckets__number" >{{ (index + 1) }}</span > {{ bucket.name }}</span > <span
46
46
class =" buckets__size-infos" >{{ bucket.children.length }} / {{ bucket.max }}</span >
47
47
</h3 >
48
- <draggable v-if =" bucket.children.length > 0" class =" buckets__list buckets__draggable" :options =" dragOptions"
48
+ <draggable v-if =" bucket.children.length > 0" class =" buckets__list buckets__draggable" v-bind =" dragOptions"
49
49
@change =" sortBucket($event, index)" :value =" bucket.children" :tag =" 'table'" >
50
50
<transition-group name =" fade_scale_list" tag =' tbody' >
51
51
<a17-bucket-item v-for =" (child, index) in bucket.children" :key =" `${child.id}_${index}`" :item =" child"
Original file line number Diff line number Diff line change 11
11
<draggable class =" editorPreview__content"
12
12
ref =" previewContent"
13
13
:value =" blocks"
14
- :options =" { group: 'editorBlocks', handle: handle }"
14
+ group =" editorBlocks"
15
+ :handle =" handle"
15
16
@add =" onAdd(add, edit, $event)"
16
17
@update =" onUpdate" >
17
18
<template v-for =" savedBlock in blocks " >
Original file line number Diff line number Diff line change 37
37
<a17-tablehead :columns =" visibleColumns" ref =" thead" />
38
38
</thead >
39
39
<template v-if =" draggable " >
40
- <draggable class =" datatable__drag" :tag =" 'tbody'" v-model =" rows" :options =" dragOptions" >
40
+ <draggable class =" datatable__drag" :tag =" 'tbody'" v-model =" rows" v-bind =" dragOptions" >
41
41
<template v-for =" (row , index ) in rows " >
42
42
<a17-tablerow :row =" row" :index =" index" :columns =" visibleColumns" :key =" row.id" />
43
43
</template >
Original file line number Diff line number Diff line change 2
2
<draggable class =" nested__dropArea"
3
3
:class =" nestedDropAreaClasses"
4
4
v-model =" rows"
5
- :options =" draggableOptions"
5
+ v-bind =" draggableOptions"
6
6
:tag =" 'ul'"
7
7
:component-data =" draggableGetComponentData" >
8
8
<li class =" nested-datatable__item"
You can’t perform that action at this time.
0 commit comments