Compare commits
36
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
024eef682e | ||
|
|
73fb136b91 | ||
|
|
0558261ba7 | ||
|
|
f8fc42dfec | ||
|
|
21b59e8272 | ||
|
|
3e12b596b2 | ||
|
|
0e521db11e | ||
|
|
df4d5848a2 | ||
|
|
7e407f68a6 | ||
|
|
c827568088 | ||
|
|
35039e1b09 | ||
|
|
7ae38cb277 | ||
|
|
daf2f1f7dc | ||
|
|
8a96ca3bc4 | ||
|
|
9617d80ff4 | ||
|
|
46fead9039 | ||
|
|
f20cd94eec | ||
|
|
2e38fdff5f | ||
|
|
5b078fa607 | ||
|
|
0cfcebdebd | ||
|
|
a859521682 | ||
|
|
f8425de967 | ||
|
|
a77af184df | ||
|
|
fdf572d3ef | ||
|
|
b4541b6f78 | ||
|
|
37a8db0055 | ||
|
|
b3ae608daa | ||
|
|
9e7e7215e9 | ||
|
|
6120d0b8fa | ||
|
|
280847acd1 | ||
|
|
00dd253202 | ||
|
|
cba8f966ac | ||
|
|
f3d5e881af | ||
|
|
9e94573046 | ||
|
|
5f9e951aa8 | ||
|
|
b455930798 |
No files matched your search
Vendored
+10
-2
@@ -8,6 +8,8 @@ export {}
|
|||||||
declare module 'vue' {
|
declare module 'vue' {
|
||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
Copyright: typeof import('./src/components/Copyright.vue')['default']
|
Copyright: typeof import('./src/components/Copyright.vue')['default']
|
||||||
|
ImagePreviewer: typeof import('./src/components/ImagePreviewer.vue')['default']
|
||||||
|
ImageUpload: typeof import('./src/components/ImageUpload.vue')['default']
|
||||||
RegularPage: typeof import('./src/components/RegularPage.vue')['default']
|
RegularPage: typeof import('./src/components/RegularPage.vue')['default']
|
||||||
RouterLink: typeof import('vue-router')['RouterLink']
|
RouterLink: typeof import('vue-router')['RouterLink']
|
||||||
RouterView: typeof import('vue-router')['RouterView']
|
RouterView: typeof import('vue-router')['RouterView']
|
||||||
@@ -15,20 +17,26 @@ declare module 'vue' {
|
|||||||
TAvatar: typeof import('tdesign-vue-next')['Avatar']
|
TAvatar: typeof import('tdesign-vue-next')['Avatar']
|
||||||
TButton: typeof import('tdesign-vue-next')['Button']
|
TButton: typeof import('tdesign-vue-next')['Button']
|
||||||
TCard: typeof import('tdesign-vue-next')['Card']
|
TCard: typeof import('tdesign-vue-next')['Card']
|
||||||
TCheckbox: typeof import('tdesign-vue-next')['Checkbox']
|
|
||||||
TDialog: typeof import('tdesign-vue-next')['Dialog']
|
TDialog: typeof import('tdesign-vue-next')['Dialog']
|
||||||
TDropdown: typeof import('tdesign-vue-next')['Dropdown']
|
TDropdown: typeof import('tdesign-vue-next')['Dropdown']
|
||||||
TForm: typeof import('tdesign-vue-next')['Form']
|
TForm: typeof import('tdesign-vue-next')['Form']
|
||||||
TFormItem: typeof import('tdesign-vue-next')['FormItem']
|
TFormItem: typeof import('tdesign-vue-next')['FormItem']
|
||||||
THeader: typeof import('tdesign-vue-next')['Header']
|
THeader: typeof import('tdesign-vue-next')['Header']
|
||||||
TIcon: typeof import('tdesign-vue-next')['Icon']
|
TIcon: typeof import('tdesign-vue-next')['Icon']
|
||||||
|
TImage: typeof import('tdesign-vue-next')['Image']
|
||||||
|
TImageViewer: typeof import('tdesign-vue-next')['ImageViewer']
|
||||||
TInput: typeof import('tdesign-vue-next')['Input']
|
TInput: typeof import('tdesign-vue-next')['Input']
|
||||||
|
TInputNumber: typeof import('tdesign-vue-next')['InputNumber']
|
||||||
TLayout: typeof import('tdesign-vue-next')['Layout']
|
TLayout: typeof import('tdesign-vue-next')['Layout']
|
||||||
TLink: typeof import('tdesign-vue-next')['Link']
|
|
||||||
TMenu: typeof import('tdesign-vue-next')['Menu']
|
TMenu: typeof import('tdesign-vue-next')['Menu']
|
||||||
TMenuItem: typeof import('tdesign-vue-next')['MenuItem']
|
TMenuItem: typeof import('tdesign-vue-next')['MenuItem']
|
||||||
|
TPopconfirm: typeof import('tdesign-vue-next')['Popconfirm']
|
||||||
|
TRadioButton: typeof import('tdesign-vue-next')['RadioButton']
|
||||||
|
TRadioGroup: typeof import('tdesign-vue-next')['RadioGroup']
|
||||||
|
TSelectInput: typeof import('tdesign-vue-next')['SelectInput']
|
||||||
TSpace: typeof import('tdesign-vue-next')['Space']
|
TSpace: typeof import('tdesign-vue-next')['Space']
|
||||||
TTable: typeof import('tdesign-vue-next')['Table']
|
TTable: typeof import('tdesign-vue-next')['Table']
|
||||||
TTag: typeof import('tdesign-vue-next')['Tag']
|
TTag: typeof import('tdesign-vue-next')['Tag']
|
||||||
|
TUpload: typeof import('tdesign-vue-next')['Upload']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -18,6 +18,8 @@
|
|||||||
"@tiptap/pm": "^2.8.0",
|
"@tiptap/pm": "^2.8.0",
|
||||||
"@tiptap/starter-kit": "^2.8.0",
|
"@tiptap/starter-kit": "^2.8.0",
|
||||||
"@tiptap/vue-3": "^2.8.0",
|
"@tiptap/vue-3": "^2.8.0",
|
||||||
|
"@wangeditor/editor": "^5.1.23",
|
||||||
|
"@wangeditor/editor-for-vue": "^5.1.12",
|
||||||
"axios": "^1.7.7",
|
"axios": "^1.7.7",
|
||||||
"mockjs": "^1.1.0",
|
"mockjs": "^1.1.0",
|
||||||
"pinia": "^2.2.2",
|
"pinia": "^2.2.2",
|
||||||
|
|||||||
Generated
+481
@@ -20,6 +20,12 @@ importers:
|
|||||||
'@tiptap/vue-3':
|
'@tiptap/vue-3':
|
||||||
specifier: ^2.8.0
|
specifier: ^2.8.0
|
||||||
version: 2.8.0(@tiptap/core@2.8.0(@tiptap/pm@2.8.0))(@tiptap/pm@2.8.0)(vue@3.5.8(typescript@5.4.5))
|
version: 2.8.0(@tiptap/core@2.8.0(@tiptap/pm@2.8.0))(@tiptap/pm@2.8.0)(vue@3.5.8(typescript@5.4.5))
|
||||||
|
'@wangeditor/editor':
|
||||||
|
specifier: ^5.1.23
|
||||||
|
version: 5.1.23
|
||||||
|
'@wangeditor/editor-for-vue':
|
||||||
|
specifier: ^5.1.12
|
||||||
|
version: 5.1.12(@wangeditor/editor@5.1.23)(vue@3.5.8(typescript@5.4.5))
|
||||||
axios:
|
axios:
|
||||||
specifier: ^1.7.7
|
specifier: ^1.7.7
|
||||||
version: 1.7.7
|
version: 1.7.7
|
||||||
@@ -771,6 +777,9 @@ packages:
|
|||||||
'@tiptap/pm': ^2.7.0
|
'@tiptap/pm': ^2.7.0
|
||||||
vue: ^3.0.0
|
vue: ^3.0.0
|
||||||
|
|
||||||
|
'@transloadit/prettier-bytes@0.0.7':
|
||||||
|
resolution: {integrity: sha512-VeJbUb0wEKbcwaSlj5n+LscBl9IPgLPkHVGBkh00cztv6X4L/TJXK58LzFuBKX7/GAfiGhIwH67YTLTlzvIzBA==}
|
||||||
|
|
||||||
'@tsconfig/node20@20.1.4':
|
'@tsconfig/node20@20.1.4':
|
||||||
resolution: {integrity: sha512-sqgsT69YFeLWf5NtJ4Xq/xAF8p4ZQHlmGW74Nu2tD4+g5fAsposc4ZfaaPixVu4y01BEiDCWLRDCvDM5JOsRxg==}
|
resolution: {integrity: sha512-sqgsT69YFeLWf5NtJ4Xq/xAF8p4ZQHlmGW74Nu2tD4+g5fAsposc4ZfaaPixVu4y01BEiDCWLRDCvDM5JOsRxg==}
|
||||||
|
|
||||||
@@ -780,6 +789,9 @@ packages:
|
|||||||
'@types/estree@1.0.6':
|
'@types/estree@1.0.6':
|
||||||
resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==}
|
resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==}
|
||||||
|
|
||||||
|
'@types/event-emitter@0.3.5':
|
||||||
|
resolution: {integrity: sha512-zx2/Gg0Eg7gwEiOIIh5w9TrhKKTeQh7CPCOPNc0el4pLSwzebA8SmnHwZs2dWlLONvyulykSwGSQxQHLhjGLvQ==}
|
||||||
|
|
||||||
'@types/jsdom@21.1.7':
|
'@types/jsdom@21.1.7':
|
||||||
resolution: {integrity: sha512-yOriVnggzrnQ3a9OKOCxaVuSug3w3/SbOj5i7VwXWZEyUNl3bLF9V3MfxGbZKuwqJOQyRfqXyROBB1CoZLFWzA==}
|
resolution: {integrity: sha512-yOriVnggzrnQ3a9OKOCxaVuSug3w3/SbOj5i7VwXWZEyUNl3bLF9V3MfxGbZKuwqJOQyRfqXyROBB1CoZLFWzA==}
|
||||||
|
|
||||||
@@ -871,6 +883,23 @@ packages:
|
|||||||
'@ungap/structured-clone@1.2.0':
|
'@ungap/structured-clone@1.2.0':
|
||||||
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
|
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
|
||||||
|
|
||||||
|
'@uppy/companion-client@2.2.2':
|
||||||
|
resolution: {integrity: sha512-5mTp2iq97/mYSisMaBtFRry6PTgZA6SIL7LePteOV5x0/DxKfrZW3DEiQERJmYpHzy7k8johpm2gHnEKto56Og==}
|
||||||
|
|
||||||
|
'@uppy/core@2.3.4':
|
||||||
|
resolution: {integrity: sha512-iWAqppC8FD8mMVqewavCz+TNaet6HPXitmGXpGGREGrakZ4FeuWytVdrelydzTdXx6vVKkOmI2FLztGg73sENQ==}
|
||||||
|
|
||||||
|
'@uppy/store-default@2.1.1':
|
||||||
|
resolution: {integrity: sha512-xnpTxvot2SeAwGwbvmJ899ASk5tYXhmZzD/aCFsXePh/v8rNvR2pKlcQUH7cF/y4baUGq3FHO/daKCok/mpKqQ==}
|
||||||
|
|
||||||
|
'@uppy/utils@4.1.3':
|
||||||
|
resolution: {integrity: sha512-nTuMvwWYobnJcytDO3t+D6IkVq/Qs4Xv3vyoEZ+Iaf8gegZP+rEyoaFT2CK5XLRMienPyqRqNbIfRuFaOWSIFw==}
|
||||||
|
|
||||||
|
'@uppy/xhr-upload@2.1.3':
|
||||||
|
resolution: {integrity: sha512-YWOQ6myBVPs+mhNjfdWsQyMRWUlrDLMoaG7nvf/G6Y3GKZf8AyjFDjvvJ49XWQ+DaZOftGkHmF1uh/DBeGivJQ==}
|
||||||
|
peerDependencies:
|
||||||
|
'@uppy/core': ^2.3.3
|
||||||
|
|
||||||
'@vitejs/plugin-vue@5.1.4':
|
'@vitejs/plugin-vue@5.1.4':
|
||||||
resolution: {integrity: sha512-N2XSI2n3sQqp5w7Y/AN/L2XDjBIRGqXko+eDp42sydYSBeJuSm5a1sLf8zakmo8u7tA8NmBgoDLA1HeOESjp9A==}
|
resolution: {integrity: sha512-N2XSI2n3sQqp5w7Y/AN/L2XDjBIRGqXko+eDp42sydYSBeJuSm5a1sLf8zakmo8u7tA8NmBgoDLA1HeOESjp9A==}
|
||||||
engines: {node: ^18.0.0 || >=20.0.0}
|
engines: {node: ^18.0.0 || >=20.0.0}
|
||||||
@@ -995,6 +1024,93 @@ packages:
|
|||||||
'@vue/tsconfig@0.5.1':
|
'@vue/tsconfig@0.5.1':
|
||||||
resolution: {integrity: sha512-VcZK7MvpjuTPx2w6blwnwZAu5/LgBUtejFOi3pPGQFXQN5Ela03FUtd2Qtg4yWGGissVL0dr6Ro1LfOFh+PCuQ==}
|
resolution: {integrity: sha512-VcZK7MvpjuTPx2w6blwnwZAu5/LgBUtejFOi3pPGQFXQN5Ela03FUtd2Qtg4yWGGissVL0dr6Ro1LfOFh+PCuQ==}
|
||||||
|
|
||||||
|
'@wangeditor/basic-modules@1.1.7':
|
||||||
|
resolution: {integrity: sha512-cY9CPkLJaqF05STqfpZKWG4LpxTMeGSIIF1fHvfm/mz+JXatCagjdkbxdikOuKYlxDdeqvOeBmsUBItufDLXZg==}
|
||||||
|
peerDependencies:
|
||||||
|
'@wangeditor/core': 1.x
|
||||||
|
dom7: ^3.0.0
|
||||||
|
lodash.throttle: ^4.1.1
|
||||||
|
nanoid: ^3.2.0
|
||||||
|
slate: ^0.72.0
|
||||||
|
snabbdom: ^3.1.0
|
||||||
|
|
||||||
|
'@wangeditor/code-highlight@1.0.3':
|
||||||
|
resolution: {integrity: sha512-iazHwO14XpCuIWJNTQTikqUhGKyqj+dUNWJ9288Oym9M2xMVHvnsOmDU2sgUDWVy+pOLojReMPgXCsvvNlOOhw==}
|
||||||
|
peerDependencies:
|
||||||
|
'@wangeditor/core': 1.x
|
||||||
|
dom7: ^3.0.0
|
||||||
|
slate: ^0.72.0
|
||||||
|
snabbdom: ^3.1.0
|
||||||
|
|
||||||
|
'@wangeditor/core@1.1.19':
|
||||||
|
resolution: {integrity: sha512-KevkB47+7GhVszyYF2pKGKtCSj/YzmClsD03C3zTt+9SR2XWT5T0e3yQqg8baZpcMvkjs1D8Dv4fk8ok/UaS2Q==}
|
||||||
|
peerDependencies:
|
||||||
|
'@uppy/core': ^2.1.1
|
||||||
|
'@uppy/xhr-upload': ^2.0.3
|
||||||
|
dom7: ^3.0.0
|
||||||
|
is-hotkey: ^0.2.0
|
||||||
|
lodash.camelcase: ^4.3.0
|
||||||
|
lodash.clonedeep: ^4.5.0
|
||||||
|
lodash.debounce: ^4.0.8
|
||||||
|
lodash.foreach: ^4.5.0
|
||||||
|
lodash.isequal: ^4.5.0
|
||||||
|
lodash.throttle: ^4.1.1
|
||||||
|
lodash.toarray: ^4.4.0
|
||||||
|
nanoid: ^3.2.0
|
||||||
|
slate: ^0.72.0
|
||||||
|
snabbdom: ^3.1.0
|
||||||
|
|
||||||
|
'@wangeditor/editor-for-vue@5.1.12':
|
||||||
|
resolution: {integrity: sha512-0Ds3D8I+xnpNWezAeO7HmPRgTfUxHLMd9JKcIw+QzvSmhC5xUHbpCcLU+KLmeBKTR/zffnS5GQo6qi3GhTMJWQ==}
|
||||||
|
peerDependencies:
|
||||||
|
'@wangeditor/editor': '>=5.1.0'
|
||||||
|
vue: ^3.0.5
|
||||||
|
|
||||||
|
'@wangeditor/editor@5.1.23':
|
||||||
|
resolution: {integrity: sha512-0RxfeVTuK1tktUaPROnCoFfaHVJpRAIE2zdS0mpP+vq1axVQpLjM8+fCvKzqYIkH0Pg+C+44hJpe3VVroSkEuQ==}
|
||||||
|
|
||||||
|
'@wangeditor/list-module@1.0.5':
|
||||||
|
resolution: {integrity: sha512-uDuYTP6DVhcYf7mF1pTlmNn5jOb4QtcVhYwSSAkyg09zqxI1qBqsfUnveeDeDqIuptSJhkh81cyxi+MF8sEPOQ==}
|
||||||
|
peerDependencies:
|
||||||
|
'@wangeditor/core': 1.x
|
||||||
|
dom7: ^3.0.0
|
||||||
|
slate: ^0.72.0
|
||||||
|
snabbdom: ^3.1.0
|
||||||
|
|
||||||
|
'@wangeditor/table-module@1.1.4':
|
||||||
|
resolution: {integrity: sha512-5saanU9xuEocxaemGdNi9t8MCDSucnykEC6jtuiT72kt+/Hhh4nERYx1J20OPsTCCdVr7hIyQenFD1iSRkIQ6w==}
|
||||||
|
peerDependencies:
|
||||||
|
'@wangeditor/core': 1.x
|
||||||
|
dom7: ^3.0.0
|
||||||
|
lodash.isequal: ^4.5.0
|
||||||
|
lodash.throttle: ^4.1.1
|
||||||
|
nanoid: ^3.2.0
|
||||||
|
slate: ^0.72.0
|
||||||
|
snabbdom: ^3.1.0
|
||||||
|
|
||||||
|
'@wangeditor/upload-image-module@1.0.2':
|
||||||
|
resolution: {integrity: sha512-z81lk/v71OwPDYeQDxj6cVr81aDP90aFuywb8nPD6eQeECtOymrqRODjpO6VGvCVxVck8nUxBHtbxKtjgcwyiA==}
|
||||||
|
peerDependencies:
|
||||||
|
'@uppy/core': ^2.0.3
|
||||||
|
'@uppy/xhr-upload': ^2.0.3
|
||||||
|
'@wangeditor/basic-modules': 1.x
|
||||||
|
'@wangeditor/core': 1.x
|
||||||
|
dom7: ^3.0.0
|
||||||
|
lodash.foreach: ^4.5.0
|
||||||
|
slate: ^0.72.0
|
||||||
|
snabbdom: ^3.1.0
|
||||||
|
|
||||||
|
'@wangeditor/video-module@1.1.4':
|
||||||
|
resolution: {integrity: sha512-ZdodDPqKQrgx3IwWu4ZiQmXI8EXZ3hm2/fM6E3t5dB8tCaIGWQZhmqd6P5knfkRAd3z2+YRSRbxOGfoRSp/rLg==}
|
||||||
|
peerDependencies:
|
||||||
|
'@uppy/core': ^2.1.4
|
||||||
|
'@uppy/xhr-upload': ^2.0.7
|
||||||
|
'@wangeditor/core': 1.x
|
||||||
|
dom7: ^3.0.0
|
||||||
|
nanoid: ^3.2.0
|
||||||
|
slate: ^0.72.0
|
||||||
|
snabbdom: ^3.1.0
|
||||||
|
|
||||||
abbrev@2.0.0:
|
abbrev@2.0.0:
|
||||||
resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==}
|
resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==}
|
||||||
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
|
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
|
||||||
@@ -1199,6 +1315,9 @@ packages:
|
|||||||
compatx@0.1.8:
|
compatx@0.1.8:
|
||||||
resolution: {integrity: sha512-jcbsEAR81Bt5s1qOFymBufmCbXCXbk0Ql+K5ouj6gCyx2yHlu6AgmGIi9HxfKixpUDO5bCFJUHQ5uM6ecbTebw==}
|
resolution: {integrity: sha512-jcbsEAR81Bt5s1qOFymBufmCbXCXbk0Ql+K5ouj6gCyx2yHlu6AgmGIi9HxfKixpUDO5bCFJUHQ5uM6ecbTebw==}
|
||||||
|
|
||||||
|
compute-scroll-into-view@1.0.20:
|
||||||
|
resolution: {integrity: sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==}
|
||||||
|
|
||||||
computeds@0.0.1:
|
computeds@0.0.1:
|
||||||
resolution: {integrity: sha512-7CEBgcMjVmitjYo5q8JTJVra6X5mQ20uTThdK+0kR7UEaDrAWEQcRiBtWJzga4eRpP6afNwwLsX2SET2JhVB1Q==}
|
resolution: {integrity: sha512-7CEBgcMjVmitjYo5q8JTJVra6X5mQ20uTThdK+0kR7UEaDrAWEQcRiBtWJzga4eRpP6afNwwLsX2SET2JhVB1Q==}
|
||||||
|
|
||||||
@@ -1245,6 +1364,10 @@ packages:
|
|||||||
csstype@3.1.3:
|
csstype@3.1.3:
|
||||||
resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}
|
resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}
|
||||||
|
|
||||||
|
d@1.0.2:
|
||||||
|
resolution: {integrity: sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==}
|
||||||
|
engines: {node: '>=0.12'}
|
||||||
|
|
||||||
data-urls@5.0.0:
|
data-urls@5.0.0:
|
||||||
resolution: {integrity: sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==}
|
resolution: {integrity: sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
@@ -1328,6 +1451,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==}
|
resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==}
|
||||||
engines: {node: '>=6.0.0'}
|
engines: {node: '>=6.0.0'}
|
||||||
|
|
||||||
|
dom7@3.0.0:
|
||||||
|
resolution: {integrity: sha512-oNlcUdHsC4zb7Msx7JN3K0Nro1dzJ48knvBOnDPKJ2GV9wl1i5vydJZUSyOfrkKFDZEud/jBsTk92S/VGSAe/g==}
|
||||||
|
|
||||||
dotenv@16.4.5:
|
dotenv@16.4.5:
|
||||||
resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==}
|
resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1363,6 +1489,17 @@ packages:
|
|||||||
error-stack-parser-es@0.1.5:
|
error-stack-parser-es@0.1.5:
|
||||||
resolution: {integrity: sha512-xHku1X40RO+fO8yJ8Wh2f2rZWVjqyhb1zgq1yZ8aZRQkv6OOKhKWRUaht3eSCUbAOBaKIgM+ykwFLE+QUxgGeg==}
|
resolution: {integrity: sha512-xHku1X40RO+fO8yJ8Wh2f2rZWVjqyhb1zgq1yZ8aZRQkv6OOKhKWRUaht3eSCUbAOBaKIgM+ykwFLE+QUxgGeg==}
|
||||||
|
|
||||||
|
es5-ext@0.10.64:
|
||||||
|
resolution: {integrity: sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==}
|
||||||
|
engines: {node: '>=0.10'}
|
||||||
|
|
||||||
|
es6-iterator@2.0.3:
|
||||||
|
resolution: {integrity: sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==}
|
||||||
|
|
||||||
|
es6-symbol@3.1.4:
|
||||||
|
resolution: {integrity: sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==}
|
||||||
|
engines: {node: '>=0.12'}
|
||||||
|
|
||||||
esbuild@0.21.5:
|
esbuild@0.21.5:
|
||||||
resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==}
|
resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -1426,6 +1563,10 @@ packages:
|
|||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
|
esniff@2.0.1:
|
||||||
|
resolution: {integrity: sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==}
|
||||||
|
engines: {node: '>=0.10'}
|
||||||
|
|
||||||
espree@9.6.1:
|
espree@9.6.1:
|
||||||
resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==}
|
resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@@ -1452,10 +1593,16 @@ packages:
|
|||||||
resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}
|
resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
|
event-emitter@0.3.5:
|
||||||
|
resolution: {integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==}
|
||||||
|
|
||||||
execa@8.0.1:
|
execa@8.0.1:
|
||||||
resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==}
|
resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==}
|
||||||
engines: {node: '>=16.17'}
|
engines: {node: '>=16.17'}
|
||||||
|
|
||||||
|
ext@1.7.0:
|
||||||
|
resolution: {integrity: sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==}
|
||||||
|
|
||||||
fast-deep-equal@3.1.3:
|
fast-deep-equal@3.1.3:
|
||||||
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
|
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
|
||||||
|
|
||||||
@@ -1623,6 +1770,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==}
|
resolution: {integrity: sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
|
|
||||||
|
html-void-elements@2.0.1:
|
||||||
|
resolution: {integrity: sha512-0quDb7s97CfemeJAnW9wC0hw78MtW7NU3hqtCD75g2vFlDLt36llsYD7uB7SUzojLMP24N5IatXf7ylGXiGG9A==}
|
||||||
|
|
||||||
http-proxy-agent@7.0.2:
|
http-proxy-agent@7.0.2:
|
||||||
resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==}
|
resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==}
|
||||||
engines: {node: '>= 14'}
|
engines: {node: '>= 14'}
|
||||||
@@ -1635,6 +1785,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==}
|
resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==}
|
||||||
engines: {node: '>=16.17.0'}
|
engines: {node: '>=16.17.0'}
|
||||||
|
|
||||||
|
i18next@20.6.1:
|
||||||
|
resolution: {integrity: sha512-yCMYTMEJ9ihCwEQQ3phLo7I/Pwycf8uAx+sRHwwk5U9Aui/IZYgQRyMqXafQOw5QQ7DM1Z+WyEXWIqSuJHhG2A==}
|
||||||
|
|
||||||
iconv-lite@0.6.3:
|
iconv-lite@0.6.3:
|
||||||
resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
|
resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
@@ -1643,6 +1796,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}
|
resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}
|
||||||
engines: {node: '>= 4'}
|
engines: {node: '>= 4'}
|
||||||
|
|
||||||
|
immer@9.0.21:
|
||||||
|
resolution: {integrity: sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==}
|
||||||
|
|
||||||
import-fresh@3.3.0:
|
import-fresh@3.3.0:
|
||||||
resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}
|
resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}
|
||||||
engines: {node: '>=6'}
|
engines: {node: '>=6'}
|
||||||
@@ -1686,6 +1842,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
|
resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
|
is-hotkey@0.2.0:
|
||||||
|
resolution: {integrity: sha512-UknnZK4RakDmTgz4PI1wIph5yxSs/mvChWs9ifnlXsKuXgWmOkY/hAE0H/k2MIqH0RlRye0i1oC07MCRSD28Mw==}
|
||||||
|
|
||||||
is-inside-container@1.0.0:
|
is-inside-container@1.0.0:
|
||||||
resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==}
|
resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==}
|
||||||
engines: {node: '>=14.16'}
|
engines: {node: '>=14.16'}
|
||||||
@@ -1699,6 +1858,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==}
|
resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
|
|
||||||
|
is-plain-object@5.0.0:
|
||||||
|
resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==}
|
||||||
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
is-potential-custom-element-name@1.0.1:
|
is-potential-custom-element-name@1.0.1:
|
||||||
resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==}
|
resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==}
|
||||||
|
|
||||||
@@ -1706,6 +1869,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==}
|
resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==}
|
||||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||||
|
|
||||||
|
is-url@1.2.4:
|
||||||
|
resolution: {integrity: sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==}
|
||||||
|
|
||||||
is-what@4.1.16:
|
is-what@4.1.16:
|
||||||
resolution: {integrity: sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A==}
|
resolution: {integrity: sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A==}
|
||||||
engines: {node: '>=12.13'}
|
engines: {node: '>=12.13'}
|
||||||
@@ -1821,15 +1987,36 @@ packages:
|
|||||||
resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
|
resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
|
|
||||||
|
lodash.camelcase@4.3.0:
|
||||||
|
resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==}
|
||||||
|
|
||||||
lodash.castarray@4.4.0:
|
lodash.castarray@4.4.0:
|
||||||
resolution: {integrity: sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==}
|
resolution: {integrity: sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==}
|
||||||
|
|
||||||
|
lodash.clonedeep@4.5.0:
|
||||||
|
resolution: {integrity: sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==}
|
||||||
|
|
||||||
|
lodash.debounce@4.0.8:
|
||||||
|
resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==}
|
||||||
|
|
||||||
|
lodash.foreach@4.5.0:
|
||||||
|
resolution: {integrity: sha512-aEXTF4d+m05rVOAUG3z4vZZ4xVexLKZGF0lIxuHZ1Hplpk/3B6Z1+/ICICYRLm7c41Z2xiejbkCkJoTlypoXhQ==}
|
||||||
|
|
||||||
|
lodash.isequal@4.5.0:
|
||||||
|
resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==}
|
||||||
|
|
||||||
lodash.isplainobject@4.0.6:
|
lodash.isplainobject@4.0.6:
|
||||||
resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==}
|
resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==}
|
||||||
|
|
||||||
lodash.merge@4.6.2:
|
lodash.merge@4.6.2:
|
||||||
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
|
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
|
||||||
|
|
||||||
|
lodash.throttle@4.1.1:
|
||||||
|
resolution: {integrity: sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==}
|
||||||
|
|
||||||
|
lodash.toarray@4.4.0:
|
||||||
|
resolution: {integrity: sha512-QyffEA3i5dma5q2490+SgCvDN0pXLmRGSyAANuVi0HQ01Pkfr9fuoKQW8wm1wGBnJITs/mS7wQvS6VshUEBFCw==}
|
||||||
|
|
||||||
lodash@4.17.21:
|
lodash@4.17.21:
|
||||||
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
|
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
|
||||||
|
|
||||||
@@ -1871,6 +2058,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
|
resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
|
||||||
engines: {node: '>= 0.6'}
|
engines: {node: '>= 0.6'}
|
||||||
|
|
||||||
|
mime-match@1.0.2:
|
||||||
|
resolution: {integrity: sha512-VXp/ugGDVh3eCLOBCiHZMYWQaTNUHv2IJrut+yXA6+JbLPXHglHwfS/5A5L0ll+jkCY7fIzRJcH6OIunF+c6Cg==}
|
||||||
|
|
||||||
mime-types@2.1.35:
|
mime-types@2.1.35:
|
||||||
resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
|
resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
|
||||||
engines: {node: '>= 0.6'}
|
engines: {node: '>= 0.6'}
|
||||||
@@ -1941,6 +2131,9 @@ packages:
|
|||||||
mz@2.7.0:
|
mz@2.7.0:
|
||||||
resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
|
resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
|
||||||
|
|
||||||
|
namespace-emitter@2.0.1:
|
||||||
|
resolution: {integrity: sha512-N/sMKHniSDJBjfrkbS/tpkPj4RAbvW3mr8UAzvlMHyun93XEm83IAvhWtJVHo+RHn/oO8Job5YN4b+wRjSVp5g==}
|
||||||
|
|
||||||
nanoid@3.3.7:
|
nanoid@3.3.7:
|
||||||
resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==}
|
resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==}
|
||||||
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
||||||
@@ -1949,6 +2142,9 @@ packages:
|
|||||||
natural-compare@1.4.0:
|
natural-compare@1.4.0:
|
||||||
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
|
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
|
||||||
|
|
||||||
|
next-tick@1.1.0:
|
||||||
|
resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==}
|
||||||
|
|
||||||
node-fetch-native@1.6.4:
|
node-fetch-native@1.6.4:
|
||||||
resolution: {integrity: sha512-IhOigYzAKHd244OC0JIMIUrjzctirCmPkaIfhDeGcEETWof5zKYUW7e7MYvChGWh/4CJeXEgsRyGzuF334rOOQ==}
|
resolution: {integrity: sha512-IhOigYzAKHd244OC0JIMIUrjzctirCmPkaIfhDeGcEETWof5zKYUW7e7MYvChGWh/4CJeXEgsRyGzuF334rOOQ==}
|
||||||
|
|
||||||
@@ -2188,6 +2384,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==}
|
resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==}
|
||||||
engines: {node: ^10 || ^12 || >=14}
|
engines: {node: ^10 || ^12 || >=14}
|
||||||
|
|
||||||
|
preact@10.24.3:
|
||||||
|
resolution: {integrity: sha512-Z2dPnBnMUfyQfSQ+GBdsGa16hz35YmLmtTLhM169uW944hYL6xzTYkJjC07j+Wosz733pMWx0fgON3JNw1jJQA==}
|
||||||
|
|
||||||
prelude-ls@1.2.1:
|
prelude-ls@1.2.1:
|
||||||
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
|
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
|
||||||
engines: {node: '>= 0.8.0'}
|
engines: {node: '>= 0.8.0'}
|
||||||
@@ -2205,6 +2404,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==}
|
resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==}
|
||||||
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
|
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
|
||||||
|
|
||||||
|
prismjs@1.29.0:
|
||||||
|
resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==}
|
||||||
|
engines: {node: '>=6'}
|
||||||
|
|
||||||
prosemirror-changeset@2.2.1:
|
prosemirror-changeset@2.2.1:
|
||||||
resolution: {integrity: sha512-J7msc6wbxB4ekDFj+n9gTW/jav/p53kdlivvuppHsrZXCaQdVgRghoZbSS3kwrRyAstRVQ4/+u5k7YfLgkkQvQ==}
|
resolution: {integrity: sha512-J7msc6wbxB4ekDFj+n9gTW/jav/p53kdlivvuppHsrZXCaQdVgRghoZbSS3kwrRyAstRVQ4/+u5k7YfLgkkQvQ==}
|
||||||
|
|
||||||
@@ -2354,6 +2557,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==}
|
resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==}
|
||||||
engines: {node: '>=v12.22.7'}
|
engines: {node: '>=v12.22.7'}
|
||||||
|
|
||||||
|
scroll-into-view-if-needed@2.2.31:
|
||||||
|
resolution: {integrity: sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA==}
|
||||||
|
|
||||||
scule@1.3.0:
|
scule@1.3.0:
|
||||||
resolution: {integrity: sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==}
|
resolution: {integrity: sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==}
|
||||||
|
|
||||||
@@ -2399,6 +2605,18 @@ packages:
|
|||||||
resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==}
|
resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==}
|
||||||
engines: {node: '>=14.16'}
|
engines: {node: '>=14.16'}
|
||||||
|
|
||||||
|
slate-history@0.66.0:
|
||||||
|
resolution: {integrity: sha512-6MWpxGQZiMvSINlCbMW43E2YBSVMCMCIwQfBzGssjWw4kb0qfvj0pIdblWNRQZD0hR6WHP+dHHgGSeVdMWzfng==}
|
||||||
|
peerDependencies:
|
||||||
|
slate: '>=0.65.3'
|
||||||
|
|
||||||
|
slate@0.72.8:
|
||||||
|
resolution: {integrity: sha512-/nJwTswQgnRurpK+bGJFH1oM7naD5qDmHd89JyiKNT2oOKD8marW0QSBtuFnwEbL5aGCS8AmrhXQgNOsn4osAw==}
|
||||||
|
|
||||||
|
snabbdom@3.6.2:
|
||||||
|
resolution: {integrity: sha512-ig5qOnCDbugFntKi6c7Xlib8bA6xiJVk8O+WdFrV3wxbMqeHO0hXFQC4nAhPVWfZfi8255lcZkNhtIBINCc4+Q==}
|
||||||
|
engines: {node: '>=12.17.0'}
|
||||||
|
|
||||||
sortablejs@1.15.3:
|
sortablejs@1.15.3:
|
||||||
resolution: {integrity: sha512-zdK3/kwwAK1cJgy1rwl1YtNTbRmc8qW/+vgXf75A7NHag5of4pyI6uK86ktmQETyWRH7IGaE73uZOOBcGxgqZg==}
|
resolution: {integrity: sha512-zdK3/kwwAK1cJgy1rwl1YtNTbRmc8qW/+vgXf75A7NHag5of4pyI6uK86ktmQETyWRH7IGaE73uZOOBcGxgqZg==}
|
||||||
|
|
||||||
@@ -2410,6 +2628,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==}
|
resolution: {integrity: sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
|
ssr-window@3.0.0:
|
||||||
|
resolution: {integrity: sha512-q+8UfWDg9Itrg0yWK7oe5p/XRCJpJF9OBtXfOPgSJl+u3Xd5KI328RUEvUqSMVM9CiQUEf1QdBzJMkYGErj9QA==}
|
||||||
|
|
||||||
stackback@0.0.2:
|
stackback@0.0.2:
|
||||||
resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}
|
resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}
|
||||||
|
|
||||||
@@ -2510,6 +2731,9 @@ packages:
|
|||||||
tiny-emitter@2.1.0:
|
tiny-emitter@2.1.0:
|
||||||
resolution: {integrity: sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==}
|
resolution: {integrity: sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==}
|
||||||
|
|
||||||
|
tiny-warning@1.0.3:
|
||||||
|
resolution: {integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==}
|
||||||
|
|
||||||
tinybench@2.9.0:
|
tinybench@2.9.0:
|
||||||
resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==}
|
resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==}
|
||||||
|
|
||||||
@@ -2571,6 +2795,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==}
|
resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==}
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
|
|
||||||
|
type@2.7.3:
|
||||||
|
resolution: {integrity: sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==}
|
||||||
|
|
||||||
typescript@5.4.5:
|
typescript@5.4.5:
|
||||||
resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==}
|
resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==}
|
||||||
engines: {node: '>=14.17'}
|
engines: {node: '>=14.17'}
|
||||||
@@ -2849,6 +3076,9 @@ packages:
|
|||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
|
wildcard@1.1.2:
|
||||||
|
resolution: {integrity: sha512-DXukZJxpHA8LuotRwL0pP1+rS6CS7FF2qStDDE1C7DDg2rLud2PXRMuEDYIPhgEezwnlHNL4c+N6MfMTjCGTng==}
|
||||||
|
|
||||||
word-wrap@1.2.5:
|
word-wrap@1.2.5:
|
||||||
resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==}
|
resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
@@ -3557,12 +3787,16 @@ snapshots:
|
|||||||
'@tiptap/pm': 2.8.0
|
'@tiptap/pm': 2.8.0
|
||||||
vue: 3.5.8(typescript@5.4.5)
|
vue: 3.5.8(typescript@5.4.5)
|
||||||
|
|
||||||
|
'@transloadit/prettier-bytes@0.0.7': {}
|
||||||
|
|
||||||
'@tsconfig/node20@20.1.4': {}
|
'@tsconfig/node20@20.1.4': {}
|
||||||
|
|
||||||
'@types/estree@1.0.5': {}
|
'@types/estree@1.0.5': {}
|
||||||
|
|
||||||
'@types/estree@1.0.6': {}
|
'@types/estree@1.0.6': {}
|
||||||
|
|
||||||
|
'@types/event-emitter@0.3.5': {}
|
||||||
|
|
||||||
'@types/jsdom@21.1.7':
|
'@types/jsdom@21.1.7':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/node': 20.16.5
|
'@types/node': 20.16.5
|
||||||
@@ -3675,6 +3909,35 @@ snapshots:
|
|||||||
|
|
||||||
'@ungap/structured-clone@1.2.0': {}
|
'@ungap/structured-clone@1.2.0': {}
|
||||||
|
|
||||||
|
'@uppy/companion-client@2.2.2':
|
||||||
|
dependencies:
|
||||||
|
'@uppy/utils': 4.1.3
|
||||||
|
namespace-emitter: 2.0.1
|
||||||
|
|
||||||
|
'@uppy/core@2.3.4':
|
||||||
|
dependencies:
|
||||||
|
'@transloadit/prettier-bytes': 0.0.7
|
||||||
|
'@uppy/store-default': 2.1.1
|
||||||
|
'@uppy/utils': 4.1.3
|
||||||
|
lodash.throttle: 4.1.1
|
||||||
|
mime-match: 1.0.2
|
||||||
|
namespace-emitter: 2.0.1
|
||||||
|
nanoid: 3.3.7
|
||||||
|
preact: 10.24.3
|
||||||
|
|
||||||
|
'@uppy/store-default@2.1.1': {}
|
||||||
|
|
||||||
|
'@uppy/utils@4.1.3':
|
||||||
|
dependencies:
|
||||||
|
lodash.throttle: 4.1.1
|
||||||
|
|
||||||
|
'@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4)':
|
||||||
|
dependencies:
|
||||||
|
'@uppy/companion-client': 2.2.2
|
||||||
|
'@uppy/core': 2.3.4
|
||||||
|
'@uppy/utils': 4.1.3
|
||||||
|
nanoid: 3.3.7
|
||||||
|
|
||||||
'@vitejs/plugin-vue@5.1.4(vite@5.4.7(@types/node@20.16.5))(vue@3.5.8(typescript@5.4.5))':
|
'@vitejs/plugin-vue@5.1.4(vite@5.4.7(@types/node@20.16.5))(vue@3.5.8(typescript@5.4.5))':
|
||||||
dependencies:
|
dependencies:
|
||||||
vite: 5.4.7(@types/node@20.16.5)
|
vite: 5.4.7(@types/node@20.16.5)
|
||||||
@@ -3879,6 +4142,114 @@ snapshots:
|
|||||||
|
|
||||||
'@vue/tsconfig@0.5.1': {}
|
'@vue/tsconfig@0.5.1': {}
|
||||||
|
|
||||||
|
'@wangeditor/basic-modules@1.1.7(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(lodash.throttle@4.1.1)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)':
|
||||||
|
dependencies:
|
||||||
|
'@wangeditor/core': 1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)
|
||||||
|
dom7: 3.0.0
|
||||||
|
is-url: 1.2.4
|
||||||
|
lodash.throttle: 4.1.1
|
||||||
|
nanoid: 3.3.7
|
||||||
|
slate: 0.72.8
|
||||||
|
snabbdom: 3.6.2
|
||||||
|
|
||||||
|
'@wangeditor/code-highlight@1.0.3(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(slate@0.72.8)(snabbdom@3.6.2)':
|
||||||
|
dependencies:
|
||||||
|
'@wangeditor/core': 1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)
|
||||||
|
dom7: 3.0.0
|
||||||
|
prismjs: 1.29.0
|
||||||
|
slate: 0.72.8
|
||||||
|
snabbdom: 3.6.2
|
||||||
|
|
||||||
|
'@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)':
|
||||||
|
dependencies:
|
||||||
|
'@types/event-emitter': 0.3.5
|
||||||
|
'@uppy/core': 2.3.4
|
||||||
|
'@uppy/xhr-upload': 2.1.3(@uppy/core@2.3.4)
|
||||||
|
dom7: 3.0.0
|
||||||
|
event-emitter: 0.3.5
|
||||||
|
html-void-elements: 2.0.1
|
||||||
|
i18next: 20.6.1
|
||||||
|
is-hotkey: 0.2.0
|
||||||
|
lodash.camelcase: 4.3.0
|
||||||
|
lodash.clonedeep: 4.5.0
|
||||||
|
lodash.debounce: 4.0.8
|
||||||
|
lodash.foreach: 4.5.0
|
||||||
|
lodash.isequal: 4.5.0
|
||||||
|
lodash.throttle: 4.1.1
|
||||||
|
lodash.toarray: 4.4.0
|
||||||
|
nanoid: 3.3.7
|
||||||
|
scroll-into-view-if-needed: 2.2.31
|
||||||
|
slate: 0.72.8
|
||||||
|
slate-history: 0.66.0(slate@0.72.8)
|
||||||
|
snabbdom: 3.6.2
|
||||||
|
|
||||||
|
'@wangeditor/editor-for-vue@5.1.12(@wangeditor/editor@5.1.23)(vue@3.5.8(typescript@5.4.5))':
|
||||||
|
dependencies:
|
||||||
|
'@wangeditor/editor': 5.1.23
|
||||||
|
vue: 3.5.8(typescript@5.4.5)
|
||||||
|
|
||||||
|
'@wangeditor/editor@5.1.23':
|
||||||
|
dependencies:
|
||||||
|
'@uppy/core': 2.3.4
|
||||||
|
'@uppy/xhr-upload': 2.1.3(@uppy/core@2.3.4)
|
||||||
|
'@wangeditor/basic-modules': 1.1.7(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(lodash.throttle@4.1.1)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)
|
||||||
|
'@wangeditor/code-highlight': 1.0.3(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(slate@0.72.8)(snabbdom@3.6.2)
|
||||||
|
'@wangeditor/core': 1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)
|
||||||
|
'@wangeditor/list-module': 1.0.5(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(slate@0.72.8)(snabbdom@3.6.2)
|
||||||
|
'@wangeditor/table-module': 1.1.4(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)
|
||||||
|
'@wangeditor/upload-image-module': 1.0.2(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(@wangeditor/basic-modules@1.1.7(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(lodash.throttle@4.1.1)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(lodash.foreach@4.5.0)(slate@0.72.8)(snabbdom@3.6.2)
|
||||||
|
'@wangeditor/video-module': 1.1.4(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)
|
||||||
|
dom7: 3.0.0
|
||||||
|
is-hotkey: 0.2.0
|
||||||
|
lodash.camelcase: 4.3.0
|
||||||
|
lodash.clonedeep: 4.5.0
|
||||||
|
lodash.debounce: 4.0.8
|
||||||
|
lodash.foreach: 4.5.0
|
||||||
|
lodash.isequal: 4.5.0
|
||||||
|
lodash.throttle: 4.1.1
|
||||||
|
lodash.toarray: 4.4.0
|
||||||
|
nanoid: 3.3.7
|
||||||
|
slate: 0.72.8
|
||||||
|
snabbdom: 3.6.2
|
||||||
|
|
||||||
|
'@wangeditor/list-module@1.0.5(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(slate@0.72.8)(snabbdom@3.6.2)':
|
||||||
|
dependencies:
|
||||||
|
'@wangeditor/core': 1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)
|
||||||
|
dom7: 3.0.0
|
||||||
|
slate: 0.72.8
|
||||||
|
snabbdom: 3.6.2
|
||||||
|
|
||||||
|
'@wangeditor/table-module@1.1.4(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)':
|
||||||
|
dependencies:
|
||||||
|
'@wangeditor/core': 1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)
|
||||||
|
dom7: 3.0.0
|
||||||
|
lodash.isequal: 4.5.0
|
||||||
|
lodash.throttle: 4.1.1
|
||||||
|
nanoid: 3.3.7
|
||||||
|
slate: 0.72.8
|
||||||
|
snabbdom: 3.6.2
|
||||||
|
|
||||||
|
'@wangeditor/upload-image-module@1.0.2(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(@wangeditor/basic-modules@1.1.7(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(lodash.throttle@4.1.1)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(lodash.foreach@4.5.0)(slate@0.72.8)(snabbdom@3.6.2)':
|
||||||
|
dependencies:
|
||||||
|
'@uppy/core': 2.3.4
|
||||||
|
'@uppy/xhr-upload': 2.1.3(@uppy/core@2.3.4)
|
||||||
|
'@wangeditor/basic-modules': 1.1.7(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(lodash.throttle@4.1.1)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)
|
||||||
|
'@wangeditor/core': 1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)
|
||||||
|
dom7: 3.0.0
|
||||||
|
lodash.foreach: 4.5.0
|
||||||
|
slate: 0.72.8
|
||||||
|
snabbdom: 3.6.2
|
||||||
|
|
||||||
|
'@wangeditor/video-module@1.1.4(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(@wangeditor/core@1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2))(dom7@3.0.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)':
|
||||||
|
dependencies:
|
||||||
|
'@uppy/core': 2.3.4
|
||||||
|
'@uppy/xhr-upload': 2.1.3(@uppy/core@2.3.4)
|
||||||
|
'@wangeditor/core': 1.1.19(@uppy/core@2.3.4)(@uppy/xhr-upload@2.1.3(@uppy/core@2.3.4))(dom7@3.0.0)(is-hotkey@0.2.0)(lodash.camelcase@4.3.0)(lodash.clonedeep@4.5.0)(lodash.debounce@4.0.8)(lodash.foreach@4.5.0)(lodash.isequal@4.5.0)(lodash.throttle@4.1.1)(lodash.toarray@4.4.0)(nanoid@3.3.7)(slate@0.72.8)(snabbdom@3.6.2)
|
||||||
|
dom7: 3.0.0
|
||||||
|
nanoid: 3.3.7
|
||||||
|
slate: 0.72.8
|
||||||
|
snabbdom: 3.6.2
|
||||||
|
|
||||||
abbrev@2.0.0: {}
|
abbrev@2.0.0: {}
|
||||||
|
|
||||||
acorn-jsx@5.3.2(acorn@8.12.1):
|
acorn-jsx@5.3.2(acorn@8.12.1):
|
||||||
@@ -4088,6 +4459,8 @@ snapshots:
|
|||||||
|
|
||||||
compatx@0.1.8: {}
|
compatx@0.1.8: {}
|
||||||
|
|
||||||
|
compute-scroll-into-view@1.0.20: {}
|
||||||
|
|
||||||
computeds@0.0.1: {}
|
computeds@0.0.1: {}
|
||||||
|
|
||||||
concat-map@0.0.1: {}
|
concat-map@0.0.1: {}
|
||||||
@@ -4132,6 +4505,11 @@ snapshots:
|
|||||||
|
|
||||||
csstype@3.1.3: {}
|
csstype@3.1.3: {}
|
||||||
|
|
||||||
|
d@1.0.2:
|
||||||
|
dependencies:
|
||||||
|
es5-ext: 0.10.64
|
||||||
|
type: 2.7.3
|
||||||
|
|
||||||
data-urls@5.0.0:
|
data-urls@5.0.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
whatwg-mimetype: 4.0.0
|
whatwg-mimetype: 4.0.0
|
||||||
@@ -4190,6 +4568,10 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
esutils: 2.0.3
|
esutils: 2.0.3
|
||||||
|
|
||||||
|
dom7@3.0.0:
|
||||||
|
dependencies:
|
||||||
|
ssr-window: 3.0.0
|
||||||
|
|
||||||
dotenv@16.4.5: {}
|
dotenv@16.4.5: {}
|
||||||
|
|
||||||
eastasianwidth@0.2.0: {}
|
eastasianwidth@0.2.0: {}
|
||||||
@@ -4215,6 +4597,24 @@ snapshots:
|
|||||||
|
|
||||||
error-stack-parser-es@0.1.5: {}
|
error-stack-parser-es@0.1.5: {}
|
||||||
|
|
||||||
|
es5-ext@0.10.64:
|
||||||
|
dependencies:
|
||||||
|
es6-iterator: 2.0.3
|
||||||
|
es6-symbol: 3.1.4
|
||||||
|
esniff: 2.0.1
|
||||||
|
next-tick: 1.1.0
|
||||||
|
|
||||||
|
es6-iterator@2.0.3:
|
||||||
|
dependencies:
|
||||||
|
d: 1.0.2
|
||||||
|
es5-ext: 0.10.64
|
||||||
|
es6-symbol: 3.1.4
|
||||||
|
|
||||||
|
es6-symbol@3.1.4:
|
||||||
|
dependencies:
|
||||||
|
d: 1.0.2
|
||||||
|
ext: 1.7.0
|
||||||
|
|
||||||
esbuild@0.21.5:
|
esbuild@0.21.5:
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@esbuild/aix-ppc64': 0.21.5
|
'@esbuild/aix-ppc64': 0.21.5
|
||||||
@@ -4328,6 +4728,13 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
|
esniff@2.0.1:
|
||||||
|
dependencies:
|
||||||
|
d: 1.0.2
|
||||||
|
es5-ext: 0.10.64
|
||||||
|
event-emitter: 0.3.5
|
||||||
|
type: 2.7.3
|
||||||
|
|
||||||
espree@9.6.1:
|
espree@9.6.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
acorn: 8.12.1
|
acorn: 8.12.1
|
||||||
@@ -4352,6 +4759,11 @@ snapshots:
|
|||||||
|
|
||||||
esutils@2.0.3: {}
|
esutils@2.0.3: {}
|
||||||
|
|
||||||
|
event-emitter@0.3.5:
|
||||||
|
dependencies:
|
||||||
|
d: 1.0.2
|
||||||
|
es5-ext: 0.10.64
|
||||||
|
|
||||||
execa@8.0.1:
|
execa@8.0.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
cross-spawn: 7.0.3
|
cross-spawn: 7.0.3
|
||||||
@@ -4364,6 +4776,10 @@ snapshots:
|
|||||||
signal-exit: 4.1.0
|
signal-exit: 4.1.0
|
||||||
strip-final-newline: 3.0.0
|
strip-final-newline: 3.0.0
|
||||||
|
|
||||||
|
ext@1.7.0:
|
||||||
|
dependencies:
|
||||||
|
type: 2.7.3
|
||||||
|
|
||||||
fast-deep-equal@3.1.3: {}
|
fast-deep-equal@3.1.3: {}
|
||||||
|
|
||||||
fast-diff@1.3.0: {}
|
fast-diff@1.3.0: {}
|
||||||
@@ -4544,6 +4960,8 @@ snapshots:
|
|||||||
|
|
||||||
html-tags@3.3.1: {}
|
html-tags@3.3.1: {}
|
||||||
|
|
||||||
|
html-void-elements@2.0.1: {}
|
||||||
|
|
||||||
http-proxy-agent@7.0.2:
|
http-proxy-agent@7.0.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
agent-base: 7.1.1
|
agent-base: 7.1.1
|
||||||
@@ -4560,12 +4978,18 @@ snapshots:
|
|||||||
|
|
||||||
human-signals@5.0.0: {}
|
human-signals@5.0.0: {}
|
||||||
|
|
||||||
|
i18next@20.6.1:
|
||||||
|
dependencies:
|
||||||
|
'@babel/runtime': 7.25.6
|
||||||
|
|
||||||
iconv-lite@0.6.3:
|
iconv-lite@0.6.3:
|
||||||
dependencies:
|
dependencies:
|
||||||
safer-buffer: 2.1.2
|
safer-buffer: 2.1.2
|
||||||
|
|
||||||
ignore@5.3.2: {}
|
ignore@5.3.2: {}
|
||||||
|
|
||||||
|
immer@9.0.21: {}
|
||||||
|
|
||||||
import-fresh@3.3.0:
|
import-fresh@3.3.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
parent-module: 1.0.1
|
parent-module: 1.0.1
|
||||||
@@ -4600,6 +5024,8 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
is-extglob: 2.1.1
|
is-extglob: 2.1.1
|
||||||
|
|
||||||
|
is-hotkey@0.2.0: {}
|
||||||
|
|
||||||
is-inside-container@1.0.0:
|
is-inside-container@1.0.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
is-docker: 3.0.0
|
is-docker: 3.0.0
|
||||||
@@ -4608,10 +5034,14 @@ snapshots:
|
|||||||
|
|
||||||
is-path-inside@3.0.3: {}
|
is-path-inside@3.0.3: {}
|
||||||
|
|
||||||
|
is-plain-object@5.0.0: {}
|
||||||
|
|
||||||
is-potential-custom-element-name@1.0.1: {}
|
is-potential-custom-element-name@1.0.1: {}
|
||||||
|
|
||||||
is-stream@3.0.0: {}
|
is-stream@3.0.0: {}
|
||||||
|
|
||||||
|
is-url@1.2.4: {}
|
||||||
|
|
||||||
is-what@4.1.16: {}
|
is-what@4.1.16: {}
|
||||||
|
|
||||||
is-wsl@3.1.0:
|
is-wsl@3.1.0:
|
||||||
@@ -4728,12 +5158,26 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
p-locate: 5.0.0
|
p-locate: 5.0.0
|
||||||
|
|
||||||
|
lodash.camelcase@4.3.0: {}
|
||||||
|
|
||||||
lodash.castarray@4.4.0: {}
|
lodash.castarray@4.4.0: {}
|
||||||
|
|
||||||
|
lodash.clonedeep@4.5.0: {}
|
||||||
|
|
||||||
|
lodash.debounce@4.0.8: {}
|
||||||
|
|
||||||
|
lodash.foreach@4.5.0: {}
|
||||||
|
|
||||||
|
lodash.isequal@4.5.0: {}
|
||||||
|
|
||||||
lodash.isplainobject@4.0.6: {}
|
lodash.isplainobject@4.0.6: {}
|
||||||
|
|
||||||
lodash.merge@4.6.2: {}
|
lodash.merge@4.6.2: {}
|
||||||
|
|
||||||
|
lodash.throttle@4.1.1: {}
|
||||||
|
|
||||||
|
lodash.toarray@4.4.0: {}
|
||||||
|
|
||||||
lodash@4.17.21: {}
|
lodash@4.17.21: {}
|
||||||
|
|
||||||
loupe@2.3.7:
|
loupe@2.3.7:
|
||||||
@@ -4774,6 +5218,10 @@ snapshots:
|
|||||||
|
|
||||||
mime-db@1.52.0: {}
|
mime-db@1.52.0: {}
|
||||||
|
|
||||||
|
mime-match@1.0.2:
|
||||||
|
dependencies:
|
||||||
|
wildcard: 1.1.2
|
||||||
|
|
||||||
mime-types@2.1.35:
|
mime-types@2.1.35:
|
||||||
dependencies:
|
dependencies:
|
||||||
mime-db: 1.52.0
|
mime-db: 1.52.0
|
||||||
@@ -4836,10 +5284,14 @@ snapshots:
|
|||||||
object-assign: 4.1.1
|
object-assign: 4.1.1
|
||||||
thenify-all: 1.6.0
|
thenify-all: 1.6.0
|
||||||
|
|
||||||
|
namespace-emitter@2.0.1: {}
|
||||||
|
|
||||||
nanoid@3.3.7: {}
|
nanoid@3.3.7: {}
|
||||||
|
|
||||||
natural-compare@1.4.0: {}
|
natural-compare@1.4.0: {}
|
||||||
|
|
||||||
|
next-tick@1.1.0: {}
|
||||||
|
|
||||||
node-fetch-native@1.6.4: {}
|
node-fetch-native@1.6.4: {}
|
||||||
|
|
||||||
node-releases@2.0.18: {}
|
node-releases@2.0.18: {}
|
||||||
@@ -5052,6 +5504,8 @@ snapshots:
|
|||||||
picocolors: 1.1.0
|
picocolors: 1.1.0
|
||||||
source-map-js: 1.2.1
|
source-map-js: 1.2.1
|
||||||
|
|
||||||
|
preact@10.24.3: {}
|
||||||
|
|
||||||
prelude-ls@1.2.1: {}
|
prelude-ls@1.2.1: {}
|
||||||
|
|
||||||
prettier-linter-helpers@1.0.0:
|
prettier-linter-helpers@1.0.0:
|
||||||
@@ -5066,6 +5520,8 @@ snapshots:
|
|||||||
ansi-styles: 5.2.0
|
ansi-styles: 5.2.0
|
||||||
react-is: 18.3.1
|
react-is: 18.3.1
|
||||||
|
|
||||||
|
prismjs@1.29.0: {}
|
||||||
|
|
||||||
prosemirror-changeset@2.2.1:
|
prosemirror-changeset@2.2.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
prosemirror-transform: 1.10.0
|
prosemirror-transform: 1.10.0
|
||||||
@@ -5261,6 +5717,10 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
xmlchars: 2.2.0
|
xmlchars: 2.2.0
|
||||||
|
|
||||||
|
scroll-into-view-if-needed@2.2.31:
|
||||||
|
dependencies:
|
||||||
|
compute-scroll-into-view: 1.0.20
|
||||||
|
|
||||||
scule@1.3.0: {}
|
scule@1.3.0: {}
|
||||||
|
|
||||||
select@1.1.2: {}
|
select@1.1.2: {}
|
||||||
@@ -5291,12 +5751,27 @@ snapshots:
|
|||||||
|
|
||||||
slash@5.1.0: {}
|
slash@5.1.0: {}
|
||||||
|
|
||||||
|
slate-history@0.66.0(slate@0.72.8):
|
||||||
|
dependencies:
|
||||||
|
is-plain-object: 5.0.0
|
||||||
|
slate: 0.72.8
|
||||||
|
|
||||||
|
slate@0.72.8:
|
||||||
|
dependencies:
|
||||||
|
immer: 9.0.21
|
||||||
|
is-plain-object: 5.0.0
|
||||||
|
tiny-warning: 1.0.3
|
||||||
|
|
||||||
|
snabbdom@3.6.2: {}
|
||||||
|
|
||||||
sortablejs@1.15.3: {}
|
sortablejs@1.15.3: {}
|
||||||
|
|
||||||
source-map-js@1.2.1: {}
|
source-map-js@1.2.1: {}
|
||||||
|
|
||||||
speakingurl@14.0.1: {}
|
speakingurl@14.0.1: {}
|
||||||
|
|
||||||
|
ssr-window@3.0.0: {}
|
||||||
|
|
||||||
stackback@0.0.2: {}
|
stackback@0.0.2: {}
|
||||||
|
|
||||||
statuses@1.5.0: {}
|
statuses@1.5.0: {}
|
||||||
@@ -5434,6 +5909,8 @@ snapshots:
|
|||||||
|
|
||||||
tiny-emitter@2.1.0: {}
|
tiny-emitter@2.1.0: {}
|
||||||
|
|
||||||
|
tiny-warning@1.0.3: {}
|
||||||
|
|
||||||
tinybench@2.9.0: {}
|
tinybench@2.9.0: {}
|
||||||
|
|
||||||
tinycolor2@1.6.0: {}
|
tinycolor2@1.6.0: {}
|
||||||
@@ -5481,6 +5958,8 @@ snapshots:
|
|||||||
|
|
||||||
type-fest@0.20.2: {}
|
type-fest@0.20.2: {}
|
||||||
|
|
||||||
|
type@2.7.3: {}
|
||||||
|
|
||||||
typescript@5.4.5: {}
|
typescript@5.4.5: {}
|
||||||
|
|
||||||
uc.micro@2.1.0: {}
|
uc.micro@2.1.0: {}
|
||||||
@@ -5810,6 +6289,8 @@ snapshots:
|
|||||||
siginfo: 2.0.0
|
siginfo: 2.0.0
|
||||||
stackback: 0.0.2
|
stackback: 0.0.2
|
||||||
|
|
||||||
|
wildcard@1.1.2: {}
|
||||||
|
|
||||||
word-wrap@1.2.5: {}
|
word-wrap@1.2.5: {}
|
||||||
|
|
||||||
wrap-ansi@7.0.0:
|
wrap-ansi@7.0.0:
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
import httpClient from '@/api/httpClient'
|
||||||
|
import type { PageResult } from '@/model/base'
|
||||||
|
import type { Article,ArticleSearchFilter,CreateArticleRequest } from '@/model/article'
|
||||||
|
|
||||||
|
export const searchArticlesRequest = (articleFilterParam:ArticleSearchFilter ) => {
|
||||||
|
return httpClient.get<PageResult<Article>>('/articles',articleFilterParam)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const createArticlesRequest = (article: CreateArticleRequest) => {
|
||||||
|
return httpClient.post<Article>('/articles',article)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const deleteArticlesRequest = (id:string) => {
|
||||||
|
return httpClient.delete(`/articles/${id}`,)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const searchArticlesByIdRequest = (id: string) => {
|
||||||
|
return httpClient.get<Article>(`/articles/${id}`)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const updateArticlesByIdRequest = (id: string,article:CreateArticleRequest) => {
|
||||||
|
return httpClient.put<Article>(`/articles/${id}`,article)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const publishArticlesByIdRequest = (id: string,) => {
|
||||||
|
return httpClient.put<Article>(`/articles/${id}/publish`,)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const closeArticlesByIdRequest = (id: string,) => {
|
||||||
|
return httpClient.put<Article>(`/articles/${id}/close`,)
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
import httpClient from './httpClient'
|
||||||
|
import type { CarousalResult, CreateCarousalsRequest, SearchCarousalsFilter } from '@/model/carousals'
|
||||||
|
import type { PageResult } from '@/model/base'
|
||||||
|
|
||||||
|
export const createCarousal = (createCarousalsRequest: CreateCarousalsRequest) => {
|
||||||
|
return httpClient.post<PageResult<CarousalResult>>('/carousals', createCarousalsRequest)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const searchCarousals = (searchCarousalsFilter: SearchCarousalsFilter) => {
|
||||||
|
return httpClient.get<PageResult<CarousalResult>>('/carousals',searchCarousalsFilter)
|
||||||
|
}
|
||||||
|
export const getCarousalItem = (id:string) => {
|
||||||
|
return httpClient.get<CarousalResult>(`/carousals/${id}`)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const updateCarousalItem = (id:number,updateCarousalsRequest: CreateCarousalsRequest) => {
|
||||||
|
return httpClient.put<CarousalResult>(`/carousals/${id}`,updateCarousalsRequest)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const deleteCarousal = (id:string | number) => {
|
||||||
|
return httpClient.delete(`/carousals/${id}`)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const activeCarousal = (id: string | number) => {
|
||||||
|
return httpClient.put<CarousalResult>(`/carousals/${id}/active`)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const inactiveCarousal = (id: string | number ) => {
|
||||||
|
return httpClient.put<CarousalResult>(`/carousals/${id}/inactive`)
|
||||||
|
}
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
import httpClient from '@/api/httpClient'
|
||||||
|
import type { PageResult } from '@/model/base'
|
||||||
|
import type { Category,CategorySearchFilter, } from '@/model/category'
|
||||||
|
|
||||||
|
export const searchCategories = (categoryFilterParam:CategorySearchFilter ) => {
|
||||||
|
return httpClient.get<PageResult<Category>>('/categories',categoryFilterParam)
|
||||||
|
}
|
||||||
|
export const searchCategoryListRequest = ( ) => {
|
||||||
|
return httpClient.get<Category[]>('/categories/list',)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const createCategoryRequest = (category: Pick<Category,'name'|'code'|'order'>) => {
|
||||||
|
return httpClient.post<Category>('/categories',category)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const deleteCategoryRequest = (id: string) => {
|
||||||
|
return httpClient.delete(`/categories/${id}`,)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const searchCategoryByIdRequest = (id: string) => {
|
||||||
|
return httpClient.get<Category>(`/categories/${id}`)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const updateCategoryByIdRequest = (id: string,category: Pick<Category,'name'|'code'|'order'>) => {
|
||||||
|
return httpClient.put<Category>(`/categories/${id}`,category)
|
||||||
|
}
|
||||||
+13
-9
@@ -1,5 +1,5 @@
|
|||||||
import axios, { type AxiosInstance } from 'axios'
|
import axios, { type AxiosInstance, } from 'axios'
|
||||||
import type { ErrorResponse } from '@/model/base'
|
import type { ErrorResponse,ErrorResponseList } from '@/model/base'
|
||||||
import { MessagePlugin } from 'tdesign-vue-next'
|
import { MessagePlugin } from 'tdesign-vue-next'
|
||||||
import { useAppStore } from '@/stores/app'
|
import { useAppStore } from '@/stores/app'
|
||||||
|
|
||||||
@@ -9,18 +9,22 @@ const client: AxiosInstance = axios.create({
|
|||||||
})
|
})
|
||||||
|
|
||||||
const handleError = (errorResponse: ErrorResponse) => {
|
const handleError = (errorResponse: ErrorResponse) => {
|
||||||
|
|
||||||
MessagePlugin.error(errorResponse.message)
|
MessagePlugin.error(errorResponse.message)
|
||||||
}
|
}
|
||||||
client.interceptors.response.use(
|
client.interceptors.response.use(
|
||||||
(response) => {
|
(response) => {
|
||||||
if (response.data.code) {
|
|
||||||
handleError(response.data)
|
|
||||||
return Promise.reject(response.data)
|
|
||||||
}
|
|
||||||
return response
|
return response
|
||||||
},
|
},
|
||||||
(error) => {
|
(error) => {
|
||||||
const errorResponse = error.response.data as ErrorResponse
|
let errorResponse: ErrorResponse;
|
||||||
|
if (Array.isArray(error.response.data)) {
|
||||||
|
const errorResponseList = error.response.data as ErrorResponseList;
|
||||||
|
errorResponse = errorResponseList[0];
|
||||||
|
} else {
|
||||||
|
// 否则,将其视为单个 ErrorResponse
|
||||||
|
errorResponse = error.response.data as ErrorResponse;
|
||||||
|
}
|
||||||
handleError(errorResponse)
|
handleError(errorResponse)
|
||||||
return Promise.reject(errorResponse)
|
return Promise.reject(errorResponse)
|
||||||
}
|
}
|
||||||
@@ -43,8 +47,8 @@ export default {
|
|||||||
const response = await client.post<T>(url, data)
|
const response = await client.post<T>(url, data)
|
||||||
return response.data as T
|
return response.data as T
|
||||||
},
|
},
|
||||||
delete: async (url: string) => {
|
delete: async (url: string,params?:any) => {
|
||||||
await client.delete(url)
|
await client.delete(url,{params})
|
||||||
},
|
},
|
||||||
put: async <T>(url: string, data: Record<string, any> = {}) => {
|
put: async <T>(url: string, data: Record<string, any> = {}) => {
|
||||||
const response = await client.put<T>(url, data)
|
const response = await client.put<T>(url, data)
|
||||||
|
|||||||
Vendored
+71
@@ -0,0 +1,71 @@
|
|||||||
|
/* eslint-disable */
|
||||||
|
/* prettier-ignore */
|
||||||
|
// @ts-nocheck
|
||||||
|
// noinspection JSUnusedGlobalSymbols
|
||||||
|
// Generated by unplugin-auto-import
|
||||||
|
// biome-ignore lint: disable
|
||||||
|
export {}
|
||||||
|
declare global {
|
||||||
|
const EffectScope: typeof import('vue')['EffectScope']
|
||||||
|
const computed: typeof import('vue')['computed']
|
||||||
|
const createApp: typeof import('vue')['createApp']
|
||||||
|
const customRef: typeof import('vue')['customRef']
|
||||||
|
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
|
||||||
|
const defineComponent: typeof import('vue')['defineComponent']
|
||||||
|
const effectScope: typeof import('vue')['effectScope']
|
||||||
|
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
|
||||||
|
const getCurrentScope: typeof import('vue')['getCurrentScope']
|
||||||
|
const h: typeof import('vue')['h']
|
||||||
|
const inject: typeof import('vue')['inject']
|
||||||
|
const isProxy: typeof import('vue')['isProxy']
|
||||||
|
const isReactive: typeof import('vue')['isReactive']
|
||||||
|
const isReadonly: typeof import('vue')['isReadonly']
|
||||||
|
const isRef: typeof import('vue')['isRef']
|
||||||
|
const markRaw: typeof import('vue')['markRaw']
|
||||||
|
const nextTick: typeof import('vue')['nextTick']
|
||||||
|
const onActivated: typeof import('vue')['onActivated']
|
||||||
|
const onBeforeMount: typeof import('vue')['onBeforeMount']
|
||||||
|
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
|
||||||
|
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
|
||||||
|
const onDeactivated: typeof import('vue')['onDeactivated']
|
||||||
|
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
|
||||||
|
const onMounted: typeof import('vue')['onMounted']
|
||||||
|
const onRenderTracked: typeof import('vue')['onRenderTracked']
|
||||||
|
const onRenderTriggered: typeof import('vue')['onRenderTriggered']
|
||||||
|
const onScopeDispose: typeof import('vue')['onScopeDispose']
|
||||||
|
const onServerPrefetch: typeof import('vue')['onServerPrefetch']
|
||||||
|
const onUnmounted: typeof import('vue')['onUnmounted']
|
||||||
|
const onUpdated: typeof import('vue')['onUpdated']
|
||||||
|
const onWatcherCleanup: typeof import('vue')['onWatcherCleanup']
|
||||||
|
const provide: typeof import('vue')['provide']
|
||||||
|
const reactive: typeof import('vue')['reactive']
|
||||||
|
const readonly: typeof import('vue')['readonly']
|
||||||
|
const ref: typeof import('vue')['ref']
|
||||||
|
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||||
|
const shallowReactive: typeof import('vue')['shallowReactive']
|
||||||
|
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
||||||
|
const shallowRef: typeof import('vue')['shallowRef']
|
||||||
|
const toRaw: typeof import('vue')['toRaw']
|
||||||
|
const toRef: typeof import('vue')['toRef']
|
||||||
|
const toRefs: typeof import('vue')['toRefs']
|
||||||
|
const toValue: typeof import('vue')['toValue']
|
||||||
|
const triggerRef: typeof import('vue')['triggerRef']
|
||||||
|
const unref: typeof import('vue')['unref']
|
||||||
|
const useAttrs: typeof import('vue')['useAttrs']
|
||||||
|
const useCssModule: typeof import('vue')['useCssModule']
|
||||||
|
const useCssVars: typeof import('vue')['useCssVars']
|
||||||
|
const useId: typeof import('vue')['useId']
|
||||||
|
const useModel: typeof import('vue')['useModel']
|
||||||
|
const useSlots: typeof import('vue')['useSlots']
|
||||||
|
const useTemplateRef: typeof import('vue')['useTemplateRef']
|
||||||
|
const watch: typeof import('vue')['watch']
|
||||||
|
const watchEffect: typeof import('vue')['watchEffect']
|
||||||
|
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
||||||
|
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
||||||
|
}
|
||||||
|
// for type re-export
|
||||||
|
declare global {
|
||||||
|
// @ts-ignore
|
||||||
|
export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
|
||||||
|
import('vue')
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
<template>
|
||||||
|
<TImageViewer :images="[url]">
|
||||||
|
<template #trigger="{ open }">
|
||||||
|
<div class="w-[100px] h-[100px] relative flex justify-center items-center rounded overflow-hidden">
|
||||||
|
<img alt="test" :src="url" class="w-full h-full object-contain" />
|
||||||
|
<div class="transition-all hover:opacity-100 opacity-0 w-full h-full absolute top-0 left-0 bg-[#00000099] text-white flex items-center justify-center" @click="open">
|
||||||
|
<span><BrowseIcon size="1.4em" /> 预览</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</TImageViewer>
|
||||||
|
</template>
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
import { BrowseIcon } from 'tdesign-icons-vue-next'
|
||||||
|
|
||||||
|
defineProps<{
|
||||||
|
url: string,
|
||||||
|
}>()
|
||||||
|
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,89 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
import { MessagePlugin, type UploadProps } from 'tdesign-vue-next'
|
||||||
|
import { ref, watch } from 'vue'
|
||||||
|
import { useAppStore } from '@/stores/app'
|
||||||
|
const imageViewerProps = ref<UploadProps['imageViewerProps']>({
|
||||||
|
closeOnEscKeydown: false,
|
||||||
|
});
|
||||||
|
const sizeLimit = ref<UploadProps['sizeLimit']>({
|
||||||
|
size: 2,
|
||||||
|
unit: 'MB',
|
||||||
|
});
|
||||||
|
const file1 = ref<UploadProps['value']>([]);
|
||||||
|
const disabled = ref<boolean>(false);
|
||||||
|
const autoUpload = ref<boolean>(true);
|
||||||
|
const showImageFileName = ref<boolean>(true);
|
||||||
|
const uploadAllFilesInOneRequest = ref<boolean>(false);
|
||||||
|
const handleFail: UploadProps['onFail'] = ({ file }) => {
|
||||||
|
MessagePlugin.error(`文件 ${file.name} 上传失败`);
|
||||||
|
};
|
||||||
|
const handleSuccess: UploadProps['onSuccess'] = ({ file }) => {
|
||||||
|
if(file?.url){
|
||||||
|
console.log(file1.value,'file1')
|
||||||
|
emits('on-success',file.url)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const appStore = useAppStore()
|
||||||
|
|
||||||
|
const uploadHeaders = ref<UploadProps['headers']>({
|
||||||
|
Authorization: `Bearer ${appStore.token}`
|
||||||
|
})
|
||||||
|
const props = defineProps({
|
||||||
|
imageUrl:{
|
||||||
|
type:Object,
|
||||||
|
default:() => {
|
||||||
|
return { url: '' }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
const emits = defineEmits(['on-success'])
|
||||||
|
watch(() => props.imageUrl,(newVal) => {
|
||||||
|
if (!newVal) return
|
||||||
|
if (newVal.url !== '') {
|
||||||
|
file1.value = [{...newVal}]
|
||||||
|
} else {
|
||||||
|
file1.value = []
|
||||||
|
}
|
||||||
|
|
||||||
|
},{
|
||||||
|
deep:true,
|
||||||
|
immediate:true
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<t-upload
|
||||||
|
ref="uploadRef1"
|
||||||
|
v-model="file1"
|
||||||
|
:image-viewer-props="imageViewerProps"
|
||||||
|
:size-limit="sizeLimit"
|
||||||
|
action="/api/files/upload"
|
||||||
|
:headers="uploadHeaders"
|
||||||
|
theme="image"
|
||||||
|
tips="图片上传限制为2M"
|
||||||
|
accept="image/*"
|
||||||
|
:disabled="disabled"
|
||||||
|
:auto-upload="autoUpload"
|
||||||
|
:show-image-file-name="showImageFileName"
|
||||||
|
:upload-all-files-in-one-request="uploadAllFilesInOneRequest"
|
||||||
|
:locale="{
|
||||||
|
triggerUploadText: {
|
||||||
|
image: '请选择图片',
|
||||||
|
},
|
||||||
|
}"
|
||||||
|
@fail="handleFail"
|
||||||
|
@success="handleSuccess"
|
||||||
|
>
|
||||||
|
<!-- custom UI -->
|
||||||
|
<!-- <template #fileListDisplay="{ files }">
|
||||||
|
<div>{{ JSON.stringify(files) }}</div>
|
||||||
|
</template> -->
|
||||||
|
</t-upload>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -42,4 +42,9 @@ const slots = defineSlots<{
|
|||||||
</TCard>
|
</TCard>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped>
|
||||||
|
:deep(.t-card__body) {
|
||||||
|
flex: 1;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -15,9 +15,9 @@ export const useSearchable = <T extends BaseFilterRequest, D extends BaseModel>(
|
|||||||
loading.value = true
|
loading.value = true
|
||||||
const result = await api({...filter.value, page: pagination.page, size: pagination.size, ...defaultFilter})
|
const result = await api({...filter.value, page: pagination.page, size: pagination.size, ...defaultFilter})
|
||||||
data.value = result.data
|
data.value = result.data
|
||||||
pagination.page = result.paging.page
|
pagination.page = result.pagination.page
|
||||||
pagination.size = result.paging.size
|
pagination.size = result.pagination.size
|
||||||
pagination.total = result.paging.total
|
pagination.total = result.pagination.total
|
||||||
loading.value = false
|
loading.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
import type { AuditBaseModel,Paging } from '@/model/base'
|
||||||
|
import type { Category } from './category'
|
||||||
|
|
||||||
|
export enum ArticleStatus {
|
||||||
|
Draft = 'draft',
|
||||||
|
Published = 'published',
|
||||||
|
Closed = 'closed'
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface Article extends AuditBaseModel{
|
||||||
|
title: string
|
||||||
|
content:string
|
||||||
|
category: Category
|
||||||
|
status: ArticleStatus
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
export interface ArticleSearchFilter extends Partial<Paging>{
|
||||||
|
order?: string
|
||||||
|
title?: string
|
||||||
|
content?:string
|
||||||
|
categoryId?:string
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CreateArticleRequest{
|
||||||
|
categoryId:string
|
||||||
|
title: string
|
||||||
|
content: number
|
||||||
|
}
|
||||||
+4
-2
@@ -5,7 +5,7 @@ export interface ErrorResponse {
|
|||||||
message: string;
|
message: string;
|
||||||
}
|
}
|
||||||
export interface BaseModel {
|
export interface BaseModel {
|
||||||
id: number
|
id: string
|
||||||
createdTime: string
|
createdTime: string
|
||||||
updateTime: string
|
updateTime: string
|
||||||
}
|
}
|
||||||
@@ -25,6 +25,8 @@ export interface BaseFilterRequest extends Partial<Paging>{
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface PageResult<T> {
|
export interface PageResult<T> {
|
||||||
paging: Paging,
|
pagination: Paging,
|
||||||
data: T[]
|
data: T[]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface ErrorResponseList extends Array<ErrorResponse> {}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
import type { BaseModel } from '@/model/base'
|
||||||
|
|
||||||
|
export interface CreateCarousalsRequest {
|
||||||
|
imageUrl:string,
|
||||||
|
targetType:string,
|
||||||
|
targetUrl?:string,
|
||||||
|
targetId?:string
|
||||||
|
}
|
||||||
|
export interface SearchCarousalsFilter {
|
||||||
|
page:number,
|
||||||
|
size:number,
|
||||||
|
order?:[string]
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CarousalResult extends BaseModel,CreateCarousalsRequest{
|
||||||
|
status:string
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
import type { AuditBaseModel,Paging } from '@/model/base'
|
||||||
|
|
||||||
|
|
||||||
|
export interface Category extends AuditBaseModel{
|
||||||
|
name: string
|
||||||
|
code:string
|
||||||
|
order: number
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
export interface CategorySearchFilter extends Partial<Paging>{
|
||||||
|
order?: string
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
export interface UpdateCategoryRequest{
|
||||||
|
name: string
|
||||||
|
code:string
|
||||||
|
order: number
|
||||||
|
}
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
import type { BaseModel } from '@/model/base'
|
|
||||||
|
|
||||||
export interface Classify extends BaseModel{
|
|
||||||
numbering:string
|
|
||||||
name: string
|
|
||||||
sort: string
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -0,0 +1,178 @@
|
|||||||
|
<template>
|
||||||
|
<t-dialog
|
||||||
|
width="60%"
|
||||||
|
:header="header"
|
||||||
|
:confirmBtn="confirmBtn"
|
||||||
|
:closeOnOverlayClick="false"
|
||||||
|
@close="handleCloseDialog"
|
||||||
|
@confirm="saveArticleData"
|
||||||
|
>
|
||||||
|
<t-space direction="vertical" style="width: 100%">
|
||||||
|
<TForm ref="form" :data="articleData" :rules="rules" resetType="initial">
|
||||||
|
<TFormItem label="咨询标题:" name="title" help="名称长度大于2个汉字,小于120个汉字">
|
||||||
|
<t-input v-model.trim="articleData.title" clearable placeholder="请输入咨询标题" />
|
||||||
|
</TFormItem>
|
||||||
|
<TFormItem label="咨询分类:" name="categoryId">
|
||||||
|
<t-select-input
|
||||||
|
:value="articleData.categoryName"
|
||||||
|
placeholder="请选择咨询分类"
|
||||||
|
:popup-visible="popupVisible"
|
||||||
|
:popup-props="{ overlayInnerStyle: { padding: '6px' } }"
|
||||||
|
clearable
|
||||||
|
allow-input
|
||||||
|
@popup-visible-change="onPopupVisibleChange"
|
||||||
|
@clear="onClear"
|
||||||
|
@input-change="onInputChange"
|
||||||
|
>
|
||||||
|
<template #panel>
|
||||||
|
<ul class="flex flex-col gap-1 p-0">
|
||||||
|
<li
|
||||||
|
v-for="item in categoryList"
|
||||||
|
:key="item.id"
|
||||||
|
class="block rounded-sm cursor-pointer px-2 py-0.5 text-gray-900 transition-colors duration-200 whitespace-nowrap overflow-hidden text-ellipsis hover:bg-gray-200"
|
||||||
|
@click="() => onOptionClick({ id: item.id, value: item.name })"
|
||||||
|
>
|
||||||
|
{{ item.name }}
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</template>
|
||||||
|
<template #suffixIcon>
|
||||||
|
<chevron-down-icon />
|
||||||
|
</template>
|
||||||
|
</t-select-input>
|
||||||
|
</TFormItem>
|
||||||
|
<TFormItem label="内容:" name="content"> </TFormItem>
|
||||||
|
</TForm>
|
||||||
|
</t-space>
|
||||||
|
</t-dialog>
|
||||||
|
</template>
|
||||||
|
<script lang="ts" setup>
|
||||||
|
import type { Category } from '@/model/category'
|
||||||
|
import type { Article } from '@/model/article'
|
||||||
|
import { computed, ref, reactive, watch } from 'vue'
|
||||||
|
import type { FormInstanceFunctions, FormProps, SelectInputProps } from 'tdesign-vue-next'
|
||||||
|
import { MessagePlugin } from 'tdesign-vue-next'
|
||||||
|
import { ChevronDownIcon } from 'tdesign-icons-vue-next'
|
||||||
|
import { updateArticlesByIdRequest, createArticlesRequest } from '@/api/article'
|
||||||
|
const props = defineProps<{
|
||||||
|
isEdit?: Boolean | null
|
||||||
|
headerTitle?: String | null
|
||||||
|
article?: Article | {}
|
||||||
|
categoryList: Category[] | []
|
||||||
|
}>()
|
||||||
|
const formRef = ref<FormInstanceFunctions | null>(null)
|
||||||
|
const headerText = computed(() => `${props.isEdit ? '编辑' : '创建'}${props.headerTitle || ''}`)
|
||||||
|
const confirmBtnText = computed(() => (props.isEdit ? '保存' : '确定'))
|
||||||
|
const articleData: FormProps['data'] = reactive({ categoryName: '' })
|
||||||
|
|
||||||
|
const popupVisible = ref(false)
|
||||||
|
const onOptionClick = (item: { id: string; value: string }) => {
|
||||||
|
articleData.categoryName = item.value
|
||||||
|
articleData.categoryId = item.id
|
||||||
|
// 选中后立即关闭浮层
|
||||||
|
popupVisible.value = false
|
||||||
|
}
|
||||||
|
const onClear: SelectInputProps['onClear'] = () => {
|
||||||
|
articleData.categoryId = ''
|
||||||
|
articleData.categoryName = undefined
|
||||||
|
}
|
||||||
|
const onPopupVisibleChange: SelectInputProps['onPopupVisibleChange'] = (val) => {
|
||||||
|
popupVisible.value = val
|
||||||
|
}
|
||||||
|
const onInputChange: SelectInputProps['onInputChange'] = (val, context) => {
|
||||||
|
// 过滤功能
|
||||||
|
console.log(val, context)
|
||||||
|
}
|
||||||
|
const rules: FormProps['rules'] = {
|
||||||
|
name: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: '咨询标题不能为空',
|
||||||
|
type: 'error',
|
||||||
|
trigger: 'blur'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: '咨询标题不能为空',
|
||||||
|
type: 'error',
|
||||||
|
trigger: 'change'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
whitespace: true,
|
||||||
|
message: '咨询标题不能为空'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
min: 4,
|
||||||
|
message: '输入汉字长度应在2到120之间',
|
||||||
|
type: 'error',
|
||||||
|
trigger: 'blur'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
max: 240,
|
||||||
|
message: '输入汉字长度应在2到120之间',
|
||||||
|
type: 'error',
|
||||||
|
trigger: 'blur'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
code: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: '咨询分类不能为空',
|
||||||
|
type: 'error',
|
||||||
|
trigger: 'blur'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: '咨询分类不能为空',
|
||||||
|
type: 'error',
|
||||||
|
trigger: 'change'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
whitespace: true,
|
||||||
|
message: '咨询分类不能为空'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
content: [
|
||||||
|
{
|
||||||
|
max: 20000,
|
||||||
|
message: '内容不超过10000字',
|
||||||
|
type: 'error',
|
||||||
|
trigger: 'blur'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
watch(
|
||||||
|
() => props.article,
|
||||||
|
(newArticleData) => {
|
||||||
|
Object.assign(articleData, newArticleData)
|
||||||
|
},
|
||||||
|
{ deep: true }
|
||||||
|
)
|
||||||
|
const emit = defineEmits<{
|
||||||
|
success: [void]
|
||||||
|
onInputChange: [void]
|
||||||
|
}>()
|
||||||
|
const saveArticleData = async () => {
|
||||||
|
if (form.value) {
|
||||||
|
const valid = await form.value.validate()
|
||||||
|
if (valid && typeof valid === 'boolean') {
|
||||||
|
const { title, categoryId, content, id } = articleData
|
||||||
|
if (!props.isEdit) {
|
||||||
|
await createArticlesRequest({ title, categoryId, content })
|
||||||
|
} else {
|
||||||
|
await updateArticlesByIdRequest(id, { title, categoryId, content })
|
||||||
|
}
|
||||||
|
MessagePlugin.success(`${props.isEdit ? '编辑' : '创建'}咨询成功`)
|
||||||
|
emit('success')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const handleCloseDialog = () => {
|
||||||
|
// 数据&&规则校验结果重置
|
||||||
|
if (form.value) {
|
||||||
|
form.value.reset()
|
||||||
|
form.value.clearValidate()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@@ -0,0 +1,165 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
import { onMounted, ref, watch } from 'vue'
|
||||||
|
import type { Article, ArticleSearchFilter } from '@/model/article'
|
||||||
|
import RegularPage from '@/components/RegularPage.vue'
|
||||||
|
import {
|
||||||
|
searchArticlesRequest,
|
||||||
|
deleteArticlesRequest,
|
||||||
|
publishArticlesByIdRequest,
|
||||||
|
closeArticlesByIdRequest
|
||||||
|
} from '@/api/article'
|
||||||
|
import { searchCategoryListRequest } from '@/api/category'
|
||||||
|
import type { Category } from '@/model/category'
|
||||||
|
import type { BaseTableColumns } from 'tdesign-vue-next'
|
||||||
|
import { useSearchable } from '@/composables/useSearchable'
|
||||||
|
import ArticleDialog from '@/pages/article/components/ArticleDialog.vue'
|
||||||
|
import { MessagePlugin } from 'tdesign-vue-next'
|
||||||
|
const { data, loading, pagination, onPageChange, fetchData } = useSearchable<
|
||||||
|
ArticleSearchFilter,
|
||||||
|
Article
|
||||||
|
>(searchArticlesRequest)
|
||||||
|
const statusArticleListMap = {
|
||||||
|
draft: { label: '草稿', theme: 'default' },
|
||||||
|
published: { label: '已发布', theme: 'success' },
|
||||||
|
closed: { label: '已关闭', theme: 'danger' }
|
||||||
|
}
|
||||||
|
const columns: BaseTableColumns = [
|
||||||
|
{
|
||||||
|
title: '咨询标题',
|
||||||
|
colKey: 'title',
|
||||||
|
width: 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '分类',
|
||||||
|
colKey: 'categoryName',
|
||||||
|
width: 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '状态',
|
||||||
|
colKey: 'status',
|
||||||
|
width: 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '创建时间',
|
||||||
|
colKey: 'createdTime',
|
||||||
|
width: 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '操作',
|
||||||
|
colKey: 'operation',
|
||||||
|
width: 100
|
||||||
|
}
|
||||||
|
]
|
||||||
|
const articleDialogVisble = ref(false)
|
||||||
|
const isEdit = ref(false)
|
||||||
|
const currentTableData = ref<Article | {}>({})
|
||||||
|
const categoryList = ref<Category[]>([])
|
||||||
|
onMounted(fetchData)
|
||||||
|
watch(articleDialogVisble, (newValue) => {
|
||||||
|
if (newValue) {
|
||||||
|
searchCategoryList()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
const searchCategoryList = async () => {
|
||||||
|
try {
|
||||||
|
const res = await searchCategoryListRequest()
|
||||||
|
categoryList.value = res
|
||||||
|
} catch (error) {
|
||||||
|
categoryList.value = []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const editClick = (article: Article) => {
|
||||||
|
isEdit.value = true
|
||||||
|
currentTableData.value = article
|
||||||
|
articleDialogVisble.value = true
|
||||||
|
}
|
||||||
|
const handleArticleDialogSuccess = () => {
|
||||||
|
fetchData()
|
||||||
|
articleDialogVisble.value = false
|
||||||
|
}
|
||||||
|
const handleArticleDialogClosed = () => {
|
||||||
|
isEdit.value = false
|
||||||
|
currentTableData.value = {}
|
||||||
|
}
|
||||||
|
const toggleArticleStatus = async (article: Article) => {
|
||||||
|
if (article.status === 'published') {
|
||||||
|
await closeArticlesByIdRequest(article.id)
|
||||||
|
} else {
|
||||||
|
await publishArticlesByIdRequest(article.id)
|
||||||
|
}
|
||||||
|
fetchData()
|
||||||
|
MessagePlugin.success(`${article.status === 'published' ? '关闭' : '发布'}咨询成功`)
|
||||||
|
}
|
||||||
|
const deleteCategoryClick = async (article: Article) => {
|
||||||
|
await deleteArticlesRequest(article.id)
|
||||||
|
fetchData()
|
||||||
|
MessagePlugin.success('删除咨询成功')
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<RegularPage title="咨询管理">
|
||||||
|
<template #right-area>
|
||||||
|
<TButton @click="articleDialogVisble = true">创建咨询</TButton>
|
||||||
|
</template>
|
||||||
|
<TTable
|
||||||
|
class="w-full h-full"
|
||||||
|
row-key="id"
|
||||||
|
height="92%"
|
||||||
|
table-layout="auto"
|
||||||
|
:data="data"
|
||||||
|
:loading="loading"
|
||||||
|
:columns="columns"
|
||||||
|
cell-empty-content="-"
|
||||||
|
:paginationAffixedBottom="true"
|
||||||
|
:pagination="{
|
||||||
|
total: pagination.total,
|
||||||
|
current: pagination.page,
|
||||||
|
pageSize: pagination.size,
|
||||||
|
onChange: onPageChange
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<template #categoryName="{ row }">
|
||||||
|
{{ row.category.name }}
|
||||||
|
</template>
|
||||||
|
<template #status="{ row }">
|
||||||
|
<t-tag :theme="statusArticleListMap[row.status as keyof typeof statusArticleListMap].theme">
|
||||||
|
{{ statusArticleListMap[row.status as keyof typeof statusArticleListMap].label }}
|
||||||
|
</t-tag>
|
||||||
|
</template>
|
||||||
|
<template #operation="{ row }">
|
||||||
|
<TSpace :size="1">
|
||||||
|
<TButton variant="text" size="small" theme="primary" @click="editClick(row)"
|
||||||
|
>编辑</TButton
|
||||||
|
>
|
||||||
|
<TButton variant="text" size="small" theme="warning" @click="toggleArticleStatus(row)">{{
|
||||||
|
row.status === 'published' ? '关闭' : '发布'
|
||||||
|
}}</TButton>
|
||||||
|
<t-popconfirm
|
||||||
|
theme="default"
|
||||||
|
content="确认删除此项分类吗"
|
||||||
|
@confirm="deleteCategoryClick(row)"
|
||||||
|
>
|
||||||
|
<TButton variant="text" size="small" theme="danger">删除</TButton>
|
||||||
|
</t-popconfirm>
|
||||||
|
</TSpace>
|
||||||
|
</template>
|
||||||
|
</TTable>
|
||||||
|
<ArticleDialog
|
||||||
|
headerTitle="咨询"
|
||||||
|
:isEdit="isEdit"
|
||||||
|
:article="currentTableData"
|
||||||
|
:categoryList="categoryList"
|
||||||
|
v-model:visible="articleDialogVisble"
|
||||||
|
@closed="handleArticleDialogClosed"
|
||||||
|
@success="handleArticleDialogSuccess"
|
||||||
|
></ArticleDialog>
|
||||||
|
</RegularPage>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
:deep(.t-card__body) {
|
||||||
|
flex: 1;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,159 @@
|
|||||||
|
<template>
|
||||||
|
<TDialog
|
||||||
|
width="980px"
|
||||||
|
:header="headerText"
|
||||||
|
:confirmBtn="confirmBtnText"
|
||||||
|
:closeOnOverlayClick="false"
|
||||||
|
@close="handleCloseDialog"
|
||||||
|
@confirm="fetchSaveCarousalData"
|
||||||
|
>
|
||||||
|
<TForm v-if="carousalData" ref="formRef" :data="carousalData" :rules="rules" resetType="initial" label-width="100">
|
||||||
|
<TFormItem label="轮播图:" name="imageUrl">
|
||||||
|
<ImageUpload @on-success="handleSuccessImg" :image-url="imgUrl"/>
|
||||||
|
</TFormItem>
|
||||||
|
<TFormItem label="跳转类型:" name="targetType" >
|
||||||
|
<t-radio-group :default-value="carousalData.targetType" v-model="carousalData.targetType">
|
||||||
|
<t-radio-button v-for="(item,index) in typeOption" :key="index" :value="item.value">{{item.label}}</t-radio-button>
|
||||||
|
</t-radio-group>
|
||||||
|
</TFormItem>
|
||||||
|
<TFormItem label="跳转文章路径:" name="targetId" v-if="carousalData.targetType === 'article' ">
|
||||||
|
<t-input v-model.trim="carousalData.targetId" clearable placeholder="请输入文章id" />
|
||||||
|
</TFormItem>
|
||||||
|
<TFormItem label="跳转网址路径:" name="targetUrl" v-else-if="carousalData.targetType === 'url' ">
|
||||||
|
<t-input v-model.trim="carousalData.targetUrl" clearable placeholder="请输入网址路径" />
|
||||||
|
</TFormItem>
|
||||||
|
</TForm>
|
||||||
|
</TDialog>
|
||||||
|
</template>
|
||||||
|
<script lang="ts" setup>
|
||||||
|
import { computed, ref, reactive, watch } from 'vue'
|
||||||
|
import type { FormInstanceFunctions, FormProps } from 'tdesign-vue-next'
|
||||||
|
import ImageUpload from '@/components/ImageUpload.vue'
|
||||||
|
import { createCarousal, updateCarousalItem } from '@/api/carousal'
|
||||||
|
// Todo: 改为ts方式
|
||||||
|
const props = defineProps<{
|
||||||
|
isEdit?: Boolean | null
|
||||||
|
headerTitle?: String | null
|
||||||
|
carousal: {} | number
|
||||||
|
}>()
|
||||||
|
const emit = defineEmits<{
|
||||||
|
success: [string]
|
||||||
|
}>()
|
||||||
|
const formRef = ref<FormInstanceFunctions | null>(null)
|
||||||
|
const headerText = computed(() => `${props.isEdit ? '编辑' : '创建'}${props.headerTitle || ''}`)
|
||||||
|
const confirmBtnText = computed(() => (props.isEdit ? '保存' : '确定'))
|
||||||
|
const formType = computed(() => `${props.isEdit ? 'update' : 'add'}`)
|
||||||
|
|
||||||
|
const carousalData = ref<FormProps['data']>({
|
||||||
|
imageUrl: '',
|
||||||
|
targetType: 'article',
|
||||||
|
targetId: '',
|
||||||
|
targetUrl: '',
|
||||||
|
})
|
||||||
|
const imgUrl = ref({})
|
||||||
|
const rules = computed(() => {
|
||||||
|
const commonRules = {
|
||||||
|
imageUrl: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: '轮播图必须是上传',
|
||||||
|
type: 'error',
|
||||||
|
trigger: 'change',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
targetType: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: '请选择跳转类型',
|
||||||
|
type: 'error',
|
||||||
|
trigger: 'blur',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: '请选择跳转类型',
|
||||||
|
type: 'error',
|
||||||
|
trigger: 'change',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
};
|
||||||
|
return carousalData.value.targetType === 'article'
|
||||||
|
? {...commonRules, targetId: [{ required: true, message: '文章 id 不能为空', type: 'error', trigger: 'blur' }, { required: true, message: '文章 id 不能为空', type: 'error', trigger: 'change' }, { whitespace: true, message: '网址路径不能为空' }] }
|
||||||
|
: {...commonRules, targetUrl: [{ required: true, message: '网址路径不能为空', type: 'error', trigger: 'blur' }, { required: true, message: '网址路径不能为空', type: 'error', trigger: 'change' }, { whitespace: true, message: '网址路径不能为空' }] };
|
||||||
|
});
|
||||||
|
const handleSuccessImg = (res:string) => {
|
||||||
|
console.log(res,'图片地址')
|
||||||
|
carousalData.value.imageUrl = res
|
||||||
|
}
|
||||||
|
const typeOption = reactive([
|
||||||
|
{ value: 'article', label: '文章' },
|
||||||
|
{ value: 'url', label: '地址' },
|
||||||
|
])
|
||||||
|
const handleFormTypeData = () => {
|
||||||
|
if (carousalData.value.targetType === 'article') {
|
||||||
|
delete carousalData.value.targetUrl
|
||||||
|
} else if (carousalData.value.targetType === 'url') {
|
||||||
|
delete carousalData.value.targetId
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
watch(
|
||||||
|
() => props.carousal,
|
||||||
|
(newClassify) => {
|
||||||
|
carousalData.value = Object.assign({}, newClassify)
|
||||||
|
const carousalObj = Object.assign({},newClassify)
|
||||||
|
// imgUrl.value.url = carousalObj.imageUrl || ''
|
||||||
|
imgUrl.value = { url: carousalObj.imageUrl || '' }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
deep: true,
|
||||||
|
immediate: true
|
||||||
|
},
|
||||||
|
)
|
||||||
|
const fetchSaveCarousalData = async () => {
|
||||||
|
/* TODO: 保存分类数据 */
|
||||||
|
if (formRef.value) {
|
||||||
|
const valid = await formRef.value.validate()
|
||||||
|
// console.log(valid,'valid')
|
||||||
|
if (valid && typeof valid === 'boolean') {
|
||||||
|
/* TODO: 校验通过保存分类数据 */
|
||||||
|
handleFormTypeData()
|
||||||
|
// console.log(formType.value,'formType')
|
||||||
|
let res
|
||||||
|
|
||||||
|
switch (formType.value){
|
||||||
|
case 'create':
|
||||||
|
res = await createCarousal(carousalData.value)
|
||||||
|
emit('success')
|
||||||
|
break;
|
||||||
|
case 'update':
|
||||||
|
const fieldsToKeep = ["imageUrl", "targetType", "targetUrl", "targetId"];
|
||||||
|
const requestObj = {};
|
||||||
|
|
||||||
|
for (const field of fieldsToKeep) {
|
||||||
|
if (carousalData.value[field]!== null && carousalData.value[field]!== undefined) {
|
||||||
|
requestObj[field] = carousalData.value[field];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
handleFormTypeData()
|
||||||
|
res = await updateCarousalItem(carousalData.value.id,requestObj)
|
||||||
|
emit('success')
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
res = await createCarousal(carousalData.value)
|
||||||
|
emit('success')
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
// const createCarousalApi = createCarousal(carousalData.value)
|
||||||
|
// console.log(createCarousalApi,'createCarousalApi')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const handleCloseDialog = () => {
|
||||||
|
// 数据&&规则校验结果重置
|
||||||
|
if (formRef.value) {
|
||||||
|
formRef.value.reset()
|
||||||
|
formRef.value.clearValidate()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@@ -0,0 +1,130 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
import RegularPage from '@/components/RegularPage.vue'
|
||||||
|
import { onMounted, ref } from 'vue'
|
||||||
|
import type { BaseTableColumns } from 'tdesign-vue-next'
|
||||||
|
import CarousalDialog from '@/pages/carousal/components/CarousalDialog.vue'
|
||||||
|
import { activeCarousal, deleteCarousal, searchCarousals, inactiveCarousal } from '@/api/carousal'
|
||||||
|
import type { CarousalResult, SearchCarousalsFilter } from '@/model/carousals'
|
||||||
|
import ImagePreviewer from '@/components/ImagePreviewer.vue'
|
||||||
|
import { useSearchable } from '@/composables/useSearchable'
|
||||||
|
|
||||||
|
const columns: BaseTableColumns = [
|
||||||
|
{
|
||||||
|
title: 'ID',
|
||||||
|
colKey: 'id',
|
||||||
|
width: 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '轮播图',
|
||||||
|
colKey: 'imageUrl',
|
||||||
|
width: 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '显示状态',
|
||||||
|
colKey: 'status',
|
||||||
|
width: 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '操作',
|
||||||
|
colKey: 'operation',
|
||||||
|
width: 100
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
const { loading, data, pagination, fetchData, onPageChange } = useSearchable<CarousalResult, SearchCarousalsFilter>(searchCarousals)
|
||||||
|
onMounted(fetchData)
|
||||||
|
|
||||||
|
|
||||||
|
const carousalDialogVisible = ref<boolean>(false)
|
||||||
|
const isEdit = ref<boolean>(false)
|
||||||
|
const currentTableData = ref<CarousalResult | null>(null)
|
||||||
|
|
||||||
|
|
||||||
|
const handleEdit = (row: object): void => {
|
||||||
|
isEdit.value = true
|
||||||
|
currentTableData.value = Object.assign({}, row)
|
||||||
|
carousalDialogVisible.value = true
|
||||||
|
}
|
||||||
|
const handleShow = async (res: CarousalResult): Promise<void> => {
|
||||||
|
if (res.status === 'active') {
|
||||||
|
await inactiveCarousal(res.id)
|
||||||
|
} else {
|
||||||
|
await activeCarousal(res.id)
|
||||||
|
}
|
||||||
|
await fetchData()
|
||||||
|
}
|
||||||
|
const handleDelete = async (row: CarousalResult): Promise<void> => {
|
||||||
|
await deleteCarousal(row.id)
|
||||||
|
await fetchData()
|
||||||
|
}
|
||||||
|
const handleCreateCarousal = (): void => {
|
||||||
|
isEdit.value = false
|
||||||
|
carousalDialogVisible.value = true
|
||||||
|
currentTableData.value = {}
|
||||||
|
}
|
||||||
|
const handleSuccessDialog = async (): Promise<void> => {
|
||||||
|
await fetchData()
|
||||||
|
carousalDialogVisible.value = false
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<RegularPage title="轮播图管理">
|
||||||
|
<template #right-area>
|
||||||
|
<TButton @click="handleCreateCarousal">创建轮播图</TButton>
|
||||||
|
</template>
|
||||||
|
<TTable
|
||||||
|
class="w-full h-full"
|
||||||
|
row-key="id"
|
||||||
|
table-layout="auto"
|
||||||
|
height="92%"
|
||||||
|
:data="data"
|
||||||
|
:loading="loading"
|
||||||
|
:columns="columns"
|
||||||
|
cell-empty-content="-"
|
||||||
|
:paginationAffixedBottom="true"
|
||||||
|
:pagination="{
|
||||||
|
total: pagination.total,
|
||||||
|
current: pagination.page,
|
||||||
|
pageSize: pagination.size,
|
||||||
|
onChange: onPageChange
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<template #imageUrl="{ row }">
|
||||||
|
<ImagePreviewer :url="row.imageUrl"/>
|
||||||
|
</template>
|
||||||
|
<template #status="{ row }">
|
||||||
|
<TSpace>
|
||||||
|
<TTag :theme="row.status === 'active' ? 'success' : 'danger'" variant="light">{{
|
||||||
|
row.status === 'active' ? '显示中' : '已关闭'
|
||||||
|
}}</TTag>
|
||||||
|
</TSpace>
|
||||||
|
</template>
|
||||||
|
<template #roles="{ row }">
|
||||||
|
<TSpace>
|
||||||
|
<TTag v-for="role in row.roles" :key="role.id" theme="success" variant="light">{{
|
||||||
|
role.label
|
||||||
|
}}</TTag>
|
||||||
|
</TSpace>
|
||||||
|
</template>
|
||||||
|
<template #operation="{ row }">
|
||||||
|
<TButton variant="text" size="small" theme="primary" @click="handleEdit(row)">编辑</TButton>
|
||||||
|
<TButton variant="text" size="small" theme="primary" @click="handleShow(row)">{{
|
||||||
|
row.status === 'active' ? '关闭显示' : '开启显示'
|
||||||
|
}}</TButton>
|
||||||
|
<TButton variant="text" size="small" theme="danger" @click="handleDelete(row)">删除</TButton>
|
||||||
|
</template>
|
||||||
|
</TTable>
|
||||||
|
<CarousalDialog
|
||||||
|
:carousal="currentTableData"
|
||||||
|
v-model:visible="carousalDialogVisible"
|
||||||
|
:isEdit="isEdit"
|
||||||
|
@success="handleSuccessDialog"
|
||||||
|
headerTitle="轮播图"
|
||||||
|
></CarousalDialog>
|
||||||
|
</RegularPage>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
+42
-25
@@ -1,40 +1,48 @@
|
|||||||
<template>
|
<template>
|
||||||
<t-dialog
|
<t-dialog
|
||||||
width="40%"
|
width="40%"
|
||||||
:header="header"
|
:header="headerText"
|
||||||
:confirmBtn="confirmBtn"
|
:confirmBtn="confirmBtnText"
|
||||||
:closeOnOverlayClick="false"
|
:closeOnOverlayClick="false"
|
||||||
@close="handleCloseDialog"
|
@close="handleCloseDialog"
|
||||||
@confirm="fetchSaveClassifyData"
|
@confirm="SaveCategoryData"
|
||||||
>
|
>
|
||||||
<t-space direction="vertical" style="width: 100%">
|
<t-space direction="vertical" style="width: 100%">
|
||||||
<TForm ref="form" :data="classifyData" :rules="rules" resetType="initial">
|
<TForm ref="form" :data="categoryData" :rules="rules" resetType="initial">
|
||||||
<TFormItem label="分类名称:" name="name" help="名称长度小于5个汉字,大于2个汉字">
|
<TFormItem label="分类名称:" name="name" help="名称长度小于5个汉字,大于2个汉字">
|
||||||
<t-input v-model.trim="classifyData.name" clearable placeholder="请输入分类名称" />
|
<t-input v-model.trim="categoryData.name" clearable placeholder="请输入分类名称" />
|
||||||
</TFormItem>
|
</TFormItem>
|
||||||
<TFormItem label="分类编号:" name="numbering" help="编号由大于4个字符的英文字母组成">
|
<TFormItem label="分类编号:" name="code" help="编号由大于4个字符的英文字母组成">
|
||||||
<t-input v-model.trim="classifyData.numbering" clearable placeholder="请输入分类编号" />
|
<t-input v-model.trim="categoryData.code" clearable placeholder="请输入分类编号" />
|
||||||
</TFormItem>
|
</TFormItem>
|
||||||
<TFormItem label="排序级别:" name="sort" help="排序级别由正整数组成">
|
<TFormItem label="排序级别:" name="order" help="排序级别由正整数组成">
|
||||||
<t-input v-model.trim="classifyData.sort" clearable placeholder="请输入排序级别" />
|
<t-input-number
|
||||||
|
:min="0"
|
||||||
|
name="order"
|
||||||
|
theme="normal"
|
||||||
|
class="!w-full"
|
||||||
|
placeholder="请输入排序级别"
|
||||||
|
v-model.trim="categoryData.order"
|
||||||
|
></t-input-number>
|
||||||
</TFormItem>
|
</TFormItem>
|
||||||
</TForm>
|
</TForm>
|
||||||
</t-space>
|
</t-space>
|
||||||
</t-dialog>
|
</t-dialog>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { Classify } from '@/model/classify'
|
import type { Category } from '@/model/category'
|
||||||
import { computed, ref, reactive, watch } from 'vue'
|
import { computed, ref, reactive, watch } from 'vue'
|
||||||
|
import { createCategoryRequest, updateCategoryByIdRequest } from '@/api/category'
|
||||||
import type { FormInstanceFunctions, FormProps } from 'tdesign-vue-next'
|
import type { FormInstanceFunctions, FormProps } from 'tdesign-vue-next'
|
||||||
|
import { MessagePlugin } from 'tdesign-vue-next'
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
isEdit?: Boolean | null
|
headerTitle?: string
|
||||||
headerTitle?: String | null
|
category: Category | null
|
||||||
classify: Classify | {}
|
|
||||||
}>()
|
}>()
|
||||||
const form = ref<FormInstanceFunctions | null>(null)
|
const formRef = ref<FormInstanceFunctions | null>(null)
|
||||||
const header = computed(() => `${props.isEdit ? '编辑' : '创建'}${props.headerTitle || ''}`)
|
const headerText = computed(() => `${props.category ? '编辑' : '创建'}${props.headerTitle || ''}`)
|
||||||
const confirmBtn = computed(() => (props.isEdit ? '保存' : '确定'))
|
const confirmBtnText = computed(() => (props.category ? '保存' : '确定'))
|
||||||
const classifyData: FormProps['data'] = reactive({ name: '', sort: 0 })
|
const categoryData: FormProps['data'] = reactive({ name: '', order: 1 })
|
||||||
const rules: FormProps['rules'] = {
|
const rules: FormProps['rules'] = {
|
||||||
name: [
|
name: [
|
||||||
{
|
{
|
||||||
@@ -66,7 +74,7 @@ const rules: FormProps['rules'] = {
|
|||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
numbering: [
|
code: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: '分类编号不能为空',
|
message: '分类编号不能为空',
|
||||||
@@ -96,7 +104,7 @@ const rules: FormProps['rules'] = {
|
|||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
sort: [
|
order: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: '排序级别不能为空',
|
message: '排序级别不能为空',
|
||||||
@@ -122,18 +130,27 @@ const rules: FormProps['rules'] = {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
watch(
|
watch(
|
||||||
() => props.classify,
|
() => props.category,
|
||||||
(newClassify) => {
|
(newCategory) => {
|
||||||
Object.assign(classifyData, newClassify)
|
Object.assign(categoryData, newCategory)
|
||||||
},
|
},
|
||||||
{ deep: true }
|
{ deep: true }
|
||||||
)
|
)
|
||||||
const fetchSaveClassifyData = async () => {
|
const emit = defineEmits<{
|
||||||
/* TODO: 保存分类数据 */
|
success: [void]
|
||||||
|
}>()
|
||||||
|
const SaveCategoryData = async () => {
|
||||||
if (form.value) {
|
if (form.value) {
|
||||||
const valid = await form.value.validate()
|
const valid = await form.value.validate()
|
||||||
if (valid && typeof valid === 'boolean') {
|
if (valid && typeof valid === 'boolean') {
|
||||||
/* TODO: 校验通过保存分类数据 */
|
const { code, name, order, id } = categoryData
|
||||||
|
if (!props.isEdit) {
|
||||||
|
await createCategoryRequest({ code, name, order })
|
||||||
|
} else {
|
||||||
|
await updateCategoryByIdRequest(id, { code, name, order })
|
||||||
|
}
|
||||||
|
MessagePlugin.success(`${props.isEdit ? '编辑' : '创建'}分类成功`)
|
||||||
|
emit('success')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,114 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
import { onMounted, ref } from 'vue'
|
||||||
|
import type { Category, CategorySearchFilter } from '@/model/category'
|
||||||
|
import RegularPage from '@/components/RegularPage.vue'
|
||||||
|
import { searchCategories, deleteCategoryRequest } from '@/api/category'
|
||||||
|
import type { BaseTableColumns } from 'tdesign-vue-next'
|
||||||
|
import { useSearchable } from '@/composables/useSearchable'
|
||||||
|
import CategoryDialog from '@/pages/category/components/CategoryDialog.vue'
|
||||||
|
import { MessagePlugin } from 'tdesign-vue-next'
|
||||||
|
|
||||||
|
const { data, loading, pagination, onPageChange, fetchData } = useSearchable<
|
||||||
|
CategorySearchFilter,
|
||||||
|
Category
|
||||||
|
>(searchCategories)
|
||||||
|
const columns: BaseTableColumns = [
|
||||||
|
{
|
||||||
|
title: '分类名称',
|
||||||
|
colKey: 'name',
|
||||||
|
width: 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '分类编号',
|
||||||
|
colKey: 'code',
|
||||||
|
width: 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '排序',
|
||||||
|
colKey: 'order',
|
||||||
|
width: 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '操作',
|
||||||
|
colKey: 'operation',
|
||||||
|
width: 100
|
||||||
|
}
|
||||||
|
]
|
||||||
|
const categoryDialogVisible = ref(false)
|
||||||
|
const isEdit = ref(false)
|
||||||
|
const currentTableData = ref<Category | null>(null)
|
||||||
|
onMounted(fetchData)
|
||||||
|
const editClick = (category: Category) => {
|
||||||
|
isEdit.value = true
|
||||||
|
currentTableData.value = category
|
||||||
|
categoryDialogVisible.value = true
|
||||||
|
}
|
||||||
|
const handleCategoryDialogSuccess = () => {
|
||||||
|
fetchData()
|
||||||
|
categoryDialogVisible.value = false
|
||||||
|
}
|
||||||
|
const handleCategoryDialogClosed = () => {
|
||||||
|
isEdit.value = false
|
||||||
|
currentTableData.value = null
|
||||||
|
}
|
||||||
|
|
||||||
|
const deleteCategoryClick = async (id: string) => {
|
||||||
|
await deleteCategoryRequest(id)
|
||||||
|
fetchData()
|
||||||
|
MessagePlugin.success('删除分类成功')
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<RegularPage title="分类管理">
|
||||||
|
<template #right-area>
|
||||||
|
<TButton @click="categoryDialogVisible = true">创建分类</TButton>
|
||||||
|
</template>
|
||||||
|
<TTable
|
||||||
|
class="w-full h-full"
|
||||||
|
row-key="id"
|
||||||
|
height="92%"
|
||||||
|
table-layout="auto"
|
||||||
|
:data="data"
|
||||||
|
:loading="loading"
|
||||||
|
:columns="columns"
|
||||||
|
cell-empty-content="-"
|
||||||
|
:paginationAffixedBottom="true"
|
||||||
|
:pagination="{
|
||||||
|
total: pagination.total,
|
||||||
|
current: pagination.page,
|
||||||
|
pageSize: pagination.size,
|
||||||
|
onChange: onPageChange
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<template #operation="{ row }">
|
||||||
|
<TSpace :size="1">
|
||||||
|
<TButton variant="text" size="small" theme="primary" @click="editClick(row)"
|
||||||
|
>编辑</TButton
|
||||||
|
>
|
||||||
|
<t-popconfirm
|
||||||
|
theme="default"
|
||||||
|
content="确认删除此项分类吗"
|
||||||
|
@confirm="deleteCategoryClick(row.id)"
|
||||||
|
>
|
||||||
|
<TButton variant="text" size="small" theme="danger">删除</TButton>
|
||||||
|
</t-popconfirm>
|
||||||
|
</TSpace>
|
||||||
|
</template>
|
||||||
|
</TTable>
|
||||||
|
<CategoryDialog
|
||||||
|
headerTitle="分类"
|
||||||
|
:category="currentTableData"
|
||||||
|
v-model:visible="categoryDialogVisible"
|
||||||
|
@closed="handleCategoryDialogClosed"
|
||||||
|
@success="handleCategoryDialogSuccess"
|
||||||
|
></CategoryDialog>
|
||||||
|
</RegularPage>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
:deep(.t-card__body) {
|
||||||
|
flex: 1;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -1,107 +0,0 @@
|
|||||||
<script setup lang="ts">
|
|
||||||
import RegularPage from '@/components/RegularPage.vue'
|
|
||||||
import { onMounted, ref, reactive } from 'vue'
|
|
||||||
import type { BaseTableColumns } from 'tdesign-vue-next'
|
|
||||||
import type { Classify } from '@/model/classify'
|
|
||||||
import ClassifyDialog from '@/pages/classify/components/ClassifyDialog.vue'
|
|
||||||
|
|
||||||
const columns: BaseTableColumns = [
|
|
||||||
{
|
|
||||||
title: '分类名称',
|
|
||||||
colKey: 'name',
|
|
||||||
width: 100
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '分类编号',
|
|
||||||
colKey: 'numbering',
|
|
||||||
width: 100
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '排序',
|
|
||||||
colKey: 'sort',
|
|
||||||
width: 100
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '操作',
|
|
||||||
colKey: 'operation',
|
|
||||||
width: 100
|
|
||||||
}
|
|
||||||
]
|
|
||||||
const loading = ref(false)
|
|
||||||
const data = ref(
|
|
||||||
Array.from({ length: 1 })
|
|
||||||
.fill({ id: '1', name: '趣味科普', numbering: 'enjoy', sort: '1' })
|
|
||||||
.map((item) => item)
|
|
||||||
)
|
|
||||||
const pagination = reactive({
|
|
||||||
total: 1,
|
|
||||||
page: 1,
|
|
||||||
size: 10
|
|
||||||
})
|
|
||||||
const classifyDialogVisible = ref(false)
|
|
||||||
const isEdit = ref(false)
|
|
||||||
const currentTableData = ref<Classify | {}>({})
|
|
||||||
const fetchClassifyTableData = () => {
|
|
||||||
/* TODO: 获取分类表格数据 */
|
|
||||||
}
|
|
||||||
onMounted(fetchClassifyTableData)
|
|
||||||
const editClick = (classify: Classify) => {
|
|
||||||
isEdit.value = true
|
|
||||||
currentTableData.value = classify
|
|
||||||
console.log(classify)
|
|
||||||
|
|
||||||
classifyDialogVisible.value = true
|
|
||||||
}
|
|
||||||
const onPageChange = () => {
|
|
||||||
/* TODO: 分页切换 */
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<RegularPage title="分类管理">
|
|
||||||
<template #right-area>
|
|
||||||
<TButton @click="classifyDialogVisible = true">创建分类</TButton>
|
|
||||||
</template>
|
|
||||||
<TTable
|
|
||||||
class="w-full h-full"
|
|
||||||
row-key="id"
|
|
||||||
height="92%"
|
|
||||||
table-layout="auto"
|
|
||||||
:data="data"
|
|
||||||
:loading="loading"
|
|
||||||
:columns="columns"
|
|
||||||
cell-empty-content="-"
|
|
||||||
:paginationAffixedBottom="true"
|
|
||||||
:pagination="{
|
|
||||||
total: pagination.total,
|
|
||||||
current: pagination.page,
|
|
||||||
pageSize: pagination.size,
|
|
||||||
onChange: onPageChange
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
<template #roles="{ row }">
|
|
||||||
<TSpace>
|
|
||||||
<TTag v-for="role in row.roles" :key="role.id" theme="success" variant="light">{{
|
|
||||||
role.label
|
|
||||||
}}</TTag>
|
|
||||||
</TSpace>
|
|
||||||
</template>
|
|
||||||
<template #operation="{ row }">
|
|
||||||
<TButton variant="text" size="small" theme="primary" @click="editClick(row)">编辑</TButton>
|
|
||||||
</template>
|
|
||||||
</TTable>
|
|
||||||
<ClassifyDialog
|
|
||||||
:classify="currentTableData"
|
|
||||||
v-model:visible="classifyDialogVisible"
|
|
||||||
:isEdit="isEdit"
|
|
||||||
headerTitle="分类"
|
|
||||||
></ClassifyDialog>
|
|
||||||
</RegularPage>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
:deep(.t-card__body) {
|
|
||||||
flex: 1;
|
|
||||||
min-height: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -20,6 +20,7 @@ const handleLogin = async () => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
loading.value = true
|
||||||
await appStore.login(loginForm)
|
await appStore.login(loginForm)
|
||||||
} finally {
|
} finally {
|
||||||
loading.value = false
|
loading.value = false
|
||||||
|
|||||||
+22
-4
@@ -6,14 +6,32 @@ import Layout from '@/layouts/Layout.vue'
|
|||||||
|
|
||||||
export const asyncRoutes: RouteRecordRaw[] = [
|
export const asyncRoutes: RouteRecordRaw[] = [
|
||||||
{
|
{
|
||||||
name: 'classify',
|
name: 'category',
|
||||||
path: 'classify',
|
path: 'category',
|
||||||
component: () => import('@/pages/classify/index.vue'),
|
component: () => import('@/pages/category/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '分类管理',
|
title: '分类管理',
|
||||||
icon: 'system-3'
|
icon: 'system-3'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'article',
|
||||||
|
path: 'article',
|
||||||
|
component: () => import('@/pages/article/index.vue'),
|
||||||
|
meta: {
|
||||||
|
title: '咨询管理',
|
||||||
|
icon: 'collection'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'carousal',
|
||||||
|
path: 'carousal',
|
||||||
|
component: () => import('@/pages/carousal/index.vue'),
|
||||||
|
meta: {
|
||||||
|
title: '轮播图管理',
|
||||||
|
icon: 'image'
|
||||||
|
}
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
@@ -24,7 +42,7 @@ const router = createRouter({
|
|||||||
component: Layout,
|
component: Layout,
|
||||||
path: '/',
|
path: '/',
|
||||||
redirect: {
|
redirect: {
|
||||||
name: 'classify'
|
name: 'category'
|
||||||
},
|
},
|
||||||
children: asyncRoutes
|
children: asyncRoutes
|
||||||
},
|
},
|
||||||
|
|||||||
+5
-1
@@ -14,6 +14,10 @@ export default defineConfig(({ command, mode }) => {
|
|||||||
return {
|
return {
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
|
AutoImport({
|
||||||
|
imports:['vue'],
|
||||||
|
dts:"src/auto-import.d.ts" // 会自动生成此文件
|
||||||
|
}),
|
||||||
vueDevTools(),
|
vueDevTools(),
|
||||||
AutoImport({
|
AutoImport({
|
||||||
resolvers: [
|
resolvers: [
|
||||||
@@ -40,7 +44,7 @@ export default defineConfig(({ command, mode }) => {
|
|||||||
'/api': {
|
'/api': {
|
||||||
target: env.VITE_PROXY_ENDPOINT,
|
target: env.VITE_PROXY_ENDPOINT,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path) => path.replace(/^\/api/, '')
|
// rewrite: (path) => path.replace(/^\/api/, '')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user