@mee4dy/crud
Version:
Create a backend and frontend in 5 minutes! With our powerful full stack crud system, customize it to suit you.
56 lines (55 loc) • 1.26 kB
JavaScript
import { BFormGroup as s, BFormCheckboxGroup as a } from "bootstrap-vue";
/* empty css */
import u from "../../../../_virtual/_plugin-vue2_normalizer.js";
const n = {
components: {
"b-form-group": s,
"b-form-checkbox-group": a
},
props: {
groups: {
type: Array,
default: () => []
},
selectedGroups: {
type: Array,
default: () => []
}
},
data() {
return {
selected: "date"
};
},
computed: {
options() {
return this.groups.map((e) => ({ text: e.label, value: e.key }));
},
value: {
get() {
return this.selectedGroups;
},
set(e) {
this.$emit("groups:change", e);
}
}
}
};
var p = function() {
var r = this, o = r._self._c;
return o("div", { staticClass: "crud-ui-panel-groups" }, [o("b-form-group", { attrs: { label: "Гуппировка" } }, [o("b-form-checkbox-group", { attrs: { options: r.options, size: "sm", buttons: "" }, model: { value: r.value, callback: function(t) {
r.value = t;
}, expression: "value" } })], 1)], 1);
}, c = [], l = /* @__PURE__ */ u(
n,
p,
c,
!1,
null,
"9acbcdc1"
);
const f = l.exports;
export {
f as default
};
//# sourceMappingURL=Groups.vue.js.map