@befly-addon/admin 1.0.30 → 1.0.31
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 +29 -2
- package/views/403/index.vue +2 -2
- package/views/admin/components/edit.vue +8 -1
- package/views/admin/components/role.vue +5 -1
- package/views/admin/index.vue +9 -1
- package/views/dict/components/edit.vue +9 -1
- package/views/dict/index.vue +9 -1
- package/views/index/components/addonList.vue +1 -1
- package/views/index/components/operationLogs.vue +1 -1
- package/views/index/components/quickActions.vue +1 -2
- package/views/index/components/systemNotifications.vue +1 -1
- package/views/index/components/systemResources.vue +1 -1
- package/views/index/components/userInfo.vue +1 -1
- package/views/login/components/emailLoginForm.vue +6 -2
- package/views/login/components/registerForm.vue +4 -1
- package/views/menu/components/edit.vue +9 -1
- package/views/menu/index.vue +9 -1
- package/views/news/index.vue +1 -2
- package/views/role/components/api.vue +6 -1
- package/views/role/components/edit.vue +9 -1
- package/views/role/components/menu.vue +4 -1
- package/views/role/index.vue +9 -1
- package/views/user/index.vue +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@befly-addon/admin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.31",
|
|
4
4
|
"description": "Befly - 管理后台功能组件",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -39,8 +39,35 @@
|
|
|
39
39
|
"url": "https://github.com/chenbimo/befly.git",
|
|
40
40
|
"directory": "packages/addon-admin"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "f279b3e03931a8f13ac1c559e545d18052ce2b87",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"befly": "3.8.12"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"@opentiny/vue-button": "~3.27.0",
|
|
48
|
+
"@opentiny/vue-checkbox": "~3.27.0",
|
|
49
|
+
"@opentiny/vue-checkbox-group": "~3.27.0",
|
|
50
|
+
"@opentiny/vue-dialog-box": "~3.27.0",
|
|
51
|
+
"@opentiny/vue-dropdown": "~3.27.0",
|
|
52
|
+
"@opentiny/vue-dropdown-item": "~3.27.0",
|
|
53
|
+
"@opentiny/vue-dropdown-menu": "~3.27.0",
|
|
54
|
+
"@opentiny/vue-form": "~3.27.0",
|
|
55
|
+
"@opentiny/vue-form-item": "~3.27.0",
|
|
56
|
+
"@opentiny/vue-grid": "~3.27.0",
|
|
57
|
+
"@opentiny/vue-grid-column": "~3.27.0",
|
|
58
|
+
"@opentiny/vue-icon": "~3.27.0",
|
|
59
|
+
"@opentiny/vue-input": "~3.27.0",
|
|
60
|
+
"@opentiny/vue-modal": "~3.27.0",
|
|
61
|
+
"@opentiny/vue-numeric": "~3.27.0",
|
|
62
|
+
"@opentiny/vue-pager": "~3.27.0",
|
|
63
|
+
"@opentiny/vue-progress": "~3.27.0",
|
|
64
|
+
"@opentiny/vue-radio": "~3.27.0",
|
|
65
|
+
"@opentiny/vue-radio-group": "~3.27.0",
|
|
66
|
+
"@opentiny/vue-search": "~3.27.0",
|
|
67
|
+
"@opentiny/vue-select": "~3.27.0",
|
|
68
|
+
"@opentiny/vue-tag": "~3.27.0",
|
|
69
|
+
"@opentiny/vue-tree": "~3.27.0",
|
|
70
|
+
"vue": "^3.0.0",
|
|
71
|
+
"vue-router": "^4.0.0"
|
|
45
72
|
}
|
|
46
73
|
}
|
package/views/403/index.vue
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
</template>
|
|
14
14
|
|
|
15
15
|
<script setup>
|
|
16
|
-
import { useRouter
|
|
17
|
-
import
|
|
16
|
+
import { useRouter } from 'vue-router';
|
|
17
|
+
import TinyButton from '@opentiny/vue-button';
|
|
18
18
|
|
|
19
19
|
const router = useRouter();
|
|
20
20
|
|
|
@@ -34,7 +34,14 @@
|
|
|
34
34
|
</template>
|
|
35
35
|
|
|
36
36
|
<script setup>
|
|
37
|
-
import
|
|
37
|
+
import TinyButton from '@opentiny/vue-button';
|
|
38
|
+
import TinyDialogBox from '@opentiny/vue-dialog-box';
|
|
39
|
+
import TinyForm from '@opentiny/vue-form';
|
|
40
|
+
import TinyFormItem from '@opentiny/vue-form-item';
|
|
41
|
+
import TinyInput from '@opentiny/vue-input';
|
|
42
|
+
import TinyRadio from '@opentiny/vue-radio';
|
|
43
|
+
import TinyRadioGroup from '@opentiny/vue-radio-group';
|
|
44
|
+
import Modal from '@opentiny/vue-modal';
|
|
38
45
|
import { $Http } from '@/plugins/http';
|
|
39
46
|
|
|
40
47
|
const $Prop = defineProps({
|
|
@@ -16,7 +16,11 @@
|
|
|
16
16
|
</template>
|
|
17
17
|
|
|
18
18
|
<script setup>
|
|
19
|
-
import
|
|
19
|
+
import TinyButton from '@opentiny/vue-button';
|
|
20
|
+
import TinyDialogBox from '@opentiny/vue-dialog-box';
|
|
21
|
+
import TinySelect from '@opentiny/vue-select';
|
|
22
|
+
import TinyTag from '@opentiny/vue-tag';
|
|
23
|
+
import Modal from '@opentiny/vue-modal';
|
|
20
24
|
import { $Http } from '@/plugins/http';
|
|
21
25
|
|
|
22
26
|
const $Prop = defineProps({
|
package/views/admin/index.vue
CHANGED
|
@@ -78,7 +78,15 @@
|
|
|
78
78
|
</template>
|
|
79
79
|
|
|
80
80
|
<script setup>
|
|
81
|
-
import
|
|
81
|
+
import TinyButton from '@opentiny/vue-button';
|
|
82
|
+
import TinyGrid from '@opentiny/vue-grid';
|
|
83
|
+
import TinyGridColumn from '@opentiny/vue-grid-column';
|
|
84
|
+
import TinyTag from '@opentiny/vue-tag';
|
|
85
|
+
import TinyDropdown from '@opentiny/vue-dropdown';
|
|
86
|
+
import TinyDropdownMenu from '@opentiny/vue-dropdown-menu';
|
|
87
|
+
import TinyDropdownItem from '@opentiny/vue-dropdown-item';
|
|
88
|
+
import TinyPager from '@opentiny/vue-pager';
|
|
89
|
+
import Modal from '@opentiny/vue-modal';
|
|
82
90
|
import IconLucidePlus from '~icons/lucide/plus';
|
|
83
91
|
import IconLucideRotateCw from '~icons/lucide/rotate-cw';
|
|
84
92
|
import IconLucidePencil from '~icons/lucide/pencil';
|
|
@@ -35,7 +35,15 @@
|
|
|
35
35
|
|
|
36
36
|
<script setup>
|
|
37
37
|
import { watch } from 'vue';
|
|
38
|
-
import
|
|
38
|
+
import TinyButton from '@opentiny/vue-button';
|
|
39
|
+
import TinyDialogBox from '@opentiny/vue-dialog-box';
|
|
40
|
+
import TinyForm from '@opentiny/vue-form';
|
|
41
|
+
import TinyFormItem from '@opentiny/vue-form-item';
|
|
42
|
+
import TinyInput from '@opentiny/vue-input';
|
|
43
|
+
import TinyNumeric from '@opentiny/vue-numeric';
|
|
44
|
+
import TinyRadio from '@opentiny/vue-radio';
|
|
45
|
+
import TinyRadioGroup from '@opentiny/vue-radio-group';
|
|
46
|
+
import Modal from '@opentiny/vue-modal';
|
|
39
47
|
import { $Http } from '@/plugins/http';
|
|
40
48
|
|
|
41
49
|
const $Prop = defineProps({
|
package/views/dict/index.vue
CHANGED
|
@@ -65,7 +65,15 @@
|
|
|
65
65
|
</template>
|
|
66
66
|
|
|
67
67
|
<script setup>
|
|
68
|
-
import
|
|
68
|
+
import TinyButton from '@opentiny/vue-button';
|
|
69
|
+
import TinyGrid from '@opentiny/vue-grid';
|
|
70
|
+
import TinyGridColumn from '@opentiny/vue-grid-column';
|
|
71
|
+
import TinyTag from '@opentiny/vue-tag';
|
|
72
|
+
import TinyDropdown from '@opentiny/vue-dropdown';
|
|
73
|
+
import TinyDropdownMenu from '@opentiny/vue-dropdown-menu';
|
|
74
|
+
import TinyDropdownItem from '@opentiny/vue-dropdown-item';
|
|
75
|
+
import TinyPager from '@opentiny/vue-pager';
|
|
76
|
+
import Modal from '@opentiny/vue-modal';
|
|
69
77
|
import IconLucidePlus from '~icons/lucide/plus';
|
|
70
78
|
import IconLucideRotateCw from '~icons/lucide/rotate-cw';
|
|
71
79
|
import IconLucidePencil from '~icons/lucide/pencil';
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
<script setup>
|
|
27
27
|
import IconLucideBox from '~icons/lucide/box';
|
|
28
|
-
import
|
|
28
|
+
import TinyTag from '@opentiny/vue-tag';
|
|
29
29
|
import IconLucidePackage from '~icons/lucide/package';
|
|
30
30
|
import { $Http } from '@/plugins/http';
|
|
31
31
|
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
14
|
<script setup>
|
|
15
|
-
import
|
|
16
|
-
import { Button as TinyButton } from '@opentiny/vue';
|
|
15
|
+
import TinyButton from '@opentiny/vue-button';
|
|
17
16
|
import IconLucideRotateCw from '~icons/lucide/rotate-cw';
|
|
18
17
|
const handleClearCache = () => {
|
|
19
18
|
console.log('刷新缓存');
|
|
@@ -30,7 +30,7 @@ import IconLucideBell from '~icons/lucide/bell';
|
|
|
30
30
|
import IconLucideCheckCircle from '~icons/lucide/check-circle';
|
|
31
31
|
import IconLucideAlertTriangle from '~icons/lucide/alert-triangle';
|
|
32
32
|
import IconLucideXCircle from '~icons/lucide/x-circle';
|
|
33
|
-
import
|
|
33
|
+
import TinyTag from '@opentiny/vue-tag';
|
|
34
34
|
import IconLucideInfo from '~icons/lucide/info';
|
|
35
35
|
import IconLucideCheck from '~icons/lucide/check';
|
|
36
36
|
import IconLucideX from '~icons/lucide/x';
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
<script setup>
|
|
42
42
|
import IconLucideDisc from '~icons/lucide/disc';
|
|
43
|
-
import
|
|
43
|
+
import TinyProgress from '@opentiny/vue-progress';
|
|
44
44
|
import IconLucideCpu from '~icons/lucide/cpu';
|
|
45
45
|
import IconLucideHardDrive from '~icons/lucide/hard-drive';
|
|
46
46
|
import IconLucideActivity from '~icons/lucide/activity';
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
<script setup>
|
|
40
40
|
import IconLucidePhone from '~icons/lucide/phone';
|
|
41
41
|
import IconLucideClock from '~icons/lucide/clock';
|
|
42
|
-
import
|
|
42
|
+
import TinyButton from '@opentiny/vue-button';
|
|
43
43
|
import IconLucideUser from '~icons/lucide/user';
|
|
44
44
|
import IconLucideMail from '~icons/lucide/mail';
|
|
45
45
|
import IconLucideRotateCw from '~icons/lucide/rotate-cw';
|
|
@@ -25,8 +25,12 @@
|
|
|
25
25
|
</template>
|
|
26
26
|
|
|
27
27
|
<script setup>
|
|
28
|
-
import { useRouter
|
|
29
|
-
import
|
|
28
|
+
import { useRouter } from 'vue-router';
|
|
29
|
+
import TinyButton from '@opentiny/vue-button';
|
|
30
|
+
import TinyForm from '@opentiny/vue-form';
|
|
31
|
+
import TinyFormItem from '@opentiny/vue-form-item';
|
|
32
|
+
import TinyInput from '@opentiny/vue-input';
|
|
33
|
+
import Modal from '@opentiny/vue-modal';
|
|
30
34
|
import IconLucideUser from '~icons/lucide/user';
|
|
31
35
|
import IconLucideLock from '~icons/lucide/lock';
|
|
32
36
|
import { $Http } from '@/plugins/http';
|
|
@@ -37,7 +37,10 @@
|
|
|
37
37
|
</template>
|
|
38
38
|
|
|
39
39
|
<script setup>
|
|
40
|
-
import
|
|
40
|
+
import TinyButton from '@opentiny/vue-button';
|
|
41
|
+
import TinyForm from '@opentiny/vue-form';
|
|
42
|
+
import TinyFormItem from '@opentiny/vue-form-item';
|
|
43
|
+
import TinyInput from '@opentiny/vue-input';
|
|
41
44
|
import IconLucideUser from '~icons/lucide/user';
|
|
42
45
|
import IconLucideMail from '~icons/lucide/mail';
|
|
43
46
|
import IconLucideLock from '~icons/lucide/lock';
|
|
@@ -29,7 +29,15 @@
|
|
|
29
29
|
|
|
30
30
|
<script setup>
|
|
31
31
|
import { watch } from 'vue';
|
|
32
|
-
import
|
|
32
|
+
import TinyButton from '@opentiny/vue-button';
|
|
33
|
+
import TinyDialogBox from '@opentiny/vue-dialog-box';
|
|
34
|
+
import TinyForm from '@opentiny/vue-form';
|
|
35
|
+
import TinyFormItem from '@opentiny/vue-form-item';
|
|
36
|
+
import TinyInput from '@opentiny/vue-input';
|
|
37
|
+
import TinyNumeric from '@opentiny/vue-numeric';
|
|
38
|
+
import TinyRadio from '@opentiny/vue-radio';
|
|
39
|
+
import TinyRadioGroup from '@opentiny/vue-radio-group';
|
|
40
|
+
import Modal from '@opentiny/vue-modal';
|
|
33
41
|
import { $Http } from '@/plugins/http';
|
|
34
42
|
|
|
35
43
|
const $Prop = defineProps({
|
package/views/menu/index.vue
CHANGED
|
@@ -68,7 +68,15 @@
|
|
|
68
68
|
</template>
|
|
69
69
|
|
|
70
70
|
<script setup>
|
|
71
|
-
import
|
|
71
|
+
import TinyButton from '@opentiny/vue-button';
|
|
72
|
+
import TinyGrid from '@opentiny/vue-grid';
|
|
73
|
+
import TinyGridColumn from '@opentiny/vue-grid-column';
|
|
74
|
+
import TinyTag from '@opentiny/vue-tag';
|
|
75
|
+
import TinyDropdown from '@opentiny/vue-dropdown';
|
|
76
|
+
import TinyDropdownMenu from '@opentiny/vue-dropdown-menu';
|
|
77
|
+
import TinyDropdownItem from '@opentiny/vue-dropdown-item';
|
|
78
|
+
import TinyPager from '@opentiny/vue-pager';
|
|
79
|
+
import Modal from '@opentiny/vue-modal';
|
|
72
80
|
import IconLucidePlus from '~icons/lucide/plus';
|
|
73
81
|
import IconLucideRotateCw from '~icons/lucide/rotate-cw';
|
|
74
82
|
import IconLucideSquare from '~icons/lucide/square';
|
package/views/news/index.vue
CHANGED
|
@@ -33,7 +33,12 @@
|
|
|
33
33
|
</template>
|
|
34
34
|
|
|
35
35
|
<script setup>
|
|
36
|
-
import
|
|
36
|
+
import TinyButton from '@opentiny/vue-button';
|
|
37
|
+
import TinyDialogBox from '@opentiny/vue-dialog-box';
|
|
38
|
+
import TinySearch from '@opentiny/vue-search';
|
|
39
|
+
import TinyCheckbox from '@opentiny/vue-checkbox';
|
|
40
|
+
import TinyCheckboxGroup from '@opentiny/vue-checkbox-group';
|
|
41
|
+
import Modal from '@opentiny/vue-modal';
|
|
37
42
|
import { $Http } from '@/plugins/http';
|
|
38
43
|
|
|
39
44
|
const $Prop = defineProps({
|
|
@@ -30,7 +30,15 @@
|
|
|
30
30
|
</template>
|
|
31
31
|
|
|
32
32
|
<script setup>
|
|
33
|
-
import
|
|
33
|
+
import TinyButton from '@opentiny/vue-button';
|
|
34
|
+
import TinyDialogBox from '@opentiny/vue-dialog-box';
|
|
35
|
+
import TinyForm from '@opentiny/vue-form';
|
|
36
|
+
import TinyFormItem from '@opentiny/vue-form-item';
|
|
37
|
+
import TinyInput from '@opentiny/vue-input';
|
|
38
|
+
import TinyNumeric from '@opentiny/vue-numeric';
|
|
39
|
+
import TinyRadio from '@opentiny/vue-radio';
|
|
40
|
+
import TinyRadioGroup from '@opentiny/vue-radio-group';
|
|
41
|
+
import Modal from '@opentiny/vue-modal';
|
|
34
42
|
import { $Http } from '@/plugins/http';
|
|
35
43
|
|
|
36
44
|
const $Prop = defineProps({
|
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
|
|
13
13
|
<script setup>
|
|
14
14
|
import { nextTick } from 'vue';
|
|
15
|
-
import
|
|
15
|
+
import TinyButton from '@opentiny/vue-button';
|
|
16
|
+
import TinyDialogBox from '@opentiny/vue-dialog-box';
|
|
17
|
+
import TinyTree from '@opentiny/vue-tree';
|
|
18
|
+
import Modal from '@opentiny/vue-modal';
|
|
16
19
|
|
|
17
20
|
import { arrayToTree } from '@/utils';
|
|
18
21
|
import { $Http } from '@/plugins/http';
|
package/views/role/index.vue
CHANGED
|
@@ -77,7 +77,15 @@
|
|
|
77
77
|
</template>
|
|
78
78
|
|
|
79
79
|
<script setup>
|
|
80
|
-
import
|
|
80
|
+
import TinyButton from '@opentiny/vue-button';
|
|
81
|
+
import TinyGrid from '@opentiny/vue-grid';
|
|
82
|
+
import TinyGridColumn from '@opentiny/vue-grid-column';
|
|
83
|
+
import TinyTag from '@opentiny/vue-tag';
|
|
84
|
+
import TinyDropdown from '@opentiny/vue-dropdown';
|
|
85
|
+
import TinyDropdownMenu from '@opentiny/vue-dropdown-menu';
|
|
86
|
+
import TinyDropdownItem from '@opentiny/vue-dropdown-item';
|
|
87
|
+
import TinyPager from '@opentiny/vue-pager';
|
|
88
|
+
import Modal from '@opentiny/vue-modal';
|
|
81
89
|
import IconLucidePlus from '~icons/lucide/plus';
|
|
82
90
|
import IconLucideRotateCw from '~icons/lucide/rotate-cw';
|
|
83
91
|
import IconLucidePencil from '~icons/lucide/pencil';
|
package/views/user/index.vue
CHANGED
|
@@ -74,7 +74,8 @@
|
|
|
74
74
|
</template>
|
|
75
75
|
|
|
76
76
|
<script setup>
|
|
77
|
-
import
|
|
77
|
+
import TinyTag from '@opentiny/vue-tag';
|
|
78
|
+
import Modal from '@opentiny/vue-modal';
|
|
78
79
|
import IconLucidePlus from '~icons/lucide/plus';
|
|
79
80
|
import IconLucideSearch from '~icons/lucide/search';
|
|
80
81
|
import IconLucideRotateCw from '~icons/lucide/rotate-cw';
|