@ctzy-web-client/create-web-client 1.0.6 → 1.0.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctzy-web-client/create-web-client",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "创建 web client 项目模板工具",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -2,4 +2,4 @@
2
2
  "compilerOptions": {
3
3
  "experimentalDecorators": true
4
4
  }
5
- }
5
+ }
@@ -58,3 +58,4 @@ export default [
58
58
  },
59
59
  },
60
60
  ];
61
+
@@ -28,7 +28,8 @@
28
28
  "element-plus": "^2.2.19",
29
29
  "vue": "^3.2.41",
30
30
  "vue-router": "^4.1.6",
31
- "web-base-client-vue": "^1.0.7",
31
+ "@ctzy-web-client/web-base-client-vue": "^1.0.7",
32
32
  "vite-plugin-qiankun": "^1.0.15"
33
33
  }
34
34
  }
35
+
@@ -1,5 +1,5 @@
1
1
  import { service } from '@ctzy-web-client/ioc-annotations';
2
- import { RequestInterceptors } from 'web-base-client-vue';
2
+ import { RequestInterceptors } from '@ctzy-web-client/web-base-client-vue';
3
3
 
4
4
  @service(RequestInterceptors)
5
5
  export default class AppRequestInterceptors extends RequestInterceptors {
@@ -48,3 +48,4 @@ export default class AppRequestInterceptors extends RequestInterceptors {
48
48
  return Promise.reject(new Error('请求错误'));
49
49
  }
50
50
  }
51
+
@@ -1,5 +1,5 @@
1
1
  import { service } from '@ctzy-web-client/ioc-annotations';
2
- import { RouterInterceptors } from 'web-base-client-vue';
2
+ import { RouterInterceptors } from '@ctzy-web-client/web-base-client-vue';
3
3
 
4
4
  @service(RouterInterceptors)
5
5
  export default class AppRouterInterceptors extends RouterInterceptors {
@@ -23,3 +23,4 @@ export default class AppRouterInterceptors extends RouterInterceptors {
23
23
  return next();
24
24
  }
25
25
  }
26
+
@@ -1,4 +1,4 @@
1
- import { Application } from 'web-base-client-vue';
1
+ import { Application } from '@ctzy-web-client/web-base-client-vue';
2
2
  import { qiankunWindow } from 'vite-plugin-qiankun/es/helper';
3
3
  import WebClientComponent from '@ctzy-web-client/plugin-component-vue';
4
4
  import "@ctzy-web-client/plugin-component-vue/style"
@@ -21,3 +21,4 @@ const applicaiton = new Application(appName, {
21
21
  });
22
22
 
23
23
  applicaiton.use(WebClientComponent).mount('#app');
24
+
@@ -1,4 +1,4 @@
1
- import { dataTable, tableColumn, dataForm, formColumn } from 'web-base-client-vue';
1
+ import { dataTable, tableColumn, dataForm, formColumn } from '@ctzy-web-client/web-base-client-vue';
2
2
 
3
3
  @dataTable({ name: 'test', title: '测试数据模型' })
4
4
  @dataForm({ name: 'test', title: '测试' })
@@ -43,3 +43,4 @@ export default class TestDataModel {
43
43
  @formColumn({ title: '状态' })
44
44
  status = '';
45
45
  }
46
+
@@ -76,7 +76,7 @@
76
76
  </template>
77
77
  <script>
78
78
  import { ref, reactive, watch, computed } from 'vue';
79
- import { useDataForm } from 'web-base-client-vue';
79
+ import { useDataForm } from '@ctzy-web-client/web-base-client-vue';
80
80
  import TestDataModel from '../../models/TestDataModel';
81
81
  export const route = '/form/:id?';
82
82
  export const parent = '';
@@ -108,7 +108,7 @@ export default {
108
108
  return;
109
109
  }
110
110
 
111
- // 隐藏选中列
111
+ // 隐藏选中�?
112
112
  dataForm.value.getColumn(columnNames[status - 1]).hide();
113
113
  }
114
114
  );
