diff options
Diffstat (limited to 'public/bundle.js')
| -rw-r--r-- | public/bundle.js | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/public/bundle.js b/public/bundle.js index 1fb62b1..544a50a 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -71,6 +71,35 @@ /************************************************************************/ /******/ ({ +/***/ "./app/client/api/crud.type.js": +/*!*************************************!*\ + !*** ./app/client/api/crud.type.js ***! + \*************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.crud_type = crud_type; +var as_type = exports.as_type = function as_type(a, b) { + return [a, b].join('_').toUpperCase(); +}; + +function crud_type(type) { + var actions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + + return actions.concat(['index_loading', 'index', 'index_error', 'show_loading', 'show', 'show_error', 'create_loading', 'create', 'create_error', 'update_loading', 'update', 'update_error', 'destroy_loading', 'destroy', 'destroy_error', 'upload_loading', 'upload_progress', 'upload_complete', 'upload_error', 'sort']).reduce(function (a, b) { + return (a[b] = as_type(type, b)) && a; + }, {}); + return aa; +} + +/***/ }), + /***/ "./app/client/common/button.component.js": /*!***********************************************!*\ !*** ./app/client/common/button.component.js ***! @@ -4579,7 +4608,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _crud = __webpack_require__(!(function webpackMissingModule() { var e = new Error("Cannot find module \"./crud/crud.types\""); e.code = 'MODULE_NOT_FOUND'; throw e; }())); +var _crud = __webpack_require__(/*! ./api/crud.type */ "./app/client/api/crud.type.js"); exports.default = { system: { |
