@opendesign-plus-test/components 0.0.1-rc.103 → 0.0.1-rc.105
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.
- package/dist/components/header/OHeader.vue.d.ts +3 -3
- package/dist/components/header/OHeaderMobile.vue.d.ts +4 -0
- package/dist/components/header/components/HeaderNav.vue.d.ts +3 -3
- package/dist/components/header/index.d.ts +7 -5
- package/dist/components/header/types.d.ts +5 -2
- package/dist/components/header-search/OHeaderSearch.vue.d.ts +2 -2
- package/dist/components.cjs.js +38 -38
- package/dist/components.css +1 -1
- package/dist/components.es.js +7165 -7187
- package/dist/treeshaking/components/common/TooltipText.css +1 -0
- package/dist/treeshaking/components/common/TooltipText.vue.mjs +11 -0
- package/dist/treeshaking/components/header/OHeader.css +15 -15
- package/dist/treeshaking/components/header/OHeader.vue.d.ts +3 -3
- package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeader.vue2.mjs +4 -3
- package/dist/treeshaking/components/header/OHeaderMobile.css +19 -19
- package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +4 -0
- package/dist/treeshaking/components/header/OHeaderMobile.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeaderMobile.vue2.mjs +3 -1
- package/dist/treeshaking/components/header/components/HeaderContent.css +204 -169
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +13 -13
- package/dist/treeshaking/components/header/components/HeaderFlatten.css +49 -51
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue2.mjs +21 -20
- package/dist/treeshaking/components/header/components/HeaderNav.css +45 -42
- package/dist/treeshaking/components/header/components/HeaderNav.vue.d.ts +3 -3
- package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +16 -14
- package/dist/treeshaking/components/header/components/HeaderNavMobile.css +110 -73
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue2.mjs +58 -48
- package/dist/treeshaking/components/header/index.d.ts +7 -5
- package/dist/treeshaking/components/header/types.d.ts +5 -2
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +6 -6
- package/dist/treeshaking/components/header-search/index.d.ts +3 -3
- package/dist/treeshaking/components/meeting/OMeetingCalendar.css +2 -2
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.css +6 -13
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.css +5 -7
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +3 -6
- package/dist/treeshaking/components/meeting/components/OMeetingDetail.css +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingDetail.vue.mjs +10 -6
- package/dist/treeshaking/components/search/OSearchInput.vue.d.ts +6 -6
- package/dist/treeshaking/components/search/index.d.ts +3 -3
- package/dist/treeshaking/components/search/internal/SearchImageInput.vue.d.ts +1 -1
- package/package.json +1 -1
- package/dist/treeshaking/components/common/MoreText.css +0 -69
- package/dist/treeshaking/components/common/MoreText.vue.mjs +0 -88
- package/dist/treeshaking/components/common/MoreText.vue3.mjs +0 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./HeaderContent.vue2.mjs";
|
|
2
2
|
import './HeaderContent.css';
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const HeaderContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const HeaderContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a04b672a"]]);
|
|
5
5
|
export {
|
|
6
6
|
HeaderContent as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveDirective, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, createVNode, withCtx, Fragment, renderList, toDisplayString, withDirectives, createBlock,
|
|
2
|
-
import { OScroller,
|
|
1
|
+
import { defineComponent, ref, resolveDirective, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, createVNode, withCtx, Fragment, renderList, toDisplayString, withDirectives, createBlock, resolveDynamicComponent, createCommentVNode, createTextVNode } from "vue";
|
|
2
|
+
import { OScroller, OIcon, OTag, OPopover } from "@opensig/opendesign";
|
|
3
3
|
import { useTheme } from "../../../shared/theme.mjs";
|
|
4
4
|
import { useI18n } from "../../../i18n/index.mjs";
|
|
5
5
|
const _hoisted_1 = { class: "header-content-nav" };
|
|
@@ -92,7 +92,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
92
92
|
if (target) {
|
|
93
93
|
return target;
|
|
94
94
|
} else {
|
|
95
|
-
return url.startsWith("http") ? "_blank" : "_self";
|
|
95
|
+
return (url == null ? void 0 : url.startsWith("http")) ? "_blank" : "_self";
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
return (_ctx, _cache) => {
|
|
@@ -134,6 +134,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
134
134
|
createElementVNode("span", _hoisted_4, toDisplayString(sub.label), 1),
|
|
135
135
|
createElementVNode("div", _hoisted_5, [
|
|
136
136
|
(openBlock(true), createElementBlock(Fragment, null, renderList(sub.children, (subItem) => {
|
|
137
|
+
var _a3;
|
|
137
138
|
return openBlock(), createElementBlock("div", {
|
|
138
139
|
key: subItem.label,
|
|
139
140
|
class: normalizeClass(["content-item", { "content-item-disabled": subItem == null ? void 0 : subItem.disabled }])
|
|
@@ -145,24 +146,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
145
146
|
class: "item-label"
|
|
146
147
|
}, [
|
|
147
148
|
createElementVNode("span", _hoisted_7, toDisplayString(subItem.label), 1),
|
|
149
|
+
subItem.icon ? (openBlock(), createBlock(unref(OIcon), { key: 0 }, {
|
|
150
|
+
default: withCtx(() => [
|
|
151
|
+
(openBlock(), createBlock(resolveDynamicComponent(subItem.icon)))
|
|
152
|
+
]),
|
|
153
|
+
_: 2
|
|
154
|
+
}, 1024)) : createCommentVNode("", true),
|
|
148
155
|
subItem.tag ? (openBlock(), createBlock(unref(OTag), {
|
|
149
|
-
key:
|
|
150
|
-
round: "pill",
|
|
156
|
+
key: 1,
|
|
151
157
|
color: "danger",
|
|
152
158
|
size: "small",
|
|
153
|
-
class: "content-tag"
|
|
159
|
+
class: normalizeClass(["content-tag", `tag-${(_a3 = subItem == null ? void 0 : subItem.tag) == null ? void 0 : _a3.toLowerCase()}`])
|
|
154
160
|
}, {
|
|
155
161
|
default: withCtx(() => [
|
|
156
162
|
createTextVNode(toDisplayString(subItem.tag), 1)
|
|
157
163
|
]),
|
|
158
164
|
_: 2
|
|
159
|
-
},
|
|
160
|
-
subItem.icon ? (openBlock(), createBlock(unref(OIcon), { key: 1 }, {
|
|
161
|
-
default: withCtx(() => [
|
|
162
|
-
(openBlock(), createBlock(resolveDynamicComponent(subItem.icon)))
|
|
163
|
-
]),
|
|
164
|
-
_: 2
|
|
165
|
-
}, 1024)) : createCommentVNode("", true)
|
|
165
|
+
}, 1032, ["class"])) : createCommentVNode("", true)
|
|
166
166
|
], 8, _hoisted_6)), [
|
|
167
167
|
[_directive_analytics, () => onClickNavHref(sub, subItem)]
|
|
168
168
|
]),
|
|
@@ -1,32 +1,30 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-acf019fb] {
|
|
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-
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-acf019fb] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.header-nav-wrap[data-v-
|
|
9
|
+
.header-nav-wrap[data-v-acf019fb] {
|
|
10
10
|
height: 100%;
|
|
11
11
|
}
|
|
12
|
-
.header-nav-wrap .header-nav[data-v-
|
|
12
|
+
.header-nav-wrap .header-nav[data-v-acf019fb] {
|
|
13
13
|
height: 100%;
|
|
14
14
|
display: flex;
|
|
15
15
|
justify-content: space-between;
|
|
16
16
|
width: calc(100% - 64px);
|
|
17
17
|
align-items: center;
|
|
18
18
|
}
|
|
19
|
-
.header-nav-wrap .header-nav-scroll[data-v-
|
|
19
|
+
.header-nav-wrap .header-nav-scroll[data-v-acf019fb] {
|
|
20
20
|
width: calc(100% - 64px - 24px);
|
|
21
21
|
}
|
|
22
|
-
.o-nav[data-v-
|
|
22
|
+
.o-nav[data-v-acf019fb] {
|
|
23
23
|
--o-before-left: 0;
|
|
24
24
|
height: 100%;
|
|
25
25
|
position: relative;
|
|
26
|
-
overflow-y: hidden;
|
|
27
|
-
overflow-x: auto;
|
|
28
26
|
}
|
|
29
|
-
.o-nav[data-v-
|
|
27
|
+
.o-nav[data-v-acf019fb]::after, .o-nav[data-v-acf019fb]::before {
|
|
30
28
|
content: "";
|
|
31
29
|
position: absolute;
|
|
32
30
|
width: 50px;
|
|
@@ -34,18 +32,18 @@
|
|
|
34
32
|
top: 0;
|
|
35
33
|
z-index: 9;
|
|
36
34
|
}
|
|
37
|
-
.o-nav[data-v-
|
|
35
|
+
.o-nav[data-v-acf019fb]::after {
|
|
38
36
|
right: 0;
|
|
39
37
|
background-image: linear-gradient(90deg, rgba(var(--o-grey-1), 0) 0%, rgba(var(--o-grey-1), 1) 100%);
|
|
40
38
|
}
|
|
41
|
-
.o-nav[data-v-
|
|
39
|
+
.o-nav[data-v-acf019fb]::before {
|
|
42
40
|
background-image: linear-gradient(0, rgba(var(--o-grey-1), 0) 0%, rgba(var(--o-grey-1), 1) 100%);
|
|
43
41
|
display: none;
|
|
44
42
|
}
|
|
45
|
-
.o-nav[data-v-
|
|
43
|
+
.o-nav[data-v-acf019fb]::-webkit-scrollbar {
|
|
46
44
|
display: none;
|
|
47
45
|
}
|
|
48
|
-
.right-icon[data-v-
|
|
46
|
+
.right-icon[data-v-acf019fb] {
|
|
49
47
|
display: flex;
|
|
50
48
|
align-items: center;
|
|
51
49
|
cursor: pointer;
|
|
@@ -53,29 +51,29 @@
|
|
|
53
51
|
height: 16px;
|
|
54
52
|
border-radius: var(--o-radius-xs);
|
|
55
53
|
}
|
|
56
|
-
.right-icon .o-icon[data-v-
|
|
54
|
+
.right-icon .o-icon[data-v-acf019fb] {
|
|
57
55
|
--icon-size: 16px;
|
|
58
56
|
}
|
|
59
57
|
@media (hover: hover) {
|
|
60
|
-
.right-icon[data-v-
|
|
58
|
+
.right-icon[data-v-acf019fb]:hover {
|
|
61
59
|
background-color: var(--o-color-control2-light);
|
|
62
60
|
color: var(--o-color-link2);
|
|
63
61
|
}
|
|
64
62
|
}
|
|
65
|
-
.right-icon[data-v-
|
|
63
|
+
.right-icon[data-v-acf019fb]:active {
|
|
66
64
|
color: var(--o-color-link3);
|
|
67
65
|
}
|
|
68
|
-
[data-o-theme*=dark] .o-nav[data-v-
|
|
66
|
+
[data-o-theme*=dark] .o-nav[data-v-acf019fb]::after, [data-o-theme*=dark] .o-nav[data-v-acf019fb]::before {
|
|
69
67
|
background-image: linear-gradient(90deg, rgba(var(--o-grey-4), 0) 0%, rgba(var(--o-grey-4), 1) 100%);
|
|
70
68
|
}
|
|
71
|
-
.o-nav-scroll[data-v-
|
|
69
|
+
.o-nav-scroll[data-v-acf019fb]::after {
|
|
72
70
|
display: none;
|
|
73
71
|
}
|
|
74
|
-
.o-nav-scroll[data-v-
|
|
72
|
+
.o-nav-scroll[data-v-acf019fb]::before {
|
|
75
73
|
left: var(--o-before-left);
|
|
76
74
|
display: block;
|
|
77
75
|
}
|
|
78
|
-
.nav-list[data-v-
|
|
76
|
+
.nav-list[data-v-acf019fb] {
|
|
79
77
|
display: flex;
|
|
80
78
|
height: 100%;
|
|
81
79
|
width: fit-content;
|
|
@@ -84,7 +82,7 @@
|
|
|
84
82
|
padding: 0;
|
|
85
83
|
margin: 0;
|
|
86
84
|
}
|
|
87
|
-
.nav-item-li[data-v-
|
|
85
|
+
.nav-item-li[data-v-acf019fb] {
|
|
88
86
|
position: relative;
|
|
89
87
|
display: flex;
|
|
90
88
|
align-items: center;
|
|
@@ -93,7 +91,7 @@
|
|
|
93
91
|
pointer-events: auto;
|
|
94
92
|
transition: color var(--o-duration-s) var(--o-easing-standard);
|
|
95
93
|
}
|
|
96
|
-
.nav-item-li .nav-item[data-v-
|
|
94
|
+
.nav-item-li .nav-item[data-v-acf019fb] {
|
|
97
95
|
cursor: default;
|
|
98
96
|
display: flex;
|
|
99
97
|
align-items: center;
|
|
@@ -102,43 +100,43 @@
|
|
|
102
100
|
line-height: 24px;
|
|
103
101
|
}
|
|
104
102
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
105
|
-
.nav-item-li .nav-item[data-v-
|
|
103
|
+
.nav-item-li .nav-item[data-v-acf019fb] {
|
|
106
104
|
font-size: 14px;
|
|
107
105
|
line-height: 22px;
|
|
108
106
|
}
|
|
109
107
|
}
|
|
110
108
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
111
|
-
.nav-item-li .nav-item[data-v-
|
|
109
|
+
.nav-item-li .nav-item[data-v-acf019fb] {
|
|
112
110
|
font-size: 14px;
|
|
113
111
|
line-height: 22px;
|
|
114
112
|
}
|
|
115
113
|
}
|
|
116
114
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
117
|
-
.nav-item-li .nav-item[data-v-
|
|
115
|
+
.nav-item-li .nav-item[data-v-acf019fb] {
|
|
118
116
|
font-size: 14px;
|
|
119
117
|
line-height: 22px;
|
|
120
118
|
}
|
|
121
119
|
}
|
|
122
120
|
@media (max-width: 600px) {
|
|
123
|
-
.nav-item-li .nav-item[data-v-
|
|
121
|
+
.nav-item-li .nav-item[data-v-acf019fb] {
|
|
124
122
|
font-size: 12px;
|
|
125
123
|
line-height: 18px;
|
|
126
124
|
}
|
|
127
125
|
}
|
|
128
126
|
@media (max-width: 1440px) {
|
|
129
|
-
.nav-item-li .nav-item[data-v-
|
|
127
|
+
.nav-item-li .nav-item[data-v-acf019fb] {
|
|
130
128
|
padding: 18px 12px;
|
|
131
129
|
}
|
|
132
130
|
}
|
|
133
131
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
134
|
-
.nav-item-li .nav-item[data-v-
|
|
132
|
+
.nav-item-li .nav-item[data-v-acf019fb] {
|
|
135
133
|
padding: 14px 8px;
|
|
136
134
|
}
|
|
137
135
|
}
|
|
138
|
-
.nav-item-li .nav-text[data-v-
|
|
136
|
+
.nav-item-li .nav-text[data-v-acf019fb] {
|
|
139
137
|
position: relative;
|
|
140
138
|
}
|
|
141
|
-
.nav-item-li .nav-text[data-v-
|
|
139
|
+
.nav-item-li .nav-text[data-v-acf019fb]::after {
|
|
142
140
|
content: "";
|
|
143
141
|
position: absolute;
|
|
144
142
|
left: 0;
|
|
@@ -151,31 +149,31 @@
|
|
|
151
149
|
transition: all var(--o-duration-s) var(--o-easing-standard);
|
|
152
150
|
}
|
|
153
151
|
@media (max-width: 1440px) {
|
|
154
|
-
.nav-item-li .nav-text[data-v-
|
|
152
|
+
.nav-item-li .nav-text[data-v-acf019fb]::after {
|
|
155
153
|
bottom: -21px;
|
|
156
154
|
}
|
|
157
155
|
}
|
|
158
156
|
@media (max-width: 1200px) {
|
|
159
|
-
.nav-item-li .nav-text[data-v-
|
|
157
|
+
.nav-item-li .nav-text[data-v-acf019fb]::after {
|
|
160
158
|
bottom: -17px;
|
|
161
159
|
}
|
|
162
160
|
}
|
|
163
|
-
.nav-item-li .nav-item-link[data-v-
|
|
161
|
+
.nav-item-li .nav-item-link[data-v-acf019fb] {
|
|
164
162
|
cursor: pointer;
|
|
165
163
|
}
|
|
166
|
-
.nav-item-li.is-selected .nav-text[data-v-
|
|
164
|
+
.nav-item-li.is-selected .nav-text[data-v-acf019fb], .nav-item-li.is-active .nav-text[data-v-acf019fb] {
|
|
167
165
|
color: var(--o-color-primary1);
|
|
168
166
|
z-index: 99;
|
|
169
167
|
font-weight: 600;
|
|
170
168
|
}
|
|
171
|
-
.nav-item-li.is-selected .nav-text[data-v-
|
|
169
|
+
.nav-item-li.is-selected .nav-text[data-v-acf019fb]::after, .nav-item-li.is-active .nav-text[data-v-acf019fb]::after {
|
|
172
170
|
opacity: 1;
|
|
173
171
|
}
|
|
174
|
-
.nav-item-li.is-disabled[data-v-
|
|
172
|
+
.nav-item-li.is-disabled[data-v-acf019fb] {
|
|
175
173
|
color: var(--o-color-info4);
|
|
176
174
|
pointer-events: none;
|
|
177
175
|
}
|
|
178
|
-
.dropdown-wrapper[data-v-
|
|
176
|
+
.dropdown-wrapper[data-v-acf019fb] {
|
|
179
177
|
position: absolute;
|
|
180
178
|
top: calc(100% - 4px);
|
|
181
179
|
left: 0;
|
|
@@ -183,13 +181,13 @@
|
|
|
183
181
|
padding-top: 8px;
|
|
184
182
|
transition: opacity var(--o-duration-s) var(--o-easing-standard);
|
|
185
183
|
}
|
|
186
|
-
.dropdown-wrapper .dropdown-body[data-v-
|
|
184
|
+
.dropdown-wrapper .dropdown-body[data-v-acf019fb] {
|
|
187
185
|
padding: 6px;
|
|
188
186
|
background-color: var(--o-color-fill2);
|
|
189
187
|
border-radius: var(--o-radius-xs);
|
|
190
188
|
box-shadow: var(--o-shadow-2);
|
|
191
189
|
}
|
|
192
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
190
|
+
.dropdown-wrapper .dropdown-item[data-v-acf019fb] {
|
|
193
191
|
font-weight: 400;
|
|
194
192
|
white-space: nowrap;
|
|
195
193
|
display: flex;
|
|
@@ -205,63 +203,63 @@
|
|
|
205
203
|
line-height: 24px;
|
|
206
204
|
}
|
|
207
205
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
208
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
206
|
+
.dropdown-wrapper .dropdown-item[data-v-acf019fb] {
|
|
209
207
|
font-size: 14px;
|
|
210
208
|
line-height: 22px;
|
|
211
209
|
}
|
|
212
210
|
}
|
|
213
211
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
214
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
212
|
+
.dropdown-wrapper .dropdown-item[data-v-acf019fb] {
|
|
215
213
|
font-size: 14px;
|
|
216
214
|
line-height: 22px;
|
|
217
215
|
}
|
|
218
216
|
}
|
|
219
217
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
220
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
218
|
+
.dropdown-wrapper .dropdown-item[data-v-acf019fb] {
|
|
221
219
|
font-size: 14px;
|
|
222
220
|
line-height: 22px;
|
|
223
221
|
}
|
|
224
222
|
}
|
|
225
223
|
@media (max-width: 600px) {
|
|
226
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
224
|
+
.dropdown-wrapper .dropdown-item[data-v-acf019fb] {
|
|
227
225
|
font-size: 12px;
|
|
228
226
|
line-height: 18px;
|
|
229
227
|
}
|
|
230
228
|
}
|
|
231
229
|
@media (hover: hover) {
|
|
232
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
230
|
+
.dropdown-wrapper .dropdown-item[data-v-acf019fb]:hover {
|
|
233
231
|
background-color: var(--o-color-control2-light);
|
|
234
232
|
color: var(--o-color-primary1);
|
|
235
233
|
}
|
|
236
234
|
}
|
|
237
|
-
.dropdown-wrapper .dropdown-item-disabled[data-v-
|
|
235
|
+
.dropdown-wrapper .dropdown-item-disabled[data-v-acf019fb] {
|
|
238
236
|
color: var(--o-color-info4);
|
|
239
237
|
pointer-events: none;
|
|
240
238
|
}
|
|
241
|
-
.dropdown-wrapper .dropdown-link[data-v-
|
|
239
|
+
.dropdown-wrapper .dropdown-link[data-v-acf019fb] {
|
|
242
240
|
color: inherit;
|
|
243
241
|
display: flex;
|
|
244
242
|
align-items: center;
|
|
245
243
|
width: 100%;
|
|
246
244
|
}
|
|
247
|
-
.dropdown-wrapper .dropdown-link .o-tag[data-v-
|
|
245
|
+
.dropdown-wrapper .dropdown-link .o-tag[data-v-acf019fb] {
|
|
248
246
|
margin-left: var(--o-gap-2);
|
|
249
247
|
transform: scale(0.75);
|
|
250
248
|
transform-origin: left center;
|
|
251
249
|
}
|
|
252
|
-
.dropdown-wrapper[data-v-
|
|
250
|
+
.dropdown-wrapper[data-v-acf019fb] .jump-out-icon {
|
|
253
251
|
font-size: 16px;
|
|
254
252
|
margin-left: 4px;
|
|
255
253
|
}
|
|
256
|
-
.dropdown-wrapper[data-v-
|
|
254
|
+
.dropdown-wrapper[data-v-acf019fb] .jump-out-icon path {
|
|
257
255
|
fill: currentColor;
|
|
258
256
|
stroke: transparent;
|
|
259
257
|
}
|
|
260
|
-
.dropdown-wrapper[data-v-
|
|
258
|
+
.dropdown-wrapper[data-v-acf019fb] .jump-out-icon path[fill=none] {
|
|
261
259
|
display: none;
|
|
262
260
|
}
|
|
263
261
|
@media (hover: hover) {
|
|
264
|
-
.nav-item:hover .dropdown-wrapper[data-v-
|
|
262
|
+
.nav-item:hover .dropdown-wrapper[data-v-acf019fb] {
|
|
265
263
|
display: block;
|
|
266
264
|
}
|
|
267
265
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./HeaderFlatten.vue2.mjs";
|
|
2
2
|
import './HeaderFlatten.css';
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const HeaderFlatten = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const HeaderFlatten = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-acf019fb"]]);
|
|
5
5
|
export {
|
|
6
6
|
HeaderFlatten as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, onMounted, nextTick, onUnmounted,
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, nextTick, onUnmounted, resolveDirective, openBlock, createElementBlock, createElementVNode, normalizeClass, createVNode, unref, withCtx, createCommentVNode, normalizeStyle, Fragment, renderList, withDirectives, toDisplayString, createBlock, createTextVNode, resolveDynamicComponent } from "vue";
|
|
2
2
|
import { OIcon, OTag } from "@opensig/opendesign";
|
|
3
3
|
import IconCaretLeft from "../../../_virtual/icon-caret-left.mjs";
|
|
4
4
|
import IconCaretRight from "../../../_virtual/icon-caret-right.mjs";
|
|
@@ -31,6 +31,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
31
|
__name: "HeaderFlatten",
|
|
32
32
|
props: {
|
|
33
33
|
navData: {},
|
|
34
|
+
community: {},
|
|
34
35
|
activeIndex: {},
|
|
35
36
|
hoverId: {}
|
|
36
37
|
},
|
|
@@ -140,7 +141,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
140
141
|
clearTimeout(resizeTimer.value);
|
|
141
142
|
});
|
|
142
143
|
return (_ctx, _cache) => {
|
|
143
|
-
const _component_IconOutlink = resolveComponent("IconOutlink");
|
|
144
144
|
const _directive_analytics = resolveDirective("analytics");
|
|
145
145
|
return openBlock(), createElementBlock("nav", _hoisted_1, [
|
|
146
146
|
createElementVNode("div", {
|
|
@@ -167,7 +167,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
167
167
|
onMouseleave: onCancelNav
|
|
168
168
|
}, [
|
|
169
169
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.navData, (item, idx) => {
|
|
170
|
-
var _a, _b;
|
|
170
|
+
var _a, _b, _c;
|
|
171
171
|
return withDirectives((openBlock(), createElementBlock("li", {
|
|
172
172
|
key: item.id,
|
|
173
173
|
id: item.id,
|
|
@@ -190,14 +190,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
190
190
|
key: 0,
|
|
191
191
|
color: "danger",
|
|
192
192
|
size: "small",
|
|
193
|
-
round: "pill"
|
|
193
|
+
round: "pill",
|
|
194
|
+
class: normalizeClass(`tag-${(_b = item == null ? void 0 : item.tag) == null ? void 0 : _b.toLowerCase()}`)
|
|
194
195
|
}, {
|
|
195
196
|
default: withCtx(() => [
|
|
196
197
|
createTextVNode(toDisplayString(item.tag), 1)
|
|
197
198
|
]),
|
|
198
199
|
_: 2
|
|
199
|
-
},
|
|
200
|
-
], 8, _hoisted_4)) : !((
|
|
200
|
+
}, 1032, ["class"])) : createCommentVNode("", true)
|
|
201
|
+
], 8, _hoisted_4)) : !((_c = item.children) == null ? void 0 : _c.length) && item.href ? (openBlock(), createElementBlock("a", {
|
|
201
202
|
key: 1,
|
|
202
203
|
id: "tour_headerNav_" + item.id,
|
|
203
204
|
class: "nav-item nav-item-link",
|
|
@@ -211,6 +212,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
211
212
|
createElementVNode("div", _hoisted_10, [
|
|
212
213
|
createElementVNode("div", _hoisted_11, [
|
|
213
214
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.children, (childTab, index) => {
|
|
215
|
+
var _a2, _b2;
|
|
214
216
|
return openBlock(), createElementBlock("div", {
|
|
215
217
|
key: index,
|
|
216
218
|
onMouseenter: ($event) => _ctx.onMouseEnter(idx),
|
|
@@ -227,13 +229,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
227
229
|
key: 0,
|
|
228
230
|
color: "danger",
|
|
229
231
|
size: "small",
|
|
230
|
-
round: "pill"
|
|
232
|
+
round: "pill",
|
|
233
|
+
class: normalizeClass(`tag-${(_a2 = childTab == null ? void 0 : childTab.tag) == null ? void 0 : _a2.toLowerCase()}`)
|
|
231
234
|
}, {
|
|
232
235
|
default: withCtx(() => [
|
|
233
236
|
createTextVNode(toDisplayString(childTab.tag), 1)
|
|
234
237
|
]),
|
|
235
238
|
_: 2
|
|
236
|
-
},
|
|
239
|
+
}, 1032, ["class"])) : createCommentVNode("", true)
|
|
237
240
|
], 10, _hoisted_13)) : withDirectives((openBlock(), createElementBlock("div", {
|
|
238
241
|
key: 1,
|
|
239
242
|
class: normalizeClass(["dropdown-item", { "dropdown-item-disabled": childTab == null ? void 0 : childTab.disabled }])
|
|
@@ -245,26 +248,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
245
248
|
rel: childTab.href.startsWith("http") ? "noopener noreferrer" : ""
|
|
246
249
|
}, [
|
|
247
250
|
createElementVNode("span", null, toDisplayString(childTab.label), 1),
|
|
248
|
-
childTab.
|
|
249
|
-
key: 0,
|
|
250
|
-
color: "danger",
|
|
251
|
-
size: "small",
|
|
252
|
-
round: "pill"
|
|
253
|
-
}, {
|
|
251
|
+
childTab.icon ? (openBlock(), createBlock(unref(OIcon), { key: 0 }, {
|
|
254
252
|
default: withCtx(() => [
|
|
255
|
-
|
|
253
|
+
(openBlock(), createBlock(resolveDynamicComponent(childTab.icon)))
|
|
256
254
|
]),
|
|
257
255
|
_: 2
|
|
258
256
|
}, 1024)) : createCommentVNode("", true),
|
|
259
|
-
childTab.
|
|
257
|
+
childTab.tag ? (openBlock(), createBlock(unref(OTag), {
|
|
260
258
|
key: 1,
|
|
261
|
-
|
|
259
|
+
color: "danger",
|
|
260
|
+
size: "small",
|
|
261
|
+
round: "pill",
|
|
262
|
+
class: normalizeClass(`tag-${(_b2 = childTab == null ? void 0 : childTab.tag) == null ? void 0 : _b2.toLowerCase()}`)
|
|
262
263
|
}, {
|
|
263
264
|
default: withCtx(() => [
|
|
264
|
-
|
|
265
|
+
createTextVNode(toDisplayString(childTab.tag), 1)
|
|
265
266
|
]),
|
|
266
|
-
_:
|
|
267
|
-
})) : createCommentVNode("", true)
|
|
267
|
+
_: 2
|
|
268
|
+
}, 1032, ["class"])) : createCommentVNode("", true)
|
|
268
269
|
], 8, _hoisted_14)
|
|
269
270
|
], 2)), [
|
|
270
271
|
[_directive_analytics, () => onRedirect(childTab)]
|