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
<template>
<c-card
:title="accountName ? `Exclusivo de ${accountName}` : ''">
<c-toggle
class="input"
v-if="!data.id"
:labels="{ checked: 'Ativa', unchecked: 'Inativa'}"
:value="data.status"
height="30"
width="80"
<template>
<div class="c-select" :class="generatedClass">
<label
v-if="formLabel"
class="label">
<span>
{{ formLabel }}<span v-if="required" class="required">*</span>
</span>
</label>
<template>
<c-input-container v-bind="$attrs" :class="classes" :validation="isOpened ? '' : validation">
<div class="input" @click="toggle" v-click-outside="outside">
<span class="selected">{{ selected ? selected[displayBy] : placeholder || value }}</span>
<c-icon size="15" class="icon" icon="chevron-down" />
</div>
<div v-if="isOpened" class="items">
<div
class="item"
<template>
<c-card :class="classes">
<campaign-tag
class="tag"
v-if="isExclusive"
:is-exclusive="true"
/>
<div class="tag-highlight" v-if="isHighlighted">
destaque
</div>
<style lang="scss">
@import '~@style/reference';
.login-page {
.logo-form {
margin-bottom: 40px;
margin-top: 50px !important;
}
<template>
<div class="activate-form">
<!-- modais -->
<login-modal
:opened="false"
title="Bem vindo ao clube!"
maintext="Parabéns, Seja bem vindo ao Clube!"
text="Você está pronto para encontrar os melhores descontos em mais de [13948] parceiros"
type="happy"
button="Aproveitar o clube"
<template>
<div class="c-multiselect" :class="generatedClass">
<label
v-if="formLabel"
class="label">
<span>
{{ formLabel }}<span v-if="required" class="required">*</span>
</span>
</label>
(define atom?
(lambda (x)
(and (not (pair? x)) (not (null? x)))))
(define lat?
(lambda (l)
(cond
((null? l) #t)
((atom? (car l)) (lat? (cdr l)))
(else #f))))
{ "id": "1"
, "employee_quantity": 9
, "current_value": 23190000
, "last_value": 2190000
, "event":
{ "name": "Antecipação salarial 13 salário"
, "type": "Provento"
, "format": "Valor"
}
, "collaborators":
<template>
<c-popover
align="left"
class="actions-popover"
:selector="scrollSelector"
:target="target"
@handler="$emit('close')"
>
<c-card class="actions" no-border>
<slot>