UNPKG

@europeana/portal

Version:
2 lines 1.38 kB
(window.webpackJsonp=window.webpackJsonp||[]).push([[116],{1016:function(t,e){},1178:function(t,e,o){"use strict";o.r(e);o(10),o(43),o(46);var n={name:"CreateSetButton",components:{SetFormModal:function(){return o.e(9).then(o.bind(null,1168))}},props:{visibility:{type:String,default:"public"}},data:function(){return{setFormModalId:"set-form-modal-".concat(this.visibility),showFormModal:!1}},methods:{clickCreateSet:function(){this.showFormModal||(this.showFormModal=!0,this.$bvModal.show(this.setFormModalId))},setCreated:function(){this.showFormModal=!1}}},r=o(59),c=o(1016),d=o.n(c),component=Object(r.a)(n,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("b-card",{staticClass:"text-center content-card create-card",attrs:{"no-body":"","data-qa":"create new gallery card"},on:{click:t.clickCreateSet}},[o("div",{staticClass:"card-inner d-flex justify-content-center align-items-center"},[o("span",{staticClass:"icon-ic-add"}),t._v(" "),o("b-card-body",{attrs:{"data-qa":"card body"}},[o("b-card-title",{attrs:{"title-tag":"div"}},[t._v("\n "+t._s(t.$t("set.actions.createNew"))+"\n ")])],1)],1),t._v(" "),o("SetFormModal",{attrs:{"modal-id":t.setFormModalId,visibility:t.visibility},on:{response:t.setCreated}})],1)}),[],!1,null,null,null);"function"==typeof d.a&&d()(component);e.default=component.exports}}]); //# sourceMappingURL=b1ec046.js.map