Changed namespacing so the fix is usable as long as the fix is not merged

This commit is contained in:
Svenvdzwet 2022-12-28 11:48:07 +01:00
parent e07968827e
commit 945be5873e
3 changed files with 504 additions and 2 deletions

497
client/dist/js/main.js vendored
View File

@ -1 +1,496 @@
!function(e){function t(i){if(n[i])return n[i].exports;var s=n[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s="./client/src/bundles/bundle.js")}({"./client/src/bundles/bundle.js":function(e,t,n){n("./client/src/js/bulkTools.js"),n("./client/src/js/manager.js"),n("./client/src/js/managerBulkEditingForm.js"),n("./client/src/js/uploader.js")},"./client/src/js/bulkTools.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);n.n(i).a.entwine("ss",function(e){window.bulkTools={gridfieldRefresh:function(e,t){t.isError||(t.isDestructive?this.removeGridFieldRows(e,t.records.success):this.updateGridFieldRows(e,t.records.success),this.failedGridFieldRows(e,t.records.failed))},getGridFieldRow:function(e,t){return e.find('.ss-gridfield-item[data-id="'+t.id+'"][data-class="'+t.class+'"]')},cleanGridFieldRow:function(e){return e.removeClass("bt-deleted bt-failed bt-updated").removeAttr("bt-error")},removeGridFieldRows:function(e,t){t.forEach(function(t){this.getGridFieldRow(e,t).addClass("bt-deleted").fadeOut(2e3)},this),e.entwine(".").entwine("ss").delay(2e3).reload()},failedGridFieldRows:function(e,t){t.forEach(function(t){this.getGridFieldRow(e,t).addClass("bt-failed").attr("bt-error",t.message)},this)},updateGridFieldRows:function(t,n){t.find(".ss-gridfield-item.ss-gridfield-no-items").remove(),n.forEach(function(n){var i=this.getGridFieldRow(t,n),s=e(n.row).addClass("bt-updated");1===i.length?i.replaceWith(s):t.find(".ss-gridfield-items").prepend(s)},this)}}})},"./client/src/js/manager.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),s=n.n(i),r=n(2),a=n.n(r);s.a.entwine("colymba",function(e){e(".bulkManagerOptions").entwine({onmatch:function(){var t=this.parents("thead"),n=t.find("tr"),i=[".filter-header",".sortable-header"],s=t.find(i.join(",")),r=n.index(this),a=n.length-1;s.each(function(e,t){var i=n.index(t);i<a&&(a=i)}),r>a&&n.eq(a).insertAfter(e(this))}}),e("td.col-bulkSelect").entwine({onmouseover:function(){e(this).parents(".ss-gridfield-item").find(".edit-link").removeClass("edit-link").addClass("tempDisabledEditLink")},onmouseout:function(){e(this).parents(".ss-gridfield-item").find(".tempDisabledEditLink").addClass("edit-link").removeClass("tempDisabledEditLink")},onclick:function(t){var n=e(t.target).find("input");e(n).prop("checked")?e(n).prop("checked",!1):e(n).prop("checked",!0)}}),e("td.col-bulkSelect input").entwine({onmatch:function(){},onunmatch:function(){},onclick:function(){e(this).parents(".grid-field__table").find("input.bulkSelectAll").prop("checked","")}}),e("input.bulkSelectAll").entwine({onclick:function(){var t=e(this).prop("checked");e(this).parents(".grid-field__table").find("td.col-bulkSelect input").prop("checked",t).trigger("change")},getSelectRecordsID:function(){return e(this).parents(".grid-field__table").find("td.col-bulkSelect input:checked").map(function(){return parseInt(e(this).data("record"),10)}).get()}}),e("select.bulkActionName").entwine({onchange:function(){var t=e(this).val(),n=e(this).parents(".bulkManagerOptions"),i=n.find(".doBulkActionButton"),s=i.data("config");if(e.each(s,function(e,n){e!==t&&i.removeClass(n.buttonClasses)}),!t)return void i.addClass("disabled");if(i.removeClass("disabled"),i.addClass(s[t].buttonClasses).addClass("btn-outline-secondary"),s[t].icon){var r=i.find("img");r.length?r.attr("src",s[t].icon):i.prepend('<img src="'+s[t].icon+'" alt="" />')}else i.find("img").remove();s[t].destructive?i.addClass("btn-outline-danger"):i.removeClass("btn-outline-danger")}}),e(".doBulkActionButton").entwine({getActionURL:function(e,t){var n=(new Date).getTime(),i=t.split("?"),s="";return e&&(s="/"+e),i=i[1]?i[0]+s+"?"+i[1]+"&cacheBuster="+n:i[0]+s+"?cacheBuster="+n},onclick:function(){var t=e(this).parents(".bulkManagerOptions"),n=t.find("select.bulkActionName").val(),i=e(this).parents(".bulkManagerOptions").find("input.bulkSelectAll:first").getSelectRecordsID();this.doBulkAction(n,i)},doBulkAction:function(t,n){var i=window,s=i.bulkTools,r=e(this).parents(".bulkManagerOptions"),d=r.find("a.doBulkActionButton"),o=r.find(".message"),l=d.data("config"),c=this.getActionURL(t,e(this).data("url")),u={records:n};return n.length<=0?(alert(a.a._t("GRIDFIELD_BULK_MANAGER.BULKACTION_EMPTY_SELECT")),!1):!(l[t].destructive&&!confirm(a.a._t("GRIDFIELD_BULK_MANAGER.CONFIRM_DESTRUCTIVE_ACTION")))&&(d.addClass("loading"),o.removeClass("static show error warning"),l[t].xhr?e.ajax({url:c,data:u,type:"POST",context:e(this)}).always(function(t){var n=t;d.removeClass("loading"),t.responseText&&(n=JSON.parse(t.responseText)),o.html(n.message),n.isError?o.addClass("static error"):n.isWarning?o.addClass("show warning"):o.addClass("show"),s.gridfieldRefresh(e(this).parents(".ss-gridfield"),n)}):(c=c+"&records[]="+n.join("&records[]="),window.location.href=c),!0)}})})},"./client/src/js/managerBulkEditingForm.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);n.n(i).a.entwine("colymba",function(e){e("#bulkEditToggle").entwine({onclick:function(){var t=this.parents("form").find(".ss-toggle .ui-accordion-header"),n=this.data("state");n=n&&"close"!==n?"close":"open",t.each(function(){var t=e(this);"open"!==n||t.hasClass("ui-state-active")||t.click(),"close"===n&&t.hasClass("ui-state-active")&&t.click()}),this.data("state",n)}}),e(".bulkEditingFieldHolder").entwine({onchange:function(){this.removeClass("updated"),this.hasClass("hasUpdate")||this.addClass("hasUpdate")}})})},"./client/src/js/uploader.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),s=n.n(i),r=n(1),a=n.n(r),d=window,o=d.bulkTools,l=function(e){var t=s()("#"+e.fieldId),n=t.parents(".ss-gridfield"),i=t.data("schema");s.a.ajax(i.data.attachFileEndpoint.url,{method:i.data.attachFileEndpoint.method,data:{fileID:e.file.id}}).done(function(e){o.gridfieldRefresh(n,e)})},c=function(e){var t=s()("#"+e.fieldId).parents(".ss-gridfield");o.gridfieldRefresh(t,e.json.bulkTools)},u=function(e){return function(){return function(t,n){var i=n.type,s=n.payload;switch(i){case"UPLOADFIELD_ADD_FILE":return-1!==s.fieldId.indexOf("_BU")&&s.file.id&&l(s),e(t,{type:i,payload:s});case"UPLOADFIELD_UPLOAD_SUCCESS":return-1!==s.fieldId.indexOf("_BU")&&c(s),e(t,{type:i,payload:s});default:return e(t,{type:i,payload:s})}}}};document.addEventListener("DOMContentLoaded",function(){a.a.transform("bulkUploaderTransformation",function(e){e.reducer("assetAdmin",u)})})},0:function(e,t){e.exports=jQuery},1:function(e,t){e.exports=Injector},2:function(e,t){e.exports=i18n}});
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // identity function for calling harmony imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ }
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "./client/src/bundles/bundle.js");
/******/ })
/************************************************************************/
/******/ ({
/***/ "./client/src/bundles/bundle.js":
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__("./client/src/js/bulkTools.js");
__webpack_require__("./client/src/js/manager.js");
__webpack_require__("./client/src/js/managerBulkEditingForm.js");
__webpack_require__("./client/src/js/uploader.js");
/***/ }),
/***/ "./client/src/js/bulkTools.js":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_jquery__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_jquery___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_jquery__);
__WEBPACK_IMPORTED_MODULE_0_jquery___default.a.entwine('ss', function ($) {
window.bulkTools = {
gridfieldRefresh: function gridfieldRefresh($gridfield, data) {
if (!data.isError) {
if (data.isDestructive) {
this.removeGridFieldRows($gridfield, data.records.success);
} else {
this.updateGridFieldRows($gridfield, data.records.success);
}
this.failedGridFieldRows($gridfield, data.records.failed);
}
},
getGridFieldRow: function getGridFieldRow($gridfield, record) {
return $gridfield.find('.ss-gridfield-item[data-id="' + record.id + '"][data-class="' + record.class + '"]');
},
cleanGridFieldRow: function cleanGridFieldRow($row) {
return $row.removeClass('bt-deleted bt-failed bt-updated').removeAttr('bt-error');
},
removeGridFieldRows: function removeGridFieldRows($gridfield, records) {
records.forEach(function (record) {
var $row = this.getGridFieldRow($gridfield, record);
$row.addClass('bt-deleted').fadeOut(2000);
}, this);
$gridfield.entwine('.').entwine('ss').delay(2000).reload();
},
failedGridFieldRows: function failedGridFieldRows($gridfield, records) {
records.forEach(function (record) {
var $row = this.getGridFieldRow($gridfield, record);
$row.addClass('bt-failed').attr('bt-error', record.message);
}, this);
},
updateGridFieldRows: function updateGridFieldRows($gridfield, records) {
$gridfield.find('.ss-gridfield-item.ss-gridfield-no-items').remove();
records.forEach(function (record) {
var $row = this.getGridFieldRow($gridfield, record);
var $newRow = $(record.row).addClass('bt-updated');
if ($row.length === 1) {
$row.replaceWith($newRow);
} else {
$gridfield.find('.ss-gridfield-items').prepend($newRow);
}
}, this);
}
};
});
/***/ }),
/***/ "./client/src/js/manager.js":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_jquery__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_jquery___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_jquery__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_i18n__ = __webpack_require__(2);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_i18n___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_i18n__);
__WEBPACK_IMPORTED_MODULE_0_jquery___default.a.entwine('violet88', function ($) {
$('.bulkManagerOptions').entwine({
onmatch: function onmatch() {
var $parent = this.parents('thead');
var $tr = $parent.find('tr');
var targets = ['.filter-header', '.sortable-header'];
var $target = $parent.find(targets.join(','));
var index = $tr.index(this);
var newIndex = $tr.length - 1;
$target.each(function (targetIndex, Element) {
var idx = $tr.index(Element);
if (idx < newIndex) {
newIndex = idx;
}
});
if (index > newIndex) {
$tr.eq(newIndex).insertAfter($(this));
}
}
});
$('td.col-bulkSelect').entwine({
onmouseover: function onmouseover() {
$(this).parents('.ss-gridfield-item').find('.edit-link').removeClass('edit-link').addClass('tempDisabledEditLink');
},
onmouseout: function onmouseout() {
$(this).parents('.ss-gridfield-item').find('.tempDisabledEditLink').addClass('edit-link').removeClass('tempDisabledEditLink');
},
onclick: function onclick(e) {
var cb = $(e.target).find('input');
if (!$(cb).prop('checked')) {
$(cb).prop('checked', true);
} else {
$(cb).prop('checked', false);
}
}
});
$('td.col-bulkSelect input').entwine({
onmatch: function onmatch() {},
onunmatch: function onunmatch() {},
onclick: function onclick() {
$(this).parents('.grid-field__table').find('input.bulkSelectAll').prop('checked', '');
}
});
$('input.bulkSelectAll').entwine({
onclick: function onclick() {
var state = $(this).prop('checked');
$(this).parents('.grid-field__table').find('td.col-bulkSelect input').prop('checked', state).trigger('change');
},
getSelectRecordsID: function getSelectRecordsID() {
return $(this).parents('.grid-field__table').find('td.col-bulkSelect input:checked').map(function () {
return parseInt($(this).data('record'), 10);
}).get();
}
});
$('select.bulkActionName').entwine({
onchange: function onchange() {
var value = $(this).val();
var $parent = $(this).parents('.bulkManagerOptions');
var $btn = $parent.find('.doBulkActionButton');
var config = $btn.data('config');
$.each(config, function (configKey, configData) {
if (configKey !== value) {
$btn.removeClass(configData.buttonClasses);
}
});
if (!value) {
$btn.addClass('disabled');
return;
}
$btn.removeClass('disabled');
$btn.addClass(config[value].buttonClasses).addClass('btn-outline-secondary');
if (config[value].icon) {
var $img = $btn.find('img');
if ($img.length) {
$img.attr('src', config[value].icon);
} else {
$btn.prepend('<img src="' + config[value].icon + '" alt="" />');
}
} else {
$btn.find('img').remove();
}
if (config[value].destructive) {
$btn.addClass('btn-outline-danger');
} else {
$btn.removeClass('btn-outline-danger');
}
}
});
$('.doBulkActionButton').entwine({
getActionURL: function getActionURL(action, url) {
var cacheBuster = new Date().getTime();
var newUrl = url.split('?');
var newAction = '';
if (action) {
newAction = '/' + action;
}
if (newUrl[1]) {
newUrl = newUrl[0] + newAction + '?' + newUrl[1] + '&cacheBuster=' + cacheBuster;
} else {
newUrl = newUrl[0] + newAction + '?cacheBuster=' + cacheBuster;
}
return newUrl;
},
onclick: function onclick() {
var $parent = $(this).parents('.bulkManagerOptions');
var action = $parent.find('select.bulkActionName').val();
var ids = $(this).parents('.bulkManagerOptions').find('input.bulkSelectAll:first').getSelectRecordsID();
this.doBulkAction(action, ids);
},
doBulkAction: function doBulkAction(action, ids) {
var _window = window,
bulkTools = _window.bulkTools;
var $parent = $(this).parents('.bulkManagerOptions');
var $btn = $parent.find('a.doBulkActionButton');
var $msg = $parent.find('.message');
var config = $btn.data('config');
var url = this.getActionURL(action, $(this).data('url'));
var inputData = { records: ids };
if (ids.length <= 0) {
alert(__WEBPACK_IMPORTED_MODULE_1_i18n___default.a._t('GRIDFIELD_BULK_MANAGER.BULKACTION_EMPTY_SELECT'));
return false;
}
if (config[action].destructive) {
if (!confirm(__WEBPACK_IMPORTED_MODULE_1_i18n___default.a._t('GRIDFIELD_BULK_MANAGER.CONFIRM_DESTRUCTIVE_ACTION'))) {
return false;
}
}
$btn.addClass('loading');
$msg.removeClass('static show error warning');
if (config[action].xhr) {
$.ajax({
url: url,
data: inputData,
type: 'POST',
context: $(this)
}).always(function (data) {
var returnData = data;
$btn.removeClass('loading');
if (data.responseText) {
returnData = JSON.parse(data.responseText);
}
$msg.html(returnData.message);
if (returnData.isError) {
$msg.addClass('static error');
} else if (returnData.isWarning) {
$msg.addClass('show warning');
} else {
$msg.addClass('show');
}
bulkTools.gridfieldRefresh($(this).parents('.ss-gridfield'), returnData);
});
} else {
var records = 'records[]=' + ids.join('&records[]=');
url = url + '&' + records;
window.location.href = url;
}
return true;
}
});
});
/***/ }),
/***/ "./client/src/js/managerBulkEditingForm.js":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_jquery__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_jquery___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_jquery__);
__WEBPACK_IMPORTED_MODULE_0_jquery___default.a.entwine('violet88', function ($) {
$('#bulkEditToggle').entwine({
onclick: function onclick() {
var toggleFields = this.parents('form').find('.ss-toggle .ui-accordion-header');
var state = this.data('state');
if (!state || state === 'close') {
state = 'open';
} else {
state = 'close';
}
toggleFields.each(function () {
var $this = $(this);
if (state === 'open' && !$this.hasClass('ui-state-active')) {
$this.click();
}
if (state === 'close' && $this.hasClass('ui-state-active')) {
$this.click();
}
});
this.data('state', state);
}
});
$('.bulkEditingFieldHolder').entwine({
onchange: function onchange() {
this.removeClass('updated');
if (!this.hasClass('hasUpdate')) {
this.addClass('hasUpdate');
}
}
});
});
/***/ }),
/***/ "./client/src/js/uploader.js":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_jquery__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_jquery___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_jquery__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lib_Injector__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lib_Injector___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lib_Injector__);
var _window = window,
bulkTools = _window.bulkTools;
var bulkUploadFieldAttach = function bulkUploadFieldAttach(payload) {
var $uploadField = __WEBPACK_IMPORTED_MODULE_0_jquery___default()('#' + payload.fieldId);
var $gridfield = $uploadField.parents('.ss-gridfield');
var schema = $uploadField.data('schema');
__WEBPACK_IMPORTED_MODULE_0_jquery___default.a.ajax(schema.data.attachFileEndpoint.url, {
method: schema.data.attachFileEndpoint.method,
data: {
fileID: payload.file.id
}
}).done(function (data) {
bulkTools.gridfieldRefresh($gridfield, data);
});
};
var bulkUploadFieldUpload = function bulkUploadFieldUpload(payload) {
var $gridfield = __WEBPACK_IMPORTED_MODULE_0_jquery___default()('#' + payload.fieldId).parents('.ss-gridfield');
bulkTools.gridfieldRefresh($gridfield, payload.json.bulkTools);
};
var bulkUploadFieldReducer = function bulkUploadFieldReducer(originalReducer) {
return function () {
return function (state, _ref) {
var type = _ref.type,
payload = _ref.payload;
switch (type) {
case 'UPLOADFIELD_ADD_FILE':
{
if (payload.fieldId.indexOf('_BU') !== -1 && payload.file.id) {
bulkUploadFieldAttach(payload);
}
return originalReducer(state, { type: type, payload: payload });
}
case 'UPLOADFIELD_UPLOAD_SUCCESS':
{
if (payload.fieldId.indexOf('_BU') !== -1) {
bulkUploadFieldUpload(payload);
}
return originalReducer(state, { type: type, payload: payload });
}
default:
{
return originalReducer(state, { type: type, payload: payload });
}
}
};
};
};
document.addEventListener('DOMContentLoaded', function () {
__WEBPACK_IMPORTED_MODULE_1_lib_Injector___default.a.transform('bulkUploaderTransformation', function (updater) {
updater.reducer('assetAdmin', bulkUploadFieldReducer);
});
});
/***/ }),
/***/ 0:
/***/ (function(module, exports) {
module.exports = jQuery;
/***/ }),
/***/ 1:
/***/ (function(module, exports) {
module.exports = Injector;
/***/ }),
/***/ 2:
/***/ (function(module, exports) {
module.exports = i18n;
/***/ })
/******/ });
//# sourceMappingURL=main.js.map

