PluginProbe
Adminify – White Label, Admin Menu Editor, Login Customizer / 4.3.2
Adminify – White Label, Admin Menu Editor, Login Customizer v4.3.2
4.3.2 4.3.1 4.3.0 4.2.26 4.2.25 4.2.24 4.2.23 4.2.22 4.2.21 4.2.20 4.2.19 4.2.18 4.2.17 4.2.16 4.2.15 4.2.14 4.2.13 4.2.12 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 4.2.6 4.2.5 All 165 releases
adminify / assets / admin / js / icon-picker-init.js

icon-picker-init.js in Adminify – White Label, Admin Menu Editor, Login Customizer 4.3.2, at assets/admin/js/icon-picker-init.js

96 lines 9.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*
2 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
3 * This devtool is neither made for production nor for readable output files.
4 * It uses "eval()" calls to create a separate source file in the browser devtools.
5 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
6 * or disable the default devtool with "devtool: false".
7 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
8 */
9 /******/ (() => { // webpackBootstrap
10 /******/ "use strict";
11 /******/ var __webpack_modules__ = ({
12
13 /***/ "./dev/admin/icon-picker-init.js":
14 /*!***************************************!*\
15 !*** ./dev/admin/icon-picker-init.js ***!
16 \***************************************/
17 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
18
19 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _shared_icon_libraries__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../shared/icon-libraries */ \"./dev/shared/icon-libraries.js\");\n// JS codes by WP Adminify\n\n\n\n/**\n * Boots the shared WP Adminify icon picker on screens outside the Menu Editor\n * that render an `adminify_icon` options-framework field — currently the\n * Dashboard Widget settings page and the Pro Admin Pages editor.\n *\n * One init covers every field on the page, including ones a repeater or group\n * clones later, because the picker binds its handlers to body and resolves the\n * owning field with .closest('.icon-picker-wrap').\n */\njQuery(function ($) {\n \"use strict\";\n\n if (typeof $.fn.ai_icon_picker !== \"function\") {\n return;\n }\n var $wraps = $(\".icon-picker-wrap\");\n if (!$wraps.length) {\n return;\n }\n var settings = window.PXLBSADMINIFY_ICON_PICKER || {};\n\n // Copy so the removal below cannot mutate the shared object.\n var libraries = Object.assign({}, _shared_icon_libraries__WEBPACK_IMPORTED_MODULE_0__.ICON_LIBRARIES);\n\n // Honour the Assets Manager: a library whose stylesheet the user disabled\n // would render as empty boxes, so drop it from the picker as well. Same\n // mapping the Menu Editor applies.\n var libraryHandles = {\n \"wp-adminify-simple-line-icons\": \"Simple Line Icons\"\n };\n var disabled = settings.assets_manager || [];\n Object.keys(libraryHandles).forEach(function (handle) {\n if (disabled && disabled.length && disabled.indexOf(handle) !== -1) {\n delete libraries[libraryHandles[handle]];\n }\n });\n $wraps.ai_icon_picker({\n valueSelector: \"input.adminify-icon-value\",\n iconLibrary: libraries\n });\n});\n\n//# sourceURL=webpack://adminify/./dev/admin/icon-picker-init.js?");
20
21 /***/ }),
22
23 /***/ "./dev/shared/icon-libraries.js":
24 /*!**************************************!*\
25 !*** ./dev/shared/icon-libraries.js ***!
26 \**************************************/
27 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
28
29 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ICON_LIBRARIES: () => (/* binding */ ICON_LIBRARIES)\n/* harmony export */ });\n/**\n * Icon libraries shared by every WP Adminify icon picker.\n *\n * The picker itself (assets/vendors/adminify-icon-picker) only ships Dashicons.\n * Anything else is handed to it through the `iconLibrary` option, so the list\n * lives here rather than inside a single consumer's bundle.\n */\nvar ICON_LIBRARIES = {\n \"Simple Line Icons\": {\n \"\": {\n prefix: \"icon-\",\n \"list-icon\": \"icon-heart\",\n \"icon-style\": \"simple-line-icons\",\n icons: [\"icon-user\", \"icon-people\", \"icon-user-female\", \"icon-user-follow\", \"icon-user-following\", \"icon-user-unfollow\", \"icon-login\", \"icon-logout\", \"icon-emotsmile\", \"icon-phone\", \"icon-call-end\", \"icon-call-in\", \"icon-call-out\", \"icon-map\", \"icon-location-pin\", \"icon-direction\", \"icon-directions\", \"icon-compass\", \"icon-layers\", \"icon-menu\", \"icon-list\", \"icon-options-vertical\", \"icon-options\", \"icon-arrow-down\", \"icon-arrow-left\", \"icon-arrow-right\", \"icon-arrow-up\", \"icon-arrow-up-circle\", \"icon-arrow-left-circle\", \"icon-arrow-right-circle\", \"icon-arrow-down-circle\", \"icon-check\", \"icon-clock\", \"icon-plus\", \"icon-minus\", \"icon-close\", \"icon-event\", \"icon-exclamation\", \"icon-organization\", \"icon-trophy\", \"icon-screen-smartphone\", \"icon-screen-desktop\", \"icon-plane\", \"icon-notebook\", \"icon-mustache\", \"icon-mouse\", \"icon-magnet\", \"icon-energy\", \"icon-disc\", \"icon-cursor\", \"icon-cursor-move\", \"icon-crop\", \"icon-chemistry\", \"icon-speedometer\", \"icon-shield\", \"icon-screen-tablet\", \"icon-magic-wand\", \"icon-hourglass\", \"icon-graduation\", \"icon-ghost\", \"icon-game-controller\", \"icon-fire\", \"icon-eyeglass\", \"icon-envelope-open\", \"icon-envelope-letter\", \"icon-bell\", \"icon-badge\", \"icon-anchor\", \"icon-wallet\", \"icon-vector\", \"icon-speech\", \"icon-puzzle\", \"icon-printer\", \"icon-present\", \"icon-playlist\", \"icon-pin\", \"icon-picture\", \"icon-handbag\", \"icon-globe-alt\", \"icon-globe\", \"icon-folder-alt\", \"icon-folder\", \"icon-film\", \"icon-feed\", \"icon-drop\", \"icon-drawer\", \"icon-docs\", \"icon-doc\", \"icon-diamond\", \"icon-cup\", \"icon-calculator\", \"icon-bubbles\", \"icon-briefcase\", \"icon-book-open\", \"icon-basket-loaded\", \"icon-basket\", \"icon-bag\", \"icon-action-undo\", \"icon-action-redo\", \"icon-wrench\", \"icon-umbrella\", \"icon-trash\", \"icon-tag\", \"icon-support\", \"icon-frame\", \"icon-size-fullscreen\", \"icon-size-actual\", \"icon-shuffle\", \"icon-share-alt\", \"icon-share\", \"icon-rocket\", \"icon-question\", \"icon-pie-chart\", \"icon-pencil\", \"icon-note\", \"icon-loop\", \"icon-home\", \"icon-grid\", \"icon-graph\", \"icon-microphone\", \"icon-music-tone-alt\", \"icon-music-tone\", \"icon-earphones-alt\", \"icon-earphones\", \"icon-equalizer\", \"icon-like\", \"icon-dislike\", \"icon-control-start\", \"icon-control-rewind\", \"icon-control-play\", \"icon-control-pause\", \"icon-control-forward\", \"icon-control-end\", \"icon-volume-1\", \"icon-volume-2\", \"icon-volume-off\", \"icon-calendar\", \"icon-bulb\", \"icon-chart\", \"icon-ban\", \"icon-bubble\", \"icon-camrecorder\", \"icon-camera\", \"icon-cloud-download\", \"icon-cloud-upload\", \"icon-envelope\", \"icon-eye\", \"icon-flag\", \"icon-heart\", \"icon-info\", \"icon-key\", \"icon-link\", \"icon-lock\", \"icon-lock-open\", \"icon-magnifier\", \"icon-magnifier-add\", \"icon-magnifier-remove\", \"icon-paper-clip\", \"icon-paper-plane\", \"icon-power\", \"icon-refresh\", \"icon-reload\", \"icon-settings\", \"icon-star\", \"icon-symbol-female\", \"icon-symbol-male\", \"icon-target\", \"icon-credit-card\", \"icon-paypal\", \"icon-social-tumblr\", \"icon-social-twitter\", \"icon-social-facebook\", \"icon-social-instagram\", \"icon-social-linkedin\", \"icon-social-pinterest\", \"icon-social-github\", \"icon-social-google\", \"icon-social-reddit\", \"icon-social-skype\", \"icon-social-dribbble\", \"icon-social-behance\", \"icon-social-foursqare\", \"icon-social-soundcloud\", \"icon-social-spotify\", \"icon-social-stumbleupon\", \"icon-social-youtube\", \"icon-social-dropbox\", \"icon-social-vkontakte\", \"icon-social-steam\"]\n }\n }\n};\n\n//# sourceURL=webpack://adminify/./dev/shared/icon-libraries.js?");
30
31 /***/ })
32
33 /******/ });
34 /************************************************************************/
35 /******/ // The module cache
36 /******/ var __webpack_module_cache__ = {};
37 /******/
38 /******/ // The require function
39 /******/ function __webpack_require__(moduleId) {
40 /******/ // Check if module is in cache
41 /******/ var cachedModule = __webpack_module_cache__[moduleId];
42 /******/ if (cachedModule !== undefined) {
43 /******/ return cachedModule.exports;
44 /******/ }
45 /******/ // Create a new module (and put it into the cache)
46 /******/ var module = __webpack_module_cache__[moduleId] = {
47 /******/ // no module.id needed
48 /******/ // no module.loaded needed
49 /******/ exports: {}
50 /******/ };
51 /******/
52 /******/ // Execute the module function
53 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
54 /******/
55 /******/ // Return the exports of the module
56 /******/ return module.exports;
57 /******/ }
58 /******/
59 /************************************************************************/
60 /******/ /* webpack/runtime/define property getters */
61 /******/ (() => {
62 /******/ // define getter functions for harmony exports
63 /******/ __webpack_require__.d = (exports, definition) => {
64 /******/ for(var key in definition) {
65 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
66 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
67 /******/ }
68 /******/ }
69 /******/ };
70 /******/ })();
71 /******/
72 /******/ /* webpack/runtime/hasOwnProperty shorthand */
73 /******/ (() => {
74 /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
75 /******/ })();
76 /******/
77 /******/ /* webpack/runtime/make namespace object */
78 /******/ (() => {
79 /******/ // define __esModule on exports
80 /******/ __webpack_require__.r = (exports) => {
81 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
82 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
83 /******/ }
84 /******/ Object.defineProperty(exports, '__esModule', { value: true });
85 /******/ };
86 /******/ })();
87 /******/
88 /************************************************************************/
89 /******/
90 /******/ // startup
91 /******/ // Load entry module and return exports
92 /******/ // This entry module can't be inlined because the eval devtool is used.
93 /******/ var __webpack_exports__ = __webpack_require__("./dev/admin/icon-picker-init.js");
94 /******/
95 /******/ })()
96 ;