@opendesign-plus/components 0.0.1-rc.51 → 0.0.1-rc.52
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, watch,
|
|
1
|
+
import { defineComponent, computed, ref, watch, nextTick, onMounted, onBeforeUnmount, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, withCtx, createTextVNode, createCommentVNode, normalizeClass, createBlock, normalizeStyle, Fragment, renderList, resolveDynamicComponent, renderSlot } from "vue";
|
|
2
2
|
import { isClient, OButton, OIcon, OIconChevronLeft, OIconChevronRight, OSelect, OOption, OTab, OTabPane, OScroller, OResult, OFigure } from "@opensig/opendesign";
|
|
3
3
|
import dayjs from "dayjs";
|
|
4
4
|
import { ElCalendar } from "element-plus";
|
|
@@ -290,8 +290,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
290
290
|
if (!containerWidth) return;
|
|
291
291
|
tabEl.classList.add("measuring");
|
|
292
292
|
const fullWidth = measureEl.getBoundingClientRect().width;
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
nextTick(() => {
|
|
294
|
+
tabEl.classList.remove("measuring");
|
|
295
|
+
tabEl.classList.toggle("hide-icons", fullWidth > containerWidth - 32);
|
|
296
|
+
});
|
|
295
297
|
}, 120);
|
|
296
298
|
onMounted(() => {
|
|
297
299
|
getCalendarHeight();
|
|
@@ -194,8 +194,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
194
194
|
if (!containerWidth) return;
|
|
195
195
|
tabEl.classList.add("measuring");
|
|
196
196
|
const fullWidth = measureEl.getBoundingClientRect().width;
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
nextTick(() => {
|
|
198
|
+
tabEl.classList.remove("measuring");
|
|
199
|
+
tabEl.classList.toggle("hide-icons", fullWidth > containerWidth - 32);
|
|
200
|
+
});
|
|
199
201
|
}, 120);
|
|
200
202
|
onMounted(() => {
|
|
201
203
|
getDates();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendesign-plus/components",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.52",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"vue-dompurify-html": "^3.1.2",
|
|
46
46
|
"vue": "^3.5.13",
|
|
47
47
|
"element-plus": "2.13.1",
|
|
48
|
-
"@opendesign-plus/
|
|
49
|
-
"@opendesign-plus/
|
|
48
|
+
"@opendesign-plus/composables": "0.0.1-rc.10",
|
|
49
|
+
"@opendesign-plus/styles": "0.0.1-rc.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@vitejs/plugin-vue": "^5.2.1",
|