@opendesign-plus-test/components 0.0.1-rc.131 → 0.0.1-rc.132

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 (31) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +5 -1
  3. package/dist/components/meeting/OMeetingCalendar.vue.d.ts +1 -0
  4. package/dist/components/meeting/OMeetingSigCalendar.vue.d.ts +8 -1
  5. package/dist/components/meeting/components/OMeetingCalendarList.vue.d.ts +1 -0
  6. package/dist/components/meeting/index.d.ts +25 -3
  7. package/dist/components/meeting/types.d.ts +1 -0
  8. package/dist/components/sig/types.d.ts +1 -0
  9. package/dist/components.cjs.js +39 -39
  10. package/dist/components.css +1 -1
  11. package/dist/components.es.js +5934 -5916
  12. package/dist/treeshaking/_virtual/icon-forum.mjs +21 -0
  13. package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.d.ts +1 -0
  14. package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.mjs +5 -3
  15. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.d.ts +8 -1
  16. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +8 -3
  17. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.d.ts +1 -0
  18. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +4 -3
  19. package/dist/treeshaking/components/meeting/index.d.ts +25 -3
  20. package/dist/treeshaking/components/meeting/types.d.ts +1 -0
  21. package/dist/treeshaking/components/sig/OSigDetail.css +3 -0
  22. package/dist/treeshaking/components/sig/OSigDetail.vue.mjs +2 -1
  23. package/dist/treeshaking/components/sig/components/OSigMember.css +3 -0
  24. package/dist/treeshaking/components/sig/components/OSigMember.vue.mjs +2 -2
  25. package/dist/treeshaking/components/sig/components/OSigRepo.vue.mjs +2 -2
  26. package/dist/treeshaking/components/sig/components/OSigUserContribute.css +47 -315
  27. package/dist/treeshaking/components/sig/components/OSigUserContribute.vue.mjs +69 -72
  28. package/dist/treeshaking/components/sig/types.d.ts +1 -0
  29. package/dist/treeshaking/i18n/en.mjs +3 -1
  30. package/dist/treeshaking/i18n/zh.mjs +2 -0
  31. package/package.json +1 -1
@@ -0,0 +1,21 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const _hoisted_1 = {
3
+ version: "1.1",
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: "32",
6
+ height: "32",
7
+ viewBox: "0 0 32 32"
8
+ };
9
+ function render(_ctx, _cache) {
10
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
11
+ createElementVNode("path", {
12
+ opacity: "0.8",
13
+ fill: "#000",
14
+ d: "M12.72 4.4c-1.473 0-2.667 1.194-2.667 2.667v9.076l0.007 0.199c0.102 1.38 1.254 2.468 2.659 2.468l6.621-0.001 4.058 3.921 0.102 0.086c0.597 0.438 1.48 0.020 1.48-0.758l-0.001-3.249c-0.015 0-0.031 0-0.047 0l0.047-0.003v0.002c1.451-0.025 2.62-1.209 2.62-2.666v-9.076c0-1.473-1.194-2.667-2.667-2.667h-12.213zM24.934 6.267c0.442 0 0.8 0.358 0.8 0.8v9.076c0 0.442-0.358 0.8-0.8 0.8h-0.886l-0.127 0.009c-0.456 0.062-0.807 0.452-0.807 0.925l-0.001 1.982-2.745-2.653c-0.174-0.168-0.407-0.262-0.649-0.262h-7c-0.442 0-0.8-0.358-0.8-0.8v-9.076c0-0.442 0.358-0.8 0.8-0.8h12.213zM7.066 9.556c-1.473 0-2.667 1.194-2.667 2.667v8.665c0 1.406 1.088 2.558 2.468 2.659l0.042 0.001v3.118c0 0.78 0.886 1.197 1.483 0.755l0.102-0.087 3.875-3.78h6.873c0.473 0 0.863-0.351 0.925-0.807l0.009-0.127c0-0.515-0.418-0.933-0.933-0.933h-7.254c-0.243 0-0.477 0.095-0.652 0.265l-2.561 2.499v-1.831c0-0.473-0.351-0.863-0.807-0.925l-0.127-0.009h-0.776c-0.442 0-0.8-0.358-0.8-0.8v-8.665c0-0.442 0.358-0.8 0.8-0.8h0.924c0.515 0 0.933-0.418 0.933-0.933s-0.418-0.933-0.933-0.933h-0.924zM20 12.080c0 0.508-0.412 0.92-0.92 0.92s-0.92-0.412-0.92-0.92c0-0.508 0.412-0.92 0.92-0.92s0.92 0.412 0.92 0.92zM23.080 13c0.508 0 0.92-0.412 0.92-0.92s-0.412-0.92-0.92-0.92-0.92 0.412-0.92 0.92c0 0.508 0.412 0.92 0.92 0.92zM15.080 13c0.508 0 0.92-0.412 0.92-0.92s-0.412-0.92-0.92-0.92-0.92 0.412-0.92 0.92c0 0.508 0.412 0.92 0.92 0.92z"
15
+ }, null, -1)
16
+ ])]);
17
+ }
18
+ const IconForum = { name: "components-icon-forum", render };
19
+ export {
20
+ IconForum as default
21
+ };
@@ -153,6 +153,7 @@ declare const __VLS_component: import('vue').DefineComponent<MeetingCalendarProp
153
153
  onCreate?: ((...args: any[]) => any) | undefined;
