@yqg/permission 1.0.3-beta.0 → 1.0.5-beta.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/.arcconfig +8 -0
- package/.husky/commit-msg +20 -0
- package/.husky/pre-commit +4 -0
- package/README.md +126 -3
- package/arcanist/.phutil_module_cache +1 -0
- package/arcanist/__phutil_library_init__.php +3 -0
- package/arcanist/__phutil_library_map__.php +18 -0
- package/arcanist/lint/engine/YqgWebDiffLintEngine.php +68 -0
- package/commitlint.config.js +32 -0
- package/dist/{apply-modal-b8StV_Lh.js → apply-modal-CzowWeBJ.js} +1231 -1216
- package/dist/card.png +0 -0
- package/dist/{checkbox-item-Wsr7vID_.js → checkbox-item-zQ0rw1If.js} +405 -418
- package/dist/dialog.png +0 -0
- package/dist/image.png +0 -0
- package/dist/{index-khliDWXN.js → index-DA6ClyIX.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/index.umd.cjs +46 -46
- package/dist/{yqg-permission-CUARetDe.js → yqg-permission-BrJJoGxC.js} +801 -777
- package/eslint.config.js +26 -0
- package/package.json +10 -4
- package/public/card.png +0 -0
- package/public/dialog.png +0 -0
- package/public/image.png +0 -0
- package/src/App.vue +1 -1
- package/src/axios/axios.ts +1 -1
- package/src/components/apply-modal.vue +17 -4
- package/src/components/approval-steps.vue +10 -8
- package/src/components/checkbox-item.vue +5 -18
- package/src/components/success-modal.vue +16 -7
- package/src/components/yqg-permission.vue +44 -17
- package/src/i18n/zh-CH.ts +4 -1
- package/src/main.ts +1 -1
- package/src/typings/index.d.ts +1 -0
- package/src/yqg-permission/index.ts +2 -2
- package/tsconfig.app.json +10 -1
- package/tsconfig.json +2 -2
- package/dist/vite.svg +0 -1
- package/public/vite.svg +0 -1
package/eslint.config.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import typescriptEslintParser from '@typescript-eslint/parser';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
parser: typescriptEslintParser,
|
|
5
|
+
parserOptions: {
|
|
6
|
+
ecmaVersion: 2020,
|
|
7
|
+
sourceType: 'module',
|
|
8
|
+
},
|
|
9
|
+
plugins: ['@typescript-eslint', 'vue'],
|
|
10
|
+
extends: [
|
|
11
|
+
'plugin:@typescript-eslint/recommended',
|
|
12
|
+
'plugin:vue/vue3-recommended',
|
|
13
|
+
],
|
|
14
|
+
rules: {
|
|
15
|
+
'vue/no-multiple-template-root': 'off',
|
|
16
|
+
},
|
|
17
|
+
env: {
|
|
18
|
+
browser: true,
|
|
19
|
+
node: true,
|
|
20
|
+
},
|
|
21
|
+
settings: {
|
|
22
|
+
'import/resolver': {
|
|
23
|
+
typescript: {},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yqg/permission",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
"version": "1.0.5-beta.0",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"module": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
7
|
-
|
|
7
|
+
"publishConfig": {
|
|
8
8
|
"access": "public",
|
|
9
9
|
"registry": "https://registry.npmjs.org/"
|
|
10
10
|
},
|
|
@@ -15,13 +15,19 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@ant-design/icons-vue": "^7.0.1",
|
|
18
|
+
"@commitlint/cli": "^19.5.0",
|
|
19
|
+
"@commitlint/config-conventional": "^19.5.0",
|
|
18
20
|
"ant-design-vue": "4.x",
|
|
19
21
|
"axios": "^1.7.7",
|
|
20
22
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
21
23
|
"vue": "^3.5.12"
|
|
22
24
|
},
|
|
23
25
|
"devDependencies": {
|
|
26
|
+
"@typescript-eslint/parser": "^8.13.0",
|
|
24
27
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
28
|
+
"eslint": "^9.14.0",
|
|
29
|
+
"husky": "^9",
|
|
30
|
+
"lint-staged": "^13.2.0",
|
|
25
31
|
"typescript": "~5.5.4",
|
|
26
32
|
"vite": "^5.4.9",
|
|
27
33
|
"vue-tsc": "^2.1.8"
|
package/public/card.png
ADDED
|
Binary file
|
|
Binary file
|
package/public/image.png
ADDED
|
Binary file
|
package/src/App.vue
CHANGED
package/src/axios/axios.ts
CHANGED
|
@@ -8,7 +8,7 @@ const YQG_NOT_LOGIN = 10008;
|
|
|
8
8
|
axios.defaults.withCredentials = true;
|
|
9
9
|
// instance.defaults.paramsSerializer = (params) => qs.stringify(params, { arrayFormat: 'repeat' });
|
|
10
10
|
|
|
11
|
-
axios.defaults.headers.common['Accept-Language'] = localStorage.getItem('permission_locale')
|
|
11
|
+
axios.defaults.headers.common['Accept-Language'] = localStorage.getItem('permission_locale');
|
|
12
12
|
|
|
13
13
|
axios.interceptors.response.use(
|
|
14
14
|
(res: any) => {
|
|
@@ -35,9 +35,15 @@
|
|
|
35
35
|
<FormItem
|
|
36
36
|
name="applyReason"
|
|
37
37
|
:label="t('applyReason')"
|
|
38
|
-
:rules="[{
|
|
38
|
+
:rules="[{
|
|
39
|
+
required: true, message: t('reasonPlaceholder')
|
|
40
|
+
}, {
|
|
41
|
+
max: 300, message: t('maxLengthTips', {length: 300})
|
|
42
|
+
}]">
|
|
39
43
|
<Textarea
|
|
40
44
|
v-model:value="formState.applyReason"
|
|
45
|
+
show-count
|
|
46
|
+
:maxlength="300"
|
|
41
47
|
:placeholder="t('applyReasonPlaceholder')"
|
|
42
48
|
:auto-size="{ minRows: 2, maxRows: 5 }">
|
|
43
49
|
</Textarea>
|
|
@@ -62,7 +68,6 @@
|
|
|
62
68
|
</template>
|
|
63
69
|
<script lang="ts" setup>
|
|
64
70
|
import {
|
|
65
|
-
defineModel,
|
|
66
71
|
reactive,
|
|
67
72
|
defineAsyncComponent,
|
|
68
73
|
toRef,
|
|
@@ -77,6 +82,7 @@
|
|
|
77
82
|
CheckboxGroup,
|
|
78
83
|
Textarea,
|
|
79
84
|
Tag,
|
|
85
|
+
message
|
|
80
86
|
} from 'ant-design-vue';
|
|
81
87
|
import SuccessModal from './success-modal.vue';
|
|
82
88
|
import ApprovalSteps from './approval-steps.vue';
|
|
@@ -138,6 +144,9 @@
|
|
|
138
144
|
}
|
|
139
145
|
|
|
140
146
|
const handleOk = async() => {
|
|
147
|
+
if (formState.roleIds.length > 5) {
|
|
148
|
+
return message.warning(t('maxCountTips', {count: 5}));
|
|
149
|
+
}
|
|
141
150
|
formRef.value.validate().then(async() => {
|
|
142
151
|
loading.value = true;
|
|
143
152
|
const params = getParams();
|
|
@@ -145,8 +154,8 @@
|
|
|
145
154
|
const url = res?.body?.oaFlowUrl;
|
|
146
155
|
open.value = false;
|
|
147
156
|
loading.value = false;
|
|
148
|
-
|
|
149
|
-
successModal.value?.countDown(url);
|
|
157
|
+
|
|
158
|
+
successModal.value?.countDown(url, () => emit('onSuccess'));
|
|
150
159
|
})
|
|
151
160
|
};
|
|
152
161
|
|
|
@@ -161,6 +170,10 @@
|
|
|
161
170
|
}
|
|
162
171
|
|
|
163
172
|
const onChangeHandler = throttle(async () => {
|
|
173
|
+
if (formState.roleIds.length > 5) {
|
|
174
|
+
return message.warning(t('maxCountTips', {count: 5}));
|
|
175
|
+
}
|
|
176
|
+
|
|
164
177
|
if (!formState.roleIds.length) {
|
|
165
178
|
stepNodes.value = [];
|
|
166
179
|
return;
|
|
@@ -2,16 +2,18 @@
|
|
|
2
2
|
<div v-if="stepNodes?.length > 1" class="crane-step-wraper">
|
|
3
3
|
<div v-for="(item, index) in stepNodes" :key="item.auditorName" class="crane-step-node">
|
|
4
4
|
<span style="white-space: nowrap;">
|
|
5
|
-
{{ item.auditorName }}
|
|
5
|
+
{{ item.auditorName }}
|
|
6
|
+
<Popover v-if="item.employeeNameList?.length">
|
|
7
|
+
<template #content>
|
|
8
|
+
<div style="max-width: 400px;">
|
|
9
|
+
{{ item.employeeNameList.join('、')}}
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
<ExclamationCircleOutlined style="margin: 0 2px; color: #1677ff;"/>
|
|
13
|
+
</Popover>
|
|
14
|
+
{{ getSubTip(index) }}
|
|
6
15
|
</span>
|
|
7
16
|
|
|
8
|
-
<Popover v-if="item.employeeNameList?.length">
|
|
9
|
-
<template #content>
|
|
10
|
-
{{item.auditorName}}:{{ item.employeeNameList.join(',')}}
|
|
11
|
-
</template>
|
|
12
|
-
<ExclamationCircleOutlined style="margin: 0 2px"/>
|
|
13
|
-
</Popover>
|
|
14
|
-
|
|
15
17
|
<img
|
|
16
18
|
v-if="index !== stepNodes.length - 1"
|
|
17
19
|
:src="arrowImg"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="crane-checkbox-line">
|
|
3
|
-
<Checkbox :value="item.roleId" :disabled="
|
|
3
|
+
<Checkbox :value="item.roleId" :disabled="disabled" @change="onCheck">
|
|
4
4
|
<div class="crane-flex-center crane-checkbox-label">
|
|
5
5
|
<Tag
|
|
6
6
|
v-if="item.securityLevel"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
:bordered="false"
|
|
24
24
|
class="crane-tag-position crane-margin-left-4 crane-margin-right-0"
|
|
25
25
|
:class="item.businessApplyType !== StatusTypePending ? 'crane-disabled-color' : ''">
|
|
26
|
-
{{ statusMap[item.businessApplyType]
|
|
26
|
+
{{ statusMap[item.businessApplyType] }}
|
|
27
27
|
</Tag>
|
|
28
28
|
</div>
|
|
29
29
|
</Checkbox>
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
<template #content>
|
|
40
40
|
{{t('adaptDepartment')}}:{{ item.relatedDepartments.map((item: any) => {
|
|
41
41
|
return item.name;
|
|
42
|
-
}).join('
|
|
42
|
+
}).join('、') }}
|
|
43
43
|
</template>
|
|
44
44
|
<span class="crane-flex-center crane-margin-left-4">
|
|
45
45
|
<img :src="departmentImg" height="14" width="14">
|
|
@@ -81,21 +81,6 @@
|
|
|
81
81
|
text: t('levels.L3')
|
|
82
82
|
},
|
|
83
83
|
};
|
|
84
|
-
|
|
85
|
-
const statusMap:StatusMapType = {
|
|
86
|
-
PENDING: {
|
|
87
|
-
color: 'orange',
|
|
88
|
-
text: t('status.PENDING')
|
|
89
|
-
},
|
|
90
|
-
OWNER: {
|
|
91
|
-
color: 'green',
|
|
92
|
-
text: t('status.OWNER')
|
|
93
|
-
},
|
|
94
|
-
NO: {
|
|
95
|
-
color: 'red',
|
|
96
|
-
text: t('status.NO')
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
84
|
|
|
100
85
|
let props = defineProps({
|
|
101
86
|
item: {
|
|
@@ -112,7 +97,9 @@
|
|
|
112
97
|
}
|
|
113
98
|
});
|
|
114
99
|
const timeStatusOptions = formatOptions('availiables');
|
|
100
|
+
const statusMap = t('status');
|
|
115
101
|
const StatusTypePending = 'PENDING';
|
|
102
|
+
const disabled = ['NO', 'PENDING'].includes(props.item.businessApplyType);
|
|
116
103
|
const validTime = ref('');
|
|
117
104
|
|
|
118
105
|
//1登录人所在部门 = 权限适用范围,都默认90天,不需要区分等级和类型,
|
|
@@ -9,22 +9,31 @@
|
|
|
9
9
|
|
|
10
10
|
const [modal, contextHolder] = Modal.useModal();
|
|
11
11
|
|
|
12
|
-
const countDown = (url: string) => {
|
|
12
|
+
const countDown = (url: string, callback?: ()=>void) => {
|
|
13
13
|
let secondsToGo = 10;
|
|
14
14
|
const modal1 = modal.confirm({
|
|
15
15
|
title: t('resoultTitle'),
|
|
16
16
|
content: t('successTips'),
|
|
17
17
|
cancelText: `${t('close')}(${secondsToGo}s)`,
|
|
18
18
|
okText:`${t('viewApprovalDetail')}>>`,
|
|
19
|
-
wrapClassName: '
|
|
19
|
+
wrapClassName: 'yqg-permission-modal-wrap',
|
|
20
20
|
icon: createVNode(CheckCircleFilled, {style: 'color: #52c41a;'}),
|
|
21
21
|
onOk: () => {
|
|
22
22
|
window.open(url);
|
|
23
|
-
|
|
23
|
+
modal1.destroy();
|
|
24
|
+
if (callback) {
|
|
25
|
+
callback();
|
|
26
|
+
} else {
|
|
27
|
+
location.reload();
|
|
28
|
+
}
|
|
24
29
|
},
|
|
25
30
|
onCancel: () => {
|
|
26
31
|
modal1.destroy();
|
|
27
|
-
|
|
32
|
+
if (callback) {
|
|
33
|
+
callback();
|
|
34
|
+
} else {
|
|
35
|
+
location.reload();
|
|
36
|
+
}
|
|
28
37
|
},
|
|
29
38
|
});
|
|
30
39
|
|
|
@@ -44,8 +53,8 @@
|
|
|
44
53
|
defineExpose({countDown});
|
|
45
54
|
|
|
46
55
|
</script>
|
|
47
|
-
<style
|
|
48
|
-
|
|
49
|
-
text-align: center;
|
|
56
|
+
<style>
|
|
57
|
+
.yqg-permission-modal-wrap .yqg-permission-modal-confirm-btns {
|
|
58
|
+
text-align: center!important;
|
|
50
59
|
}
|
|
51
60
|
</style>
|
|
@@ -16,14 +16,15 @@
|
|
|
16
16
|
</div>
|
|
17
17
|
</template>
|
|
18
18
|
<template v-else>
|
|
19
|
-
|
|
20
|
-
:src="curStatus.imageUrl"
|
|
21
|
-
height="200"
|
|
22
|
-
width="200"
|
|
23
|
-
style="margin-top: calc(50vh - 273px)" />
|
|
19
|
+
|
|
24
20
|
<!-- 可申请 -->
|
|
25
21
|
<template v-if="curStatus.status === statusMap.DEFAULT">
|
|
26
|
-
<
|
|
22
|
+
<img
|
|
23
|
+
:src="curStatus.imageUrl"
|
|
24
|
+
height="200"
|
|
25
|
+
width="200"
|
|
26
|
+
style="margin-top: calc(50vh - 273px)" />
|
|
27
|
+
<div class="crane-margin10">
|
|
27
28
|
{{ t('unavailableTips') }}
|
|
28
29
|
</div>
|
|
29
30
|
<div>
|
|
@@ -32,7 +33,12 @@
|
|
|
32
33
|
</template>
|
|
33
34
|
<!-- 审批中 -->
|
|
34
35
|
<template v-if="curStatus.status === statusMap.PENDING">
|
|
35
|
-
<
|
|
36
|
+
<img
|
|
37
|
+
:src="curStatus.imageUrl"
|
|
38
|
+
height="200"
|
|
39
|
+
width="200"
|
|
40
|
+
style="margin-top: calc(50vh - 273px)" />
|
|
41
|
+
<div class="crane-margin10">
|
|
36
42
|
<span
|
|
37
43
|
class="crane-unapply"
|
|
38
44
|
v-html="t('appliedTips', {
|
|
@@ -41,19 +47,26 @@
|
|
|
41
47
|
</span>
|
|
42
48
|
</div>
|
|
43
49
|
<div>
|
|
44
|
-
<Button
|
|
50
|
+
<Button class="crane-margin-right10" @click="goViewApproval">{{t('viewApprovalDetail')}}</Button>
|
|
45
51
|
<Button type="primary" @click="showModal">+ {{t('applyMore')}}</Button>
|
|
46
52
|
</div>
|
|
47
53
|
</template>
|
|
48
54
|
<!-- 不可申请 -->
|
|
49
|
-
<div v-if="curStatus.status === statusMap.NO"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
<div v-if="curStatus.status === statusMap.NO" class="crane-wraper">
|
|
56
|
+
<img
|
|
57
|
+
:src="curStatus.imageUrl"
|
|
58
|
+
height="200"
|
|
59
|
+
width="200"
|
|
60
|
+
style="margin-top: calc(50vh - 273px)" />
|
|
61
|
+
<div class="crane-margin10">
|
|
62
|
+
{{ t('unapplyTips') }}
|
|
63
|
+
<Popover>
|
|
64
|
+
<template #content>
|
|
65
|
+
<div style="max-width: 400px;">{{t('manager')}}: {{ curStatus.tips }}</div>
|
|
66
|
+
</template>
|
|
67
|
+
<span style="color: #1677ff;">{{t('callManager') }}</span>
|
|
68
|
+
</Popover>
|
|
69
|
+
</div>
|
|
57
70
|
</div>
|
|
58
71
|
</template>
|
|
59
72
|
</div>
|
|
@@ -113,6 +126,7 @@
|
|
|
113
126
|
const emit = defineEmits(['onSuccess']);
|
|
114
127
|
|
|
115
128
|
const open = ref(false);
|
|
129
|
+
const curApproving = ref<PermissionType>();
|
|
116
130
|
let permissionList = ref<PermissionListType>([]);
|
|
117
131
|
let curStatus = ref<Record<string, any>>({
|
|
118
132
|
imageUrl: noauthority,
|
|
@@ -158,6 +172,7 @@
|
|
|
158
172
|
const current = data.find((per) => per.businessApplyType === statusMap.PENDING);
|
|
159
173
|
const cannotApply = data.every((per) => per.businessApplyType === statusMap.NO);
|
|
160
174
|
if (current) {
|
|
175
|
+
curApproving.value = current;
|
|
161
176
|
return {
|
|
162
177
|
imageUrl: applyUrl,
|
|
163
178
|
status: statusMap.PENDING,
|
|
@@ -170,7 +185,7 @@
|
|
|
170
185
|
return {
|
|
171
186
|
imageUrl: noauthority,
|
|
172
187
|
status: statusMap.NO,
|
|
173
|
-
tips: data[0].admin?.map((item) => item.name)?.join('、'),
|
|
188
|
+
tips: data[0].admin?.map((item) => `${item.name}(${item.departmentName})`)?.join('、'),
|
|
174
189
|
};
|
|
175
190
|
};
|
|
176
191
|
return {
|
|
@@ -179,6 +194,12 @@
|
|
|
179
194
|
}
|
|
180
195
|
};
|
|
181
196
|
|
|
197
|
+
const goViewApproval = () => {
|
|
198
|
+
if (curApproving.value?.oaFlowUrl) {
|
|
199
|
+
window.open(curApproving.value.oaFlowUrl);
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
|
|
182
203
|
const getPermissions = async () => {
|
|
183
204
|
if (!allPermissions.value.length || !props.businessCode || !props.workNumber) return;
|
|
184
205
|
|
|
@@ -213,5 +234,11 @@
|
|
|
213
234
|
font-size: 14px;
|
|
214
235
|
white-space: nowrap;
|
|
215
236
|
}
|
|
237
|
+
.crane-margin10 {
|
|
238
|
+
margin: 10px;
|
|
239
|
+
}
|
|
240
|
+
.crane-margin-right10 {
|
|
241
|
+
margin-right: 10px;
|
|
242
|
+
}
|
|
216
243
|
</style>
|
|
217
244
|
|
package/src/i18n/zh-CH.ts
CHANGED
|
@@ -28,6 +28,8 @@ export default {
|
|
|
28
28
|
availableTime: '有效期',
|
|
29
29
|
selectPlaceholder: '请选择权限点',
|
|
30
30
|
reasonPlaceholder: '请输入申请理由',
|
|
31
|
+
maxCountTips: '一次最多只可申请{count}个权限',
|
|
32
|
+
maxLengthTips: '最多{length}个字符',
|
|
31
33
|
availiables: {
|
|
32
34
|
SEVEN_DAYS: '7天',
|
|
33
35
|
THIRTY_DAYS: '30天',
|
|
@@ -43,7 +45,8 @@ export default {
|
|
|
43
45
|
status: {
|
|
44
46
|
PENDING: '审批中',
|
|
45
47
|
NO: '不可申请',
|
|
46
|
-
OWNER: '
|
|
48
|
+
OWNER: '永久拥有',
|
|
49
|
+
TEMP_OWNER: '临时拥有',
|
|
47
50
|
},
|
|
48
51
|
operationType: {
|
|
49
52
|
QUERY: '查询',
|
package/src/main.ts
CHANGED
package/src/typings/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ interface Options {
|
|
|
18
18
|
interface YqgPermissionType {
|
|
19
19
|
tagName: string;
|
|
20
20
|
hasInit: boolean;
|
|
21
|
-
|
|
21
|
+
init: (options: Options) => void;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
class YqgPermission implements YqgPermissionType {
|
|
@@ -30,7 +30,7 @@ class YqgPermission implements YqgPermissionType {
|
|
|
30
30
|
this.hasInit = false;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
init(options?: Options): void {
|
|
34
34
|
if (!window || !window.customElements) {
|
|
35
35
|
console.error('yqg-permission is not supported in this environment');
|
|
36
36
|
return;
|
package/tsconfig.app.json
CHANGED
|
@@ -21,5 +21,14 @@
|
|
|
21
21
|
"noFallthroughCasesInSwitch": true
|
|
22
22
|
},
|
|
23
23
|
"composite": true,
|
|
24
|
-
"include": [
|
|
24
|
+
"include": [
|
|
25
|
+
"src/**/*.ts",
|
|
26
|
+
"src/**/*.d.ts",
|
|
27
|
+
"src/**/*.tsx",
|
|
28
|
+
"src/**/*.vue"
|
|
29
|
+
],
|
|
30
|
+
"exclude": [
|
|
31
|
+
"node_modules",
|
|
32
|
+
"vite.config.ts" // 如果不需要解析 vite.config.ts
|
|
33
|
+
],
|
|
25
34
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": [],
|
|
3
|
-
"references": [{ "path": "./tsconfig.app.json" }
|
|
3
|
+
"references": [{ "path": "./tsconfig.app.json" }],
|
|
4
4
|
"path": {
|
|
5
5
|
"@src": "./src"
|
|
6
6
|
},
|
|
7
7
|
"compilerOptions": {
|
|
8
8
|
"typeRoots": ["node_modules/ant-design-vue/typings", "./src/typings"]
|
|
9
|
-
}
|
|
9
|
+
},
|
|
10
10
|
}
|
package/dist/vite.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/public/vite.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|