@opendesign-plus/components 0.0.1-rc.92 → 0.0.1-rc.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/components/footer/components/FooterSimple.vue.d.ts +4 -0
  2. package/dist/components/summit/types.d.ts +18 -9
  3. package/dist/components/summit/utils.d.ts +11 -0
  4. package/dist/components.cjs.js +37 -37
  5. package/dist/components.css +1 -1
  6. package/dist/components.es.js +5288 -5240
  7. package/dist/treeshaking/_virtual/icon-tips.mjs +2 -13
  8. package/dist/treeshaking/_virtual/icon-tips2.mjs +13 -2
  9. package/dist/treeshaking/components/footer/OFooter.css +20 -15
  10. package/dist/treeshaking/components/footer/OFooter.vue.mjs +1 -1
  11. package/dist/treeshaking/components/footer/components/FooterSimple.css +37 -36
  12. package/dist/treeshaking/components/footer/components/FooterSimple.vue.d.ts +4 -0
  13. package/dist/treeshaking/components/footer/components/FooterSimple.vue.mjs +1 -1
  14. package/dist/treeshaking/components/footer/components/FooterSimple.vue2.mjs +54 -37
  15. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
  16. package/dist/treeshaking/components/summit/OSummitLive.css +20 -20
  17. package/dist/treeshaking/components/summit/OSummitLive.vue.mjs +1 -1
  18. package/dist/treeshaking/components/summit/OSummitLive.vue2.mjs +12 -3
  19. package/dist/treeshaking/components/summit/OSummitSchedule.css +33 -33
  20. package/dist/treeshaking/components/summit/OSummitSchedule.vue.mjs +1 -1
  21. package/dist/treeshaking/components/summit/OSummitSchedule.vue2.mjs +13 -3
  22. package/dist/treeshaking/components/summit/components/OSummitTabs.css +30 -29
  23. package/dist/treeshaking/components/summit/components/OSummitTabs.vue.mjs +1 -1
  24. package/dist/treeshaking/components/summit/components/OSummitTabs.vue2.mjs +2 -0
  25. package/dist/treeshaking/components/summit/types.d.ts +18 -9
  26. package/dist/treeshaking/components/summit/utils.d.ts +11 -0
  27. package/dist/treeshaking/components/summit/utils.mjs +56 -0
  28. package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +1 -1
  29. package/package.json +4 -4
@@ -8,21 +8,10 @@ const _hoisted_1 = {
8
8
  };
9
9
  function render(_ctx, _cache) {
10
10
  return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
11
- createElementVNode("path", {
12
- fill: "currentColor",
13
- d: "M12 8.15c0.418 0 0.763 0.31 0.817 0.713l0.008 0.112v8.8c0 0.456-0.369 0.825-0.825 0.825-0.418 0-0.763-0.31-0.817-0.713l-0.008-0.112v-8.8c0-0.456 0.369-0.825 0.825-0.825z"
14
- }, null, -1),
15
- createElementVNode("path", {
16
- fill: "currentColor",
17
- d: "M13.2 6.225c0 0.663-0.537 1.2-1.2 1.2s-1.2-0.537-1.2-1.2c0-0.663 0.537-1.2 1.2-1.2s1.2 0.537 1.2 1.2z"
18
- }, null, -1),
19
- createElementVNode("path", {
20
- fill: "currentColor",
21
- d: "M12 0.23c1.222 0 2.42 0.187 3.563 0.549 0.405 0.129 0.63 0.561 0.501 0.967s-0.561 0.63-0.967 0.501c-0.993-0.315-2.034-0.477-3.097-0.477-5.65 0-10.23 4.58-10.23 10.23s4.58 10.23 10.23 10.23c5.65 0 10.23-4.58 10.23-10.23 0-3.276-1.549-6.292-4.128-8.211-0.341-0.254-0.412-0.736-0.158-1.077s0.736-0.412 1.077-0.158c2.965 2.207 4.748 5.679 4.748 9.447 0 6.5-5.27 11.77-11.77 11.77s-11.77-5.27-11.77-11.77c0-6.5 5.27-11.77 11.77-11.77z"
22
- }, null, -1)
11
+ createElementVNode("path", { d: "M12.032 2.355c1.632 0 3.205 0.404 4.611 1.166 0.34 0.182 0.466 0.609 0.281 0.949s-0.609 0.463-0.949 0.281c-1.201-0.65-2.546-0.996-3.943-0.996-4.585 0-8.3 3.715-8.3 8.297 0 4.588 3.715 8.303 8.3 8.303s8.3-3.715 8.3-8.303c0-2.063-0.753-4.002-2.098-5.514-0.258-0.287-0.231-0.732 0.059-0.984 0.287-0.258 0.729-0.234 0.987 0.053 1.57 1.764 2.452 4.037 2.452 6.445 0 5.361-4.342 9.703-9.7 9.703s-9.7-4.342-9.7-9.703c0-5.355 4.342-9.697 9.7-9.697zM10.866 7.658c0-0.627 0.507-1.131 1.134-1.131s1.134 0.504 1.134 1.131c0 0.627-0.507 1.131-1.134 1.131s-1.134-0.504-1.134-1.131zM12.706 10.002c-0.044-0.346-0.337-0.609-0.691-0.609-0.387 0-0.7 0.311-0.703 0.697l-0.023 6.762 0.006 0.1c0.044 0.34 0.337 0.603 0.691 0.603 0.387 0.006 0.7-0.311 0.703-0.697l0.023-6.762-0.006-0.094z" }, null, -1)
23
12
  ])]);
