mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 18:18:53 +08:00
use only camel case for props
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<modal
|
||||
:modal-id="dialogName"
|
||||
:modalId="dialogName"
|
||||
class="dialog"
|
||||
content-class="import-modal"
|
||||
contentClass="import-modal"
|
||||
scrollable
|
||||
:click-to-close="false"
|
||||
:clickToClose="false"
|
||||
>
|
||||
<div class="dialog-header">
|
||||
{{ typeName }} import
|
||||
@@ -17,7 +17,7 @@
|
||||
label="Table name"
|
||||
width="484px"
|
||||
:disabled="disableDialog"
|
||||
:error-msg="tableNameError"
|
||||
:errorMsg="tableNameError"
|
||||
/>
|
||||
<div v-if="!isJson && !isNdJson" class="chars">
|
||||
<delimiter-selector
|
||||
@@ -45,7 +45,7 @@
|
||||
The character used to escape the quote character within a field
|
||||
(e.g. "column with ""quotes"" in text").
|
||||
'
|
||||
max-hint-width="242px"
|
||||
maxHintWidth="242px"
|
||||
width="93px"
|
||||
:disabled="disableDialog"
|
||||
class="char-input"
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
ref="addCsvJson"
|
||||
:file="file"
|
||||
:db="newDb"
|
||||
dialog-name="importFromCsvJson"
|
||||
dialogName="importFromCsvJson"
|
||||
@cancel="cancelImport"
|
||||
@finish="finish"
|
||||
/>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<modal
|
||||
:modal-id="name"
|
||||
:modalId="name"
|
||||
class="dialog"
|
||||
:click-to-close="false"
|
||||
:content-transition="{ name: 'loading-dialog' }"
|
||||
:overlay-transition="{ name: 'loading-dialog' }"
|
||||
:clickToClose="false"
|
||||
:contentTransition="{ name: 'loading-dialog' }"
|
||||
:overlayTransition="{ name: 'loading-dialog' }"
|
||||
>
|
||||
<div class="dialog-header">
|
||||
{{ title }}
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
<template>
|
||||
<paginate
|
||||
v-model="page"
|
||||
:page-count="pageCount"
|
||||
:page-range="5"
|
||||
:margin-pages="1"
|
||||
:prev-text="chevron"
|
||||
:next-text="chevron"
|
||||
:no-li-surround="true"
|
||||
container-class="paginator-continer"
|
||||
page-link-class="paginator-page-link"
|
||||
active-class="paginator-active-page"
|
||||
break-view-link-class="paginator-break"
|
||||
next-link-class="paginator-next"
|
||||
prev-link-class="paginator-prev"
|
||||
disabled-class="paginator-disabled"
|
||||
:pageCount="pageCount"
|
||||
:pageRange="5"
|
||||
:marginPages="1"
|
||||
:prevText="chevron"
|
||||
:nextText="chevron"
|
||||
:noLiSurround="true"
|
||||
containerClass="paginator-continer"
|
||||
pageLinkClass="paginator-page-link"
|
||||
activeClass="paginator-active-page"
|
||||
breakViewLinkClass="paginator-break"
|
||||
nextLinkClass="paginator-next"
|
||||
prevLinkClass="paginator-prev"
|
||||
disabledClass="paginator-disabled"
|
||||
/>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<pager
|
||||
v-show="pageCount > 1"
|
||||
v-model="currentPage"
|
||||
:page-count="pageCount"
|
||||
:pageCount="pageCount"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
v-if="hint"
|
||||
class="hint"
|
||||
:hint="hint"
|
||||
:max-width="maxHintWidth || '149px'"
|
||||
:maxWidth="maxHintWidth || '149px'"
|
||||
/>
|
||||
</div>
|
||||
<input
|
||||
|
||||
Reference in New Issue
Block a user