@opendesign-plus-test/components 0.0.1-rc.112 → 0.0.1-rc.113

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 (86) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +75 -59
  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/feedback-doc/OFeedbackDoc.vue.d.ts +215 -0
  7. package/dist/components/feedback-doc/OFeedbackDocContent.vue.d.ts +36 -0
  8. package/dist/components/feedback-doc/OFeedbackDocDialog.vue.d.ts +34 -0
  9. package/dist/components/feedback-doc/OFeedbackDocPopup.vue.d.ts +42 -0
  10. package/dist/components/feedback-doc/index.d.ts +488 -0
  11. package/dist/components/header/OHeaderMobile.vue.d.ts +14 -14
  12. package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  13. package/dist/components/header/index.d.ts +23 -23
  14. package/dist/components/header-search/OHeaderSearch.vue.d.ts +10 -6
  15. package/dist/components/header-search/index.d.ts +18 -16
  16. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  17. package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +664 -0
  18. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  19. package/dist/components/meeting/index.d.ts +31 -31
  20. package/dist/components/meeting/types.d.ts +0 -1
  21. package/dist/components/search/OSearchInput.vue.d.ts +10 -6
  22. package/dist/components/search/index.d.ts +16 -14
  23. package/dist/components/search/internal/SearchImageInput.vue.d.ts +5 -1
  24. package/dist/components.cjs.js +39 -39
  25. package/dist/components.css +1 -1
  26. package/dist/components.es.js +10024 -9457
  27. package/dist/index.d.ts +1 -0
  28. package/dist/treeshaking/_virtual/icon-smile.mjs +21 -0
  29. package/dist/treeshaking/components/activity/index.d.ts +9 -9
  30. package/dist/treeshaking/components/banner/index.d.ts +6 -6
  31. package/dist/treeshaking/components/common/MoreText.css +69 -0
  32. package/dist/treeshaking/components/common/MoreText.vue.mjs +88 -0
  33. package/dist/treeshaking/components/common/MoreText.vue3.mjs +5 -0
  34. package/dist/treeshaking/components/common/TooltipText.css +0 -1
  35. package/dist/treeshaking/components/common/TooltipText.vue.mjs +0 -11
  36. package/dist/treeshaking/components/events/OEventsApply.css +1 -1
  37. package/dist/treeshaking/components/events/OEventsCalendar.css +14 -30
  38. package/dist/treeshaking/components/events/OEventsList.css +0 -6
  39. package/dist/treeshaking/components/events/index.d.ts +20 -20
  40. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.css +20 -0
  41. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.d.ts +215 -0
  42. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.mjs +7 -0
  43. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue2.mjs +157 -0
  44. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.css +115 -0
  45. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.d.ts +36 -0
  46. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.mjs +7 -0
  47. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue2.mjs +303 -0
  48. package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue.d.ts +34 -0
  49. package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue.mjs +92 -0
  50. package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue2.mjs +4 -0
  51. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.css +22 -0
  52. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue.d.ts +42 -0
  53. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue.mjs +7 -0
  54. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue2.mjs +90 -0
  55. package/dist/treeshaking/components/feedback-doc/index.d.ts +488 -0
  56. package/dist/treeshaking/components/feedback-doc/index.mjs +30 -0
  57. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +14 -14
  58. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  59. package/dist/treeshaking/components/header/index.d.ts +23 -23
  60. package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +10 -6
  61. package/dist/treeshaking/components/header-search/index.d.ts +18 -16
  62. package/dist/treeshaking/components/meeting/OMeetingCalendar.css +2 -2
  63. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.css +53 -36
  64. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.mjs +0 -1
  65. package/dist/treeshaking/components/meeting/OMeetingMyCalendar2.css +0 -8
  66. package/dist/treeshaking/components/meeting/OMeetingPlayback.css +0 -21
  67. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  68. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.mjs +18 -41
  69. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.css +7 -5
  70. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +6 -3
  71. package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +664 -0
  72. package/dist/treeshaking/components/meeting/components/OMeetingDetail.css +1 -1
  73. package/dist/treeshaking/components/meeting/components/OMeetingDetail.vue.mjs +6 -10
  74. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.css +6 -153
  75. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.css +2 -9
  76. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  77. package/dist/treeshaking/components/meeting/index.d.ts +31 -31
  78. package/dist/treeshaking/components/meeting/types.d.ts +0 -1
  79. package/dist/treeshaking/components/search/OSearchInput.vue.d.ts +10 -6
  80. package/dist/treeshaking/components/search/index.d.ts +16 -14
  81. package/dist/treeshaking/components/search/internal/SearchImageInput.vue.d.ts +5 -1
  82. package/dist/treeshaking/i18n/en.mjs +9 -1
  83. package/dist/treeshaking/i18n/zh.mjs +9 -1
  84. package/dist/treeshaking/index.d.ts +1 -0
  85. package/dist/treeshaking/index.mjs +5 -0
  86. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ export * from './components/config-provider';
