code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
<template> <Row :ratio="ratio" class="w-full px-2 group flex items-center justify-center h-row-mid" :class="readOnly ? '' : 'hover:bg-gray-25 dark:hover:bg-gray-900'" > <!-- Index or Remove button --> <div class="flex items-center ps-2 text-gray-600 dark:text-gray-400"> <span class="hidden...
2302_79757062/books
src/components/Controls/TableRow.vue
Vue
agpl-3.0
2,984
<template> <div> <div v-if="showLabel" :class="labelClasses"> {{ df.label }} </div> <div :class="showMandatory ? 'show-mandatory' : ''"> <textarea ref="input" :rows="rows" :class="['resize-none bg-transparent', inputClasses, containerClasses]" :value="value" ...
2302_79757062/books
src/components/Controls/Text.vue
Vue
agpl-3.0
839
<template> <Teleport to="body"> <Transition> <!-- Backdrop --> <div v-if="open" class="backdrop z-20 flex justify-center items-center"> <!-- Dialog --> <div class=" bg-white dark:bg-gray-850 border dark:border-gray-800 ...
2302_79757062/books
src/components/Dialog.vue
Vue
agpl-3.0
4,013
<template> <Popover :show-popup="isShown" :hide-arrow="true" :placement="right ? 'bottom-end' : 'bottom-start'" > <template #target> <div v-on-outside-click="() => (isShown = false)" class="h-full"> <slot :toggle-dropdown="toggleDropdown" :highlight-item-up="highlig...
2302_79757062/books
src/components/Dropdown.vue
Vue
agpl-3.0
6,298
<template> <Dropdown v-if="actions && actions.length" class="text-xs" :items="items" :doc="doc" right > <template #default="{ toggleDropdown }"> <Button :type="type" :icon="icon" @click="toggleDropdown()"> <slot> <feather-icon name="more-horizontal" class="w-4 h-4" />...
2302_79757062/books
src/components/DropdownWithActions.vue
Vue
agpl-3.0
1,452
<template> <slot></slot> </template> <script lang="ts"> import { defineComponent } from 'vue'; export default defineComponent({ props: { propagate: { type: Boolean, default: true } }, emits: ['error-captured'], errorCaptured(error) { this.$emit('error-captured', error); return this.propagate; }, }); <...
2302_79757062/books
src/components/ErrorBoundary.vue
Vue
agpl-3.0
329
<template> <div> <!-- Export Wizard Header --> <FormHeader :form-title="label" :form-sub-title="t`Export Wizard`" /> <hr class="dark:border-gray-800" /> <!-- Export Config --> <div class="grid grid-cols-3 p-4 gap-4"> <Check v-if="configFields.useListFilters && Object.keys(listFilter...
2302_79757062/books
src/components/ExportWizard.vue
Vue
agpl-3.0
8,025
<script> import feather from 'feather-icons'; import { h } from 'vue'; const validIcons = Object.keys(feather.icons); export default { props: { name: { type: String, required: true, validator: (value) => validIcons.includes(value), }, }, render() { const icon = feather.icons[this.n...
2302_79757062/books
src/components/FeatherIcon.vue
Vue
agpl-3.0
709
<template> <Popover v-if="fields.length" placement="bottom-end" @close="emitFilterChange" > <template #target="{ togglePopover }"> <Button :icon="true" @click="togglePopover()"> <span class="flex items-center"> <Icon name="filter" size="12" ...
2302_79757062/books
src/components/FilterDropdown.vue
Vue
agpl-3.0
8,311
<template> <div class=" flex bg-gray-25 dark:bg-gray-875 overflow-x-auto custom-scroll custom-scroll-thumb1 " > <div class="flex flex-1 flex-col"> <!-- Page Header (Title, Buttons, etc) --> <PageHeader v-if="showHeader" :title="title" :bo...
2302_79757062/books
src/components/FormContainer.vue
Vue
agpl-3.0
1,432
<template> <div class=" px-4 text-xl font-semibold flex justify-between h-row-large items-center flex-shrink-0 " > <h1 v-if="formTitle" class="dark:text-gray-25">{{ formTitle }}</h1> <slot /> <p v-if="formSubTitle" class="text-gray-600 dark:text-gr...
2302_79757062/books
src/components/FormHeader.vue
Vue
agpl-3.0
601
<template> <div ref="hr" class=" h-full bg-gray-300 dark:bg-gray-700 transition-opacity hover:opacity-100 " :class="resizing ? 'opacity-100' : 'opacity-0'" style="width: 3px; cursor: col-resize; margin-left: -3px" @mousedown="onMouseDown" > <MouseFollower ...
2302_79757062/books
src/components/HorizontalResizer.vue
Vue
agpl-3.0
2,746
<template> <button class="flex items-center z-10" @click="openHelpLink"> <p class="me-1"><slot></slot></p> <FeatherIcon v-if="icon" class="h-5 w-5 ms-3 text-blue-400" name="help-circle" /> </button> </template> <script> import FeatherIcon from './FeatherIcon.vue'; export default { c...
2302_79757062/books
src/components/HowTo.vue
Vue
agpl-3.0
533
<template> <component v-bind="$attrs" :is="iconComponent" :class="iconClasses" :active="active" :darkMode="darkMode" /> </template> <script lang="ts"> import icons12 from './Icons/12'; import icons18 from './Icons/18'; import icons24 from './Icons/24'; import icons8 from './Icons/8'; const com...
2302_79757062/books
src/components/Icon.vue
Vue
agpl-3.0
1,205
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 11"> <path stroke-linecap="round" stroke-linejoin="round" d="M2.25 2.25L9 2.25 2.25 2.25 2.25 4.5 0 2.25 2.25 0 2.25 2.25zM8.75 7.875L2 7.875 8.75 7.875 8.75 5.625 11 7.875 8.75 10.125 8.75 7.875z" transform="translate(.5)"...
2302_79757062/books
src/components/Icons/12/arrow-left-right.vue
Vue
agpl-3.0
349
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 10"> <path stroke-linecap="round" stroke-linejoin="round" d="M11.2 1.5L.8 1.5M3 5.75L9 5.75M5 10.5L7 10.5" transform="translate(0 -2)" /> </svg> </template>
2302_79757062/books
src/components/Icons/12/filter.vue
Vue
agpl-3.0
260
import ArrowLeftRight from './arrow-left-right.vue'; import DragHandle from './drag-handle.vue'; import Filter from './filter.vue'; import List from './list.vue'; import Select from './select.vue'; import Sidebar from './sidebar.vue'; // prettier-ignore export default { 'arrow-left-right': ArrowLeftRight, 'drag-ha...
2302_79757062/books
src/components/Icons/12/index.ts
TypeScript
agpl-3.0
420
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 10"> <path stroke-linecap="round" stroke-linejoin="round" d="M1.5,0.5 L10.5,0.5 C11.0522847,0.5 11.5,0.94771525 11.5,1.5 L11.5,8.5 C11.5,9.05228475 11.0522847,9.5 10.5,9.5 L1.5,9.5 C0.94771525,9.5 0.5,9.05228475 0.5,8.5 L0.5,1.5 ...
2302_79757062/books
src/components/Icons/12/list.vue
Vue
agpl-3.0
408
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5 10"> <path stroke-linecap="round" stroke-linejoin="round" d="M4,3.63636364 L5.63636364,2 L7.27272727,3.63636364 M4,8.36363636 L5.63636364,10 L7.27272727,8.36363636" transform="translate(-3 -1)" /> </svg> </template>
2302_79757062/books
src/components/Icons/12/select.vue
Vue
agpl-3.0
318
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 10"> <path stroke-linecap="round" stroke-linejoin="round" d="M1.5,0.5 L10.5,0.5 C11.0522847,0.5 11.5,0.94771525 11.5,1.5 L11.5,8.5 C11.5,9.05228475 11.0522847,9.5 10.5,9.5 L1.5,9.5 C0.94771525,9.5 0.5,9.05228475 0.5,8.5 L0.5,1.5 ...
2302_79757062/books
src/components/Icons/12/sidebar.vue
Vue
agpl-3.0
390
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 12"> <g fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" transform="translate(0 1)" > <g transform="rotate(180 4.5 3.5)"> <polyline points="0 2 2 0 4 2" /> <path...
2302_79757062/books
src/components/Icons/16/account-in.vue
Vue
agpl-3.0
633
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 16"> <path fill="#415668" d="M8.04916643,0 C4.12177371,0 1,3.09516381 1,6.98907956 C1,8.88611544 1.70491664,10.6833073 3.11474993,11.9812793 C3.21545231,12.0811232 7.24354741,15.675507 7.34424979,15.775351 C7.7470593,16.074883 8.351273...
2302_79757062/books
src/components/Icons/16/address.vue
Vue
agpl-3.0
676
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"> <g fill="none" fill-rule="evenodd"> <path fill="#415668" fill-rule="nonzero" d="M15.3333333,5.33333333 L0.666666667,5.33333333 C0.298666667,5.33333333 0,5.632 0,6 L0,15.3333333 C0,15.7013333 0.298666667,16 0.6666...
2302_79757062/books
src/components/Icons/16/assets.vue
Vue
agpl-3.0
935
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 12"> <g fill="none" fill-rule="evenodd" transform="translate(.5 -1.5)"> <path d="M.5 5.5L.5 10.4361148C.5 11.1734491.553979991 11.4529804.708039303 11.7410463.835746496 11.979838 1.02016204 12.1642535 1.25895373 12.2919607 1.54701959...
2302_79757062/books
src/components/Icons/16/calendar.vue
Vue
agpl-3.0
1,030
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8"> <circle cx="8" cy="8" r="3.5" fill="none" transform="translate(-4 -4)" /> </svg> </template>
2302_79757062/books
src/components/Icons/16/circle.vue
Vue
agpl-3.0
171
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 4"> <polyline fill="none" stroke-linecap="round" stroke-linejoin="round" points="4 6 8 10 12 6" transform="translate(-3 -6)" /> </svg> </template>
2302_79757062/books
src/components/Icons/16/down-small.vue
Vue
agpl-3.0
256
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 9"> <polyline fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" points="1 5 8 12 15 5" transform="translate(0 -4)" /> </svg> </template>
2302_79757062/books
src/components/Icons/16/down.vue
Vue
agpl-3.0
280
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 16"> <path fill="#415668" d="M12.0016667,2 L14.6683333,0 L14.6683333,15.3333333 C14.6683333,15.702 14.3696667,16 14.0016667,16 L2.00166667,16 C1.63366667,16 1.335,15.702 1.335,15.3333333 L1.335,0 L4.00166667,2 L6.00166667,0 L8.00166667...
2302_79757062/books
src/components/Icons/16/expenses.vue
Vue
agpl-3.0
1,084
import AccountIn from './account-in.vue'; import Address from './address.vue'; import Assets from './assets.vue'; import Calendar from './calendar.vue'; import Circle from './circle.vue'; import DownSmall from './down-small.vue'; import Down from './down.vue'; import Expenses from './expenses.vue'; import Income from '...
2302_79757062/books
src/components/Icons/16/index.ts
TypeScript
agpl-3.0
1,010
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"> <g fill="none" fill-rule="evenodd"> <path fill="#A1ABB4" d="M15.3333333,0.5 L0.666666667,0.5 C0.298666667,0.5 0,0.798666667 0,1.16666667 L0,3.83333333 C0,4.20133333 0.298666667,4.5 0.666666667,4.5 L15.3333333,4.5 C15.701...
2302_79757062/books
src/components/Icons/16/items.vue
Vue
agpl-3.0
852
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"> <g fill="none" fill-rule="evenodd" transform="translate(.665)"> <path fill="#415668" fill-rule="nonzero" d="M6.66666667,11.3593333 L11.3333333,7.626 L13.3333333,9.226 L13.3333333,0.666666667 C13.3333333,0.2984768...
2302_79757062/books
src/components/Icons/16/liabilities.vue
Vue
agpl-3.0
1,183
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 14"> <g fill="none" fill-rule="evenodd"> <path fill="#A1ABB4" d="M15,0 L1,0 C0.4,0 0,0.4 0,1 L0,2.4 L8,6.9 L16,2.5 L16,1 C16,0.4 15.6,0 15,0 Z" /> <path fill="#415668" fill-rule="nonzero" d...
2302_79757062/books
src/components/Icons/16/mail.vue
Vue
agpl-3.0
482
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"> <path fill="#415668" d="M8.33333333,2.66666667 L6.33333333,0 L0.666666667,0 C0.298476833,0 4.50902501e-17,0.298476833 0,0.666666667 L0,12.6666667 C1.3527075e-16,13.7712362 0.8954305,14.6666667 2,14.6666667 L14,14.6666667 C15.10456...
2302_79757062/books
src/components/Icons/16/normal.vue
Vue
agpl-3.0
523
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"> <path fill="#415668" d="M15.87,4.93733333 C15.7442388,4.76701257 15.5450526,4.66655343 15.3333333,4.66666667 L3.33333333,4.66666667 C3.04059338,4.66660971 2.78206554,4.85753089 2.696,5.13733333 L1.33333333,9.566 L1.33333333,1.3333...
2302_79757062/books
src/components/Icons/16/opened.vue
Vue
agpl-3.0
1,129
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"> <g fill="none" fill-rule="evenodd"> <path fill="#415668" fill-rule="nonzero" d="M15.285,12.305 L12.707,9.711 C12.317,9.318 11.682,9.318 11.291,9.709 L9,12 L4,7 L6.294,4.706 C6.684,4.316 6.685,3.683 6.295,3.292 L3...
2302_79757062/books
src/components/Icons/16/phone.vue
Vue
agpl-3.0
694
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"> <path fill="#112B42" d="M15,7 L9,7 L9,1 C9,0.4 8.6,0 8,0 C7.4,0 7,0.4 7,1 L7,7 L1,7 C0.4,7 0,7.4 0,8 C0,8.6 0.4,9 1,9 L7,9 L7,15 C7,15.6 7.4,16 8,16 C8.6,16 9,15.6 9,15 L9,9 L15,9 C15.6,9 16,8.6 16,8 C16,7.4 15.6,7 15,7 Z" /> ...
2302_79757062/books
src/components/Icons/16/plus.vue
Vue
agpl-3.0
341
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 15"> <path fill="none" stroke-linecap="round" stroke-linejoin="round" d="M7,13 C10.3137085,13 13,10.3137085 13,7 C13,3.6862915 10.3137085,1 7,1 C3.6862915,1 1,3.6862915 1,7 C1,10.3137085 3.6862915,13 7,13 Z M15,15 L11.242,1...
2302_79757062/books
src/components/Icons/16/search.vue
Vue
agpl-3.0
355
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"> <g fill="none" fill-rule="evenodd"> <path fill="#92D336" fill-rule="nonzero" d="M9,0 C4.02943725,-3.04359188e-16 6.08718376e-16,4.02943725 0,9 C-6.08718376e-16,13.9705627 4.02943725,18 9,18 C13.9705627,18 18,13.9...
2302_79757062/books
src/components/Icons/18/check.vue
Vue
agpl-3.0
692
<template> <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" > <path fill-rule="evenodd" clip-rule="evenodd" d="M1.28577 0.728572C1.28577 0.326193 1.61196 0 2.01434 0H15.5572C15.9596 0 16.2858 0.326193 16.2858 0.728571V8.78571H12...
2302_79757062/books
src/components/Icons/18/common-entries.vue
Vue
agpl-3.0
1,004
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"> <path fill="#FED73A" fill-rule="evenodd" d="M13.8000002,0 L0.600000009,0 C0.268800004,0 0,0.268800004 0,0.600000009 L0,13.8000002 C0,14.1312002 0.268800004,14.4000002 0.600000009,14.4000002 L13.8000002,14.4000002 C14.1312002...
2302_79757062/books
src/components/Icons/18/customer.vue
Vue
agpl-3.0
1,278
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"> <g fill="none" fill-rule="evenodd" transform="translate(.7)"> <path :fill="lightColor" d="M6,9.33333333 L0.666666667,9.33333333 C0.298666667,9.33333333 1.95399252e-14,9.03466667 1.95399252e-14,8.66666667 L1.95399252e-14,...
2302_79757062/books
src/components/Icons/18/dashboard.vue
Vue
agpl-3.0
1,708
<template> <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" > <path fill-rule="evenodd" clip-rule="evenodd" d="M6.81398 5.75342L5.67204 6.73249L3.9698 5.03025L3.00005 6L5.09165e-05 3L3.00005 0L6.00005 3L5.0303 3.96975L6.81398 5....
2302_79757062/books
src/components/Icons/18/general.vue
Vue
agpl-3.0
1,299
<template> <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" > <path fill-rule="evenodd" clip-rule="evenodd" d="M2 1C0.895431 1 0 1.89543 0 3V15C0 16.1046 0.89543 17 2 17H16C17.1046 17 18 16.1046 18 15V3C18 1.89543 17.1046 1 16 1...
2302_79757062/books
src/components/Icons/18/gst.vue
Vue
agpl-3.0
2,207
import Check from './check.vue'; import CommonEntries from './common-entries.vue'; import Customer from './customer.vue'; import Dashboard from './dashboard.vue'; import Fb from './fb.vue'; import General from './general.vue'; import Gst from './gst.vue'; import Inventory from './inventory.vue'; import Invoice from './...
2302_79757062/books
src/components/Icons/18/index.ts
TypeScript
agpl-3.0
1,556
<template> <svg width="20" height="20" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M7.4943 0.151836C7.88385 -0.0506121 8.33973 -0.0506121 8.72928 0.151836L17.0957 4.49986L14.7724 5.70728L5.78847 1.03835L7.4943 0.151836Z" :fill="lightColor" />...
2302_79757062/books
src/components/Icons/18/inventory.vue
Vue
agpl-3.0
999
<template> <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" > <path fill-rule="evenodd" clip-rule="evenodd" d="M2.475 6.3L0.3375 4.1625C-0.1125 3.7125 -0.1125 3.0375 0.3375 2.5875L2.5875 0.3375C3.0375 -0.1125 3.7125 -0.1125 4.16...
2302_79757062/books
src/components/Icons/18/invoice.vue
Vue
agpl-3.0
1,126
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"> <path fill="#F46181" d="M13.7999992,0 C14.1311992,0 14.3999991,0.268799984 14.3999991,0.599999964 L14.3999991,2.99999982 C14.3999991,3.3311998 14.1311992,3.59999979 13.7999992,3.59999979 L0.599999964,3.59999979 C0.268799984,3.5999...
2302_79757062/books
src/components/Icons/18/item.vue
Vue
agpl-3.0
944
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"> <path fill="#6881DF" d="M10.05,9.45 L18,5.175 L18,12.75 C18,13.9926407 16.9926407,15 15.75,15 L2.25,15 C1.00735931,15 -8.42477746e-13,13.9926407 -8.42629924e-13,12.75 L-8.42629924e-13,5.175 L7.95,9.45 C8.25827686,9.66106884 8.6267...
2302_79757062/books
src/components/Icons/18/mail.vue
Vue
agpl-3.0
1,008
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"> <path fill="#FD9E64" d="M17.25,3 L3,3 L2.25,3 C1.83675,3 1.5,2.66325 1.5,2.25 C1.5,1.83675 1.83675,1.5 2.25,1.5 L13.5,1.5 L13.5,2.25 L15,2.25 L15,0.75 C15,0.336 14.664,0 14.25,0 L2.25,0 C1.00725,0 0,1.00725 0,2.25 L0,15 C0,16.6567...
2302_79757062/books
src/components/Icons/18/opening-ac.vue
Vue
agpl-3.0
671
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"> <path fill="#D279E6" fill-rule="evenodd" d="M9,0 C4.03725,0 0,4.03725 0,9 C0,13.96275 4.03725,18 9,18 C13.96275,18 18,13.96275 18,9 C18,4.03725 13.96275,0 9,0 Z M4.5,6 C4.5,5.17125 5.17125,4.5 6,4.5 C6.82875,4.5 7.5,5.17125 ...
2302_79757062/books
src/components/Icons/18/percentage.vue
Vue
agpl-3.0
723
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path fill="none" d="M0 0h24v24H0z"></path> <path :fill="darkColor" d="M21 13V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V13H2V11L3 6H21L22 11V13H21ZM5 13V19H19V13H5ZM6 14H14V17H6V14ZM3 3H21V5H3V3Z" ></path>...
2302_79757062/books
src/components/Icons/18/pos.vue
Vue
agpl-3.0
430
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"> <path fill="#4ADAFC" d="M14.25,0 L0.75,0 C0.336,0 0,0.33525 0,0.75 L0,18 L3,15.75 L5.25,18 L7.5,15.75 L9.75,18 L12,15.75 L15,18 L15,0.75 C15,0.33525 14.664,0 14.25,0 Z M8.25,12 L3,12 L3,10.5 L8.25,10.5 L8.25,12 Z M8.25,9 L3,9 L3,7...
2302_79757062/books
src/components/Icons/18/purchase-invoice.vue
Vue
agpl-3.0
658
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 18"> <g fill="none" fill-rule="evenodd" transform="translate(0 .5)"> <path :fill="darkColor" fill-rule="nonzero" d="M0,4.3972168 L16,4.3972168 L16,15 C16,16.1045695 15.1045695,17 14,17 L2,17 C0.8954305,17 1.3527075e-1...
2302_79757062/books
src/components/Icons/18/purchase.vue
Vue
agpl-3.0
1,274
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"> <g fill-rule="evenodd"> <path :fill="lightColor" d="M16.2857143,2.5 L16.2857143,7.26902668 L11.9220779,7.26902668 C11.7032818,7.26906827 11.4982329,7.36737803 11.3613275,7.53318731 L11.2988052,7.62157447 L9.87116883,10 L...
2302_79757062/books
src/components/Icons/18/reports.vue
Vue
agpl-3.0
1,494
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"> <path fill="#126FE1" d="M7.125,9.75 C6.08946609,9.75 5.25,8.91053391 5.25,7.875 C5.25,6.83946609 6.08946609,6 7.125,6 C8.16053391,6 9,6.83946609 9,7.875 C9,8.91053391 8.16053391,9.75 7.125,9.75 Z M14.25,0 C14.6642136,2.53632657e-1...
2302_79757062/books
src/components/Icons/18/review-ac.vue
Vue
agpl-3.0
962
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"> <path fill="#36D3B1" d="M14.25,0 L0.75,0 C0.335786438,-2.53632657e-17 0,0.335786438 0,0.75 L0,17.901 L3,15.9 L5.25,17.4 L7.5,15.9 L9.75,17.4 L12,15.9 L15,17.8995 L15,0.75 C15,0.335786438 14.6642136,2.53632657e-17 14.25,0 Z M8.25,1...
2302_79757062/books
src/components/Icons/18/sales-invoice.vue
Vue
agpl-3.0
805
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 14"> <g fill="none" fill-rule="evenodd"> <path :fill="darkColor" d="M0,5.11230469 L16,5.11230469 L16,12 C16,13.1045695 15.1045695,14 14,14 L2,14 C0.8954305,14 1.3527075e-16,13.1045695 0,12 L0,5.11230469 Z M8.5,10 C8.22385763,...
2302_79757062/books
src/components/Icons/18/sales.vue
Vue
agpl-3.0
828
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 18"> <g fill="none" fill-rule="evenodd" transform="translate(0 .5)"> <path :fill="lightColor" d="M4,8 L12,8 C14.1818182,8 16,6.18181818 16,4 C16,1.81818182 14.1818182,0 12,0 L4,0 C1.81818182,0 0,1.81818182 0,4 C0,6.18181818 1...
2302_79757062/books
src/components/Icons/18/settings.vue
Vue
agpl-3.0
1,203
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"> <g fill="none" fill-rule="evenodd" transform="translate(0 .35)"> <path fill="#A1ABB4" d="M6.54141662,5.52328734 L5.44516019,6.46319093 L3.81100888,4.82904 L2.88004888,5.76 L4.8879784e-05,2.88 L2.88004888,-2.5903612e-12 L...
2302_79757062/books
src/components/Icons/18/start.vue
Vue
agpl-3.0
1,626
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g fill="none" fill-rule="evenodd"> <path :fill="lightColor" d="M9.08530087,7.67123242 L7.56272248,8.97665406 L5.29306789,6.707 L4.00006789,8 L6.78885887e-05,4 L4.00006789,-3.55351234e-12 L8.00006789,4 L6.70706789,5.293 ...
2302_79757062/books
src/components/Icons/24/general.vue
Vue
agpl-3.0
1,522
<template> <svg width="24" height="24" xmlns="http://www.w3.org/2000/svg"> <g fill="none" fill-rule="evenodd"> <path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12C23.98 5.38 18.62.02 12 0z" fill="#92D336" fill-rule="nonzero" /> <path stroke="#FFF" ...
2302_79757062/books
src/components/Icons/24/green-check.vue
Vue
agpl-3.0
602
import General from './general.vue'; import GreenCheck from './green-check.vue'; import Invoice from './invoice.vue'; import Mail from './mail.vue'; import Privacy from './privacy.vue'; import System from './system.vue'; // prettier-ignore export default { 'general': General, 'green-check': GreenCheck, 'invoice'...
2302_79757062/books
src/components/Icons/24/index.ts
TypeScript
agpl-3.0
392
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g fill="none" fill-rule="evenodd"> <path :fill="lightColor" d="M3.3,8.4 L0.45,5.55 C-0.15,4.95 -0.15,4.05 0.45,3.45 L3.45,0.45 C4.05,-0.15 4.95,-0.15 5.55,0.45 L8.4,3.3 L3.3,8.4 Z M20.7,15.6 L23.55,18.45 C23.85,18.75 24...
2302_79757062/books
src/components/Icons/24/invoice.vue
Vue
agpl-3.0
975
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 20"> <g fill="none" fill-rule="evenodd"> <path :fill="lightColor" fill-rule="nonzero" d="M13.4,12.6 C12.9889642,12.8814251 12.4976701,13.0217949 12,13 C11.5023299,13.0217949 11.0110358,12.8814251 10.6,12.6 L0,6.9 L0,1...
2302_79757062/books
src/components/Icons/24/mail.vue
Vue
agpl-3.0
1,061
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 7"> <g fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"> <path d="M6.8 4.002L.8 4M4.6 1.335l2.667 2.667L4.6 6.668" /> </g> </svg> </template>
2302_79757062/books
src/components/Icons/8/arrow-right.vue
Vue
agpl-3.0
244
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6 10"> <path d="M4.75 8.5L1.25 5l3.5-3.5" stroke-width="1.5" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" /> </svg> </template>
2302_79757062/books
src/components/Icons/8/chevron-left.vue
Vue
agpl-3.0
256
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6 8"> <path d="M1.25 7.75l3.5-3.5-3.5-3.5" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" /> </svg> </template>
2302_79757062/books
src/components/Icons/8/chevron-right.vue
Vue
agpl-3.0
232
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8"> <circle cx="4" cy="4" r="3.5" fill-rule="evenodd" /> </svg> </template>
2302_79757062/books
src/components/Icons/8/circle.vue
Vue
agpl-3.0
150
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 2"> <path d="M1.633 1.033a.833.833 0 11-1.666 0 .833.833 0 011.666 0zm3.2 0a.833.833 0 11-1.666 0 .833.833 0 011.666 0zm3.2 0a.833.833 0 11-1.666 0 .833.833 0 011.666 0z" fill-rule="nonzero" /> </svg> </template>
2302_79757062/books
src/components/Icons/8/dot-horizontal.vue
Vue
agpl-3.0
303
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 9"> <path d="M1 6.4a.833.833 0 110 1.667A.833.833 0 011 6.4zm0-3.2a.833.833 0 110 1.667A.833.833 0 011 3.2zM1 0a.833.833 0 110 1.667A.833.833 0 011 0z" fill-rule="nonzero" /> </svg> </template>
2302_79757062/books
src/components/Icons/8/dot-vertical.vue
Vue
agpl-3.0
284
import ArrowRight from './arrow-right.vue'; import ChevronLeft from './chevron-left.vue'; import ChevronRight from './chevron-right.vue'; import Circle from './circle.vue'; import DotHorizontal from './dot-horizontal.vue'; import DotVertical from './dot-vertical.vue'; import Pencil from './pencil.vue'; import Plus from...
2302_79757062/books
src/components/Icons/8/index.ts
TypeScript
agpl-3.0
663
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"> <path d="M7 1.4L8.6 3 3.8 7.8l-2.4.8.8-2.4z" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" /> </svg> </template>
2302_79757062/books
src/components/Icons/8/pencil.vue
Vue
agpl-3.0
242
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8"> <path d="M4 .8v6.4M7.2 4H.8" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" /> </svg> </template>
2302_79757062/books
src/components/Icons/8/plus.vue
Vue
agpl-3.0
224
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6 8"> <g fill-rule="nonzero"> <path d="M0 3h6L3 0z" /> <path opacity=".5" d="M3 8l3-3H0z" /> </g> </svg> </template>
2302_79757062/books
src/components/Icons/8/up.vue
Vue
agpl-3.0
205
<template> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8"> <path d="M7.2.8L.8 7.2m6.4 0L.8.8" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" /> </svg> </template>
2302_79757062/books
src/components/Icons/8/x.vue
Vue
agpl-3.0
230
<script lang="ts"> import { uicolors } from 'src/utils/colors'; export default { name: 'IconBase', props: { active: Boolean, darkMode: { type: Boolean, default: false }, }, computed: { lightColor(): string { const activeGray = this.darkMode ? uicolors.gray['500'] : uicolors.gr...
2302_79757062/books
src/components/Icons/base.vue
Vue
agpl-3.0
908
<template> <div v-if="open && !close" class="absolute bottom-0 flex justify-end pb-6 pe-6" :style="{ width: fullWidth ? '100%' : 'calc(100% - 12rem)' }" > <!-- Loading Continer --> <div class=" border dark:border-gray-800 text-gray-900 dark:text-gray-100 ...
2302_79757062/books
src/components/Loading.vue
Vue
agpl-3.0
2,077
<template> <Transition> <div v-if="openModal" class="backdrop z-20 flex justify-center items-center" @click="$emit('closemodal')" > <div class=" bg-white dark:bg-gray-850 rounded-lg shadow-2xl border dark:border-gray-8...
2302_79757062/books
src/components/Modal.vue
Vue
agpl-3.0
1,519
<template> <Tooltip ref="tooltip"><slot></slot></Tooltip> </template> <script> import { defineComponent } from 'vue'; import Tooltip from './Tooltip.vue'; export default defineComponent({ components: { Tooltip }, props: { show: { type: Boolean, default: false } }, watch: { show(val) { if (val) { ...
2302_79757062/books
src/components/MouseFollower.vue
Vue
agpl-3.0
786
<template> <div class="relative"> <input :type="inputType" :class="[inputClasses, size === 'large' ? 'text-lg' : 'text-sm']" :value="round(value)" :max="isNumeric(df) ? df.maxvalue : undefined" :min="isNumeric(df) ? df.minvalue : undefined" :readonly="isReadOnly" :tabinde...
2302_79757062/books
src/components/POS/FloatingLabelCurrencyInput.vue
Vue
agpl-3.0
2,896
<script lang="ts"> import { defineComponent } from 'vue'; import FloatingLabelInputBase from './FloatingLabelInputBase.vue'; export default defineComponent({ name: 'FloatingLabelFloatInput', extends: FloatingLabelInputBase, computed: { inputType() { return 'number'; }, }, }); </script>
2302_79757062/books
src/components/POS/FloatingLabelFloatInput.vue
Vue
agpl-3.0
310
<template> <div class="relative"> <input :type="inputType" :class="[inputClasses, size === 'large' ? 'text-lg' : 'text-sm']" :value="value" :max="isNumeric(df) ? df.maxvalue : undefined" :min="isNumeric(df) ? df.minvalue : undefined" :readonly="isReadOnly" :tabindex="isRe...
2302_79757062/books
src/components/POS/FloatingLabelInputBase.vue
Vue
agpl-3.0
1,613
<template> <Row :ratio="ratio" class=" border dark:border-gray-800 flex items-center mt-4 px-2 rounded-t-md text-gray-600 dark:text-gray-400 w-full " > <div v-for="df in tableFields" :key="df.fieldname" class="flex items-c...
2302_79757062/books
src/components/POS/ItemsTable.vue
Vue
agpl-3.0
3,874
<template> <feather-icon :name="isExapanded ? 'chevron-up' : 'chevron-down'" class="w-4 h-4 inline-flex" @click="isExapanded = !isExapanded" /> <div class="relative"> <Link class="pt-2" :df="{ fieldname: 'item', fieldtype: 'Data', label: 'item', }" ...
2302_79757062/books
src/components/POS/SelectedItemRow.vue
Vue
agpl-3.0
9,874
<template> <Row :ratio="ratio" class=" border dark:border-gray-800 rounded-t px-2 text-gray-600 dark:text-gray-400 w-full flex items-center mt-4 " > <div v-if="tableFields" v-for="df in tableFields" :key="df.fieldname" ...
2302_79757062/books
src/components/POS/SelectedItemTable.vue
Vue
agpl-3.0
3,423
import { Money } from "pesa"; export type ItemQtyMap = { [item: string]: { availableQty: number;[batch: string]: number }; } export type ItemSerialNumbers = { [item: string]: string }; export type DiscountType = "percent" | "amount"; export type ModalName = 'ShiftOpen' | 'ShiftClose' | 'Payment' export interfa...
2302_79757062/books
src/components/POS/types.ts
TypeScript
agpl-3.0
466
<template> <div class=" px-4 flex justify-between items-center h-row-largest flex-shrink-0 dark:bg-gray-875 " :class="[ border ? 'border-b dark:border-gray-800' : '', platform !== 'Windows' ? 'window-drag' : '', ]" > <Transition name="spacer"...
2302_79757062/books
src/components/PageHeader.vue
Vue
agpl-3.0
2,581
<template> <div class="flex"> <SearchBar /> <!-- Back Button --> <a ref="backlink" class=" nav-link border-l border-r border-white dark:border-gray-850 dark:bg-gray-900 " :class=" historyState.back ? 'text-gray-700 dark:text-gray-300 cursor...
2302_79757062/books
src/components/PageHeaderNavGroup.vue
Vue
agpl-3.0
1,837
<template> <div class=" grid grid-cols-3 text-gray-800 dark:text-gray-100 text-sm select-none items-center " style="height: 50px" > <!-- Length Display --> <div class="justify-self-start"> {{ `${(pageNo - 1) * count + 1} - ${Math.min(pageNo * cou...
2302_79757062/books
src/components/Paginator.vue
Vue
agpl-3.0
3,789
<template> <div ref="reference"> <div class="h-full"> <slot name="target" :toggle-popover="togglePopover" :handle-blur="handleBlur" ></slot> </div> <Transition> <div v-show="isOpen" ref="popover" :class="popoverClass" class=" ...
2302_79757062/books
src/components/Popover.vue
Vue
agpl-3.0
3,076
<template> <div style="min-width: 192px; max-width: 300px"> <div class="p-2 flex justify-between" :class="values.length ? 'border-b dark:border-gray-800' : ''" > <p v-if="schema?.naming !== 'random' && !schema?.isChild" class="font-semibold text-base text-gray-900 dark:text-g...
2302_79757062/books
src/components/QuickView.vue
Vue
agpl-3.0
2,535
<template> <div class="overflow-hidden flex flex-col h-full"> <!-- Report Outer Container --> <div v-if="dataSlice.length" class="overflow-hidden"> <!--Title Row --> <div ref="titlerow" class=" w-full overflow-x-hidden flex items-center ...
2302_79757062/books
src/components/Report/ListReport.vue
Vue
agpl-3.0
6,232
<template> <div class="inline-grid" :style="style" v-bind="$attrs"> <slot></slot> </div> </template> <script> export default { name: 'Row', props: { columnWidth: { type: String, default: '1fr', }, columnCount: { type: Number, default: 0, }, ratio: { type: Ar...
2302_79757062/books
src/components/Row.vue
Vue
agpl-3.0
1,033
<template> <div> <!-- Search Bar Button --> <Button class="px-3 py-2 rounded-r-none dark:bg-gray-900" :padding="false" @click="open" > <feather-icon name="search" class="w-4 h-4 text-gray-700 dark:text-gray-300" /> </Button> </div> <!-- Search Modal -...
2302_79757062/books
src/components/SearchBar.vue
Vue
agpl-3.0
12,759
<template> <div class="flex-shrink-0 flex items-center gap-2" style="width: fit-content"> <kbd v-for="k in keys" :key="k" class="key-common" :class="{ 'key-styling': !simple }" >{{ keyMap[k] ?? k }}</kbd > </div> </template> <script lang="ts"> import { getShortcutKeyMap } from ...
2302_79757062/books
src/components/ShortcutKeys.vue
Vue
agpl-3.0
920
<template> <div> <FormHeader :form-title="t`Shortcuts`" /> <hr class="dark:border-gray-800" /> <div class=" h-96 overflow-y-auto custom-scroll custom-scroll-thumb2 text-gray-900 dark:text-gray-100 " > <template v-for="g in groups" :key="g.label...
2302_79757062/books
src/components/ShortcutsHelper.vue
Vue
agpl-3.0
6,106
<template> <div class=" py-2 h-full flex justify-between flex-col bg-gray-25 dark:bg-gray-900 relative " :class="{ 'window-drag': platform !== 'Windows', }" > <div> <!-- Company name --> <div class="px-4 flex flex-row item...
2302_79757062/books
src/components/Sidebar.vue
Vue
agpl-3.0
9,190
<template> <p class="pill font-medium" :class="styleClass">{{ text }}</p> </template> <script lang="ts"> import { Doc } from 'fyo/model/doc'; import { isPesa } from 'fyo/utils'; import { Invoice } from 'models/baseModels/Invoice/Invoice'; import { Party } from 'models/baseModels/Party/Party'; import { getBgTextColorC...
2302_79757062/books
src/components/StatusPill.vue
Vue
agpl-3.0
3,111
<template> <Teleport to="#toast-container"> <Transition> <div v-if="open" class=" inner text-gray-900 dark:text-gray-25 shadow-lg px-3 py-2 flex items-center mb-3 w-toast z-30 ...
2302_79757062/books
src/components/Toast.vue
Vue
agpl-3.0
2,745
<template> <div id="tooltip" ref="tooltip" style="transition: opacity 100ms ease-in" :style="{ opacity }" > <slot></slot> </div> </template> <script> import flip from '@popperjs/core/lib/modifiers/flip'; import offset from '@popperjs/core/lib/modifiers/offset'; import preventOverflow from '@p...
2302_79757062/books
src/components/Tooltip.vue
Vue
agpl-3.0
1,952