24
13
  }
25
- const IconTips = { name: "user-center-icon-tips", render };
14
+ const IconTips = { name: "components-icon-tips", render };
26
15
  export {
27
16
  IconTips as default
28
17
  };
@@ -8,10 +8,21 @@ const _hoisted_1 = {
8
8
  };
9
9
  function render(_ctx, _cache) {
10
10
  return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
11
- createElementVNode("path", { d: "M12.032 2.355c1.632 0 3.205 0.404 4.611 1.166 0.34 0.182 0.466 0.609 0.281 0.949s-0.609 0.463-0.949 0.281c-1.201-0.65-2.546-0.996-3.943-0.996-4.585 0-8.3 3.715-8.3 8.297 0 4.588 3.715 8.303 8.3 8.303s8.3-3.715 8.3-8.303c0-2.063-0.753-4.002-2.098-5.514-0.258-0.287-0.231-0.732 0.059-0.984 0.287-0.258 0.729-0.234 0.987 0.053 1.57 1.764 2.452 4.037 2.452 6.445 0 5.361-4.342 9.703-9.7 9.703s-9.7-4.342-9.7-9.703c0-5.355 4.342-9.697 9.7-9.697zM10.866 7.658c0-0.627 0.507-1.131 1.134-1.131s1.134 0.504 1.134 1.131c0 0.627-0.507 1.131-1.134 1.131s-1.134-0.504-1.134-1.131zM12.706 10.002c-0.044-0.346-0.337-0.609-0.691-0.609-0.387 0-0.7 0.311-0.703 0.697l-0.023 6.762 0.006 0.1c0.044 0.34 0.337 0.603 0.691 0.603 0.387 0.006 0.7-0.311 0.703-0.697l0.023-6.762-0.006-0.094z" }, null, -1)
11
+ createElementVNode("path", {
12
+ fill: "currentColor",
13
+ d: "M12 8.15c0.418 0 0.763 0.31 0.817 0.713l0.008 0.112v8.8c0 0.456-0.369 0.825-0.825 0.825-0.418 0-0.763-0.31-0.817-0.713l-0.008-0.112v-8.8c0-0.456 0.369-0.825 0.825-0.825z"
14
+ }, null, -1),
15
+ createElementVNode("path", {
16
+ fill: "currentColor",
17
+ d: "M13.2 6.225c0 0.663-0.537 1.2-1.2 1.2s-1.2-0.537-1.2-1.2c0-0.663 0.537-1.2 1.2-1.2s1.2 0.537 1.2 1.2z"
18
+ }, null, -1),
19
+ createElementVNode("path", {
20
+ fill: "currentColor",
21
+ d: "M12 0.23c1.222 0 2.42 0.187 3.563 0.549 0.405 0.129 0.63 0.561 0.501 0.967s-0.561 0.63-0.967 0.501c-0.993-0.315-2.034-0.477-3.097-0.477-5.65 0-10.23 4.58-10.23 10.23s4.58 10.23 10.23 10.23c5.65 0 10.23-4.58 10.23-10.23 0-3.276-1.549-6.292-4.128-8.211-0.341-0.254-0.412-0.736-0.158-1.077s0.736-0.412 1.077-0.158c2.965 2.207 4.748 5.679 4.748 9.447 0 6.5-5.27 11.77-11.77 11.77s-11.77-5.27-11.77-11.77c0-6.5 5.27-11.77 11.77-11.77z"
22
+ }, null, -1)
12
23
  ])]);
13
24
  }
14
- const IconTips = { name: "components-icon-tips", render };
25
+ const IconTips = { name: "user-center-icon-tips", render };
15
26
  export {
16
27
  IconTips as default
17
28
  };
