adtec-core-package 3.0.9 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adtec-core-package",
3
- "version": "3.0.9",
3
+ "version": "3.1.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {
@@ -12,8 +12,12 @@ export default {
12
12
  getUpLoadFilesVoById(id: string): Promise<ISysUploadFiles> {
13
13
  return request.get(basePath + 'getUpLoadFilesVoById/' + id)
14
14
  },
15
- getUpLoadFilesByBussinessIds(bussinessIds: string[]): Promise<ISysUploadFiles[]> {
16
- return request.post(basePath + 'getUpLoadFilesByBussinessIds', bussinessIds)
15
+ getUpLoadFilesByBussinessIds(bussinessIds: string[], showPage?: number): Promise<ISysUploadFiles[]> {
16
+ const path =
17
+ showPage === undefined
18
+ ? basePath + 'getUpLoadFilesByBussinessIds'
19
+ : basePath + 'getUpLoadFilesByBussinessIds/' + showPage
20
+ return request.post(path, bussinessIds)
17
21
  },
18
22
  delSysUploadFile(id: string) {
19
23
  return request.get(basePath + 'delSysUploadFile/' + id)
@@ -698,5 +698,28 @@ onUnmounted(() => {
698
698
  :deep(.umo-editor-content .ProseMirror) {
699
699
  cursor: default;
700
700
  }
701
+
702
+ /* 修改记录 diff:兜底 TipTap/Umo sanitize 后 class / inline style 部分丢失 */
703
+ :deep(.umo-editor-content .ProseMirror) {
704
+ span.diffdel,
705
+ .diffdel,
706
+ del,
707
+ del.diffdel,
708
+ del.diffmod {
709
+ color: rgb(205, 74, 63) !important;
710
+ text-decoration: line-through !important;
711
+ -webkit-text-decoration: line-through !important;
712
+ }
713
+
714
+ span.diffins,
715
+ .diffins,
716
+ ins,
717
+ ins.diffins,
718
+ ins.diffmod {
719
+ color: rgb(230, 113, 11) !important;
720
+ text-decoration: none !important;
721
+ -webkit-text-decoration: none !important;
722
+ }
723
+ }
701
724
  }
702
725
  </style>
@@ -15,4 +15,5 @@ export interface ISysUploadFiles extends BaseEntity{
15
15
  path: string
16
16
  business: string
17
17
  businessId?: string
18
+ pageCount?: number
18
19
  }