mcrm-mobile 1.3.5 → 1.3.6-beta
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/es/index.js +1 -1
- package/es/utils/http.js +2 -2
- package/es/utils/index.js +2 -2
- package/lib/index.js +1 -1
- package/lib/mcrm-mobile.js +5 -5
- package/lib/mcrm-mobile.min.js +5 -5
- package/lib/utils/http.js +2 -2
- package/lib/utils/index.js +2 -2
- package/package.json +1 -1
- package/vetur/attributes.json +40 -40
- package/vetur/tags.json +18 -18
- package/vetur/web-types.json +127 -127
package/es/index.js
CHANGED
|
@@ -91,7 +91,7 @@ import Tag from './tag';
|
|
|
91
91
|
import Toast from './toast';
|
|
92
92
|
import TreeSelect from './tree-select';
|
|
93
93
|
import Uploader from './uploader';
|
|
94
|
-
var version = '1.3.
|
|
94
|
+
var version = '1.3.6-beta';
|
|
95
95
|
var components = [ActionSheet, AddressPicker, Api, Badge, Biz, Button, Calendar, Card, Cell, CellGroup, Checkbox, CheckboxGroup, Circle, Col, Collapse, CollapseItem, CommonUtils, CountDown, DataProcess, DatePicker, DatetimePicker, Dialog, Directive, Divider, Drag, DropdownItem, DropdownMenu, Empty, Field, GoodsAction, GoodsActionButton, GoodsActionIcon, Grid, GridItem, Http, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, List, Loading, Local, Menu, MenuIcon, MenuJump, Menus, NavBar, NoticeBar, Notify, Overlay, Pagination, Panel, PasswordInput, Picker, Popover, Popup, Progress, PullRefresh, Radio, RadioGroup, Rank, Rate, Row, SafeKeyboard, Search, Session, ShareSheet, Sidebar, SidebarItem, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Table, TableColumn, Tabs, Tag, Toast, TreeSelect, Uploader];
|
|
96
96
|
|
|
97
97
|
var install = function install(Vue) {
|
package/es/utils/http.js
CHANGED
|
@@ -34,7 +34,7 @@ instanceJson.interceptors.request.use(function (config) {
|
|
|
34
34
|
config.headers && (config.headers["Secure-Version"] = "V1.0");
|
|
35
35
|
var data = config.data;
|
|
36
36
|
typeof data === "object" && (data = JSON.stringify(data));
|
|
37
|
-
config.data = dataProcess.aesEncrypt(data,
|
|
37
|
+
config.data = dataProcess.aesEncrypt(data, window.Keys[3].key, window.Keys[3].iv);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
if (SESSIONNEED && SESSIONNEED !== "null") {
|
|
@@ -52,7 +52,7 @@ instanceJson.interceptors.response.use(function (response) {
|
|
|
52
52
|
|
|
53
53
|
if (response.headers["Secure-Version"] || response.config && response.config.headers && response.config.headers["Secure-Version"]) {
|
|
54
54
|
try {
|
|
55
|
-
resData = dataProcess.aesDecrypt(resData,
|
|
55
|
+
resData = dataProcess.aesDecrypt(resData, window.Keys[3].key, window.Keys[3].iv);
|
|
56
56
|
|
|
57
57
|
if (typeof resData === "string") {
|
|
58
58
|
resData = JSON.parse(resData);
|
package/es/utils/index.js
CHANGED
|
@@ -96,7 +96,7 @@ var cacheEncrypt = function cacheEncrypt(value) {
|
|
|
96
96
|
return DataProcess.aesEncrypt(JSON.stringify({
|
|
97
97
|
data: value,
|
|
98
98
|
type: typeof value
|
|
99
|
-
}),
|
|
99
|
+
}), window.Keys[3].key, window.Keys[3].iv);
|
|
100
100
|
};
|
|
101
101
|
|
|
102
102
|
var cacheDecrypt = function cacheDecrypt(data) {
|
|
@@ -118,7 +118,7 @@ var cacheDecrypt = function cacheDecrypt(data) {
|
|
|
118
118
|
|
|
119
119
|
try {
|
|
120
120
|
if (isDef(data)) {
|
|
121
|
-
var decryptData = DataProcess.aesDecrypt(data,
|
|
121
|
+
var decryptData = DataProcess.aesDecrypt(data, window.Keys[3].key, window.Keys[3].iv);
|
|
122
122
|
|
|
123
123
|
if (decryptData) {
|
|
124
124
|
var objData = JSON.parse(decryptData);
|
package/lib/index.js
CHANGED
|
@@ -373,7 +373,7 @@ var _uploader = _interopRequireDefault(require("./uploader"));
|
|
|
373
373
|
|
|
374
374
|
exports.Uploader = _uploader.default;
|
|
375
375
|
// This file is auto generated by build/build-entry.js
|
|
376
|
-
var version = '1.3.
|
|
376
|
+
var version = '1.3.6-beta';
|
|
377
377
|
exports.version = version;
|
|
378
378
|
var components = [_actionSheet.default, _addressPicker.default, _api.default, _badge.default, _biz.default, _button.default, _calendar.default, _card.default, _cell.default, _cellGroup.default, _checkbox.default, _checkboxGroup.default, _circle.default, _col.default, _collapse.default, _collapseItem.default, _commonUtils.default, _countDown.default, _dataProcess.default, _datePicker.default, _datetimePicker.default, _dialog.default, _directive.default, _divider.default, _drag.default, _dropdownItem.default, _dropdownMenu.default, _empty.default, _field.default, _goodsAction.default, _goodsActionButton.default, _goodsActionIcon.default, _grid.default, _gridItem.default, _http.default, _icon.default, _image.default, _imagePreview.default, _indexAnchor.default, _indexBar.default, _info.default, _list.default, _loading.default, _local.default, _menu.default, _menuIcon.default, _menuJump.default, _menus.default, _navBar.default, _noticeBar.default, _notify.default, _overlay.default, _pagination.default, _panel.default, _passwordInput.default, _picker.default, _popover.default, _popup.default, _progress.default, _pullRefresh.default, _radio.default, _radioGroup.default, _rank.default, _rate.default, _row.default, _safeKeyboard.default, _search.default, _session.default, _shareSheet.default, _sidebar.default, _sidebarItem.default, _slider.default, _step.default, _stepper.default, _steps.default, _sticky.default, _swipe.default, _swipeCell.default, _swipeItem.default, _switch.default, _switchCell.default, _tab.default, _tabbar.default, _tabbarItem.default, _table.default, _tableColumn.default, _tabs.default, _tag.default, _toast.default, _treeSelect.default, _uploader.default];
|
|
379
379
|
|
package/lib/mcrm-mobile.js
CHANGED
|
@@ -221,7 +221,7 @@ var cacheEncrypt = function cacheEncrypt(value) {
|
|
|
221
221
|
return _data_process__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"].aesEncrypt(JSON.stringify({
|
|
222
222
|
data: value,
|
|
223
223
|
type: typeof value
|
|
224
|
-
}),
|
|
224
|
+
}), window.Keys[3].key, window.Keys[3].iv);
|
|
225
225
|
};
|
|
226
226
|
|
|
227
227
|
var cacheDecrypt = function cacheDecrypt(data) {
|
|
@@ -243,7 +243,7 @@ var cacheDecrypt = function cacheDecrypt(data) {
|
|
|
243
243
|
|
|
244
244
|
try {
|
|
245
245
|
if (isDef(data)) {
|
|
246
|
-
var decryptData = _data_process__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"].aesDecrypt(data,
|
|
246
|
+
var decryptData = _data_process__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"].aesDecrypt(data, window.Keys[3].key, window.Keys[3].iv);
|
|
247
247
|
|
|
248
248
|
if (decryptData) {
|
|
249
249
|
var objData = JSON.parse(decryptData);
|
|
@@ -23686,7 +23686,7 @@ instanceJson.interceptors.request.use(function (config) {
|
|
|
23686
23686
|
config.headers && (config.headers["Secure-Version"] = "V1.0");
|
|
23687
23687
|
var data = config.data;
|
|
23688
23688
|
typeof data === "object" && (data = JSON.stringify(data));
|
|
23689
|
-
config.data = data_process["a" /* default */].aesEncrypt(data,
|
|
23689
|
+
config.data = data_process["a" /* default */].aesEncrypt(data, window.Keys[3].key, window.Keys[3].iv);
|
|
23690
23690
|
}
|
|
23691
23691
|
|
|
23692
23692
|
if (SESSIONNEED && SESSIONNEED !== "null") {
|
|
@@ -23704,7 +23704,7 @@ instanceJson.interceptors.response.use(function (response) {
|
|
|
23704
23704
|
|
|
23705
23705
|
if (response.headers["Secure-Version"] || response.config && response.config.headers && response.config.headers["Secure-Version"]) {
|
|
23706
23706
|
try {
|
|
23707
|
-
resData = data_process["a" /* default */].aesDecrypt(resData,
|
|
23707
|
+
resData = data_process["a" /* default */].aesDecrypt(resData, window.Keys[3].key, window.Keys[3].iv);
|
|
23708
23708
|
|
|
23709
23709
|
if (typeof resData === "string") {
|
|
23710
23710
|
resData = JSON.parse(resData);
|
|
@@ -41331,7 +41331,7 @@ function isImageFile(item) {
|
|
|
41331
41331
|
|
|
41332
41332
|
|
|
41333
41333
|
|
|
41334
|
-
var version = '1.3.
|
|
41334
|
+
var version = '1.3.6-beta';
|
|
41335
41335
|
var components = [action_sheet, address_picker, api, badge, biz, es_button, calendar, card, es_cell, cell_group, es_checkbox, checkbox_group, circle, col, collapse, collapse_item, common_utils, count_down, data_process["a" /* default */], date_picker, datetime_picker, dialog, directive, divider, drag, dropdown_item, dropdown_menu, empty, field, goods_action, goods_action_button, goods_action_icon, grid, grid_item, http, icon, es_image, image_preview, index_anchor, index_bar, es_info, list, loading, local, es_menu, menu_icon, menu_jump, es_menus, nav_bar, notice_bar, notify, es_overlay, pagination, panel, password_input, es_picker, popover, es_popup, es_progress, pull_refresh, es_radio, radio_group, rank, es_rate, row, safe_keyboard, search, session["a" /* default */], share_sheet, sidebar, sidebar_item, slider, es_step, stepper, steps, sticky, swipe, swipe_cell, swipe_item, es_switch, switch_cell, tab, tabbar, tabbar_item, table, table_column, tabs, tag, es_toast, tree_select, uploader];
|
|
41336
41336
|
|
|
41337
41337
|
var es_install = function install(Vue) {
|