@opendesign-plus/components 0.0.1-rc.36 → 0.0.1-rc.38

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 (88) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +89 -77
  3. package/dist/components/activity/index.d.ts +9 -9
  4. package/dist/components/banner/index.d.ts +6 -6
  5. package/dist/components/config-provider/OPlusConfigProvider.vue.d.ts +2 -2
  6. package/dist/components/config-provider/index.d.ts +3 -3
  7. package/dist/components/events/index.d.ts +20 -20
  8. package/dist/components/header/OHeader.vue.d.ts +6 -2
  9. package/dist/components/header/OHeaderMobile.vue.d.ts +22 -22
  10. package/dist/components/header/components/HeaderNavMobile.vue.d.ts +3 -3
  11. package/dist/components/header/index.d.ts +30 -28
  12. package/dist/components/header-search/index.d.ts +13 -13
  13. package/dist/components/meeting/OMeetingForm.vue.d.ts +2 -0
  14. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  15. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  16. package/dist/components/meeting/composables/useMeetingConfig.d.ts +1 -1
  17. package/dist/components/meeting/index.d.ts +37 -31
  18. package/dist/components/meeting/types.d.ts +3 -0
  19. package/dist/components/search/index.d.ts +11 -11
  20. package/dist/components.cjs.js +40 -39
  21. package/dist/components.css +1 -1
  22. package/dist/components.es.js +9270 -9069
  23. package/dist/treeshaking/components/activity/index.d.ts +9 -9
  24. package/dist/treeshaking/components/banner/OBanner.css +37 -37
  25. package/dist/treeshaking/components/banner/OBanner.vue.mjs +1 -1
  26. package/dist/treeshaking/components/banner/OBanner.vue2.mjs +2 -1
  27. package/dist/treeshaking/components/banner/OBanner2.css +10 -10
  28. package/dist/treeshaking/components/banner/index.d.ts +6 -6
  29. package/dist/treeshaking/components/common/MoreText.css +12 -12
  30. package/dist/treeshaking/components/common/MoreText.vue.mjs +86 -5
  31. package/dist/treeshaking/components/common/MoreText.vue3.mjs +5 -0
  32. package/dist/treeshaking/components/common/ThFilter.css +10 -10
  33. package/dist/treeshaking/components/common/TooltipText.css +34 -0
  34. package/dist/treeshaking/components/common/TooltipText.vue.mjs +85 -0
  35. package/dist/treeshaking/components/common/TooltipText.vue3.mjs +5 -0
  36. package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue.d.ts +2 -2
  37. package/dist/treeshaking/components/config-provider/index.d.ts +3 -3
  38. package/dist/treeshaking/components/cookie-notice/OCookieNotice.vue.mjs +1 -1
  39. package/dist/treeshaking/components/cookie-notice/OCookieNotice.vue2.mjs +1 -1
  40. package/dist/treeshaking/components/cookie-notice/OCookieNotice2.css +62 -62
  41. package/dist/treeshaking/components/events/OEventsApply.vue.mjs +1 -1
  42. package/dist/treeshaking/components/events/index.d.ts +20 -20
  43. package/dist/treeshaking/components/header/OHeader.css +13 -18
  44. package/dist/treeshaking/components/header/OHeader.vue.d.ts +6 -2
  45. package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
  46. package/dist/treeshaking/components/header/OHeader.vue2.mjs +80 -9
  47. package/dist/treeshaking/components/header/OHeaderMobile.css +20 -20
  48. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +22 -22
  49. package/dist/treeshaking/components/header/OHeaderMobile.vue.mjs +1 -1
  50. package/dist/treeshaking/components/header/components/HeaderContent.css +253 -263
  51. package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
  52. package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +18 -14
  53. package/dist/treeshaking/components/header/components/HeaderNav.css +26 -26
  54. package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
  55. package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +1 -3
  56. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +3 -3
  57. package/dist/treeshaking/components/header/index.d.ts +30 -28
  58. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.css +43 -29
  59. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.mjs +1 -1
  60. package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue2.mjs +1 -1
  61. package/dist/treeshaking/components/header-search/index.d.ts +13 -13
  62. package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.css +25 -26
  63. package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.mjs +1 -1
  64. package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue2.mjs +1 -0
  65. package/dist/treeshaking/components/header-user/OHeaderUser.css +26 -26
  66. package/dist/treeshaking/components/header-user/OHeaderUser.vue.mjs +1 -1
  67. package/dist/treeshaking/components/header-user/OHeaderUser2.css +5 -0
  68. package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.mjs +33 -9
  69. package/dist/treeshaking/components/meeting/OMeetingForm.vue.d.ts +2 -0
  70. package/dist/treeshaking/components/meeting/OMeetingForm.vue.mjs +104 -47
  71. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.css +4 -0
  72. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.mjs +38 -13
  73. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  74. package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +11 -2
  75. package/dist/treeshaking/components/meeting/components/OMeetingDetail.vue.mjs +3 -2
  76. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  77. package/dist/treeshaking/components/meeting/composables/useMeetingConfig.d.ts +1 -1
  78. package/dist/treeshaking/components/meeting/index.d.ts +37 -31
  79. package/dist/treeshaking/components/meeting/types.d.ts +3 -0
  80. package/dist/treeshaking/components/search/index.d.ts +11 -11
  81. package/dist/treeshaking/i18n/en.mjs +6 -0
  82. package/dist/treeshaking/i18n/index.mjs +1 -1
  83. package/dist/treeshaking/i18n/zh.mjs +8 -2
  84. package/dist/treeshaking/shared/theme.mjs +13 -0
  85. package/package.json +3 -3
  86. package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +0 -664
  87. package/dist/treeshaking/components/common/MoreText.vue2.mjs +0 -88
  88. package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +0 -664
@@ -1,6 +1,6 @@
1
1
  import { App } from 'vue';
2
2
  declare const OActivityForm: {
3
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').ActivityFormPropsT> & Readonly<{
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').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('../../index').ActivityFormPropsT> & Readonly<{
145
+ }, Readonly<import('./types').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('../../index').ActivityFormPropsT> & Readonly<{
154
+ } & import('vue').ComponentOptionsBase<Readonly<import('./types').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('../../index').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('./types').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('../../index').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
300
+ }, Readonly<import('./types').ActivityTablePropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
301
301
  __isFragment?: never;
302
302
  __isTeleport?: never;
303
303
  __isSuspense?: never;
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 () => {
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 () => {
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('../../index').MyActivityCalendarPropsT> & Readonly<{
313
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').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('../../index').MyActivityCalendarPropsT> & Readonly<{
630
+ }, Readonly<import('./types').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('../../index').MyActivityCalendarPropsT> & Readonly<{
636
+ } & import('vue').ComponentOptionsBase<Readonly<import('./types').MyActivityCalendarPropsT> & Readonly<{
637
637
  onEdit?: ((...args: any[]) => any) | undefined;
638
638
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
639
639
  edit: (...args: any[]) => void;
@@ -1,133 +1,133 @@
1
- .hover-icon-rotate .o-icon[data-v-fddea127] {
1
+ .hover-icon-rotate .o-icon[data-v-8cfcc7ff] {
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-fddea127] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-8cfcc7ff] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .home-banner[data-v-fddea127] {
9
+ .home-banner[data-v-8cfcc7ff] {
10
10
  overflow: hidden;
11
11
  position: relative;
12
12
  }
13
- .home-banner.tiny[data-v-fddea127] {
13
+ .home-banner.tiny[data-v-8cfcc7ff] {
14
14
  font-size: 48px;
15
15
  line-height: 64px;
16
16
  }
17
17
  @media (min-width: 1201px) and (max-width: 1680px) {
18
- .home-banner.tiny[data-v-fddea127] {
18
+ .home-banner.tiny[data-v-8cfcc7ff] {
19
19
  font-size: 40px;
20
20
  line-height: 56px;
21
21
  }
22
22
  }
23
23
  @media (min-width: 841px) and (max-width: 1200px) {
24
- .home-banner.tiny[data-v-fddea127] {
24
+ .home-banner.tiny[data-v-8cfcc7ff] {
25
25
  font-size: 32px;
26
26
  line-height: 44px;
27
27
  }
28
28
  }
29
29
  @media (min-width: 601px) and (max-width: 840px) {
30
- .home-banner.tiny[data-v-fddea127] {
30
+ .home-banner.tiny[data-v-8cfcc7ff] {
31
31
  font-size: 32px;
32
32
  line-height: 44px;
33
33
  }
34
34
  }
35
35
  @media (max-width: 600px) {
36
- .home-banner.tiny[data-v-fddea127] {
36
+ .home-banner.tiny[data-v-8cfcc7ff] {
37
37
  font-size: 20px;
38
38
  line-height: 28px;
39
39
  }
40
40
  }
41
- .home-banner.tiny[data-v-fddea127] {
41
+ .home-banner.tiny[data-v-8cfcc7ff] {
42
42
  font-weight: 500;
43
43
  margin: var(--o-gap-8) 0;
44
44
  color: var(--o-color-info1);
45
45
  }
46
- .home-banner .content-height[data-v-fddea127] {
46
+ .home-banner .content-height[data-v-8cfcc7ff] {
47
47
  height: 100%;
48
48
  }
49
- .home-banner.large[data-v-fddea127] {
49
+ .home-banner.large[data-v-8cfcc7ff] {
50
50
  --banner-height: 460px;
51
51
  height: var(--banner-height);
52
52
  }
53
53
  @media (min-width: 1201px) and (max-width: 1680px) {
54
- .home-banner.large[data-v-fddea127] {
54
+ .home-banner.large[data-v-8cfcc7ff] {
55
55
  --banner-height: 400px;
56
56
  }
57
57
  }
58
58
  @media (min-width: 841px) and (max-width: 1200px) {
59
- .home-banner.large[data-v-fddea127] {
59
+ .home-banner.large[data-v-8cfcc7ff] {
60
60
  --banner-height: 360px;
61
61
  }
62
62
  }
63
63
  @media (max-width: 840px) {
64
- .home-banner.large[data-v-fddea127] {
64
+ .home-banner.large[data-v-8cfcc7ff] {
65
65
  --banner-height: 184px;
66
66
  }
67
67
  }
68
- .home-banner.medium[data-v-fddea127] {
68
+ .home-banner.medium[data-v-8cfcc7ff] {
69
69
  --banner-height: 360px;
70
70
  height: var(--banner-height);
71
71
  }
72
72
  @media (min-width: 1201px) and (max-width: 1680px) {
73
- .home-banner.medium[data-v-fddea127] {
73
+ .home-banner.medium[data-v-8cfcc7ff] {
74
74
  --banner-height: 280px;
75
75
  }
76
76
  }
77
77
  @media (min-width: 841px) and (max-width: 1200px) {
78
- .home-banner.medium[data-v-fddea127] {
78
+ .home-banner.medium[data-v-8cfcc7ff] {
79
79
  --banner-height: 220px;
80
80
  }
81
81
  }
82
82
  @media (max-width: 840px) {
83
- .home-banner.medium[data-v-fddea127] {
83
+ .home-banner.medium[data-v-8cfcc7ff] {
84
84
  --banner-height: 120px;
85
85
  }
86
86
  }
87
- .home-banner.small[data-v-fddea127] {
87
+ .home-banner.small[data-v-8cfcc7ff] {
88
88
  --banner-height: 280px;
89
89
  height: var(--banner-height);
90
90
  }
91
91
  @media (min-width: 1201px) and (max-width: 1680px) {
92
- .home-banner.small[data-v-fddea127] {
92
+ .home-banner.small[data-v-8cfcc7ff] {
93
93
  --banner-height: 220px;
94
94
  }
95
95
  }
96
96
  @media (min-width: 841px) and (max-width: 1200px) {
97
- .home-banner.small[data-v-fddea127] {
97
+ .home-banner.small[data-v-8cfcc7ff] {
98
98
  --banner-height: 180px;
99
99
  }
100
100
  }
101
101
  @media (max-width: 840px) {
102
- .home-banner.small[data-v-fddea127] {
102
+ .home-banner.small[data-v-8cfcc7ff] {
103
103
  display: none;
104
104
  }
105
105
  }
106
- .home-banner[data-v-fddea127] .o-btn {
106
+ .home-banner[data-v-8cfcc7ff] .o-btn {
107
107
  border-radius: var(--btn-height);
108
108
  }
109
- .banner-carousel[data-v-fddea127] {
109
+ .banner-carousel[data-v-8cfcc7ff] {
110
110
  width: 100%;
111
111
  height: 100%;
112
112
  }
113
113
  @media (min-width: 841px) {
114
- .banner-carousel[data-v-fddea127] {
114
+ .banner-carousel[data-v-8cfcc7ff] {
115
115
  --carousel-indicator-offset: 53px;
116
116
  }
117
117
  }
118
118
  @media (max-width: 840px) {
119
- .banner-carousel[data-v-fddea127] {
119
+ .banner-carousel[data-v-8cfcc7ff] {
120
120
  --carousel-indicator-offset: 1px;
121
121
  }
122
122
  }
123
- .banner-carousel[data-v-fddea127] .o-carousel-indicator-bar {
123
+ .banner-carousel[data-v-8cfcc7ff] .o-carousel-indicator-bar {
124
124
  height: 24px;
125
125
  }
126
- .banner-item[data-v-fddea127] {
126
+ .banner-item[data-v-8cfcc7ff] {
127
127
  width: 100%;
128
128
  height: 100%;
129
129
  }
130
- @keyframes fade-up-fddea127 {
130
+ @keyframes fade-up-8cfcc7ff {
131
131
  from {
132
132
  transform: translateY(var(--d));
133
133
  opacity: 0;
@@ -137,15 +137,15 @@ to {
137
137
  opacity: 1;
138
138
  }
139
139
  }
140
- .current-slide .banner-title[data-v-fddea127] {
141
- animation: fade-up-fddea127 400ms ease-in;
140
+ .current-slide .banner-title[data-v-8cfcc7ff] {
141
+ animation: fade-up-8cfcc7ff 400ms ease-in;
142
142
  }
143
- .current-slide .banner-subtitle[data-v-fddea127] {
144
- animation: fade-up-fddea127 400ms ease-in;
143
+ .current-slide .banner-subtitle[data-v-8cfcc7ff] {
144
+ animation: fade-up-8cfcc7ff 400ms ease-in;
145
145
  }
146
- .current-slide .banner-text[data-v-fddea127] {
147
- animation: fade-up-fddea127 400ms ease-in;
146
+ .current-slide .banner-text[data-v-8cfcc7ff] {
147
+ animation: fade-up-8cfcc7ff 400ms ease-in;
148
148
  }
149
- .current-slide .banner-opts[data-v-fddea127] {
150
- animation: fade-up-fddea127 400ms ease-in;
149
+ .current-slide .banner-opts[data-v-8cfcc7ff] {
150
+ animation: fade-up-8cfcc7ff 400ms ease-in;
151
151
  }
@@ -2,7 +2,7 @@ import _sfc_main from "./OBanner.vue2.mjs";
2
2
  import './OBanner.css';
3
3
  import './OBanner2.css';
4
4
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
5
- const _OBanner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fddea127"]]);
5
+ const _OBanner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8cfcc7ff"]]);
6
6
  export {
7
7
  _OBanner as default
8
8
  };
@@ -1,8 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, toDisplayString, unref, createBlock, withCtx, createVNode, Fragment, renderList, createElementVNode } from "vue";
2
2
  import { OFigure, OCarousel, OCarouselItem } from "@opensig/opendesign";
3
- import { useTheme, useScreen } from "@opendesign-plus/composables";
3
+ import { useScreen } from "@opendesign-plus/composables";
4
4
  import ContentWrapper from "../common/ContentWrapper.vue.mjs";
5
5
  import _OBannerContent from "./OBannerContent.vue.mjs";
6
+ import { useTheme } from "../../shared/theme.mjs";
6
7
  const _hoisted_1 = {
7
8
  key: 0,
8
9
  class: "content-height"
@@ -1,39 +1,39 @@
1
- .hover-icon-rotate .o-icon[data-v-fddea127] {
1
+ .hover-icon-rotate .o-icon[data-v-8cfcc7ff] {
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-fddea127] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-8cfcc7ff] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .banner-item0 .banner-attach[data-v-fddea127] {
9
+ .banner-item0 .banner-attach[data-v-8cfcc7ff] {
10
10
  height: 120px;
11
11
  }
12
12
  @media (min-width: 601px) and (max-width: 1200px) {
13
- .banner-item0 .banner-attach[data-v-fddea127] {
13
+ .banner-item0 .banner-attach[data-v-8cfcc7ff] {
14
14
  height: 80px;
15
15
  }
16
16
  }
17
- .banner-item1 .banner-attach[data-v-fddea127] {
17
+ .banner-item1 .banner-attach[data-v-8cfcc7ff] {
18
18
  height: 156px;
19
19
  }
20
20
  @media (min-width: 601px) and (max-width: 1200px) {
21
- .banner-item1 .banner-attach[data-v-fddea127] {
21
+ .banner-item1 .banner-attach[data-v-8cfcc7ff] {
22
22
  height: 120px;
23
23
  }
24
24
  }
25
- .banner-item2 .banner-content[data-v-fddea127] {
25
+ .banner-item2 .banner-content[data-v-8cfcc7ff] {
26
26
  width: 100%;
27
27
  justify-content: center;
28
28
  }
29
- .banner-item2 .banner-attach[data-v-fddea127] {
29
+ .banner-item2 .banner-attach[data-v-8cfcc7ff] {
30
30
  height: 38%;
31
31
  margin-top: -60px;
32
32
  object-fit: contain;
33
33
  }
34
- .banner-wrapper[data-v-fddea127] {
34
+ .banner-wrapper[data-v-8cfcc7ff] {
35
35
  height: 100%;
36
36
  }
37
- .banner-wrapper .banner-bg[data-v-fddea127] {
37
+ .banner-wrapper .banner-bg[data-v-8cfcc7ff] {
38
38
  height: 100%;
39
39
  }
@@ -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('../../index').BannerItem | import('../../index').BannerItem[];
4
+ options?: import('./types').BannerItem | import('./types').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('../../index').BannerItem | import('../../index').BannerItem[];
20
+ options?: import('./types').BannerItem | import('./types').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('../../index').BannerItem | import('../../index').BannerItem[];
31
+ options?: import('./types').BannerItem | import('./types').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('../../index').BannerContentProps> & Readonly<{
43
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').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('../../index').BannerContentProps> & Readonly<{
54
+ }, Readonly<import('./types').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('../../index').BannerContentProps> & Readonly<{
60
+ } & import('vue').ComponentOptionsBase<Readonly<import('./types').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;
@@ -1,12 +1,12 @@
1
- .hover-icon-rotate .o-icon[data-v-0eb750e5] {
1
+ .hover-icon-rotate .o-icon {
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-0eb750e5] {
5
+ .hover-icon-rotate:hover .o-icon {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .more-text-wrapper .more-text-content[data-v-0eb750e5] {
9
+ .more-text-wrapper .more-text-content {
10
10
  line-height: 1.5em;
11
11
  overflow: hidden;
12
12
  text-overflow: ellipsis;
@@ -16,24 +16,24 @@
16
16
  word-break: break-all;
17
17
  transition: height 0.1s;
18
18
  }
19
- .more-text-wrapper .more-text-content.is-link[data-v-0eb750e5] {
19
+ .more-text-wrapper .more-text-content.is-link {
20
20
  color: var(--o-color-primary1);
21
21
  cursor: pointer;
22
22
  }
23
23
  @media (hover: hover) {
24
- .more-text-wrapper .more-text-content.is-link[data-v-0eb750e5]:hover {
24
+ .more-text-wrapper .more-text-content.is-link:hover {
25
25
  color: var(--o-color-primary2);
26
26
  }
27
27
  }
28
- .more-text-wrapper .more-text-btn[data-v-0eb750e5] {
28
+ .more-text-wrapper .more-text-btn {
29
29
  color: var(--o-color-primary1);
30
30
  }
31
31
  @media (hover: hover) {
32
- .more-text-wrapper .more-text-btn[data-v-0eb750e5]:hover {
32
+ .more-text-wrapper .more-text-btn:hover {
33
33
  color: var(--o-color-primary2);
34
34
  }
35
35
  }
36
- .more-text-wrapper .more-text-btn > div[data-v-0eb750e5] {
36
+ .more-text-wrapper .more-text-btn > div {
37
37
  height: 1.5em;
38
38
  cursor: pointer;
39
39
  display: flex;
@@ -44,25 +44,25 @@
44
44
  line-height: 22px;
45
45
  }
46
46
  @media (min-width: 1201px) and (max-width: 1680px) {
47
- .more-text-wrapper .more-text-btn > div[data-v-0eb750e5] {
47
+ .more-text-wrapper .more-text-btn > div {
48
48
  font-size: 12px;
49
49
  line-height: 18px;
50
50
  }
51
51
  }
52
52
  @media (min-width: 841px) and (max-width: 1200px) {
53
- .more-text-wrapper .more-text-btn > div[data-v-0eb750e5] {
53
+ .more-text-wrapper .more-text-btn > div {
54
54
  font-size: 12px;
55
55
  line-height: 18px;
56
56
  }
57
57
  }
58
58
  @media (min-width: 601px) and (max-width: 840px) {
59
- .more-text-wrapper .more-text-btn > div[data-v-0eb750e5] {
59
+ .more-text-wrapper .more-text-btn > div {
60
60
  font-size: 12px;
61
61
  line-height: 18px;
62
62
  }
63
63
  }
64
64
  @media (max-width: 600px) {
65
- .more-text-wrapper .more-text-btn > div[data-v-0eb750e5] {
65
+ .more-text-wrapper .more-text-btn > div {
66
66
  font-size: 12px;
67
67
  line-height: 18px;
68
68
  }
@@ -1,7 +1,88 @@
1
- import _sfc_main from "./MoreText.vue2.mjs";
2
- import './MoreText.css';
3
- import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const MoreText = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0eb750e5"]]);
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
+ });
5
86
  export {
6
- MoreText as default
87
+ _sfc_main as default
7
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,50 +15,50 @@
15
15
  .th-filter-wrapper > span:first-child {
16
16
  word-break: keep-all;
17
17
  }
18
- .filter-wrapper {
18
+ .th-filter-wrapper .filter-wrapper {
19
19
  display: flex;
20
20
  align-items: center;
21
21
  justify-content: center;
22
22
  cursor: pointer;
23
23
  }
24
- .filter-wrapper > * {
24
+ .th-filter-wrapper .filter-wrapper > * {
25
25
  flex-shrink: 0;
26
26
  }
27
- .filter-wrapper .filter-hover-icon {
27
+ .th-filter-wrapper .filter-wrapper .filter-hover-icon {
28
28
  display: none;
29
29
  }
30
- .filter-wrapper .filter-icon {
30
+ .th-filter-wrapper .filter-wrapper .filter-icon {
31
31
  font-size: 24px;
32
32
  line-height: 32px;
33
33
  }
34
34
  @media (min-width: 1201px) and (max-width: 1680px) {
35
- .filter-wrapper .filter-icon {
35
+ .th-filter-wrapper .filter-wrapper .filter-icon {
36
36
  font-size: 20px;
37
37
  line-height: 28px;
38
38
  }
39
39
  }
40
40
  @media (min-width: 841px) and (max-width: 1200px) {
41
- .filter-wrapper .filter-icon {
41
+ .th-filter-wrapper .filter-wrapper .filter-icon {
42
42
  font-size: 18px;
43
43
  line-height: 26px;
44
44
  }
45
45
  }
46
46
  @media (min-width: 601px) and (max-width: 840px) {
47
- .filter-wrapper .filter-icon {
47
+ .th-filter-wrapper .filter-wrapper .filter-icon {
48
48
  font-size: 18px;
49
49
  line-height: 26px;
50
50
  }
51
51
  }
52
52
  @media (max-width: 600px) {
53
- .filter-wrapper .filter-icon {
53
+ .th-filter-wrapper .filter-wrapper .filter-icon {
54
54
  font-size: 16px;
55
55
  line-height: 24px;
56
56
  }
57
57
  }
58
- .filter-wrapper:hover .filter-icon, .filter-wrapper.has-checked .filter-icon {
58
+ .th-filter-wrapper .filter-wrapper:hover .filter-icon, .th-filter-wrapper .filter-wrapper.has-checked .filter-icon {
59
59
  color: var(--o-color-primary1);
60
60
  }
61
- .filter-wrapper:hover .o-icon path, .filter-wrapper.has-checked .o-icon path {
61
+ .th-filter-wrapper .filter-wrapper:hover .o-icon path, .th-filter-wrapper .filter-wrapper.has-checked .o-icon path {
62
62
  fill: currentColor;
63
63
  }
64
64
  .th-filter-dropdown .o-dropdown-item {
@@ -0,0 +1,34 @@
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
+ .tooltip-text-wrapper .tooltip-text {
10
+ overflow: hidden;
11
+ word-break: keep-all;
12
+ }
13
+ .tooltip-text-wrapper .tooltip-text.ellipsis {
14
+ white-space: nowrap;
15
+ text-overflow: ellipsis;
16
+ }
17
+ .tooltip-text-wrapper .tooltip-text.multi-lines {
18
+ white-space: normal;
19
+ text-overflow: ellipsis;
20
+ display: -webkit-box;
21
+ -webkit-box-orient: vertical;
22
+ -webkit-line-clamp: var(--lines);
23
+ }
24
+ .tooltip-text-wrapper .button {
25
+ color: var(--o-color-primary1);
26
+ cursor: pointer;
27
+ }
28
+ .tooltip-text-wrapper .popup-box2 {
29
+ color: var(--o-color-info2);
30
+ }
31
+ .tooltip-text-wrapper .popup-box2.fz-14 {
32
+ font-size: 14px;
33
+ line-height: 22px;
34
+ }