ecinc-cloud-yoaksgl 9.5.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/index.js +138 -0
- package/lib/ecyoaksgl.common.js +48184 -0
- package/lib/ecyoaksgl.umd.js +48194 -0
- package/lib/ecyoaksgl.umd.min.js +8 -0
- package/package.json +10 -0
package/index.js
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
// ksgl
|
|
2
|
+
// components
|
|
3
|
+
import KsglComponentDanxuanProblem from './src/components/problems/danxuanProblem'
|
|
4
|
+
import KsglComponentDuoxuanProblem from './src/components/problems/duoxuanProblem'
|
|
5
|
+
import KsglComponentTiankongProblem from './src/components/problems/tiankongProblem'
|
|
6
|
+
import KsglComponentWendaProblem from './src/components/problems/wendaProblem'
|
|
7
|
+
import KsglComponentChooseType from './src/components/chooseType'
|
|
8
|
+
import KsglComponentExportData from './src/components/exportData'
|
|
9
|
+
import KsglComponentKsglCascaderType from './src/components/ksglCascaderType'
|
|
10
|
+
import KsglComponentMyHeader from './src/components/MyHeader'
|
|
11
|
+
import KsglComponentProblemDetail from './src/components/problemDetail'
|
|
12
|
+
// grzx
|
|
13
|
+
import KsglGrzxSjpyExamPaperCorrecting from './src/grzx/sjpy/examPaperCorrecting'
|
|
14
|
+
import KsglGrzxWdct from './src/grzx/wdct'
|
|
15
|
+
import KsglGrzxWdksExamDetail from './src/grzx/wdks/examDetail'
|
|
16
|
+
import KsglGrzxWdksOnlineExam from './src/grzx/wdks/onlineExam'
|
|
17
|
+
import KsglGrzxWdksSubmitResult from './src/grzx/wdks/submitResult'
|
|
18
|
+
import KsglGrzxWdxx from './src/grzx/wdxx'
|
|
19
|
+
// kcgl
|
|
20
|
+
import KsglKcglCalendar from './src/kcgl/Calendar'
|
|
21
|
+
import KsglKcglComponentDoExercise from './src/kcgl/components/exercise/doExercise'
|
|
22
|
+
import KsglKcglComponentExerciseDetail from './src/kcgl/components/exercise/exerciseDetail'
|
|
23
|
+
import KsglKcglComponentExerciseRecord from './src/kcgl/components/exercise/exerciseRecord'
|
|
24
|
+
import KsglKcglComponentComment from './src/kcgl/components/comment'
|
|
25
|
+
import KsglKcglComponentCourse from './src/kcgl/components/course'
|
|
26
|
+
import KsglKcglComponentCourseDetail from './src/kcgl/components/courseDetail'
|
|
27
|
+
import KsglKcglComponentCourseTop from './src/kcgl/components/courseTop'
|
|
28
|
+
import KsglKcglComponentCourseWare from './src/kcgl/components/courseWare'
|
|
29
|
+
import KsglKcglComponentLessonList from './src/kcgl/components/LessonList'
|
|
30
|
+
import KsglKcglComponentPXTimeControl from './src/kcgl/components/PXTimeControl'
|
|
31
|
+
import KsglKcglComponentTeacherList from './src/kcgl/components/TeacherList'
|
|
32
|
+
import KsglKcglAddNewLesson from './src/kcgl/addNewLesson'
|
|
33
|
+
import KsglKcglIndex from './src/kcgl'
|
|
34
|
+
import KsglKcglIndexJS from './src/kcgl/indexJS'
|
|
35
|
+
// kczx
|
|
36
|
+
import KsglKczx from './src/kczx'
|
|
37
|
+
// ksgl
|
|
38
|
+
import KsglExamChoosePaperOrLesson from './src/ksgl/exam/components/choosePaperOrLesson'
|
|
39
|
+
import KsglExamOperationCloums from './src/ksgl/exam/components/OperationCloums'
|
|
40
|
+
import KsglExamPaperHeader from './src/ksgl/exam/components/paperHeader'
|
|
41
|
+
import KsglExamAddNewExam from './src/ksgl/exam/addNewExam'
|
|
42
|
+
import KsglExamDetail from './src/ksgl/exam/ExamDetail'
|
|
43
|
+
import KsglPaperOperationCloums from './src/ksgl/paper/components/OperationCloums'
|
|
44
|
+
import KsglPaperEdit from './src/ksgl/paper/paperEdit'
|
|
45
|
+
// portlet
|
|
46
|
+
import KsglPortletEntry from './src/portlet/Entry'
|
|
47
|
+
import KsglPortletXxxx from './src/portlet/xxxx'
|
|
48
|
+
import KsglPortletXyxx from './src/portlet/xyxx'
|
|
49
|
+
// tjfx
|
|
50
|
+
import KsglTjfxXftj from './src/tjfx/xftj'
|
|
51
|
+
import KsglTjfxXxtj from './src/tjfx/xxtj'
|
|
52
|
+
// tkgl/subjectBank
|
|
53
|
+
import KsglTkglAddSome from './src/tkgl/subjectBank/components/addSome'
|
|
54
|
+
import KsglTkglCloumsToMannger from './src/tkgl/subjectBank/components/cloumsToMannger'
|
|
55
|
+
import KsglTkglOtherType from './src/tkgl/subjectBank/components/OtherType'
|
|
56
|
+
import KsglTkglQuestion from './src/tkgl/subjectBank/components/Question'
|
|
57
|
+
import KsglTkglSample from './src/tkgl/subjectBank/components/Sample'
|
|
58
|
+
import KsglTkglSpecification from './src/tkgl/subjectBank/components/Specification'
|
|
59
|
+
import KsglTkglXuanZe from './src/tkgl/subjectBank/components/XuanZe'
|
|
60
|
+
import KsglTkglAddSubjectManage from './src/tkgl/subjectBank/AddSubjectManage'
|
|
61
|
+
// xxsz
|
|
62
|
+
import KsglXxszConfigCategory from './src/xxsz/configCategory'
|
|
63
|
+
|
|
64
|
+
// 以数组的结构保存组件,便于遍历
|
|
65
|
+
const components = {
|
|
66
|
+
KsglComponentDanxuanProblem,
|
|
67
|
+
KsglComponentDuoxuanProblem,
|
|
68
|
+
KsglComponentTiankongProblem,
|
|
69
|
+
KsglComponentWendaProblem,
|
|
70
|
+
KsglComponentChooseType,
|
|
71
|
+
KsglComponentExportData,
|
|
72
|
+
KsglComponentKsglCascaderType,
|
|
73
|
+
KsglComponentMyHeader,
|
|
74
|
+
KsglComponentProblemDetail,
|
|
75
|
+
KsglGrzxSjpyExamPaperCorrecting,
|
|
76
|
+
KsglGrzxWdct,
|
|
77
|
+
KsglGrzxWdksExamDetail,
|
|
78
|
+
KsglGrzxWdksOnlineExam,
|
|
79
|
+
KsglGrzxWdksSubmitResult,
|
|
80
|
+
KsglGrzxWdxx,
|
|
81
|
+
KsglKcglCalendar,
|
|
82
|
+
KsglKcglComponentDoExercise,
|
|
83
|
+
KsglKcglComponentExerciseDetail,
|
|
84
|
+
KsglKcglComponentExerciseRecord,
|
|
85
|
+
KsglKcglComponentComment,
|
|
86
|
+
KsglKcglComponentCourse,
|
|
87
|
+
KsglKcglComponentCourseDetail,
|
|
88
|
+
KsglKcglComponentCourseTop,
|
|
89
|
+
KsglKcglComponentCourseWare,
|
|
90
|
+
KsglKcglComponentLessonList,
|
|
91
|
+
KsglKcglComponentPXTimeControl,
|
|
92
|
+
KsglKcglComponentTeacherList,
|
|
93
|
+
KsglKcglAddNewLesson,
|
|
94
|
+
KsglKcglIndex,
|
|
95
|
+
KsglKcglIndexJS,
|
|
96
|
+
KsglKczx,
|
|
97
|
+
KsglExamChoosePaperOrLesson,
|
|
98
|
+
KsglExamOperationCloums,
|
|
99
|
+
KsglExamPaperHeader,
|
|
100
|
+
KsglExamAddNewExam,
|
|
101
|
+
KsglExamDetail,
|
|
102
|
+
KsglPaperOperationCloums,
|
|
103
|
+
KsglPaperEdit,
|
|
104
|
+
KsglPortletEntry,
|
|
105
|
+
KsglPortletXxxx,
|
|
106
|
+
KsglPortletXyxx,
|
|
107
|
+
KsglTjfxXftj,
|
|
108
|
+
KsglTjfxXxtj,
|
|
109
|
+
KsglTkglAddSome,
|
|
110
|
+
KsglTkglCloumsToMannger,
|
|
111
|
+
KsglTkglOtherType,
|
|
112
|
+
KsglTkglQuestion,
|
|
113
|
+
KsglTkglSample,
|
|
114
|
+
KsglTkglSpecification,
|
|
115
|
+
KsglTkglXuanZe,
|
|
116
|
+
KsglTkglAddSubjectManage,
|
|
117
|
+
KsglXxszConfigCategory
|
|
118
|
+
}
|
|
119
|
+
// 定义 install 方法
|
|
120
|
+
const install = function(Vue) {
|
|
121
|
+
if (install.installed) return
|
|
122
|
+
install.installed = true
|
|
123
|
+
// 遍历并注册全局组件
|
|
124
|
+
Object.keys(components).forEach(key => {
|
|
125
|
+
Vue.component(key, components[key])
|
|
126
|
+
})
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
130
|
+
install(window.Vue)
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export default {
|
|
134
|
+
// 导出的对象必须具备一个 install 方法
|
|
135
|
+
install,
|
|
136
|
+
// 组件列表
|
|
137
|
+
...components
|
|
138
|
+
}
|