2020-09-30 22:43:07 +00:00
|
|
|
<template>
|
|
|
|
<label
|
|
|
|
class="BooleanSetting"
|
2022-02-22 21:31:40 +00:00
|
|
|
v-if="matchesExpertLevel"
|
2020-09-30 22:43:07 +00:00
|
|
|
>
|
|
|
|
<Checkbox
|
|
|
|
:checked="state"
|
|
|
|
:disabled="disabled"
|
2021-02-25 12:32:21 +00:00
|
|
|
@change="update"
|
2020-10-17 19:28:49 +00:00
|
|
|
>
|
2020-09-30 22:43:07 +00:00
|
|
|
<span
|
|
|
|
v-if="!!$slots.default"
|
|
|
|
class="label"
|
2021-02-25 12:32:21 +00:00
|
|
|
>
|
2020-09-30 22:43:07 +00:00
|
|
|
<slot />
|
|
|
|
</span>
|
2022-02-28 15:43:08 +00:00
|
|
|
<ModifiedIndicator :changed="isChanged" /><ServerSideIndicator :serverSide="isServerSide" /> </Checkbox>
|
2020-09-30 22:43:07 +00:00
|
|
|
</label>
|
|
|
|
</template>
|
|
|
|
|
2021-03-11 15:04:31 +00:00
|
|
|
<script src="./boolean_setting.js"></script>
|