Your IP : 216.73.216.79


Current Path : /var/www/html/dynaweb-starter/storage/framework/views/
Upload File :
Current File : /var/www/html/dynaweb-starter/storage/framework/views/a3e9f572b5f7ef63b032b58691489494.php

<?php if (isset($component)) { $__componentOriginal511d4862ff04963c3c16115c05a86a9d = $component; } ?>
<?php $component = Illuminate\View\DynamicComponent::resolve(['component' => $getFieldWrapperView()] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dynamic-component'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\DynamicComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['id' => $getId(),'label' => $getLabel(),'label-sr-only' => $isLabelHidden(),'helper-text' => $getHelperText(),'hint' => $getHint(),'hint-icon' => $getHintIcon(),'required' => $isRequired(),'state-path' => $getStatePath()]); ?>

    <div
        x-data="codeEditorFormComponent({
            state: $wire.<?php echo e($applyStateBindingModifiers('entangle(\'' . $getStatePath() . '\')')); ?>,
        })"
    >
        <div
            wire:ignore
            class="w-full border"
            x-ref="codeeditor"
            style="min-height: 150px;"
        ></div>

        <div class="flex mt-1">
        <div id="theme-picker">
            <label for="theme">Theme:</label>
            <select x-on:change="changeTheme()" x-model="selectedTheme" class="mr-2 bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500" id="theme-list">
                <template x-for="(theme, index) in themes">
                    <option x-text="theme.name" x-bind:value="index"></option>
                </template>
            </select>
        </div>
        <div id="language-picker">
            <label for="theme">Language:</label>
            <select  x-on:change="changeLanguage()" x-model="selectedLanguage" class="mr-2 bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500" id="language-list">
                <template x-for="(language, index) in languages">
                    <option x-text="language.name" x-bind:value="index"></option>
                </template>
            </select>
        </div>

        </div>
    </div>

    <style>
        .cm-gutters {
            min-height: 150px !important;
        }

        .cm-scroller {
            min-height: 150px !important;
        }

        .cm-gutters {
            min-height: 150px !important;
        }
    </style>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal511d4862ff04963c3c16115c05a86a9d)): ?>
<?php $component = $__componentOriginal511d4862ff04963c3c16115c05a86a9d; ?>
<?php unset($__componentOriginal511d4862ff04963c3c16115c05a86a9d); ?>
<?php endif; ?><?php /**PATH /var/www/html/dynaweb-starter/plugin/dynaweb-code-editor/src/../resources/views/components/code-editor.blade.php ENDPATH**/ ?>