@opendesign-plus/components 0.0.1-rc.89 → 0.0.1-rc.90

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.
@@ -1,21 +1,22 @@
1
1
  import { openBlock, createElementBlock, createElementVNode } from "vue";
2
2
  const _hoisted_1 = {
3
+ width: "24px",
4
+ height: "24px",
5
+ viewBox: "0 0 24 24",
3
6
  version: "1.1",
4
7
  xmlns: "http://www.w3.org/2000/svg",
5
- width: "32",
6
- height: "32",
7
- viewBox: "0 0 32 32"
8
+ "xmlns:xlink": "http://www.w3.org/1999/xlink"
8
9
  };
9
10
  function render(_ctx, _cache) {
10
11
  return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
11
12
  createElementVNode("path", {
12
- opacity: "0.8",
13
- fill: "#000",
14
- d: "M26.307 5.012c1.473 0 2.667 1.193 2.667 2.667v7.32c0 0.516-0.417 0.933-0.933 0.933s-0.933-0.417-0.933-0.933l-0.001-6.997-9.461 7.828c-0.999 0.825-2.445 0.815-3.431-0.025l-9.465-8.075v16.671c0 0.441 0.359 0.8 0.8 0.8h20.759c0.441 0 0.8-0.359 0.8-0.8v-5.395c0-0.516 0.417-0.933 0.933-0.933s0.933 0.417 0.933 0.933v5.395c0 1.473-1.193 2.667-2.667 2.667h-20.759c-1.473 0-2.667-1.193-2.667-2.667v-16.721c0-1.473 1.193-2.667 2.667-2.667h20.759zM25.533 6.879h-18.907l8.799 7.505c0.296 0.252 0.729 0.256 1.029 0.008l9.079-7.513z"
13
+ d: "M19.7302143,3.7590332 C20.8347769,3.7590332 21.7302074,4.65446353 21.7302074,5.7590332 L21.7302074,11.2494191 C21.7302074,11.6360247 21.4168126,11.9494212 21.0302108,11.9494212 C20.643609,11.9494212 20.3302142,11.6360247 20.3302142,11.2494191 L20.3304289,6.00074187 C19.2986037,6.85443694 16.9329556,8.81168905 13.2334847,11.8724982 C12.4849639,12.4917966 11.399646,12.4836263 10.6605433,11.853125 C10.6605433,11.853125 8.29408169,9.83438585 3.56115837,5.79690763 L3.56137022,18.2997234 C3.56137022,18.6310996 3.83001113,18.8997205 4.16137695,18.8997205 L19.7302143,18.8997205 C20.0615733,18.8997205 20.3302142,18.6310996 20.3302142,18.2997234 L20.3302142,14.2535395 C20.3302142,13.8669339 20.643609,13.5535374 21.0302108,13.5535374 C21.4168126,13.5535374 21.7302074,13.8669339 21.7302074,14.2535395 L21.7302074,18.2997234 C21.7302074,19.4042943 20.8347769,20.2997246 19.7302143,20.2997246 L4.16137695,20.2997246 C3.0568075,20.2997246 2.16137695,19.4042943 2.16137695,18.2997234 L2.16137695,5.7590332 C2.16137695,4.65446353 3.0568075,3.7590332 4.16137695,3.7590332 L19.7302143,3.7590332 Z M19.1508914,5.15959067 L4.97116245,5.15953281 C6.08234646,6.10744194 8.28167148,7.9836031 11.5691375,10.7880163 C11.7908756,10.9771675 12.1164692,10.9796194 12.3410309,10.7938315 C12.3410309,10.7938315 14.6109844,8.91575122 19.1508914,5.15959067 Z",
14
+ id: "形状结合",
15
+ fill: "currentColor"
15
16
  }, null, -1)
16
17
  ])]);
17
18
  }
18
- const IconEmail = { name: "components-icon-email", render };
19
+ const IconMail = { name: "user-center-icon-email", render };
19
20
  export {
20
- IconEmail as default
21
+ IconMail as default
21
22
  };
@@ -1,22 +1,21 @@
1
1
  import { openBlock, createElementBlock, createElementVNode } from "vue";
