Skip to content

Commit

Permalink
Update admin assets dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com>
  • Loading branch information
sampoyigi committed Mar 10, 2022
1 parent 5c84edb commit e716ec3
Show file tree
Hide file tree
Showing 23 changed files with 2,215 additions and 11,051 deletions.
86 changes: 35 additions & 51 deletions app/admin/assets/css/admin.css

Large diffs are not rendered by default.

4,679 changes: 6 additions & 4,673 deletions app/admin/assets/js/admin.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions app/admin/assets/package.json
Expand Up @@ -7,10 +7,10 @@
"prod": "NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.12.0",
"animate.css": "^3.6.1",
"bootstrap": "^4.6.0",
"bootstrap-colorpicker": "^3.2.0",
"@fortawesome/fontawesome-free": "^5.15.4",
"animate.css": "^3.7.2",
"bootstrap": "^4.6.1",
"bootstrap-colorpicker": "^3.4.0",
"cross-env": "^5.0.1",
"jquery": "^3.5.1",
"jquery-sortablejs": "^1.0.1",
Expand All @@ -20,7 +20,7 @@
"popper.js": "^1.16.1",
"select2": "4.0.13",
"select2-theme-bootstrap4": "0.2.0-beta.2",
"sortablejs": "^1.10.2",
"sortablejs": "^1.14.0",
"sweetalert": "^2.1.0"
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -1,76 +1,76 @@
(function (factory) {
"use strict";
var sortable,
jq,
_this = this
;

if (typeof define === "function" && define.amd) {
try {
define(["sortablejs", "jquery"], function(Sortable, $) {
sortable = Sortable;
jq = $;
checkErrors();
factory(Sortable, $);
});
} catch(err) {
checkErrors();
}
return;
} else if (typeof exports === 'object') {
try {
sortable = require('sortablejs');
jq = require('jquery');
} catch(err) { }
}

if (typeof jQuery === 'function' || typeof $ === 'function') {
jq = jQuery || $;
}

if (typeof Sortable !== 'undefined') {
sortable = Sortable;
}

function checkErrors() {
if (!jq) {
throw new Error('jQuery is required for jquery-sortablejs');
}

if (!sortable) {
throw new Error('SortableJS is required for jquery-sortablejs (https://github.com/SortableJS/Sortable)');
}
}
checkErrors();
factory(sortable, jq);
})(function (Sortable, $) {
"use strict";

$.fn.sortable = function (options) {
var retVal,
args = arguments;

this.each(function () {
var $el = $(this),
sortable = $el.data('sortable');

if (!sortable && (options instanceof Object || !options)) {
sortable = new Sortable(this, options);
$el.data('sortable', sortable);
} else if (sortable) {
if (options === 'destroy') {
sortable.destroy();
$el.removeData('sortable');
} else if (options === 'widget') {
retVal = sortable;
} else if (typeof sortable[options] === 'function') {
retVal = sortable[options].apply(sortable, [].slice.call(args, 1));
} else if (options in sortable.options) {
retVal = sortable.option.apply(sortable, args);
}
}
});

return (retVal === void 0) ? this : retVal;
};
});
(function (factory) {
"use strict";
var sortable,
jq,
_this = this
;

if (typeof define === "function" && define.amd) {
try {
define(["sortablejs", "jquery"], function(Sortable, $) {
sortable = Sortable;
jq = $;
checkErrors();
factory(Sortable, $);
});
} catch(err) {
checkErrors();
}
return;
} else if (typeof exports === 'object') {
try {
sortable = require('sortablejs');
jq = require('jquery');
} catch(err) { }
}

if (typeof jQuery === 'function' || typeof $ === 'function') {
jq = jQuery || $;
}

if (typeof Sortable !== 'undefined') {
sortable = Sortable;
}

function checkErrors() {
if (!jq) {
throw new Error('jQuery is required for jquery-sortablejs');
}

if (!sortable) {
throw new Error('SortableJS is required for jquery-sortablejs (https://github.com/SortableJS/Sortable)');
}
}
checkErrors();
factory(sortable, jq);
})(function (Sortable, $) {
"use strict";

$.fn.sortable = function (options) {
var retVal,
args = arguments;

this.each(function () {
var $el = $(this),
sortable = $el.data('sortable');

if (!sortable && (options instanceof Object || !options)) {
sortable = new Sortable(this, options);
$el.data('sortable', sortable);
} else if (sortable) {
if (options === 'destroy') {
sortable.destroy();
$el.removeData('sortable');
} else if (options === 'widget') {
retVal = sortable;
} else if (typeof sortable[options] === 'function') {
retVal = sortable[options].apply(sortable, [].slice.call(args, 1));
} else if (options in sortable.options) {
retVal = sortable.option.apply(sortable, args);
}
}
});

return (retVal === void 0) ? this : retVal;
};
});

0 comments on commit e716ec3

Please sign in to comment.