@opendesign-plus-test/components 0.0.1-rc.104 → 0.0.1-rc.106

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 (51) hide show
  1. package/dist/components/header/OHeaderMobile.vue.d.ts +4 -0
  2. package/dist/components/header/index.d.ts +2 -0
  3. package/dist/components/header/types.d.ts +5 -2
  4. package/dist/components/header-search/OHeaderSearch.vue.d.ts +6 -6
  5. package/dist/components/header-search/index.d.ts +3 -3
  6. package/dist/components/search/OSearchInput.vue.d.ts +6 -6
  7. package/dist/components/search/index.d.ts +3 -3
  8. package/dist/components/search/internal/SearchImageInput.vue.d.ts +1 -1
  9. package/dist/components.cjs.js +37 -37
  10. package/dist/components.css +1 -1
  11. package/dist/components.es.js +6666 -6704
  12. package/dist/treeshaking/components/common/TooltipText.css +1 -0
  13. package/dist/treeshaking/components/common/TooltipText.vue.mjs +11 -0
  14. package/dist/treeshaking/components/header/OHeader.css +15 -15
  15. package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
  16. package/dist/treeshaking/components/header/OHeader.vue2.mjs +2 -1
  17. package/dist/treeshaking/components/header/OHeaderMobile.css +19 -19
  18. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +4 -0
  19. package/dist/treeshaking/components/header/OHeaderMobile.vue.mjs +1 -1
  20. package/dist/treeshaking/components/header/OHeaderMobile.vue2.mjs +3 -1
  21. package/dist/treeshaking/components/header/components/HeaderContent.css +178 -175
  22. package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
  23. package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +10 -11
  24. package/dist/treeshaking/components/header/components/HeaderFlatten.css +49 -51
  25. package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +1 -1
  26. package/dist/treeshaking/components/header/components/HeaderFlatten.vue2.mjs +10 -13
  27. package/dist/treeshaking/components/header/components/HeaderNav.css +45 -42
  28. package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
  29. package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +6 -5
  30. package/dist/treeshaking/components/header/components/HeaderNavMobile.css +110 -73
  31. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.mjs +1 -1
  32. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue2.mjs +51 -44
  33. package/dist/treeshaking/components/header/index.d.ts +2 -0
  34. package/dist/treeshaking/components/header/types.d.ts +5 -2
  35. package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +6 -6
  36. package/dist/treeshaking/components/header-search/index.d.ts +3 -3
  37. package/dist/treeshaking/components/meeting/OMeetingCalendar.css +2 -2
  38. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.css +23 -31
  39. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.mjs +1 -0
  40. package/dist/treeshaking/components/meeting/OMeetingMyCalendar2.css +8 -0
  41. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.css +5 -7
  42. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +3 -6
  43. package/dist/treeshaking/components/meeting/components/OMeetingDetail.css +1 -1
  44. package/dist/treeshaking/components/meeting/components/OMeetingDetail.vue.mjs +10 -6
  45. package/dist/treeshaking/components/search/OSearchInput.vue.d.ts +6 -6
  46. package/dist/treeshaking/components/search/index.d.ts +3 -3
  47. package/dist/treeshaking/components/search/internal/SearchImageInput.vue.d.ts +1 -1
  48. package/package.json +1 -1
  49. package/dist/treeshaking/components/common/MoreText.css +0 -69
  50. package/dist/treeshaking/components/common/MoreText.vue.mjs +0 -88
  51. package/dist/treeshaking/components/common/MoreText.vue3.mjs +0 -5
@@ -15,6 +15,7 @@
15
15
  text-overflow: ellipsis;
16
16
  }
17
17
  .tooltip-text-wrapper .tooltip-text.multi-lines {
18
+ word-break: break-all;
18
19
  white-space: normal;
19
20
  text-overflow: ellipsis;
20
21
  display: -webkit-box;
@@ -18,6 +18,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
18
18
  if (!isClient) return;
19
19
  const ele = contentRef.value;
20
20
  if (!ele) return;
21
+ if (props.lines && props.lines > 1) {
22
+ const visibleHeight = ele.offsetHeight;
23
+ const prevDisplay = ele.style.display;
24
+ ele.style.display = "block";
25
+ const naturalHeight = ele.scrollHeight;
26
+ ele.style.display = prevDisplay;
27
+ if (naturalHeight && visibleHeight) {
28
+ ellipsis.value = naturalHeight > visibleHeight + 1;
29
+ }
30
+ return;
31
+ }
21
32
  ellipsis.value = ele.scrollWidth > ele.offsetWidth + 1 || ele.scrollHeight > ele.offsetHeight + 1;
22
33
  };
