@varlet/ui 2.9.4-alpha.1680163809083 → 2.9.4-alpha.1680182061982
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.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/tabs/Tabs.mjs +2 -1
- package/es/varlet.esm.js +104 -104
- package/highlight/web-types.en-US.json +1 -1
- package/highlight/web-types.zh-CN.json +1 -1
- package/lib/varlet.cjs.js +2 -1
- package/package.json +6 -6
- package/umd/varlet.js +4 -4
package/es/index.bundle.mjs
CHANGED
|
@@ -241,7 +241,7 @@ import './time-picker/style/index.mjs'
|
|
|
241
241
|
import './tooltip/style/index.mjs'
|
|
242
242
|
import './uploader/style/index.mjs'
|
|
243
243
|
|
|
244
|
-
const version = '2.9.4-alpha.
|
|
244
|
+
const version = '2.9.4-alpha.1680182061982'
|
|
245
245
|
|
|
246
246
|
function install(app) {
|
|
247
247
|
ActionSheet.install && app.use(ActionSheet)
|
package/es/index.mjs
CHANGED
|
@@ -160,7 +160,7 @@ export * from './time-picker/index.mjs'
|
|
|
160
160
|
export * from './tooltip/index.mjs'
|
|
161
161
|
export * from './uploader/index.mjs'
|
|
162
162
|
|
|
163
|
-
const version = '2.9.4-alpha.
|
|
163
|
+
const version = '2.9.4-alpha.1680182061982'
|
|
164
164
|
|
|
165
165
|
function install(app) {
|
|
166
166
|
ActionSheet.install && app.use(ActionSheet)
|
package/es/tabs/Tabs.mjs
CHANGED
|
@@ -3,7 +3,7 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
|
|
|
3
3
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
4
4
|
|
|
5
5
|
import VarSticky from '../sticky/index.mjs';
|
|
6
|
-
import { defineComponent, watch, ref, computed, Transition } from 'vue';
|
|
6
|
+
import { defineComponent, watch, ref, computed, Transition, onActivated } from 'vue';
|
|
7
7
|
import { props } from './props.mjs';
|
|
8
8
|
import { useTabList } from './provide.mjs';
|
|
9
9
|
import { isNumber } from '@varlet/shared';
|
|
@@ -221,6 +221,7 @@ var __sfc__ = defineComponent({
|
|
|
221
221
|
watch(() => props.active, resize);
|
|
222
222
|
watch(() => props.scrollable, resize);
|
|
223
223
|
useEventListener(window, 'resize', resize);
|
|
224
|
+
onActivated(resize);
|
|
224
225
|
return {
|
|
225
226
|
stickyComponent,
|
|
226
227
|
indicatorWidth,
|