@@ -118,3 +118,4 @@ export default {
118
118
  };
119
119
  </script>
120
120
  <style scoped></style>
121
+
@@ -33,7 +33,7 @@
33
33
  </BwaDataTable>
34
34
  </template>
35
35
  <script>
36
- import { useService, useDataTable } from 'web-base-client-vue';
36
+ import { useService, useDataTable } from '@ctzy-web-client/web-base-client-vue';
37
37
  import TestServices from '../../services/TestServices';
38
38
  import TestDataModel from '../../models/TestDataModel';
39
39
  export const route = '/';
@@ -55,3 +55,4 @@ export default {
55
55
  };
56
56
  </script>
57
57
  <style scoped></style>
58
+
@@ -1,5 +1,5 @@
1
1
  import { service, inject } from '@ctzy-web-client/ioc-annotations';
2
- import { SimpleOrm } from 'web-base-client-vue';
2
+ import { SimpleOrm } from '@ctzy-web-client/web-base-client-vue';
3
3
  import TestDataModel from '../models/TestDataModel';
4
4
 
5
5
  /**
@@ -19,3 +19,4 @@ export default class TestServices {
19
19
  console.log(testDataList);
20
20
  }
21
21
  }
22
+
@@ -38,7 +38,7 @@ export default defineConfig(({ mode, command }) => {
38
38
  viteExternalsPlugin({
39
39
  'vue': "Vue",
40
40
  'vue-router': "VueRouter",
41
- "web-base-client-vue": "WebClientVue",
41
+ "@ctzy-web-client/web-base-client-vue": "WebClientVue",
42
42
  "@ctzy-web-client/plugin-component-vue": "WebClientPluginComponentVue",
43
43
  })
44
44
  );
@@ -3,3 +3,4 @@
3
3
  "experimentalDecorators": true
4
4
  }
5
5
  }
6
+
@@ -28,6 +28,7 @@
28
28
  "vite-plugin-qiankun": "^1.0.15",
29
29
  "vue": "^3.2.41",
30
30
  "vue-router": "^4.1.6",
31
- "web-base-client-vue": "^1.0.7"
31
+ "@ctzy-web-client/web-base-client-vue": "^1.0.7"
32
32
  }
33
33
  }
34
+
@@ -1,5 +1,5 @@
1
- import * as WebClientVue from 'web-base-client-vue';
2
- import { Application } from 'web-base-client-vue';
1
+ import * as WebClientVue from '@ctzy-web-client/web-base-client-vue';
2
+ import { Application } from '@ctzy-web-client/web-base-client-vue';
3
3
  import WebClientPluginComponentVue from '@ctzy-web-client/plugin-component-vue';
4
4
  import { qiankunWindow } from 'vite-plugin-qiankun/es/helper';
5
5
  import '@ctzy-web-client/plugin-component-vue/style/index.css';
@@ -19,3 +19,4 @@ const applicaiton = new Application('base', {
19
19
  });
20
20
 
21
21
  applicaiton.mount('#app');
22
+
@@ -3,7 +3,7 @@
3
3
  </template>
4
4
 
5
5
  <script setup>
6
- import { BwaMicroApplication } from 'web-base-client-vue';
6
+ import { BwaMicroApplication } from '@ctzy-web-client/web-base-client-vue';
7
7
 
8
8
  defineOptions({
9
9
  name: 'App',
@@ -13,3 +13,4 @@ defineOptions({
13
13
  <script>
14
14
  export const route = '/:appName*';
15
15
  </script>
16
+
@@ -4,3 +4,4 @@ import { service } from "@ctzy-web-client/ioc-annotations";
4
4
  export class ApplicationService {
5
5
 
6
6
  }
7
+
@@ -2,3 +2,4 @@ import { service } from '@ctzy-web-client/ioc-annotations';
2
2
 
3
3
  @service()
4
4
  export class UserService {}
5
+
@@ -16,3 +16,4 @@
16
16
  "vite": "^3.2.0"
17
17
  }
18
18
  }
19
+