@dcloudio/uni-mp-toutiao 3.0.0-alpha-3030820220114004 → 3.0.0-alpha-3030920220121001
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/dist/uni.mp.esm.js +6 -7
- package/package.json +7 -7
package/dist/uni.mp.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isPlainObject, isArray, hasOwn, isFunction, extend, camelize, isObject } from '@vue/shared';
|
|
2
2
|
import { injectHook, ref, nextTick, findComponentPropsData, toRaw, updateProps, invalidateJob, getExposeProxy, pruneComponentPropsCache } from 'vue';
|
|
3
3
|
|
|
4
4
|
const ON_READY$1 = 'onReady';
|
|
@@ -88,11 +88,6 @@ const ON_REACH_BOTTOM = 'onReachBottom';
|
|
|
88
88
|
const ON_PULL_DOWN_REFRESH = 'onPullDownRefresh';
|
|
89
89
|
const ON_ADD_TO_FAVORITES = 'onAddToFavorites';
|
|
90
90
|
|
|
91
|
-
const customizeRE = /:/g;
|
|
92
|
-
function customizeEvent(str) {
|
|
93
|
-
return camelize(str.replace(customizeRE, '-'));
|
|
94
|
-
}
|
|
95
|
-
|
|
96
91
|
const encode = encodeURIComponent;
|
|
97
92
|
function stringifyQuery(obj, encodeStr = encode) {
|
|
98
93
|
const res = obj
|
|
@@ -859,10 +854,14 @@ function initCreatePage(parseOptions) {
|
|
|
859
854
|
|
|
860
855
|
const MPPage = Page;
|
|
861
856
|
const MPComponent = Component;
|
|
857
|
+
const customizeRE = /:/g;
|
|
858
|
+
function customize(str) {
|
|
859
|
+
return camelize(str.replace(customizeRE, '-'));
|
|
860
|
+
}
|
|
862
861
|
function initTriggerEvent(mpInstance) {
|
|
863
862
|
const oldTriggerEvent = mpInstance.triggerEvent;
|
|
864
863
|
mpInstance.triggerEvent = function (event, ...args) {
|
|
865
|
-
return oldTriggerEvent.apply(mpInstance, [
|
|
864
|
+
return oldTriggerEvent.apply(mpInstance, [customize(event), ...args]);
|
|
866
865
|
};
|
|
867
866
|
}
|
|
868
867
|
function initHook(name, options, isComponent) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-mp-toutiao",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-3030920220121001",
|
|
4
4
|
"description": "uni-app mp-toutiao",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@dcloudio/uni-cli-shared": "3.0.0-alpha-
|
|
26
|
-
"@dcloudio/uni-mp-compiler": "3.0.0-alpha-
|
|
27
|
-
"@dcloudio/uni-mp-vite": "3.0.0-alpha-
|
|
28
|
-
"@dcloudio/uni-mp-vue": "3.0.0-alpha-
|
|
29
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
30
|
-
"@vue/compiler-core": "3.2.
|
|
25
|
+
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3030920220121001",
|
|
26
|
+
"@dcloudio/uni-mp-compiler": "3.0.0-alpha-3030920220121001",
|
|
27
|
+
"@dcloudio/uni-mp-vite": "3.0.0-alpha-3030920220121001",
|
|
28
|
+
"@dcloudio/uni-mp-vue": "3.0.0-alpha-3030920220121001",
|
|
29
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-3030920220121001",
|
|
30
|
+
"@vue/compiler-core": "3.2.26"
|
|
31
31
|
}
|
|
32
32
|
}
|