154
154
  }>, {
155
155
  groupType: MeetingGroupType;
156
+ replayPath: string | null;
156
157
  getSummitListRequest: any;
157
158
  getEventsListRequest: any;
158
159
  hiddenEvents: boolean;
@@ -47,7 +47,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
47
47
  disableFormat: { type: Boolean },
48
48
  emptyImg: {},
49
49
  emptyText: {},
50
- showDesc: { type: Boolean, default: false }
50
+ showDesc: { type: Boolean, default: false },
51
+ replayPath: { default: "video" }
51
52
  },
52
53
  emits: ["create"],
53
54
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -552,7 +553,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
552
553
  createVNode(_sfc_main$1, {
553
554
  list: renderData.value,
554
555
  groupType: __props.groupType,
555
- disableFormat: __props.disableFormat
556
+ disableFormat: __props.disableFormat,
557
+ replayPath: __props.replayPath
556
558
  }, {
557
559
  empty: withCtx(() => [
558
560
  renderSlot(_ctx.$slots, "empty", {}, () => [
@@ -571,7 +573,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
571
573
  ])
572
574
  ]),
573
575
  _: 3
574
- }, 8, ["list", "groupType", "disableFormat"])
576
+ }, 8, ["list", "groupType", "disableFormat", "replayPath"])
575
577
  ]),
576
578
  _: 3
577
579
  }, 8, ["style"])
@@ -5,6 +5,7 @@ type __VLS_Props = {
5
5
  getEventsListRequest: any;
6
6
  emptyImg?: any;
7
7
  emptyText?: string;
8
+ replayPath?: string | null;
8
9
  };
9
10
  declare function __VLS_template(): {
10
11
  attrs: Partial<{}>;
@@ -17,7 +18,13 @@ declare function __VLS_template(): {
17
18
  rootEl: HTMLDivElement;
18
19
  };
19
20
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
- 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, {
22
+ "change-date": (...args: any[]) => void;
23
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
+ "onChange-date"?: ((...args: any[]) => any) | undefined;
25
+ }>, {
26
+ replayPath: string | null;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
21
28
  rootRef: HTMLDivElement;
22
29
  }, HTMLDivElement>;
23
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -35,14 +35,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  getDateListRequest: {},
36
36
  getEventsListRequest: {},
37
37
  emptyImg: {},
38
- emptyText: {}
38
+ emptyText: {},
39
+ replayPath: { default: "video" }
39
40
  },
40
- setup(__props) {
41
+ emits: ["change-date"],
42
+ setup(__props, { emit: __emit }) {
41
43
  const props = __props;
42
44
  const { t, locale, meetingTabs } = useMeetingConfig();
43
45
  const isEn = computed(() => locale.value === Locales.EN);
44
46
  const { lePadV } = useScreen();
45
47
  const selectDate = ref("");
48
+ const emits = __emit;
46
49
  const loading = ref(false);
47
50
  const meetingData = ref([]);
48
51
  const calendarRows = computed(() => lePadV.value ? 100 : 5);
@@ -58,6 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
61
  clickDateCell(v);
59
62
  };
60
63
  const clickDateCell = async (date) => {
64
+ emits("change-date", date);
61
65
  if (!props.getMeetingListRequest) {
62
66
  return;
63
67
  }
@@ -343,6 +347,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
343
347
  }, {
344
348
  default: withCtx(() => [
345
349
  createVNode(_sfc_main$2, {
350
+ replayPath: __props.replayPath,
346
351
  list: list.value,
347
352
  rows: calendarRows.value
348
353
  }, {
@@ -363,7 +368,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
363
368
  ])
364
369
  ]),
365
370
  _: 3
366
- }, 8, ["list", "rows"])
371
+ }, 8, ["replayPath", "list", "rows"])
367
372
  ]),
