|
108 | 108 | name="outputSlot"
|
109 | 109 | :outputSlot="{ pivotData }"
|
110 | 110 | >
|
111 |
| - <VPivottable v-bind="state" /> |
| 111 | + <VPivottable v-bind="pivotProps" /> |
112 | 112 | </slot>
|
113 | 113 | </td>
|
114 | 114 | </tr>
|
@@ -226,7 +226,29 @@ const unusedAttrs = computed(() => {
|
226 | 226 | })
|
227 | 227 |
|
228 | 228 | const pivotData = computed(() => new PivotData(state))
|
229 |
| -
|
| 229 | +const pivotProps = computed(() => ({ |
| 230 | + data: state.data, |
| 231 | + aggregators: state.aggregators, |
| 232 | + aggregatorName: state.aggregatorName, |
| 233 | + heatmapMode: state.heatmapMode, |
| 234 | + tableOptions: state.tableOptions, |
| 235 | + renderers: state.renderers, |
| 236 | + rendererName: state.rendererName, |
| 237 | + locale: state.locale, |
| 238 | + languagePack: state.languagePack, |
| 239 | + showRowTotal: state.showRowTotal, |
| 240 | + showColTotal: state.showColTotal, |
| 241 | + cols: state.cols, |
| 242 | + rows: state.rows, |
| 243 | + vals: state.vals, |
| 244 | + attributes: state.attributes, |
| 245 | + valueFilter: state.valueFilter, |
| 246 | + sorters: state.sorters, |
| 247 | + derivedAttributes: state.derivedAttributes, |
| 248 | + rowOrder: state.rowOrder, |
| 249 | + colOrder: state.colOrder, |
| 250 | + tableMaxWidth: state.tableMaxWidth |
| 251 | +})) |
230 | 252 | onUpdateUnusedOrder(props.unusedAttrs)
|
231 | 253 |
|
232 | 254 | provideFilterBox(props)
|
|
0 commit comments