2023-03-14 19:50:43 +00:00
|
|
|
<template>
|
|
|
|
<label
|
|
|
|
v-if="matchesExpertLevel"
|
|
|
|
class="StringSetting"
|
|
|
|
>
|
|
|
|
<label :for="path">
|
|
|
|
<slot />
|
|
|
|
</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-14 19:50:43 +00:00
|
|
|
</label>
|
|
|
|
</template>
|
|
|
|
|
2023-03-16 21:18:55 +00:00
|
|
|
<script src="./string_setting.js"></script>
|