File tree Expand file tree Collapse file tree 21 files changed +111
-109
lines changed Expand file tree Collapse file tree 21 files changed +111
-109
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ module.exports = {
14
14
'vue/no-mutating-props' : 'warn' ,
15
15
'vue/no-reserved-component-names' : 'warn' ,
16
16
'vue/no-v-model-argument' : 'off' ,
17
- 'vue/require-default-prop' : 'off'
17
+ 'vue/require-default-prop' : 'off' ,
18
+ 'vue/custom-event-name-casing' : [ 'error' , 'camelCase' ] ,
19
+ 'vue/attribute-hyphenation' : [ 'error' , 'never' ]
18
20
} ,
19
21
overrides : [
20
22
{
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<modal
3
- :modal-id =" dialogName"
3
+ :modalId =" dialogName"
4
4
class =" dialog"
5
- content-class =" import-modal"
5
+ contentClass =" import-modal"
6
6
scrollable
7
- :click-to-close =" false"
7
+ :clickToClose =" false"
8
8
>
9
9
<div class =" dialog-header" >
10
10
{{ typeName }} import
17
17
label =" Table name"
18
18
width =" 484px"
19
19
:disabled =" disableDialog"
20
- :error-msg =" tableNameError"
20
+ :errorMsg =" tableNameError"
21
21
/>
22
22
<div v-if =" !isJson && !isNdJson" class =" chars" >
23
23
<delimiter-selector
45
45
The character used to escape the quote character within a field
46
46
(e.g. "column with ""quotes"" in text").
47
47
'
48
- max-hint-width =" 242px"
48
+ maxHintWidth =" 242px"
49
49
width =" 93px"
50
50
:disabled =" disableDialog"
51
51
class =" char-input"
Original file line number Diff line number Diff line change 47
47
ref =" addCsvJson"
48
48
:file =" file"
49
49
:db =" newDb"
50
- dialog-name =" importFromCsvJson"
50
+ dialogName =" importFromCsvJson"
51
51
@cancel =" cancelImport"
52
52
@finish =" finish"
53
53
/>
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<modal
3
- :modal-id =" name"
3
+ :modalId =" name"
4
4
class =" dialog"
5
- :click-to-close =" false"
6
- :content-transition =" { name: 'loading-dialog' }"
7
- :overlay-transition =" { name: 'loading-dialog' }"
5
+ :clickToClose =" false"
6
+ :contentTransition =" { name: 'loading-dialog' }"
7
+ :overlayTransition =" { name: 'loading-dialog' }"
8
8
>
9
9
<div class =" dialog-header" >
10
10
{{ title }}
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<paginate
3
3
v-model =" page"
4
- :page-count =" pageCount"
5
- :page-range =" 5"
6
- :margin-pages =" 1"
7
- :prev-text =" chevron"
8
- :next-text =" chevron"
9
- :no-li-surround =" true"
10
- container-class =" paginator-continer"
11
- page-link-class =" paginator-page-link"
12
- active-class =" paginator-active-page"
13
- break-view-link-class =" paginator-break"
14
- next-link-class =" paginator-next"
15
- prev-link-class =" paginator-prev"
16
- disabled-class =" paginator-disabled"
4
+ :pageCount =" pageCount"
5
+ :pageRange =" 5"
6
+ :marginPages =" 1"
7
+ :prevText =" chevron"
8
+ :nextText =" chevron"
9
+ :noLiSurround =" true"
10
+ containerClass =" paginator-continer"
11
+ pageLinkClass =" paginator-page-link"
12
+ activeClass =" paginator-active-page"
13
+ breakViewLinkClass =" paginator-break"
14
+ nextLinkClass =" paginator-next"
15
+ prevLinkClass =" paginator-prev"
16
+ disabledClass =" paginator-disabled"
17
17
/>
18
18
</template >
19
19
Original file line number Diff line number Diff line change 62
62
<pager
63
63
v-show =" pageCount > 1"
64
64
v-model =" currentPage"
65
- :page-count =" pageCount"
65
+ :pageCount =" pageCount"
66
66
/>
67
67
</div >
68
68
</div >
Original file line number Diff line number Diff line change 9
9
v-if =" hint"
10
10
class =" hint"
11
11
:hint =" hint"
12
- :max-width =" maxHintWidth || '149px'"
12
+ :maxWidth =" maxHintWidth || '149px'"
13
13
/>
14
14
</div >
15
15
<input
Original file line number Diff line number Diff line change 5
5
src =" ~@/assets/images/info.svg"
6
6
@click =" $modal.show('app-info')"
7
7
/>
8
- <modal modal-id =" app-info" class =" dialog" content-class =" app-info-modal" >
8
+ <modal modalId =" app-info" class =" dialog" contentClass =" app-info-modal" >
9
9
<div class =" dialog-header" >
10
10
App info
11
11
<close-icon @click =" $modal.hide('app-info')" />
Original file line number Diff line number Diff line change 122
122
<copy-icon @click =" duplicateInquiry(index)" />
123
123
<export-icon
124
124
tooltip =" Export inquiry to file"
125
- tooltip-position =" top-left"
125
+ tooltipPosition =" top-left"
126
126
@click =" exportToFile([inquiry], `${inquiry.name}.json`)"
127
127
/>
128
128
<delete-icon
140
140
</div >
141
141
142
142
<!-- Rename Inquiry dialog -->
143
- <modal modal-id =" rename" class =" dialog" content-style =" width: 560px;" >
143
+ <modal modalId =" rename" class =" dialog" contentStyle =" width: 560px;" >
144
144
<div class =" dialog-header" >
145
145
Rename inquiry
146
146
<close-icon @click =" $modal.hide('rename')" />
149
149
<text-field
150
150
v-model =" newName"
151
151
label =" New inquiry name"
152
- :error-msg =" errorMsg"
152
+ :errorMsg =" errorMsg"
153
153
width =" 100%"
154
154
/>
155
155
</div >
160
160
</modal >
161
161
162
162
<!-- Delete Inquiry dialog -->
163
- <modal modal-id =" delete" class =" dialog" content-style =" width: 480px;" >
163
+ <modal modalId =" delete" class =" dialog" contentStyle =" width: 480px;" >
164
164
<div class =" dialog-header" >
165
165
Delete {{ deleteGroup ? 'inquiries' : 'inquiry' }}
166
166
<close-icon @click =" $modal.hide('delete')" />
Original file line number Diff line number Diff line change 25
25
</div >
26
26
27
27
<!-- Save Inquiry dialog -->
28
- <modal modal-id =" save" class =" dialog" content-style =" width: 560px;" >
28
+ <modal modalId =" save" class =" dialog" contentStyle =" width: 560px;" >
29
29
<div class =" dialog-header" >
30
30
Save inquiry
31
31
<close-icon @click =" cancelSave" />
39
39
<text-field
40
40
v-model =" name"
41
41
label =" Inquiry name"
42
- :error-msg =" errorMsg"
42
+ :errorMsg =" errorMsg"
43
43
width =" 100%"
44
44
/>
45
45
</div >
Original file line number Diff line number Diff line change 26
26
ref =" addCsvJson"
27
27
:file =" file"
28
28
:db =" $store.state.db"
29
- dialog-name =" addCsvJson"
29
+ dialogName =" addCsvJson"
30
30
/>
31
31
</div >
32
32
</template >
Original file line number Diff line number Diff line change 15
15
:layout =" state.layout"
16
16
:frames =" state.frames"
17
17
:config =" config"
18
- :data-sources =" dataSources"
19
- :data-source-options =" dataSourceOptions"
18
+ :dataSources =" dataSources"
19
+ :dataSourceOptions =" dataSourceOptions"
20
20
:plotly =" plotly"
21
- :use-resize-handler =" useResizeHandler"
21
+ :useResizeHandler =" useResizeHandler"
22
22
:debug =" true"
23
- :advanced-trace-type-selector =" true"
23
+ :advancedTraceTypeSelector =" true"
24
24
@update =" update"
25
25
@render =" onRender"
26
26
/>
Original file line number Diff line number Diff line change 9
9
:options =" colsToSelect"
10
10
:disabled =" colsToSelect.length === 0"
11
11
:multiple =" true"
12
- :hide-selected =" true"
13
- :close-on-select =" true"
14
- :show-labels =" false"
12
+ :hideSelected =" true"
13
+ :closeOnSelect =" true"
14
+ :showLabels =" false"
15
15
:max =" colsToSelect.length"
16
- open-direction =" bottom"
16
+ openDirection =" bottom"
17
17
placeholder =" "
18
18
>
19
19
<template #maxElements >
37
37
:options =" rowsToSelect"
38
38
:disabled =" rowsToSelect.length === 0"
39
39
:multiple =" true"
40
- :hide-selected =" true"
41
- :close-on-select =" true"
42
- :show-labels =" false"
40
+ :hideSelected =" true"
41
+ :closeOnSelect =" true"
42
+ :showLabels =" false"
43
43
:max =" rowsToSelect.length"
44
- :option-height =" 29"
45
- open-direction =" bottom"
44
+ :optionHeight =" 29"
45
+ openDirection =" bottom"
46
46
placeholder =" "
47
47
>
48
48
<template #maxElements >
65
65
class =" sqliteviz-select short aggregator"
66
66
:options =" aggregators"
67
67
label =" name"
68
- track-by =" name"
69
- :close-on-select =" true"
70
- :show-labels =" false"
71
- :hide-selected =" true"
72
- :option-height =" 29"
73
- open-direction =" bottom"
68
+ trackBy =" name"
69
+ :closeOnSelect =" true"
70
+ :showLabels =" false"
71
+ :hideSelected =" true"
72
+ :optionHeight =" 29"
73
+ openDirection =" bottom"
74
74
placeholder =" Choose a function"
75
75
>
76
76
<template #noResult >
84
84
class =" sqliteviz-select aggr-arg"
85
85
:options =" keyNames"
86
86
:disabled =" keyNames.length === 0"
87
- :close-on-select =" true"
88
- :show-labels =" false"
89
- :hide-selected =" true"
90
- :option-height =" 29"
91
- open-direction =" bottom"
87
+ :closeOnSelect =" true"
88
+ :showLabels =" false"
89
+ :hideSelected =" true"
90
+ :optionHeight =" 29"
91
+ openDirection =" bottom"
92
92
placeholder =" Choose an argument"
93
93
/>
94
94
98
98
class =" sqliteviz-select aggr-arg"
99
99
:options =" keyNames"
100
100
:disabled =" keyNames.length === 0"
101
- :close-on-select =" true"
102
- :show-labels =" false"
103
- :hide-selected =" true"
104
- :option-height =" 29"
105
- open-direction =" bottom"
101
+ :closeOnSelect =" true"
102
+ :showLabels =" false"
103
+ :hideSelected =" true"
104
+ :optionHeight =" 29"
105
+ openDirection =" bottom"
106
106
placeholder =" Choose a second argument"
107
107
/>
108
108
</div >
114
114
class =" sqliteviz-select short renderer"
115
115
:options =" renderers"
116
116
label =" name"
117
- track-by =" name"
118
- :close-on-select =" true"
119
- :allow-empty =" false"
120
- :show-labels =" false"
121
- :hide-selected =" true"
122
- :option-height =" 29"
123
- open-direction =" bottom"
117
+ trackBy =" name"
118
+ :closeOnSelect =" true"
119
+ :allowEmpty =" false"
120
+ :showLabels =" false"
121
+ :hideSelected =" true"
122
+ :optionHeight =" 29"
123
+ openDirection =" bottom"
124
124
placeholder =" Choose a view"
125
125
>
126
126
<template #noResult >
Original file line number Diff line number Diff line change 6
6
</div >
7
7
<pivot-ui
8
8
v-model =" pivotOptions"
9
- :key-names =" columns"
9
+ :keyNames =" columns"
10
10
@update =" $emit('update')"
11
11
/>
12
12
<div ref =" pivotOutput" class =" pivot-output" />
You can’t perform that action at this time.
0 commit comments