it-tools/src/tools/math-evaluator/index.ts

45 lines
788 B
TypeScript
Raw Normal View History

import { IconMath } from '@tabler/icons-vue';
2022-06-02 00:10:03 +02:00
import { defineTool } from '../tool';
import { translate } from '@/plugins/i18n.plugin';
2022-06-02 00:10:03 +02:00
export const tool = defineTool({
name: translate('tools.math-evaluator.title'),
2022-06-02 00:10:03 +02:00
path: '/math-evaluator',
description: translate('tools.math-evaluator.description'),
2022-06-02 00:10:03 +02:00
keywords: [
'math',
'evaluator',
'calculator',
'expression',
'abs',
2022-06-02 00:10:03 +02:00
'acos',
'acosh',
'acot',
'acoth',
'acsc',
'acsch',
'asec',
'asech',
'asin',
'asinh',
'atan',
'atan2',
'atanh',
'cos',
'cosh',
'cot',
'coth',
'csc',
'csch',
'sec',
'sech',
'sin',
'sinh',
'sqrt',
2022-06-02 00:10:03 +02:00
'tan',
'tanh',
],
component: () => import('./math-evaluator.vue'),
icon: IconMath,
2022-06-02 00:10:03 +02:00
});