adtec-core-package 0.1.9 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adtec-core-package",
3
- "version": "0.1.9",
3
+ "version": "0.2.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -13,6 +13,7 @@
13
13
  "format": "prettier --write src/"
14
14
  },
15
15
  "dependencies": {
16
+ "@onlyoffice/document-editor-vue": "1.4.0",
16
17
  "@element-plus/icons-vue": "^2.3.1",
17
18
  "pinia-plugin-store": "^2.2.9",
18
19
  "crypto-js": "^4.2.0",
@@ -36,7 +36,7 @@
36
36
  <DocumentEditor
37
37
  id="docEditor"
38
38
  :documentServerUrl="documentServerUrl"
39
- :config="configcom"
39
+ :config="configcomp"
40
40
  :events_onDocumentReady="onDocumentReady"
41
41
  :onLoadComponentError="onLoadComponentError"
42
42
  />
@@ -47,7 +47,7 @@
47
47
  <script setup lang="ts">
48
48
  import { DocumentEditor } from '@onlyoffice/document-editor-vue'
49
49
  import { computed, onBeforeMount, onMounted, ref } from 'vue'
50
- import { userInfoStore } from '@/framework/stores/userInfoStore'
50
+ import { userInfoStore } from '../../stores/userInfoStore'
51
51
  import { useVModel } from '@vueuse/core'
52
52
  import { CircleClose } from '@element-plus/icons-vue'
53
53
  import { ElIcon } from 'element-plus'
@@ -118,7 +118,7 @@ const getDocumentType = () => {
118
118
  return 'slide'
119
119
  }
120
120
  }
121
- const configcom = computed(() => {
121
+ const configcomp = computed(() => {
122
122
  return {
123
123
  document: {
124
124
  fileType: getFileType(),
@@ -7,7 +7,7 @@
7
7
  /**
8
8
  * flex横向布局枚举
9
9
  */
10
- export enum justifyContentEnum {
10
+ export enum justifyContentEnum {
11
11
  /**
12
12
  * 子元素在容器内左对齐
13
13
  */