@tager/admin-import 0.1.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/paths.d.ts +4 -4
- package/dist/constants/routes.d.ts +3 -3
- package/dist/dev/App.vue.d.ts +5 -0
- package/dist/dev/config.d.ts +2 -0
- package/dist/dev/env.d.ts +1 -0
- package/dist/dev/main.d.ts +3 -0
- package/dist/index.mjs +439 -0
- package/dist/locales/apply.d.ts +1 -0
- package/dist/locales/en.d.ts +19 -20
- package/dist/locales/ru.d.ts +2 -3
- package/dist/main.d.ts +3 -3
- package/dist/services/requests.d.ts +8 -8
- package/dist/style.css +1 -0
- package/dist/typings/model.d.ts +33 -26
- package/dist/utils/paths.d.ts +4 -4
- package/dist/views/ImportForm/ImportForm.helpers.d.ts +9 -7
- package/dist/views/ImportForm/ImportForm.vue.d.ts +2688 -70
- package/dist/views/ImportForm/index.d.ts +1 -1
- package/dist/views/ImportList/ImportList.vue.d.ts +16 -41
- package/dist/views/ImportList/components/CellHistory/CellHistory.helpers.d.ts +1 -0
- package/dist/views/ImportList/components/CellHistory/CellHistory.vue.d.ts +19 -0
- package/dist/views/ImportList/components/CellHistory/index.d.ts +1 -0
- package/dist/views/ImportList/index.d.ts +1 -1
- package/package.json +49 -47
- package/src/constants/routes.ts +10 -10
- package/src/dev/App.vue +38 -0
- package/src/dev/config.ts +23 -0
- package/src/dev/env.ts +17 -0
- package/src/dev/main.ts +36 -0
- package/src/locales/apply.ts +9 -0
- package/src/locales/en.ts +2 -4
- package/src/locales/ru.ts +19 -21
- package/src/main.ts +2 -6
- package/src/typings/model.ts +14 -1
- package/src/views/ImportForm/ImportForm.helpers.ts +17 -2
- package/src/views/ImportForm/ImportForm.vue +109 -69
- package/src/views/ImportList/ImportList.vue +60 -63
- package/src/views/ImportList/components/CellHistory/CellHistory.helpers.ts +13 -0
- package/src/views/ImportList/components/CellHistory/CellHistory.vue +38 -0
- package/src/views/ImportList/components/CellHistory/index.ts +1 -0
- package/README.md +0 -1
- package/dist/dev.d.ts +0 -1
- package/dist/index.esm.js +0 -618
- package/dist/index.umd.js +0 -629
- package/src/dev.ts +0 -41
- package/src/typings/sfc.d.ts +0 -12
- package/src/typings/shims-tsx.d.ts +0 -13
- package/src/typings/shims-vue.d.ts +0 -11
- package/src/views/App.vue +0 -36
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare module '*.vue' {
|
|
2
|
-
// eslint-disable-next-line import/order
|
|
3
|
-
import Vue from 'vue';
|
|
4
|
-
export default Vue;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
declare module '*.svg' {
|
|
8
|
-
import Vue, { VueConstructor } from 'vue';
|
|
9
|
-
const content: VueConstructor<Vue>;
|
|
10
|
-
export default content;
|
|
11
|
-
}
|
package/src/views/App.vue
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<page-layout :sidebar-menu-list="sidebarMenuList">
|
|
3
|
-
<router-view />
|
|
4
|
-
</page-layout>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script lang="ts">
|
|
8
|
-
import { defineComponent, SetupContext } from '@vue/composition-api';
|
|
9
|
-
|
|
10
|
-
import { useTranslation } from '@tager/admin-ui';
|
|
11
|
-
import { MenuItemType } from '@tager/admin-layout';
|
|
12
|
-
|
|
13
|
-
import { getImportListUrl } from '../utils/paths';
|
|
14
|
-
|
|
15
|
-
export default defineComponent({
|
|
16
|
-
name: 'App',
|
|
17
|
-
setup(props, context: SetupContext) {
|
|
18
|
-
const { t } = useTranslation(context);
|
|
19
|
-
|
|
20
|
-
const sidebarMenuList: Array<MenuItemType> = [
|
|
21
|
-
{
|
|
22
|
-
id: 'exportAndImport',
|
|
23
|
-
text: t('import:exportAndImport'),
|
|
24
|
-
icon: 'viewList',
|
|
25
|
-
children: [{ text: t('import:import'), url: getImportListUrl() }],
|
|
26
|
-
},
|
|
27
|
-
];
|
|
28
|
-
|
|
29
|
-
return {
|
|
30
|
-
sidebarMenuList,
|
|
31
|
-
};
|
|
32
|
-
},
|
|
33
|
-
});
|
|
34
|
-
</script>
|
|
35
|
-
|
|
36
|
-
<style scoped lang="scss"></style>
|