// Utils
import mixins from "../../../es5/utils/mixins";
import WCell from "../WCell";
import WSwitch from "../WSwitch"; // Mixins

import Toggleable from "../../../es5/mixins/toggleable";
export default mixins(Toggleable).extend({
  name: 'w-switch-cell',
  components: {
    WCell: WCell,
    WSwitch: WSwitch
  },
  props: {
    title: String,
    disabled: Boolean
  },
  render: function render() {
    var _this = this;

    var h = arguments[0];
    return h(WCell, {
      "attrs": {
        "title": this.title
      }
    }, [h(WSwitch, {
      "slot": "ft",
      "attrs": {
        "disabled": this.disabled
      },
      "model": {
        value: _this.isActive,
        callback: function callback($$v) {
          _this.isActive = $$v;
        }
      }
    })]);
  }
});
//# sourceMappingURL=WSwitchCell.js.map