refactor: ♻️ Code reformat
This commit is contained in:
parent
7feaa30ab2
commit
4234ad2b54
102
.idea/blade.xml
102
.idea/blade.xml
|
@ -2,23 +2,121 @@
|
|||
<project version="4">
|
||||
<component name="BladeInjectionConfiguration" default="false">
|
||||
<directives>
|
||||
<data directive="@append" />
|
||||
<data directive="@auth" injection="true" prefix="<?php if(auth()->guard(" suffix=")->check()): ?>" />
|
||||
<data directive="@aware" injection="true" prefix="<?php $attributes = $attributes->exceptProps(" suffix="); ?>" />
|
||||
<data directive="@break" injection="true" prefix="<?php if(" suffix=") break; ?>" />
|
||||
<data directive="@can" injection="true" prefix="<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check(" suffix=")): ?>" />
|
||||
<data directive="@canany" injection="true" prefix="<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(" suffix=")): ?>" />
|
||||
<data directive="@cannot" injection="true" prefix="<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->denies(" suffix=")): ?>" />
|
||||
<data directive="@case" injection="true" prefix="<?php case (" suffix="): ?>" />
|
||||
<data directive="@checked" injection="true" prefix="<?php if(" suffix=") {echo 'checked';}?>" />
|
||||
<data directive="@choice" injection="true" prefix="<?php echo app('translator')->choice(" suffix="); ?>" />
|
||||
<data directive="@class" injection="true" prefix="class="<?php echo \Illuminate\Support\Arr::toCssClasses(" suffix=")?>"" />
|
||||
<data directive="@component" injection="true" prefix="<?php $__env->startComponent(" suffix="); ?>" />
|
||||
<data directive="@componentfirst" injection="true" prefix="<?php $__env->startComponentFirst(" suffix="); ?>" />
|
||||
<data directive="@continue" injection="true" prefix="<?php if(" suffix=") continue; ?>" />
|
||||
<data directive="@csrf" />
|
||||
<data directive="@dd" injection="true" prefix="<?php dd(" suffix="); ?>" />
|
||||
<data directive="@default" />
|
||||
<data directive="@disabled" injection="true" prefix="<?php if(" suffix=") {echo 'disabled';}?>" />
|
||||
<data directive="@dump" injection="true" prefix="<?php dump(" suffix="); ?>" />
|
||||
<data directive="@each" injection="true" prefix="<?php echo $__env->renderEach(" suffix="); ?>" />
|
||||
<data directive="@else" />
|
||||
<data directive="@elseauth" injection="true" prefix="<?php elseif(auth()->guard(" suffix=")->check()): ?>" />
|
||||
<data directive="@elsecan" injection="true" prefix="<?php elseif (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check(" suffix=")): ?>" />
|
||||
<data directive="@elsecanany" injection="true" prefix="<?php elseif (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(" suffix=")): ?>" />
|
||||
<data directive="@elsecannot" injection="true" prefix="<?php elseif (app(\Illuminate\Contracts\Auth\Access\Gate::class)->denies(" suffix=")): ?>" />
|
||||
<data directive="@elseguest" injection="true" prefix="<?php elseif(auth()->guard(" suffix=")->guest()): ?>" />
|
||||
<data directive="@elseif" injection="true" prefix="<?php elseif(" suffix="): ?>" />
|
||||
<data directive="@empty" injection="true" prefix="<?php if(empty(" suffix=")): ?>" />
|
||||
<data directive="@endauth" />
|
||||
<data directive="@endcan" />
|
||||
<data directive="@endcanany" />
|
||||
<data directive="@endcannot" />
|
||||
<data directive="@endcomponent" />
|
||||
<data directive="@endcomponentClass" />
|
||||
<data directive="@endcomponentfirst" />
|
||||
<data directive="@endempty" />
|
||||
<data directive="@endenv" />
|
||||
<data directive="@enderror" />
|
||||
<data directive="@endfor" />
|
||||
<data directive="@endforeach" />
|
||||
<data directive="@endforelse" />
|
||||
<data directive="@endfragment" />
|
||||
<data directive="@endguest" />
|
||||
<data directive="@endif" />
|
||||
<data directive="@endisset" />
|
||||
<data directive="@endlang" />
|
||||
<data directive="@endonce" />
|
||||
<data directive="@endphp" />
|
||||
<data directive="@endprepend" />
|
||||
<data directive="@endprependonce" />
|
||||
<data directive="@endproduction" />
|
||||
<data directive="@endpush" />
|
||||
<data directive="@endpushif" />
|
||||
<data directive="@endpushonce" />
|
||||
<data directive="@endsection" />
|
||||
<data directive="@endslot" />
|
||||
<data directive="@endswitch" />
|
||||
<data directive="@endunless" />
|
||||
<data directive="@endverbatim" />
|
||||
<data directive="@endwhile" />
|
||||
<data directive="@env" injection="true" prefix="<?php if(app()->environment(" suffix=")): ?>" />
|
||||
<data directive="@error" injection="true" prefix="<?php $__errorArgs = [" suffix="]; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?>" />
|
||||
<data directive="@extends" injection="true" prefix="<?php echo $__env->make(" suffix=", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>" />
|
||||
<data directive="@extendsfirst" injection="true" prefix="<?php echo $__env->first(" suffix=", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>" />
|
||||
<data directive="@for" injection="true" prefix="<?php for(" suffix="): ?>" />
|
||||
<data directive="@foreach" injection="true" prefix="<?php foreach(" suffix="): ?>" />
|
||||
<data directive="@forelse" injection="true" prefix="<?php foreach(" suffix="): ?>" />
|
||||
<data directive="@fragment" injection="true" prefix="<?php $__env->startFragment(" suffix="); ?>" />
|
||||
<data directive="@guest" injection="true" prefix="<?php if(auth()->guard(" suffix=")->guest()): ?>" />
|
||||
<data directive="@hasSection" injection="true" prefix="<?php if (! empty(trim($__env->yieldContent(" suffix=")))): ?>" />
|
||||
<data directive="@if" injection="true" prefix="<?php if(" suffix="): ?>" />
|
||||
<data directive="@include" injection="true" prefix="<?php echo $__env->make(" suffix=", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>" />
|
||||
<data directive="@includeFirst" injection="true" prefix="<?php echo $__env->first(" suffix=", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>" />
|
||||
<data directive="@includeUnless" injection="true" prefix="<?php echo $__env->renderUnless(" suffix=", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path'])); ?>" />
|
||||
<data directive="@includeWhen" injection="true" prefix="<?php echo $__env->renderWhen(" suffix=", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path'])); ?>" />
|
||||
<data directive="@inertia" />
|
||||
<data directive="@inertiaHead" />
|
||||
<data directive="@isset" injection="true" prefix="<?php if(isset(" suffix=")): ?>" />
|
||||
<data directive="@js" injection="true" prefix="<?php _bladeDirective(" suffix="); ?>" />
|
||||
<data directive="@json" injection="true" prefix="<?php echo json_encode(" suffix=") ?>" />
|
||||
<data directive="@lang" injection="true" prefix="<?php echo app('translator')->get(" suffix="); ?>" />
|
||||
<data directive="@method" injection="true" prefix="<?php echo method_field(" suffix="); ?>" />
|
||||
<data directive="@once" />
|
||||
<data directive="@overwrite" />
|
||||
<data directive="@parent" />
|
||||
<data directive="@php" injection="true" prefix="<?php (" suffix="); ?>" />
|
||||
<data directive="@prepend" injection="true" prefix="<?php $__env->startPrepend(" suffix="); ?>" />
|
||||
<data directive="@prependonce" injection="true" prefix="<?php $___phpstorm_prepend_once_params = [" suffix="]; if (! $__env->hasRenderedOnce($___phpstorm_prepend_once_params[1])): $__env->markAsRenderedOnce($___phpstorm_prepend_once_params); $__env->startPrepend($___phpstorm_prepend_once_params[0]); ?>" />
|
||||
<data directive="@production" />
|
||||
<data directive="@props" injection="true" prefix="<?php $attributes = $attributes->exceptProps(" suffix="); ?>" />
|
||||
<data directive="@push" injection="true" prefix="<?php $__env->startPush(" suffix="); ?>" />
|
||||
<data directive="@pushif" injection="true" prefix="<?php $__pushif_args = explode(','," suffix=", 2); if({$__pushif_args[0]}): $__env->startPush({$__pushif_args[1]}); ?>" />
|
||||
<data directive="@pushonce" injection="true" prefix="<?php $__php_storm_push_once_params = [" suffix="]; if (!$__env->hasRenderedOnce($__php_storm_push_once_params[1])): $__env->markAsRenderedOnce($__php_storm_push_once_params[1]); $__env->startPush($__php_storm_push_once_params[0]); ?>" />
|
||||
<data directive="@ray" injection="true" prefix="<?php ray(" suffix="); ?>" />
|
||||
<data directive="@readonly" injection="true" prefix="<?php if(" suffix="): echo 'readonly'; endif; ?>" />
|
||||
<data directive="@required" injection="true" prefix="<?php if(" suffix="): echo 'required'; endif; ?>" />
|
||||
<data directive="@routes" injection="true" prefix="<?php _bladeDirective(" suffix="); ?>" />
|
||||
<data directive="@section" injection="true" prefix="<?php $__env->startSection(" suffix="); ?>" />
|
||||
<data directive="@sectionMissing" injection="true" prefix="<?php if (empty(trim($__env->yieldContent(" suffix=")))): ?>" />
|
||||
<data directive="@selected" injection="true" prefix="<?php if(" suffix=") {echo 'selected';}?>" />
|
||||
<data directive="@show" />
|
||||
<data directive="@slot" injection="true" prefix="<?php $__env->slot(" suffix="); ?>" />
|
||||
<data directive="@stack" injection="true" prefix="<?php echo $__env->yieldPushContent(" suffix="); ?>" />
|
||||
<data directive="@stop" />
|
||||
<data directive="@style" injection="true" prefix="class="<?php echo \Illuminate\Support\Arr::toCssStyles(" suffix=")?>"" />
|
||||
<data directive="@svg" injection="true" prefix="<?php echo e(svg(" suffix=")); ?>" />
|
||||
<data directive="@switch" injection="true" prefix="<?php switch(" suffix="): ?>" />
|
||||
<data directive="@unless" injection="true" prefix="<?php if (! (" suffix=")): ?>" />
|
||||
<data directive="@unset" injection="true" prefix="<?php unset(" suffix="); ?>" />
|
||||
<data directive="@verbatim" />
|
||||
<data directive="@vite" injection="true" prefix="<?php echo app('\\Illuminate\\Foundation\\Vite')(" suffix="); ?>" />
|
||||
<data directive="@viteReactRefresh" />
|
||||
<data directive="@while" injection="true" prefix="<?php while(" suffix="): ?>" />
|
||||
<data directive="@yield" injection="true" prefix="<?php echo $__env->yieldContent(" suffix="); ?>" />
|
||||
<data directive="@vitereactrefresh" />
|
||||
<data directive="@while" injection="true" prefix="<?php while(" suffix="): ?>" />
|
||||
<data directive="@yield" injection="true" prefix="<?php echo $__env->yieldContent(" suffix="); ?>" />
|
||||
</directives>
|
||||
</component>
|
||||
</project>
|
|
@ -237,6 +237,7 @@
|
|||
</inspection_tool>
|
||||
<inspection_tool class="JSXSyntaxUsed" enabled="true" level="ERROR" enabled_by_default="true" />
|
||||
<inspection_tool class="LabeledStatementJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="LaravelPintValidationInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="LocalVariableNamingConventionJS" enabled="true" level="WARNING" enabled_by_default="true">
|
||||
<option name="m_regex" value="[a-z][A-Za-z\d]*_?$" />
|
||||
<option name="m_minLength" value="1" />
|
||||
|
@ -282,7 +283,7 @@
|
|||
</inspection_tool>
|
||||
<inspection_tool class="PhpAccessStaticViaInstanceInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="PhpArrayShapeAttributeCanBeAddedInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="PhpCSFixerValidationInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
|
||||
<inspection_tool class="PhpCSFixerValidationInspection" enabled="false" level="WEAK WARNING" enabled_by_default="false">
|
||||
<option name="CODING_STANDARD" value="Custom" />
|
||||
<option name="CUSTOM_RULESET_PATH" value="$PROJECT_DIR$/.php-cs-fixer.php" />
|
||||
<option name="ALLOW_RISKY_RULES" value="true" />
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
"@maicol07/eslint-config": "^2.3.0",
|
||||
"@openstamanager/vite-config": "github:devcode-it/openstamanager-vite-config",
|
||||
"@types/fs-extra": "^11.0.1",
|
||||
"@types/lodash-es": "^4.17.7",
|
||||
"@types/mithril": "^2.0.12",
|
||||
"@types/node": "^20.3.1",
|
||||
"@types/ziggy-js": "^1.3.2",
|
||||
|
|
|
@ -16,10 +16,6 @@ import MdIcon from '@osm/Components/MdIcon';
|
|||
import Model from '@osm/Models/Model';
|
||||
import {isVnode} from '@osm/utils/misc';
|
||||
import collect, {Collection} from 'collect.js';
|
||||
import {
|
||||
ToManyRelation,
|
||||
ToOneRelation
|
||||
} from 'coloquent';
|
||||
import {
|
||||
Children,
|
||||
Vnode,
|
||||
|
|
Loading…
Reference in New Issue