2023-03-14 19:50:43 +00:00
|
|
|
<template>
|
|
|
|
<label
|
|
|
|
v-if="matchesExpertLevel"
|
|
|
|
class="StringSetting"
|
|
|
|
>
|
|
|
|
<label :for="path">
|
2023-03-19 19:27:07 +00:00
|
|
|
<template v-if="backendDescription">
|
|
|
|
{{ backendDescriptionLabel + ' ' }}
|
|
|
|
</template>
|
|
|
|
<template v-else>
|
|
|
|
<slot />
|
|
|
|
</template>
|
2023-03-14 19:50:43 +00:00
|
|
|
</label>
|
|
|
|
<input
|
|
|
|
:id="path"
|
|
|
|
class="string-input"
|
|
|
|
step="1"
|
|
|
|
:disabled="disabled"
|
2023-03-16 21:18:55 +00:00
|
|
|
:value="draftMode ? draft :state"
|
2023-03-14 19:50:43 +00:00
|
|
|
@change="update"
|
|
|
|
>
|
|
|
|
{{ ' ' }}
|
|
|
|
<ModifiedIndicator
|
|
|
|
:changed="isChanged"
|
|
|
|
:onclick="reset"
|
|
|
|
/>
|
2023-03-16 21:18:55 +00:00
|
|
|
<ProfileSettingIndicator :is-profile="isProfileSetting" />
|
|
|
|
<DraftButtons />
|
2023-03-19 19:27:07 +00:00
|
|
|
<p
|
|
|
|
v-if="backendDescriptionDescription"
|
|
|
|
class="setting-description"
|
|
|
|
>
|
|
|
|
{{ backendDescriptionDescription + ' ' }}
|
|
|
|
</p>
|
2023-03-14 19:50:43 +00:00
|
|
|
</label>
|
|
|
|
</template>
|
|
|
|
|
2023-03-16 21:18:55 +00:00
|
|
|
<script src="./string_setting.js"></script>
|