zydx-plus 1.35.5066 → 1.36.641
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/README.md +4 -0
- package/package.json +6 -5
- package/src/components/buttonGroup/src/buttonGroup.vue +16 -11
- package/src/components/calendar/src/Calendar.css +5 -4
- package/src/components/calendar/src/Calendar.vue +709 -650
- package/src/components/chat/src/chat.vue +150 -127
- package/src/components/choice/src/choice.vue +77 -13
- package/src/components/coloring/src/coloring.vue +5 -5
- package/src/components/coloring/src/data.js +8 -9
- package/src/components/data_table/src/data_table.vue +5 -2
- package/src/components/data_table/src/table_head.vue +3 -3
- package/src/components/data_table/src/table_row.vue +4 -4
- package/src/components/dragPopup/src/dragPopup.vue +210 -106
- package/src/components/dragPopup2/src/dragPopup.vue +179 -68
- package/src/components/editor/src/butJson.js +27 -21
- package/src/components/editor/src/editor.vue +745 -492
- package/src/components/editor/src/extend/extension-image.js +86 -0
- package/src/components/editor2/src/editor.vue +333 -173
- package/src/components/flip/annotationLayer.css +1 -0
- package/src/components/flip/icon.css +484 -24
- package/src/components/flip/img/dingwei.png +0 -0
- package/src/components/flip/img/dingwei.svg +1 -0
- package/src/components/flip/img/fangdajing.png +0 -0
- package/src/components/flip/img/guanbi.svg +1 -0
- package/src/components/flip/img/huabi.png +0 -0
- package/src/components/flip/img/qubiezhen.svg +1 -0
- package/src/components/flip/img/sanjiao.png +0 -0
- package/src/components/flip/img/shanchu.svg +1 -0
- package/src/components/flip/index.js +1 -1
- package/src/components/flip/src/annotationLayer.css +1 -0
- package/src/components/flip/src/flip.vue +562 -35
- package/src/components/flip/src/icon.css +1478 -0
- package/src/components/flip/src/textLayer.css +1 -0
- package/src/components/flip/textLayer.css +1 -0
- package/src/components/{biz_header → graph}/index.js +6 -6
- package/src/components/graph/src/graph.css +207 -0
- package/src/components/graph/src/graph.vue +502 -0
- package/src/components/graph/src/lineTool.vue +155 -0
- package/src/components/graph/src/tool.vue +329 -0
- package/src/components/menuTree/src/ZydxMenuTreeInfo.vue +63 -44
- package/src/components/mind/src/lineTool.vue +177 -0
- package/src/components/mind/src/mind.css +247 -0
- package/src/components/mind/src/mind.vue +352 -672
- package/src/components/mind/src/tool.vue +320 -0
- package/src/components/paint/src/paint.vue +14 -13
- package/src/components/pictureViewer/src/pictureViewer.vue +38 -18
- package/src/components/preface/src/preface.vue +19 -14
- package/src/components/question/src/question.vue +8 -3
- package/src/components/read/src/read.vue +489 -306
- package/src/components/seek/src/word.css +2 -1
- package/src/components/seek/src/word.vue +239 -112
- package/src/components/select/src/select.vue +175 -43
- package/src/components/sketchpad/src/sketchpad.vue +177 -37
- package/src/components/spinner/index.js +2 -1
- package/src/components/spinner/src/spinner.vue +14 -0
- package/src/components/tab/src/tab.vue +142 -148
- package/src/components/tagging/src/tagging.css +18 -8
- package/src/components/tagging/src/tagging.vue +94 -28
- package/src/components/textarea/src/textarea.vue +12 -5
- package/src/components/tipBox/index.js +12 -2
- package/src/components/tipBox/src/main.vue +196 -27
- package/src/components/tipBox/src/zydxStyle.css +3 -1
- package/src/components/treeList/src/treeList.vue +29 -2
- package/src/components/utils/index.js +12 -0
- package/src/components/variableBox/drag.png +0 -0
- package/src/components/variableBox/index.vue +88 -48
- package/src/components/word/src/word.css +2 -1
- package/src/components/word/src/word.vue +14 -10
- package/src/components/year/src/year.vue +59 -7
- package/src/index.js +6 -6
- package/src/components/biz_header/src/bizHeader.vue +0 -291
- package/src/components/biz_header/src/button_name.js +0 -3626
- package/src/components/mind/index.vue +0 -192
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zydx-plus",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.36.641",
|
|
4
4
|
"description": "Vue.js",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"author": "",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"vue-draggable-next": "^2.1.1",
|
|
24
|
-
"pdfjs-dist": "^
|
|
24
|
+
"pdfjs-dist": "^5.3.31",
|
|
25
25
|
"snabbdom": "^3.5.1",
|
|
26
26
|
"katex": "^0.15.6",
|
|
27
|
-
"simple-mind-map": "^0.
|
|
27
|
+
"simple-mind-map": "^0.14.0-fix.1",
|
|
28
28
|
"@tiptap/starter-kit": "^2.0.3",
|
|
29
29
|
"@tiptap/vue-3": "^2.0.3",
|
|
30
30
|
"@tiptap/extension-bubble-menu": "^2.1.0",
|
|
@@ -48,10 +48,11 @@
|
|
|
48
48
|
"js-audio-recorder": "^1.0.7",
|
|
49
49
|
"react": "^18.2.0",
|
|
50
50
|
"react-dom": "^18.2.0",
|
|
51
|
-
"tldraw": "^2.
|
|
51
|
+
"tldraw": "^2.4.6",
|
|
52
52
|
"@tldraw/editor": "^2.0.2",
|
|
53
53
|
"buffer": "^5.7.1",
|
|
54
|
-
"interactjs": "^1.10.27"
|
|
54
|
+
"interactjs": "^1.10.27",
|
|
55
|
+
"relation-graph-vue3": "^2.2.11"
|
|
55
56
|
},
|
|
56
57
|
"peerDependencies": {
|
|
57
58
|
"vue": "^3.2.13"
|
|
@@ -24,6 +24,10 @@ export default defineComponent({
|
|
|
24
24
|
type: String,
|
|
25
25
|
default: '#00ff00'
|
|
26
26
|
},
|
|
27
|
+
isHide: {// 按钮能否收起 true能 false 否
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: true
|
|
30
|
+
}
|
|
27
31
|
},
|
|
28
32
|
data() {
|
|
29
33
|
return {
|
|
@@ -38,10 +42,18 @@ export default defineComponent({
|
|
|
38
42
|
trackClick(idx) {
|
|
39
43
|
if (this.accordian) {
|
|
40
44
|
this.active_state = this.active_state.map((_, i) => {
|
|
41
|
-
if (
|
|
42
|
-
|
|
45
|
+
if (this.isHide) {
|
|
46
|
+
if (i === idx) {
|
|
47
|
+
return this.active_state[i] = !this.active_state[i]
|
|
48
|
+
} else {
|
|
49
|
+
return false
|
|
50
|
+
}
|
|
43
51
|
} else {
|
|
44
|
-
|
|
52
|
+
if (i === idx) {
|
|
53
|
+
return this.active_state[i] = true
|
|
54
|
+
} else {
|
|
55
|
+
return false
|
|
56
|
+
}
|
|
45
57
|
}
|
|
46
58
|
})
|
|
47
59
|
} else {
|
|
@@ -179,7 +191,7 @@ export default defineComponent({
|
|
|
179
191
|
white-space: nowrap;
|
|
180
192
|
overflow: hidden;
|
|
181
193
|
height: 20px;
|
|
182
|
-
background-color:
|
|
194
|
+
background-color: transparent;
|
|
183
195
|
color: #000000;
|
|
184
196
|
border: #000000 1px solid;
|
|
185
197
|
line-height: 18px;
|
|
@@ -242,21 +254,14 @@ export default defineComponent({
|
|
|
242
254
|
border: none;
|
|
243
255
|
}
|
|
244
256
|
|
|
245
|
-
<<<<<<< .mine
|
|
246
|
-
.z-button.active {
|
|
247
|
-
/* color: #00ff00 !important; */
|
|
248
|
-
}
|
|
249
|
-
||||||| .r51551
|
|
250
257
|
.z-button.active {
|
|
251
258
|
color: #00ff00 !important;
|
|
252
259
|
}
|
|
253
|
-
=======
|
|
254
260
|
/*
|
|
255
261
|
*/
|
|
256
262
|
/* .z-button.textActivep {
|
|
257
263
|
color: rgba(75, 12, 119, 1) !important;
|
|
258
264
|
} */
|
|
259
|
-
>>>>>>> .r52223
|
|
260
265
|
|
|
261
266
|
|
|
262
267
|
.z-button:disabled {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
li{list-style-type:none;}
|
|
2
2
|
.cale{
|
|
3
|
-
position:
|
|
4
|
-
top: 22px;
|
|
5
|
-
right: 0;
|
|
3
|
+
position: fixed;
|
|
6
4
|
width: 300px;
|
|
7
|
-
z-index:
|
|
5
|
+
z-index: 20000;
|
|
8
6
|
background-color: #fff;
|
|
9
7
|
box-shadow: 0 0 4px 1px #ccc;
|
|
10
8
|
border-radius: 5px;
|
|
@@ -255,6 +253,9 @@ li{list-style-type:none;}
|
|
|
255
253
|
.cle-but-right{
|
|
256
254
|
flex: 2;
|
|
257
255
|
}
|
|
256
|
+
.cle-but-right-cont{
|
|
257
|
+
display: flex;
|
|
258
|
+
}
|
|
258
259
|
.cle-time{
|
|
259
260
|
display: inline-block;
|
|
260
261
|
position: relative;
|