@befly-addon/admin 1.1.20 → 1.1.22

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": "@befly-addon/admin",
3
- "version": "1.1.20",
3
+ "version": "1.1.22",
4
4
  "title": "管理后台",
5
5
  "description": "Befly - 管理后台功能组件",
6
6
  "type": "module",
@@ -44,9 +44,9 @@
44
44
  "url": "https://github.com/chenbimo/befly.git",
45
45
  "directory": "packages/addon-admin"
46
46
  },
47
- "gitHead": "8725d04017ae530017c1d400d0fc7b4e2b3ffdb0",
47
+ "gitHead": "7287680c89b51f165086410727cd4e769e87cd46",
48
48
  "dependencies": {
49
- "befly": "^3.9.31",
49
+ "befly": "^3.9.32",
50
50
  "befly-shared": "^1.2.7",
51
51
  "nodemailer": "^7.0.11",
52
52
  "ua-parser-js": "^2.0.7"
package/tables/admin.json CHANGED
@@ -39,7 +39,6 @@
39
39
  "name": "角色ID",
40
40
  "type": "number",
41
41
  "min": 1,
42
- "max": 999999999999999,
43
42
  "index": true
44
43
  },
45
44
  "roleCode": {
package/tables/dict.json CHANGED
@@ -31,7 +31,6 @@
31
31
  "name": "父级ID",
32
32
  "type": "number",
33
33
  "min": 0,
34
- "max": 999999999999999,
35
34
  "default": 0,
36
35
  "index": true
37
36
  },
@@ -3,7 +3,6 @@
3
3
  "name": "发送人ID",
4
4
  "type": "number",
5
5
  "min": 0,
6
- "max": 999999999999999,
7
6
  "index": true
8
7
  },
9
8
  "username": {
@@ -3,7 +3,6 @@
3
3
  "name": "管理员ID",
4
4
  "type": "number",
5
5
  "min": 0,
6
- "max": 999999999999999,
7
6
  "index": true
8
7
  },
9
8
  "username": {
@@ -77,7 +76,6 @@
77
76
  "name": "登录时间",
78
77
  "type": "number",
79
78
  "min": 0,
80
- "max": 9999999999999,
81
79
  "index": true
82
80
  },
83
81
  "loginResult": {
package/tables/menu.json CHANGED
@@ -29,7 +29,6 @@
29
29
  "name": "父级ID",
30
30
  "type": "number",
31
31
  "min": 0,
32
- "max": 999999999999999,
33
32
  "default": 0,
34
33
  "index": true
35
34
  }
@@ -3,7 +3,6 @@
3
3
  "name": "管理员ID",
4
4
  "type": "number",
5
5
  "min": 0,
6
- "max": 999999999999999,
7
6
  "index": true
8
7
  },
