@focus-teach/ui 1.0.13 → 1.0.14
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 +1 -3
- package/lib/{ui.common.js → @focus-teach/ui.common.js} +30 -29
- package/lib/{ui.css → @focus-teach/ui.css} +1 -1
- package/lib/{ui.umd.js → @focus-teach/ui.umd.js} +32 -31
- package/lib/@focus-teach/ui.umd.min.js +25 -0
- package/lib/demo.html +4 -4
- package/package.json +1 -1
- package/lib/ui.umd.min.js +0 -25
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
5
|
define([], factory);
|
|
6
6
|
else if(typeof exports === 'object')
|
|
7
|
-
exports["ui"] = factory(require("vue"));
|
|
7
|
+
exports["@focus-teach/ui"] = factory(require("vue"));
|
|
8
8
|
else
|
|
9
|
-
root["ui"] = factory(root["Vue"]);
|
|
9
|
+
root["@focus-teach/ui"] = factory(root["Vue"]);
|
|
10
10
|
})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__8bbf__) {
|
|
11
11
|
return /******/ (function(modules) { // webpackBootstrap
|
|
12
12
|
/******/ // The module cache
|
|
@@ -20183,6 +20183,17 @@ module.exports = function (it, S) {
|
|
|
20183
20183
|
};
|
|
20184
20184
|
|
|
20185
20185
|
|
|
20186
|
+
/***/ }),
|
|
20187
|
+
|
|
20188
|
+
/***/ "354b":
|
|
20189
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
20190
|
+
|
|
20191
|
+
"use strict";
|
|
20192
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_7bc45c6c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("824e");
|
|
20193
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_7bc45c6c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_7bc45c6c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
20194
|
+
/* unused harmony reexport * */
|
|
20195
|
+
|
|
20196
|
+
|
|
20186
20197
|
/***/ }),
|
|
20187
20198
|
|
|
20188
20199
|
/***/ "35b6":
|
|
@@ -21146,13 +21157,6 @@ function isVNode(node) {
|
|
|
21146
21157
|
|
|
21147
21158
|
/***/ }),
|
|
21148
21159
|
|
|
21149
|
-
/***/ "431f":
|
|
21150
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
21151
|
-
|
|
21152
|
-
// extracted by mini-css-extract-plugin
|
|
21153
|
-
|
|
21154
|
-
/***/ }),
|
|
21155
|
-
|
|
21156
21160
|
/***/ "4328":
|
|
21157
21161
|
/***/ (function(module, exports, __webpack_require__) {
|
|
21158
21162
|
|
|
@@ -23123,7 +23127,7 @@ exports.default = { use: use, t: t, i18n: i18n };
|
|
|
23123
23127
|
/***/ "4a0c":
|
|
23124
23128
|
/***/ (function(module) {
|
|
23125
23129
|
|
|
23126
|
-
module.exports = JSON.parse("{\"_args\":[[\"axios@0.21.4\",\"D:\\\\teaching\\\\FT_2023.
|
|
23130
|
+
module.exports = JSON.parse("{\"_args\":[[\"axios@0.21.4\",\"D:\\\\teaching\\\\FT_2023.70_10\\\\ol_studyfun_qdui\"]],\"_from\":\"axios@0.21.4\",\"_id\":\"axios@0.21.4\",\"_inBundle\":false,\"_integrity\":\"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==\",\"_location\":\"/axios\",\"_phantomChildren\":{},\"_requested\":{\"type\":\"version\",\"registry\":true,\"raw\":\"axios@0.21.4\",\"name\":\"axios\",\"escapedName\":\"axios\",\"rawSpec\":\"0.21.4\",\"saveSpec\":null,\"fetchSpec\":\"0.21.4\"},\"_requiredBy\":[\"/\"],\"_resolved\":\"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz\",\"_spec\":\"0.21.4\",\"_where\":\"D:\\\\teaching\\\\FT_2023.70_10\\\\ol_studyfun_qdui\",\"author\":{\"name\":\"Matt Zabriskie\"},\"browser\":{\"./lib/adapters/http.js\":\"./lib/adapters/xhr.js\"},\"bugs\":{\"url\":\"https://github.com/axios/axios/issues\"},\"bundlesize\":[{\"path\":\"./dist/axios.min.js\",\"threshold\":\"5kB\"}],\"dependencies\":{\"follow-redirects\":\"^1.14.0\"},\"description\":\"Promise based HTTP client for the browser and node.js\",\"devDependencies\":{\"coveralls\":\"^3.0.0\",\"es6-promise\":\"^4.2.4\",\"grunt\":\"^1.3.0\",\"grunt-banner\":\"^0.6.0\",\"grunt-cli\":\"^1.2.0\",\"grunt-contrib-clean\":\"^1.1.0\",\"grunt-contrib-watch\":\"^1.0.0\",\"grunt-eslint\":\"^23.0.0\",\"grunt-karma\":\"^4.0.0\",\"grunt-mocha-test\":\"^0.13.3\",\"grunt-ts\":\"^6.0.0-beta.19\",\"grunt-webpack\":\"^4.0.2\",\"istanbul-instrumenter-loader\":\"^1.0.0\",\"jasmine-core\":\"^2.4.1\",\"karma\":\"^6.3.2\",\"karma-chrome-launcher\":\"^3.1.0\",\"karma-firefox-launcher\":\"^2.1.0\",\"karma-jasmine\":\"^1.1.1\",\"karma-jasmine-ajax\":\"^0.1.13\",\"karma-safari-launcher\":\"^1.0.0\",\"karma-sauce-launcher\":\"^4.3.6\",\"karma-sinon\":\"^1.0.5\",\"karma-sourcemap-loader\":\"^0.3.8\",\"karma-webpack\":\"^4.0.2\",\"load-grunt-tasks\":\"^3.5.2\",\"minimist\":\"^1.2.0\",\"mocha\":\"^8.2.1\",\"sinon\":\"^4.5.0\",\"terser-webpack-plugin\":\"^4.2.3\",\"typescript\":\"^4.0.5\",\"url-search-params\":\"^0.10.0\",\"webpack\":\"^4.44.2\",\"webpack-dev-server\":\"^3.11.0\"},\"homepage\":\"https://axios-http.com\",\"jsdelivr\":\"dist/axios.min.js\",\"keywords\":[\"xhr\",\"http\",\"ajax\",\"promise\",\"node\"],\"license\":\"MIT\",\"main\":\"index.js\",\"name\":\"axios\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/axios/axios.git\"},\"scripts\":{\"build\":\"NODE_ENV=production grunt build\",\"coveralls\":\"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js\",\"examples\":\"node ./examples/server.js\",\"fix\":\"eslint --fix lib/**/*.js\",\"postversion\":\"git push && git push --tags\",\"preversion\":\"npm test\",\"start\":\"node ./sandbox/server.js\",\"test\":\"grunt test\",\"version\":\"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json\"},\"typings\":\"./index.d.ts\",\"unpkg\":\"dist/axios.min.js\",\"version\":\"0.21.4\"}");
|
|
23127
23131
|
|
|
23128
23132
|
/***/ }),
|
|
23129
23133
|
|
|
@@ -24714,17 +24718,6 @@ module.exports = function (it) {
|
|
|
24714
24718
|
};
|
|
24715
24719
|
|
|
24716
24720
|
|
|
24717
|
-
/***/ }),
|
|
24718
|
-
|
|
24719
|
-
/***/ "4dca":
|
|
24720
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
24721
|
-
|
|
24722
|
-
"use strict";
|
|
24723
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_13a1c16e_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("431f");
|
|
24724
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_13a1c16e_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_13a1c16e_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
24725
|
-
/* unused harmony reexport * */
|
|
24726
|
-
|
|
24727
|
-
|
|
24728
24721
|
/***/ }),
|
|
24729
24722
|
|
|
24730
24723
|
/***/ "4e4b":
|
|
@@ -76186,6 +76179,13 @@ function objToArray(obj) {
|
|
|
76186
76179
|
|
|
76187
76180
|
/***/ }),
|
|
76188
76181
|
|
|
76182
|
+
/***/ "824e":
|
|
76183
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
76184
|
+
|
|
76185
|
+
// extracted by mini-css-extract-plugin
|
|
76186
|
+
|
|
76187
|
+
/***/ }),
|
|
76188
|
+
|
|
76189
76189
|
/***/ "83b9":
|
|
76190
76190
|
/***/ (function(module, exports, __webpack_require__) {
|
|
76191
76191
|
|
|
@@ -86396,8 +86396,8 @@ header_src.install = function (Vue) {
|
|
|
86396
86396
|
};
|
|
86397
86397
|
|
|
86398
86398
|
/* harmony default export */ var header = (header_src);
|
|
86399
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1906dca8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/question/src/index.vue?vue&type=template&id=
|
|
86400
|
-
var
|
|
86399
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1906dca8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/question/src/index.vue?vue&type=template&id=7bc45c6c&scoped=true&
|
|
86400
|
+
var srcvue_type_template_id_7bc45c6c_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"ft-question"},[_c('div',{staticClass:"question-top"},[_c('div',{staticClass:"question-number"},[_vm._v(_vm._s(_vm.itemIndex)+".")]),_c('div',{staticClass:"question-type"},[_vm._v(_vm._s(_vm.itemCategoryName))]),(!_vm.fromWrong)?_c('div',{staticClass:"question-attribute"},[_vm._v("\n "+_vm._s(_vm.getShowNameTime(_vm.itemInfo))+"\n ")]):_c('div',{staticClass:"wrong"},[_c('div',{staticClass:"question-tag",style:(_vm.difficultyColorDic[_vm.difficultyId])},[_vm._v("\n "+_vm._s(_vm.difficultyName)+"\n ")]),_c('div',{staticClass:"question-attribute"},[_vm._v("\n "+_vm._s(_vm.scoreContent)+"\n ")]),(_vm.studentsList && _vm.studentsList.length)?_c('div',{staticClass:"question-attribute"},[_vm._v("\n "+_vm._s(_vm.mistakeContent)+"\n ")]):_vm._e()]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.topicName && _vm.topicName.length > 0),expression:"topicName && topicName.length > 0"}],class:['question-tag', 'question-special']},[_vm._v("\n "+_vm._s(_vm.topicName)+"\n ")]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.difficultyId && _vm.difficultyId.length > 0),expression:"difficultyId && difficultyId.length > 0"}],staticClass:"question-tag",style:(!_vm.difficultyId || _vm.difficultyId.length == 0
|
|
86401
86401
|
? _vm.undefinedDifficulty
|
|
86402
86402
|
: _vm.difficultyColorDic[_vm.difficultyId])},[_vm._v("\n "+_vm._s(!_vm.difficultyId || _vm.difficultyId.length == 0
|
|
86403
86403
|
? "未定义"
|
|
@@ -86412,10 +86412,10 @@ var srcvue_type_template_id_13a1c16e_scoped_true_render = function render(){var
|
|
|
86412
86412
|
'%26itemBankType%3D' +
|
|
86413
86413
|
_vm.currentItemBankType,"href":"javascript:void(0)"}},[_c('i',{staticClass:"icon-edit-btn"}),_vm._v("编辑")]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showDeleteBtn),expression:"showDeleteBtn"}],staticClass:"tool-btn",on:{"click":_vm.deleteQuestion}},[_c('i',{staticClass:"icon-delete-btn"}),_vm._v("删除\n ")])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showAnalysis),expression:"showAnalysis"}],key:'analysis' + _vm.questionKey,staticClass:"question-analysis",attrs:{"id":'answer-analysis-' + _vm.itemInfoId}},[_c('ft-answer-detail',{attrs:{"pointNames":_vm.pointNames,"klNames":_vm.klNames,"skill":_vm.skill,"answer":_vm.answer,"analysis":_vm.analysis,"cqNames":_vm.cqNames}})],1)])
|
|
86414
86414
|
}
|
|
86415
|
-
var
|
|
86415
|
+
var srcvue_type_template_id_7bc45c6c_scoped_true_staticRenderFns = []
|
|
86416
86416
|
|
|
86417
86417
|
|
|
86418
|
-
// CONCATENATED MODULE: ./packages/question/src/index.vue?vue&type=template&id=
|
|
86418
|
+
// CONCATENATED MODULE: ./packages/question/src/index.vue?vue&type=template&id=7bc45c6c&scoped=true&
|
|
86419
86419
|
|
|
86420
86420
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1906dca8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/answer-detail/src/index.vue?vue&type=template&id=07d95ed9&scoped=true&
|
|
86421
86421
|
var srcvue_type_template_id_07d95ed9_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"ft-answer-detail"},[(_vm.$store.state.enableShowPoint)?_c('div',{staticClass:"analysis-cell"},[_c('div',{staticClass:"cell-title"},[_vm._v("【考点】")]),_c('div',{staticClass:"cell-content",domProps:{"innerHTML":_vm._s(_vm.pointNames)}})]):_vm._e(),_c('div',{staticClass:"analysis-cell"},[_c('div',{staticClass:"cell-title"},[_vm._v("【知识点】")]),_c('div',{staticClass:"cell-content",domProps:{"innerHTML":_vm._s(_vm.klNames)}})]),_c('div',{staticClass:"analysis-cell"},[_c('div',{staticClass:"cell-title"},[_vm._v("【技能】")]),_c('div',{staticClass:"cell-content",domProps:{"innerHTML":_vm._s(_vm.skill)}})]),(_vm.$store.state.coreLiteracyFlag)?_c('div',{staticClass:"analysis-cell"},[_c('div',{staticClass:"cell-title"},[_vm._v("【素养】")]),_c('div',{staticClass:"cell-content",domProps:{"innerHTML":_vm._s(_vm.cqNames)}})]):_vm._e(),_c('div',{staticClass:"analysis-cell"},[_c('div',{staticClass:"cell-title"},[_vm._v("【答案】")]),_c('div',{staticClass:"answer-cell-content",domProps:{"innerHTML":_vm._s(_vm.answer)}})]),_c('div',{staticClass:"analysis-cell"},[_c('div',{staticClass:"cell-title"},[_vm._v("【解析】")]),_c('div',{staticClass:"analysis-cell-content",domProps:{"innerHTML":_vm._s(_vm.analysis)}})])])
|
|
@@ -86681,7 +86681,8 @@ answer_detail_src.install = function (Vue) {
|
|
|
86681
86681
|
? "·" + itemInfo.districtName
|
|
86682
86682
|
: "");
|
|
86683
86683
|
}
|
|
86684
|
-
|
|
86684
|
+
let year = itemInfo.year==0?'':itemInfo.year
|
|
86685
|
+
return "(" + content + " " + year + ")";
|
|
86685
86686
|
},
|
|
86686
86687
|
showAnswer() {
|
|
86687
86688
|
this.showAnalysis = !this.showAnalysis;
|
|
@@ -86732,8 +86733,8 @@ answer_detail_src.install = function (Vue) {
|
|
|
86732
86733
|
|
|
86733
86734
|
// CONCATENATED MODULE: ./packages/question/src/index.vue?vue&type=script&lang=js&
|
|
86734
86735
|
/* harmony default export */ var packages_question_srcvue_type_script_lang_js_ = (question_srcvue_type_script_lang_js_);
|
|
86735
|
-
// EXTERNAL MODULE: ./packages/question/src/index.vue?vue&type=style&index=0&id=
|
|
86736
|
-
var
|
|
86736
|
+
// EXTERNAL MODULE: ./packages/question/src/index.vue?vue&type=style&index=0&id=7bc45c6c&prod&scoped=true&lang=scss&
|
|
86737
|
+
var srcvue_type_style_index_0_id_7bc45c6c_prod_scoped_true_lang_scss_ = __webpack_require__("354b");
|
|
86737
86738
|
|
|
86738
86739
|
// CONCATENATED MODULE: ./packages/question/src/index.vue
|
|
86739
86740
|
|
|
@@ -86746,11 +86747,11 @@ var srcvue_type_style_index_0_id_13a1c16e_prod_scoped_true_lang_scss_ = __webpac
|
|
|
86746
86747
|
|
|
86747
86748
|
var question_src_component = normalizeComponent(
|
|
86748
86749
|
packages_question_srcvue_type_script_lang_js_,
|
|
86749
|
-
|
|
86750
|
-
|
|
86750
|
+
srcvue_type_template_id_7bc45c6c_scoped_true_render,
|
|
86751
|
+
srcvue_type_template_id_7bc45c6c_scoped_true_staticRenderFns,
|
|
86751
86752
|
false,
|
|
86752
86753
|
null,
|
|
86753
|
-
"
|
|
86754
|
+
"7bc45c6c",
|
|
86754
86755
|
null
|
|
86755
86756
|
|
|
86756
86757
|
)
|