@opendesign-plus-test/components 0.0.1-rc.91 → 0.0.1-rc.93
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.cjs.js +38 -38
- package/dist/components.css +1 -1
- package/dist/components.es.js +5323 -5326
- package/dist/treeshaking/components/meeting/OMeetingCalendar.css +1 -1
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.mjs +6 -11
- package/dist/treeshaking/components/meeting/OMeetingForm.vue.mjs +1 -2
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.css +4 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.css +1 -1
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +15 -62
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.css +6 -1
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +105 -92
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.css +3 -1
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue.mjs +59 -50
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, normalizeClass, createBlock,
|
|
2
|
-
import { OIcon, OIconArrowLeft, OIconArrowRight } from "@opensig/opendesign";
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createVNode, unref, withCtx, Fragment, renderList, createElementVNode, toDisplayString, normalizeClass, createBlock, normalizeStyle, resolveDynamicComponent, createCommentVNode } from "vue";
|
|
2
|
+
import { OScroller, OIcon, OIconArrowLeft, OIconArrowRight } from "@opensig/opendesign";
|
|
3
3
|
import { useMeetingConfig } from "../composables/useMeetingConfig.mjs";
|
|
4
4
|
import { CalendarDataType } from "../types.mjs";
|
|
5
5
|
const _hoisted_1 = { class: "o-sig-meeting-aside" };
|
|
@@ -34,55 +34,64 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
34
|
};
|
|
35
35
|
return (_ctx, _cache) => {
|
|
36
36
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
37
|
-
(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
key:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
37
|
+
createVNode(unref(OScroller), {
|
|
38
|
+
class: "month-wrapper",
|
|
39
|
+
"show-type": "hover",
|
|
40
|
+
size: "small"
|
|
41
|
+
}, {
|
|
42
|
+
default: withCtx(() => [
|
|
43
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.data, (d, dIdx) => {
|
|
44
|
+
return openBlock(), createElementBlock(Fragment, { key: dIdx }, [
|
|
45
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(d, (m) => {
|
|
46
|
+
return openBlock(), createElementBlock("div", {
|
|
47
|
+
key: m.month,
|
|
48
|
+
class: "month-item"
|
|
49
|
+
}, [
|
|
50
|
+
createElementVNode("div", _hoisted_2, toDisplayString(m.month.replace(/-/g, "/")), 1),
|
|
51
|
+
createElementVNode("div", _hoisted_3, [
|
|
52
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(m.days, (d2) => {
|
|
53
|
+
return openBlock(), createElementBlock("div", {
|
|
54
|
+
class: normalizeClass(["day-item", __props.active === `${m.month}-${d2}` && "active"]),
|
|
55
|
+
key: d2,
|
|
56
|
+
onClick: ($event) => clickDate(`${m.month}-${d2}`)
|
|
57
|
+
}, [
|
|
58
|
+
createElementVNode("div", _hoisted_5, toDisplayString(d2), 1),
|
|
59
|
+
createElementVNode("div", _hoisted_6, [
|
|
60
|
+
__props.meetingDates.includes(`${m.month}-${d2}`) ? (openBlock(), createBlock(unref(OIcon), {
|
|
61
|
+
key: 0,
|
|
62
|
+
style: normalizeStyle({
|
|
63
|
+
zIndex: unref(getConfig)(unref(CalendarDataType).MEETING, "zIndex"),
|
|
64
|
+
backgroundColor: unref(getConfig)(unref(CalendarDataType).MEETING, "color")
|
|
65
|
+
})
|
|
66
|
+
}, {
|
|
67
|
+
default: withCtx(() => [
|
|
68
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(getConfig)(unref(CalendarDataType).MEETING, "icon"))))
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
}, 8, ["style"])) : createCommentVNode("", true),
|
|
72
|
+
__props.eventsDates.includes(`${m.month}-${d2}`) ? (openBlock(), createBlock(unref(OIcon), {
|
|
73
|
+
key: 1,
|
|
74
|
+
style: normalizeStyle({
|
|
75
|
+
zIndex: unref(getConfig)(unref(CalendarDataType).EVENTS, "zIndex"),
|
|
76
|
+
backgroundColor: unref(getConfig)(unref(CalendarDataType).EVENTS, "color")
|
|
77
|
+
})
|
|
78
|
+
}, {
|
|
79
|
+
default: withCtx(() => [
|
|
80
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(getConfig)(unref(CalendarDataType).EVENTS, "icon"))))
|
|
81
|
+
]),
|
|
82
|
+
_: 1
|
|
83
|
+
}, 8, ["style"])) : createCommentVNode("", true)
|
|
84
|
+
])
|
|
85
|
+
], 10, _hoisted_4);
|
|
86
|
+
}), 128))
|
|
87
|
+
])
|
|
88
|
+
]);
|
|
89
|
+
}), 128))
|
|
90
|
+
], 64);
|
|
83
91
|
}), 128))
|
|
84
|
-
],
|
|
85
|
-
|
|
92
|
+
]),
|
|
93
|
+
_: 1
|
|
94
|
+
}),
|
|
86
95
|
createElementVNode("div", _hoisted_7, [
|
|
87
96
|
createVNode(unref(OIcon), {
|
|
88
97
|
onClick: _cache[0] || (_cache[0] = ($event) => changeMonth(0 - STEP)),
|