Skip to content

Commit

Permalink
components: update Calculator/* naming conventions to kebab-case
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurg committed Apr 1, 2024
1 parent 4ebbc37 commit 89d7ca9
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="vh-result-list d-flex flex-column">
<CalculatorResultFormRow
<calculator-result-form-row
v-for="_item in items"
:key="_item.key"
:value="_item.value"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
<v-col
v-for="_currencyCode in currencyCodes"
:key="_currencyCode">
<LazyCalculatorShareDialogScreenshotExchangeRateItem :currency-code="_currencyCode" />
<lazy-calculator-share-dialog-screenshot-exchange-rate-item :currency-code="_currencyCode" />
</v-col>
</v-row>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@
<template v-if="currentTab === 0">
<div class="d-flex flex-column h-100">
<div class="mt-auto py-10 px-6 py-lg-12 px-lg-8">
<LazyCalculatorShareDialogUrl :form="form" />
<lazy-calculator-share-dialog-url :form="form" />
</div>
</div>
</template>
<template v-else-if="currentTab === 1">
<div class="d-flex flex-column h-100">
<div class="mt-auto py-10 py-lg-6 px-2">
<CalculatorShareDialogScreenshot
<calculator-share-dialog-screenshot
:input="screenshotInput"
:output="screenshotOutput"
:calculator-title="calculatorTitle"
Expand Down
6 changes: 3 additions & 3 deletions pages/kdv-hesaplayici/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{ page.title }}
</heading-1>

<CalculatorInnerContainer>
<calculator-inner-container>
<form-row
class="mb-10"
label="Hesaplama modu">
Expand Down Expand Up @@ -73,14 +73,14 @@
<calculator-quick-share
:query-string="form"
@click:other="showShareDialog()" />
<CalculatorShareDialog
<calculator-share-dialog
v-model="ui.isShareDialogShown"
:screenshot-output="resultList"
:form="form"
:calculator-title="page.title" />
</form-row>
</template>
</CalculatorInnerContainer>
</calculator-inner-container>
</div>
</template>

Expand Down
8 changes: 4 additions & 4 deletions pages/konsol-vergisi-hesaplayici/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{ page.title }}
</heading-1>

<CalculatorInnerContainer>
<calculator-inner-container>
<template v-if="preset.slug === 'valve-steam-deck'">
<vh-alert
type="info"
Expand Down Expand Up @@ -40,7 +40,7 @@
<div
v-if="form.option.retailPrice"
class="mb-10">
<CalculatorResultFormRow
<calculator-result-form-row
:value="moneyFormat(form.option.retailPrice.value, 'TRY')"
class="mb-2"
label="Piyasa fiyatı" />
Expand All @@ -58,7 +58,7 @@
<calculator-quick-share
:query-string="form"
@click:other="showShareDialog()" />
<CalculatorShareDialog
<calculator-share-dialog
v-model="ui.isShareDialogShown"
:screenshot-input="screenshotInput"
:screenshot-output="resultList"
Expand All @@ -68,7 +68,7 @@
:preset-option-title="form.option.title" />
</form-row>
</template>
</CalculatorInnerContainer>
</calculator-inner-container>

<v-divider class="my-16" />

Expand Down
6 changes: 3 additions & 3 deletions pages/konsol-vergisi-hesaplayici/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<heading-2>
Kendiniz hesaplayın
</heading-2>
<CalculatorInnerContainer>
<calculator-inner-container>
<form-row
class="mb-10"
label="Konsol fiyatı">
Expand Down Expand Up @@ -84,15 +84,15 @@
<calculator-quick-share
:query-string="form"
@click:other="showShareDialog()" />
<CalculatorShareDialog
<calculator-share-dialog
v-model="ui.isShareDialogShown"
:screenshot-input="screenshotInput"
:screenshot-output="resultList"
:form="form"
:calculator-title="page.title" />
</form-row>
</template>
</CalculatorInnerContainer>
</calculator-inner-container>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions pages/telefon-vergisi-hesaplayici/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{ page.title }}
</heading-1>

<CalculatorInnerContainer>
<calculator-inner-container>
<template v-if="preset.slug === 'apple-vision-pro'">
<vh-alert
type="info"
Expand Down Expand Up @@ -48,7 +48,7 @@
<div
v-if="form.option.retailPrice"
class="mb-10">
<CalculatorResultFormRow
<calculator-result-form-row
:value="moneyFormat(form.option.retailPrice.value, 'TRY')"
class="mb-2"
label="Piyasa fiyatı" />
Expand All @@ -66,7 +66,7 @@
<calculator-quick-share
:query-string="form"
@click:other="showShareDialog()" />
<CalculatorShareDialog
<calculator-share-dialog
v-model="ui.isShareDialogShown"
:screenshot-input="screenshotInput"
:screenshot-output="resultList"
Expand All @@ -76,7 +76,7 @@
:preset-option-title="form.option.title" />
</form-row>
</template>
</CalculatorInnerContainer>
</calculator-inner-container>

<v-divider class="my-16" />

Expand Down
6 changes: 3 additions & 3 deletions pages/telefon-vergisi-hesaplayici/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<heading-2>
Kendiniz hesaplayın
</heading-2>
<CalculatorInnerContainer>
<calculator-inner-container>
<form-row
class="mb-10"
label="Telefon fiyatı">
Expand Down Expand Up @@ -92,15 +92,15 @@
<calculator-quick-share
:query-string="form"
@click:other="showShareDialog()" />
<CalculatorShareDialog
<calculator-share-dialog
v-model="ui.isShareDialogShown"
:screenshot-input="screenshotInput"
:screenshot-output="resultList"
:form="form"
:calculator-title="page.title" />
</form-row>
</template>
</CalculatorInnerContainer>
</calculator-inner-container>
</div>
</div>
</div>
Expand Down

0 comments on commit 89d7ca9

Please sign in to comment.