mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
continue advanced form
This commit is contained in:
parent
9499259c74
commit
71c81ae1d9
8 changed files with 22170 additions and 46 deletions
File diff suppressed because one or more lines are too long
|
|
@ -244,7 +244,7 @@ const emits = defineEmits(["inp"]);
|
|||
:aria-description="$t('inp_select_dropdown_button_desc')"
|
||||
data-select-dropdown
|
||||
:disabled="props.disabled || false"
|
||||
@click="toggleSelect()"
|
||||
@click.prevent="toggleSelect()"
|
||||
:class="[
|
||||
'select-btn',
|
||||
select.isValid ? 'valid' : 'invalid',
|
||||
|
|
@ -282,7 +282,7 @@ const emits = defineEmits(["inp"]);
|
|||
:tabindex="contentIndex"
|
||||
v-for="(value, id) in props.values"
|
||||
role="radio"
|
||||
@click="$emit('inp', changeValue(value))"
|
||||
@click.prevent="$emit('inp', changeValue(value))"
|
||||
:class="[
|
||||
id === 0 ? 'first' : '',
|
||||
id === props.values.length - 1 ? 'last' : '',
|
||||
|
|
|
|||
|
|
@ -45,16 +45,16 @@ import Subtitle from "@components/Widget/Subtitle.vue";
|
|||
],
|
||||
},
|
||||
];
|
||||
@param {array} settings - List of settings that must fit Field components format.
|
||||
@param {object} forms - List of advanced forms that contains settings.
|
||||
@param {boolean} [isActive=true] - Check if the form is active, it will display the form if true
|
||||
*/
|
||||
|
||||
const props = defineProps({
|
||||
// id && value && method
|
||||
plugins: {
|
||||
type: Array,
|
||||
forms: {
|
||||
type: Object,
|
||||
required: true,
|
||||
default: [],
|
||||
default: {},
|
||||
},
|
||||
isActive: {
|
||||
type: Boolean,
|
||||
|
|
|
|||
|
|
@ -83,6 +83,8 @@
|
|||
"inp_input_valid": "input valid",
|
||||
"inp_input_error_required": "input is required",
|
||||
"inp_input_error": "input is invalid",
|
||||
"inp_popover_multisite": "This setting is multisite.",
|
||||
"inp_popover_global": "This setting is global.",
|
||||
"action_send": "send {name}",
|
||||
"action_start": "start {name}",
|
||||
"action_disable": "disable {name}",
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -7,5 +7,5 @@ const pinia = createPinia();
|
|||
|
||||
createApp(Instances)
|
||||
.use(pinia)
|
||||
.use(getI18n(["dashboard", "action", "instances"]))
|
||||
.use(getI18n(["dashboard", "action", "inp", "instances"]))
|
||||
.mount("#app");
|
||||
|
|
|
|||
11020
vuejs/plugins.json
Normal file
11020
vuejs/plugins.json
Normal file
File diff suppressed because it is too large
Load diff
79
vuejs/test.py
Normal file
79
vuejs/test.py
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue