@opendesign-plus-test/components 0.0.1-rc.120 → 0.0.1-rc.122
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/dist/components/header/OHeaderMobile.vue.d.ts +10 -7
- package/dist/components/header/index.d.ts +5 -0
- package/dist/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +9 -0
- package/dist/components/header-language-switcher/index.d.ts +15 -0
- package/dist/components/header-source-code/OHeaderSourceCode.vue.d.ts +2 -0
- package/dist/components/header-source-code/index.d.ts +3 -0
- package/dist/components/header-user/OHeaderUser.vue.d.ts +3 -0
- package/dist/components/header-user/index.d.ts +6 -0
- package/dist/components/meeting/OMeetingCalendar.vue.d.ts +2 -0
- package/dist/components/meeting/OMeetingSigCalendar.vue.d.ts +6 -2
- package/dist/components/meeting/index.d.ts +4 -1
- package/dist/components.cjs.js +36 -36
- package/dist/components.css +1 -1
- package/dist/components.es.js +7588 -7544
- package/dist/treeshaking/components/common/AppAvatar.css +5 -5
- package/dist/treeshaking/components/common/AppAvatar.vue.mjs +1 -1
- package/dist/treeshaking/components/common/AppAvatar.vue2.mjs +3 -3
- package/dist/treeshaking/components/events/OEventsCalendar.css +5 -0
- package/dist/treeshaking/components/events/OEventsList.css +10 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.css +5 -5
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.mjs +1 -1
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue2.mjs +5 -5
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.css +26 -26
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.mjs +1 -1
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue2.mjs +3 -3
- package/dist/treeshaking/components/header/OHeaderMobile.css +19 -19
- package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +10 -7
- package/dist/treeshaking/components/header/OHeaderMobile.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeaderMobile.vue2.mjs +3 -2
- package/dist/treeshaking/components/header/components/HeaderContent.css +184 -184
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +0 -2
- package/dist/treeshaking/components/header/index.d.ts +5 -0
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.css +29 -41
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +9 -0
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.mjs +1 -1
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue2.mjs +8 -4
- package/dist/treeshaking/components/header-language-switcher/index.d.ts +15 -0
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.css +29 -41
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.d.ts +2 -0
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.mjs +1 -1
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue2.mjs +3 -3
- package/dist/treeshaking/components/header-source-code/index.d.ts +3 -0
- package/dist/treeshaking/components/header-theme/OHeaderTheme.css +11 -11
- package/dist/treeshaking/components/header-theme/OHeaderTheme.vue.mjs +1 -1
- package/dist/treeshaking/components/header-theme/OHeaderTheme.vue2.mjs +2 -2
- package/dist/treeshaking/components/header-user/OHeaderUser.css +55 -38
- package/dist/treeshaking/components/header-user/OHeaderUser.vue.d.ts +3 -0
- package/dist/treeshaking/components/header-user/OHeaderUser.vue.mjs +1 -1
- package/dist/treeshaking/components/header-user/OHeaderUser.vue2.mjs +7 -5
- package/dist/treeshaking/components/header-user/OHeaderUser2.css +0 -18
- package/dist/treeshaking/components/header-user/index.d.ts +6 -0
- package/dist/treeshaking/components/meeting/OMeetingCalendar.css +74 -0
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.d.ts +2 -0
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.mjs +60 -30
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.css +6 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.d.ts +6 -2
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +46 -17
- package/dist/treeshaking/components/meeting/index.d.ts +4 -1
- package/dist/treeshaking/components/search/internal/SearchImageInput.css +48 -45
- package/dist/treeshaking/components/search/internal/SearchImageInput.vue.mjs +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, watch, onMounted, nextTick, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, withCtx, createTextVNode, createCommentVNode, normalizeClass, createBlock, normalizeStyle, Fragment, renderList, resolveDynamicComponent, renderSlot } from "vue";
|
|
1
|
+
import { defineComponent, computed, ref, watch, onMounted, nextTick, 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";
|
|
@@ -14,23 +14,22 @@ import { useMeetingConfig } from "./composables/useMeetingConfig.mjs";
|
|
|
14
14
|
import { MeetingGroupType, CalendarDataType } from "./types.mjs";
|
|
15
15
|
import { formatDate } from "./utils.mjs";
|
|
16
16
|
import { useDebounceFn } from "@vueuse/core";
|
|
17
|
-
const _hoisted_1 = {
|
|
18
|
-
const _hoisted_2 = {
|
|
17
|
+
const _hoisted_1 = {
|
|
19
18
|
key: 0,
|
|
20
19
|
class: "o-meeting-calendar-desc"
|
|
21
20
|
};
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
21
|
+
const _hoisted_2 = { class: "calendar-body" };
|
|
22
|
+
const _hoisted_3 = { class: "calender-header-left" };
|
|
23
|
+
const _hoisted_4 = { class: "left-title" };
|
|
24
|
+
const _hoisted_5 = { class: "month-date" };
|
|
25
|
+
const _hoisted_6 = { class: "right-title" };
|
|
26
|
+
const _hoisted_7 = ["onClick"];
|
|
27
|
+
const _hoisted_8 = { class: "day-box" };
|
|
28
|
+
const _hoisted_9 = { class: "icon-box" };
|
|
29
|
+
const _hoisted_10 = { class: "detail-list" };
|
|
30
|
+
const _hoisted_11 = { class: "current-day" };
|
|
31
|
+
const _hoisted_12 = { class: "right-title" };
|
|
32
|
+
const _hoisted_13 = { class: "title-list" };
|
|
34
33
|
const limitTime = "2021-01-01";
|
|
35
34
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
36
35
|
__name: "OMeetingCalendar",
|
|
@@ -277,9 +276,36 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
277
276
|
calendarHeight.value = `${tbody.offsetHeight - 2}px`;
|
|
278
277
|
}
|
|
279
278
|
};
|
|
279
|
+
const rootRef = ref(null);
|
|
280
|
+
let tabResizeObserver = null;
|
|
281
|
+
const evaluateTabIcons = useDebounceFn(() => {
|
|
282
|
+
const root = rootRef.value;
|
|
283
|
+
if (!root || !isClient) return;
|
|
284
|
+
const tabEl = root.querySelector(".o-tab");
|
|
285
|
+
if (!tabEl) return;
|
|
286
|
+
const containerEl = tabEl.querySelector(".o-tab-navs-container");
|
|
287
|
+
const measureEl = tabEl.querySelector(".o-tab-nav-list.width-measurement");
|
|
288
|
+
if (!containerEl || !measureEl) return;
|
|
289
|
+
const containerWidth = containerEl.getBoundingClientRect().width;
|
|
290
|
+
if (!containerWidth) return;
|
|
291
|
+
tabEl.classList.add("measuring");
|
|
292
|
+
const fullWidth = measureEl.getBoundingClientRect().width;
|
|
293
|
+
tabEl.classList.remove("measuring");
|
|
294
|
+
tabEl.classList.toggle("hide-icons", fullWidth > containerWidth);
|
|
295
|
+
}, 120);
|
|
280
296
|
onMounted(() => {
|
|
281
297
|
getCalendarHeight();
|
|
298
|
+
nextTick(evaluateTabIcons);
|
|
299
|
+
if (isClient && typeof ResizeObserver !== "undefined" && rootRef.value) {
|
|
300
|
+
tabResizeObserver = new ResizeObserver(() => evaluateTabIcons());
|
|
301
|
+
tabResizeObserver.observe(rootRef.value);
|
|
302
|
+
}
|
|
303
|
+
});
|
|
304
|
+
onBeforeUnmount(() => {
|
|
305
|
+
tabResizeObserver == null ? void 0 : tabResizeObserver.disconnect();
|
|
306
|
+
tabResizeObserver = null;
|
|
282
307
|
});
|
|
308
|
+
watch(() => tabs.value, () => nextTick(evaluateTabIcons));
|
|
283
309
|
const stopWatchData = watch(
|
|
284
310
|
() => allDates.value.length,
|
|
285
311
|
() => {
|
|
@@ -322,8 +348,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
322
348
|
emits("create");
|
|
323
349
|
};
|
|
324
350
|
return (_ctx, _cache) => {
|
|
325
|
-
return openBlock(), createElementBlock("div",
|
|
326
|
-
|
|
351
|
+
return openBlock(), createElementBlock("div", {
|
|
352
|
+
ref_key: "rootRef",
|
|
353
|
+
ref: rootRef,
|
|
354
|
+
class: "o-meeting-calendar"
|
|
355
|
+
}, [
|
|
356
|
+
__props.showDesc ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
327
357
|
createElementVNode("span", null, toDisplayString(__props.groupType === unref(MeetingGroupType).GROUP ? unref(t)("meeting.meetingDescGroup") : unref(t)("meeting.meetingDesc")), 1),
|
|
328
358
|
createVNode(unref(OButton), {
|
|
329
359
|
color: "primary",
|
|
@@ -337,7 +367,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
337
367
|
_: 1
|
|
338
368
|
})
|
|
339
369
|
])) : createCommentVNode("", true),
|
|
340
|
-
createElementVNode("div",
|
|
370
|
+
createElementVNode("div", _hoisted_2, [
|
|
341
371
|
createVNode(unref(ElCalendar), {
|
|
342
372
|
ref_key: "calendar",
|
|
343
373
|
ref: calendar,
|
|
@@ -346,8 +376,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
346
376
|
header: withCtx(({ date }) => {
|
|
347
377
|
var _a;
|
|
348
378
|
return [
|
|
349
|
-
createElementVNode("div",
|
|
350
|
-
createElementVNode("div",
|
|
379
|
+
createElementVNode("div", _hoisted_3, [
|
|
380
|
+
createElementVNode("div", _hoisted_4, [
|
|
351
381
|
createVNode(unref(OIcon), {
|
|
352
382
|
onClick: ($event) => selectDate("prev-month", date)
|
|
353
383
|
}, {
|
|
@@ -358,7 +388,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
358
388
|
]),
|
|
359
389
|
_: 1
|
|
360
390
|
}, 8, ["onClick"]),
|
|
361
|
-
createElementVNode("span",
|
|
391
|
+
createElementVNode("span", _hoisted_5, toDisplayString(formatYearMonth(date)), 1),
|
|
362
392
|
createVNode(unref(OIcon), {
|
|
363
393
|
onClick: ($event) => selectDate("next-month", date)
|
|
364
394
|
}, {
|
|
@@ -392,7 +422,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
392
422
|
_: 1
|
|
393
423
|
}, 8, ["modelValue", "placeholder"])) : createCommentVNode("", true)
|
|
394
424
|
]),
|
|
395
|
-
createElementVNode("div",
|
|
425
|
+
createElementVNode("div", _hoisted_6, [
|
|
396
426
|
createElementVNode("span", null, toDisplayString(unref(t)("meeting.latestMeeting")) + " ", 1),
|
|
397
427
|
createElementVNode("span", null, toDisplayString(unref(formatDate)(unref(dayjs)(latestDay.value))), 1)
|
|
398
428
|
])
|
|
@@ -403,11 +433,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
403
433
|
class: normalizeClass(["out-box", { "has-calender": allDates.value.includes(data.day) }]),
|
|
404
434
|
onClick: ($event) => unref(changeMeetingDay)(data.day, $event)
|
|
405
435
|
}, [
|
|
406
|
-
createElementVNode("div",
|
|
436
|
+
createElementVNode("div", _hoisted_8, [
|
|
407
437
|
createElementVNode("p", {
|
|
408
438
|
class: normalizeClass([data.isSelected ? "is-selected" : "", "date-calender"])
|
|
409
439
|
}, toDisplayString(removeLeadingZero(data.day.split("-").at(-1) || "")), 3),
|
|
410
|
-
createElementVNode("div",
|
|
440
|
+
createElementVNode("div", _hoisted_9, [
|
|
411
441
|
checkSelectedDay(unref(CalendarDataType).MEETING, data.day) ? (openBlock(), createBlock(unref(OIcon), {
|
|
412
442
|
key: 0,
|
|
413
443
|
class: "meeting",
|
|
@@ -449,17 +479,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
449
479
|
}, 8, ["style"])) : createCommentVNode("", true)
|
|
450
480
|
])
|
|
451
481
|
])
|
|
452
|
-
], 10,
|
|
482
|
+
], 10, _hoisted_7)
|
|
453
483
|
]),
|
|
454
484
|
_: 1
|
|
455
485
|
}, 512),
|
|
456
|
-
createElementVNode("div",
|
|
457
|
-
createElementVNode("div",
|
|
486
|
+
createElementVNode("div", _hoisted_10, [
|
|
487
|
+
createElementVNode("div", _hoisted_11, [
|
|
458
488
|
createTextVNode(toDisplayString(unref(t)("meeting.latestMeeting")) + " ", 1),
|
|
459
489
|
createElementVNode("span", null, toDisplayString(unref(formatDate)(unref(dayjs)(latestDay.value))), 1)
|
|
460
490
|
]),
|
|
461
|
-
createElementVNode("div",
|
|
462
|
-
createElementVNode("div",
|
|
491
|
+
createElementVNode("div", _hoisted_12, [
|
|
492
|
+
createElementVNode("div", _hoisted_13, [
|
|
463
493
|
createVNode(unref(OSelect), {
|
|
464
494
|
modelValue: group.value,
|
|
465
495
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => group.value = $event),
|
|
@@ -550,7 +580,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
550
580
|
])
|
|
551
581
|
])
|
|
552
582
|
])
|
|
553
|
-
]);
|
|
583
|
+
], 512);
|
|
554
584
|
};
|
|
555
585
|
}
|
|
556
586
|
});
|
|
@@ -152,6 +152,12 @@
|
|
|
152
152
|
.o-sig-meeting-calendar .meeting-card-header .o-tab .o-tab-nav .o-icon svg path {
|
|
153
153
|
fill: currentColor;
|
|
154
154
|
}
|
|
155
|
+
.o-sig-meeting-calendar .meeting-card-header .o-tab.hide-icons .o-tab-nav-list .o-icon {
|
|
156
|
+
display: none;
|
|
157
|
+
}
|
|
158
|
+
.o-sig-meeting-calendar .meeting-card-header .o-tab.measuring .o-tab-nav-list.width-measurement .o-icon {
|
|
159
|
+
display: inline-flex;
|
|
160
|
+
}
|
|
155
161
|
.o-sig-meeting-calendar .el-input__prefix {
|
|
156
162
|
display: none;
|
|
157
163
|
}
|
|
@@ -12,11 +12,15 @@ declare function __VLS_template(): {
|
|
|
12
12
|
slots: {
|
|
13
13
|
empty?(_: {}): any;
|
|
14
14
|
};
|
|
15
|
-
refs: {
|
|
15
|
+
refs: {
|
|
16
|
+
rootRef: HTMLDivElement;
|
|
17
|
+
};
|
|
16
18
|
rootEl: HTMLDivElement;
|
|
17
19
|
};
|
|
18
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
22
|
+
rootRef: HTMLDivElement;
|
|
23
|
+
}, HTMLDivElement>;
|
|
20
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
25
|
export default _default;
|
|
22
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch, nextTick, onMounted, openBlock, createElementBlock, unref, createElementVNode, toDisplayString, createVNode, withCtx, createCommentVNode, Fragment, renderList, createBlock, resolveDynamicComponent, createTextVNode, renderSlot } from "vue";
|
|
2
|
-
import { OPopover, OIcon, OTab, OTabPane, OSelect, OOption, ODivider, OScroller, OResult, OFigure } from "@opensig/opendesign";
|
|
1
|
+
import { defineComponent, ref, computed, watch, nextTick, onMounted, onBeforeUnmount, openBlock, createElementBlock, unref, createElementVNode, toDisplayString, createVNode, withCtx, createCommentVNode, Fragment, renderList, createBlock, resolveDynamicComponent, createTextVNode, renderSlot } from "vue";
|
|
2
|
+
import { isClient, OPopover, OIcon, OTab, OTabPane, OSelect, OOption, ODivider, OScroller, OResult, OFigure } from "@opensig/opendesign";
|
|
3
3
|
import dayjs from "dayjs";
|
|
4
4
|
import IconTips from "../../_virtual/icon-tips.mjs";
|
|
5
5
|
import _sfc_main$1 from "./components/OMeetingSigAside.vue.mjs";
|
|
@@ -11,24 +11,21 @@ import _sfc_main$2 from "./components/OMeetingCalendarList.vue.mjs";
|
|
|
11
11
|
import './components/OMeetingCalendarList.css';
|
|
12
12
|
import { formatDate } from "./utils.mjs";
|
|
13
13
|
import emptyDefaultImg from "../../assets/meeting/empty.png.mjs";
|
|
14
|
+
import { useDebounceFn } from "@vueuse/core";
|
|
14
15
|
const _hoisted_1 = {
|
|
15
|
-
class: "o-sig-meeting-calendar",
|
|
16
|
-
style: { "--height": 400 }
|
|
17
|
-
};
|
|
18
|
-
const _hoisted_2 = {
|
|
19
16
|
key: 0,
|
|
20
17
|
class: "meeting-card-header"
|
|
21
18
|
};
|
|
22
|
-
const
|
|
19
|
+
const _hoisted_2 = {
|
|
23
20
|
key: 0,
|
|
24
21
|
class: "header-left"
|
|
25
22
|
};
|
|
26
|
-
const
|
|
23
|
+
const _hoisted_3 = {
|
|
27
24
|
key: 1,
|
|
28
25
|
class: "phone-filter-wrapper"
|
|
29
26
|
};
|
|
30
|
-
const
|
|
31
|
-
const
|
|
27
|
+
const _hoisted_4 = { class: "date-select" };
|
|
28
|
+
const _hoisted_5 = { class: "meeting-card-content" };
|
|
32
29
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
33
30
|
__name: "OMeetingSigCalendar",
|
|
34
31
|
props: {
|
|
@@ -183,9 +180,36 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
183
180
|
const changeMonthIdx = (step) => {
|
|
184
181
|
monthIdx.value += step;
|
|
185
182
|
};
|
|
183
|
+
const rootRef = ref(null);
|
|
184
|
+
let tabResizeObserver = null;
|
|
185
|
+
const evaluateTabIcons = useDebounceFn(() => {
|
|
186
|
+
const root = rootRef.value;
|
|
187
|
+
if (!root || !isClient) return;
|
|
188
|
+
const tabEl = root.querySelector(".meeting-card-header .o-tab");
|
|
189
|
+
if (!tabEl) return;
|
|
190
|
+
const containerEl = tabEl.querySelector(".o-tab-navs-container");
|
|
191
|
+
const measureEl = tabEl.querySelector(".o-tab-nav-list.width-measurement");
|
|
192
|
+
if (!containerEl || !measureEl) return;
|
|
193
|
+
const containerWidth = containerEl.getBoundingClientRect().width;
|
|
194
|
+
if (!containerWidth) return;
|
|
195
|
+
tabEl.classList.add("measuring");
|
|
196
|
+
const fullWidth = measureEl.getBoundingClientRect().width;
|
|
197
|
+
tabEl.classList.remove("measuring");
|
|
198
|
+
tabEl.classList.toggle("hide-icons", fullWidth > containerWidth);
|
|
199
|
+
}, 120);
|
|
186
200
|
onMounted(() => {
|
|
187
201
|
getDates();
|
|
202
|
+
nextTick(evaluateTabIcons);
|
|
203
|
+
if (isClient && typeof ResizeObserver !== "undefined" && rootRef.value) {
|
|
204
|
+
tabResizeObserver = new ResizeObserver(() => evaluateTabIcons());
|
|
205
|
+
tabResizeObserver.observe(rootRef.value);
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
onBeforeUnmount(() => {
|
|
209
|
+
tabResizeObserver == null ? void 0 : tabResizeObserver.disconnect();
|
|
210
|
+
tabResizeObserver = null;
|
|
188
211
|
});
|
|
212
|
+
watch(() => meetingTabs.value, () => nextTick(evaluateTabIcons));
|
|
189
213
|
const list = computed(() => {
|
|
190
214
|
let list2;
|
|
191
215
|
if (tabType.value === CalendarDataType.ALL) {
|
|
@@ -200,9 +224,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
200
224
|
return list2;
|
|
201
225
|
});
|
|
202
226
|
return (_ctx, _cache) => {
|
|
203
|
-
return openBlock(), createElementBlock("div",
|
|
204
|
-
|
|
205
|
-
|
|
227
|
+
return openBlock(), createElementBlock("div", {
|
|
228
|
+
ref_key: "rootRef",
|
|
229
|
+
ref: rootRef,
|
|
230
|
+
class: "o-sig-meeting-calendar",
|
|
231
|
+
style: { "--height": 400 }
|
|
232
|
+
}, [
|
|
233
|
+
!unref(lePadV) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
234
|
+
latestDate.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
206
235
|
createElementVNode("span", null, toDisplayString(unref(t)("meeting.latestMeeting")), 1),
|
|
207
236
|
createElementVNode("span", null, toDisplayString(unref(dayjs)(latestDate.value).format("YYYY/MM/DD")), 1),
|
|
208
237
|
createVNode(unref(OPopover), null, {
|
|
@@ -251,8 +280,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
251
280
|
_: 1
|
|
252
281
|
}, 8, ["modelValue"])
|
|
253
282
|
])) : createCommentVNode("", true),
|
|
254
|
-
unref(lePadV) ? (openBlock(), createElementBlock("div",
|
|
255
|
-
createElementVNode("div",
|
|
283
|
+
unref(lePadV) ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
284
|
+
createElementVNode("div", _hoisted_4, [
|
|
256
285
|
createVNode(unref(OSelect), {
|
|
257
286
|
modelValue: selectDate.value,
|
|
258
287
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectDate.value = $event),
|
|
@@ -296,7 +325,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
296
325
|
])
|
|
297
326
|
])) : createCommentVNode("", true),
|
|
298
327
|
createVNode(unref(ODivider), { class: "meeting-divider" }),
|
|
299
|
-
createElementVNode("div",
|
|
328
|
+
createElementVNode("div", _hoisted_5, [
|
|
300
329
|
!unref(lePadV) && monthIdx.value !== -1 ? (openBlock(), createBlock(_sfc_main$1, {
|
|
301
330
|
key: 0,
|
|
302
331
|
data: dateMapList.value.slice(monthIdx.value, monthIdx.value + 1),
|
|
@@ -340,7 +369,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
340
369
|
_: 3
|
|
341
370
|
})
|
|
342
371
|
])
|
|
343
|
-
]);
|
|
372
|
+
], 512);
|
|
344
373
|
};
|
|
345
374
|
}
|
|
346
375
|
});
|
|
@@ -15,6 +15,7 @@ declare const OMeetingCalendar: {
|
|
|
15
15
|
groups: string[];
|
|
16
16
|
showDesc: boolean;
|
|
17
17
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
18
|
+
rootRef: HTMLDivElement;
|
|
18
19
|
calendar: ({
|
|
19
20
|
$: import('vue').ComponentInternalInstance;
|
|
20
21
|
$data: {};
|
|
@@ -455,7 +456,9 @@ declare const OMeetingSigCalendar: {
|
|
|
455
456
|
dates: String[];
|
|
456
457
|
emptyImg?: any;
|
|
457
458
|
emptyText?: string;
|
|
458
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
459
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
460
|
+
rootRef: HTMLDivElement;
|
|
461
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
459
462
|
P: {};
|
|
460
463
|
B: {};
|
|
461
464
|
D: {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-cbdc0409] {
|
|
2
2
|
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
3
|
}
|
|
4
4
|
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-cbdc0409] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.o-search-image-input[data-v-
|
|
9
|
+
.o-search-image-input[data-v-cbdc0409] {
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
border: 1px solid transparent;
|
|
@@ -14,66 +14,69 @@
|
|
|
14
14
|
background-color: var(--o-color-fill2);
|
|
15
15
|
transition: border-color var(--o-duration-m1);
|
|
16
16
|
}
|
|
17
|
-
.o-search-image-input.is-expanded[data-v-
|
|
17
|
+
.o-search-image-input.is-expanded[data-v-cbdc0409] {
|
|
18
18
|
border-color: var(--o-color-primary1);
|
|
19
19
|
}
|
|
20
|
-
.o-search-image-input.is-expanded[data-v-
|
|
21
|
-
.o-search-image-input.is-expanded[data-v-
|
|
20
|
+
.o-search-image-input.is-expanded[data-v-cbdc0409] .o-input.el-input .el-input__wrapper,
|
|
21
|
+
.o-search-image-input.is-expanded[data-v-cbdc0409] .o_box-main {
|
|
22
22
|
border: none !important;
|
|
23
23
|
border-radius: var(--o-radius-xs) var(--o-radius-xs) 0 0;
|
|
24
24
|
box-shadow: none !important;
|
|
25
25
|
}
|
|
26
|
-
.o-search-image-input-row[data-v-
|
|
26
|
+
.o-search-image-input-row[data-v-cbdc0409] {
|
|
27
27
|
display: flex;
|
|
28
28
|
align-items: center;
|
|
29
29
|
}
|
|
30
|
-
.o-search-image-input-input[data-v-
|
|
30
|
+
.o-search-image-input-input[data-v-cbdc0409] {
|
|
31
31
|
width: 100%;
|
|
32
|
-
--_box-bg-color:
|
|
32
|
+
--_box-bg-color: var(--o-color-fill2);
|
|
33
|
+
--_box-bg-color-hover: var(--o-color-fill2);
|
|
34
|
+
--_box-bg-color-focus: var(--o-color-fill2);
|
|
35
|
+
--_box-bg-color-disabled: var(--o-color-fill2);
|
|
33
36
|
}
|
|
34
37
|
@media (max-width: 840px) {
|
|
35
|
-
.o-search-image-input-input[data-v-
|
|
38
|
+
.o-search-image-input-input[data-v-cbdc0409] input {
|
|
36
39
|
font-size: 14px;
|
|
37
40
|
line-height: 22px;
|
|
38
41
|
}
|
|
39
42
|
}
|
|
40
43
|
@media (max-width: 1440px) {
|
|
41
|
-
.o-search-image-input-input.o_box-medium[data-v-
|
|
44
|
+
.o-search-image-input-input.o_box-medium[data-v-cbdc0409] {
|
|
42
45
|
--_box-height: 32px;
|
|
43
46
|
}
|
|
44
47
|
}
|
|
45
|
-
.o-search-image-input-icon[data-v-
|
|
48
|
+
.o-search-image-input-icon[data-v-cbdc0409] {
|
|
46
49
|
cursor: pointer;
|
|
47
50
|
color: var(--o-color-info1);
|
|
48
51
|
font-size: 16px;
|
|
49
52
|
}
|
|
50
|
-
.o-search-image-input-icon.close[data-v-
|
|
53
|
+
.o-search-image-input-icon.close[data-v-cbdc0409] {
|
|
51
54
|
font-size: 16px;
|
|
52
55
|
margin-left: var(--o-gap-2);
|
|
53
56
|
}
|
|
54
|
-
.o-search-image-input-icon.close[data-v-
|
|
57
|
+
.o-search-image-input-icon.close[data-v-cbdc0409] {
|
|
55
58
|
overflow: hidden;
|
|
56
59
|
}
|
|
57
|
-
.o-search-image-input-icon.close svg[data-v-
|
|
60
|
+
.o-search-image-input-icon.close svg[data-v-cbdc0409] {
|
|
58
61
|
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
59
62
|
}
|
|
60
63
|
@media (hover: hover) {
|
|
61
|
-
.o-search-image-input-icon.close:hover svg[data-v-
|
|
64
|
+
.o-search-image-input-icon.close:hover svg[data-v-cbdc0409] {
|
|
62
65
|
transform: rotate(180deg);
|
|
63
66
|
}
|
|
64
67
|
}
|
|
65
|
-
.o-search-image-input-icon.upload[data-v-
|
|
68
|
+
.o-search-image-input-icon.upload[data-v-cbdc0409] {
|
|
66
69
|
fill: var(--o-color-info1);
|
|
67
70
|
}
|
|
68
71
|
@media (max-width: 840px) {
|
|
69
|
-
.o-search-image-input-icon[data-v-
|
|
72
|
+
.o-search-image-input-icon[data-v-cbdc0409] {
|
|
70
73
|
font-size: 24px;
|
|
71
74
|
}
|
|
72
|
-
.o-search-image-input-icon.close[data-v-
|
|
75
|
+
.o-search-image-input-icon.close[data-v-cbdc0409] {
|
|
73
76
|
font-size: 24px;
|
|
74
77
|
}
|
|
75
78
|
}
|
|
76
|
-
.o-search-image-input-upload-btn[data-v-
|
|
79
|
+
.o-search-image-input-upload-btn[data-v-cbdc0409] {
|
|
77
80
|
display: inline-flex;
|
|
78
81
|
align-items: center;
|
|
79
82
|
justify-content: center;
|
|
@@ -84,23 +87,23 @@
|
|
|
84
87
|
flex-shrink: 0;
|
|
85
88
|
}
|
|
86
89
|
@media (hover: hover) {
|
|
87
|
-
.o-search-image-input-upload-btn[data-v-
|
|
90
|
+
.o-search-image-input-upload-btn[data-v-cbdc0409]:hover {
|
|
88
91
|
background-color: var(--o-color-control2-light);
|
|
89
92
|
}
|
|
90
|
-
.o-search-image-input-upload-btn:hover .o-search-image-input-icon.upload[data-v-
|
|
93
|
+
.o-search-image-input-upload-btn:hover .o-search-image-input-icon.upload[data-v-cbdc0409] {
|
|
91
94
|
color: var(--o-color-primary2);
|
|
92
95
|
}
|
|
93
96
|
}
|
|
94
97
|
@media (max-width: 840px) {
|
|
95
|
-
.o-search-image-input-upload-btn[data-v-
|
|
98
|
+
.o-search-image-input-upload-btn[data-v-cbdc0409] {
|
|
96
99
|
width: 24px;
|
|
97
100
|
height: 24px;
|
|
98
101
|
}
|
|
99
102
|
}
|
|
100
|
-
.o-search-image-input-file[data-v-
|
|
103
|
+
.o-search-image-input-file[data-v-cbdc0409] {
|
|
101
104
|
display: none;
|
|
102
105
|
}
|
|
103
|
-
.o-search-image-input-thumb[data-v-
|
|
106
|
+
.o-search-image-input-thumb[data-v-cbdc0409] {
|
|
104
107
|
display: inline-flex;
|
|
105
108
|
align-items: center;
|
|
106
109
|
margin-left: 8px;
|
|
@@ -109,18 +112,18 @@
|
|
|
109
112
|
flex-shrink: 0;
|
|
110
113
|
}
|
|
111
114
|
@media (hover: hover) {
|
|
112
|
-
.o-search-image-input-thumb:hover .o-search-image-input-thumb-remove[data-v-
|
|
113
|
-
.o-search-image-input-thumb:hover .o-search-image-input-thumb-zoom[data-v-
|
|
115
|
+
.o-search-image-input-thumb:hover .o-search-image-input-thumb-remove[data-v-cbdc0409],
|
|
116
|
+
.o-search-image-input-thumb:hover .o-search-image-input-thumb-zoom[data-v-cbdc0409] {
|
|
114
117
|
opacity: 1;
|
|
115
118
|
}
|
|
116
119
|
}
|
|
117
|
-
.o-search-image-input-thumb-figure[data-v-
|
|
120
|
+
.o-search-image-input-thumb-figure[data-v-cbdc0409] {
|
|
118
121
|
height: 40px;
|
|
119
122
|
width: 40px;
|
|
120
123
|
border-radius: 4px;
|
|
121
124
|
overflow: hidden;
|
|
122
125
|
}
|
|
123
|
-
.o-search-image-input-thumb-figure[data-v-
|
|
126
|
+
.o-search-image-input-thumb-figure[data-v-cbdc0409] img {
|
|
124
127
|
height: 40px;
|
|
125
128
|
width: 40px;
|
|
126
129
|
object-fit: cover;
|
|
@@ -128,18 +131,18 @@
|
|
|
128
131
|
border-radius: 4px;
|
|
129
132
|
}
|
|
130
133
|
@media (min-width: 841px) and (max-width: 1680px) {
|
|
131
|
-
.o-search-image-input-thumb-figure[data-v-
|
|
134
|
+
.o-search-image-input-thumb-figure[data-v-cbdc0409] {
|
|
132
135
|
height: 32px;
|
|
133
136
|
width: 32px;
|
|
134
137
|
}
|
|
135
138
|
}
|
|
136
139
|
@media (max-width: 840px) {
|
|
137
|
-
.o-search-image-input-thumb-figure[data-v-
|
|
140
|
+
.o-search-image-input-thumb-figure[data-v-cbdc0409] {
|
|
138
141
|
height: 24px;
|
|
139
142
|
width: 24px;
|
|
140
143
|
}
|
|
141
144
|
}
|
|
142
|
-
.o-search-image-input-thumb-zoom[data-v-
|
|
145
|
+
.o-search-image-input-thumb-zoom[data-v-cbdc0409] {
|
|
143
146
|
position: absolute;
|
|
144
147
|
inset: 0;
|
|
145
148
|
display: flex;
|
|
@@ -152,11 +155,11 @@
|
|
|
152
155
|
opacity: 0;
|
|
153
156
|
transition: opacity var(--o-duration-m1);
|
|
154
157
|
}
|
|
155
|
-
.o-search-image-input-thumb-zoom .o-search-image-input-thumb-zoom-icon[data-v-
|
|
158
|
+
.o-search-image-input-thumb-zoom .o-search-image-input-thumb-zoom-icon[data-v-cbdc0409] {
|
|
156
159
|
color: #fff;
|
|
157
160
|
font-size: 16px;
|
|
158
161
|
}
|
|
159
|
-
.o-search-image-input-thumb-remove[data-v-
|
|
162
|
+
.o-search-image-input-thumb-remove[data-v-cbdc0409] {
|
|
160
163
|
position: absolute;
|
|
161
164
|
top: -8px;
|
|
162
165
|
right: -8px;
|
|
@@ -170,27 +173,27 @@
|
|
|
170
173
|
z-index: 1;
|
|
171
174
|
transition: opacity var(--o-duration-m1);
|
|
172
175
|
}
|
|
173
|
-
.o-search-image-input-thumb-remove[data-v-
|
|
176
|
+
.o-search-image-input-thumb-remove[data-v-cbdc0409] svg {
|
|
174
177
|
width: 16px;
|
|
175
178
|
height: 16px;
|
|
176
179
|
fill: rgb(var(--o-mixedgray-9));
|
|
177
180
|
}
|
|
178
|
-
.o-search-image-input-preview[data-v-
|
|
181
|
+
.o-search-image-input-preview[data-v-cbdc0409] {
|
|
179
182
|
padding: 0 12px 8px;
|
|
180
183
|
}
|
|
181
|
-
.o-search-image-input-preview .o-search-image-input-preview-wrapper[data-v-
|
|
184
|
+
.o-search-image-input-preview .o-search-image-input-preview-wrapper[data-v-cbdc0409] {
|
|
182
185
|
position: relative;
|
|
183
186
|
display: inline-flex;
|
|
184
187
|
overflow: visible;
|
|
185
188
|
margin-top: 8px;
|
|
186
189
|
}
|
|
187
190
|
@media (hover: hover) {
|
|
188
|
-
.o-search-image-input-preview .o-search-image-input-preview-wrapper:hover .o-search-image-input-preview-remove[data-v-
|
|
189
|
-
.o-search-image-input-preview .o-search-image-input-preview-wrapper:hover .o-search-image-input-preview-zoom[data-v-
|
|
191
|
+
.o-search-image-input-preview .o-search-image-input-preview-wrapper:hover .o-search-image-input-preview-remove[data-v-cbdc0409],
|
|
192
|
+
.o-search-image-input-preview .o-search-image-input-preview-wrapper:hover .o-search-image-input-preview-zoom[data-v-cbdc0409] {
|
|
190
193
|
opacity: 1;
|
|
191
194
|
}
|
|
192
195
|
}
|
|
193
|
-
.o-search-image-input-preview .o-search-image-input-preview-zoom[data-v-
|
|
196
|
+
.o-search-image-input-preview .o-search-image-input-preview-zoom[data-v-cbdc0409] {
|
|
194
197
|
position: absolute;
|
|
195
198
|
inset: 0;
|
|
196
199
|
display: flex;
|
|
@@ -202,24 +205,24 @@
|
|
|
202
205
|
opacity: 0;
|
|
203
206
|
transition: opacity var(--o-duration-m1);
|
|
204
207
|
}
|
|
205
|
-
.o-search-image-input-preview .o-search-image-input-preview-zoom .o-search-image-input-preview-zoom-icon[data-v-
|
|
208
|
+
.o-search-image-input-preview .o-search-image-input-preview-zoom .o-search-image-input-preview-zoom-icon[data-v-cbdc0409] {
|
|
206
209
|
color: #fff;
|
|
207
210
|
font-size: 24px;
|
|
208
211
|
}
|
|
209
|
-
.o-search-image-input-preview .o-search-image-input-preview-figure[data-v-
|
|
212
|
+
.o-search-image-input-preview .o-search-image-input-preview-figure[data-v-cbdc0409] {
|
|
210
213
|
height: 72px;
|
|
211
214
|
width: 72px;
|
|
212
215
|
border-radius: 4px;
|
|
213
216
|
overflow: hidden;
|
|
214
217
|
}
|
|
215
|
-
.o-search-image-input-preview .o-search-image-input-preview-figure[data-v-
|
|
218
|
+
.o-search-image-input-preview .o-search-image-input-preview-figure[data-v-cbdc0409] img {
|
|
216
219
|
height: 72px;
|
|
217
220
|
width: 72px;
|
|
218
221
|
object-fit: cover;
|
|
219
222
|
object-position: center;
|
|
220
223
|
border-radius: 4px;
|
|
221
224
|
}
|
|
222
|
-
.o-search-image-input-preview .o-search-image-input-preview-remove[data-v-
|
|
225
|
+
.o-search-image-input-preview .o-search-image-input-preview-remove[data-v-cbdc0409] {
|
|
223
226
|
position: absolute;
|
|
224
227
|
top: -8px;
|
|
225
228
|
right: -8px;
|
|
@@ -233,7 +236,7 @@
|
|
|
233
236
|
z-index: 1;
|
|
234
237
|
transition: opacity var(--o-duration-m1);
|
|
235
238
|
}
|
|
236
|
-
.o-search-image-input-preview .o-search-image-input-preview-remove[data-v-
|
|
239
|
+
.o-search-image-input-preview .o-search-image-input-preview-remove[data-v-cbdc0409] svg {
|
|
237
240
|
width: 16px;
|
|
238
241
|
height: 16px;
|
|
239
242
|
}
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./SearchImageInput.vue2.mjs";
|
|
|
2
2
|
import './SearchImageInput.css';
|
|
3
3
|
import './SearchImageInput2.css';
|
|
4
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const SearchImageInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const SearchImageInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cbdc0409"]]);
|
|
6
6
|
export {
|
|
7
7
|
SearchImageInput as default
|
|
8
8
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendesign-plus-test/components",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.122",
|
|
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/styles": "0.0.1-rc.2",
|
|
49
|
+
"@opendesign-plus/composables": "0.0.1-rc.10"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@vitejs/plugin-vue": "^5.2.1",
|