<?php


    /*
    |------------------------------------------------------------------------------------------------
    | Information
    |------------------------------------------------------------------------------------------------
    |
    | This file is beautified by the command "sidekick:CodebeautifierCommand" of the ceetrox
    | sidekick package.
    |
    | Author: Marco Schmiedel <marco.schmiedel@itmax.email>
    | Update: 2022-04-13 09:16:43
    |
    */
    namespace Ceetrox\Sidekick\Views\Limitless\Codemirror;


    /*
    |------------------------------------------------------------------------------------------------
    | Dependencies
    |------------------------------------------------------------------------------------------------
    */
    use View;


    /*
    |------------------------------------------------------------------------------------------------
    | Class "Config"
    |------------------------------------------------------------------------------------------------
    */
    class Config
    {
        /*
        |--------------------------------------------------------------------------------------------
        | Parameter
        |--------------------------------------------------------------------------------------------
        */
        public $methodAllocation = [
        'Limitless::Codemirror' => 'master',
        ];

        public $assetAllocation = [
        'Limitless::Codemirror' => [
            "Styles/codemirror.css",
            "Styles/3024-day.css",
            "Styles/3024-night.css",
            "Styles/abcdef.css",
            "Styles/ambiance.css",
            "Styles/base16-dark.css",
            "Styles/bespin.css",
            "Styles/base16-light.css",
            "Styles/blackboard.css",
            "Styles/cobalt.css",
            "Styles/colorforth.css",
            "Styles/dracula.css",
            "Styles/duotone-dark.css",
            "Styles/duotone-light.css",
            "Styles/eclipse.css",
            "Styles/elegant.css",
            "Styles/erlang-dark.css",
            "Styles/gruvbox-dark.css",
            "Styles/hopscotch.css",
            "Styles/icecoder.css",
            "Styles/isotope.css",
            "Styles/lesser-dark.css",
            "Styles/liquibyte.css",
            "Styles/lucario.css",
            "Styles/material.css",
            "Styles/mbo.css",
            "Styles/mdn-like.css",
            "Styles/midnight.css",
            "Styles/monokai.css",
            "Styles/neat.css",
            "Styles/neo.css",
            "Styles/night.css",
            "Styles/nord.css",
            "Styles/oceanic-next.css",
            "Styles/panda-syntax.css",
            "Styles/paraiso-dark.css",
            "Styles/paraiso-light.css",
            "Styles/pastel-on-dark.css",
            "Styles/railscasts.css",
            "Styles/rubyblue.css",
            "Styles/seti.css",
            "Styles/shadowfox.css",
            "Styles/solarized.css",
            "Styles/the-matrix.css",
            "Styles/tomorrow-night-bright.css",
            "Styles/tomorrow-night-eighties.css",
            "Styles/ttcn.css",
            "Styles/twilight.css",
            "Styles/vibrant-ink.css",
            "Styles/xq-dark.css",
            "Styles/xq-light.css",
            "Styles/yeti.css",
            "Styles/idea.css",
            "Styles/darcula.css",
            "Styles/yonce.css",
            "Styles/zenburn.css",
            "Attachments/Codemirror.js" ,
            "Attachments/Multiplex.js",
            "Attachments/Overlay.js",
            "Attachments/Core.js",
            'Attachments/Layout.css',
            "Modes/shell.js" ,
            "Modes/python.js" ,
            "Modes/javascript.js" ,
            "Modes/manticore.js"
        ]
        ];


        /*
        |--------------------------------------------------------------------------------------------
        | Method "master"
        |--------------------------------------------------------------------------------------------
        */
        public function master($parameters)
        {
            return View('Limitless::Codemirror.Attachments.Layout')
            ->withTheme( (isset($parameters['theme']) ? $parameters['theme'] : 'icecoder') )
            ->withLanguage( (isset($parameters['language']) ? $parameters['language'] : '') )
            ->withValue( (isset($parameters['value']) ? $parameters['value'] : '... no value parameter set...') )
            ->withExtra( (isset($parameters['extra']) ? $parameters['extra'] : [] ) );
        }

    }