2
2
  const _hoisted_1 = {
3
- width: "24px",
4
- height: "24px",
5
- viewBox: "0 0 24 24",
6
3
  version: "1.1",
7
4
  xmlns: "http://www.w3.org/2000/svg",
8
- "xmlns:xlink": "http://www.w3.org/1999/xlink"
5
+ width: "32",
6
+ height: "32",
7
+ viewBox: "0 0 32 32"
9
8
  };
10
9
  function render(_ctx, _cache) {
11
10
  return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
12
11
  createElementVNode("path", {
13
- d: "M19.7302143,3.7590332 C20.8347769,3.7590332 21.7302074,4.65446353 21.7302074,5.7590332 L21.7302074,11.2494191 C21.7302074,11.6360247 21.4168126,11.9494212 21.0302108,11.9494212 C20.643609,11.9494212 20.3302142,11.6360247 20.3302142,11.2494191 L20.3304289,6.00074187 C19.2986037,6.85443694 16.9329556,8.81168905 13.2334847,11.8724982 C12.4849639,12.4917966 11.399646,12.4836263 10.6605433,11.853125 C10.6605433,11.853125 8.29408169,9.83438585 3.56115837,5.79690763 L3.56137022,18.2997234 C3.56137022,18.6310996 3.83001113,18.8997205 4.16137695,18.8997205 L19.7302143,18.8997205 C20.0615733,18.8997205 20.3302142,18.6310996 20.3302142,18.2997234 L20.3302142,14.2535395 C20.3302142,13.8669339 20.643609,13.5535374 21.0302108,13.5535374 C21.4168126,13.5535374 21.7302074,13.8669339 21.7302074,14.2535395 L21.7302074,18.2997234 C21.7302074,19.4042943 20.8347769,20.2997246 19.7302143,20.2997246 L4.16137695,20.2997246 C3.0568075,20.2997246 2.16137695,19.4042943 2.16137695,18.2997234 L2.16137695,5.7590332 C2.16137695,4.65446353 3.0568075,3.7590332 4.16137695,3.7590332 L19.7302143,3.7590332 Z M19.1508914,5.15959067 L4.97116245,5.15953281 C6.08234646,6.10744194 8.28167148,7.9836031 11.5691375,10.7880163 C11.7908756,10.9771675 12.1164692,10.9796194 12.3410309,10.7938315 C12.3410309,10.7938315 14.6109844,8.91575122 19.1508914,5.15959067 Z",
14
- id: "形状结合",
15
- fill: "currentColor"
12
+ opacity: "0.8",
13
+ fill: "#000",
14
+ d: "M26.307 5.012c1.473 0 2.667 1.193 2.667 2.667v7.32c0 0.516-0.417 0.933-0.933 0.933s-0.933-0.417-0.933-0.933l-0.001-6.997-9.461 7.828c-0.999 0.825-2.445 0.815-3.431-0.025l-9.465-8.075v16.671c0 0.441 0.359 0.8 0.8 0.8h20.759c0.441 0 0.8-0.359 0.8-0.8v-5.395c0-0.516 0.417-0.933 0.933-0.933s0.933 0.417 0.933 0.933v5.395c0 1.473-1.193 2.667-2.667 2.667h-20.759c-1.473 0-2.667-1.193-2.667-2.667v-16.721c0-1.473 1.193-2.667 2.667-2.667h20.759zM25.533 6.879h-18.907l8.799 7.505c0.296 0.252 0.729 0.256 1.029 0.008l9.079-7.513z"
16
15
  }, null, -1)
17
16
  ])]);
18
17
  }
19
- const IconMail = { name: "user-center-icon-email", render };
18
+ const IconEmail = { name: "components-icon-email", render };
20
19
  export {
21
- IconMail as default
20
+ IconEmail as default
22
21
  };
@@ -325,9 +325,6 @@
325
325
  .o-meeting-form .o-form .o-textarea {
326
326
  --_box-radius: var(--meeting-input-radius);
327
327
  }
328
- .o-meeting-form .o-form .o_box {
329
- --_box-bg-color-disabled: var(--o-color-control4-light);
330
- }
331
328
  .o-meeting-form .o-form input,
332
329
  .o-meeting-form .o-form textarea {
333
330
  color: var(--o-input-color);
@@ -437,16 +434,6 @@
437
434
  font-size: 14px !important;
438
435
  }
439
436
  }
440
- .o-meeting-form .o-form .o-select {
441
- --select-bd-color: var(--o-color-control1);
442
- --select-bd-color-hover: var(--o-color-primary2);
443
- --select-bd-color-focus: var(--o-color-primary3);
444
- --select-bd-color-disabled: var(--o-color-control4);
445
- --select-bg-color: var(--o-color-fill2);
446
- --select-bg-color-hover: var(--o-color-fill2);
447
- --select-bg-color-focus: var(--o-color-fill2);
448
- --select-bg-color-disabled: var(--o-color-control4-light);
449
- }
450
437
  .o-meeting-form .o-form .o-radio {
451
438
  --radio-input-bg-color: var(--o-color-fill2);
452
439
  }
@@ -1,11 +1,13 @@
1
1
  import { nextTick } from 'vue';
2
- import { MeetingGroupType } from './types.ts';
2
+ import { MeetingGroupType, MeetingItemT } from './types.ts';
3
3
  import { default as dayjs } from 'dayjs';
4
4
  type __VLS_Props = {
5
5
  cancelSubMeetingRequest: any;
6
6
  deleteMeetingRequest: any;
7
7
  getMeetingListRequest: any;
8
8
  groupType: MeetingGroupType;
9
+ replayPath: string | null;
10
+ replayUrlFn?: (item: MeetingItemT) => string | null | undefined;
9
11
  };
10
12
  declare function __VLS_template(): {
11
13
  attrs: Partial<{}>;
@@ -59,7 +59,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
59
59
  cancelSubMeetingRequest: {},
60
60
  deleteMeetingRequest: {},
61
61
  getMeetingListRequest: {},
62
- groupType: { default: MeetingGroupType.SIG }
62
+ groupType: { default: MeetingGroupType.SIG },
63
+ replayPath: {},
64
+ replayUrlFn: {}
63
65
  },
64
66
  emits: ["edit"],
65
67
  setup(__props, { emit: __emit }) {
@@ -75,6 +77,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
75
77
  const { t, locale, getPointStr, getConfig, getWeekFromDate } = useMeetingConfig();
76
78
  const isEn = computed(() => locale.value === Locales.EN);
77
79
  const props = __props;
80
+ const replayHref = (row) => {
81
+ if (props.replayUrlFn) {
82
+ return props.replayUrlFn(row) ?? null;
83
+ }
84
+ if (row.hasObsData && props.replayPath !== null) {
85
+ return `${location.origin}/${locale.value}/${props.replayPath}/${row.group_name}/${row.mid}/${row.date}`;
86
+ }
87
+ return null;
88
+ };
78
89
  const dialogLoading = ref(false);
79
90
  const { isPhone } = useScreen();
80
91
  const expanded = ref([]);
@@ -760,11 +771,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
760
771
  ]),
761
772
  _: 1
762
773
  }, 8, ["href"])) : createCommentVNode("", true),
