@varlet/ui 2.19.0-alpha.1700121139736 → 2.19.0
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/countdown/Countdown.mjs +8 -3
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/snackbar/style/index.mjs +1 -1
- package/es/tab/Tab.mjs +1 -1
- package/es/tab/props.mjs +4 -0
- package/es/varlet.esm.js +741 -736
- package/lib/varlet.cjs.js +14 -5
- package/package.json +7 -7
- package/types/tab.d.ts +1 -0
- package/umd/varlet.js +3 -3
- package/highlight/web-types.en-US.json +0 -7577
- package/highlight/web-types.zh-CN.json +0 -7913
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, onActivated, onDeactivated, onUnmounted, ref, watch } from "vue";
|
|
1
|
+
import { defineComponent, onActivated, onDeactivated, onMounted, onUnmounted, ref, watch } from "vue";
|
|
2
2
|
import { props } from "./props.mjs";
|
|
3
3
|
import { createNamespace } from "../utils/components.mjs";
|
|
4
4
|
import { padStart } from "../utils/shared.mjs";
|
|
@@ -52,9 +52,14 @@ const __sfc__ = defineComponent({
|
|
|
52
52
|
if (props2.autoStart) {
|
|
53
53
|
start();
|
|
54
54
|
}
|
|
55
|
-
}
|
|
56
|
-
{ immediate: true }
|
|
55
|
+
}
|
|
57
56
|
);
|
|
57
|
+
onMounted(() => {
|
|
58
|
+
countdown();
|
|
59
|
+
if (props2.autoStart) {
|
|
60
|
+
start();
|
|
61
|
+
}
|
|
62
|
+
});
|
|
58
63
|
onActivated(() => {
|
|
59
64
|
if (cacheIsStart == null) {
|
|
60
65
|
return;
|
package/es/index.bundle.mjs
CHANGED
|
@@ -259,7 +259,7 @@ import './tooltip/style/index.mjs'
|
|
|
259
259
|
import './uploader/style/index.mjs'
|
|
260
260
|
import './watermark/style/index.mjs'
|
|
261
261
|
|
|
262
|
-
const version = '2.19.0
|
|
262
|
+
const version = '2.19.0'
|
|
263
263
|
|
|
264
264
|
function install(app) {
|
|
265
265
|
ActionSheet.install && app.use(ActionSheet)
|
package/es/index.mjs
CHANGED
|
@@ -172,7 +172,7 @@ export * from './tooltip/index.mjs'
|
|
|
172
172
|
export * from './uploader/index.mjs'
|
|
173
173
|
export * from './watermark/index.mjs'
|
|
174
174
|
|
|
175
|
-
const version = '2.19.0
|
|
175
|
+
const version = '2.19.0'
|
|
176
176
|
|
|
177
177
|
function install(app) {
|
|
178
178
|
ActionSheet.install && app.use(ActionSheet)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../../styles/common.css'
|
|
2
|
-
import '../SnackbarSfc.css'
|
|
3
2
|
import '../../styles/elevation.css'
|
|
4
3
|
import '../../loading/loading.css'
|
|
5
4
|
import '../../button/button.css'
|
|
6
5
|
import '../../icon/icon.css'
|
|
7
6
|
import '../snackbar.css'
|
|
8
7
|
import '../coreSfc.css'
|
|
8
|
+
import '../SnackbarSfc.css'
|
package/es/tab/Tab.mjs
CHANGED