4
4
  export * from './components/cookie-notice';
5
5
  export * from './components/element-plus';
6
6
  export * from './components/events';
7
+ export * from './components/feedback-doc';
7
8
  export * from './components/footer';
8
9
  export * from './components/header';
9
10
  export * from './components/header-language-switcher';
@@ -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: "24",
6
+ height: "24",
7
+ viewBox: "0 0 24 24"
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: "currentColor",
14
+ d: "M12 2.3c5.357 0 9.7 4.343 9.7 9.7 0 2.436-0.902 4.732-2.502 6.503-1.827 2.021-4.419 3.197-7.198 3.197-5.357 0-9.7-4.343-9.7-9.7s4.343-9.7 9.7-9.7zM12 3.7c-4.584 0-8.3 3.716-8.3 8.3s3.716 8.3 8.3 8.3c2.379 0 4.595-1.005 6.159-2.736 1.37-1.515 2.141-3.479 2.141-5.564 0-4.584-3.716-8.3-8.3-8.3zM17.326 13.329c0.342 0.18 0.474 0.603 0.294 0.945-1.082 2.057-3.236 3.374-5.626 3.374-2.378 0-4.524-1.305-5.611-3.346-0.182-0.341-0.052-0.765 0.289-0.947s0.765-0.052 0.947 0.289c0.845 1.587 2.517 2.604 4.375 2.604 1.867 0 3.546-1.027 4.387-2.626 0.18-0.342 0.603-0.474 0.945-0.294zM7.25 8c0.69 0 1.25 0.56 1.25 1.25s-0.56 1.25-1.25 1.25c-0.69 0-1.25-0.56-1.25-1.25s0.56-1.25 1.25-1.25zM16.75 8c0.69 0 1.25 0.56 1.25 1.25s-0.56 1.25-1.25 1.25c-0.69 0-1.25-0.56-1.25-1.25s0.56-1.25 1.25-1.25z"
15
+ }, null, -1)
16
+ ])]);
17
+ }
18
+ const IconSmile = { name: "components-icon-smile", render };
19
+ export {
20
+ IconSmile as default
21
+ };
@@ -1,6 +1,6 @@
1
1
  import { App } from 'vue';
