vue-devui 1.3.2 → 1.3.3-alpha.2
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/README.md +2 -0
- package/checkbox/index.es.js +2 -1
- package/checkbox/index.umd.js +3 -3
- package/date-picker-pro/index.es.js +2 -1
- package/date-picker-pro/index.umd.js +4 -4
- package/message/index.es.js +2 -2
- package/message/index.umd.js +1 -1
- package/message/style.css +1 -1
- package/package.json +1 -1
- package/pagination/index.es.js +2 -1
- package/pagination/index.umd.js +1 -1
- package/select/index.es.js +2 -1
- package/select/index.umd.js +4 -4
- package/splitter/index.es.js +6 -15
- package/splitter/index.umd.js +9 -9
- package/style.css +1 -1
- package/table/index.es.js +2 -1
- package/table/index.umd.js +4 -4
- package/time-select/index.es.js +2 -1
- package/time-select/index.umd.js +1 -1
- package/tree/index.es.js +4 -2
- package/tree/index.umd.js +4 -4
- package/types/auto-complete/src/auto-complete-types.d.ts +4 -3
- package/types/auto-complete/src/composables/use-input-handle.d.ts +2 -2
- package/types/mention/__tests__/mention.spec.d.ts +1 -0
- package/types/shared/utils/is.d.ts +1 -0
- package/types/virtual-list/src/components/resize-observer.d.ts +2 -0
- package/vue-devui.es.js +15668 -7111
- package/vue-devui.umd.js +21 -21
|
@@ -9422,11 +9422,12 @@ var ResizeObserver$1 = defineComponent({
|
|
|
9422
9422
|
if (instance) {
|
|
9423
9423
|
const element = findDOMNode(instance);
|
|
9424
9424
|
const elementChanged = element !== currentElement.value;
|
|
9425
|
+
const isSupported = window && "ResizeObserver" in window;
|
|
9425
9426
|
if (elementChanged) {
|
|
9426
9427
|
destroyObserver();
|
|
9427
9428
|
currentElement.value = element;
|
|
9428
9429
|
}
|
|
9429
|
-
if (!resizeObserver.value && element) {
|
|
9430
|
+
if (!resizeObserver.value && element && isSupported) {
|
|
9430
9431
|
resizeObserver.value = new ResizeObserver(onTriggerResize);
|
|
9431
9432
|
resizeObserver.value.observe(element);
|
|
9432
9433
|
}
|