View File

@ -1 +1,2 @@
@-webkit-keyframes bt_fade_out{0%{opacity:1}to{opacity:0}}@-o-keyframes bt_fade_out{0%{opacity:1}to{opacity:0}}@keyframes bt_fade_out{0%{opacity:1}to{opacity:0}}@-webkit-keyframes bt_loading{0%{opacity:1}to{opacity:.25}}@-o-keyframes bt_loading{0%{opacity:1}to{opacity:.25}}@keyframes bt_loading{0%{opacity:1}to{opacity:.25}}@-webkit-keyframes bt_fade_border{0%{border-left-width:6px}to{border-left-width:0}}@-o-keyframes bt_fade_border{0%{border-left-width:6px}to{border-left-width:0}}@keyframes bt_fade_border{0%{border-left-width:6px}to{border-left-width:0}}.cms table.grid-field__table tr.bulkManagerOptions th{text-transform:none}.cms table.grid-field__table tr.bulkManagerOptions th .bulkActionName{float:left}.cms table.grid-field__table tr.bulkManagerOptions th .bulkActionName .form__field-holder{min-width:200px;margin-left:0}.cms table.grid-field__table tr.bulkManagerOptions th .bulkActionName .chosen-container{min-width:120px}.cms table.grid-field__table tr.bulkManagerOptions th .bulkActionName .chosen-container-single .chosen-single{border-top-right-radius:0;border-bottom-right-radius:0}.cms table.grid-field__table tr.bulkManagerOptions th .doBulkActionButton{float:left;border-top-left-radius:0;border-bottom-left-radius:0;height:36px;line-height:26px;margin-left:-1px;margin-right:20px}.cms table.grid-field__table tr.bulkManagerOptions th .doBulkActionButton img{height:20px}.cms table.grid-field__table tr.bulkManagerOptions th .doBulkActionButton.loading{-webkit-animation:.5s bt_loading infinite alternate;-o-animation:.5s bt_loading infinite alternate;animation:.5s bt_loading infinite alternate;cursor:wait;pointer-events:none}.cms table.grid-field__table tr.bulkManagerOptions th .message{float:left;clear:none;max-width:100%;margin:0;padding:0 1.25rem;height:36px;line-height:34px;opacity:0;overflow:auto}.cms table.grid-field__table tr.bulkManagerOptions th .message.show{-webkit-animation:10s bt_fade_out;-o-animation:10s bt_fade_out;animation:10s bt_fade_out}.cms table.grid-field__table tr.bulkManagerOptions th .message.static{opacity:1}.cms table.grid-field__table tbody .col-bulkSelect{width:25px;text-align:center}.cms table.grid-field__table tbody .ss-gridfield-item.bt-deleted{opacity:.5}.cms table.grid-field__table tbody .ss-gridfield-item.bt-failed{border-left:0 solid #e68288;-webkit-animation:10s bt_fade_border;-o-animation:10s bt_fade_border;animation:10s bt_fade_border}.cms table.grid-field__table tbody .ss-gridfield-item.bt-updated{border-left:0 solid #56bd59;-webkit-animation:10s bt_fade_border;-o-animation:10s bt_fade_border;animation:10s bt_fade_border}#bulkEditHeader{float:left;width:70%;margin:40px 0 20px;font-size:30px;font-weight:700}#bulkEditToggle{float:right;clear:right;width:25%;margin:40px 0 20px;text-decoration:underline;text-align:right;cursor:pointer}.bulkEditingFieldHolder{position:relative;float:left;width:100%}.bulkEditingFieldHolder.hasUpdate .ui-accordion-header{background-color:#f2ba11;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0,#f2ba11),color-stop(100%,#df6e00));background-image:-webkit-linear-gradient(top,#f2ba11,#df6e00);background-image:-o-linear-gradient(top,#f2ba11 0,#df6e00 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2ba11),to(#df6e00));background-image:linear-gradient(top,#f2ba11,#df6e00)}.bulkEditingFieldHolder.hasUpdate .ui-accordion-header a{color:#fff;text-shadow:none}.bulkEditingFieldHolder.updated .ui-accordion-header{background-color:#a4ca3a;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0,#a4ca3a),color-stop(100%,#59781d));background-image:-webkit-linear-gradient(top,#a4ca3a,#59781d);background-image:-o-linear-gradient(top,#a4ca3a 0,#59781d 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(top),color-stop(0,#a4ca3a),to(#59781d));background-image:linear-gradient(top,#a4ca3a,#59781d)}.bulkEditingFieldHolder.updated .ui-accordion-header a{color:#fff;text-shadow:none}.bulkUploader .uploadfield__droptext:before{text-transform:none;content:"b"}
@-webkit-keyframes bt_fade_out{0%{opacity:1}to{opacity:0}}@-o-keyframes bt_fade_out{0%{opacity:1}to{opacity:0}}@keyframes bt_fade_out{0%{opacity:1}to{opacity:0}}@-webkit-keyframes bt_loading{0%{opacity:1}to{opacity:.25}}@-o-keyframes bt_loading{0%{opacity:1}to{opacity:.25}}@keyframes bt_loading{0%{opacity:1}to{opacity:.25}}@-webkit-keyframes bt_fade_border{0%{border-left-width:6px}to{border-left-width:0}}@-o-keyframes bt_fade_border{0%{border-left-width:6px}to{border-left-width:0}}@keyframes bt_fade_border{0%{border-left-width:6px}to{border-left-width:0}}.cms table.grid-field__table tr.bulkManagerOptions th{text-transform:none}.cms table.grid-field__table tr.bulkManagerOptions th .bulkActionName{float:left}.cms table.grid-field__table tr.bulkManagerOptions th .bulkActionName .form__field-holder{min-width:200px;margin-left:0}.cms table.grid-field__table tr.bulkManagerOptions th .bulkActionName .chosen-container{min-width:120px}.cms table.grid-field__table tr.bulkManagerOptions th .bulkActionName .chosen-container-single .chosen-single{border-top-right-radius:0;border-bottom-right-radius:0}.cms table.grid-field__table tr.bulkManagerOptions th .doBulkActionButton{float:left;border-top-left-radius:0;border-bottom-left-radius:0;height:36px;line-height:26px;margin-left:-1px;margin-right:20px}.cms table.grid-field__table tr.bulkManagerOptions th .doBulkActionButton img{height:20px}.cms table.grid-field__table tr.bulkManagerOptions th .doBulkActionButton.loading{-webkit-animation:.5s bt_loading infinite alternate;-o-animation:.5s bt_loading infinite alternate;animation:.5s bt_loading infinite alternate;cursor:wait;pointer-events:none}.cms table.grid-field__table tr.bulkManagerOptions th .message{float:left;clear:none;max-width:100%;margin:0;padding:0 1.25rem;height:36px;line-height:34px;opacity:0;overflow:auto}.cms table.grid-field__table tr.bulkManagerOptions th .message.show{-webkit-animation:10s bt_fade_out;-o-animation:10s bt_fade_out;animation:10s bt_fade_out}.cms table.grid-field__table tr.bulkManagerOptions th .message.static{opacity:1}.cms table.grid-field__table tbody .col-bulkSelect{width:25px;text-align:center}.cms table.grid-field__table tbody .ss-gridfield-item.bt-deleted{opacity:.5}.cms table.grid-field__table tbody .ss-gridfield-item.bt-failed{border-left:0 solid #e68288;-webkit-animation:10s bt_fade_border;-o-animation:10s bt_fade_border;animation:10s bt_fade_border}.cms table.grid-field__table tbody .ss-gridfield-item.bt-updated{border-left:0 solid #56bd59;-webkit-animation:10s bt_fade_border;-o-animation:10s bt_fade_border;animation:10s bt_fade_border}#bulkEditHeader{float:left;width:70%;margin:40px 0 20px;font-size:30px;font-weight:700}#bulkEditToggle{float:right;clear:right;width:25%;margin:40px 0 20px;text-decoration:underline;text-align:right;cursor:pointer}.bulkEditingFieldHolder{position:relative;float:left;width:100%}.bulkEditingFieldHolder.hasUpdate .ui-accordion-header{background-color:#f2ba11;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0,#f2ba11),color-stop(100%,#df6e00));background-image:-webkit-linear-gradient(top,#f2ba11,#df6e00);background-image:-o-linear-gradient(top,#f2ba11 0,#df6e00 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2ba11),to(#df6e00));background-image:linear-gradient(top,#f2ba11,#df6e00)}.bulkEditingFieldHolder.hasUpdate .ui-accordion-header a{color:#fff;text-shadow:none}.bulkEditingFieldHolder.updated .ui-accordion-header{background-color:#a4ca3a;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0,#a4ca3a),color-stop(100%,#59781d));background-image:-webkit-linear-gradient(top,#a4ca3a,#59781d);background-image:-o-linear-gradient(top,#a4ca3a 0,#59781d 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(top),color-stop(0,#a4ca3a),to(#59781d));background-image:linear-gradient(top,#a4ca3a,#59781d)}.bulkEditingFieldHolder.updated .ui-accordion-header a{color:#fff;text-shadow:none}.bulkUploader .uploadfield__droptext:before{text-transform:none;content:"b"}
/*# sourceMappingURL=main.css.map*/

View File

@ -34,5 +34,11 @@
"Violet88\\BulkManager\\": "src/BulkManager/",
"Violet88\\BulkUpload\\": "src/BulkUploader/"
}
},
"config": {
"allow-plugins": {
"composer/installers": true,
"silverstripe/vendor-plugin": true
}
}
}