feat: universal search.

This commit is contained in:
a.bouhuolia
2021-08-21 18:59:49 +02:00
parent a7b0f1a8d2
commit 79c1b2ab67
82 changed files with 2497 additions and 317 deletions

View File

@@ -74,6 +74,8 @@ const CLASSES = {
UNIVERSAL_SEARCH_OVERLAY: 'universal-search-overlay',
UNIVERSAL_SEARCH_INPUT: 'universal-search__input',
UNIVERSAL_SEARCH_INPUT_RIGHT_ELEMENTS: 'universal-search-input-right-elements',
UNIVERSAL_SEARCH_TYPE_SELECT_OVERLAY: 'universal-search__type-select-overlay',
UNIVERSAL_SEARCH_TYPE_SELECT_BTN: 'universal-search__type-select-btn',
UNIVERSAL_SEARCH_FOOTER: 'universal-search__footer',
UNIVERSAL_SEARCH_ACTIONS: 'universal-search__actions',

View File

@@ -0,0 +1,14 @@
export const RESOURCES_TYPES = {
INVOICE: 'invoice',
ESTIMATE: 'estimate',
RECEIPT: 'receipt',
PAYMENT_RECEIVE: 'payment_receive',
PAYMENT_MADE: 'payment_made',
CUSTOMER: 'customer',
VENDOR: 'vendor',
ITEM: 'item',
BILL: 'bill',
EXPENSE: 'expense',
MANUAL_JOURNAL: 'manual_journal',
ACCOUNT: 'account',
};

View File

@@ -1,12 +0,0 @@
import intl from 'react-intl-universal';
export default [
{
name: 'Type1',
placeholder: 'Id tempor anim culpa esse id laboris.',
},
{
name: 'Type2',
placeholder: 'Laborum aliqua eiusmod voluptate aliqua',
},
];