提交 d3941156 编写于 作者: Q qiang

chore: build

上级 d8d77c79
......@@ -238,11 +238,13 @@ export default function vueFactory(exports) {
return [hyphenate$1(name.slice(2)), options];
}
var EventModifierFlags = {
stop: 1,
prevent: 1 << 1,
self: 1 << 2
};
var EventModifierFlags = /*#__PURE__*/(() => {
return {
stop: 1,
prevent: 1 << 1,
self: 1 << 2
};
})();
function encodeModifier(modifiers) {
var flag = 0;
......
......@@ -219,11 +219,13 @@ export default function vueFactory(exports) {
return [hyphenate$1(name.slice(2)), options];
}
var EventModifierFlags = {
stop: 1,
prevent: 1 << 1,
self: 1 << 2
};
var EventModifierFlags = /*#__PURE__*/(() => {
return {
stop: 1,
prevent: 1 << 1,
self: 1 << 2
};
})();
function encodeModifier(modifiers) {
var flag = 0;
......
......@@ -2561,8 +2561,8 @@ const props$o = {
}
};
const FIX_MODES = {
widthFix: ["offsetWidth", "height"],
heightFix: ["offsetHeight", "width"]
widthFix: ["offsetWidth", "height", (value, ratio) => value / ratio],
heightFix: ["offsetHeight", "width", (value, ratio) => value * ratio]
};
const IMAGE_MODES = {
aspectFit: ["center center", "contain"],
......@@ -2715,7 +2715,7 @@ function useImageSize(rootRef, props2, state) {
const rootEl = rootRef.value;
const value = rootEl[names[0]];
if (value) {
rootEl.style[names[1]] = fixNumber(value / ratio) + "px";
rootEl.style[names[1]] = fixNumber(names[2](value, ratio)) + "px";
}
};
const resetSize = () => {
......
......@@ -7972,8 +7972,8 @@ const props$v = {
}
};
const FIX_MODES = {
widthFix: ["offsetWidth", "height"],
heightFix: ["offsetHeight", "width"]
widthFix: ["offsetWidth", "height", (value, ratio) => value / ratio],
heightFix: ["offsetHeight", "width", (value, ratio) => value * ratio]
};
const IMAGE_MODES = {
aspectFit: ["center center", "contain"],
......@@ -8138,7 +8138,7 @@ function useImageSize(rootRef, props2, state2) {
const rootEl = rootRef.value;
const value = rootEl[names[0]];
if (value) {
rootEl.style[names[1]] = fixNumber(value / ratio) + "px";
rootEl.style[names[1]] = fixNumber(names[2](value, ratio)) + "px";
}
};
const resetSize = () => {
......
......@@ -127,11 +127,13 @@ class EventChannel {
}
}
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = /*#__PURE__*/ (() => {
return {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
})();
const eventChannels = {};
const eventChannelStack = [];
......
......@@ -195,11 +195,13 @@ class EventChannel {
}
}
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = /*#__PURE__*/ (() => {
return {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
})();
const eventChannels = {};
const eventChannelStack = [];
......
......@@ -190,11 +190,13 @@ class EventChannel {
}
}
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = /*#__PURE__*/ (() => {
return {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
})();
const eventChannels = {};
const eventChannelStack = [];
......
......@@ -190,11 +190,13 @@ class EventChannel {
}
}
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = /*#__PURE__*/ (() => {
return {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
})();
const eventChannels = {};
const eventChannelStack = [];
......
......@@ -190,11 +190,13 @@ class EventChannel {
}
}
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = /*#__PURE__*/ (() => {
return {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
})();
const eventChannels = {};
const eventChannelStack = [];
......
......@@ -190,11 +190,13 @@ class EventChannel {
}
}
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = /*#__PURE__*/ (() => {
return {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
})();
const eventChannels = {};
const eventChannelStack = [];
......
......@@ -62,11 +62,13 @@ const invokeArrayFns = (fns, arg) => {
return ret;
};
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = /*#__PURE__*/ (() => {
return {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
})();
const eventChannels = {};
const eventChannelStack = [];
......
......@@ -190,11 +190,13 @@ class EventChannel {
}
}
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = /*#__PURE__*/ (() => {
return {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
})();
const eventChannels = {};
const eventChannelStack = [];
......
......@@ -701,11 +701,13 @@ function parseEventName(name) {
return [shared.hyphenate(name.slice(2)), options];
}
const EventModifierFlags = {
stop: 1,
prevent: 1 << 1,
self: 1 << 2,
};
const EventModifierFlags = /*#__PURE__*/ (() => {
return {
stop: 1,
prevent: 1 << 1,
self: 1 << 2,
};
})();
function encodeModifier(modifiers) {
let flag = 0;
if (modifiers.includes('stop')) {
......@@ -1280,11 +1282,13 @@ const UniLifecycleHooks = [
ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED,
ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED,
];
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = /*#__PURE__*/ (() => {
return {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
})();
const E = function () {
// Keep this empty so it's easier to inherit from
......
......@@ -697,11 +697,13 @@ function parseEventName(name) {
return [hyphenate(name.slice(2)), options];
}
const EventModifierFlags = {
stop: 1,
prevent: 1 << 1,
self: 1 << 2,
};
const EventModifierFlags = /*#__PURE__*/ (() => {
return {
stop: 1,
prevent: 1 << 1,
self: 1 << 2,
};
})();
function encodeModifier(modifiers) {
let flag = 0;
if (modifiers.includes('stop')) {
......@@ -1276,11 +1278,13 @@ const UniLifecycleHooks = [
ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED,
ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED,
];
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = /*#__PURE__*/ (() => {
return {
onPageScroll: 1,
onShareAppMessage: 1 << 1,
onShareTimeline: 1 << 2,
};
})();
const E = function () {
// Keep this empty so it's easier to inherit from
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册