@opendesign-plus-test/components 0.0.1-rc.84 → 0.0.1-rc.85

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.
Files changed (44) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +85 -73
  3. package/dist/components/activity/index.d.ts +9 -9
  4. package/dist/components/banner/index.d.ts +6 -6
  5. package/dist/components/events/index.d.ts +20 -20
  6. package/dist/components/header/OHeaderMobile.vue.d.ts +22 -22
  7. package/dist/components/header/components/HeaderNavMobile.vue.d.ts +3 -3
  8. package/dist/components/header/index.d.ts +27 -27
  9. package/dist/components/header-search/index.d.ts +13 -13
  10. package/dist/components/meeting/OMeetingForm.vue.d.ts +2 -0
  11. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  12. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  13. package/dist/components/meeting/index.d.ts +37 -31
  14. package/dist/components/meeting/types.d.ts +3 -0
  15. package/dist/components/search/index.d.ts +11 -11
  16. package/dist/components.cjs.js +38 -37
  17. package/dist/components.css +1 -1
  18. package/dist/components.es.js +7949 -7808
  19. package/dist/treeshaking/components/activity/index.d.ts +9 -9
  20. package/dist/treeshaking/components/banner/index.d.ts +6 -6
  21. package/dist/treeshaking/components/common/TooltipText.css +27 -0
  22. package/dist/treeshaking/components/common/TooltipText.vue.mjs +8 -0
  23. package/dist/treeshaking/components/common/TooltipText.vue2.mjs +85 -0
  24. package/dist/treeshaking/components/common/TooltipText2.css +15 -0
  25. package/dist/treeshaking/components/events/index.d.ts +20 -20
  26. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +22 -22
  27. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +3 -3
  28. package/dist/treeshaking/components/header/index.d.ts +27 -27
  29. package/dist/treeshaking/components/header-search/index.d.ts +13 -13
  30. package/dist/treeshaking/components/meeting/OMeetingForm.vue.d.ts +2 -0
  31. package/dist/treeshaking/components/meeting/OMeetingForm.vue.mjs +104 -47
  32. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.css +4 -0
  33. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.mjs +37 -13
  34. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  35. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +10 -2
  36. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  37. package/dist/treeshaking/components/meeting/index.d.ts +37 -31
  38. package/dist/treeshaking/components/meeting/types.d.ts +3 -0
  39. package/dist/treeshaking/components/search/index.d.ts +11 -11
  40. package/dist/treeshaking/i18n/en.mjs +6 -0
  41. package/dist/treeshaking/i18n/zh.mjs +8 -2
  42. package/package.json +3 -3
  43. package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +0 -664
  44. package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +0 -664
