14
14
:attributeNames =" unusedAttrs"
15
15
:allFilters =" allFilters"
16
16
:valueFilter =" state.valueFilter"
17
+ :restrictedFromDragDrop =" state.restrictedFromDragDrop"
17
18
:fixedFromDragDrop =" state.fixedFromDragDrop"
18
19
:hideFilterBoxOfUnusedAttributes ="
19
20
state.hideFilterBoxOfUnusedAttributes
20
21
"
22
+ :zIndices =" state.zIndices"
23
+ :openStatus =" state.openStatus"
21
24
@update:zIndexOfFilterBox =" onMoveFilterBoxToTop"
22
25
@update:unselectedFilterValues =" onUpdateValueFilter"
23
26
@update:openStatusOfFilterBox =" onUpdateOpenStatus"
51
54
:attributeNames =" colAttrs"
52
55
:allFilters =" allFilters"
53
56
:valueFilter =" state.valueFilter"
57
+ :restrictedFromDragDrop =" state.restrictedFromDragDrop"
54
58
:fixedFromDragDrop =" state.fixedFromDragDrop"
55
59
:hideFilterBoxOfUnusedAttributes ="
56
60
state.hideFilterBoxOfUnusedAttributes
57
61
"
62
+ :zIndices =" state.zIndices"
63
+ :openStatus =" state.openStatus"
58
64
@update:zIndexOfFilterBox =" onMoveFilterBoxToTop"
59
65
@update:unselectedFilterValues =" onUpdateValueFilter"
60
66
@update:openStatusOfFilterBox =" onUpdateOpenStatus"
72
78
:attributeNames =" rowAttrs"
73
79
:allFilters =" allFilters"
74
80
:valueFilter =" state.valueFilter"
81
+ :restrictedFromDragDrop =" state.restrictedFromDragDrop"
75
82
:fixedFromDragDrop =" state.fixedFromDragDrop"
76
83
:hideFilterBoxOfUnusedAttributes ="
77
84
state.hideFilterBoxOfUnusedAttributes
78
85
"
86
+ :zIndices =" state.zIndices"
87
+ :openStatus =" state.openStatus"
79
88
@update:zIndexOfFilterBox =" onMoveFilterBoxToTop"
80
89
@update:unselectedFilterValues =" onUpdateValueFilter"
81
90
@update:openStatusOfFilterBox =" onUpdateOpenStatus"
@@ -216,10 +225,10 @@ const onMoveFilterBoxToTop = ({ attribute }) => {
216
225
[attribute]: state .value .maxZIndex
217
226
})
218
227
}
219
- const onUpdateValueFilter = ({ attribute, valueFilter }) => {
228
+ const onUpdateValueFilter = ({ key, value }) => {
220
229
updateState (' valueFilter' , {
221
230
... state .value .valueFilter ,
222
- [attribute ]: valueFilter
231
+ [key ]: value
223
232
})
224
233
}
225
234
const onUpdateRendererName = rendererName => {
@@ -240,10 +249,10 @@ const onUpdateVals = vals => {
240
249
const onDraggedAttribute = ({ key, value }) => {
241
250
updateState (key, value)
242
251
}
243
- const onUpdateOpenStatus = ({ attribute, status }) => {
252
+ const onUpdateOpenStatus = ({ key, value }) => {
244
253
updateState (' openStatus' , {
245
254
... state .value .openStatus ,
246
- [attribute ]: status
255
+ [key ]: value
247
256
})
248
257
}
249
258
const pivotData = computed (() => new PivotData (state .value ))
0 commit comments