mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
feat: universal search.
This commit is contained in:
@@ -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',
|
||||
|
||||
14
client/src/common/resourcesTypes.js
Normal file
14
client/src/common/resourcesTypes.js
Normal 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',
|
||||
};
|
||||
@@ -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',
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user