368
373
  _: 3
369
374
  })
@@ -3,6 +3,7 @@ type __VLS_Props = {
3
3
  list: MeetingItemT[];
4
4
  groupType?: MeetingGroupType;
5
5
  disableFormat?: boolean;
6
+ replayPath: string | null;
6
7
  };
7
8
  declare function __VLS_template(): {
8
9
  attrs: Partial<{}>;
@@ -28,7 +28,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  props: {
29
29
  list: { default: () => [] },
30
30
  groupType: {},
31
- disableFormat: { type: Boolean }
31
+ disableFormat: { type: Boolean },
32
+ replayPath: {}
32
33
  },
33
34
  setup(__props) {
34
35
  const { activityTypeMap } = useActivityConfig();
@@ -210,8 +211,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
210
211
  } else {
211
212
  hasObsData = obsData.length > 0;
212
213
  }
213
- if (hasObsData) {
214
- replay_url = `${location.origin}/${locale.value}/video/${v.group_name}/${v.mid}/${date}`;
214
+ if (hasObsData && props.replayPath !== null) {
215
+ replay_url = `${location.origin}/${locale.value}/${props.replayPath}/${v.group_name}/${v.mid}/${date}`;
215
216
  }
216
217
  return {
217
218
  ...v,
@@ -8,6 +8,7 @@ declare const OMeetingCalendar: {
8
8
  create: (...args: any[]) => void;
9
9
  }, import('vue').PublicProps, {
10
10
  groupType: import('./types').MeetingGroupType;
11
+ replayPath: string | null;
11
12
  getSummitListRequest: any;
12
13
  getEventsListRequest: any;
13
14
  hiddenEvents: boolean;
@@ -162,6 +163,7 @@ declare const OMeetingCalendar: {
162
163
  refresh: (day?: string) => Promise<void>;
163
164
  }, {}, {}, {}, {
164
165
  groupType: import('./types').MeetingGroupType;
166
+ replayPath: string | null;
165
167
  getSummitListRequest: any;
166
168
  getEventsListRequest: any;
167
169
  hiddenEvents: boolean;
@@ -180,6 +182,7 @@ declare const OMeetingCalendar: {
180
182
  create: (...args: any[]) => void;
181
183
  }, string, {
182
184
  groupType: import('./types').MeetingGroupType;
185
+ replayPath: string | null;
183
186
  getSummitListRequest: any;
184
187
  getEventsListRequest: any;
185
188
  hiddenEvents: boolean;
@@ -455,7 +458,14 @@ declare const OMeetingSigCalendar: {
455
458
  getEventsListRequest: any;
456
459
  emptyImg?: any;
457
460
  emptyText?: string;
458
- }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
461
+ replayPath?: string | null;
462
+ }> & Readonly<{
463
+ "onChange-date"?: ((...args: any[]) => any) | undefined;
464
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
465
+ "change-date": (...args: any[]) => void;
466
+ }, import('vue').PublicProps, {
467
+ replayPath: string | null;
468
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
459
469
  rootRef: HTMLDivElement;
460
470
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
461
471
  P: {};
@@ -471,7 +481,12 @@ declare const OMeetingSigCalendar: {
471
481
  getEventsListRequest: any;
472
482
  emptyImg?: any;
473
483
  emptyText?: string;
474
- }> & Readonly<{}>, {}, {}, {}, {}, {}>;
484
+ replayPath?: string | null;
485
+ }> & Readonly<{
486
+ "onChange-date"?: ((...args: any[]) => any) | undefined;
487
+ }>, {}, {}, {}, {}, {
488
+ replayPath: string | null;
489
+ }>;
475
490
  __isFragment?: never;
476
491
  __isTeleport?: never;
477
492
  __isSuspense?: never;
@@ -482,7 +497,14 @@ declare const OMeetingSigCalendar: {
482
497
  getEventsListRequest: any;
483
498
  emptyImg?: any;
484
499
  emptyText?: string;
485
- }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
500
+ replayPath?: string | null;
501
+ }> & Readonly<{
502
+ "onChange-date"?: ((...args: any[]) => any) | undefined;
503
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
504
+ "change-date": (...args: any[]) => void;
505
+ }, string, {
506
+ replayPath: string | null;
507
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
486
508
  $slots: {
487
509
  empty?(_: {}): any;
488
510
  };
@@ -48,6 +48,7 @@ export interface MeetingCalendarPropsT {
48
48
  emptyImg?: any;
49
49
  emptyText?: string;
50
50
  showDesc?: boolean;
51
+ replayPath?: string | null;
51
52
  }
52
53
  export interface MeetingPostT {
53
54
  id?: number;
@@ -30,6 +30,9 @@
30
30
  .o-sig-detail .o-sig-detail-content .o-sig-detail-floor {
31
31
  width: 100%;
32
32
  }
33
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-icon path {
34
+ fill: currentColor;
35
+ }
33
36
  .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-sig-detail-title-top {
34
37
  margin-bottom: var(--o-gap-2);
35
38
  }
@@ -10,6 +10,7 @@ import './components/OSigRepo.css';
10
10
  import IconNotice from "../../_virtual/icon-notice.mjs";
11
11
  import IconWork from "../../_virtual/icon-working.mjs";
12
12
  import IconOutlink from "../../_virtual/icon-outlink.mjs";
13
+ import IconForum from "../../_virtual/icon-forum.mjs";
13
14
  import _sfc_main$4 from "./components/OSigUserContribute.vue.mjs";
14
15
  import './components/OSigUserContribute.css';
15
16
  import { useI18n } from "../../i18n/index.mjs";
@@ -171,7 +172,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
171
172
  createElementVNode("div", _hoisted_16, [
172
173
  createVNode(unref(OIcon), null, {
173
174
  default: withCtx(() => [
174
- createVNode(unref(IconNotice))
175
+ createVNode(unref(IconForum))
175
176
  ]),
176
177
  _: 1
177
178
  }),
@@ -314,6 +314,9 @@
314
314
  font-size: 20px;
315
315
  }
316
316
  }
317
+ .o-sig-detail-member .o-sig-detail-member-box .o-sig-detail-member-list .o-sig-detail-member-info .o-sig-detail-member-info-right .o-icon.email-icon path {
318
+ fill: currentColor;
319
+ }
317
320
  .o-sig-detail-member .o-sig-detail-member-box .o-sig-detail-member-list .o-sig-detail-member-info .o-divider {
318
321
  --o-divider-label-gap: 0 16px;
319
322
  height: 40px;
@@ -155,7 +155,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
155
155
  class: normalizeClass(!member.email ? "hidden-link" : ""),
156
156
  href: `mailto:${member.email}`
157
157
  }, [
158
- createVNode(unref(OIcon), null, {
158
+ createVNode(unref(OIcon), { class: "email-icon" }, {
159
159
  default: withCtx(() => [
160
160
  createVNode(unref(IconMail))
161
161
  ]),
@@ -231,7 +231,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
231
231
  class: normalizeClass(!member.email ? "hidden-link" : ""),
232
232
  href: `mailto:${member.email}`
233
233
  }, [
234
- createVNode(unref(OIcon), null, {
234
+ createVNode(unref(OIcon), { class: "email-icon" }, {
235
235
  default: withCtx(() => [
236
236
  createVNode(unref(IconMail))
237
237
  ]),
@@ -78,7 +78,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
78
78
  {
79
79
  key: "maintainers",
80
80
  label: t("sig.maintainerEn"),
81
- width: "48%",
81
+ width: "40%",
82
82
  filter: {
83
83
  optionsFn: () => uniqueLogins(props.repositories, "maintainers"),
84
84
  multiple: false
@@ -87,7 +87,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
87
87
  {
88
88
  key: "committers",
89
89
  label: t("sig.committer"),
90
- width: "22%",
90
+ width: "40%",
91
91
  filter: {
92
92
  optionsFn: () => uniqueLogins(props.repositories, "committers"),
93
93
  multiple: false