@@ -19,8 +19,8 @@ declare const OHeaderSearch: {
19
19
  imageUrl: string;
20
20
  enableImageSearch: boolean;
21
21
  maxImageSize: number;
22
- onestepItems: import('../../index').OSearchRecommendItem[];
23
- suggestItems: import('../../index').OSearchRecommendItem[];
22
+ onestepItems: import('../search').OSearchRecommendItem[];
23
+ suggestItems: import('../search').OSearchRecommendItem[];
24
24
  recommendItems: string[];
25
25
  historyItems: string[];
26
26
  hotItems: string[];
@@ -45,7 +45,7 @@ declare const OHeaderSearch: {
45
45
  readonly imagePlaceholder?: string | undefined;
46
46
  readonly size?: "small" | "medium" | "large" | undefined;
47
47
  readonly enableImageSearch?: boolean | undefined;
48
- readonly uploadImage?: import('../../index').OSearchUploadImageFn | undefined;
48
+ readonly uploadImage?: import('../search').OSearchUploadImageFn | undefined;
49
49
  readonly maxImageSize?: number | undefined;
50
50
  readonly imageUploadTooltip?: string | undefined;
51
51
  readonly expanded?: boolean | undefined;
@@ -501,8 +501,8 @@ declare const OHeaderSearch: {
501
501
  imageUrl: string;
502
502
  enableImageSearch: boolean;
503
503
  maxImageSize: number;
504
- onestepItems: import('../../index').OSearchRecommendItem[];
505
- suggestItems: import('../../index').OSearchRecommendItem[];
504
+ onestepItems: import('../search').OSearchRecommendItem[];
505
+ suggestItems: import('../search').OSearchRecommendItem[];
506
506
  recommendItems: string[];
507
507
  historyItems: string[];
508
508
  hotItems: string[];
@@ -537,8 +537,8 @@ declare const OHeaderSearch: {
537
537
  imageUrl: string;
538
538
  enableImageSearch: boolean;
539
539
  maxImageSize: number;
540
- onestepItems: import('../../index').OSearchRecommendItem[];
541
- suggestItems: import('../../index').OSearchRecommendItem[];
540
+ onestepItems: import('../search').OSearchRecommendItem[];
541
+ suggestItems: import('../search').OSearchRecommendItem[];
542
542
  recommendItems: string[];
543
543
  historyItems: string[];
544
544
  hotItems: string[];
@@ -564,8 +564,8 @@ declare const OHeaderSearch: {
564
564
  recommendItems: string[];
565
565
  historyItems: string[];
566
566
  hotItems: string[];
567
- suggestItems: import('../../index').OSearchRecommendItem[];
568
- onestepItems: import('../../index').OSearchRecommendItem[];
567
+ suggestItems: import('../search').OSearchRecommendItem[];
568
+ onestepItems: import('../search').OSearchRecommendItem[];
569
569
  keyword: string;
570
570
  }): any;
571
571
  'recommend-header'?(_: {
@@ -575,17 +575,17 @@ declare const OHeaderSearch: {
575
575
  items: string[];
576
576
  }): any;
577
577
  'onestep-header'?(_: {
578
- items: import('../../index').OSearchRecommendItem[];
578
+ items: import('../search').OSearchRecommendItem[];
579
579
  }): any;
580
580
  'onestep-content'?(_: {
581
- items: import('../../index').OSearchRecommendItem[];
581
+ items: import('../search').OSearchRecommendItem[];
582
582
  keyword: string;
583
583
  }): any;
584
584
  'suggest-header'?(_: {
585
- items: import('../../index').OSearchRecommendItem[];
585
+ items: import('../search').OSearchRecommendItem[];
586
586
  }): any;
587
587
  'suggest-content'?(_: {
588
- items: import('../../index').OSearchRecommendItem[];
588
+ items: import('../search').OSearchRecommendItem[];
589
589
  keyword: string;
590
590
  }): any;
591
591
  'history-header'?(_: {
@@ -10,6 +10,8 @@ declare const _default: import('vue').DefineComponent<MeetingFormPropsT, {
10
10
  }>, {
11
11
  groupType: MeetingGroupType;
12
12
  showBtns: boolean;
13
+ privateContactEmail: string;
14
+ enablePrivate: boolean;
13
15
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
14
16
  formRef: ({
15
17
  $: import('vue').ComponentInternalInstance;
@@ -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
- key: 1,
34
+ const _hoisted_11 = { key: 0 };
35
+ const _hoisted_12 = {
36
+ key: 2,
36
37
  class: "switch-wrapper"
37
38
  };
38
- const _hoisted_12 = { class: "switch-text" };
39
- const _hoisted_13 = {
39
+ const _hoisted_13 = { class: "switch-text" };
40
+ const _hoisted_14 = {
40
41
  key: 1,
41
42
  class: "label-wrapper"
42
43
  };
43
- const _hoisted_14 = { class: "o-meeting-form-popover-content" };
44
- const _hoisted_15 = ["href"];
45
- const _hoisted_16 = {
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: ((_c = __props.labelMap) == null ? void 0 : _c.time) ?? unref(t)("meeting.meetingTime"),
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[3] || (_cache[3] = ($event) => form.value.is_cycle = $event),
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[4] || (_cache[4] = ($event) => form.value.cycle_interval = $event),
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[5] || (_cache[5] = ($event) => form.value.cycle_type = $event),
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[6] || (_cache[6] = ($event) => form.value.cycle_point = $event),
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[7] || (_cache[7] = ($event) => form.value.cycle_point = $event)
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[8] || (_cache[8] = ($event) => form.value.date_range = $event),
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[9] || (_cache[9] = ($event) => form.value.date = $event),
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[10] || (_cache[10] = ($event) => form.value.start = $event),
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[17] || (_cache[17] = createElementVNode("span", null, "-", -1)),
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[11] || (_cache[11] = ($event) => form.value.end = $event),
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: ((_d = __props.labelMap) == null ? void 0 : _d.platform) ?? unref(t)("meeting.meetingPlatform"),
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[12] || (_cache[12] = ($event) => form.value.platform = $event),
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: ((_e = __props.labelMap) == null ? void 0 : _e.agenda) ?? unref(t)("meeting.meetingAgenda"),
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[13] || (_cache[13] = ($event) => form.value.agenda = $event)
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: ((_f = __props.labelMap) == null ? void 0 : _f.is_record) ?? unref(t)("meeting.meetingRecord"),
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[14] || (_cache[14] = ($event) => form.value.is_record = $event),
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[15] || (_cache[15] = ($event) => form.value.is_record = $event),
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
- createElementVNode("span", null, toDisplayString(unref(t)("meeting.meetingRecordDesc1")), 1),
915
- _cache[18] || (_cache[18] = createElementVNode("br", null, null, -1)),
916
- createElementVNode("span", null, toDisplayString(unref(t)("meeting.meetingRecordDesc2")), 1)
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", _hoisted_11, [
924
- createElementVNode("div", _hoisted_12, [
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[19] || (_cache[19] = createElementVNode("br", null, null, -1)),
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", _hoisted_13, [
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", _hoisted_14, [
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, _hoisted_15)
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[16] || (_cache[16] = ($event) => form.value.email_list = $event)
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", _hoisted_16, [
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,7 @@ 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 TooltipText from "../common/TooltipText.vue.mjs";
16
17
  const _hoisted_1 = { class: "o-my-meeting-calendar" };
17
18
  const _hoisted_2 = { class: "meeting-list" };
18
19
  const _hoisted_3 = { class: "list-calendar-mb" };
@@ -32,21 +33,25 @@ const _hoisted_16 = {
32
33
  key: 1,
33
34
  class: "tag-wrapper"
34
35
  };
35
- const _hoisted_17 = { class: "meeting-info" };
36
- const _hoisted_18 = {
36
+ const _hoisted_17 = {
37
+ key: 2,
38
+ class: "tag-wrapper"
39
+ };
40
+ const _hoisted_18 = { class: "meeting-info" };
41
+ const _hoisted_19 = {
37
42
  key: 0,
38
43
  class: "item-header-right"
39
44
  };
40
- const _hoisted_19 = { class: "meeting-detail" };
41
- const _hoisted_20 = {
45
+ const _hoisted_20 = { class: "meeting-detail" };
46
+ const _hoisted_21 = {
42
47
  key: 0,
43
48
  class: "meeting-btn"
44
49
  };
45
- const _hoisted_21 = {
50
+ const _hoisted_22 = {
46
51
  key: 0,
47
52
  class: "load-text"
48
53
  };
49
- const _hoisted_22 = { class: "dialog-content" };
54
+ const _hoisted_23 = { class: "dialog-content" };
50
55
  const _sfc_main = /* @__PURE__ */ defineComponent({
51
56
  __name: "OMeetingMyCalendar",
52
57
  props: {
@@ -674,7 +679,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
674
679
  createElementVNode("div", _hoisted_12, [
675
680
  row.is_delete ? (openBlock(), createElementBlock("div", _hoisted_13, toDisplayString(unref(t)("meeting.meetingCancelled")), 1)) : createCommentVNode("", true),
676
681
  createElementVNode("div", _hoisted_14, [
677
- createElementVNode("div", _hoisted_15, toDisplayString(row.topic), 1)
682
+ createElementVNode("div", _hoisted_15, [
683
+ createVNode(TooltipText, null, {
684
+ default: withCtx(() => [
685
+ createTextVNode(toDisplayString(row.topic), 1)
686
+ ]),
687
+ _: 2
688
+ }, 1024)
689
+ ])
678
690
  ]),
679
691
  row.is_cycle ? (openBlock(), createElementBlock("div", _hoisted_16, [
680
692
  createVNode(unref(OTag), {
@@ -686,16 +698,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
686
698
  ]),
687
699
  _: 1
688
700
  })
701
+ ])) : createCommentVNode("", true),
702
+ row.is_private ? (openBlock(), createElementBlock("div", _hoisted_17, [
703
+ createVNode(unref(OTag), {
704
+ color: "primary",
705
+ class: "private-tag",
706
+ variant: "outline"
707
+ }, {
708
+ default: withCtx(() => [
709
+ createTextVNode(toDisplayString(unref(t)("meeting.privateTag")), 1)
710
+ ]),
711
+ _: 1
712
+ })
689
713
  ])) : createCommentVNode("", true)
690
714
  ]),
691
- createElementVNode("div", _hoisted_17, [
715
+ createElementVNode("div", _hoisted_18, [
692
716
  createElementVNode("span", null, toDisplayString(row.dateRange), 1),
693
717
  createVNode(unref(ODivider), { direction: "v" }),
694
718
  createElementVNode("span", null, toDisplayString(__props.groupType === unref(MeetingGroupType).GROUP ? unref(t)("meeting.groups") : unref(t)("meeting.sigs")) + ": " + toDisplayString(row.group_name), 1)
695
719
  ])
696
720
  ])
697
721
  ]),
698
- !row.is_delete ? (openBlock(), createElementBlock("div", _hoisted_18, [
722
+ !row.is_delete ? (openBlock(), createElementBlock("div", _hoisted_19, [
699
723
  !row.isExpired ? (openBlock(), createBlock(unref(OLink), {
700
724
  key: 0,
701
725
  "hover-underline": false,
@@ -768,7 +792,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
768
792
  }, 8, ["onClick"])
769
793
  ]),
770
794
  default: withCtx(() => [
771
- createElementVNode("div", _hoisted_19, [
795
+ createElementVNode("div", _hoisted_20, [
772
796
  createVNode(_sfc_main$1, {
773
797
  show: expanded.value.includes(row.sub_id || row.id),
774
798
  data: row,
@@ -776,7 +800,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
776
800
  ref: (insRef) => getDetailRefs(insRef, row.sub_id || row.id),
777
801
  from: "my"
778
802
  }, null, 8, ["show", "data"]),
779
- !row.isExpired && !row.is_delete ? (openBlock(), createElementBlock("div", _hoisted_20, [
803
+ !row.isExpired && !row.is_delete ? (openBlock(), createElementBlock("div", _hoisted_21, [
780
804
  createVNode(unref(OButton), {
781
805
  color: "normal",
782
806
  variant: "text",
@@ -806,7 +830,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
806
830
  _cache[12] || (_cache[12] = createElementVNode("div", { class: "height-placeholder" }, null, -1))
807
831
  ], 2),
808
832
  idx === groupList.value.length - 1 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
809
- bottomReached.value ? (openBlock(), createElementBlock("div", _hoisted_21, toDisplayString(unref(t)("common.loading")), 1)) : createCommentVNode("", true),
833
+ bottomReached.value ? (openBlock(), createElementBlock("div", _hoisted_22, toDisplayString(unref(t)("common.loading")), 1)) : createCommentVNode("", true),
810
834
  createElementVNode("div", {
811
835
  class: "list-month-change next-month",
812
836
  onClick: _cache[6] || (_cache[6] = ($event) => changeMonth("next-month"))
@@ -875,7 +899,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
875
899
  default: withCtx(() => {
876
900
  var _a;
877
901
  return [
878
- createElementVNode("div", _hoisted_22, toDisplayString(unref(t)("meeting.confirmCancelDesc", [(_a = currentRow.value) == null ? void 0 : _a.topic])), 1)
902
+ createElementVNode("div", _hoisted_23, toDisplayString(unref(t)("meeting.confirmCancelDesc", [(_a = currentRow.value) == null ? void 0 : _a.topic])), 1)
879
903
  ];
880
904
  }),
881
905
  _: 1