2
2
  declare const OActivityForm: {
3
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').ActivityFormPropsT> & Readonly<{
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').ActivityFormPropsT> & Readonly<{
4
4
  onConfirm?: ((...args: any[]) => any) | undefined;
5
5
  onClose?: ((...args: any[]) => any) | undefined;
6
6
  }>, {
@@ -142,7 +142,7 @@ declare const OActivityForm: {
142
142
  C: {};
143
143
  M: {};
144
144
  Defaults: {};
145
- }, Readonly<import('./types').ActivityFormPropsT> & Readonly<{
145
+ }, Readonly<import('../../index').ActivityFormPropsT> & Readonly<{
146
146
  onConfirm?: ((...args: any[]) => any) | undefined;
147
147
  onClose?: ((...args: any[]) => any) | undefined;
148
148
  }>, {
@@ -151,7 +151,7 @@ declare const OActivityForm: {
151
151
  __isFragment?: never;
152
152
  __isTeleport?: never;
153
153
  __isSuspense?: never;
154
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').ActivityFormPropsT> & Readonly<{
154
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').ActivityFormPropsT> & Readonly<{
155
155
  onConfirm?: ((...args: any[]) => any) | undefined;
156
156
  onClose?: ((...args: any[]) => any) | undefined;
157
157
  }>, {
@@ -163,7 +163,7 @@ declare const OActivityForm: {
163
163
  install(app: App): void;
164
164
  };
165
165
  declare const OActivityApproval: {
166
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
166
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
167
167
  formRef: ({
168
168
  $: import('vue').ComponentInternalInstance;
169
169
  $data: {};
@@ -297,11 +297,11 @@ declare const OActivityApproval: {
297
297
  C: {};
298
298
  M: {};
299
299
  Defaults: {};
300
- }, Readonly<import('./types').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
300
+ }, Readonly<import('../../index').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
301
301
  __isFragment?: never;
302
302
  __isTeleport?: never;
303
303
  __isSuspense?: never;
304
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').ActivityTablePropsT> & 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 () => {
304
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').ActivityTablePropsT> & 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 () => {
305
305
  $slots: {
306
306
  'filter-empty'?(_: {}): any;
307
307
  'filter-empty'?(_: {}): any;
@@ -310,7 +310,7 @@ declare const OActivityApproval: {
310
310
  install(app: App): void;
311
311
  };
312
312
  declare const OActivityMyCalendar: {
313
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').MyActivityCalendarPropsT> & Readonly<{
313
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').MyActivityCalendarPropsT> & Readonly<{
314
314
  onEdit?: ((...args: any[]) => any) | undefined;
315
315
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
316
316
  edit: (...args: any[]) => void;
@@ -627,13 +627,13 @@ declare const OActivityMyCalendar: {
627
627
  C: {};
628
628
  M: {};
629
629
  Defaults: {};
630
- }, Readonly<import('./types').MyActivityCalendarPropsT> & Readonly<{
630
+ }, Readonly<import('../../index').MyActivityCalendarPropsT> & Readonly<{
631
631
  onEdit?: ((...args: any[]) => any) | undefined;
632
632
  }>, {}, {}, {}, {}, {}>;
633
633
  __isFragment?: never;
634
634
  __isTeleport?: never;
635
635
  __isSuspense?: never;
636
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').MyActivityCalendarPropsT> & Readonly<{
636
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').MyActivityCalendarPropsT> & Readonly<{
637
637
  onEdit?: ((...args: any[]) => any) | undefined;
638
638
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
639
639
  edit: (...args: any[]) => void;
@@ -1,7 +1,7 @@
1
1
  import { App } from 'vue';
2
2
  declare const OBanner: {
3
3
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
4
- options?: import('./types').BannerItem | import('./types').BannerItem[];
4
+ options?: import('../../index').BannerItem | import('../../index').BannerItem[];
5
5
  size?: "large" | "medium" | "small" | "tiny";
6
6
  contentJustifyCenter?: boolean;
7
7
  autoPlay?: boolean;
@@ -17,7 +17,7 @@ declare const OBanner: {
17
17
  M: {};
18
18
  Defaults: {};
19
19
  }, Readonly<{
20
- options?: import('./types').BannerItem | import('./types').BannerItem[];
20
+ options?: import('../../index').BannerItem | import('../../index').BannerItem[];
21
21
  size?: "large" | "medium" | "small" | "tiny";
22
22
  contentJustifyCenter?: boolean;
23
23
  autoPlay?: boolean;
@@ -28,7 +28,7 @@ declare const OBanner: {
28
28
  __isTeleport?: never;
29
29
  __isSuspense?: never;
30
30
  } & import('vue').ComponentOptionsBase<Readonly<{
31
- options?: import('./types').BannerItem | import('./types').BannerItem[];
31
+ options?: import('../../index').BannerItem | import('../../index').BannerItem[];
32
32
  size?: "large" | "medium" | "small" | "tiny";
33
33
  contentJustifyCenter?: boolean;
34
34
  autoPlay?: boolean;
@@ -40,7 +40,7 @@ declare const OBanner: {
40
40
  install(app: App): void;
41
41
  };
42
42
  declare const OBannerContent: {
43
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').BannerContentProps> & Readonly<{
43
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').BannerContentProps> & Readonly<{
44
44
  onClick?: ((href: string | undefined) => any) | undefined;
45
45
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
46
46
  click: (href: string | undefined) => any;
@@ -51,13 +51,13 @@ declare const OBannerContent: {
51
51
  C: {};
52
52
  M: {};
53
53
  Defaults: {};
54
- }, Readonly<import('./types').BannerContentProps> & Readonly<{
54
+ }, Readonly<import('../../index').BannerContentProps> & Readonly<{
55
55
  onClick?: ((href: string | undefined) => any) | undefined;
56
56
  }>, {}, {}, {}, {}, {}>;
57
57
  __isFragment?: never;
58
58
  __isTeleport?: never;
59
59
  __isSuspense?: never;
60
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').BannerContentProps> & Readonly<{
60
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').BannerContentProps> & Readonly<{
61
61
  onClick?: ((href: string | undefined) => any) | undefined;
62
62
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
63
63
  click: (href: string | undefined) => any;
@@ -0,0 +1,69 @@
1
+ .hover-icon-rotate .o-icon {
2
+ transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
+ }
4
+ @media (hover: hover) {
5
+ .hover-icon-rotate:hover .o-icon {
6
+ transform: rotate(-180deg);
7
+ }
8
+ }
9
+ .more-text-wrapper .more-text-content {
10
+ line-height: 1.5em;
11
+ overflow: hidden;
12
+ text-overflow: ellipsis;
13
+ display: -webkit-box;
14
+ -webkit-box-orient: vertical;
15
+ white-space: pre-wrap;
16
+ word-break: break-all;
17
+ transition: height 0.1s;
18
+ }
19
+ .more-text-wrapper .more-text-content.is-link {
20
+ color: var(--o-color-primary1);
21
+ cursor: pointer;
22
+ }
23
+ @media (hover: hover) {
24
+ .more-text-wrapper .more-text-content.is-link:hover {
25
+ color: var(--o-color-primary2);
26
+ }
27
+ }
28
+ .more-text-wrapper .more-text-btn {
29
+ color: var(--o-color-primary1);
30
+ }
31
+ @media (hover: hover) {
32
+ .more-text-wrapper .more-text-btn:hover {
33
+ color: var(--o-color-primary2);
34
+ }
35
+ }
36
+ .more-text-wrapper .more-text-btn > div {
37
+ height: 1.5em;
38
+ cursor: pointer;
39
+ display: flex;
40
+ align-items: center;
41
+ column-gap: 4px;
42
+ justify-content: flex-end;
43
+ font-size: 14px;
44
+ line-height: 22px;
45
+ }
46
+ @media (min-width: 1201px) and (max-width: 1680px) {
47
+ .more-text-wrapper .more-text-btn > div {
48
+ font-size: 12px;
49
+ line-height: 18px;
50
+ }
51
+ }
52
+ @media (min-width: 841px) and (max-width: 1200px) {
53
+ .more-text-wrapper .more-text-btn > div {
54
+ font-size: 12px;
55
+ line-height: 18px;
56
+ }
57
+ }
58
+ @media (min-width: 601px) and (max-width: 840px) {
59
+ .more-text-wrapper .more-text-btn > div {
60
+ font-size: 12px;
61
+ line-height: 18px;
62
+ }
63
+ }
64
+ @media (max-width: 600px) {
65
+ .more-text-wrapper .more-text-btn > div {
66
+ font-size: 12px;
67
+ line-height: 18px;
68
+ }
69
+ }
@@ -0,0 +1,88 @@
1
+ import { defineComponent, ref, onMounted, watch, nextTick, openBlock, createElementBlock, createElementVNode, normalizeStyle, normalizeClass, toDisplayString, unref, createVNode, withCtx, createCommentVNode } from "vue";
2
+ import { OIcon, OIconChevronDown, OIconChevronUp } from "@opensig/opendesign";
3
+ import { useI18n } from "../../i18n/index.mjs";
4
+ const _hoisted_1 = { class: "more-text-wrapper" };
5
+ const _hoisted_2 = { key: 0 };
6
+ const _hoisted_3 = { key: 1 };
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "MoreText",
9
+ props: {
10
+ text: { default: "" },
11
+ link: { type: Boolean, default: false },
12
+ lines: { default: 3 },
13
+ show: { type: Boolean, default: false }
14
+ },
15
+ setup(__props) {
16
+ const props = __props;
17
+ const { t } = useI18n();
18
+ const expanded = ref(false);
19
+ const showBtn = ref(false);
20
+ const offsetHeight = ref(0);
21
+ const contentRef = ref(null);
22
+ onMounted(() => {
23
+ determineHeight();
24
+ });
25
+ watch([() => props.text, () => props.show], () => {
26
+ determineHeight();
27
+ });
28
+ const determineHeight = () => {
29
+ nextTick(() => {
30
+ const ele = contentRef.value;
31
+ if (ele) {
32
+ const range = document.createRange();
33
+ range.setStart(ele, 0);
34
+ range.setEnd(ele, ele.childNodes.length);
35
+ showBtn.value = range.getBoundingClientRect().height > ele.offsetHeight + 10 || ele.scrollHeight > ele.offsetHeight + 10;
36
+ offsetHeight.value = range.getBoundingClientRect().height || ele.scrollHeight;
37
+ } else {
38
+ showBtn.value = false;
39
+ }
40
+ });
41
+ };
42
+ const clickText = () => {
43
+ if (props.link) {
44
+ window.open(props.text);
45
+ }
46
+ };
47
+ return (_ctx, _cache) => {
48
+ return openBlock(), createElementBlock("div", _hoisted_1, [
49
+ createElementVNode("div", {
50
+ class: normalizeClass(["more-text-content", __props.link && "is-link"]),
51
+ ref_key: "contentRef",
52
+ ref: contentRef,
53
+ style: normalizeStyle({
54
+ "max-height": expanded.value ? offsetHeight.value + "px" : "4.5em",
55
+ "-webkit-line-clamp": expanded.value ? "initial" : __props.lines
56
+ }),
57
+ onClick: clickText
58
+ }, toDisplayString(__props.text), 7),
59
+ showBtn.value ? (openBlock(), createElementBlock("div", {
60
+ key: 0,
61
+ class: "more-text-btn",
62
+ onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = !expanded.value)
63
+ }, [
64
+ !expanded.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
65
+ createElementVNode("span", null, toDisplayString(unref(t)("common.expand")), 1),
66
+ createVNode(unref(OIcon), null, {
67
+ default: withCtx(() => [
68
+ createVNode(unref(OIconChevronDown))
69
+ ]),
70
+ _: 1
71
+ })
72
+ ])) : (openBlock(), createElementBlock("div", _hoisted_3, [
73
+ createElementVNode("span", null, toDisplayString(unref(t)("common.collapse")), 1),
74
+ createVNode(unref(OIcon), null, {
75
+ default: withCtx(() => [
76
+ createVNode(unref(OIconChevronUp))
77
+ ]),
78
+ _: 1
79
+ })
80
+ ]))
81
+ ])) : createCommentVNode("", true)
82
+ ]);
83
+ };
84
+ }
85
+ });
86
+ export {
87
+ _sfc_main as default
88
+ };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from "./MoreText.vue.mjs";
2
+ import './MoreText.css';
3
+ export {
4
+ _sfc_main as default
5
+ };
@@ -15,7 +15,6 @@
15
15
  text-overflow: ellipsis;
16
16
  }
17
17
  .tooltip-text-wrapper .tooltip-text.multi-lines {
18
- word-break: break-all;
19
18
  white-space: normal;
20
19
  text-overflow: ellipsis;
21
20
  display: -webkit-box;
@@ -18,17 +18,6 @@ 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
- }
32
21
  ellipsis.value = ele.scrollWidth > ele.offsetWidth + 1 || ele.scrollHeight > ele.offsetHeight + 1;
33
22
  };
34
23
  onMounted(() => {
@@ -476,7 +476,7 @@
476
476
  background: linear-gradient(142.13deg, color-mix(in srgb, transparent 0%, transparent) 0%, color-mix(in srgb, rgba(var(--o-white), 0.6) 60%, transparent) 100%), var(--o-color-primary1);
477
477
  }
478
478
  .o-events-apply .events-apply-grid .step-item.step-3.is-dark {
479
- background: linear-gradient(142.13deg, color-mix(in srgb, var(--o-color-primary1) 40%, transparent) 30%, color-mix(in srgb, var(--o-color-primary1) 16%, transparent) 97%), var(--o-color-fill2);
479
+ background: linear-gradient(142.13deg, color-mix(in srgb, var(--o-color-primary1) 40%, transparent) 0%, color-mix(in srgb, var(--o-color-primary1) 16%, transparent) 100%), var(--o-color-fill2);
480
480
  }
481
481
  .o-events-apply .events-apply-grid .step-item.step-3 .step-idx {
482
482
  background-color: #fff;
@@ -51,16 +51,6 @@
51
51
  padding: var(--o-gap-4) var(--o-gap-6);
52
52
  align-items: center;
53
53
  }
54
- @media (min-width: 1201px) and (max-width: 1680px) {
55
- .o-events-calendar .o-collapse .o-collapse-item .o-collapse-item-header {
56
- padding: var(--o-gap-3) var(--o-gap-5);
57
- }
58
- }
59
- @media (min-width: 841px) and (max-width: 1200px) {
60
- .o-events-calendar .o-collapse .o-collapse-item .o-collapse-item-header {
61
- padding: var(--o-gap-2) var(--o-gap-4);
62
- }
63
- }
64
54
  @media (max-width: 840px) {
65
55
  .o-events-calendar .o-collapse .o-collapse-item .o-collapse-item-header {
66
56
  padding: var(--o-gap-2) var(--o-gap-3);
@@ -91,21 +81,10 @@
91
81
  .o-events-calendar .collapse-header .collapse-title {
92
82
  display: flex;
93
83
  align-items: center;
94
- --title-icon-size: 24px;
95
- }
96
- @media (max-width: 1680px) {
97
- .o-events-calendar .collapse-header .collapse-title {
98
- --title-icon-size: 20px;
99
- }
100
- }
101
- @media (max-width: 840px) {
102
- .o-events-calendar .collapse-header .collapse-title {
103
- --title-icon-size: 24px;
104
- }
105
84
  }
106
85
  .o-events-calendar .collapse-header .collapse-title .title-icon {
107
- width: var(--title-icon-size);
108
- height: var(--title-icon-size);
86
+ width: 24px;
87
+ height: 24px;
109
88
  border-radius: 50%;
110
89
  color: #fff;
111
90
  display: flex;
@@ -114,20 +93,25 @@
114
93
  margin-right: var(--o-gap-4);
115
94
  background-color: rgb(var(--bg-color));
116
95
  }
117
- @media (min-width: 1201px) and (max-width: 1680px) {
118
- .o-events-calendar .collapse-header .collapse-title .title-icon {
119
- margin-right: var(--o-gap-3);
120
- }
121
- }
122
- @media (max-width: 1200px) {
96
+ @media (max-width: 840px) {
123
97
  .o-events-calendar .collapse-header .collapse-title .title-icon {
124
98
  margin-right: var(--o-gap-2);
125
99
  }
126
100
  }
127
101
  .o-events-calendar .collapse-header .collapse-title .o-icon {
128
- font-size: var(--title-icon-size);
102
+ font-size: 20px;
129
103
  color: var(--o-white);
130
104
  }
105
+ @media (min-width: 1201px) and (max-width: 1680px) {
106
+ .o-events-calendar .collapse-header .collapse-title .o-icon {
107
+ font-size: 16px;
108
+ }
109
+ }
110
+ @media (min-width: 841px) and (max-width: 1200px) {
111
+ .o-events-calendar .collapse-header .collapse-title .o-icon {
112
+ font-size: 16px;
113
+ }
114
+ }
131
115
  .o-events-calendar .collapse-header .collapse-title .o-icon svg {
132
116
  fill: none;
133
117
  }
@@ -147,11 +147,6 @@
147
147
  gap: var(--o-gap-6);
148
148
  margin-top: var(--o-gap-6);
149
149
  }
150
- @media screen and (max-width: 1000px) {
151
- .o-events-list .list-content {
152
- grid-template-columns: repeat(3, 1fr);
153
- }
154
- }
155
150
  @media (max-width: 840px) {
156
151
  .o-events-list .list-content {
157
152
  grid-template-columns: repeat(1, 1fr);
@@ -185,7 +180,6 @@
185
180
  .o-events-list .list-content .o-card {
186
181
  aspect-ratio: 1/1;
187
182
  position: relative;
188
- --card-radius: var(--events-card-radius);
189
183
  }
190
184
  @media (max-width: 840px) {
191
185
  .o-events-list .list-content .o-card {
@@ -1,7 +1,7 @@
1
1
  import { App } from 'vue';
2
2
  declare const OEventsCalendar: {
3
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
4
- data: import('./types').CalendarItemT[];
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
4
+ data: import('../../index').CalendarItemT[];
5
5
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
6
6
  P: {};
7
7
  B: {};
@@ -9,24 +9,24 @@ declare const OEventsCalendar: {
9
9
  C: {};
10
10
  M: {};
11
11
  Defaults: {};
12
- }, Readonly<import('./types').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, {
13
- data: import('./types').CalendarItemT[];
12
+ }, Readonly<import('../../index').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, {
13
+ data: import('../../index').CalendarItemT[];
14
14
  }>;
15
15
  __isFragment?: never;
16
16
  __isTeleport?: never;
17
17
  __isSuspense?: never;
18
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
19
- data: import('./types').CalendarItemT[];
18
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
19
+ data: import('../../index').CalendarItemT[];
20
20
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
21
21
  install(app: App): void;
22
22
  };
23
23
  declare const OEventsList: {
24
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').EventsListPropsT> & Readonly<{
25
- onSearch?: ((params: import('./types').SearchParamsT) => any) | undefined;
24
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').EventsListPropsT> & Readonly<{
25
+ onSearch?: ((params: import('../../index').SearchParamsT) => any) | undefined;
26
26
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
27
- search: (params: import('./types').SearchParamsT) => any;
27
+ search: (params: import('../../index').SearchParamsT) => any;
28
28
  }, import('vue').PublicProps, {
29
- data: import('./types').EventsCardItemT[];
29
+ data: import('../../index').EventsCardItemT[];
30
30
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
31
31
  P: {};
32
32
  B: {};
@@ -34,20 +34,20 @@ declare const OEventsList: {
34
34
  C: {};
35
35
  M: {};
36
36
  Defaults: {};
37
- }, Readonly<import('./types').EventsListPropsT> & Readonly<{
38
- onSearch?: ((params: import('./types').SearchParamsT) => any) | undefined;
37
+ }, Readonly<import('../../index').EventsListPropsT> & Readonly<{
38
+ onSearch?: ((params: import('../../index').SearchParamsT) => any) | undefined;
39
39
  }>, {}, {}, {}, {}, {
40
- data: import('./types').EventsCardItemT[];
40
+ data: import('../../index').EventsCardItemT[];
41
41
  }>;
42
42
  __isFragment?: never;
43
43
  __isTeleport?: never;
44
44
  __isSuspense?: never;
45
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').EventsListPropsT> & Readonly<{
46
- onSearch?: ((params: import('./types').SearchParamsT) => any) | undefined;
45
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').EventsListPropsT> & Readonly<{
46
+ onSearch?: ((params: import('../../index').SearchParamsT) => any) | undefined;
47
47
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
48
- search: (params: import('./types').SearchParamsT) => any;
48
+ search: (params: import('../../index').SearchParamsT) => any;
49
49
  }, string, {
50
- data: import('./types').EventsCardItemT[];
50
+ data: import('../../index').EventsCardItemT[];
51
51
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
52
52
  $slots: Readonly<{
53
53
  empty?: () => any;
@@ -58,18 +58,18 @@ declare const OEventsList: {
58
58
  install(app: App): void;
59
59
  };
60
60
  declare const OEventsApply: {
61
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
61
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
62
62
  P: {};
63
63
  B: {};
64
64
  D: {};
65
65
  C: {};
66
66
  M: {};
67
67
  Defaults: {};
68
- }, Readonly<import('./types').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
68
+ }, Readonly<import('../../index').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
69
69
  __isFragment?: never;
70
70
  __isTeleport?: never;
71
71
  __isSuspense?: never;
72
- } & import('vue').ComponentOptionsBase<Readonly<import('./types').EventsApplyPropsT> & 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 () => {
72
+ } & import('vue').ComponentOptionsBase<Readonly<import('../../index').EventsApplyPropsT> & 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 () => {
73
73
  $slots: Partial<Record<`step${number}`, (_: {}) => any>>;
74
74
  }) & {
75
75
  install(app: App): void;
@@ -0,0 +1,20 @@
1
+ .hover-icon-rotate .o-icon[data-v-9b45490c] {
2
+ transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
+ }
4
+ @media (hover: hover) {
5
+ .hover-icon-rotate:hover .o-icon[data-v-9b45490c] {
6
+ transform: rotate(-180deg);
7
+ }
8
+ }
9
+ .o-feedback-doc-wrap[data-v-9b45490c] {
10
+ color: var(--o-color-info1);
11
+ cursor: pointer;
12
+ }
13
+ @media (hover: hover) {
14
+ .o-feedback-doc-wrap[data-v-9b45490c]:hover {
15
+ color: var(--o-color-primary1);
16
+ }
17
+ }
18
+ .o-feedback-doc-wrap .o-feedback-icon-smile[data-v-9b45490c] {
19
+ font-size: 24px;
20
+ }