Skip to content

Commit

Permalink
Merge pull request #19 from newera-systems/hotfix/path
Browse files Browse the repository at this point in the history
remove path alias
  • Loading branch information
sadortun authored Oct 14, 2023
2 parents c2b062b + cacad6d commit cb16811
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "datagrid-bvue",
"version": "0.2.0",
"version": "0.2.1",
"description": "DataGrid based on bootstrap vue",
"keywords": [
"datagrid",
Expand Down
12 changes: 6 additions & 6 deletions src/datagrid-bvue.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { type Component } from 'vue';
import { type PluginObject } from 'vue/types/plugin';
import DataGridTable from './components/Table.vue';
import RuleEngineFilter from '@components/RuleEngineFilter.vue';
import RuleEditorModal from '@components/RuleEditorModal.vue';
import { editorComponentsList, viewerComponentsList } from '@/editFields/config';
import { componentsList, RuleEngineConfig, type SchemaList } from '@/rule/RuleElementCreator';
import RuleEngineFilter from './components/RuleEngineFilter.vue';
import RuleEditorModal from './components/RuleEditorModal.vue';
import { editorComponentsList, viewerComponentsList } from './editFields/config';
import { componentsList, RuleEngineConfig, type SchemaList } from './rule/RuleElementCreator';
import { type Money } from 'ts-money';
import { type Language } from '@/fieldsData';
import { type Language } from './fieldsData';

export interface GridFieldOptions {
canView: boolean;
Expand Down Expand Up @@ -305,4 +305,4 @@ if (typeof window !== 'undefined' && window.Vue !== undefined && window.Vue.use

export default DataGridPlugin;
export * from './namedExports';
export * from '@/ModelDecorator/index';
export * from './ModelDecorator/index';
30 changes: 15 additions & 15 deletions src/editFields/config.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import { type Component } from 'vue';
import { type FieldType } from '@/datagrid-bvue';
import StringViewer from '@/editFields/viewer/StringViewer.vue';
import NumberViewer from '@/editFields/viewer/NumberViewer.vue';
import DateViewer from '@/editFields/viewer/DateViewer.vue';
import StringEditor from '@/editFields/editor/StringEditor.vue';
import NumberEditor from '@/editFields/editor/NumberEditor.vue';
import DateEditor from '@/editFields/editor/DateEditor.vue';
import BooleanViewer from '@/editFields/viewer/BooleanViewer.vue';
import BooleanEditor from '@/editFields/editor/BooleanEditor.vue';
import MoneyViewer from '@/editFields/viewer/MoneyViewer.vue';
import MoneyEditor from '@/editFields/editor/MoneyEditor.vue';
import PercentViewer from '@/editFields/viewer/PercentViewer.vue';
import LangViewer from '@/editFields/viewer/LangViewer.vue';
import LangEditor from '@/editFields/editor/LangEditor.vue';
import PointerViewer from '@/editFields/viewer/PointerViewer.vue';
import ArrayViewer from '@/editFields/viewer/ArrayViewer.vue';
import StringViewer from './viewer/StringViewer.vue';
import NumberViewer from './viewer/NumberViewer.vue';
import DateViewer from './viewer/DateViewer.vue';
import StringEditor from './editor/StringEditor.vue';
import NumberEditor from './editor/NumberEditor.vue';
import DateEditor from './editor/DateEditor.vue';
import BooleanViewer from './viewer/BooleanViewer.vue';
import BooleanEditor from './editor/BooleanEditor.vue';
import MoneyViewer from './viewer/MoneyViewer.vue';
import MoneyEditor from './editor/MoneyEditor.vue';
import PercentViewer from './viewer/PercentViewer.vue';
import LangViewer from './viewer/LangViewer.vue';
import LangEditor from './editor/LangEditor.vue';
import PointerViewer from './viewer/PointerViewer.vue';
import ArrayViewer from './viewer/ArrayViewer.vue';

export const viewerComponentsList: Record<FieldType | string, Component> = {
String: StringViewer,
Expand Down
24 changes: 12 additions & 12 deletions src/namedExports.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import DataGridTable from './components/Table.vue';
import { editorComponentsList, viewerComponentsList } from '@/editFields/config';
import StringViewer from '@/editFields/viewer/StringViewer.vue';
import StringEditor from '@/editFields/editor/StringEditor.vue';
import NumberEditor from '@/editFields/editor/NumberEditor.vue';
import NumberViewer from '@/editFields/viewer/NumberViewer.vue';
import BooleanViewer from '@/editFields/viewer/BooleanViewer.vue';
import BooleanEditor from '@/editFields/editor/BooleanEditor.vue';
import BooleanRule from '@/rule/RuleInputs/BooleanRule.vue';
import NumberRule from '@/rule/RuleInputs/NumberRule.vue';
import StringRule from '@/rule/RuleInputs/StringRule.vue';
import ArrayInputMixin from '@/mixins/ArrayRuleInput';
import FieldInputMixin from '@/mixins/RuleFieldInput';
import { editorComponentsList, viewerComponentsList } from './editFields/config';
import StringViewer from './editFields/viewer/StringViewer.vue';
import StringEditor from './editFields/editor/StringEditor.vue';
import NumberEditor from './editFields/editor/NumberEditor.vue';
import NumberViewer from './editFields/viewer/NumberViewer.vue';
import BooleanViewer from './editFields/viewer/BooleanViewer.vue';
import BooleanEditor from './editFields/editor/BooleanEditor.vue';
import BooleanRule from './rule/RuleInputs/BooleanRule.vue';
import NumberRule from './rule/RuleInputs/NumberRule.vue';
import StringRule from './rule/RuleInputs/StringRule.vue';
import ArrayInputMixin from './mixins/ArrayRuleInput';
import FieldInputMixin from './mixins/RuleFieldInput';

export {
DataGridTable,
Expand Down
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
],
"paths": {
"@/*": [
"src/*"
"./src/*"
],
"@filter/*": [
"src/filter/*"
"./src/filter/*"
],
"@components/*": [
"src/components/*"
"./src/components/*"
]
},
"lib": [
Expand Down

0 comments on commit cb16811

Please sign in to comment.