@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.
@@ -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) => {
@@ -9,6 +9,7 @@
9
9
  .o-sig-detail {
10
10
  --sig-input-radius: var(--o-radius-xs);
11
11
  --sig-card-radius: var(--o-radius-xs);
12
+ color: var(--o-color-info1);
12
13
  }
13
14
  .o-sig-detail .o-sig-detail-content {
14
15
  display: grid;
@@ -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
- background-color: transparent;
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: 840px) {
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
- display: none;
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-info-content" };
7
- const _hoisted_3 = { class: "o-sig-detail-description" };
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 nameEl = box.querySelector(".o-sig-detail-name");
32
+ const nameWrapEl = box.querySelector(".o-sig-detail-name-wrap");
32
33
  const linkEl = box.querySelector(".o-sig-detail-more-gitee");
33
- if (!nameEl || !linkEl) return;
34
- isWrapped.value = Math.abs(nameEl.offsetTop - linkEl.offsetTop) > 16;
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, toDisplayString(__props.sigName), 1),
59
- createVNode(unref(ODivider), { direction: "v" }),
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", _hoisted_2, [
79
- createElementVNode("div", _hoisted_3, toDisplayString(__props.description), 1)
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.75",
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/composables": "0.0.1-rc.10",
49
- "@opendesign-plus/styles": "0.0.1-rc.2"
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",