This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Command; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Console\Input\ArrayInput; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Style\SymfonyStyle; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\BufferedOutput; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<!-- ... --> | |
</template> | |
<script> | |
export default { | |
// ... | |
beforeRouteLeave (vm, options, event) { | |
// vm will now refer to this component instead of the link | |
return window.confirm(vm.$trans('ticket.confirm_leave_creation')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<component :is="layout"><slot /></component> | |
</template> | |
<script> | |
import Drawer from '@/Layout/Drawer'; | |
import Fullscreen from '@/Layout/Fullscreen'; | |
import v from 'voca'; | |
const fallback = 'drawer'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="flex flex-col"> | |
<div class="flex flex-row relative font-title" :style="`--current-color: var(--color-${currentColor});`"> | |
<label v-if="label" | |
class="z-64 px-2 font-semibold text-sm absolute pointer-events-none bg-surface rounded-full transition-all transition-250" | |
:active="active" | |
:class="labelClassObject" | |
v-html="labelText" /> | |
<scale-transition origin="center"> | |
<span v-show="canClear" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export enum Breakpoint { | |
sm = 640, | |
md = 768, | |
lg = 1024, | |
xl = 1080, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.touch-none { | |
touch-action: none; | |
} | |
.touch-auto { | |
touch-action: auto; | |
} | |
.touch-pan-x { | |
touch-action: pan-x; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function withAlphaVariable({ color, property, variable }) { | |
if (_.isFunction(color)) { | |
return { | |
[property]: color(variable), | |
} | |
} | |
try { | |
const [r, g, b, a] = toRgba(color) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { flags } = require('@oclif/parser'); | |
module.exports = { | |
actions: () => [], | |
parse: () => ({ | |
flags: { | |
auth: flags.boolean({ char: 'f' }), | |
}, | |
args: [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.title.breadcrumbs { | |
display: none !important; | |
} | |
.window-title { | |
visibility: hidden !important; | |
} | |
.monaco-editor .scroll-decoration, | |
.scroll-decoration { |
OlderNewer