@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.
Files changed (49) hide show
  1. package/dist/constants/paths.d.ts +4 -4
  2. package/dist/constants/routes.d.ts +3 -3
  3. package/dist/dev/App.vue.d.ts +5 -0
  4. package/dist/dev/config.d.ts +2 -0
  5. package/dist/dev/env.d.ts +1 -0
  6. package/dist/dev/main.d.ts +3 -0
  7. package/dist/index.mjs +439 -0
  8. package/dist/locales/apply.d.ts +1 -0
  9. package/dist/locales/en.d.ts +19 -20
  10. package/dist/locales/ru.d.ts +2 -3
  11. package/dist/main.d.ts +3 -3
  12. package/dist/services/requests.d.ts +8 -8
  13. package/dist/style.css +1 -0
  14. package/dist/typings/model.d.ts +33 -26
  15. package/dist/utils/paths.d.ts +4 -4
  16. package/dist/views/ImportForm/ImportForm.helpers.d.ts +9 -7
  17. package/dist/views/ImportForm/ImportForm.vue.d.ts +2688 -70
  18. package/dist/views/ImportForm/index.d.ts +1 -1
  19. package/dist/views/ImportList/ImportList.vue.d.ts +16 -41
  20. package/dist/views/ImportList/components/CellHistory/CellHistory.helpers.d.ts +1 -0
  21. package/dist/views/ImportList/components/CellHistory/CellHistory.vue.d.ts +19 -0
  22. package/dist/views/ImportList/components/CellHistory/index.d.ts +1 -0
  23. package/dist/views/ImportList/index.d.ts +1 -1
  24. package/package.json +49 -47
  25. package/src/constants/routes.ts +10 -10
  26. package/src/dev/App.vue +38 -0
  27. package/src/dev/config.ts +23 -0
  28. package/src/dev/env.ts +17 -0
  29. package/src/dev/main.ts +36 -0
  30. package/src/locales/apply.ts +9 -0
  31. package/src/locales/en.ts +2 -4
  32. package/src/locales/ru.ts +19 -21
  33. package/src/main.ts +2 -6
  34. package/src/typings/model.ts +14 -1
  35. package/src/views/ImportForm/ImportForm.helpers.ts +17 -2
  36. package/src/views/ImportForm/ImportForm.vue +109 -69
  37. package/src/views/ImportList/ImportList.vue +60 -63
  38. package/src/views/ImportList/components/CellHistory/CellHistory.helpers.ts +13 -0
  39. package/src/views/ImportList/components/CellHistory/CellHistory.vue +38 -0
  40. package/src/views/ImportList/components/CellHistory/index.ts +1 -0
  41. package/README.md +0 -1
  42. package/dist/dev.d.ts +0 -1
  43. package/dist/index.esm.js +0 -618
  44. package/dist/index.umd.js +0 -629
  45. package/src/dev.ts +0 -41
  46. package/src/typings/sfc.d.ts +0 -12
  47. package/src/typings/shims-tsx.d.ts +0 -13
  48. package/src/typings/shims-vue.d.ts +0 -11
  49. 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>