tdesign-mobile-vue
Version:
tdesign-mobile-vue
57 lines (53 loc) • 1.7 kB
JavaScript
/**
* tdesign v1.9.3
* (c) 2025 TDesign Group
* @license MIT
*/
import { ref } from 'vue';
import '../shared/index.js';
import { isBrowser } from '../shared/util.js';
import '../shared/functions.js';
import '../shared/component.js';
import '../shared/render.js';
import '@babel/runtime/helpers/typeof';
import 'lodash-es';
import '../shared/dom.js';
import '../shared/render-tnode.js';
import '../shared/useCountDown/index.js';
import '@babel/runtime/helpers/asyncToGenerator';
import '@babel/runtime/regenerator';
import '@vueuse/core';
import '../shared/useCountDown/utils.js';
import '@babel/runtime/helpers/slicedToArray';
import '../hooks/useClass.js';
import '../config-provider/useConfig.js';
import '@babel/runtime/helpers/defineProperty';
import '../config-provider/context.js';
import '../_common/js/global-config/mobile/default-config.js';
import '../_common/js/global-config/mobile/locale/zh_CN.js';
import '../_chunks/dep-fe4ae270.js';
import '../_chunks/dep-a8acd638.js';
import 'dayjs';
import '../_chunks/dep-2200259b.js';
import '../config-provider/type.js';
import '../shared/useTouch/index.js';
import '../shared/useScrollParent/index.js';
import '../shared/useTest/index.js';
import '../shared/useClickAway/index.js';
import '@babel/runtime/helpers/toConsumableArray';
import '../shared/hover.js';
var supportsPassive = ref(false);
if (!isBrowser) {
try {
var opts = {};
Object.defineProperty(opts, "passive", {
get: function get() {
supportsPassive.value = true;
return true;
}
});
window.addEventListener("test-passive", null, opts);
} catch (e) {}
}
export { supportsPassive };
//# sourceMappingURL=supportsPassive.js.map