@europeana/portal
Version:
Europeana Portal
2 lines • 1.35 kB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[117],{1107:function(t,e,o){"use strict";o.r(e);o(21),o(42),o(22);var n={name:"CreateSetButton",components:{SetFormModal:()=>o.e(8).then(o.bind(null,1097))},props:{visibility:{type:String,default:"public"}},data(){return{setFormModalId:"set-form-modal-".concat(this.visibility),showFormModal:!1}},methods:{clickCreateSet(){this.showFormModal||(this.showFormModal=!0,this.$bvModal.show(this.setFormModalId))},setCreated(){this.showFormModal=!1}}},r=o(40),d=o(947),c=o.n(d),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 c.a&&c()(component);e.default=component.exports},947:function(t,e){}}]);
//# sourceMappingURL=899f1b4.modern.js.map