diff --git a/.scripts/assets-build-tool/build.mjs b/.scripts/assets-build-tool/build.mjs index f728574ed85..7f2be5c61af 100644 --- a/.scripts/assets-build-tool/build.mjs +++ b/.scripts/assets-build-tool/build.mjs @@ -237,8 +237,8 @@ let gulpStr = parsedArgs.g; if (gulpStr != undefined) { buildProcesses.push({ order: 0, - name: "starting gulp build", - command: `gulp build`, + name: "gulp build", + command: `gulp rebuild`, }); } diff --git a/src/OrchardCore.Modules/OrchardCore.AdminMenu/wwwroot/Scripts/admin-menu-icon-picker.js b/src/OrchardCore.Modules/OrchardCore.AdminMenu/wwwroot/Scripts/admin-menu-icon-picker.js index 051d5a67aba..b895f6aca8a 100644 --- a/src/OrchardCore.Modules/OrchardCore.AdminMenu/wwwroot/Scripts/admin-menu-icon-picker.js +++ b/src/OrchardCore.Modules/OrchardCore.AdminMenu/wwwroot/Scripts/admin-menu-icon-picker.js @@ -1,58 +1,5426 @@ -// a wrapper around https://github.com/farbelous/fontawesome-iconpicker -// It makes easier to use a single picker instance with several input fields. -// How to use it: Call show() from outside , passing it the id's of the input fields you want the icon classes applied to. +/* +** NOTE: This file is generated by Gulp and should not be edited directly! +** Any changes made directly to this file will be overwritten next time its asset group is processed by Gulp. +*/ -var iconPickerVue = new Vue({ - el: '#iconPickerVue', - data: { - targetInputField: '', - targetIconTag: '', - iconPickerModal: null, - }, - mounted: function () { - var self = this; +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } +/*! + * Font Awesome Icon Picker + * https://farbelous.github.io/fontawesome-iconpicker/ + * + * @author Javi Aguilar, itsjavi.com + * @license MIT License + * @see https://github.com/farbelous/fontawesome-iconpicker/blob/master/LICENSE + */ - $('.icp-auto').iconpicker({ - title: false, - templates: { - search: '' // just to leave empty the placeholder because it is not localized - } +(function (e) { + if (typeof define === "function" && define.amd) { + define(["jquery"], e); + } else { + e(jQuery); + } +})(function (j) { + j.ui = j.ui || {}; + var e = j.ui.version = "1.12.1"; + (function () { + var r, + y = Math.max, + x = Math.abs, + s = /left|center|right/, + i = /top|center|bottom/, + f = /[\+\-]\d+(\.[\d]+)?%?/, + l = /^\w+/, + c = /%$/, + a = j.fn.pos; + function q(e, a, t) { + return [parseFloat(e[0]) * (c.test(e[0]) ? a / 100 : 1), parseFloat(e[1]) * (c.test(e[1]) ? t / 100 : 1)]; + } + function C(e, a) { + return parseInt(j.css(e, a), 10) || 0; + } + function t(e) { + var a = e[0]; + if (a.nodeType === 9) { + return { + width: e.width(), + height: e.height(), + offset: { + top: 0, + left: 0 + } + }; + } + if (j.isWindow(a)) { + return { + width: e.width(), + height: e.height(), + offset: { + top: e.scrollTop(), + left: e.scrollLeft() + } + }; + } + if (a.preventDefault) { + return { + width: 0, + height: 0, + offset: { + top: a.pageY, + left: a.pageX + } + }; + } + return { + width: e.outerWidth(), + height: e.outerHeight(), + offset: e.offset() + }; + } + j.pos = { + scrollbarWidth: function scrollbarWidth() { + if (r !== undefined) { + return r; + } + var e, + a, + t = j("
{{ T.imageHeader }} | \n\n {{ T.nameHeader }}\n | \n \n {{ T.lastModifyHeader }} \n | \n \n \n {{ T.sizeHeader }}\n | \n \n \n {{ T.typeHeader }}\n | \n
---|---|---|---|---|
\n \n \n \n \n | \n \n \n {{ media.name }} \n \n \n | \n \n {{ printDateTime(media.lastModify) }} \n | \n \n {{ isNaN(media.size)? 0 : Math.round(media.size / 1024) }} KB \n | \n \n {{ media.mime }} \n | \n
{{ model.name }}
{{ T.imageHeader }} | \n\n {{ T.nameHeader }}\n | \n \n {{ T.lastModifyHeader }} \n | \n \n \n {{ T.sizeHeader }}\n | \n \n \n {{ T.typeHeader }}\n | \n
---|---|---|---|---|
\n \n \n \n \n | \n \n \n {{ media.name }} \n \n \n | \n \n {{ printDateTime(media.lastModify) }} \n | \n \n {{ isNaN(media.size)? 0 : Math.round(media.size / 1024) }} KB \n | \n \n {{ media.mime }} \n | \n
{{ model.name }}