23
34
  onMounted(() => {
@@ -1,35 +1,35 @@
1
- .hover-icon-rotate .o-icon[data-v-3512434a] {
1
+ .hover-icon-rotate .o-icon[data-v-1831d6bd] {
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-3512434a] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-1831d6bd] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .header[data-v-3512434a] {
9
+ .header[data-v-1831d6bd] {
10
10
  --o-header-height: 72px;
11
11
  --o-header-content-max-width: 1488px;
12
12
  --o-header-content-padding: 0;
13
13
  }
14
14
  @media (max-width: 1680px) {
15
- .header[data-v-3512434a] {
15
+ .header[data-v-1831d6bd] {
16
16
  --o-header-content-max-width: 100%;
17
17
  --o-header-content-padding: 64px;
18
18
  }
19
19
  }
20
20
  @media (max-width: 1440px) {
21
- .header[data-v-3512434a] {
21
+ .header[data-v-1831d6bd] {
22
22
  --o-header-height: 64px;
23
23
  --o-header-content-padding: 40px;
24
24
  }
25
25
  }
26
26
  @media (max-width: 1200px) {
27
- .header[data-v-3512434a] {
27
+ .header[data-v-1831d6bd] {
28
28
  --o-header-height: 56px;
29
29
  --o-header-content-padding: 32px;
30
30
  }
31
31
  }
32
- .header-wrap[data-v-3512434a] {
32
+ .header-wrap[data-v-1831d6bd] {
33
33
  background-color: var(--o-color-fill2);
34
34
  position: fixed;
35
35
  left: 0;
@@ -40,7 +40,7 @@
40
40
  backdrop-filter: blur(5px);
41
41
  height: var(--o-header-height);
42
42
  }
43
- .header-content[data-v-3512434a] {
43
+ .header-content[data-v-1831d6bd] {
44
44
  display: flex;
45
45
  align-items: center;
46
46
  height: 100%;
@@ -48,7 +48,7 @@
48
48
  margin: 0 auto;
49
49
  padding: 0 var(--o-header-content-padding);
50
50
  }
51
- .header-logo[data-v-3512434a] {
51
+ .header-logo[data-v-1831d6bd] {
52
52
  height: 100%;
53
53
  display: flex;
54
54
  align-items: center;
@@ -56,27 +56,27 @@
56
56
  margin-right: 24px;
57
57
  flex-shrink: 0;
58
58
  }
59
- .logo[data-v-3512434a] {
59
+ .logo[data-v-1831d6bd] {
60
60
  height: 32px;
61
61
  }
62
- .header-nav-top[data-v-3512434a] {
62
+ .header-nav-top[data-v-1831d6bd] {
63
63
  flex: 1;
64
64
  height: 100%;
65
65
  min-width: 0;
66
66
  overflow: hidden;
67
67
  position: relative;
68
68
  }
69
- .header-nav-flatten[data-v-3512434a] {
69
+ .header-nav-flatten[data-v-1831d6bd] {
70
70
  flex: 1;
71
71
  height: 100%;
72
72
  min-width: 0;
73
73
  position: relative;
74
74
  }
75
- .header-toolbar[data-v-3512434a] {
75
+ .header-toolbar[data-v-1831d6bd] {
76
76
  height: 100%;
77
77
  position: relative;
78
78
  }
79
- .header-nav-content[data-v-3512434a] {
79
+ .header-nav-content[data-v-1831d6bd] {
80
80
  position: fixed;
81
81
  top: var(--o-header-height);
82
82
  left: 0;
@@ -86,6 +86,6 @@
86
86
  box-shadow: var(--o-shadow-1);
87
87
  overflow: hidden;
88
88
  }
89
- [data-o-theme*=dark] .header-wrap[data-v-3512434a] {
89
+ [data-o-theme*=dark] .header-wrap[data-v-1831d6bd] {
90
90
  border-bottom: 1px solid var(--o-color-control4);
91
91
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./OHeader.vue2.mjs";
2
2
  import './OHeader.css';
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const _OHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3512434a"]]);
4
+ const _OHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1831d6bd"]]);
5
5
  export {
6
6
  _OHeader as default
7
7
  };
@@ -161,11 +161,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
161
161
  "nav-data": props.navData,
162
162
  hoverId: hoverId.value,
163
163
  "active-index": props.activeIndex,
164
+ community: props.community,
164
165
  onHandleMouseenter: handleMouseenter,
165
166
  onHandleMouseleave: handleMouseleave,
166
167
  onHandleClick: handleClick,
167
168
  onNavLayout: navLayout
168
- }, null, 8, ["nav-data", "hoverId", "active-index"])) : createCommentVNode("", true)
169
+ }, null, 8, ["nav-data", "hoverId", "active-index", "community"])) : createCommentVNode("", true)
169
170
  ], true)
170
171
  ])) : createCommentVNode("", true),
171
172
  props.isFlatten ? (openBlock(), createElementBlock("div", _hoisted_5, [
@@ -1,15 +1,15 @@
1
- .hover-icon-rotate .o-icon[data-v-9c0f44cf] {
1
+ .hover-icon-rotate .o-icon[data-v-f067c92a] {
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-9c0f44cf] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-f067c92a] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .header[data-v-9c0f44cf] {
9
+ .header[data-v-f067c92a] {
10
10
  --o-header-height: 56px;
11
11
  }
12
- .header-box[data-v-9c0f44cf] {
12
+ .header-box[data-v-f067c92a] {
13
13
  background-color: var(--o-color-fill2);
14
14
  position: fixed;
15
15
  left: 0;
@@ -19,30 +19,30 @@
19
19
  box-shadow: var(--o-shadow-1);
20
20
  backdrop-filter: blur(5px);
21
21
  }
22
- .header-wrap[data-v-9c0f44cf] {
22
+ .header-wrap[data-v-f067c92a] {
23
23
  display: flex;
24
24
  align-items: center;
25
25
  height: var(--o-header-height);
26
26
  justify-content: space-between;
27
27
  position: relative;
28
28
  }
29
- .header-simple[data-v-9c0f44cf] {
29
+ .header-simple[data-v-f067c92a] {
30
30
  width: 100%;
31
31
  display: flex;
32
32
  align-items: center;
33
33
  justify-content: space-between;
34
34
  }
35
- .header-simple .o-icon[data-v-9c0f44cf] {
35
+ .header-simple .o-icon[data-v-f067c92a] {
36
36
  font-size: 24px;
37
37
  }
38
- .header-simple .simple-header-left[data-v-9c0f44cf] {
38
+ .header-simple .simple-header-left[data-v-f067c92a] {
39
39
  display: flex;
40
40
  gap: 16px;
41
41
  color: var(--o-color-info1);
42
42
  overflow: hidden;
43
43
  flex-grow: 1;
44
44
  }
45
- .header-simple .simple-header-left .header-title[data-v-9c0f44cf] {
45
+ .header-simple .simple-header-left .header-title[data-v-f067c92a] {
46
46
  color: var(--o-color-info1);
47
47
  font-weight: 500;
48
48
  overflow: hidden;
@@ -52,55 +52,55 @@
52
52
  line-height: 26px;
53
53
  }
54
54
  @media (min-width: 1201px) and (max-width: 1680px) {
55
- .header-simple .simple-header-left .header-title[data-v-9c0f44cf] {
55
+ .header-simple .simple-header-left .header-title[data-v-f067c92a] {
56
56
  font-size: 16px;
57
57
  line-height: 24px;
58
58
  }
59
59
  }
60
60
  @media (min-width: 841px) and (max-width: 1200px) {
61
- .header-simple .simple-header-left .header-title[data-v-9c0f44cf] {
61
+ .header-simple .simple-header-left .header-title[data-v-f067c92a] {
62
62
  font-size: 14px;
63
63
  line-height: 22px;
64
64
  }
65
65
  }
66
66
  @media (min-width: 601px) and (max-width: 840px) {
67
- .header-simple .simple-header-left .header-title[data-v-9c0f44cf] {
67
+ .header-simple .simple-header-left .header-title[data-v-f067c92a] {
68
68
  font-size: 14px;
69
69
  line-height: 22px;
70
70
  }
71
71
  }
72
72
  @media (max-width: 600px) {
73
- .header-simple .simple-header-left .header-title[data-v-9c0f44cf] {
73
+ .header-simple .simple-header-left .header-title[data-v-f067c92a] {
74
74
  font-size: 14px;
75
75
  line-height: 22px;
76
76
  }
77
77
  }
78
- .header-simple .simple-header-right[data-v-9c0f44cf] {
78
+ .header-simple .simple-header-right[data-v-f067c92a] {
79
79
  flex-shrink: 0;
80
80
  color: var(--o-color-info1);
81
81
  font-weight: 500;
82
82
  font-size: 16px;
83
83
  line-height: 24px;
84
84
  }
85
- .header-left[data-v-9c0f44cf] {
85
+ .header-left[data-v-f067c92a] {
86
86
  display: flex;
87
87
  align-items: center;
88
88
  }
89
- .header-left .o-icon[data-v-9c0f44cf] {
89
+ .header-left .o-icon[data-v-f067c92a] {
90
90
  --icon-size: 24px;
91
91
  }
92
- .logo[data-v-9c0f44cf] {
92
+ .logo[data-v-f067c92a] {
93
93
  height: 24px;
94
94
  width: auto;
95
95
  }
96
- .header-content-mb[data-v-9c0f44cf] {
96
+ .header-content-mb[data-v-f067c92a] {
97
97
  position: fixed;
98
98
  top: var(--o-header-height);
99
99
  left: 0;
100
100
  height: 0;
101
101
  z-index: 998;
102
102
  }
103
- .header-content-active[data-v-9c0f44cf] {
103
+ .header-content-active[data-v-f067c92a] {
104
104
  width: 100%;
105
105
  height: calc(100vh - var(--o-header-height));
106
106
  }
@@ -21,6 +21,8 @@ declare function __VLS_template(): {
21
21
  readonly navData: import('./types.ts').NavItemT[];
22
22
  readonly codeData?: import('./types.ts').CodeT | undefined;
23
23
  readonly langData?: import('./types.ts').LangT | undefined;
24
+ readonly activeIndex: string | number;
25
+ readonly community?: string | undefined;
24
26
  readonly "onHandle-click"?: ((val: any) => any) | undefined;
25
27
  readonly "onOn-click"?: (() => any) | undefined;
26
28
  readonly "onLang-click"?: ((val: LangItemT) => any) | undefined;
@@ -101,6 +103,8 @@ declare const __VLS_component: import('vue').DefineComponent<NavT, {}, {}, {}, {
101
103
  readonly navData: import('./types.ts').NavItemT[];
102
104
  readonly codeData?: import('./types.ts').CodeT | undefined;
103
105
  readonly langData?: import('./types.ts').LangT | undefined;
106
+ readonly activeIndex: string | number;
107
+ readonly community?: string | undefined;
104
108
  readonly "onHandle-click"?: ((val: any) => any) | undefined;
105
109
  readonly "onOn-click"?: (() => any) | undefined;
106
110
  readonly "onLang-click"?: ((val: LangItemT) => any) | undefined;
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./OHeaderMobile.vue2.mjs";
2
2
  import './OHeaderMobile.css';
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const _OHeaderMobile = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9c0f44cf"]]);
4
+ const _OHeaderMobile = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f067c92a"]]);
5
5
  export {
6
6
  _OHeaderMobile as default
7
7
  };
@@ -123,6 +123,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
123
123
  "code-data": __props.codeData,
124
124
  "lang-data": __props.langData,
125
125
  "menu-show": menuShow.value,
126
+ community: props.community,
127
+ "active-index": __props.activeIndex,
126
128
  onHandleClick: handleClick,
127
129
  onOnClick: mobileClick,
128
130
  onLangClick: langClick
@@ -131,7 +133,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
131
133
  renderSlot(_ctx.$slots, "tool", {}, void 0, true)
132
134
  ]),
133
135
  _: 3
134
- }, 8, ["nav-data", "code-data", "lang-data", "menu-show"])
136
+ }, 8, ["nav-data", "code-data", "lang-data", "menu-show", "community", "active-index"])
135
137
  ], 2)
136
138
  ]);
137
139
  };