@opendesign-plus/components 0.0.1-rc.75 → 0.0.1-rc.77
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.cjs.js +23 -23
- package/dist/components.css +1 -1
- package/dist/components.es.js +1428 -1426
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.mjs +6 -0
- package/dist/treeshaking/components/sig/OSigDetail.css +1 -0
- package/dist/treeshaking/components/sig/OSigList.css +4 -3
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.css +14 -1
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.vue.mjs +13 -10
- package/package.json +3 -3
|
@@ -122,6 +122,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
122
122
|
}).finally(() => {
|
|
123
123
|
datesLoadedStatus.value[0] = true;
|
|
124
124
|
});
|
|
125
|
+
} else {
|
|
126
|
+
datesLoadedStatus.value[0] = true;
|
|
125
127
|
}
|
|
126
128
|
if (props.getEventsDatesRequest) {
|
|
127
129
|
props.getEventsDatesRequest(date).then((res) => {
|
|
@@ -129,6 +131,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
129
131
|
}).finally(() => {
|
|
130
132
|
datesLoadedStatus.value[1] = true;
|
|
131
133
|
});
|
|
134
|
+
} else {
|
|
135
|
+
datesLoadedStatus.value[1] = true;
|
|
132
136
|
}
|
|
133
137
|
if (props.getSummitDatesRequest) {
|
|
134
138
|
props.getSummitDatesRequest(date).then((res) => {
|
|
@@ -136,6 +140,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
136
140
|
}).finally(() => {
|
|
137
141
|
datesLoadedStatus.value[2] = true;
|
|
138
142
|
});
|
|
143
|
+
} else {
|
|
144
|
+
datesLoadedStatus.value[2] = true;
|
|
139
145
|
}
|
|
140
146
|
};
|
|
141
147
|
const paramGetDaysData = async (params) => {
|
|
@@ -297,6 +297,7 @@
|
|
|
297
297
|
.o-sig-list {
|
|
298
298
|
--sig-input-radius: var(--o-radius-xs);
|
|
299
299
|
--sig-card-radius: var(--o-radius-xs);
|
|
300
|
+
color: var(--o-color-info1);
|
|
300
301
|
}
|
|
301
302
|
.o-sig-list .o-sig-filter-box {
|
|
302
303
|
background-color: var(--o-color-fill2);
|
|
@@ -310,8 +311,7 @@
|
|
|
310
311
|
}
|
|
311
312
|
@media (max-width: 840px) {
|
|
312
313
|
.o-sig-list .o-sig-filter-box {
|
|
313
|
-
|
|
314
|
-
padding: 0;
|
|
314
|
+
padding: var(--o-gap-3);
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
.o-sig-list .o-sig-filter-box.o-sig-filter-box--no-filter-type {
|
|
@@ -319,6 +319,7 @@
|
|
|
319
319
|
background-color: transparent;
|
|
320
320
|
}
|
|
321
321
|
.o-sig-list .o-sig-filter-box.o-sig-filter-box--no-filter-type .o-sig-filter-select-box {
|
|
322
|
+
padding: 0;
|
|
322
323
|
justify-content: flex-start;
|
|
323
324
|
}
|
|
324
325
|
@media (max-width: 600px) {
|
|
@@ -486,7 +487,7 @@
|
|
|
486
487
|
border: 1px solid var(--o-color-primary2);
|
|
487
488
|
}
|
|
488
489
|
}
|
|
489
|
-
@media (max-width:
|
|
490
|
+
@media (max-width: 600px) {
|
|
490
491
|
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-filter-select {
|
|
491
492
|
width: 100%;
|
|
492
493
|
}
|
|
@@ -35,8 +35,13 @@
|
|
|
35
35
|
flex-wrap: wrap;
|
|
36
36
|
row-gap: var(--o-gap-2);
|
|
37
37
|
}
|
|
38
|
+
.o-sig-detail-info-card .o-sig-detail-name-box .o-sig-detail-name-wrap {
|
|
39
|
+
display: inline-flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
flex-shrink: 0;
|
|
42
|
+
}
|
|
38
43
|
.o-sig-detail-info-card .o-sig-detail-name-box.is-wrapped .o-divider {
|
|
39
|
-
|
|
44
|
+
visibility: hidden;
|
|
40
45
|
}
|
|
41
46
|
.o-sig-detail-info-card .o-sig-detail-name {
|
|
42
47
|
font-weight: 600;
|
|
@@ -147,6 +152,14 @@
|
|
|
147
152
|
display: flex;
|
|
148
153
|
align-items: center;
|
|
149
154
|
}
|
|
155
|
+
.o-sig-detail-info-card .o-link .o-link-label span {
|
|
156
|
+
overflow: hidden;
|
|
157
|
+
text-overflow: ellipsis;
|
|
158
|
+
word-break: break-all;
|
|
159
|
+
display: -webkit-box;
|
|
160
|
+
-webkit-box-orient: vertical;
|
|
161
|
+
-webkit-line-clamp: 1;
|
|
162
|
+
}
|
|
150
163
|
.o-sig-detail-info-card .o-link .o-link-label .o-icon {
|
|
151
164
|
margin-left: var(--o-gap-1);
|
|
152
165
|
font-size: 24px;
|
|
@@ -2,9 +2,10 @@ import { defineComponent, computed, ref, onMounted, onBeforeUnmount, openBlock,
|
|
|
2
2
|
import { useI18n } from "../../../i18n/index.mjs";
|
|
3
3
|
import { ODivider, OLink, OIcon } from "@opensig/opendesign";
|
|
4
4
|
import IconOutlink from "../../../_virtual/icon-outlink.mjs";
|
|
5
|
-
const _hoisted_1 = { class: "o-sig-detail-name" };
|
|
6
|
-
const _hoisted_2 = { class: "o-sig-detail-
|
|
7
|
-
const _hoisted_3 = { class: "o-sig-detail-
|
|
5
|
+
const _hoisted_1 = { class: "o-sig-detail-name-wrap" };
|
|
6
|
+
const _hoisted_2 = { class: "o-sig-detail-name" };
|
|
7
|
+
const _hoisted_3 = { class: "o-sig-detail-info-content" };
|
|
8
|
+
const _hoisted_4 = { class: "o-sig-detail-description" };
|
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
10
|
__name: "OSigDetailInfoCard",
|
|
10
11
|
props: {
|
|
@@ -28,10 +29,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
29
|
const checkWrapped = () => {
|
|
29
30
|
const box = nameBoxRef.value;
|
|
30
31
|
if (!box) return;
|
|
31
|
-
const
|
|
32
|
+
const nameWrapEl = box.querySelector(".o-sig-detail-name-wrap");
|
|
32
33
|
const linkEl = box.querySelector(".o-sig-detail-more-gitee");
|
|
33
|
-
if (!
|
|
34
|
-
isWrapped.value = Math.abs(
|
|
34
|
+
if (!nameWrapEl || !linkEl) return;
|
|
35
|
+
isWrapped.value = Math.abs(nameWrapEl.offsetTop - linkEl.offsetTop) > 16;
|
|
35
36
|
};
|
|
36
37
|
onMounted(() => {
|
|
37
38
|
checkWrapped();
|
|
@@ -55,8 +56,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
56
|
ref: nameBoxRef,
|
|
56
57
|
class: normalizeClass(["o-sig-detail-name-box", { "is-wrapped": isWrapped.value }])
|
|
57
58
|
}, [
|
|
58
|
-
createElementVNode("span", _hoisted_1,
|
|
59
|
-
|
|
59
|
+
createElementVNode("span", _hoisted_1, [
|
|
60
|
+
createElementVNode("span", _hoisted_2, toDisplayString(__props.sigName), 1),
|
|
61
|
+
createVNode(unref(ODivider), { direction: "v" })
|
|
62
|
+
]),
|
|
60
63
|
createVNode(unref(OLink), {
|
|
61
64
|
color: "primary",
|
|
62
65
|
href: __props.giteeAddress,
|
|
@@ -75,8 +78,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
78
|
_: 1
|
|
76
79
|
}, 8, ["href"])
|
|
77
80
|
], 2),
|
|
78
|
-
createElementVNode("div",
|
|
79
|
-
createElementVNode("div",
|
|
81
|
+
createElementVNode("div", _hoisted_3, [
|
|
82
|
+
createElementVNode("div", _hoisted_4, toDisplayString(__props.description), 1)
|
|
80
83
|
])
|
|
81
84
|
], 4);
|
|
82
85
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendesign-plus/components",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.77",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"vue-dompurify-html": "^3.1.2",
|
|
46
46
|
"vue": "^3.5.13",
|
|
47
47
|
"element-plus": "2.13.1",
|
|
48
|
-
"@opendesign-plus/
|
|
49
|
-
"@opendesign-plus/
|
|
48
|
+
"@opendesign-plus/styles": "0.0.1-rc.2",
|
|
49
|
+
"@opendesign-plus/composables": "0.0.1-rc.10"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@vitejs/plugin-vue": "^5.2.1",
|