763
- row.hasObsData ? (openBlock(), createBlock(unref(OLink), {
774
+ replayHref(row) ? (openBlock(), createBlock(unref(OLink), {
764
775
  key: 1,
765
776
  "hover-underline": false,
766
777
  target: "_blank",
767
- href: `/${unref(locale)}/video/${row.group_name}/${row.mid}/${row.date}`
778
+ href: replayHref(row)
768
779
  }, {
769
780
  suffix: withCtx(() => [
770
781
  createVNode(unref(OIcon), null, {
@@ -305,29 +305,26 @@
305
305
  margin-left: var(--o-r-gap-5);
306
306
  }
307
307
  .handle-dialog {
308
- width: 450px;
309
308
  --dlg-radius: var(--dialog-radius, var(--o-radius-xs));
310
309
  }
311
310
  .handle-dialog .o-dlg-header {
312
311
  margin-bottom: var(--o-gap-5);
312
+ width: 384px;
313
313
  }
314
314
  .handle-dialog .o-dlg-body-content {
315
315
  display: flex;
316
316
  justify-content: center;
317
317
  }
318
318
  .handle-dialog .dialog-footer {
319
- display: flex;
320
- justify-content: center;
321
319
  margin-top: var(--o-gap-4);
322
- column-gap: var(--o-gap-4);
320
+ }
321
+ .handle-dialog .dialog-footer .o-btn + .o-btn {
322
+ margin-left: var(--dlg-btn-gap);
323
323
  }
324
324
  .cancel-dialog .dialog-content {
325
325
  width: 384px;
326
326
  text-align: center;
327
327
  }
328
- .cancel-dialog .dialog-footer {
329
- display: flex;
330
- justify-content: center;
331
- margin-top: var(--o-gap-4);
332
- column-gap: var(--o-gap-4);
328
+ .cancel-dialog .o-dlg-actions .o-btn + .o-btn {
329
+ margin-left: var(--dlg-btn-gap);
333
330
  }
@@ -673,6 +673,8 @@ declare const OMeetingMyCalendar: {
673
673
  deleteMeetingRequest: any;
674
674
  getMeetingListRequest: any;
675
675
  groupType: import('./types').MeetingGroupType;
676
+ replayPath: string | null;
677
+ replayUrlFn?: (item: import('./types').MeetingItemT) => string | null | undefined;
676
678
  }> & Readonly<{
677
679
  onEdit?: ((...args: any[]) => any) | undefined;
678
680
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -1001,6 +1003,8 @@ declare const OMeetingMyCalendar: {
1001
1003
  deleteMeetingRequest: any;
1002
1004
  getMeetingListRequest: any;
1003
1005
  groupType: import('./types').MeetingGroupType;
1006
+ replayPath: string | null;
1007
+ replayUrlFn?: (item: import('./types').MeetingItemT) => string | null | undefined;
1004
1008
  }> & Readonly<{
1005
1009
  onEdit?: ((...args: any[]) => any) | undefined;
1006
1010
  }>, {}, {}, {}, {}, {
@@ -1014,6 +1018,8 @@ declare const OMeetingMyCalendar: {
1014
1018
  deleteMeetingRequest: any;
1015
1019
  getMeetingListRequest: any;
1016
1020
  groupType: import('./types').MeetingGroupType;
1021
+ replayPath: string | null;
1022
+ replayUrlFn?: (item: import('./types').MeetingItemT) => string | null | undefined;
1017
1023
  }> & Readonly<{
1018
1024
  onEdit?: ((...args: any[]) => any) | undefined;
1019
1025
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -2,7 +2,7 @@ import { defineComponent, computed, ref, openBlock, createElementBlock, Fragment
2
2
  import { OLink, OButton, OIcon, OIconChevronUp, OIconChevronDown } from "@opensig/opendesign";
3
3
  import { useScreen } from "@opendesign-plus/composables";
4
4
  import { useI18n } from "../../i18n/index.mjs";
5
- import IconEmail from "../../_virtual/icon-email.mjs";
5
+ import IconEmail from "../../_virtual/icon-email2.mjs";
6
6
  const _hoisted_1 = { class: "o-org-members" };
7
7
  const _hoisted_2 = ["src", "alt"];
8
8
  const _hoisted_3 = { class: "o-org-members-title" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, onMounted, watch, openBlock, createElementBlock, Fragment, createElementVNode, toDisplayString, unref, createCommentVNode, normalizeClass, createVNode, withCtx, renderList, createBlock, resolveDynamicComponent, createTextVNode } from "vue";
2
- import IconMail from "../../_virtual/icon-email2.mjs";
2
+ import IconMail from "../../_virtual/icon-email.mjs";
3
3
  import IconPhone from "../../_virtual/icon-phone.mjs";
4
4
  import { useMessage, OSkeleton, OIcon, OLink, OSkeletonText } from "@opensig/opendesign";
5
5
  import { useI18n } from "../../i18n/index.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendesign-plus/components",
3
- "version": "0.0.1-rc.89",
3
+ "version": "0.0.1-rc.90",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -46,8 +46,8 @@
46
46
  "vue-dompurify-html": "^3.1.2",
47
47
  "vue": "^3.5.13",
48
48
  "element-plus": "2.13.1",
49
- "@opendesign-plus/composables": "0.0.1-rc.10",
50
- "@opendesign-plus/styles": "0.0.1-rc.3"
49
+ "@opendesign-plus/styles": "0.0.1-rc.3",
50
+ "@opendesign-plus/composables": "0.0.1-rc.10"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@vitejs/plugin-vue": "^5.2.1",