@@ -1,52 +1,57 @@
1
- .hover-icon-rotate .o-icon[data-v-99cd0044] {
1
+ .hover-icon-rotate .o-icon[data-v-41010b1f] {
2
2
  transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
3
  }
4
4
  @media (hover: hover) {
5
- .hover-icon-rotate:hover .o-icon[data-v-99cd0044] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-41010b1f] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .app-footer[data-v-99cd0044] {
9
+ .app-footer[data-v-41010b1f] {
10
10
  overflow: hidden;
11
11
  background: #121214;
12
12
  --o-footer-content-max-width: 1488px;
13
13
  --o-footer-content-padding: 0;
14
14
  }
15
15
  @media (max-width: 1680px) {
16
- .app-footer[data-v-99cd0044] {
16
+ .app-footer[data-v-41010b1f] {
17
17
  --o-footer-content-max-width: 100%;
18
18
  --o-footer-content-padding: 98px;
19
19
  }
20
20
  }
21
21
  @media (max-width: 1440px) {
22
- .app-footer[data-v-99cd0044] {
22
+ .app-footer[data-v-41010b1f] {
23
23
  --o-footer-content-padding: 64px;
24
24
  }
25
25
  }
26
26
  @media (max-width: 1200px) {
27
- .app-footer[data-v-99cd0044] {
27
+ .app-footer[data-v-41010b1f] {
28
28
  --o-footer-content-padding: 32px;
29
29
  }
30
30
  }
31
31
  @media (max-width: 600px) {
32
- .app-footer[data-v-99cd0044] {
32
+ .app-footer[data-v-41010b1f] {
33
33
  --o-footer-content-padding: 24px;
34
34
  }
35
35
  }
36
- .app-footer-simple[data-v-99cd0044] {
36
+ .app-footer-simple[data-v-41010b1f] {
37
37
  background: transparent;
38
38
  }
39
39
  @media (max-width: 1680px) {
40
- .app-footer-simple[data-v-99cd0044] {
41
- --o-footer-content-padding: 48px;
40
+ .app-footer-simple[data-v-41010b1f] {
41
+ --o-footer-content-padding: 16px 32px 24px;
42
42
  }
43
43
  }
44
- @media (max-width: 1440px) {
45
- .app-footer-simple[data-v-99cd0044] {
46
- --o-footer-content-padding: 32px;
44
+ @media (min-width: 601px) and (max-width: 840px) {
45
+ .app-footer-simple[data-v-41010b1f] {
46
+ --o-footer-content-padding: 24px 32px;
47
+ }
48
+ }
49
+ @media (max-width: 600px) {
50
+ .app-footer-simple[data-v-41010b1f] {
51
+ --o-footer-content-padding: 24px;
47
52
  }
48
53
  }
49
- .app-footer-content[data-v-99cd0044] {
54
+ .app-footer-content[data-v-41010b1f] {
50
55
  max-width: var(--o-footer-content-max-width);
51
56
  margin: 0 auto;
52
57
  padding: 0 var(--o-footer-content-padding);
@@ -54,7 +59,7 @@
54
59
  background-repeat: no-repeat;
55
60
  background-size: auto;
56
61
  }
57
- .app-footer-simple-content[data-v-99cd0044] {
62
+ .app-footer-simple-content[data-v-41010b1f] {
58
63
  padding-top: 16px;
59
64
  padding-bottom: 24px;
60
65
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./OFooter.vue2.mjs";
2
2
  import './OFooter.css';
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const _OFooter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-99cd0044"]]);
4
+ const _OFooter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-41010b1f"]]);
5
5
  export {
6
6
  _OFooter as default
7
7
  };
@@ -1,12 +1,12 @@
1
- .hover-icon-rotate .o-icon[data-v-962bf858] {
1
+ .hover-icon-rotate .o-icon[data-v-bb36ddad] {
2
2
  transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
3
  }
4
4
  @media (hover: hover) {
5
- .hover-icon-rotate:hover .o-icon[data-v-962bf858] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-bb36ddad] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- a[data-v-962bf858] {
9
+ a[data-v-bb36ddad] {
10
10
  color: var(--o-color-info2);
11
11
  text-decoration: none;
12
12
  white-space: nowrap;
@@ -14,110 +14,111 @@ a[data-v-962bf858] {
14
14
  line-height: 22px;
15
15
  }
16
16
  @media (min-width: 1201px) and (max-width: 1680px) {
17
- a[data-v-962bf858] {
17
+ a[data-v-bb36ddad] {
18
18
  font-size: 14px;
19
19
  line-height: 18px;
20
20
  }
21
21
  }
22
22
  @media (min-width: 841px) and (max-width: 1200px) {
23
- a[data-v-962bf858] {
23
+ a[data-v-bb36ddad] {
24
24
  font-size: 12px;
25
25
  line-height: 18px;
26
26
  }
27
27
  }
28
28
  @media (min-width: 601px) and (max-width: 840px) {
29
- a[data-v-962bf858] {
29
+ a[data-v-bb36ddad] {
30
30
  font-size: 12px;
31
31
  line-height: 18px;
32
32
  }
33
33
  }
34
34
  @media (max-width: 600px) {
35
- a[data-v-962bf858] {
35
+ a[data-v-bb36ddad] {
36
36
  font-size: 12px;
37
37
  line-height: 18px;
38
38
  }
39
39
  }
40
40
  @media (hover: hover) {
41
- a[data-v-962bf858]:hover {
41
+ a[data-v-bb36ddad]:hover {
42
42
  color: var(--o-color-info1);
43
43
  }
44
44
  }
45
- a[data-v-962bf858]:active {
45
+ a[data-v-bb36ddad]:active {
46
46
  color: var(--o-color-info1);
47
47
  }
48
- .footer-content[data-v-962bf858] {
48
+ .footer-content[data-v-bb36ddad] {
49
49
  display: flex;
50
50
  align-items: center;
51
51
  justify-content: space-between;
52
52
  }
53
- .footer-left[data-v-962bf858] {
53
+ .footer-left[data-v-bb36ddad] {
54
54
  display: flex;
55
55
  align-items: center;
56
- flex-wrap: wrap;
56
+ flex-wrap: nowrap; /* 内部不换行:放不下时整块切堆叠 */
57
+ flex-shrink: 0; /* 不压缩,scrollWidth 即自然行宽 */
57
58
  color: var(--o-color-info3);
58
59
  font-size: 14px;
59
60
  line-height: 22px;
60
61
  }
61
62
  @media (min-width: 1201px) and (max-width: 1680px) {
62
- .footer-left[data-v-962bf858] {
63
+ .footer-left[data-v-bb36ddad] {
63
64
  font-size: 14px;
64
65
  line-height: 18px;
65
66
  }
66
67
  }
67
68
  @media (min-width: 841px) and (max-width: 1200px) {
68
- .footer-left[data-v-962bf858] {
69
+ .footer-left[data-v-bb36ddad] {
69
70
  font-size: 12px;
70
71
  line-height: 18px;
71
72
  }
72
73
  }
73
74
  @media (min-width: 601px) and (max-width: 840px) {
74
- .footer-left[data-v-962bf858] {
75
+ .footer-left[data-v-bb36ddad] {
75
76
  font-size: 12px;
76
77
  line-height: 18px;
77
78
  }
78
79
  }
79
80
  @media (max-width: 600px) {
80
- .footer-left[data-v-962bf858] {
81
+ .footer-left[data-v-bb36ddad] {
81
82
  font-size: 12px;
82
83
  line-height: 18px;
83
84
  }
84
85
  }
85
- .footer-left .copyright-left[data-v-962bf858],
86
- .footer-left .filing[data-v-962bf858] {
86
+ .footer-left .copyright-left[data-v-bb36ddad] {
87
+ white-space: nowrap; /* 长版权文本不折行,保证溢出可被检测 */
88
+ }
89
+ .footer-left .copyright-left[data-v-bb36ddad],
90
+ .footer-left .filing[data-v-bb36ddad] {
87
91
  display: flex;
88
- flex-wrap: wrap;
92
+ flex-wrap: nowrap;
89
93
  justify-content: center;
90
94
  }
91
- .footer-left .filing-img[data-v-962bf858] {
95
+ .footer-left .filing-img[data-v-bb36ddad] {
92
96
  height: 18px;
93
97
  }
94
- .footer-left .beian-info[data-v-962bf858] {
98
+ .footer-left .beian-info[data-v-bb36ddad] {
95
99
  margin-left: 4px;
96
100
  color: var(--o-color-info3);
97
101
  }
98
- .footer-left-wrapped .copyright-left[data-v-962bf858] {
99
- margin-right: 32px;
100
- }
101
- .footer-right[data-v-962bf858] {
102
+ .footer-right[data-v-bb36ddad] {
102
103
  display: flex;
103
104
  align-items: center;
104
105
  justify-content: center;
105
- margin-left: 32px;
106
+ flex-shrink: 0; /* 不压缩,scrollWidth 即自然行宽 */
106
107
  }
107
- .footer-right .o-divider[data-v-962bf858] {
108
+ .footer-right .o-divider[data-v-bb36ddad] {
108
109
  height: 12px;
109
110
  --o-divider-label-gap: 0 8px;
110
111
  --o-divider-bd-color: var(--o-color-control1);
111
112
  }
112
- @media (max-width: 840px) {
113
- .footer-content[data-v-962bf858] {
114
- flex-direction: column-reverse;
115
- }
116
- .footer-content .footer-left[data-v-962bf858] {
117
- margin-top: 8px;
118
- justify-content: center;
113
+ .footer-content.is-stacked[data-v-bb36ddad] {
114
+ flex-direction: column-reverse;
115
+ justify-content: center;
116
+ row-gap: 8px;
119
117
  }
120
- .footer-content .footer-left-wrapped .copyright-left[data-v-962bf858] {
121
- margin: 0 16px;
118
+ .footer-content.is-stacked .footer-left[data-v-bb36ddad] {
119
+ flex-direction: column;
120
+ align-items: center;
122
121
  }
122
+ .footer-content.is-stacked .footer-left .filing[data-v-bb36ddad] {
123
+ margin-top: 8px;
123
124
  }
@@ -6,13 +6,17 @@ declare function __VLS_template(): {
6
6
  right?(_: {}): any;
7
7
  };
8
8
  refs: {
9
+ footerContentRef: HTMLDivElement;
9
10
  footerLeftRef: HTMLDivElement;
11
+ footerRightRef: HTMLDivElement;
10
12
  };
11
13
  rootEl: HTMLDivElement;
12
14
  };
13
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
16
  declare const __VLS_component: import('vue').DefineComponent<FooterT, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FooterT> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
17
+ footerContentRef: HTMLDivElement;
15
18
  footerLeftRef: HTMLDivElement;
19
+ footerRightRef: HTMLDivElement;
16
20
  }, HTMLDivElement>;
17
21
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
22
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./FooterSimple.vue2.mjs";
2
2
  import './FooterSimple.css';
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const FooterSimple = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-962bf858"]]);
4
+ const FooterSimple = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bb36ddad"]]);
5
5
  export {
6
6
  FooterSimple as default
7
7
  };
@@ -1,18 +1,13 @@
1
- import { defineComponent, ref, onMounted, onBeforeUnmount, openBlock, createElementBlock, renderSlot, normalizeClass, createElementVNode, toDisplayString, unref, createBlock, createCommentVNode, Fragment, renderList } from "vue";
1
+ import { defineComponent, ref, onMounted, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, renderSlot, createElementVNode, toDisplayString, unref, createBlock, createCommentVNode, Fragment, renderList } from "vue";
2
2
  import { ODivider } from "@opensig/opendesign";
3
3
  import { useScreen } from "@opendesign-plus/composables";
4
- const _hoisted_1 = { class: "footer-content" };
5
- const _hoisted_2 = { class: "copyright-left" };
6
- const _hoisted_3 = { class: "copyright-text" };
7
- const _hoisted_4 = ["href"];
8
- const _hoisted_5 = { class: "filing" };
9
- const _hoisted_6 = ["src"];
10
- const _hoisted_7 = { class: "beian-info" };
11
- const _hoisted_8 = {
12
- key: 0,
13
- class: "footer-right"
14
- };
15
- const _hoisted_9 = ["href", "target"];
4
+ const _hoisted_1 = { class: "copyright-left" };
5
+ const _hoisted_2 = { class: "copyright-text" };
6
+ const _hoisted_3 = ["href"];
7
+ const _hoisted_4 = { class: "filing" };
8
+ const _hoisted_5 = ["src"];
9
+ const _hoisted_6 = { class: "beian-info" };
10
+ const _hoisted_7 = ["href", "target"];
16
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
17
12
  __name: "FooterSimple",
18
13
  props: {
@@ -27,20 +22,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
22
  },
28
23
  setup(__props) {
29
24
  const { isPhone } = useScreen();
25
+ const footerContentRef = ref();
30
26
  const footerLeftRef = ref();
31
- const isWrapped = ref(false);
27
+ const footerRightRef = ref();
28
+ const isStacked = ref(false);
29
+ const neededWidth = ref(0);
32
30
  let observer = null;
33
- const checkWrap = () => {
34
- const el = footerLeftRef.value;
35
- if (!el || el.children.length < 2) return;
36
- isWrapped.value = el.children[0].getBoundingClientRect().top !== el.children[el.children.length - 1].getBoundingClientRect().top;
31
+ const checkStacked = () => {
32
+ const content = footerContentRef.value;
33
+ const left = footerLeftRef.value;
34
+ const right = footerRightRef.value;
35
+ if (!content || !left || !right) {
36
+ isStacked.value = false;
37
+ return;
38
+ }
39
+ if (!isStacked.value) {
40
+ neededWidth.value = left.scrollWidth + right.scrollWidth;
41
+ isStacked.value = neededWidth.value > content.clientWidth;
42
+ } else {
43
+ isStacked.value = neededWidth.value > content.clientWidth;
44
+ }
37
45
  };
38
46
  onMounted(() => {
39
- if (footerLeftRef.value) {
40
- checkWrap();
41
- observer = new ResizeObserver(checkWrap);
42
- observer.observe(footerLeftRef.value);
43
- }
47
+ observer = new ResizeObserver(checkStacked);
48
+ if (footerContentRef.value) observer.observe(footerContentRef.value);
49
+ if (footerLeftRef.value) observer.observe(footerLeftRef.value);
50
+ if (footerRightRef.value) observer.observe(footerRightRef.value);
51
+ checkStacked();
44
52
  });
45
53
  onBeforeUnmount(() => {
46
54
  observer == null ? void 0 : observer.disconnect();
@@ -53,37 +61,46 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
61
  }
54
62
  };
55
63
  return (_ctx, _cache) => {
56
- return openBlock(), createElementBlock("div", _hoisted_1, [
64
+ return openBlock(), createElementBlock("div", {
65
+ ref_key: "footerContentRef",
66
+ ref: footerContentRef,
67
+ class: normalizeClass(["footer-content", { "is-stacked": isStacked.value }])
68
+ }, [
57
69
  _ctx.$slots.left || __props.footerOption ? renderSlot(_ctx.$slots, "left", { key: 0 }, () => [
58
70
  __props.footerOption ? (openBlock(), createElementBlock("div", {
59
71
  key: 0,
60
72
  ref_key: "footerLeftRef",
61
73
  ref: footerLeftRef,
62
- class: normalizeClass(["footer-left", { "footer-left-wrapped": isWrapped.value }])
74
+ class: "footer-left"
63
75
  }, [
64
- createElementVNode("div", _hoisted_2, [
65
- createElementVNode("p", _hoisted_3, toDisplayString(__props.footerOption.copyright), 1),
76
+ createElementVNode("div", _hoisted_1, [
77
+ createElementVNode("p", _hoisted_2, toDisplayString(__props.footerOption.copyright), 1),
66
78
  createElementVNode("a", {
67
79
  href: __props.footerOption.beianLink,
68
80
  target: "_blank",
69
81
  class: "beian-info"
70
- }, toDisplayString(__props.footerOption.beianInfo1), 9, _hoisted_4)
82
+ }, toDisplayString(__props.footerOption.beianInfo1), 9, _hoisted_3)
71
83
  ]),
72
- !unref(isPhone) && !isWrapped.value ? (openBlock(), createBlock(unref(ODivider), {
84
+ !unref(isPhone) && !isStacked.value ? (openBlock(), createBlock(unref(ODivider), {
73
85
  key: 0,
74
86
  direction: "v"
75
87
  })) : createCommentVNode("", true),
76
- createElementVNode("div", _hoisted_5, [
88
+ createElementVNode("div", _hoisted_4, [
77
89
  createElementVNode("img", {
78
90
  src: __props.footerOption.policeIcon,
79
91
  class: "filing-img"
80
- }, null, 8, _hoisted_6),
81
- createElementVNode("p", _hoisted_7, toDisplayString(__props.footerOption.beianInfo2), 1)
92
+ }, null, 8, _hoisted_5),
93
+ createElementVNode("p", _hoisted_6, toDisplayString(__props.footerOption.beianInfo2), 1)
82
94
  ])
83
- ], 2)) : createCommentVNode("", true)
95
+ ], 512)) : createCommentVNode("", true)
84
96
  ], true) : createCommentVNode("", true),
85
97
  _ctx.$slots.right || __props.footerOption ? renderSlot(_ctx.$slots, "right", { key: 1 }, () => [
86
- __props.footerOption ? (openBlock(), createElementBlock("div", _hoisted_8, [
98
+ __props.footerOption ? (openBlock(), createElementBlock("div", {
99
+ key: 0,
100
+ ref_key: "footerRightRef",
101
+ ref: footerRightRef,
102
+ class: "footer-right"
103
+ }, [
87
104
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.footerOption.children, (link, index) => {
88
105
  return openBlock(), createElementBlock(Fragment, {
89
106
  key: link.href
@@ -91,16 +108,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
91
108
  createElementVNode("a", {
92
109
  href: link.href,
93
110
  target: linkTarget(link.href, link == null ? void 0 : link.target)
94
- }, toDisplayString(link.title), 9, _hoisted_9),
111
+ }, toDisplayString(link.title), 9, _hoisted_7),
95
112
  index !== __props.footerOption.children.length - 1 ? (openBlock(), createBlock(unref(ODivider), {
96
113
  key: 0,
97
114
  direction: "v"
98
115
  })) : createCommentVNode("", true)
99
116
  ], 64);
100
117
  }), 128))
101
- ])) : createCommentVNode("", true)
118
+ ], 512)) : createCommentVNode("", true)
102
119
  ], true) : createCommentVNode("", true)
103
- ]);
120
+ ], 2);
104
121
  };
105
122
  }
106
123
  });
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, ref, watch, nextTick, onMounted, onBeforeUnmount, openBlock, createElementBlock, unref, createElementVNode, toDisplayString, createVNode, withCtx, createCommentVNode, normalizeClass, Fragment, renderList, createBlock, resolveDynamicComponent, createTextVNode, renderSlot } from "vue";
2
2
  import { isClient, OPopover, OIcon, OTab, OTabPane, OSelect, OOption, ODivider, OScroller, OResult, OFigure } from "@opensig/opendesign";
3
3
  import dayjs from "dayjs";
4
- import IconTips from "../../_virtual/icon-tips2.mjs";
4
+ import IconTips from "../../_virtual/icon-tips.mjs";
5
5
  import _sfc_main$1 from "./components/OMeetingSigAside.vue.mjs";
6
6
  import './components/OMeetingSigAside.css';
7
7
  import { CalendarDataType } from "./types.mjs";
@@ -1,12 +1,12 @@
1
- .hover-icon-rotate .o-icon[data-v-29562453] {
1
+ .hover-icon-rotate .o-icon[data-v-bbfd2537] {
2
2
  transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
3
  }
4
4
  @media (hover: hover) {
5
- .hover-icon-rotate:hover .o-icon[data-v-29562453] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-bbfd2537] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .o-summit-live .o-summit-title[data-v-29562453] {
9
+ .o-summit-live .o-summit-title[data-v-bbfd2537] {
10
10
  margin-bottom: var(--o-r-gap-6);
11
11
  color: var(--o-color-info1);
12
12
  font-weight: 600;
@@ -14,39 +14,39 @@
14
14
  font-size: var(--o-r-font_size-display3);
15
15
  line-height: var(--o-r-line_height-display3);
16
16
  }
17
- .o-summit-live .o-summit-live-wrapper[data-v-29562453] {
17
+ .o-summit-live .o-summit-live-wrapper[data-v-bbfd2537] {
18
18
  margin-top: var(--o-r-gap-6);
19
19
  }
20
- .o-summit-live .o-summit-live-select[data-v-29562453] {
20
+ .o-summit-live .o-summit-live-select[data-v-bbfd2537] {
21
21
  display: none;
22
22
  }
23
- .o-summit-live .o-summit-live-select[data-v-29562453] .o-select {
23
+ .o-summit-live .o-summit-live-select[data-v-bbfd2537] .o-select {
24
24
  width: 100%;
25
25
  }
26
- .o-summit-live .o-summit-live-select[data-v-29562453] .o-select .o-input {
26
+ .o-summit-live .o-summit-live-select[data-v-bbfd2537] .o-select .o-input {
27
27
  height: 48px;
28
28
  }
29
29
  @media (max-width: 840px) {
30
- .o-summit-live .o-summit-live-select[data-v-29562453] {
30
+ .o-summit-live .o-summit-live-select[data-v-bbfd2537] {
31
31
  display: block;
32
32
  margin-bottom: var(--o-gap-2);
33
33
  }
34
34
  }
35
- .o-summit-live .o-summit-live-video[data-v-29562453] {
35
+ .o-summit-live .o-summit-live-video[data-v-bbfd2537] {
36
36
  margin-bottom: var(--o-r-gap-5);
37
37
  width: 100%;
38
38
  display: block;
39
39
  border: none;
40
40
  }
41
- .o-summit-live .o-summit-live-web[data-v-29562453] {
41
+ .o-summit-live .o-summit-live-web[data-v-bbfd2537] {
42
42
  display: block;
43
43
  }
44
44
  @media (max-width: 840px) {
45
- .o-summit-live .o-summit-live-web[data-v-29562453] {
45
+ .o-summit-live .o-summit-live-web[data-v-bbfd2537] {
46
46
  display: none;
47
47
  }
48
48
  }
49
- .o-summit-live .o-summit-live-itembox[data-v-29562453] {
49
+ .o-summit-live .o-summit-live-itembox[data-v-bbfd2537] {
50
50
  display: grid;
51
51
  grid-template-columns: repeat(4, 1fr);
52
52
  gap: var(--o-r-gap-6) var(--o-r-gap-5);
@@ -54,16 +54,16 @@
54
54
  --link-height: 96px;
55
55
  }
56
56
  @media (min-width: 1201px) and (max-width: 1680px) {
57
- .o-summit-live .o-summit-live-itembox[data-v-29562453] {
57
+ .o-summit-live .o-summit-live-itembox[data-v-bbfd2537] {
58
58
  --link-height: 92px;
59
59
  }
60
60
  }
61
61
  @media (min-width: 841px) and (max-width: 1200px) {
62
- .o-summit-live .o-summit-live-itembox[data-v-29562453] {
62
+ .o-summit-live .o-summit-live-itembox[data-v-bbfd2537] {
63
63
  --link-height: 68px;
64
64
  }
65
65
  }
66
- .o-summit-live .o-summit-live-link[data-v-29562453] {
66
+ .o-summit-live .o-summit-live-link[data-v-bbfd2537] {
67
67
  flex: 1;
68
68
  padding: var(--o-r-gap-6) var(--o-r-gap-5);
69
69
  cursor: pointer;
@@ -78,10 +78,10 @@
78
78
  justify-content: center;
79
79
  border-radius: var(--o-radius-xs);
80
80
  }
81
- .o-summit-live .o-summit-live-link [data-o-theme*=dark][data-v-29562453] {
81
+ .o-summit-live .o-summit-live-link [data-o-theme*=dark][data-v-bbfd2537] {
82
82
  background-image: var(--o-summit-live-bg-dark);
83
83
  }
84
- .o-summit-live .o-summit-live-link .o-summit-live-name[data-v-29562453] {
84
+ .o-summit-live .o-summit-live-link .o-summit-live-name[data-v-bbfd2537] {
85
85
  color: var(--o-color-info1);
86
86
  font-size: var(--o-r-font_size-h2);
87
87
  line-height: var(--o-r-line_height-h2);
@@ -92,12 +92,12 @@
92
92
  -webkit-box-orient: vertical;
93
93
  -webkit-line-clamp: 2;
94
94
  }
95
- .o-summit-live .o-summit-live-link[data-v-29562453]:hover {
95
+ .o-summit-live .o-summit-live-link[data-v-bbfd2537]:hover {
96
96
  box-shadow: var(--o-shadow-2);
97
97
  }
98
- .o-summit-live .o-summit-live-link.is-active .o-summit-live-name[data-v-29562453] {
98
+ .o-summit-live .o-summit-live-link.is-active .o-summit-live-name[data-v-bbfd2537] {
99
99
  color: #fff;
100
100
  }
101
- .o-summit-live .o-summit-live-link.is-main[data-v-29562453] {
101
+ .o-summit-live .o-summit-live-link.is-main[data-v-bbfd2537] {
102
102
  grid-column: 1/5;
103
103
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./OSummitLive.vue2.mjs";
2
2
  import './OSummitLive.css';
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const _OSummitLive = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-29562453"]]);
4
+ const _OSummitLive = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bbfd2537"]]);
5
5
  export {
6
6
  _OSummitLive as default
7
7
  };
@@ -28,8 +28,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  const roomId = ref(0);
29
29
  const dateIndex = ref(0);
30
30
  const currentRooms = computed(() => {
31
+ var _a2, _b;
32
+ return ((_b = (_a2 = props.section.dates) == null ? void 0 : _a2[dateIndex.value]) == null ? void 0 : _b.rooms) || [];
33
+ });
34
+ const dateLabels = computed(() => {
31
35
  var _a2;
32
- return ((_a2 = props.section.rooms) == null ? void 0 : _a2[dateIndex.value]) || [];
36
+ return ((_a2 = props.section.dates) == null ? void 0 : _a2.map((d) => d.label)) ?? [];
33
37
  });
34
38
  const liveRoom = ref((_a = currentRooms.value[0]) == null ? void 0 : _a.liveId);
35
39
  watch(currentRooms, (val) => {
@@ -43,7 +47,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
43
47
  emit("change", item.liveId);
44
48
  };
45
49
  const changeLive = (val) => {
46
- emit("change", Array.isArray(val) ? val[0] : val);
50
+ const liveId = Array.isArray(val) ? val[0] : val;
51
+ const idx = currentRooms.value.findIndex((item) => item.liveId === liveId);
52
+ if (idx > -1) {
53
+ roomId.value = idx;
54
+ }
55
+ emit("change", liveId);
47
56
  };
48
57
  function setHeight(data) {
49
58
  if (data.height === "auto") {
@@ -73,7 +82,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
73
82
  createVNode(OSummitTabs, {
74
83
  modelValue: dateIndex.value,
75
84
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dateIndex.value = $event),
76
- items: props.section.dates || []
85
+ items: dateLabels.value
77
86
  }, null, 8, ["modelValue", "items"]),
78
87
  createElementVNode("div", _hoisted_3, [
79
88
  createElementVNode("div", _hoisted_4, [