2021-03-11 23:55:14 +09:00
|
|
|
<template>
|
|
|
|
<label
|
2022-02-23 06:31:40 +09:00
|
|
|
v-if="matchesExpertLevel"
|
2022-03-01 01:23:32 +09:00
|
|
|
class="ChoiceSetting"
|
2021-03-11 23:55:14 +09:00
|
|
|
>
|
|
|
|
<slot />
|
2022-03-23 23:15:05 +09:00
|
|
|
{{ ' ' }}
|
2021-03-11 23:55:14 +09:00
|
|
|
<Select
|
2022-03-29 21:35:18 +09:00
|
|
|
:model-value="state"
|
2021-03-11 23:55:14 +09:00
|
|
|
:disabled="disabled"
|
2022-03-23 03:17:25 +09:00
|
|
|
@update:modelValue="update"
|
2021-03-11 23:55:14 +09:00
|
|
|
>
|
|
|
|
<option
|
|
|
|
v-for="option in options"
|
|
|
|
:key="option.key"
|
|
|
|
:value="option.value"
|
|
|
|
>
|
|
|
|
{{ option.label }}
|
2021-03-12 00:04:31 +09:00
|
|
|
{{ option.value === defaultState ? $t('settings.instance_default_simple') : '' }}
|
2021-03-11 23:55:14 +09:00
|
|
|
</option>
|
|
|
|
</Select>
|
2022-06-05 23:10:44 +09:00
|
|
|
<ModifiedIndicator
|
|
|
|
:changed="isChanged"
|
|
|
|
:onclick="reset"
|
|
|
|
/>
|
2022-03-01 01:23:32 +09:00
|
|
|
<ServerSideIndicator :server-side="isServerSide" />
|
2021-03-11 23:55:14 +09:00
|
|
|
</label>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./choice_setting.js"></script>
|