Submit
Path:
~
/
home
/
getwphos
/
www
/
almajd14
/
wp-content
/
plugins
/
qode-wishlist-for-woocommerce
/
assets
/
blocks
/
File Content:
wishlist-table.js
(function() { "use strict"; var __webpack_modules__ = { 141: function(module, __webpack_exports__, __webpack_require__) { var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601); var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__); var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314); var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__); var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()); ___CSS_LOADER_EXPORT___.push([ module.id, `@keyframes qwfw-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.editor-styles-wrapper .qwfw-wishlist-table{position:relative;display:inline-block;width:100%;vertical-align:top;max-width:100% !important}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-section-heading{position:relative;display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:0.9rem}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-section-heading-actions{position:relative;display:flex;align-items:center;gap:20px;flex-shrink:0;margin-left:auto}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-section-heading-actions .qwfw-e-action-button{display:inline-flex;align-items:center;flex-shrink:0;padding:5px}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-section-heading-actions .qwfw-e-action-button-icon svg{display:block;width:100%;height:auto;max-width:15px;fill:currentColor}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-heading{margin:0 !important}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items.shop_table{width:100%;font-size:var(--qwfw-wt-items-font-size, 80%);margin:0;border:0}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-heading{background-color:var(--qwfw-wt-heading-bg-color, var(--qwfw-additional-background-color, #f6f6f6))}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-heading tr{vertical-align:middle;border:0}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-heading tr th{vertical-align:middle;border:0}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-heading tr th.product-remove{width:20px}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-heading tr th.product-thumbnail{width:118px}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-content-row{background-color:var(--qwfw-wt-content-bg-color, var(--qwfw-background-color, #fff));border:0;border-bottom:1px solid var(--qwfw-wt-border-color, var(--qwfw-separator-color, #ededed))}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-content-row>*{border:0;vertical-align:middle}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-content-row.qwfw--no-border{border:0}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item .qwfw-e-item-inner{width:100%}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-remove{width:20px}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-remove .qwfw-e-item-inner{line-height:1}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-remove a{display:inline-flex;align-items:center;vertical-align:middle;max-width:100%}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-remove a .qwfw-e-remove-button-icon svg{display:block;width:14px;height:auto;fill:none;stroke:currentColor}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-thumbnail a{display:block;max-width:98px}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-thumbnail a img{display:block;width:100%;height:auto}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-name .qwfw-e-item-inner{display:flex;flex-direction:column;align-items:flex-start}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-name .qwfw-e-item-inner>*{margin:0}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-name .qwfw-e-item-category{margin-bottom:0.1em}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-name .variation{display:grid;grid-template-columns:auto 1fr;column-gap:4px;margin-top:0.7em}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-name .variation *{margin:0}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-stock-status .qwfw--in-stock{color:#58b35b}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-stock-status .qwfw--out-of-stock{position:relative;color:#ec274f}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-stock-status .qwfw-e-item-stock-icon{position:absolute;top:-4px;right:-12px;color:#afafaf}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-stock-status .qwfw-e-item-stock-icon svg{display:block;fill:currentColor}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-add-to-cart .qwfw-e-item-inner{display:flex;flex-direction:column;align-items:flex-end;row-gap:10px}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-add-to-cart .qwfw-e-item-inner>*{margin:0}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-add-to-cart .qwfw-e-add-to-cart{padding:3px 6px;margin:0}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-add-to-cart .qwfw-e-add-to-cart .qwfw-spinner-icon{color:inherit}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-add-to-cart .qwfw-e-add-to-cart.added{display:none}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-add-to-cart .added_to_cart{padding:3px 6px;margin:0}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-e-item-added-date{position:relative;display:flex;flex-direction:column;width:100%;text-align:right}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-not-found>*{margin:0;text-align:center}.editor-styles-wrapper .qwfw-wishlist-table.qwfw--table-updating .qwfw-m-items{pointer-events:none;opacity:0.3}.editor-styles-wrapper .qwfw-wishlist-table{position:relative;display:inline-block;width:100%;vertical-align:top;max-width:100% !important}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-section-heading{display:flex;align-items:center;min-height:100px;padding-right:100px;padding-bottom:2rem;margin-bottom:2.666666666666667rem;border-bottom:1px solid var(--qwfw-separator-color, #ededed)}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-heading{margin:0 !important}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items.shop_table{width:100%;font-size:var(--qwfw-wt-items-font-size, 80%);margin:0;border:0}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-heading{background-color:var(--qwfw-wt-heading-bg-color, var(--qwfw-additional-background-color, #f6f6f6))}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-heading tr{vertical-align:middle;border:0}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-heading tr th{vertical-align:middle;border:0}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-heading tr th.product-thumbnail{width:118px}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-content-row{background-color:var(--qwfw-wt-content-bg-color, var(--qwfw-background-color, #fff));border:0;border-bottom:1px solid var(--qwfw-wt-border-color, var(--qwfw-separator-color, #ededed))}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-m-items-content-row>*{border:0;vertical-align:middle}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item .qwfw-e-item-inner{width:100%}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-thumbnail a{display:block;max-width:98px}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-thumbnail a img{display:block;width:100%;height:auto}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-name .qwfw-e-item-inner{display:flex;flex-direction:column;align-items:flex-start}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-name .qwfw-e-item-inner>*{margin:0}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-name .qwfw-e-item-category{margin-bottom:0.1em}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-name .variation{display:grid;grid-template-columns:auto 1fr;column-gap:4px;margin-top:0.7em}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-name .variation *{margin:0}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-stock-status .qwfw--in-stock{color:#58b35b}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-stock-status .qwfw--out-of-stock{position:relative;color:#ec274f}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-stock-status .qwfw-e-item-stock-icon{position:absolute;top:-4px;right:-12px;color:#afafaf}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-stock-status .qwfw-e-item-stock-icon svg{display:block;fill:currentColor}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-not-found>*{margin:0;text-align:center}@media only screen and (max-width: 880px){.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-section-heading{flex-direction:column;align-items:flex-start;gap:4px}.editor-styles-wrapper .qwfw-wishlist-table .qwfw-m-section-heading-actions{width:100%;justify-content:space-between;margin-left:0}}.editor-styles-wrapper .qwfw-social-share{position:relative;display:inline-block;vertical-align:top}.editor-styles-wrapper .qwfw-social-share .qwfw-m-opener{display:inline-flex;align-items:center;flex-shrink:0;column-gap:6px;padding:15px 5px;margin:0}.editor-styles-wrapper .qwfw-social-share .qwfw-m-opener svg{display:block;width:16px;height:auto;fill:none;stroke:currentColor}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-items{position:absolute;bottom:0;width:100%;left:0;visibility:hidden;z-index:950}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item{position:absolute;left:calc(50% - 40px / 2);display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;line-height:40px;background-color:#fff;border:1px solid var(--qwfw-border-color, #dadada);visibility:hidden;overflow:hidden;opacity:0;cursor:pointer;transition:opacity 0.2s ease-out,visibility 0.2s ease-out}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item:not(:first-child){border-top:none}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item:first-child{border-top-left-radius:var(--qwfw-border-radius, 8px);border-top-right-radius:var(--qwfw-border-radius, 8px)}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item:last-child{border-bottom-left-radius:var(--qwfw-border-radius, 8px);border-bottom-right-radius:var(--qwfw-border-radius, 8px)}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item:nth-child(1){bottom:-40px}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item:nth-child(2){bottom:-80px}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item:nth-child(3){bottom:-120px}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item:nth-child(4){bottom:-160px}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item:nth-child(5){bottom:-200px}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item:nth-child(6){bottom:-240px}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item:nth-child(7){bottom:-280px}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item:nth-child(8){bottom:-320px}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item a{position:relative;display:flex;align-items:center;justify-content:center;line-height:inherit;width:100%;height:100%;text-decoration:none;color:var(--qwfw-wt-social-icon-color, var(--qwfw-heading-color, #000));transition:color 0.2s ease-out}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item a>*{display:block;height:auto;max-width:var(--qwfw-wt-social-size, 15px)}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item a svg{fill:currentColor;transition:fill 0.2s ease-out}.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-item a:hover{color:var(--qwfw-wt-social-icon-hover-color, var(--qwfw-main-color, #ec274f))}.editor-styles-wrapper .qwfw-social-share:hover .qwfw-m-social-item{opacity:1;visibility:visible}.editor-styles-wrapper .qwfw-social-share:hover .qwfw-m-social-item:nth-child(2){transition-delay:.2s}.editor-styles-wrapper .qwfw-social-share:hover .qwfw-m-social-item:nth-child(3){transition-delay:.3s}.editor-styles-wrapper .qwfw-social-share:hover .qwfw-m-social-item:nth-child(4){transition-delay:.4s}.editor-styles-wrapper .qwfw-social-share:hover .qwfw-m-social-item:nth-child(5){transition-delay:.5s}.editor-styles-wrapper .qwfw-social-share:hover .qwfw-m-social-item:nth-child(6){transition-delay:.6s}.editor-styles-wrapper .qwfw-social-share:hover .qwfw-m-social-item:nth-child(7){transition-delay:.7s}.editor-styles-wrapper .qwfw-social-share:hover .qwfw-m-social-item:nth-child(8){transition-delay:.8s}@media only screen and (max-width: 880px){.editor-styles-wrapper .qwfw-social-share{flex-direction:column;align-items:flex-start}}@media only screen and (max-width: 680px){.editor-styles-wrapper .qwfw-social-share .qwfw-m-social-items{left:auto;right:40px}}\n`, "" ]); __webpack_exports__.A = ___CSS_LOADER_EXPORT___; }, 314: function(module) { module.exports = function(cssWithMappingToString) { var list = []; list.toString = function toString() { return this.map((function(item) { var content = ""; var needLayer = typeof item[5] !== "undefined"; if (item[4]) { content += "@supports (".concat(item[4], ") {"); } if (item[2]) { content += "@media ".concat(item[2], " {"); } if (needLayer) { content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {"); } content += cssWithMappingToString(item); if (needLayer) { content += "}"; } if (item[2]) { content += "}"; } if (item[4]) { content += "}"; } return content; })).join(""); }; list.i = function i(modules, media, dedupe, supports, layer) { if (typeof modules === "string") { modules = [ [ null, modules, undefined ] ]; } var alreadyImportedModules = {}; if (dedupe) { for (var k = 0; k < this.length; k++) { var id = this[k][0]; if (id != null) { alreadyImportedModules[id] = true; } } } for (var _k = 0; _k < modules.length; _k++) { var item = [].concat(modules[_k]); if (dedupe && alreadyImportedModules[item[0]]) { continue; } if (typeof layer !== "undefined") { if (typeof item[5] === "undefined") { item[5] = layer; } else { item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}"); item[5] = layer; } } if (media) { if (!item[2]) { item[2] = media; } else { item[1] = "@media ".concat(item[2], " {").concat(item[1], "}"); item[2] = media; } } if (supports) { if (!item[4]) { item[4] = "".concat(supports); } else { item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}"); item[4] = supports; } } list.push(item); } }; return list; }; }, 601: function(module) { module.exports = function(i) { return i[1]; }; }, 72: function(module) { var stylesInDOM = []; function getIndexByIdentifier(identifier) { var result = -1; for (var i = 0; i < stylesInDOM.length; i++) { if (stylesInDOM[i].identifier === identifier) { result = i; break; } } return result; } function modulesToDom(list, options) { var idCountMap = {}; var identifiers = []; for (var i = 0; i < list.length; i++) { var item = list[i]; var id = options.base ? item[0] + options.base : item[0]; var count = idCountMap[id] || 0; var identifier = "".concat(id, " ").concat(count); idCountMap[id] = count + 1; var indexByIdentifier = getIndexByIdentifier(identifier); var obj = { css: item[1], media: item[2], sourceMap: item[3], supports: item[4], layer: item[5] }; if (indexByIdentifier !== -1) { stylesInDOM[indexByIdentifier].references++; stylesInDOM[indexByIdentifier].updater(obj); } else { var updater = addElementStyle(obj, options); options.byIndex = i; stylesInDOM.splice(i, 0, { identifier, updater, references: 1 }); } identifiers.push(identifier); } return identifiers; } function addElementStyle(obj, options) { var api = options.domAPI(options); api.update(obj); var updater = function updater(newObj) { if (newObj) { if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) { return; } api.update(obj = newObj); } else { api.remove(); } }; return updater; } module.exports = function(list, options) { options = options || {}; list = list || []; var lastIdentifiers = modulesToDom(list, options); return function update(newList) { newList = newList || []; for (var i = 0; i < lastIdentifiers.length; i++) { var identifier = lastIdentifiers[i]; var index = getIndexByIdentifier(identifier); stylesInDOM[index].references--; } var newLastIdentifiers = modulesToDom(newList, options); for (var _i = 0; _i < lastIdentifiers.length; _i++) { var _identifier = lastIdentifiers[_i]; var _index = getIndexByIdentifier(_identifier); if (stylesInDOM[_index].references === 0) { stylesInDOM[_index].updater(); stylesInDOM.splice(_index, 1); } } lastIdentifiers = newLastIdentifiers; }; }; }, 659: function(module) { var memo = {}; function getTarget(target) { if (typeof memo[target] === "undefined") { var styleTarget = document.querySelector(target); if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) { try { styleTarget = styleTarget.contentDocument.head; } catch (e) { styleTarget = null; } } memo[target] = styleTarget; } return memo[target]; } function insertBySelector(insert, style) { var target = getTarget(insert); if (!target) { throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid."); } target.appendChild(style); } module.exports = insertBySelector; }, 540: function(module) { function insertStyleElement(options) { var element = document.createElement("style"); options.setAttributes(element, options.attributes); options.insert(element, options.options); return element; } module.exports = insertStyleElement; }, 56: function(module, __unused_webpack_exports, __webpack_require__) { function setAttributesWithoutAttributes(styleElement) { var nonce = true ? __webpack_require__.nc : 0; if (nonce) { styleElement.setAttribute("nonce", nonce); } } module.exports = setAttributesWithoutAttributes; }, 825: function(module) { function apply(styleElement, options, obj) { var css = ""; if (obj.supports) { css += "@supports (".concat(obj.supports, ") {"); } if (obj.media) { css += "@media ".concat(obj.media, " {"); } var needLayer = typeof obj.layer !== "undefined"; if (needLayer) { css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {"); } css += obj.css; if (needLayer) { css += "}"; } if (obj.media) { css += "}"; } if (obj.supports) { css += "}"; } var sourceMap = obj.sourceMap; if (sourceMap && typeof btoa !== "undefined") { css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */"); } options.styleTagTransform(css, styleElement, options.options); } function removeStyleElement(styleElement) { if (styleElement.parentNode === null) { return false; } styleElement.parentNode.removeChild(styleElement); } function domAPI(options) { if (typeof document === "undefined") { return { update: function update() {}, remove: function remove() {} }; } var styleElement = options.insertStyleElement(options); return { update: function update(obj) { apply(styleElement, options, obj); }, remove: function remove() { removeStyleElement(styleElement); } }; } module.exports = domAPI; }, 113: function(module) { function styleTagTransform(css, styleElement) { if (styleElement.styleSheet) { styleElement.styleSheet.cssText = css; } else { while (styleElement.firstChild) { styleElement.removeChild(styleElement.firstChild); } styleElement.appendChild(document.createTextNode(css)); } } module.exports = styleTagTransform; } }; var __webpack_module_cache__ = {}; function __webpack_require__(moduleId) { var cachedModule = __webpack_module_cache__[moduleId]; if (cachedModule !== undefined) { return cachedModule.exports; } var module = __webpack_module_cache__[moduleId] = { id: moduleId, exports: {} }; __webpack_modules__[moduleId](module, module.exports, __webpack_require__); return module.exports; } !function() { __webpack_require__.n = function(module) { var getter = module && module.__esModule ? function() { return module["default"]; } : function() { return module; }; __webpack_require__.d(getter, { a: getter }); return getter; }; }(); !function() { __webpack_require__.d = function(exports, definition) { for (var key in definition) { if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); } } }; }(); !function() { __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }; }(); !function() { __webpack_require__.nc = undefined; }(); var __webpack_exports__ = {}; !function() { var external_wp_i18n_namespaceObject = wp.i18n; var external_wp_blocks_namespaceObject = wp.blocks; var external_wp_element_namespaceObject = wp.element; var external_wp_apiFetch_namespaceObject = wp.apiFetch; var external_wp_apiFetch_default = __webpack_require__.n(external_wp_apiFetch_namespaceObject); var external_wp_components_namespaceObject = wp.components; class WishlistTableBlockEdit extends external_wp_element_namespaceObject.Component { constructor() { super(...arguments); this.state = { elementLoading: false, blockHTMLContent: "" }; } componentDidMount() { this.setState({ elementLoading: true }); external_wp_apiFetch_default()({ method: "POST", path: "/qode-wishlist-for-woocommerce/v1/render-wishlist-table" }).then((response => { this.setState({ elementLoading: false }); if ("success" === response.status) { this.setState({ blockHTMLContent: response.data }); } })); } render() { const stateInstance = { ...this.state }; let blockHTMLContent = stateInstance.blockHTMLContent; return wp.element.createElement(wp.element.Fragment, null, stateInstance.elementLoading ? wp.element.createElement("div", { className: "qode-woocommerce-block" }, wp.element.createElement(external_wp_components_namespaceObject.Spinner, null)) : wp.element.createElement("div", { className: "qode-woocommerce-block qwfw--wishlist-table", dangerouslySetInnerHTML: { __html: stateInstance.blockHTMLContent ? blockHTMLContent : (0, external_wp_i18n_namespaceObject.__)("Wishlist Table Block", "qode-wishlist-for-woocommerce") } })); } } var edit = WishlistTableBlockEdit; const blockName = "qode-wishlist-for-woocommerce/wishlist-table"; (0, external_wp_blocks_namespaceObject.registerBlockType)(blockName, { icon: { src: wp.element.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: "128", height: "128" }, wp.element.createElement("path", { d: "M 5 7 C 4.449219 7 4 7.449219 4 8 C 4 8.550781 4.449219 9 5 9 L 7.21875 9 L 9.84375 19.5 C 10.066406 20.390625 10.863281 21 11.78125 21 L 23.25 21 C 24.152344 21 24.917969 20.402344 25.15625 19.53125 L 27.75 10 L 11 10 L 11.5 12 L 25.15625 12 L 23.25 19 L 11.78125 19 L 9.15625 8.5 C 8.933594 7.609375 8.136719 7 7.21875 7 Z M 22 21 C 20.355469 21 19 22.355469 19 24 C 19 25.644531 20.355469 27 22 27 C 23.644531 27 25 25.644531 25 24 C 25 22.355469 23.644531 21 22 21 Z M 13 21 C 11.355469 21 10 22.355469 10 24 C 10 25.644531 11.355469 27 13 27 C 14.644531 27 16 25.644531 16 24 C 16 22.355469 14.644531 21 13 21 Z M 13 23 C 13.5625 23 14 23.4375 14 24 C 14 24.5625 13.5625 25 13 25 C 12.4375 25 12 24.5625 12 24 C 12 23.4375 12.4375 23 13 23 Z M 22 23 C 22.5625 23 23 23.4375 23 24 C 23 24.5625 22.5625 25 22 25 C 21.4375 25 21 24.5625 21 24 C 21 23.4375 21.4375 23 22 23 Z" })) }, title: (0, external_wp_i18n_namespaceObject.__)("Qode Wishlist Table", "qode-wishlist-for-woocommerce"), description: (0, external_wp_i18n_namespaceObject.__)("Block that displays wishlist table", "qode-wishlist-for-woocommerce"), category: "qode-woocommerce-blocks", keywords: [ (0, external_wp_i18n_namespaceObject.__)("product", "qode-wishlist-for-woocommerce"), (0, external_wp_i18n_namespaceObject.__)("woocommerce", "qode-wishlist-for-woocommerce"), (0, external_wp_i18n_namespaceObject.__)("wishlist table", "qode-wishlist-for-woocommerce"), (0, external_wp_i18n_namespaceObject.__)("qode", "qode-wishlist-for-woocommerce") ], edit }); }(); !function() { var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(72); var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__); var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(825); var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__); var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(659); var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__); var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(56); var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__); var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540); var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = __webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__); var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(113); var _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = __webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__); var _node_modules_css_loader_dist_cjs_js_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_node_modules_sass_loader_dist_cjs_js_node_modules_webpack_import_glob_loader_index_js_wishlist_table_block_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(141); var options = {}; options.styleTagTransform = _node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default(); options.setAttributes = _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default(); options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head"); options.domAPI = _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default(); options.insertStyleElement = _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default(); var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_node_modules_sass_loader_dist_cjs_js_node_modules_webpack_import_glob_loader_index_js_wishlist_table_block_scss__WEBPACK_IMPORTED_MODULE_6__.A, options); var __WEBPACK_DEFAULT_EXPORT__ = _node_modules_css_loader_dist_cjs_js_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_node_modules_sass_loader_dist_cjs_js_node_modules_webpack_import_glob_loader_index_js_wishlist_table_block_scss__WEBPACK_IMPORTED_MODULE_6__.A && _node_modules_css_loader_dist_cjs_js_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_node_modules_sass_loader_dist_cjs_js_node_modules_webpack_import_glob_loader_index_js_wishlist_table_block_scss__WEBPACK_IMPORTED_MODULE_6__.A.locals ? _node_modules_css_loader_dist_cjs_js_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_node_modules_sass_loader_dist_cjs_js_node_modules_webpack_import_glob_loader_index_js_wishlist_table_block_scss__WEBPACK_IMPORTED_MODULE_6__.A.locals : undefined; }(); })();
Submit
FILE
FOLDER
Name
Size
Permission
Action
add-to-wishlist.js
33439 bytes
0644
add-to-wishlist.min.js
19522 bytes
0644
main-editor.css
10987 bytes
0644
main-editor.min.css
5920 bytes
0644
wishlist-table.js
31340 bytes
0644
wishlist-table.min.js
19651 bytes
0644
N4ST4R_ID | Naxtarrr