From 77c2bdd45ca70e57667b346585edc5034cbd821e Mon Sep 17 00:00:00 2001 From: Liuyi <candymxq888@outlook.com> Date: 星期六, 28 九月 2024 17:48:30 +0800 Subject: [PATCH] 调通地址管理及新增接口,调整树形区域组件 --- unpackage/dist/dev/mp-weixin/common/vendor.js | 135 ++++++--------------------------------------- 1 files changed, 18 insertions(+), 117 deletions(-) diff --git a/unpackage/dist/dev/mp-weixin/common/vendor.js b/unpackage/dist/dev/mp-weixin/common/vendor.js index 46a2213..6be32ba 100644 --- a/unpackage/dist/dev/mp-weixin/common/vendor.js +++ b/unpackage/dist/dev/mp-weixin/common/vendor.js @@ -1292,13 +1292,13 @@ let _SDKVersion = SDKVersion; const hostLanguage = language.replace(/_/g, "-"); const parameters = { - appId: "", + appId: "__UNI__97986D6", appName: "water-drinking-uniapp", appVersion: "1.0.0", appVersionCode: "100", appLanguage: getAppLanguage(hostLanguage), - uniCompileVersion: "4.24", - uniRuntimeVersion: "4.24", + uniCompileVersion: "4.28", + uniRuntimeVersion: "4.28", uniPlatform: "mp-weixin", deviceBrand, deviceModel: model, @@ -1436,7 +1436,7 @@ hostName: _hostName, hostSDKVersion: SDKVersion, hostTheme: theme, - appId: "", + appId: "__UNI__97986D6", appName: "water-drinking-uniapp", appVersion: "1.0.0", appVersionCode: "100", @@ -4233,6 +4233,15 @@ } else { warn$1(`inject() can only be used inside setup() or functional components.`); } +} +/*! #__NO_SIDE_EFFECTS__ */ +// @__NO_SIDE_EFFECTS__ +function defineComponent(options, extraOptions) { + return isFunction(options) ? ( + // #8326: extend call and options.name access are considered side-effects + // by Rollup, so we have to wrap it in a pure-annotated IIFE. + /* @__PURE__ */ (() => extend({ name: options.name }, extraOptions, { setup: options }))() + ) : options; } const isKeepAlive = (vnode) => vnode.type.__isKeepAlive; function onActivated(hook, target) { @@ -7659,121 +7668,10 @@ const onShow = /* @__PURE__ */ createHook(ON_SHOW); const onHide = /* @__PURE__ */ createHook(ON_HIDE); const onLaunch = /* @__PURE__ */ createHook(ON_LAUNCH); -class MPAnimation { - constructor(options, _this) { - this.options = options; - this.animation = index.createAnimation({ - ...options - }); - this.currentStepAnimates = {}; - this.next = 0; - this.$ = _this; - } - _nvuePushAnimates(type, args) { - let aniObj = this.currentStepAnimates[this.next]; - let styles = {}; - if (!aniObj) { - styles = { - styles: {}, - config: {} - }; - } else { - styles = aniObj; - } - if (animateTypes1.includes(type)) { - if (!styles.styles.transform) { - styles.styles.transform = ""; - } - let unit = ""; - if (type === "rotate") { - unit = "deg"; - } - styles.styles.transform += `${type}(${args + unit}) `; - } else { - styles.styles[type] = `${args}`; - } - this.currentStepAnimates[this.next] = styles; - } - _animateRun(styles = {}, config = {}) { - let ref2 = this.$.$refs["ani"].ref; - if (!ref2) - return; - return new Promise((resolve2, reject) => { - nvueAnimation.transition(ref2, { - styles, - ...config - }, (res) => { - resolve2(); - }); - }); - } - _nvueNextAnimate(animates, step = 0, fn) { - let obj = animates[step]; - if (obj) { - let { - styles, - config - } = obj; - this._animateRun(styles, config).then(() => { - step += 1; - this._nvueNextAnimate(animates, step, fn); - }); - } else { - this.currentStepAnimates = {}; - typeof fn === "function" && fn(); - this.isEnd = true; - } - } - step(config = {}) { - this.animation.step(config); - return this; - } - run(fn) { - this.$.animationData = this.animation.export(); - this.$.timer = setTimeout(() => { - typeof fn === "function" && fn(); - }, this.$.durationTime); - } -} -const animateTypes1 = [ - "matrix", - "matrix3d", - "rotate", - "rotate3d", - "rotateX", - "rotateY", - "rotateZ", - "scale", - "scale3d", - "scaleX", - "scaleY", - "scaleZ", - "skew", - "skewX", - "skewY", - "translate", - "translate3d", - "translateX", - "translateY", - "translateZ" -]; -const animateTypes2 = ["opacity", "backgroundColor"]; -const animateTypes3 = ["width", "height", "left", "right", "top", "bottom"]; -animateTypes1.concat(animateTypes2, animateTypes3).forEach((type) => { - MPAnimation.prototype[type] = function(...args) { - this.animation[type](...args); - return this; - }; -}); -function createAnimation(option, _this) { - if (!_this) - return; - clearTimeout(_this.timer); - return new MPAnimation(option, _this); -} +const onLoad = /* @__PURE__ */ createHook(ON_LOAD); exports._export_sfc = _export_sfc; -exports.createAnimation = createAnimation; exports.createSSRApp = createSSRApp; +exports.defineComponent = defineComponent; exports.e = e; exports.f = f; exports.index = index; @@ -7781,6 +7679,7 @@ exports.o = o; exports.onHide = onHide; exports.onLaunch = onLaunch; +exports.onLoad = onLoad; exports.onMounted = onMounted; exports.onShow = onShow; exports.p = p; @@ -7790,3 +7689,5 @@ exports.sr = sr; exports.t = t; exports.unref = unref; +exports.watch = watch; +exports.wx$1 = wx$1; -- Gitblit v1.9.3