Skip to content

Instantly share code, notes, and snippets.

View iErik's full-sized avatar
🌀
Tapping keys

Erik Isidore iErik

🌀
Tapping keys
View GitHub Profile
{"errors":[{"debugMessage":"Class App\\Services\\RpcService does not exist","message":"Internal server error","category":"internal","locations":[{"line":4,"column":3}],"path":["unionContributions",0,"syndicate"],"trace":[{"file":"\/srv\/release\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php","line":767,"call":"ReflectionClass::__construct('App\\Services\\RpcService')"},{"file":"\/srv\/release\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php","line":646,"call":"Illuminate\\Container\\Container::build('App\\Services\\RpcService')"},{"file":"\/srv\/release\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php","line":601,"call":"Illuminate\\Container\\Container::resolve('App\\Services\\RpcService', array(0))"},{"file":"\/srv\/release\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Application.php","line":734,"call":"Illuminate\\Container\\Container::make('App\\Services\\RpcService', array(0))"},{"file":"\/srv\/release\/vendor\/laravel\/fram
<template>
<c-input-container
v-click-outside="close"
:class="containerClasses"
:style="{ '--options-length': (computedOptions || []).length }"
v-bind="containerAttributes"
@click.native="opened = !opened"
>
<select
v-if="mobileNative || nativeCompatible"
import request from '@Employee:graphql'
import * as get from '@Employee:graphql/queries'
import * as set from '@Employee:graphql/mutations'
import * as mappers from './mappers'
import * as formatters from './formatters'
/**
* Getters
import { get as getProp } from 'convenia-components'
import request from '@Employee:graphql'
import * as types from '@Employee:types'
import * as get from '@Employee:graphql/queries'
import * as set from '@Employee:graphql/mutations'
/**
const Collapsible = (refName = 'contentWrapper') => ({
data: () => ({
hideContents: false,
contentObs: null,
contentHeight: 0,
}),
mounted () {
this.$nextTick(() => {
const el = this.$refs[refName].childNodes[0]
<template>
<div class="employee-info-timeline">
<div ref="shadowed" class="wrapper">
<info-timeline-item
v-for="(item, index) in timelineItems"
:key="index"
:fields="item.fields"
:item-info="item.itemInfo"
v-on="$listeners"
/>
<template>
<div class="employee-info-timeline">
<div ref="shadowed" class="wrapper">
<info-timeline-item
v-for="(item, index) in timelineItems"
:key="index"
:fields="item.fields"
:item-info="item.itemInfo"
v-on="$listeners"
/>
<template>
<form class="c-form" :name="name" @submit.prevent="submitForm">
<div class="fields">
<slot>
<template v-for="(field, fieldName) in fields">
<component
v-show="!isFieldHidden(fieldName)"
:is="getFieldComponent(field.type)"
:key="fieldName"
:class="['field', field.type]"
<template>
<c-input-container v-bind="$attrs" class="c-radio-button">
<p v-if="description" class="text">{{ description }}</p>
<div class="inner" :style="rows">
<div
class="option"
v-for="(option, index) in options"
:key="index"
@click="emitInput"
>
<template>
<c-card class="employee-info-card" no-border no-hover>
<div class="heading">
<slot>
<c-title class="title" :grey="isMobile && hideContents">
{{ title }}
</c-title>
<div class="actions">
<c-button