fields:
    mark_results:
        span: auto
        type: switch
        label: offline.sitesearch::lang.settings.mark_results
        comment: offline.sitesearch::lang.settings.mark_results_comment
        default: true
    log_queries:
        span: auto
        type: switch
        label: offline.sitesearch::lang.settings.log_queries
        comment: offline.sitesearch::lang.settings.log_queries_comment
    excerpt_length:
        span: auto
        type: text
        label: offline.sitesearch::lang.settings.excerpt_length
        comment: offline.sitesearch::lang.settings.excerpt_length_comment
        default: 250
    log_keep_days:
        span: auto
        type: number
        label: offline.sitesearch::lang.settings.log_keep_days
        comment: offline.sitesearch::lang.settings.log_keep_days_comment
        default: 365
        trigger:
            action: show
            field: log_queries
            condition: checked
tabs:
    fields:
        rainlab_blog_enabled:
            type: switch
            tab: RainLab.Blog
            label: offline.sitesearch::lang.settings.use_this_provider
            comment: offline.sitesearch::lang.settings.use_this_provider_comment
            default: true
            native: true

        rainlab_blog_label:
            type: text
            tab: RainLab.Blog
            label: offline.sitesearch::lang.settings.provider_badge
            comment: offline.sitesearch::lang.settings.provider_badge_comment
            span: auto
            default: Blog
            native: true

        rainlab_blog_page:
            type: dropdown
            options: blogPageOptions
            tab: RainLab.Blog
            label: offline.sitesearch::lang.settings.blog_page
            comment: offline.sitesearch::lang.settings.blog_page_comment
            span: auto
            native: true

        rainlab_pages_enabled:
            type: switch
            tab: RainLab.Pages
            label: offline.sitesearch::lang.settings.use_this_provider
            comment: offline.sitesearch::lang.settings.use_this_provider_comment
            default: true
            native: true

        rainlab_pages_label:
            type: text
            tab: RainLab.Pages
            label: offline.sitesearch::lang.settings.provider_badge
            comment: offline.sitesearch::lang.settings.provider_badge_comment
            span: auto
            default: Page
            native: true

        indikator_news_enabled:
            type: switch
            tab: Indikator.News
            label: offline.sitesearch::lang.settings.use_this_provider
            comment: offline.sitesearch::lang.settings.use_this_provider_comment
            default: true
            native: true

        indikator_news_label:
            type: text
            tab: Indikator.News
            label: offline.sitesearch::lang.settings.provider_badge
            comment: offline.sitesearch::lang.settings.provider_badge_comment
            span: auto
            default: News
            native: true

        indikator_news_posturl:
            type: text
            tab: Indikator.News
            label: offline.sitesearch::lang.settings.news_page
            comment: offline.sitesearch::lang.settings.news_page_comment
            default: /news
            span: auto
            native: true

        octoshop_products_enabled:
            type: switch
            tab: Feegleweb.Octoshop
            label: offline.sitesearch::lang.settings.use_this_provider
            comment: offline.sitesearch::lang.settings.use_this_provider_comment
            default: true
            native: true

        octoshop_products_label:
            type: text
            tab: Feegleweb.Octoshop
            label: offline.sitesearch::lang.settings.provider_badge
            comment: offline.sitesearch::lang.settings.provider_badge_comment
            span: auto
            native: true

        octoshop_products_itemurl:
            type: text
            tab: Feegleweb.Octoshop
            label: offline.sitesearch::lang.settings.octoshop_itemurl
            comment: offline.sitesearch::lang.settings.octoshop_itemurl_comment
            span: auto
            default: /product
            native: true

        jiri_jkshop_enabled:
            type: switch
            tab: Jiri.JKShop
            label: offline.sitesearch::lang.settings.use_this_provider
            comment: offline.sitesearch::lang.settings.use_this_provider_comment
            default: true
            native: true


        jiri_jkshop_label:
            type: text
            tab: Jiri.JKShop
            label: offline.sitesearch::lang.settings.provider_badge
            comment: offline.sitesearch::lang.settings.provider_badge_comment
            span: auto
            native: true

        jiri_jkshop_itemurl:
            type: text
            tab: Jiri.JKShop
            label: offline.sitesearch::lang.settings.jkshop_itemurl
            comment: offline.sitesearch::lang.settings.jkshop_itemurl_comment
            span: auto
            default: /product
            native: true

        radiantweb_problog_enabled:
            type: switch
            tab: RadiantWeb.ProBlog
            label: offline.sitesearch::lang.settings.use_this_provider
            comment: offline.sitesearch::lang.settings.use_this_provider_comment
            default: true
            native: true

        radiantweb_problog_label:
            type: text
            tab: RadiantWeb.ProBlog
            label: offline.sitesearch::lang.settings.provider_badge
            comment: offline.sitesearch::lang.settings.provider_badge_comment
            span: auto
            default: Blog
            native: true

        arrizalamin_portfolio_enabled:
            type: switch
            tab: ArrizalAmin.Portfolio
            label: offline.sitesearch::lang.settings.use_this_provider
            comment: offline.sitesearch::lang.settings.use_this_provider_comment
            default: true
            native: true

        arrizalamin_portfolio_label:
            type: text
            tab: ArrizalAmin.Portfolio
            label: offline.sitesearch::lang.settings.provider_badge
            comment: offline.sitesearch::lang.settings.provider_badge_comment
            span: auto
            default: Portfolio
            native: true

        arrizalamin_portfolio_url:
            type: text
            tab: ArrizalAmin.Portfolio
            label: offline.sitesearch::lang.settings.portfolio_itemurl
            comment: offline.sitesearch::lang.settings.portfolio_itemurl_comment
            span: auto
            default: /portfolio/project
            native: true

        vojtasvoboda_brands_enabled:
            type: switch
            tab: VojtaSvoboda.Brands
            label: offline.sitesearch::lang.settings.use_this_provider
            comment: offline.sitesearch::lang.settings.use_this_provider_comment
            native: true
            default: true

        vojtasvoboda_brands_label:
            type: text
            tab: VojtaSvoboda.Brands
            label: offline.sitesearch::lang.settings.provider_badge
            comment: offline.sitesearch::lang.settings.provider_badge_comment
            span: auto
            default: Brands
            native: true

        vojtasvoboda_brands_url:
            type: text
            tab: VojtaSvoboda.Brands
            label: offline.sitesearch::lang.settings.brands_itemurl
            comment: offline.sitesearch::lang.settings.brands_itemurl_comment
            span: auto
            default: /brand
            native: true

        responsiv_showcase_enabled:
            type: switch
            tab: Responsiv.Showcase
            label: offline.sitesearch::lang.settings.use_this_provider
            comment: offline.sitesearch::lang.settings.use_this_provider_comment
            default: true
            native: true

        responsiv_showcase_label:
            type: text
            tab: Responsiv.Showcase
            label: offline.sitesearch::lang.settings.provider_badge
            comment: offline.sitesearch::lang.settings.provider_badge_comment
            span: auto
            default: Showcase
            native: true

        responsiv_showcase_url:
            type: text
            tab: Responsiv.Showcase
            label: offline.sitesearch::lang.settings.showcase_itemurl
            comment: offline.sitesearch::lang.settings.showcase_itemurl_comment
            span: auto
            default: /showcase/project
            native: true

        graker_photoalbums_enabled:
            type: switch
            tab: Graker.PhotoAlbums
            label: offline.sitesearch::lang.settings.use_this_provider
            comment: offline.sitesearch::lang.settings.use_this_provider_comment
            default: true
            native: true

        graker_photoalbums_label:
            type: text
            tab: Graker.PhotoAlbums
            label: offline.sitesearch::lang.settings.provider_badge
            comment: offline.sitesearch::lang.settings.provider_badge_comment
            span: auto
            default: PhotoAlbums
            native: true

        graker_photoalbums_album_page:
            type: dropdown
            options: blogPageOptions
            tab: Graker.PhotoAlbums
            label: offline.sitesearch::lang.settings.album_page
            comment: offline.sitesearch::lang.settings.album_page_comment
            span: auto
            native: true

        graker_photoalbums_photo_page:
            type: dropdown
            options: blogPageOptions
            tab: Graker.PhotoAlbums
            label: offline.sitesearch::lang.settings.photo_page
            comment: offline.sitesearch::lang.settings.photo_page_comment
            span: auto
            native: true

        cms_pages_warning:
            type: partial
            path: $/offline/sitesearch/models/settings/_experimental.htm
            tab: CMS pages

        cms_pages_hint:
            type: hint
            path: $/offline/sitesearch/models/settings/_cmspages_info.htm
            tab: CMS pages

        cms_pages_enabled:
            type: switch
            tab: CMS pages
            label: offline.sitesearch::lang.settings.use_this_provider
            comment: offline.sitesearch::lang.settings.use_this_provider_comment
            default: false

        cms_pages_label:
            type: text
            tab: CMS pages
            label: offline.sitesearch::lang.settings.provider_badge
            comment: offline.sitesearch::lang.settings.provider_badge_comment
            span: auto
            default: Page
