@opendesign-plus-test/components 0.0.1-rc.84 → 0.0.1-rc.86
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/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +85 -73
- package/dist/components/activity/index.d.ts +9 -9
- package/dist/components/banner/index.d.ts +6 -6
- package/dist/components/events/index.d.ts +20 -20
- package/dist/components/header/OHeaderMobile.vue.d.ts +22 -22
- package/dist/components/header/components/HeaderNavMobile.vue.d.ts +3 -3
- package/dist/components/header/index.d.ts +27 -27
- package/dist/components/header-search/index.d.ts +13 -13
- package/dist/components/meeting/OMeetingForm.vue.d.ts +2 -0
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/components/meeting/index.d.ts +37 -31
- package/dist/components/meeting/types.d.ts +3 -0
- package/dist/components/search/index.d.ts +11 -11
- package/dist/components.cjs.js +38 -37
- package/dist/components.css +1 -1
- package/dist/components.es.js +7980 -7839
- package/dist/treeshaking/components/activity/index.d.ts +9 -9
- package/dist/treeshaking/components/banner/index.d.ts +6 -6
- package/dist/treeshaking/components/common/MoreText.css +12 -12
- package/dist/treeshaking/components/common/MoreText.vue.mjs +86 -5
- package/dist/treeshaking/components/common/MoreText.vue3.mjs +5 -0
- package/dist/treeshaking/components/common/ThFilter.css +10 -10
- package/dist/treeshaking/components/common/TooltipText.css +34 -0
- package/dist/treeshaking/components/common/TooltipText.vue.mjs +85 -0
- package/dist/treeshaking/components/common/TooltipText.vue3.mjs +5 -0
- package/dist/treeshaking/components/events/index.d.ts +20 -20
- package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +22 -22
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +3 -3
- package/dist/treeshaking/components/header/index.d.ts +27 -27
- package/dist/treeshaking/components/header-search/index.d.ts +13 -13
- package/dist/treeshaking/components/meeting/OMeetingForm.vue.d.ts +2 -0
- package/dist/treeshaking/components/meeting/OMeetingForm.vue.mjs +104 -47
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.css +4 -0
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.mjs +38 -13
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +11 -2
- package/dist/treeshaking/components/meeting/components/OMeetingDetail.vue.mjs +3 -2
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/treeshaking/components/meeting/index.d.ts +37 -31
- package/dist/treeshaking/components/meeting/types.d.ts +3 -0
- package/dist/treeshaking/components/search/index.d.ts +11 -11
- package/dist/treeshaking/i18n/en.mjs +6 -0
- package/dist/treeshaking/i18n/zh.mjs +8 -2
- package/package.json +1 -1
- package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +0 -664
- package/dist/treeshaking/components/common/MoreText.vue2.mjs +0 -88
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +0 -664
|
@@ -31,18 +31,19 @@ const _hoisted_9 = {
|
|
|
31
31
|
class: "switch-wrapper"
|
|
32
32
|
};
|
|
33
33
|
const _hoisted_10 = { class: "switch-text" };
|
|
34
|
-
const _hoisted_11 = {
|
|
35
|
-
|
|
34
|
+
const _hoisted_11 = { key: 0 };
|
|
35
|
+
const _hoisted_12 = {
|
|
36
|
+
key: 2,
|
|
36
37
|
class: "switch-wrapper"
|
|
37
38
|
};
|
|
38
|
-
const
|
|
39
|
-
const
|
|
39
|
+
const _hoisted_13 = { class: "switch-text" };
|
|
40
|
+
const _hoisted_14 = {
|
|
40
41
|
key: 1,
|
|
41
42
|
class: "label-wrapper"
|
|
42
43
|
};
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
const
|
|
44
|
+
const _hoisted_15 = { class: "o-meeting-form-popover-content" };
|
|
45
|
+
const _hoisted_16 = ["href"];
|
|
46
|
+
const _hoisted_17 = {
|
|
46
47
|
key: 0,
|
|
47
48
|
class: "form-btns"
|
|
48
49
|
};
|
|
@@ -59,12 +60,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
59
60
|
showBtns: { type: Boolean, default: true },
|
|
60
61
|
groupType: { default: MeetingGroupType.SIG },
|
|
61
62
|
confirmText: {},
|
|
62
|
-
labelMap: {}
|
|
63
|
+
labelMap: {},
|
|
64
|
+
privateContactEmail: { default: "" },
|
|
65
|
+
enablePrivate: { type: Boolean, default: false }
|
|
63
66
|
},
|
|
64
67
|
emits: ["confirm", "cancel"],
|
|
65
68
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
66
69
|
const { t, locale, cycleTypeOptions0, intervalWeekOptions, getPlatformLabel } = useMeetingConfig();
|
|
67
70
|
const props = __props;
|
|
71
|
+
console.log(props);
|
|
68
72
|
const message = useMessage(null);
|
|
69
73
|
const cycleTypeOptions = cycleTypeOptions0;
|
|
70
74
|
const weekOptions = intervalWeekOptions;
|
|
@@ -89,7 +93,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
89
93
|
is_cycle: false,
|
|
90
94
|
cycle_interval: 1,
|
|
91
95
|
cycle_type: INTERVAL_DAY,
|
|
92
|
-
cycle_point: []
|
|
96
|
+
cycle_point: [],
|
|
97
|
+
is_private: false
|
|
93
98
|
};
|
|
94
99
|
const form = ref(Object.assign({}, initForm));
|
|
95
100
|
const formRef = ref(null);
|
|
@@ -304,10 +309,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
304
309
|
cycle_point,
|
|
305
310
|
cycle_interval,
|
|
306
311
|
cycle_start,
|
|
307
|
-
cycle_end
|
|
312
|
+
cycle_end,
|
|
313
|
+
is_private
|
|
308
314
|
} = props.data;
|
|
309
315
|
return {
|
|
310
316
|
...props.data,
|
|
317
|
+
is_private: is_private ?? false,
|
|
311
318
|
time: `${start}-${end}`,
|
|
312
319
|
...is_cycle ? {
|
|
313
320
|
date_range: [cycle_start_date, cycle_end_date],
|
|
@@ -320,8 +327,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
320
327
|
};
|
|
321
328
|
};
|
|
322
329
|
watch(
|
|
323
|
-
() => props.data,
|
|
324
|
-
(data) => {
|
|
330
|
+
[() => props.data, () => sigOptions.value],
|
|
331
|
+
([data]) => {
|
|
325
332
|
var _a;
|
|
326
333
|
if (data) {
|
|
327
334
|
const propData = getPropData();
|
|
@@ -339,6 +346,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
339
346
|
sub_id
|
|
340
347
|
} : {}
|
|
341
348
|
);
|
|
349
|
+
const find = sigOptions.value.find((v) => v.value === form.value.group_name);
|
|
350
|
+
privateVisible.value = (find == null ? void 0 : find.private_enable) ?? false;
|
|
342
351
|
} else {
|
|
343
352
|
const today = dayjs().format("YYYY-MM-DD");
|
|
344
353
|
const now = dayjs().format("HH:mm");
|
|
@@ -381,6 +390,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
381
390
|
(_d = (_c = formRef.value) == null ? void 0 : _c.resetFields) == null ? void 0 : _d.call(_c);
|
|
382
391
|
emits("cancel");
|
|
383
392
|
};
|
|
393
|
+
const privateVisible = ref(false);
|
|
394
|
+
const changeIsPrivate = () => {
|
|
395
|
+
if (form.value.is_private) {
|
|
396
|
+
form.value.is_cycle = false;
|
|
397
|
+
form.value.email_list = "";
|
|
398
|
+
changeIsCycle();
|
|
399
|
+
} else {
|
|
400
|
+
const find = sigOptions.value.find((v) => v.value === form.value.group_name);
|
|
401
|
+
form.value.email_list = (find == null ? void 0 : find.email_list) || "";
|
|
402
|
+
}
|
|
403
|
+
};
|
|
384
404
|
const changeIntervalType = () => {
|
|
385
405
|
form.value.cycle_point = [];
|
|
386
406
|
form.value.cycle_interval = 1;
|
|
@@ -413,7 +433,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
413
433
|
date_range,
|
|
414
434
|
cycle_type,
|
|
415
435
|
cycle_interval,
|
|
416
|
-
cycle_point
|
|
436
|
+
cycle_point,
|
|
437
|
+
is_private
|
|
417
438
|
} = form.value;
|
|
418
439
|
let params = {
|
|
419
440
|
topic,
|
|
@@ -422,7 +443,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
422
443
|
is_record,
|
|
423
444
|
group_name,
|
|
424
445
|
platform,
|
|
425
|
-
is_cycle
|
|
446
|
+
is_cycle,
|
|
447
|
+
is_private
|
|
426
448
|
};
|
|
427
449
|
let flag = void 0;
|
|
428
450
|
if (is_cycle) {
|
|
@@ -497,6 +519,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
497
519
|
});
|
|
498
520
|
const changeSig = (sig) => {
|
|
499
521
|
const find = sigOptions.value.find((v) => v.value === sig);
|
|
522
|
+
privateVisible.value = props.enablePrivate && ((find == null ? void 0 : find.private_enable) ?? false);
|
|
500
523
|
if (!isEdit.value) {
|
|
501
524
|
form.value.etherpad = (find == null ? void 0 : find.etherpad) || "";
|
|
502
525
|
form.value.email_list = (find == null ? void 0 : find.email_list) || "";
|
|
@@ -526,7 +549,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
526
549
|
class: "form-wrapper"
|
|
527
550
|
}, {
|
|
528
551
|
default: withCtx(() => {
|
|
529
|
-
var _a, _b, _c, _d, _e, _f;
|
|
552
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
530
553
|
return [
|
|
531
554
|
createVNode(unref(OFormItem), {
|
|
532
555
|
rules: rules.value.topic,
|
|
@@ -620,8 +643,40 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
620
643
|
]),
|
|
621
644
|
_: 1
|
|
622
645
|
}, 8, ["rules"])) : createCommentVNode("", true),
|
|
646
|
+
privateVisible.value ? (openBlock(), createBlock(unref(OFormItem), {
|
|
647
|
+
key: 1,
|
|
648
|
+
label: ((_c = __props.labelMap) == null ? void 0 : _c.is_private) ?? unref(t)("meeting.meetingType"),
|
|
649
|
+
required: "",
|
|
650
|
+
field: "is_private"
|
|
651
|
+
}, {
|
|
652
|
+
default: withCtx(() => [
|
|
653
|
+
createVNode(unref(ORadioGroup), {
|
|
654
|
+
modelValue: form.value.is_private,
|
|
655
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => form.value.is_private = $event),
|
|
656
|
+
onChange: changeIsPrivate,
|
|
657
|
+
disabled: isEdit.value
|
|
658
|
+
}, {
|
|
659
|
+
default: withCtx(() => [
|
|
660
|
+
createVNode(unref(ORadio), { value: false }, {
|
|
661
|
+
default: withCtx(() => [
|
|
662
|
+
createTextVNode(toDisplayString(unref(t)("meeting.public")), 1)
|
|
663
|
+
]),
|
|
664
|
+
_: 1
|
|
665
|
+
}),
|
|
666
|
+
createVNode(unref(ORadio), { value: true }, {
|
|
667
|
+
default: withCtx(() => [
|
|
668
|
+
createTextVNode(toDisplayString(unref(t)("meeting.private")), 1)
|
|
669
|
+
]),
|
|
670
|
+
_: 1
|
|
671
|
+
})
|
|
672
|
+
]),
|
|
673
|
+
_: 1
|
|
674
|
+
}, 8, ["modelValue", "disabled"])
|
|
675
|
+
]),
|
|
676
|
+
_: 1
|
|
677
|
+
}, 8, ["label"])) : createCommentVNode("", true),
|
|
623
678
|
createVNode(unref(OFormItem), {
|
|
624
|
-
label: ((
|
|
679
|
+
label: ((_d = __props.labelMap) == null ? void 0 : _d.time) ?? unref(t)("meeting.meetingTime"),
|
|
625
680
|
field: "time",
|
|
626
681
|
rules: rules.value.time,
|
|
627
682
|
class: "repeat-row",
|
|
@@ -639,9 +694,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
639
694
|
default: withCtx(() => [
|
|
640
695
|
createVNode(unref(ORadioGroup), {
|
|
641
696
|
modelValue: form.value.is_cycle,
|
|
642
|
-
"onUpdate:modelValue": _cache[
|
|
697
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => form.value.is_cycle = $event),
|
|
643
698
|
onChange: changeIsCycle,
|
|
644
|
-
disabled: isEdit.value
|
|
699
|
+
disabled: isEdit.value || form.value.is_private
|
|
645
700
|
}, {
|
|
646
701
|
default: withCtx(() => [
|
|
647
702
|
createVNode(unref(ORadio), { value: false }, {
|
|
@@ -675,7 +730,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
675
730
|
createVNode(unref(ElInputNumber), {
|
|
676
731
|
size: "large",
|
|
677
732
|
modelValue: form.value.cycle_interval,
|
|
678
|
-
"onUpdate:modelValue": _cache[
|
|
733
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => form.value.cycle_interval = $event),
|
|
679
734
|
min: 1,
|
|
680
735
|
max: intervalTypeMax.value
|
|
681
736
|
}, null, 8, ["modelValue", "max"])
|
|
@@ -687,7 +742,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
687
742
|
createVNode(unref(OSelect), {
|
|
688
743
|
size: "large",
|
|
689
744
|
modelValue: form.value.cycle_type,
|
|
690
|
-
"onUpdate:modelValue": _cache[
|
|
745
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => form.value.cycle_type = $event),
|
|
691
746
|
class: "interval-select",
|
|
692
747
|
optionWrapClass: "o-meeting-form-interval-select-options",
|
|
693
748
|
onChange: changeIntervalType
|
|
@@ -722,7 +777,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
722
777
|
size: "large",
|
|
723
778
|
multiple: "",
|
|
724
779
|
modelValue: form.value.cycle_point,
|
|
725
|
-
"onUpdate:modelValue": _cache[
|
|
780
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => form.value.cycle_point = $event),
|
|
726
781
|
placeholder: unref(t)("meeting.selectRepeatDate"),
|
|
727
782
|
"max-tag-count": 1
|
|
728
783
|
}, {
|
|
@@ -740,7 +795,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
740
795
|
form.value.cycle_type === unref(INTERVAL_MONTH) ? (openBlock(), createBlock(_sfc_main$1, {
|
|
741
796
|
key: 1,
|
|
742
797
|
modelValue: form.value.cycle_point,
|
|
743
|
-
"onUpdate:modelValue": _cache[
|
|
798
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => form.value.cycle_point = $event)
|
|
744
799
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
745
800
|
]),
|
|
746
801
|
_: 1
|
|
@@ -753,7 +808,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
753
808
|
createVNode(unref(ElDatePicker), {
|
|
754
809
|
size: "large",
|
|
755
810
|
modelValue: form.value.date_range,
|
|
756
|
-
"onUpdate:modelValue": _cache[
|
|
811
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => form.value.date_range = $event),
|
|
757
812
|
"start-placeholder": unref(t)("meeting.startDate"),
|
|
758
813
|
"end-placeholder": unref(t)("meeting.endDate"),
|
|
759
814
|
style: { "width": "100%" },
|
|
@@ -776,7 +831,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
776
831
|
"popper-class": "o-meeting-form-date-picker-popper",
|
|
777
832
|
size: "large",
|
|
778
833
|
modelValue: form.value.date,
|
|
779
|
-
"onUpdate:modelValue": _cache[
|
|
834
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => form.value.date = $event),
|
|
780
835
|
placeholder: unref(t)("meeting.selectDate"),
|
|
781
836
|
style: { "width": "100%" },
|
|
782
837
|
"value-format": "YYYY-MM-DD",
|
|
@@ -800,7 +855,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
800
855
|
end: "22:45",
|
|
801
856
|
placeholder: unref(t)("meeting.startTime"),
|
|
802
857
|
modelValue: form.value.start,
|
|
803
|
-
"onUpdate:modelValue": _cache[
|
|
858
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => form.value.start = $event),
|
|
804
859
|
size: "large",
|
|
805
860
|
clearable: false,
|
|
806
861
|
onChange: changeTime
|
|
@@ -808,7 +863,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
808
863
|
]),
|
|
809
864
|
_: 1
|
|
810
865
|
}),
|
|
811
|
-
_cache[
|
|
866
|
+
_cache[18] || (_cache[18] = createElementVNode("span", null, "-", -1)),
|
|
812
867
|
createVNode(unref(OFormItem), { field: "end" }, {
|
|
813
868
|
default: withCtx(() => [
|
|
814
869
|
createVNode(unref(ElTimeSelect), {
|
|
@@ -818,7 +873,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
818
873
|
end: "22:45",
|
|
819
874
|
placeholder: unref(t)("meeting.endTime"),
|
|
820
875
|
modelValue: form.value.end,
|
|
821
|
-
"onUpdate:modelValue": _cache[
|
|
876
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => form.value.end = $event),
|
|
822
877
|
size: "large",
|
|
823
878
|
clearable: false,
|
|
824
879
|
onChange: changeTime
|
|
@@ -838,7 +893,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
838
893
|
_: 1
|
|
839
894
|
}, 8, ["label", "rules"]),
|
|
840
895
|
createVNode(unref(OFormItem), {
|
|
841
|
-
label: ((
|
|
896
|
+
label: ((_e = __props.labelMap) == null ? void 0 : _e.platform) ?? unref(t)("meeting.meetingPlatform"),
|
|
842
897
|
field: "platform",
|
|
843
898
|
rules: rules.value.platform,
|
|
844
899
|
class: "platform-item"
|
|
@@ -847,8 +902,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
847
902
|
!__props.data ? (openBlock(), createBlock(unref(ORadioGroup), {
|
|
848
903
|
key: 0,
|
|
849
904
|
modelValue: form.value.platform,
|
|
850
|
-
"onUpdate:modelValue": _cache[
|
|
851
|
-
disabled: form.value.is_cycle
|
|
905
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => form.value.platform = $event),
|
|
906
|
+
disabled: form.value.is_cycle || form.value.is_private
|
|
852
907
|
}, {
|
|
853
908
|
default: withCtx(() => [
|
|
854
909
|
(openBlock(true), createElementBlock(Fragment, null, renderList(typeOptions.value, (item) => {
|
|
@@ -870,7 +925,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
870
925
|
}, 8, ["label", "rules"]),
|
|
871
926
|
createVNode(unref(OFormItem), {
|
|
872
927
|
field: "agenda",
|
|
873
|
-
label: ((
|
|
928
|
+
label: ((_f = __props.labelMap) == null ? void 0 : _f.agenda) ?? unref(t)("meeting.meetingAgenda"),
|
|
874
929
|
rules: rules.value.genda
|
|
875
930
|
}, {
|
|
876
931
|
default: withCtx(() => [
|
|
@@ -881,13 +936,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
881
936
|
style: { "width": "100%" },
|
|
882
937
|
rows: 4,
|
|
883
938
|
modelValue: form.value.agenda,
|
|
884
|
-
"onUpdate:modelValue": _cache[
|
|
939
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => form.value.agenda = $event)
|
|
885
940
|
}, null, 8, ["disabled", "placeholder", "modelValue"])
|
|
886
941
|
]),
|
|
887
942
|
_: 1
|
|
888
943
|
}, 8, ["label", "rules"]),
|
|
889
944
|
createVNode(unref(OFormItem), {
|
|
890
|
-
label: ((
|
|
945
|
+
label: ((_g = __props.labelMap) == null ? void 0 : _g.is_record) ?? unref(t)("meeting.meetingRecord"),
|
|
891
946
|
field: "is_record",
|
|
892
947
|
class: "record-item full-width-item"
|
|
893
948
|
}, {
|
|
@@ -895,12 +950,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
895
950
|
unref(lePadV) ? (openBlock(), createBlock(unref(OSwitch), {
|
|
896
951
|
key: 0,
|
|
897
952
|
modelValue: form.value.is_record,
|
|
898
|
-
"onUpdate:modelValue": _cache[
|
|
953
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => form.value.is_record = $event),
|
|
899
954
|
disabled: isSub.value
|
|
900
955
|
}, null, 8, ["modelValue", "disabled"])) : (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
901
956
|
createVNode(unref(OSwitch), {
|
|
902
957
|
modelValue: form.value.is_record,
|
|
903
|
-
"onUpdate:modelValue": _cache[
|
|
958
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => form.value.is_record = $event),
|
|
904
959
|
disabled: isSub.value
|
|
905
960
|
}, null, 8, ["modelValue", "disabled"]),
|
|
906
961
|
createElementVNode("div", _hoisted_10, [
|
|
@@ -911,17 +966,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
911
966
|
_: 1
|
|
912
967
|
}),
|
|
913
968
|
createElementVNode("div", null, [
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
969
|
+
form.value.is_private ? (openBlock(), createElementBlock("span", _hoisted_11, toDisplayString(unref(t)("meeting.privateRecordDesc", [form.value.platform, __props.privateContactEmail])), 1)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
970
|
+
createElementVNode("span", null, toDisplayString(unref(t)("meeting.meetingRecordDesc1")), 1),
|
|
971
|
+
_cache[19] || (_cache[19] = createElementVNode("br", null, null, -1)),
|
|
972
|
+
createElementVNode("span", null, toDisplayString(unref(t)("meeting.meetingRecordDesc2")), 1)
|
|
973
|
+
], 64))
|
|
917
974
|
])
|
|
918
975
|
])
|
|
919
976
|
]))
|
|
920
977
|
]),
|
|
921
978
|
_: 1
|
|
922
979
|
}, 8, ["label"]),
|
|
923
|
-
unref(lePadV) ? (openBlock(), createElementBlock("div",
|
|
924
|
-
createElementVNode("div",
|
|
980
|
+
unref(lePadV) ? (openBlock(), createElementBlock("div", _hoisted_12, [
|
|
981
|
+
createElementVNode("div", _hoisted_13, [
|
|
925
982
|
createVNode(unref(OIcon), null, {
|
|
926
983
|
default: withCtx(() => [
|
|
927
984
|
createVNode(unref(IconTip))
|
|
@@ -930,7 +987,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
930
987
|
}),
|
|
931
988
|
createElementVNode("div", null, [
|
|
932
989
|
createElementVNode("span", null, toDisplayString(unref(t)("meeting.meetingRecordDesc1")), 1),
|
|
933
|
-
_cache[
|
|
990
|
+
_cache[20] || (_cache[20] = createElementVNode("br", null, null, -1)),
|
|
934
991
|
createElementVNode("span", null, toDisplayString(unref(t)("meeting.meetingRecordDesc2")), 1)
|
|
935
992
|
])
|
|
936
993
|
])
|
|
@@ -944,7 +1001,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
944
1001
|
return [
|
|
945
1002
|
((_a2 = __props.labelMap) == null ? void 0 : _a2.email_list) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
946
1003
|
createTextVNode(toDisplayString(__props.labelMap.email_list), 1)
|
|
947
|
-
], 64)) : (openBlock(), createElementBlock("div",
|
|
1004
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_14, [
|
|
948
1005
|
createElementVNode("span", null, toDisplayString(unref(t)("meeting.meetingEmail")) + " ", 1),
|
|
949
1006
|
createVNode(unref(OPopover), null, {
|
|
950
1007
|
target: withCtx(() => [
|
|
@@ -956,12 +1013,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
956
1013
|
})
|
|
957
1014
|
]),
|
|
958
1015
|
default: withCtx(() => [
|
|
959
|
-
createElementVNode("div",
|
|
1016
|
+
createElementVNode("div", _hoisted_15, [
|
|
960
1017
|
createTextVNode(toDisplayString(unref(t)("meeting.meetingEmailDesc")) + " ", 1),
|
|
961
1018
|
createElementVNode("a", {
|
|
962
1019
|
class: "link-text",
|
|
963
1020
|
href: `/${unref(locale)}/sig`
|
|
964
|
-
}, toDisplayString(unref(t)("meeting.sigGroupEmail")), 9,
|
|
1021
|
+
}, toDisplayString(unref(t)("meeting.sigGroupEmail")), 9, _hoisted_16)
|
|
965
1022
|
])
|
|
966
1023
|
]),
|
|
967
1024
|
_: 1
|
|
@@ -973,11 +1030,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
973
1030
|
createVNode(unref(OTextarea), {
|
|
974
1031
|
disabled: isEdit.value,
|
|
975
1032
|
size: "large",
|
|
976
|
-
placeholder: unref(t)("meeting.enterEmail"),
|
|
1033
|
+
placeholder: form.value.is_private ? unref(t)("meeting.privateEnterEmail") : unref(t)("meeting.enterEmail"),
|
|
977
1034
|
style: { "width": "100%" },
|
|
978
1035
|
rows: 4,
|
|
979
1036
|
modelValue: form.value.email_list,
|
|
980
|
-
"onUpdate:modelValue": _cache[
|
|
1037
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => form.value.email_list = $event)
|
|
981
1038
|
}, null, 8, ["disabled", "placeholder", "modelValue"])
|
|
982
1039
|
]),
|
|
983
1040
|
_: 1
|
|
@@ -986,7 +1043,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
986
1043
|
}),
|
|
987
1044
|
_: 1
|
|
988
1045
|
}, 8, ["model", "layout"]),
|
|
989
|
-
__props.showBtns ? (openBlock(), createElementBlock("div",
|
|
1046
|
+
__props.showBtns ? (openBlock(), createElementBlock("div", _hoisted_17, [
|
|
990
1047
|
createVNode(unref(OButton), {
|
|
991
1048
|
color: "primary",
|
|
992
1049
|
variant: "solid",
|
|
@@ -1088,6 +1088,10 @@
|
|
|
1088
1088
|
border: none;
|
|
1089
1089
|
font-weight: 400;
|
|
1090
1090
|
}
|
|
1091
|
+
.o-my-meeting-calendar .meeting-list .list-body .o-collapse .o-collapse-item-header .o-collapse-item-title .item-header-left .header-info .meeting-title .tag-wrapper .o-tag.private-tag {
|
|
1092
|
+
--tag-color: var(--o-color-warning1);
|
|
1093
|
+
background-color: rgba(var(--o-orange-6), 0.1);
|
|
1094
|
+
}
|
|
1091
1095
|
.o-my-meeting-calendar .meeting-list .list-body .o-collapse .o-collapse-item-header .o-collapse-item-title .item-header-left .header-info .meeting-title .title-wrapper {
|
|
1092
1096
|
flex: 0 1 auto;
|
|
1093
1097
|
min-width: 0;
|
|
@@ -13,6 +13,8 @@ import { useDebounceFn } from "@vueuse/core";
|
|
|
13
13
|
import { useScreen } from "@opendesign-plus/composables";
|
|
14
14
|
import { Locales } from "../../i18n/index.mjs";
|
|
15
15
|
import IconCopy from "../../_virtual/icon-copy.mjs";
|
|
16
|
+
import _sfc_main$2 from "../common/TooltipText.vue.mjs";
|
|
17
|
+
import '../common/TooltipText.css';
|
|
16
18
|
const _hoisted_1 = { class: "o-my-meeting-calendar" };
|
|
17
19
|
const _hoisted_2 = { class: "meeting-list" };
|
|
18
20
|
const _hoisted_3 = { class: "list-calendar-mb" };
|
|
@@ -32,21 +34,25 @@ const _hoisted_16 = {
|
|
|
32
34
|
key: 1,
|
|
33
35
|
class: "tag-wrapper"
|
|
34
36
|
};
|
|
35
|
-
const _hoisted_17 = {
|
|
36
|
-
|
|
37
|
+
const _hoisted_17 = {
|
|
38
|
+
key: 2,
|
|
39
|
+
class: "tag-wrapper"
|
|
40
|
+
};
|
|
41
|
+
const _hoisted_18 = { class: "meeting-info" };
|
|
42
|
+
const _hoisted_19 = {
|
|
37
43
|
key: 0,
|
|
38
44
|
class: "item-header-right"
|
|
39
45
|
};
|
|
40
|
-
const
|
|
41
|
-
const
|
|
46
|
+
const _hoisted_20 = { class: "meeting-detail" };
|
|
47
|
+
const _hoisted_21 = {
|
|
42
48
|
key: 0,
|
|
43
49
|
class: "meeting-btn"
|
|
44
50
|
};
|
|
45
|
-
const
|
|
51
|
+
const _hoisted_22 = {
|
|
46
52
|
key: 0,
|
|
47
53
|
class: "load-text"
|
|
48
54
|
};
|
|
49
|
-
const
|
|
55
|
+
const _hoisted_23 = { class: "dialog-content" };
|
|
50
56
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
51
57
|
__name: "OMeetingMyCalendar",
|
|
52
58
|
props: {
|
|
@@ -674,7 +680,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
674
680
|
createElementVNode("div", _hoisted_12, [
|
|
675
681
|
row.is_delete ? (openBlock(), createElementBlock("div", _hoisted_13, toDisplayString(unref(t)("meeting.meetingCancelled")), 1)) : createCommentVNode("", true),
|
|
676
682
|
createElementVNode("div", _hoisted_14, [
|
|
677
|
-
createElementVNode("div", _hoisted_15,
|
|
683
|
+
createElementVNode("div", _hoisted_15, [
|
|
684
|
+
createVNode(_sfc_main$2, null, {
|
|
685
|
+
default: withCtx(() => [
|
|
686
|
+
createTextVNode(toDisplayString(row.topic), 1)
|
|
687
|
+
]),
|
|
688
|
+
_: 2
|
|
689
|
+
}, 1024)
|
|
690
|
+
])
|
|
678
691
|
]),
|
|
679
692
|
row.is_cycle ? (openBlock(), createElementBlock("div", _hoisted_16, [
|
|
680
693
|
createVNode(unref(OTag), {
|
|
@@ -686,16 +699,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
686
699
|
]),
|
|
687
700
|
_: 1
|
|
688
701
|
})
|
|
702
|
+
])) : createCommentVNode("", true),
|
|
703
|
+
row.is_private ? (openBlock(), createElementBlock("div", _hoisted_17, [
|
|
704
|
+
createVNode(unref(OTag), {
|
|
705
|
+
color: "primary",
|
|
706
|
+
class: "private-tag",
|
|
707
|
+
variant: "outline"
|
|
708
|
+
}, {
|
|
709
|
+
default: withCtx(() => [
|
|
710
|
+
createTextVNode(toDisplayString(unref(t)("meeting.privateTag")), 1)
|
|
711
|
+
]),
|
|
712
|
+
_: 1
|
|
713
|
+
})
|
|
689
714
|
])) : createCommentVNode("", true)
|
|
690
715
|
]),
|
|
691
|
-
createElementVNode("div",
|
|
716
|
+
createElementVNode("div", _hoisted_18, [
|
|
692
717
|
createElementVNode("span", null, toDisplayString(row.dateRange), 1),
|
|
693
718
|
createVNode(unref(ODivider), { direction: "v" }),
|
|
694
719
|
createElementVNode("span", null, toDisplayString(__props.groupType === unref(MeetingGroupType).GROUP ? unref(t)("meeting.groups") : unref(t)("meeting.sigs")) + ": " + toDisplayString(row.group_name), 1)
|
|
695
720
|
])
|
|
696
721
|
])
|
|
697
722
|
]),
|
|
698
|
-
!row.is_delete ? (openBlock(), createElementBlock("div",
|
|
723
|
+
!row.is_delete ? (openBlock(), createElementBlock("div", _hoisted_19, [
|
|
699
724
|
!row.isExpired ? (openBlock(), createBlock(unref(OLink), {
|
|
700
725
|
key: 0,
|
|
701
726
|
"hover-underline": false,
|
|
@@ -768,7 +793,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
768
793
|
}, 8, ["onClick"])
|
|
769
794
|
]),
|
|
770
795
|
default: withCtx(() => [
|
|
771
|
-
createElementVNode("div",
|
|
796
|
+
createElementVNode("div", _hoisted_20, [
|
|
772
797
|
createVNode(_sfc_main$1, {
|
|
773
798
|
show: expanded.value.includes(row.sub_id || row.id),
|
|
774
799
|
data: row,
|
|
@@ -776,7 +801,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
776
801
|
ref: (insRef) => getDetailRefs(insRef, row.sub_id || row.id),
|
|
777
802
|
from: "my"
|
|
778
803
|
}, null, 8, ["show", "data"]),
|
|
779
|
-
!row.isExpired && !row.is_delete ? (openBlock(), createElementBlock("div",
|
|
804
|
+
!row.isExpired && !row.is_delete ? (openBlock(), createElementBlock("div", _hoisted_21, [
|
|
780
805
|
createVNode(unref(OButton), {
|
|
781
806
|
color: "normal",
|
|
782
807
|
variant: "text",
|
|
@@ -806,7 +831,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
806
831
|
_cache[12] || (_cache[12] = createElementVNode("div", { class: "height-placeholder" }, null, -1))
|
|
807
832
|
], 2),
|
|
808
833
|
idx === groupList.value.length - 1 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
809
|
-
bottomReached.value ? (openBlock(), createElementBlock("div",
|
|
834
|
+
bottomReached.value ? (openBlock(), createElementBlock("div", _hoisted_22, toDisplayString(unref(t)("common.loading")), 1)) : createCommentVNode("", true),
|
|
810
835
|
createElementVNode("div", {
|
|
811
836
|
class: "list-month-change next-month",
|
|
812
837
|
onClick: _cache[6] || (_cache[6] = ($event) => changeMonth("next-month"))
|
|
@@ -875,7 +900,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
875
900
|
default: withCtx(() => {
|
|
876
901
|
var _a;
|
|
877
902
|
return [
|
|
878
|
-
createElementVNode("div",
|
|
903
|
+
createElementVNode("div", _hoisted_23, toDisplayString(unref(t)("meeting.confirmCancelDesc", [(_a = currentRow.value) == null ? void 0 : _a.topic])), 1)
|
|
879
904
|
];
|
|
880
905
|
}),
|
|
881
906
|
_: 1
|
|
@@ -6,7 +6,7 @@ declare function __VLS_template(): {
|
|
|
6
6
|
};
|
|
7
7
|
refs: {
|
|
8
8
|
leftRef: HTMLDivElement;
|
|
9
|
-
playerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
9
|
+
playerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').MeetingPlaybackVideoPropsT> & Readonly<{
|
|
10
10
|
onGetDuration?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
onGetInstance?: ((...args: any[]) => any) | undefined;
|
|
12
12
|
onSetTrackIdx?: ((...args: any[]) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ declare function __VLS_template(): {
|
|
|
27
27
|
C: {};
|
|
28
28
|
M: {};
|
|
29
29
|
Defaults: {};
|
|
30
|
-
}, Readonly<import('
|
|
30
|
+
}, Readonly<import('./types').MeetingPlaybackVideoPropsT> & Readonly<{
|
|
31
31
|
onGetDuration?: ((...args: any[]) => any) | undefined;
|
|
32
32
|
onGetInstance?: ((...args: any[]) => any) | undefined;
|
|
33
33
|
onSetTrackIdx?: ((...args: any[]) => any) | undefined;
|
|
@@ -47,12 +47,12 @@ declare const __VLS_component: import('vue').DefineComponent<MeetingPlaybackProp
|
|
|
47
47
|
}, string, import('vue').PublicProps, Readonly<MeetingPlaybackPropsT> & Readonly<{
|
|
48
48
|
"onChange-date"?: ((...args: any[]) => any) | undefined;
|
|
49
49
|
}>, {
|
|
50
|
-
data: import('
|
|
50
|
+
data: import('./types').MeetingPlaybackPropsDataT;
|
|
51
51
|
dates: string[];
|
|
52
|
-
detail: import('
|
|
52
|
+
detail: import('./types').MeetingPlaybackPropsDetailT;
|
|
53
53
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
54
54
|
leftRef: HTMLDivElement;
|
|
55
|
-
playerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
55
|
+
playerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').MeetingPlaybackVideoPropsT> & Readonly<{
|
|
56
56
|
onGetDuration?: ((...args: any[]) => any) | undefined;
|
|
57
57
|
onGetInstance?: ((...args: any[]) => any) | undefined;
|
|
58
58
|
onSetTrackIdx?: ((...args: any[]) => any) | undefined;
|
|
@@ -73,7 +73,7 @@ declare const __VLS_component: import('vue').DefineComponent<MeetingPlaybackProp
|
|
|
73
73
|
C: {};
|
|
74
74
|
M: {};
|
|
75
75
|
Defaults: {};
|
|
76
|
-
}, Readonly<import('
|
|
76
|
+
}, Readonly<import('./types').MeetingPlaybackVideoPropsT> & Readonly<{
|
|
77
77
|
onGetDuration?: ((...args: any[]) => any) | undefined;
|
|
78
78
|
onGetInstance?: ((...args: any[]) => any) | undefined;
|
|
79
79
|
onSetTrackIdx?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch, nextTick, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, unref, withCtx, Fragment, renderList, createElementVNode, createVNode, normalizeStyle, resolveDynamicComponent,
|
|
1
|
+
import { defineComponent, ref, computed, watch, nextTick, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, unref, withCtx, Fragment, renderList, createElementVNode, createVNode, normalizeStyle, resolveDynamicComponent, createTextVNode, toDisplayString, createCommentVNode, withModifiers } from "vue";
|
|
2
2
|
import { useMessage, isClient, OCollapse, OCollapseItem, OIcon, OTag, ODivider, OButton } from "@opensig/opendesign";
|
|
3
3
|
import _sfc_main$1 from "./OMeetingDetail.vue.mjs";
|
|
4
4
|
import './OMeetingDetail.css';
|
|
@@ -9,6 +9,8 @@ import { INTERVAL_DAY, INTERVAL_WEEK, INTERVAL_MONTH } from "../config.mjs";
|
|
|
9
9
|
import { formatDate } from "../utils.mjs";
|
|
10
10
|
import { useMeetingConfig } from "../composables/useMeetingConfig.mjs";
|
|
11
11
|
import { useActivityConfig } from "../../activity/composables/useActivityConfig.mjs";
|
|
12
|
+
import _sfc_main$2 from "../../common/TooltipText.vue.mjs";
|
|
13
|
+
import '../../common/TooltipText.css';
|
|
12
14
|
const _hoisted_1 = { class: "meet-title-left" };
|
|
13
15
|
const _hoisted_2 = ["title"];
|
|
14
16
|
const _hoisted_3 = { class: "text" };
|
|
@@ -243,7 +245,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
243
245
|
]),
|
|
244
246
|
_: 2
|
|
245
247
|
}, 1032, ["style"]),
|
|
246
|
-
createElementVNode("div", _hoisted_3,
|
|
248
|
+
createElementVNode("div", _hoisted_3, [
|
|
249
|
+
createVNode(_sfc_main$2, null, {
|
|
250
|
+
default: withCtx(() => [
|
|
251
|
+
createTextVNode(toDisplayString((item.topic || item.name || item.title).repeat(3)), 1)
|
|
252
|
+
]),
|
|
253
|
+
_: 2
|
|
254
|
+
}, 1024)
|
|
255
|
+
]),
|
|
247
256
|
item.is_cycle ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
248
257
|
createVNode(unref(OTag), {
|
|
249
258
|
color: "primary",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, toDisplayString, createBlock, unref, withCtx, createTextVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { OLink } from "@opensig/opendesign";
|
|
3
3
|
import { CalendarDataType } from "../types.mjs";
|
|
4
|
-
import
|
|
4
|
+
import _sfc_main$1 from "../../common/MoreText.vue.mjs";
|
|
5
|
+
import '../../common/MoreText.css';
|
|
5
6
|
import { formatDate } from "../utils.mjs";
|
|
6
7
|
import { useMeetingConfig } from "../composables/useMeetingConfig.mjs";
|
|
7
8
|
import { useI18n } from "../../../i18n/index.mjs";
|
|
@@ -146,7 +147,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
146
147
|
getField(info.key) && !info.isRecord ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
147
148
|
createElementVNode("span", _hoisted_2, toDisplayString(info.label), 1),
|
|
148
149
|
createElementVNode("span", { class: "split-mark" }, toDisplayString(SPLIT_MARK)),
|
|
149
|
-
info.ellipsis ? (openBlock(), createBlock(
|
|
150
|
+
info.ellipsis ? (openBlock(), createBlock(_sfc_main$1, {
|
|
150
151
|
key: 0,
|
|
151
152
|
show: __props.show,
|
|
152
153
|
text: getField(info.key) || "-"
|