array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/brand-archive-hero', 'version' => '1.0.0', 'title' => 'Rooster One Brand Archive Hero', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'format-image', 'description' => 'Per-brand hero for the brand archive (taxonomy-product_brand). Reads queried brand term, joins core_brand_vitals + dmm_brand_extras. Renders hero image, logo overlay, headline, product count, wishlist heart, rating stars.', 'keywords' => array( 'aieo', 'brand', 'archive', 'hero', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), ), 'attributes' => array( 'taxonomy' => array( 'type' => 'string', 'default' => '', ), 'termId' => array( 'type' => 'number', 'default' => 0, ), 'showCounts' => array( 'type' => 'boolean', 'default' => true, ), 'showWishlist' => array( 'type' => 'boolean', 'default' => true, ), 'showRating' => array( 'type' => 'boolean', 'default' => true, ), 'layout' => array( 'type' => 'string', 'default' => 'default', 'enum' => array( 'default', 'aurenne', ), ), 'part' => array( 'type' => 'string', 'default' => '', 'enum' => array( '', 'head', 'facts', 'link', ), ), 'showFacts' => array( 'type' => 'boolean', 'default' => true, ), ), 'render' => 'file:./render.php', 'style' => 'file:./style.css', 'viewScript' => 'file:./view.js', 'textdomain' => 'ai-eshop-optimizer', ), 'brand-azindex' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/brand-azindex', 'version' => '1.1.0', 'title' => 'Rooster One Brand A-Z Index', 'category' => 'woocommerce', 'icon' => 'list-view', 'description' => 'Server-rendered A-Z brand directory. Every letter A–Z (plus \'#\' for non-Latin brands) is always present; empty letters render disabled. Sticky letter bar + per-letter brand grid with product counts. Reads exclusively from wp_aieo_core_brand_vitals.', 'keywords' => array( 'aieo', 'brands', 'a-z', 'directory', 'catalogue', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), ), 'attributes' => array( 'showCounts' => array( 'type' => 'boolean', 'default' => true, ), 'showLogos' => array( 'type' => 'boolean', 'default' => true, ), 'stickyBar' => array( 'type' => 'boolean', 'default' => true, ), 'headingLevel' => array( 'type' => 'string', 'default' => 'h2', 'enum' => array( 'h2', 'h3', 'h4', ), ), 'showHashBucket' => array( 'type' => 'boolean', 'default' => true, ), 'layout' => array( 'type' => 'string', 'default' => 'default', 'enum' => array( 'default', 'aurenne', ), ), 'title' => array( 'type' => 'string', 'default' => '', ), 'lead' => array( 'type' => 'string', 'default' => '', ), 'focus' => array( 'type' => 'integer', 'default' => 3, 'minimum' => 0, 'maximum' => 3, ), ), 'render' => 'file:./render.php', 'viewScript' => 'file:./view.js', 'editorScript' => 'file:./edit.js', 'style' => 'file:./style.css', 'textdomain' => 'ai-eshop-optimizer', ), 'brand-rails' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/brand-rails', 'version' => '1.1.0', 'title' => 'Rooster One Brand Rails', 'category' => 'woocommerce', 'icon' => 'category', 'description' => 'Stacked curated brand rails (Featured / New / Your Favourites / Top). Each rail has its own count and slides-per-view, configurable in the inspector.', 'keywords' => array( 'aieo', 'brands', 'rails', 'discovery', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), ), 'attributes' => array( 'showFeatured' => array( 'type' => 'boolean', 'default' => true, ), 'showNew' => array( 'type' => 'boolean', 'default' => true, ), 'showFavourites' => array( 'type' => 'boolean', 'default' => true, ), 'showTop' => array( 'type' => 'boolean', 'default' => false, ), 'newMode' => array( 'type' => 'string', 'default' => 'new_product', 'enum' => array( 'new_product', 'new_brand', ), ), 'topLimit' => array( 'type' => 'number', 'default' => 0, ), 'featuredLimit' => array( 'type' => 'number', 'default' => 0, ), 'newLimit' => array( 'type' => 'number', 'default' => 0, ), 'favouritesLimit' => array( 'type' => 'number', 'default' => 0, ), 'topSlidesPerView' => array( 'type' => 'number', 'default' => 0, ), 'featuredSlidesPerView' => array( 'type' => 'number', 'default' => 0, ), 'newSlidesPerView' => array( 'type' => 'number', 'default' => 0, ), 'favouritesSlidesPerView' => array( 'type' => 'number', 'default' => 0, ), 'limitPerRail' => array( 'type' => 'number', 'default' => 10, ), 'slidesPerView' => array( 'type' => 'number', 'default' => 5, ), ), 'render' => 'file:./render.php', 'editorScript' => 'file:./edit.js', 'style' => 'file:./style.css', 'textdomain' => 'ai-eshop-optimizer', ), 'brand-related' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/brand-related', 'version' => '1.0.0', 'title' => 'Rooster One Brand Related', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'admin-links', 'description' => 'Cross-link strip for the brand archive: related product categories (chips), related blog articles (3-card row), and \'other brands you love\' for logged-in viewers. Reads wp_aieo_dmm_term_relations + customer brand affinity.', 'keywords' => array( 'aieo', 'brand', 'related', 'cross-sell', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), 'typography' => array( 'fontSize' => true, 'lineHeight' => true, ), 'color' => array( 'background' => true, 'text' => true, ), ), 'attributes' => array( 'taxonomy' => array( 'type' => 'string', 'default' => '', ), 'termId' => array( 'type' => 'number', 'default' => 0, ), 'showCategories' => array( 'type' => 'boolean', 'default' => true, ), 'showArticles' => array( 'type' => 'boolean', 'default' => true, ), 'showOtherBrands' => array( 'type' => 'boolean', 'default' => true, ), 'articlesLimit' => array( 'type' => 'number', 'default' => 3, ), 'otherBrandsLimit' => array( 'type' => 'number', 'default' => 6, ), 'layout' => array( 'type' => 'string', 'default' => 'horizontal', 'enum' => array( 'horizontal', 'vertical', 'aurenne', ), ), 'otherBrandsFrom' => array( 'type' => 'string', 'default' => 'affinity', 'enum' => array( 'affinity', 'categories', ), ), ), 'render' => 'file:./render.php', 'viewStyle' => array( 'file:./style.css', 'aieo-article-cards', ), 'textdomain' => 'ai-eshop-optimizer', ), 'brand-slider' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/brand-slider', 'version' => '1.1.0', 'title' => 'Rooster One Brand Slider', 'category' => 'woocommerce', 'icon' => 'slides', 'description' => 'Brand carousel. Modes: top, new_brand, new_product, favourites (per-user affinity), manual. Server-renders the cards as a scroll-snap row in the theme\'s look (on Rooster Zero the theme\'s card surface and motion); arrows on pointer screens, a swiped strip on phones.', 'keywords' => array( 'aieo', 'brands', 'slider', 'carousel', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), ), 'attributes' => array( 'mode' => array( 'type' => 'string', 'default' => 'top', 'enum' => array( 'top', 'new_brand', 'new_product', 'favourites', 'manual', ), ), 'limit' => array( 'type' => 'number', 'default' => 10, ), 'slidesPerView' => array( 'type' => 'number', 'default' => 5, ), 'title' => array( 'type' => 'string', 'default' => '', ), 'subtitle' => array( 'type' => 'string', 'default' => '', ), 'headingFeature' => array( 'type' => 'boolean', 'default' => false, ), 'ctaLabel' => array( 'type' => 'string', 'default' => '', ), 'ctaUrl' => array( 'type' => 'string', 'default' => '', ), 'manualBrandIds' => array( 'type' => 'array', 'default' => array(), ), 'showCounts' => array( 'type' => 'boolean', 'default' => false, ), 'cardStyle' => array( 'type' => 'string', 'default' => 'hero', 'enum' => array( 'hero', 'logo', ), ), ), 'render' => 'file:./render.php', 'editorScript' => 'file:./edit.js', 'viewScript' => 'file:./view.js', 'style' => 'file:./style.css', 'textdomain' => 'ai-eshop-optimizer', ), 'brand-story' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/brand-story', 'version' => '1.0.0', 'title' => 'Rooster One Brand Story', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'editor-paragraph', 'description' => 'Renders brand long-form copy (history, ambassadors, importer, footer) on the brand archive page. Reads queried brand term + wp_aieo_dmm_brand_extras. Emits nothing for sections with no copy.', 'keywords' => array( 'aieo', 'brand', 'story', 'history', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), 'typography' => array( 'fontSize' => true, 'lineHeight' => true, ), 'color' => array( 'background' => true, 'text' => true, ), ), 'attributes' => array( 'taxonomy' => array( 'type' => 'string', 'default' => '', ), 'termId' => array( 'type' => 'number', 'default' => 0, ), 'showHistory' => array( 'type' => 'boolean', 'default' => true, ), 'showAmbassadors' => array( 'type' => 'boolean', 'default' => true, ), 'showWebsite' => array( 'type' => 'boolean', 'default' => true, ), 'showFooter' => array( 'type' => 'boolean', 'default' => false, ), 'layout' => array( 'type' => 'string', 'default' => 'default', 'enum' => array( 'default', 'aurenne', ), ), ), 'render' => 'file:./render.php', 'style' => 'file:./style.css', 'textdomain' => 'ai-eshop-optimizer', ), 'breadcrumb' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/breadcrumb', 'version' => '1.0.0', 'title' => 'Rooster One Breadcrumb', 'editorScript' => 'file:./edit.js', 'category' => 'theme', 'icon' => 'menu-alt', 'description' => 'SEO-consistent breadcrumb. Uses the SAME pinned canonical category as Rooster One\'s canonical URL and JSON-LD BreadcrumbList, so the visible trail never disagrees with what Google reads.', 'keywords' => array( 'aieo', 'breadcrumb', 'seo', 'navigation', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), 'typography' => array( 'fontSize' => true, 'lineHeight' => true, ), 'color' => array( 'background' => true, 'text' => true, 'link' => true, ), ), 'attributes' => array( 'postId' => array( 'type' => 'number', 'default' => 0, ), 'taxonomy' => array( 'type' => 'string', 'default' => '', ), 'termId' => array( 'type' => 'number', 'default' => 0, ), 'separator' => array( 'type' => 'string', 'default' => '›', ), ), 'render' => 'file:./render.php', 'viewStyle' => 'file:./style.css', 'textdomain' => 'ai-eshop-optimizer', ), 'competition-status' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/competition-status', 'version' => '1.0.1', 'title' => 'Competition status', 'category' => 'widgets', 'icon' => 'clock', 'description' => 'A competition\'s status (active / ended / coming) plus the relevant date — until the end date while active, the end date once ended, the start date before it begins. Use inside a competitions query loop, or on a competition page.', 'textdomain' => 'ai-eshop-optimizer', 'keywords' => array( 'competition', 'status', 'giveaway', 'date', ), 'usesContext' => array( 'postId', ), 'attributes' => array( 'competitionId' => array( 'type' => 'number', 'default' => 0, ), ), 'supports' => array( 'html' => false, 'align' => false, ), 'style' => 'file:./style.css', 'render' => 'file:./render.php', ), 'competition' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/competition', 'title' => 'Competition', 'category' => 'theme', 'icon' => 'awards', 'description' => 'Renders a competition — hero image, title, short description, the entry form and share buttons. Auto-binds to the competition page it\'s placed on, or pick a specific competition.', 'keywords' => array( 'competition', 'giveaway', 'contest', 'gravity form', 'diagonismos', ), 'textdomain' => 'ai-eshop-optimizer', 'usesContext' => array( 'postId', ), 'attributes' => array( 'competitionId' => array( 'type' => 'number', 'default' => 0, ), ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), ), 'editorScript' => 'file:./edit.js', 'style' => 'file:./style.css', 'render' => 'file:./render.php', ), 'contact-form' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/contact-form', 'title' => 'Contact Form', 'category' => 'widgets', 'icon' => 'email', 'description' => 'The Rooster One contact form: saves every message, notifies your staff and thanks the visitor by email. Choose the fields, which are required and the layout per placement; the defaults live under Rooster One > Contact Form. Or choose the Panel look to place one of your own forms (Rooster One\'s forms, their fields and layout yours) in a landing\'s form panel.', 'keywords' => array( 'contact', 'form', 'enquiry', 'message', 'aieo', ), 'textdomain' => 'ai-eshop-optimizer', 'attributes' => array( 'title' => array( 'type' => 'string', 'default' => '', ), 'intro' => array( 'type' => 'string', 'default' => '', ), 'companyLabel' => array( 'type' => 'string', 'default' => '', ), 'button' => array( 'type' => 'string', 'default' => '', ), 'fields' => array( 'type' => 'string', 'default' => '', ), 'required' => array( 'type' => 'string', 'default' => '', ), 'names' => array( 'type' => 'string', 'default' => '', ), 'rows' => array( 'type' => 'number', 'default' => 0, ), 'variant' => array( 'type' => 'string', 'default' => '', 'enum' => array( '', 'panel', ), ), 'form' => array( 'type' => 'string', 'default' => '', ), 'layout' => array( 'type' => 'string', 'default' => '', 'enum' => array( '', 'card', 'wash', ), ), 'tone' => array( 'type' => 'string', 'default' => '', ), 'eyebrow' => array( 'type' => 'string', 'default' => '', ), 'badge' => array( 'type' => 'string', 'default' => '', ), 'icon' => array( 'type' => 'string', 'default' => '', ), 'level' => array( 'type' => 'number', 'default' => 2, ), ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), ), 'editorScript' => 'file:./edit.js', 'render' => 'file:./render.php', ), 'custom-slot' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/custom-slot', 'version' => '1.0.0', 'title' => 'Rooster One Custom Slot', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'edit-page', 'description' => 'Renders one operator-defined slot (Tolstoy widget OR free-form HTML/code) from the Custom Slots admin store. Used inside the single-product recommendations cluster so each slot can be drag-positioned alongside the built-in reco rails. Resolve target via slotId.', 'keywords' => array( 'aieo', 'tolstoy', 'embed', 'recommendations', 'slot', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), ), 'attributes' => array( 'slotId' => array( 'type' => 'string', 'default' => '', ), ), 'render' => 'file:./render.php', 'textdomain' => 'ai-eshop-optimizer', ), 'custom-slots-region' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/custom-slots-region', 'version' => '1.0.0', 'title' => 'Rooster One Custom Slots Region', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'screenoptions', 'description' => 'Placeholder block that, at render time, enumerates every enabled slot from the Custom Slots admin store and emits each as a sibling div. Designed to sit inside the .ff-recommendations-cluster flex container so each slot participates in the Recommendations Ordering CSS (`order:` / `display:none`) alongside the built-in aieo/recos rails. This block emits NO wrapper of its own — slot divs are direct flex children of the parent group.', 'keywords' => array( 'aieo', 'slots', 'recommendations', 'tolstoy', ), 'supports' => array( 'html' => false, 'align' => false, 'spacing' => array( 'margin' => true, 'padding' => true, ), 'typography' => array( 'fontSize' => true, 'lineHeight' => true, ), 'color' => array( 'background' => true, 'text' => true, ), ), 'attributes' => array(), 'render' => 'file:./render.php', 'textdomain' => 'ai-eshop-optimizer', ), 'data-table' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/data-table', 'title' => 'Rooster One Data Table', 'category' => 'woocommerce', 'icon' => 'list-view', 'description' => 'A searchable, filterable table of your products on the storefront, with type-ahead search, dropdown filters and paging.', 'keywords' => array( 'aieo', 'table', 'finder', 'search', 'filter', 'products', 'catalogue', ), 'textdomain' => 'ai-eshop-optimizer', 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), ), 'attributes' => array( 'table' => array( 'type' => 'string', 'default' => 'fast_finder', ), 'perPage' => array( 'type' => 'number', 'default' => 10, ), ), ), 'dmm-bridge' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/dmm-bridge', 'version' => '1.0.0', 'title' => 'Rooster One DMM Module Bridge', 'category' => 'woocommerce', 'icon' => 'screenoptions', 'description' => 'Renders any Rooster One DMM module (waitlist, complementary, etc.) on a block-themed PDP. Generic dispatcher that calls the module\'s render method via `AIEO_DMM::instance()->get_module(id)`. Use `renderMethod` to pick which method to invoke when the module\'s render entry point isn\'t named `output()` — e.g. waitlist exposes `render_form_hook()`, complementary exposes `render_for_current_product()`. Mirrors the pattern of `aieo/om-ppe-bridge` for the Rooster One DMM module registry.', 'keywords' => array( 'aieo', 'dmm', 'bridge', 'waitlist', 'complementary', ), 'ancestor' => array( 'core/template', 'core/post-template', 'woocommerce/single-product', ), 'supports' => array( 'html' => false, 'align' => false, 'spacing' => array( 'margin' => true, 'padding' => false, ), ), 'attributes' => array( 'moduleId' => array( 'type' => 'string', 'default' => '', ), 'renderMethod' => array( 'type' => 'string', 'default' => 'output', ), 'zone' => array( 'type' => 'string', 'default' => '', ), 'clusterId' => array( 'type' => 'string', 'default' => '', ), ), 'usesContext' => array( 'postId', 'postType', ), 'render' => 'file:./render.php', 'textdomain' => 'ai-eshop-optimizer', ), 'event-details' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/event-details', 'version' => '1.0.0', 'title' => 'Event details', 'category' => 'theme', 'icon' => 'calendar-alt', 'description' => 'An event\'s own details: whether it is upcoming, on now or ended, when, where (with directions) and the date to register by. On an event\'s page it shows at the top of the content unless you place it elsewhere; it also works inside an events query loop.', 'keywords' => array( 'event', 'date', 'location', 'rsvp', 'ekdilosi', ), 'textdomain' => 'ai-eshop-optimizer', 'usesContext' => array( 'postId', ), 'attributes' => array( 'eventId' => array( 'type' => 'number', 'default' => 0, ), ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), ), 'style' => 'file:./style.css', 'render' => 'file:./render.php', ), 'event-registration' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/event-registration', 'title' => 'Event Registration', 'editorScript' => 'file:./edit.js', 'category' => 'theme', 'icon' => 'calendar-alt', 'description' => 'A self-registration form for an event — guests sign up by email and are taken to their RSVP page. Auto-binds to the event it\'s placed on, or pick a specific event.', 'keywords' => array( 'event', 'registration', 'rsvp', 'signup', 'ekdilosi', ), 'textdomain' => 'ai-eshop-optimizer', 'usesContext' => array( 'postId', ), 'attributes' => array( 'eventId' => array( 'type' => 'number', 'default' => 0, ), ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), ), 'render' => 'file:./render.php', ), 'favourite' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/favourite', 'version' => '1.0.0', 'title' => 'Rooster One Favourite', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'heart', 'description' => 'The heart of a brand, a product category, a need or a blog post: keeps it in the visitor\'s favourites (the same list as Favourites in the account and the side cart). Without an item set, the post in context or the archive\'s term.', 'keywords' => array( 'aieo', 'favourite', 'wishlist', 'heart', 'brand', 'follow', ), 'supports' => array( 'html' => false, 'reusable' => false, ), 'attributes' => array( 'itemType' => array( 'type' => 'string', 'default' => '', 'enum' => array( '', 'brand', 'product_cat', 'pa-need', 'post', ), ), 'itemId' => array( 'type' => 'number', 'default' => 0, ), 'look' => array( 'type' => 'string', 'default' => 'icon', 'enum' => array( 'icon', 'button', ), ), ), 'usesContext' => array( 'postId', 'postType', ), 'render' => 'file:./render.php', 'style' => 'file:./style.css', 'viewScript' => 'file:./view.js', 'textdomain' => 'ai-eshop-optimizer', ), 'form-button' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/form-button', 'version' => '1.0.0', 'title' => 'Form Button', 'category' => 'widgets', 'icon' => 'button', 'description' => 'A button that asks for one of your forms: it opens the form in a window, or goes to the page that holds it. Its words and what it opens are the form\'s own (Rooster One > Forms, the form\'s Button box); a placement may change them.', 'keywords' => array( 'form', 'button', 'request', 'enquiry', 'aieo', ), 'textdomain' => 'ai-eshop-optimizer', 'attributes' => array( 'form' => array( 'type' => 'string', 'default' => '', ), 'label' => array( 'type' => 'string', 'default' => '', ), 'opens' => array( 'type' => 'string', 'default' => '', 'enum' => array( '', 'modal', 'page', ), ), 'page' => array( 'type' => 'number', 'default' => 0, ), 'contact' => array( 'type' => 'string', 'default' => '', ), 'icons' => array( 'type' => 'string', 'default' => '', 'enum' => array( '', 'show', 'hide', ), ), 'location' => array( 'type' => 'string', 'default' => '', ), ), 'supports' => array( 'html' => false, 'spacing' => array( 'margin' => true, ), ), 'editorScript' => 'file:./edit.js', 'render' => 'file:./render.php', ), 'free-shipping-pdp' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/free-shipping-pdp', 'version' => '1.2.0', 'title' => 'Rooster One Free Shipping (PDP bar)', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'cart', 'description' => 'Per-product free-shipping progress bar. Reads threshold + messages + appearance from AIEO_DMM_Free_Shipping (admin: DMM → Free Shipping + COD) and the current cart subtotal from WC()->cart. Self-hides when the operator\'s `display_product` setting is off, when the threshold is 0, when the product is on the no-free-shipping exclusion list, or when the cart is empty AND the operator chose to suppress the empty-cart message. Updates client-side on every cart change via a tiny REST poll.', 'keywords' => array( 'aieo', 'free-shipping', 'pdp', 'progress-bar', 'upsell', ), 'ancestor' => array( 'core/template', 'core/post-template', 'woocommerce/single-product', ), 'supports' => array( 'html' => false, 'align' => false, 'spacing' => array( 'margin' => true, 'padding' => true, ), ), 'usesContext' => array( 'postId', 'postType', ), 'render' => 'file:./render.php', 'viewScript' => 'file:./view.js', 'style' => 'file:./style.css', 'textdomain' => 'ai-eshop-optimizer', ), 'latest-posts-overlay' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/latest-posts-overlay', 'version' => '1.1.0', 'title' => 'Rooster One Latest Posts Overlay', 'category' => 'theme', 'icon' => 'format-image', 'description' => 'The latest blog posts as cards on their pictures. The journal (the default): a head with its title and "All stories", then a row of cards, each the picture under the theme\'s photo scrim with the category and the title over it, a row that swipes on a tablet and a phone. The overlay and the glass looks: a grid with a category badge, a slider on a phone.', 'keywords' => array( 'aieo', 'blog', 'latest posts', 'overlay', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), 'typography' => array( 'fontSize' => true, 'lineHeight' => true, ), 'color' => array( 'background' => true, 'text' => true, ), ), 'attributes' => array( 'posts' => array( 'type' => 'number', 'default' => 3, ), 'imageSize' => array( 'type' => 'string', 'default' => 'medium', ), 'excludeCurrent' => array( 'type' => 'boolean', 'default' => true, ), 'cardStyle' => array( 'type' => 'string', 'default' => 'journal', 'enum' => array( 'journal', 'overlay', 'glass', ), ), 'secHeading' => array( 'type' => 'string', 'default' => '', ), 'secHeadingFeature' => array( 'type' => 'boolean', 'default' => false, ), 'secAlign' => array( 'type' => 'string', 'default' => 'left', ), 'allText' => array( 'type' => 'string', 'default' => '', ), 'allHref' => array( 'type' => 'string', 'default' => '', ), 'showAll' => array( 'type' => 'boolean', 'default' => true, ), 'level' => array( 'type' => 'number', 'default' => 2, ), ), 'render' => 'file:./render.php', 'editorScript' => 'file:./edit.js', 'viewStyle' => 'file:./style.css', 'viewScript' => 'file:./view.js', 'textdomain' => 'ai-eshop-optimizer', ), 'lowest-price-message' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/lowest-price-message', 'version' => '1.1.0', 'title' => 'Rooster One Lowest Price Message', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'tag', 'description' => 'EU Omnibus: on on-sale products, shows the operator-configured message with the lowest price before the reduction. Auto-hides when the product is not on sale.', 'keywords' => array( 'aieo', 'product', 'price', 'omnibus', 'sale', 'lowest', ), 'ancestor' => array( 'core/template', 'core/post-template', 'woocommerce/single-product', ), 'supports' => array( 'html' => false, 'align' => false, 'spacing' => array( 'margin' => true, 'padding' => true, ), ), 'attributes' => array(), 'usesContext' => array( 'postId', 'postType', ), 'render' => 'file:./render.php', 'style' => 'file:./style.css', 'textdomain' => 'ai-eshop-optimizer', ), 'loyalty-connection' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/loyalty-connection', 'version' => '1.0.0', 'title' => 'Rooster One Loyalty Connection', 'editorScript' => 'file:./edit.js', 'category' => 'widgets', 'icon' => 'id-alt', 'description' => 'Bonus-card loyalty — connect/identify, then show the most recent points.', 'textdomain' => 'ai-eshop-optimizer', 'supports' => array( 'html' => false, 'align' => true, 'spacing' => array( 'margin' => true, 'padding' => true, ), 'typography' => array( 'fontSize' => true, 'lineHeight' => true, ), 'color' => array( 'background' => true, 'text' => true, ), ), 'render' => 'file:./render.php', ), 'popup-panel' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/popup-panel', 'version' => '1.0.0', 'title' => 'Rooster One Popup Panel', 'editorScript' => 'file:./edit.js', 'category' => 'design', 'icon' => 'external', 'description' => 'The split layout for a popup: a content pane you fill with any blocks, and a full-bleed image pane that sits beside it on desktop and moves above it on mobile — with a separate mobile image so a landscape photo never gets cropped to nothing on a phone. Built for the aieo_popup post type, but usable inline on any page.', 'keywords' => array( 'aieo', 'popup', 'modal', 'announcement', 'promotion', 'overlay', ), 'supports' => array( 'html' => false, 'align' => false, 'anchor' => true, 'spacing' => array( 'padding' => true, ), 'typography' => array( 'fontSize' => true, 'lineHeight' => true, ), ), 'attributes' => array( 'desktopImageId' => array( 'type' => 'number', 'default' => 0, ), 'mobileImageId' => array( 'type' => 'number', 'default' => 0, ), 'imageAlt' => array( 'type' => 'string', 'default' => '', ), 'mediaSide' => array( 'type' => 'string', 'default' => 'right', ), 'mediaWidth' => array( 'type' => 'string', 'default' => '360px', ), 'mobileMediaHeight' => array( 'type' => 'string', 'default' => '200px', ), 'boxWidth' => array( 'type' => 'string', 'default' => '940px', ), 'boxHeight' => array( 'type' => 'string', 'default' => '470px', ), 'bgColor' => array( 'type' => 'string', 'default' => '#232323', ), 'textColor' => array( 'type' => 'string', 'default' => '#ffffff', ), 'accentColor' => array( 'type' => 'string', 'default' => '#b7d21d', ), ), 'render' => 'file:./render.php', 'style' => 'file:./style.css', 'textdomain' => 'ai-eshop-optimizer', ), 'post-meta' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/post-meta', 'version' => '1.0.0', 'title' => 'Rooster One Product Post Meta (SKU + Barcodes)', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'list-view', 'description' => 'Renders the SKU + per-variation barcode rows for the current product. Wraps AIEO_DMM_Product_Meta — the same module the `[om_ppe_product_meta]` shortcode uses (admin-configurable via DMM settings: show_sku, show_barcode, label customisation). On variable products the barcode row expands to one barcode per variation, hidden behind a `+ more` toggle.', 'keywords' => array( 'aieo', 'product', 'meta', 'sku', 'barcode', 'ean', ), 'ancestor' => array( 'core/template', 'core/post-template', 'woocommerce/single-product', ), 'supports' => array( 'html' => false, 'align' => false, 'spacing' => array( 'margin' => true, ), ), 'attributes' => array( 'zone' => array( 'type' => 'string', 'default' => '', ), ), 'usesContext' => array( 'postId', 'postType', ), 'render' => 'file:./render.php', 'textdomain' => 'ai-eshop-optimizer', ), 'post-related-brands' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/post-related-brands', 'version' => '1.0.0', 'title' => 'Rooster One Post Related Brands', 'editorScript' => 'file:./edit.js', 'category' => 'theme', 'icon' => 'format-gallery', 'description' => 'Brand-logo slider for the current blog post. Reads wp_aieo_dmm_term_relations for product_brand → post edges.', 'keywords' => array( 'aieo', 'brand', 'slider', 'blog', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), ), 'attributes' => array( 'autoRotate' => array( 'type' => 'boolean', 'default' => true, ), 'rotateMs' => array( 'type' => 'number', 'default' => 4000, ), 'imageSize' => array( 'type' => 'string', 'default' => 'medium', ), 'layout' => array( 'type' => 'string', 'default' => 'slider', 'enum' => array( 'slider', 'rows', ), ), 'limit' => array( 'type' => 'number', 'default' => 4, ), 'heading' => array( 'type' => 'string', 'default' => '', ), ), 'usesContext' => array( 'postId', 'postType', ), 'render' => 'file:./render.php', 'viewStyle' => 'file:./style.css', 'viewScript' => 'file:./view.js', 'textdomain' => 'ai-eshop-optimizer', ), 'post-related-categories' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/post-related-categories', 'version' => '1.0.0', 'title' => 'Rooster One Post Related Product Categories', 'editorScript' => 'file:./edit.js', 'category' => 'theme', 'icon' => 'list-view', 'description' => 'Dropdown of related product categories for the current blog post. Reads wp_aieo_dmm_term_relations for product_cat → post edges.', 'keywords' => array( 'aieo', 'category', 'blog', 'related', ), 'supports' => array( 'html' => false, 'spacing' => array( 'margin' => true, 'padding' => true, ), 'typography' => array( 'fontSize' => true, 'lineHeight' => true, ), 'color' => array( 'background' => true, 'text' => true, ), ), 'attributes' => array( 'label' => array( 'type' => 'string', 'default' => '', ), 'layout' => array( 'type' => 'string', 'default' => 'dropdown', 'enum' => array( 'dropdown', 'rows', ), ), 'limit' => array( 'type' => 'number', 'default' => 4, ), 'heading' => array( 'type' => 'string', 'default' => '', ), ), 'usesContext' => array( 'postId', 'postType', ), 'render' => 'file:./render.php', 'viewStyle' => 'file:./style.css', 'viewScriptModule' => 'file:./view.js', 'textdomain' => 'ai-eshop-optimizer', ), 'post-related-needs' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/post-related-needs', 'version' => '1.0.0', 'title' => 'Rooster One Post Related Needs', 'editorScript' => 'file:./edit.js', 'category' => 'theme', 'icon' => 'tag', 'description' => 'Need-tag chips for the current blog post. Reads wp_aieo_dmm_term_relations for pa_need → post edges. Each chip links to the need archive. With include (a list of taxonomies) it shows the post\'s other links too: its product categories, needs and brands, and its own tags (post_tag). Display row: one row of chips at the start, the post\'s foot.', 'keywords' => array( 'aieo', 'need', 'tags', 'blog', 'related', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), 'typography' => array( 'fontSize' => true, 'lineHeight' => true, ), 'color' => array( 'background' => true, 'text' => true, ), ), 'attributes' => array( 'heading' => array( 'type' => 'string', 'default' => '', ), 'include' => array( 'type' => 'string', 'default' => 'pa_need', ), 'display' => array( 'type' => 'string', 'default' => 'stack', 'enum' => array( 'stack', 'row', ), ), ), 'usesContext' => array( 'postId', 'postType', ), 'render' => 'file:./render.php', 'viewStyle' => 'file:./style.css', 'textdomain' => 'ai-eshop-optimizer', ), 'product-card-swatches' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/product-card-swatches', 'version' => '1.1.0', 'title' => 'Rooster One Product Swatches', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'art', 'description' => 'Variation swatches for a product. Inside a block product loop it picks up the current product automatically; anywhere else, set a product ID. Renders the same cached swatch HTML every other placement uses.', 'keywords' => array( 'aieo', 'swatches', 'variation', 'product', 'archive', ), 'usesContext' => array( 'postId', 'postType', 'queryId', ), 'supports' => array( 'html' => false, 'align' => false, 'spacing' => array( 'margin' => true, 'padding' => true, ), 'interactivity' => array( 'clientNavigation' => true, ), ), 'attributes' => array( 'renderContext' => array( 'type' => 'string', 'enum' => array( 'archive', 'product', ), 'default' => 'archive', ), 'productId' => array( 'type' => 'number', 'default' => 0, ), ), 'render' => 'file:./render.php', 'textdomain' => 'ai-eshop-optimizer', ), 'product-needs' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/product-needs', 'version' => '1.0.0', 'title' => 'Rooster One Product Needs', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'tag', 'description' => 'Renders the \'This product covers:\' Επιθυμίες (needs) list for the current single-product page. Wraps the existing AIEO_DMM_Product_Needs renderer so non-block themes keep their PHP path; on a block-themed PDP this is the canonical entry. Reads from `wp_aieo_dmm_product_needs` and `pa_need` taxonomy.', 'keywords' => array( 'aieo', 'product', 'needs', 'επιθυμίες', ), 'ancestor' => array( 'core/template', 'core/post-template', 'woocommerce/single-product', ), 'supports' => array( 'html' => false, 'align' => false, 'spacing' => array( 'margin' => true, ), ), 'usesContext' => array( 'postId', 'postType', ), 'render' => 'file:./render.php', 'textdomain' => 'ai-eshop-optimizer', ), 'product-request' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/product-request', 'title' => 'Product Request', 'category' => 'woocommerce', 'icon' => 'email-alt', 'description' => 'An ask-for-a-quote card. Place it on a product template, a category template, a landing page or a pattern: anywhere the dmm-bridge cannot reach.', 'keywords' => array( 'quote', 'request', 'enquiry', 'contact', 'catalogue', 'aieo', ), 'textdomain' => 'ai-eshop-optimizer', 'usesContext' => array( 'postId', ), 'attributes' => array( 'type' => array( 'type' => 'string', 'default' => '', ), 'productId' => array( 'type' => 'number', 'default' => 0, ), 'layout' => array( 'type' => 'string', 'default' => 'compact', ), 'title' => array( 'type' => 'string', 'default' => '', ), 'button' => array( 'type' => 'string', 'default' => '', ), 'fields' => array( 'type' => 'string', 'default' => '', ), ), 'supports' => array( 'html' => false, 'align' => array( 'wide', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), ), 'render' => 'file:./render.php', ), 'product-slider' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/product-slider', 'version' => '1.0.0', 'title' => 'Rooster One Product Slider', 'category' => 'woocommerce', 'icon' => 'slides', 'description' => 'A horizontal product slider with the SAME look as the product-page recommendations (thin uppercase title + line, then cards). Set the title manually and pick products by category, tag and/or specific product IDs, or show the products of the post it is placed with (source: post). Layout list: one compact row per product (picture, brand, name, price), the post\'s «Shop the story».', 'keywords' => array( 'aieo', 'product', 'slider', 'carousel', 'recommendations', 'woocommerce', 'tag', 'category', 'shop the story', 'list', ), 'textdomain' => 'ai-eshop-optimizer', 'usesContext' => array( 'postId', 'postType', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), 'spacing' => array( 'margin' => true, ), ), 'attributes' => array( 'title' => array( 'type' => 'string', 'default' => '', ), 'categories' => array( 'type' => 'string', 'default' => '', ), 'tags' => array( 'type' => 'string', 'default' => '', ), 'productIds' => array( 'type' => 'string', 'default' => '', ), 'limit' => array( 'type' => 'number', 'default' => 12, ), 'orderby' => array( 'type' => 'string', 'default' => 'date', 'enum' => array( 'date', 'popularity', 'rating', 'price', 'price-desc', 'rand', 'menu_order', ), ), 'showRating' => array( 'type' => 'boolean', 'default' => false, ), 'source' => array( 'type' => 'string', 'default' => '', 'enum' => array( '', 'post', ), ), 'layout' => array( 'type' => 'string', 'default' => 'slider', 'enum' => array( 'slider', 'list', ), ), ), 'render' => 'file:./render.php', 'editorScript' => 'file:./edit.js', 'style' => 'aieo-recommendations', ), 'product-variations-gallery' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/product-variations-gallery', 'version' => '1.0.0', 'title' => 'Rooster One Product Variations Gallery', 'category' => 'woocommerce', 'icon' => 'format-gallery', 'description' => 'Variation-aware product gallery: when a shopper selects a variation, the main product image and its gallery swap in place to that variation\'s own images. Reads each variation\'s existing image set, so there is no data migration.', 'keywords' => array( 'aieo', 'product', 'gallery', 'variations', 'pdp', ), 'ancestor' => array( 'core/template', 'core/post-template', 'woocommerce/single-product', ), 'usesContext' => array( 'postId', ), 'supports' => array( 'html' => false, 'align' => false, 'spacing' => array( 'margin' => false, 'padding' => false, ), ), 'render' => 'file:./render.php', 'editorScript' => 'file:./edit.js', 'viewScript' => 'file:./view.js', 'style' => 'file:./style.css', 'textdomain' => 'ai-eshop-optimizer', ), 'professional-signup' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/professional-signup', 'version' => '1.0.0', 'title' => 'Rooster One Professional Signup', 'editorScript' => 'file:./edit.js', 'style' => 'rooster-lib-form-panel', 'category' => 'widgets', 'icon' => 'businessperson', 'description' => 'A professional or student account application: the site\'s own form, approved on its Answers, or Gravity Forms. With filter role-price, the shop filters\' PRO only switch.', 'attributes' => array( 'kind' => array( 'type' => 'string', 'default' => 'professional', 'enum' => array( 'professional', 'student', ), ), 'filter' => array( 'type' => 'string', 'default' => '', 'enum' => array( '', 'role-price', ), ), ), 'textdomain' => 'ai-eshop-optimizer', 'supports' => array( 'html' => false, 'align' => true, 'spacing' => array( 'margin' => true, 'padding' => true, ), 'typography' => array( 'fontSize' => true, 'lineHeight' => true, ), 'color' => array( 'background' => true, 'text' => true, ), ), 'render' => 'file:./render.php', ), 'quote-basket' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/quote-basket', 'title' => 'Quote Basket', 'category' => 'woocommerce', 'icon' => 'list-view', 'description' => 'The review panel for a visitor\'s open quote. Put it in a header, a sidebar or a dedicated "My quote" page.', 'keywords' => array( 'quote', 'basket', 'request', 'enquiry', 'aieo', ), 'textdomain' => 'ai-eshop-optimizer', 'attributes' => array( 'title' => array( 'type' => 'string', 'default' => '', ), ), 'supports' => array( 'html' => false, 'align' => array( 'wide', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), ), 'render' => 'file:./render.php', ), 'recos' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/recos', 'version' => '1.1.0', 'title' => 'Rooster One Recommendations', 'category' => 'woocommerce', 'icon' => 'products', 'description' => 'Renders one Rooster One recommendation surface (same_needs / crosssells / upsells / related / recently_viewed / semantic_related) as the placeholder div the lazy-recommendations.js bundle hydrator picks up on first user interaction. Same emitted markup as the legacy inline `
` blocks so the existing JS hydrator works unchanged.', 'keywords' => array( 'aieo', 'recommendations', 'related', 'upsells', 'cross-sells', 'same-needs', 'recently-viewed', 'semantic', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), 'typography' => array( 'fontSize' => true, 'lineHeight' => true, ), 'color' => array( 'background' => true, 'text' => true, ), ), 'attributes' => array( 'surface' => array( 'type' => 'string', 'default' => 'related', 'enum' => array( 'related', 'upsells', 'crosssells', 'recently_viewed', 'same_needs', 'semantic_related', ), ), ), 'usesContext' => array( 'postId', 'postType', ), 'render' => 'file:./render.php', 'editorScript' => 'file:./edit.js', 'textdomain' => 'ai-eshop-optimizer', ), 'sale-eligibility-message' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/sale-eligibility-message', 'version' => '1.1.0', 'title' => 'Rooster One Sale Eligibility Message', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'megaphone', 'description' => 'Conditional badge that appears under the price WHEN the current product is on sale, telling the shopper how they qualify for the sale price (everyone, signed-in only, PRO role, etc.). Auto-hides on non-sale products. Token replacement: {regular_price}, {sale_price}, {savings_amount}, {savings_pct}, {role}.', 'keywords' => array( 'aieo', 'product', 'sale', 'discount', 'eligibility', 'role-pricing', ), 'ancestor' => array( 'core/template', 'core/post-template', 'woocommerce/single-product', ), 'supports' => array( 'html' => false, 'align' => false, 'spacing' => array( 'margin' => true, 'padding' => true, ), 'color' => array( 'background' => true, 'text' => true, ), ), 'attributes' => array( 'messageAnonymous' => array( 'type' => 'string', 'default' => '', ), 'messageLoggedIn' => array( 'type' => 'string', 'default' => '', ), 'messageProMember' => array( 'type' => 'string', 'default' => '', ), 'showOnNonSale' => array( 'type' => 'boolean', 'default' => false, ), ), 'usesContext' => array( 'postId', 'postType', ), 'render' => 'file:./render.php', 'style' => 'file:./style.css', 'textdomain' => 'ai-eshop-optimizer', ), 'semantic-related' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/semantic-related', 'title' => 'Rooster One Related content', 'category' => 'widgets', 'icon' => 'admin-links', 'description' => 'Related articles, guides and products, chosen by the semantic engine.', 'keywords' => array( 'semantic', 'related', 'recommendations', 'aieo', 'rooster', ), 'editorScript' => 'file:./edit.js', 'style' => 'aieo-recommendations', 'textdomain' => 'ai-eshop-optimizer', ), 'taxonomy-archive-footer' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/taxonomy-archive-footer', 'version' => '1.0.0', 'title' => 'Rooster One Taxonomy Archive Footer', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'editor-paragraph', 'description' => 'Per-term editorial / SEO footer copy. Reads the queried taxonomy\'s *_extras table footer column when present (need_extras.footer_text, brand_extras.footer_text, category_extras.footer_text). Emits nothing when no footer copy exists for the term.', 'keywords' => array( 'aieo', 'taxonomy', 'archive', 'footer', 'seo', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), ), 'attributes' => array( 'taxonomy' => array( 'type' => 'string', 'default' => '', ), 'termId' => array( 'type' => 'number', 'default' => 0, ), ), 'style' => 'file:./style.css', 'render' => 'file:./render.php', 'textdomain' => 'ai-eshop-optimizer', ), 'taxonomy-archive-hero' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/taxonomy-archive-hero', 'version' => '1.0.0', 'title' => 'Rooster One Taxonomy Archive Hero', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'category', 'description' => 'Generic per-term archive hero. Auto-detects queried taxonomy (product_brand / pa_need / product_tag / product_cat) and dispatches to the right data source — brand vitals + extras for product_brand, need_extras for pa_need, term thumbnail + description for product_tag, category extras for product_cat. Filterable via aieo_taxonomy_archive_hero_data for new taxonomies.', 'keywords' => array( 'aieo', 'taxonomy', 'archive', 'hero', 'brand', 'need', 'tag', 'category', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), 'typography' => array( 'fontSize' => true, 'lineHeight' => true, ), 'color' => array( 'background' => true, 'text' => true, ), ), 'attributes' => array( 'taxonomy' => array( 'type' => 'string', 'default' => '', ), 'termId' => array( 'type' => 'number', 'default' => 0, ), 'showCounts' => array( 'type' => 'boolean', 'default' => true, ), 'showHeadline' => array( 'type' => 'boolean', 'default' => true, ), ), 'render' => 'file:./render.php', 'style' => 'file:./style.css', 'textdomain' => 'ai-eshop-optimizer', ), 'taxonomy-related-articles' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/taxonomy-related-articles', 'version' => '1.0.0', 'title' => 'Rooster One Taxonomy Related Articles', 'editorScript' => 'file:./edit.js', 'category' => 'woocommerce', 'icon' => 'format-aside', 'description' => 'Renders \'From the Blog\' article cards related to the queried term — works for any taxonomy (product_cat, pa_need, product_tag, supplier, custom). Reads bidirectional edges from wp_aieo_dmm_term_relations (the same source brand-related uses for product_brand). On the brand archive itself, prefer aieo/brand-related — this block is for the OTHER taxonomies.', 'keywords' => array( 'aieo', 'taxonomy', 'related', 'articles', 'blog', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), 'typography' => array( 'fontSize' => true, 'lineHeight' => true, ), 'color' => array( 'background' => true, 'text' => true, ), ), 'attributes' => array( 'taxonomy' => array( 'type' => 'string', 'default' => '', ), 'termId' => array( 'type' => 'number', 'default' => 0, ), 'limit' => array( 'type' => 'number', 'default' => 3, ), 'layout' => array( 'type' => 'string', 'enum' => array( 'vertical', 'horizontal', 'overlay', ), 'default' => 'vertical', ), 'heading' => array( 'type' => 'string', 'default' => '', ), ), 'render' => 'file:./render.php', 'textdomain' => 'ai-eshop-optimizer', ), 'toc' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'apiVersion' => 3, 'name' => 'aieo/toc', 'version' => '1.0.0', 'title' => 'Rooster One Table of Contents', 'category' => 'widgets', 'icon' => 'list-view', 'description' => 'A table of contents built from the headings of the post being displayed. Works in the post content, in a sidebar or in a block-theme template part; headings without an id get one, headings with an id keep it. Also available as the [aieo_toc] shortcode and as an Elementor widget. Layout inline: the title in small capitals between two rules, the sections as underlined links in one row (the Aurenne text page\'s «On this page»).', 'keywords' => array( 'aieo', 'toc', 'table of contents', 'headings', 'index', 'περιεχόμενα', ), 'textdomain' => 'ai-eshop-optimizer', 'usesContext' => array( 'postId', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full', ), 'spacing' => array( 'margin' => true, 'padding' => true, ), 'color' => array( 'background' => true, 'text' => true, 'link' => true, ), 'typography' => array( 'fontSize' => true, ), ), 'attributes' => array( 'title' => array( 'type' => 'string', 'default' => '', ), 'levels' => array( 'type' => 'string', 'default' => 'h2-h3', 'enum' => array( 'h2', 'h2-h3', ), ), 'numbered' => array( 'type' => 'boolean', 'default' => false, ), 'sticky' => array( 'type' => 'boolean', 'default' => false, ), 'collapsible' => array( 'type' => 'boolean', 'default' => false, ), 'minHeadings' => array( 'type' => 'number', 'default' => 2, ), 'postId' => array( 'type' => 'number', 'default' => 0, ), 'layout' => array( 'type' => 'string', 'default' => 'list', 'enum' => array( 'list', 'inline', ), ), ), 'render' => 'file:./render.php', 'editorScript' => 'file:./edit.js', 'viewStyle' => 'file:./style.css', 'viewScript' => 'file:./view.js', ), );