ecinc-cloud-wappaio 9.0.147 → 9.0.149
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/i18n/index.js +58 -0
- package/index.js +2 -1
- package/lib/{ecwappaio.common.548.js → ecwappaio.common.974.js} +13 -13
- package/lib/ecwappaio.common.js +3423 -2394
- package/lib/{ecwappaio.umd.593.js → ecwappaio.umd.958.js} +13 -13
- package/lib/ecwappaio.umd.js +3423 -2394
- package/lib/{ecwappaio.umd.min.564.js → ecwappaio.umd.min.719.js} +1 -1
- package/lib/ecwappaio.umd.min.js +15 -15
- package/package.json +1 -1
package/i18n/index.js
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import ELEMENT from 'element-ui'
|
|
3
|
+
import VueI18n from 'vue-i18n'
|
|
4
|
+
import Cookies from 'js-cookie'
|
|
5
|
+
|
|
6
|
+
import { getLanguage, generateTitle, commonMessages } from '../../../common/lang/index'
|
|
7
|
+
import wplusMessages from '../../../ecwplus/lang/index'
|
|
8
|
+
|
|
9
|
+
const messages = require('@/global/lang/index')
|
|
10
|
+
|
|
11
|
+
if (ELEMENT.lang) {
|
|
12
|
+
const elementEnLocale = ELEMENT.lang.en
|
|
13
|
+
const elementZhLocale = ELEMENT.lang.zhCN
|
|
14
|
+
const elementEsLocale = ELEMENT.lang.es
|
|
15
|
+
const elementJaLocale = ELEMENT.lang.ja
|
|
16
|
+
|
|
17
|
+
messages.en = {
|
|
18
|
+
...messages.en,
|
|
19
|
+
...commonMessages.en,
|
|
20
|
+
...wplusMessages.en,
|
|
21
|
+
...elementEnLocale
|
|
22
|
+
}
|
|
23
|
+
messages.zhCN = {
|
|
24
|
+
...messages.zhCN,
|
|
25
|
+
...commonMessages.zhCN,
|
|
26
|
+
...wplusMessages.zhCN,
|
|
27
|
+
...elementZhLocale
|
|
28
|
+
}
|
|
29
|
+
messages.es = {
|
|
30
|
+
...messages.es,
|
|
31
|
+
...commonMessages.es,
|
|
32
|
+
...wplusMessages.es,
|
|
33
|
+
...elementEsLocale
|
|
34
|
+
}
|
|
35
|
+
messages.ja = {
|
|
36
|
+
...messages.ja,
|
|
37
|
+
...commonMessages.ja,
|
|
38
|
+
...wplusMessages.ja,
|
|
39
|
+
...elementJaLocale
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
Vue.use(ELEMENT, {
|
|
44
|
+
size: Cookies.get('size') || 'medium', // set element-ui default size
|
|
45
|
+
i18n: (key, value) => i18n.t(key, value)
|
|
46
|
+
})
|
|
47
|
+
Vue.use(VueI18n)
|
|
48
|
+
|
|
49
|
+
const i18n = new VueI18n({
|
|
50
|
+
// set locale
|
|
51
|
+
// options: en | zh | es
|
|
52
|
+
locale: getLanguage(),
|
|
53
|
+
// set locale messages
|
|
54
|
+
messages
|
|
55
|
+
})
|
|
56
|
+
i18n.generateTitle = generateTitle
|
|
57
|
+
|
|
58
|
+
export default i18n
|
package/index.js
CHANGED
|
@@ -28,6 +28,7 @@ import SvgIcon from '../../ecwapp/SvgIcon/index'
|
|
|
28
28
|
import WfNames from '../../ecwapp/WfNames/index'
|
|
29
29
|
import { Attachment, BodyFile, CommandBar, HandleIdea, IdeaInputBox, ModifyWflogAddUser, ModifyWflogSubmitFile, ModifyWflogIdea, WriteToReadIdea, ModifyWfNodelog, SelectOuterDeputy, SubmitHandle, SubmitDialog, WfNodelogList, WflowView, ImgView, IdeaSignature, ReplaceFile, ViewBodyFile } from '../../ecwapp/Wflowform'
|
|
30
30
|
import { PDFInjector, TextRecognition } from '../../ecwapp/TextRecognition/index'
|
|
31
|
+
import '../../common/directive/index'
|
|
31
32
|
import '../../ecwapp/Directive/index'
|
|
32
33
|
|
|
33
34
|
import { Product, ProductRoleMgr } from '../../ecwplat/Product'
|
|
@@ -184,7 +185,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
184
185
|
}, 0)
|
|
185
186
|
}
|
|
186
187
|
|
|
187
|
-
import $i18n from '
|
|
188
|
+
import $i18n from './i18n/index'
|
|
188
189
|
export const i18n = $i18n
|
|
189
190
|
|
|
190
191
|
export default {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
((typeof self !== 'undefined' ? self : this)["webpackChunkecinc_cloud_ecyapp"] = (typeof self !== 'undefined' ? self : this)["webpackChunkecinc_cloud_ecyapp"] || []).push([[
|
|
1
|
+
((typeof self !== 'undefined' ? self : this)["webpackChunkecinc_cloud_ecyapp"] = (typeof self !== 'undefined' ? self : this)["webpackChunkecinc_cloud_ecyapp"] || []).push([[974],{
|
|
2
2
|
|
|
3
|
-
/***/
|
|
3
|
+
/***/ 80974:
|
|
4
4
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5
5
|
|
|
6
6
|
"use strict";
|
|
@@ -12,7 +12,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
12
12
|
"default": function() { return /* binding */ Grid24colPageModule; }
|
|
13
13
|
});
|
|
14
14
|
|
|
15
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/PortalPageDesigner/src/components/Grid24colPageModule.vue?vue&type=template&id=
|
|
15
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/PortalPageDesigner/src/components/Grid24colPageModule.vue?vue&type=template&id=4f96578a&scoped=true
|
|
16
16
|
var render = function render() {
|
|
17
17
|
var _vm = this,
|
|
18
18
|
_c = _vm._self._c;
|
|
@@ -568,7 +568,7 @@ var GridItem = VueGridLayout.GridItem;
|
|
|
568
568
|
var _this3 = this;
|
|
569
569
|
// 删除
|
|
570
570
|
var portletVo = this.grids[index];
|
|
571
|
-
this.$confirm('确认要删除“' + portletVo.name + '”吗?', '
|
|
571
|
+
this.$confirm('确认要删除“' + portletVo.name + '”吗?', this.$t('common.confirm'), {
|
|
572
572
|
type: 'warning'
|
|
573
573
|
}).then(function () {
|
|
574
574
|
if (portletVo.dataType === 'topElement') {
|
|
@@ -716,9 +716,9 @@ var GridItem = VueGridLayout.GridItem;
|
|
|
716
716
|
});
|
|
717
717
|
;// CONCATENATED MODULE: ./packages/ecwplus/PortalPageDesigner/src/components/Grid24colPageModule.vue?vue&type=script&lang=js
|
|
718
718
|
/* harmony default export */ var components_Grid24colPageModulevue_type_script_lang_js = (Grid24colPageModulevue_type_script_lang_js);
|
|
719
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/PortalPageDesigner/src/components/Grid24colPageModule.vue?vue&type=style&index=0&id=
|
|
720
|
-
var
|
|
721
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/PortalPageDesigner/src/components/Grid24colPageModule.vue?vue&type=style&index=0&id=
|
|
719
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/PortalPageDesigner/src/components/Grid24colPageModule.vue?vue&type=style&index=0&id=4f96578a&prod&lang=scss&scoped=true
|
|
720
|
+
var Grid24colPageModulevue_type_style_index_0_id_4f96578a_prod_lang_scss_scoped_true = __webpack_require__(16718);
|
|
721
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/PortalPageDesigner/src/components/Grid24colPageModule.vue?vue&type=style&index=0&id=4f96578a&prod&lang=scss&scoped=true
|
|
722
722
|
|
|
723
723
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
724
724
|
var componentNormalizer = __webpack_require__(81656);
|
|
@@ -737,7 +737,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
737
737
|
staticRenderFns,
|
|
738
738
|
false,
|
|
739
739
|
null,
|
|
740
|
-
"
|
|
740
|
+
"4f96578a",
|
|
741
741
|
null
|
|
742
742
|
|
|
743
743
|
)
|
|
@@ -746,7 +746,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
746
746
|
|
|
747
747
|
/***/ }),
|
|
748
748
|
|
|
749
|
-
/***/
|
|
749
|
+
/***/ 35544:
|
|
750
750
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
751
751
|
|
|
752
752
|
"use strict";
|
|
@@ -760,26 +760,26 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
760
760
|
|
|
761
761
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
762
762
|
// Module
|
|
763
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
763
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-4f96578a]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.vue-grid-item[data-v-4f96578a]{background:#fff;border:1px solid #e4e7ed;overflow:hidden}.vue-grid-item .content-item[data-v-4f96578a]{width:100%;height:100%;overflow:hidden;background-color:rgba(83,168,255,.2)!important}.layer-content[data-v-4f96578a]{background:rgba(83,168,255,.2)}.layer-content[data-v-4f96578a],.setting[data-v-4f96578a]{position:absolute;top:0;bottom:0;left:0;right:0}.setting[data-v-4f96578a]{display:none;height:40px;z-index:400}.setting img[data-v-4f96578a]{width:32px;height:32px;float:right;cursor:pointer;margin-top:5px;margin-right:5px}", ""]);
|
|
764
764
|
// Exports
|
|
765
765
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
766
766
|
|
|
767
767
|
|
|
768
768
|
/***/ }),
|
|
769
769
|
|
|
770
|
-
/***/
|
|
770
|
+
/***/ 16718:
|
|
771
771
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
772
772
|
|
|
773
773
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
774
774
|
|
|
775
775
|
// load the styles
|
|
776
|
-
var content = __webpack_require__(
|
|
776
|
+
var content = __webpack_require__(35544);
|
|
777
777
|
if(content.__esModule) content = content.default;
|
|
778
778
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
779
779
|
if(content.locals) module.exports = content.locals;
|
|
780
780
|
// add the styles to the DOM
|
|
781
781
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
782
|
-
var update = add("
|
|
782
|
+
var update = add("c7ce8958", content, true, {"sourceMap":false,"shadowMode":false});
|
|
783
783
|
|
|
784
784
|
/***/ })
|
|
785
785
|
|