9
8
  "username": {
@@ -64,14 +63,12 @@
64
63
  "duration": {
65
64
  "name": "耗时毫秒",
66
65
  "type": "number",
67
- "min": 0,
68
- "max": 999999999
66
+ "min": 0
69
67
  },
70
68
  "operateTime": {
71
69
  "name": "操作时间",
72
70
  "type": "number",
73
71
  "min": 0,
74
- "max": 9999999999999,
75
72
  "index": true
76
73
  },
77
74
  "remark": {
@@ -11,7 +11,7 @@
11
11
  <TInput v-model="$Data.formData.value" placeholder="请输入字典值" />
12
12
  </TFormItem>
13
13
  <TFormItem label="父级ID" prop="pid">
14
- <TInputNumber v-model="$Data.formData.pid" :min="0" :max="999999999999999" />
14
+ <TInputNumber v-model="$Data.formData.pid" :min="0" />
15
15
  </TFormItem>
16
16
  <TFormItem label="排序" prop="sort">
17
17
  <TInputNumber v-model="$Data.formData.sort" :min="0" :max="9999" />
@@ -68,7 +68,7 @@ import ILucideTrash2 from '~icons/lucide/trash-2';
68
68
  import EditDialog from './components/edit.vue';
69
69
  import DetailPanel from '@/components/DetailPanel.vue';
70
70
  import { $Http } from '@/plugins/http';
71
- import { withDefaultColumns } from '@/utils';
71
+ import { withDefaultColumns } from 'befly-shared/withDefaultColumns';
72
72
 
73
73
  // 响应式数据
74
74
  const $Data = $ref({
@@ -90,7 +90,7 @@ import ILucideTrash2 from '~icons/lucide/trash-2';
90
90
  import EditDialog from './components/edit.vue';
91
91
  import DetailPanel from '@/components/DetailPanel.vue';
92
92
  import { $Http } from '@/plugins/http';
93
- import { withDefaultColumns } from '@/utils';
93
+ import { withDefaultColumns } from 'befly-shared/withDefaultColumns';
94
94
 
95
95
  // 响应式数据
96
96
  const $Data = $ref({
@@ -90,7 +90,7 @@ import ILucideSend from '~icons/lucide/send';
90
90
  import ILucideCheckCircle from '~icons/lucide/check-circle';
91
91
  import DetailPanel from '@/components/DetailPanel.vue';
92
92
  import { $Http } from '@/plugins/http';
93
- import { withDefaultColumns } from '@/utils';
93
+ import { withDefaultColumns } from 'befly-shared/withDefaultColumns';
94
94
 
95
95
  const sendFormRef = $ref(null);
96
96
 
@@ -54,7 +54,7 @@ import { Button as TButton, Table as TTable, Tag as TTag, Pagination as TPaginat
54
54
  import ILucideRotateCw from '~icons/lucide/rotate-cw';
55
55
  import DetailPanel from '@/components/DetailPanel.vue';
56
56
  import { $Http } from '@/plugins/http';
57
- import { withDefaultColumns } from '@/utils';
57
+ import { withDefaultColumns } from 'befly-shared/withDefaultColumns';
58
58
 
59
59
  // 响应式数据
60
60
  const $Data = $ref({
@@ -74,7 +74,7 @@ import { Button as TButton, Table as TTable, Tag as TTag, Pagination as TPaginat
74
74
  import ILucideRotateCw from '~icons/lucide/rotate-cw';
75
75
  import DetailPanel from '@/components/DetailPanel.vue';
76
76
  import { $Http } from '@/plugins/http';
77
- import { withDefaultColumns } from '@/utils';
77
+ import { withDefaultColumns } from 'befly-shared/withDefaultColumns';
78
78
 
79
79
  // 响应式数据
80
80
  const $Data = $ref({
@@ -69,7 +69,7 @@ import ILucideTrash2 from '~icons/lucide/trash-2';
69
69
  import EditDialog from './components/edit.vue';
70
70
  import DetailPanel from '@/components/DetailPanel.vue';
71
71
  import { $Http } from '@/plugins/http';
72
- import { withDefaultColumns } from '@/utils';
72
+ import { withDefaultColumns } from 'befly-shared/withDefaultColumns';
73
73
 
74
74
  // 响应式数据
75
75
  const $Data = $ref({
@@ -55,7 +55,7 @@ import { Button as TButton, Table as TTable, Tag as TTag, Input as TInput, Messa
55
55
  import ILucideRotateCw from '~icons/lucide/rotate-cw';
56
56
  import ILucideSearch from '~icons/lucide/search';
57
57
  import { $Http } from '@/plugins/http';
58
- import { withDefaultColumns } from '@/utils';
58
+ import { withDefaultColumns } from 'befly-shared/withDefaultColumns';
59
59
  import DetailPanel from '@/components/DetailPanel.vue';
60
60
 
61
61
  // 响应式数据
@@ -34,7 +34,8 @@ import { Button as TButton, Table as TTable, Tag as TTag, MessagePlugin } from '
34
34
  import ILucideRotateCw from '~icons/lucide/rotate-cw';
35
35
  import DetailPanel from '@/components/DetailPanel.vue';
36
36
  import { $Http } from '@/plugins/http';
37
- import { withDefaultColumns, withTreeTableProps } from '@/utils';
37
+ import { withDefaultColumns } from 'befly-shared/withDefaultColumns';
38
+ import { withTreeTableProps } from '@/utils';
38
39
 
39
40
  // 响应式数据
40
41
  const $Data = $ref({
@@ -86,7 +86,7 @@ import MenuDialog from './components/menu.vue';
86
86
  import ApiDialog from './components/api.vue';
87
87
  import DetailPanel from '@/components/DetailPanel.vue';
88
88
  import { $Http } from '@/plugins/http';
89
- import { withDefaultColumns } from '@/utils';
89
+ import { withDefaultColumns } from 'befly-shared/withDefaultColumns';
90
90
 
91
91
  // 响应式数据
92
92
  const $Data = $ref({