@opendesign-plus-test/components 0.0.1-rc.132 → 0.0.1-rc.134
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/sig/OSigDetail.vue.d.ts +2 -0
- package/dist/components/sig/OSigList.vue.d.ts +1 -0
- package/dist/components/sig/components/OSigItem.vue.d.ts +4 -1
- package/dist/components/sig/components/OSigRepo.vue.d.ts +2 -0
- package/dist/components/sig/types.d.ts +2 -0
- package/dist/components.cjs.js +1 -1
- package/dist/components.es.js +189 -181
- package/dist/treeshaking/components/sig/OSigDetail.vue.d.ts +2 -0
- package/dist/treeshaking/components/sig/OSigDetail.vue.mjs +13 -10
- package/dist/treeshaking/components/sig/OSigList.vue.d.ts +1 -0
- package/dist/treeshaking/components/sig/OSigList.vue.mjs +4 -2
- package/dist/treeshaking/components/sig/components/OSigItem.vue.d.ts +4 -1
- package/dist/treeshaking/components/sig/components/OSigItem.vue.mjs +5 -4
- package/dist/treeshaking/components/sig/components/OSigRepo.vue.d.ts +2 -0
- package/dist/treeshaking/components/sig/components/OSigRepo.vue.mjs +3 -2
- package/dist/treeshaking/components/sig/types.d.ts +2 -0
- package/package.json +3 -3
- package/dist/components/sig/components/config-sig.d.ts +0 -1
- package/dist/treeshaking/components/sig/components/config-sig.d.ts +0 -1
- package/dist/treeshaking/components/sig/components/config-sig.mjs +0 -4
|
@@ -4,6 +4,7 @@ interface SigDetailPropsT {
|
|
|
4
4
|
sigDetail?: SigCompleteItemT;
|
|
5
5
|
repositories?: SigRepoEntryT[];
|
|
6
6
|
headerBg?: string;
|
|
7
|
+
gitBase?: string;
|
|
7
8
|
getContributeData: any;
|
|
8
9
|
}
|
|
9
10
|
declare function __VLS_template(): {
|
|
@@ -18,6 +19,7 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
18
19
|
declare const __VLS_component: import('vue').DefineComponent<SigDetailPropsT, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SigDetailPropsT> & Readonly<{}>, {
|
|
19
20
|
sigName: string;
|
|
20
21
|
repositories: SigRepoEntryT[];
|
|
22
|
+
gitBase: string;
|
|
21
23
|
sigDetail: SigCompleteItemT;
|
|
22
24
|
headerBg: string;
|
|
23
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, onMounted, nextTick, openBlock, createElementBlock, createVNode,
|
|
2
|
-
import { SIG_ADDRESS } from "./components/config-sig.mjs";
|
|
1
|
+
import { defineComponent, computed, onMounted, nextTick, openBlock, createElementBlock, createVNode, createElementVNode, toDisplayString, unref, withCtx, createBlock, createTextVNode, createCommentVNode, renderSlot } from "vue";
|
|
3
2
|
import { OIcon, OLink, OButton } from "@opensig/opendesign";
|
|
4
3
|
import _sfc_main$1 from "./components/OSigDetailInfoCard.vue.mjs";
|
|
5
4
|
import './components/OSigDetailInfoCard.css';
|
|
@@ -47,6 +46,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
46
|
sigDetail: { default: void 0 },
|
|
48
47
|
repositories: { default: () => [] },
|
|
49
48
|
headerBg: { default: "" },
|
|
49
|
+
gitBase: { default: "https://atomgit.com/" },
|
|
50
50
|
getContributeData: {}
|
|
51
51
|
},
|
|
52
52
|
setup(__props) {
|
|
@@ -73,12 +73,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
73
73
|
});
|
|
74
74
|
});
|
|
75
75
|
return (_ctx, _cache) => {
|
|
76
|
-
var _a, _b, _c, _d, _e, _f;
|
|
76
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
77
77
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
78
78
|
createVNode(_sfc_main$1, {
|
|
79
79
|
description: (_a = sigDetailInfo.value) == null ? void 0 : _a.description,
|
|
80
80
|
"sig-name": props.sigName,
|
|
81
|
-
"gitee-address":
|
|
81
|
+
"gitee-address": (_b = sigDetailInfo.value) == null ? void 0 : _b.gitUrl,
|
|
82
82
|
bg: __props.headerBg
|
|
83
83
|
}, null, 8, ["description", "sig-name", "gitee-address", "bg"]),
|
|
84
84
|
createElementVNode("div", _hoisted_2, [
|
|
@@ -100,9 +100,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
100
100
|
_: 1
|
|
101
101
|
}),
|
|
102
102
|
createElementVNode("p", _hoisted_10, toDisplayString(unref(t)("sig.workMeeting")), 1),
|
|
103
|
-
((
|
|
103
|
+
((_c = sigDetailInfo.value) == null ? void 0 : _c.etherpadUrl) ? (openBlock(), createBlock(unref(OLink), {
|
|
104
104
|
key: 0,
|
|
105
|
-
href: (
|
|
105
|
+
href: (_d = sigDetailInfo.value) == null ? void 0 : _d.etherpadUrl,
|
|
106
106
|
target: "_blank",
|
|
107
107
|
color: "primary"
|
|
108
108
|
}, {
|
|
@@ -134,7 +134,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
134
134
|
]),
|
|
135
135
|
createVNode(unref(OLink), {
|
|
136
136
|
color: "primary",
|
|
137
|
-
href: `mailto:${(
|
|
137
|
+
href: `mailto:${(_e = sigDetailInfo.value) == null ? void 0 : _e.mailing_list}`,
|
|
138
138
|
target: "_blank",
|
|
139
139
|
class: "o-sig-detail-icon-link"
|
|
140
140
|
}, {
|
|
@@ -146,11 +146,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
146
146
|
}),
|
|
147
147
|
_: 1
|
|
148
148
|
}, 8, ["href"]),
|
|
149
|
-
((
|
|
149
|
+
((_f = sigDetailInfo.value) == null ? void 0 : _f.subscribeUrl) ? (openBlock(), createBlock(unref(OButton), {
|
|
150
150
|
key: 0,
|
|
151
151
|
round: "pill",
|
|
152
152
|
color: "primary",
|
|
153
|
-
href: (
|
|
153
|
+
href: (_g = sigDetailInfo.value) == null ? void 0 : _g.subscribeUrl,
|
|
154
154
|
target: "_blank",
|
|
155
155
|
size: "medium"
|
|
156
156
|
}, {
|
|
@@ -200,7 +200,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
200
200
|
renderSlot(_ctx.$slots, "meeting")
|
|
201
201
|
])) : createCommentVNode("", true),
|
|
202
202
|
createElementVNode("div", _hoisted_19, [
|
|
203
|
-
createVNode(_sfc_main$3, {
|
|
203
|
+
createVNode(_sfc_main$3, {
|
|
204
|
+
repositories: __props.repositories,
|
|
205
|
+
"git-base": __props.gitBase
|
|
206
|
+
}, null, 8, ["repositories", "git-base"])
|
|
204
207
|
]),
|
|
205
208
|
createElementVNode("div", _hoisted_20, [
|
|
206
209
|
createVNode(_sfc_main$4, {
|
|
@@ -4,6 +4,7 @@ declare const _default: import('vue').DefineComponent<SigListPropsT, {}, {}, {},
|
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<SigListPropsT> & Readonly<{
|
|
5
5
|
"onTo-sig-detail"?: ((sigName: string) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
|
+
gitBase: string;
|
|
7
8
|
sigLandscape: GroupInfoT[];
|
|
8
9
|
sigList: SigListItemT[];
|
|
9
10
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -65,7 +65,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
65
65
|
props: {
|
|
66
66
|
sigLandscape: { default: () => [] },
|
|
67
67
|
sigList: { default: () => [] },
|
|
68
|
-
searchFn: {}
|
|
68
|
+
searchFn: {},
|
|
69
|
+
gitBase: { default: "https://atomgit.com/" }
|
|
69
70
|
},
|
|
70
71
|
emits: ["to-sig-detail"],
|
|
71
72
|
setup(__props, { emit: __emit }) {
|
|
@@ -480,8 +481,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
480
481
|
locale: locale.value,
|
|
481
482
|
mobile: unref(lePadV),
|
|
482
483
|
"active-repo": activeRepo.value,
|
|
484
|
+
"git-base": __props.gitBase,
|
|
483
485
|
onToSigDetail: toSigDetail
|
|
484
|
-
}, null, 8, ["sig", "locale", "mobile", "active-repo"])
|
|
486
|
+
}, null, 8, ["sig", "locale", "mobile", "active-repo", "git-base"])
|
|
485
487
|
]),
|
|
486
488
|
_: 2
|
|
487
489
|
}, 1032, ["flex"]);
|
|
@@ -5,10 +5,13 @@ type __VLS_Props = {
|
|
|
5
5
|
locale: 'zh' | 'en';
|
|
6
6
|
mobile?: boolean;
|
|
7
7
|
activeRepo?: string;
|
|
8
|
+
gitBase?: string;
|
|
8
9
|
};
|
|
9
10
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
10
11
|
"to-sig-detail": (sigName: string) => any;
|
|
11
12
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
13
|
"onTo-sig-detail"?: ((sigName: string) => any) | undefined;
|
|
13
|
-
}>, {
|
|
14
|
+
}>, {
|
|
15
|
+
gitBase: string;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
17
|
export default _default;
|
|
@@ -29,7 +29,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
29
|
sig: {},
|
|
30
30
|
locale: {},
|
|
31
31
|
mobile: { type: Boolean },
|
|
32
|
-
activeRepo: {}
|
|
32
|
+
activeRepo: {},
|
|
33
|
+
gitBase: { default: "${gitBase}" }
|
|
33
34
|
},
|
|
34
35
|
emits: ["to-sig-detail"],
|
|
35
36
|
setup(__props, { emit: __emit }) {
|
|
@@ -55,7 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
56
|
]),
|
|
56
57
|
createElementVNode("div", _hoisted_3, [
|
|
57
58
|
createVNode(unref(OLink), {
|
|
58
|
-
href:
|
|
59
|
+
href: `${__props.gitBase}${__props.sig.atomgitUrl}`,
|
|
59
60
|
target: "_blank"
|
|
60
61
|
}, {
|
|
61
62
|
default: withCtx(() => [
|
|
@@ -107,7 +108,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
108
|
createElementVNode("div", _hoisted_7, toDisplayString(unref(t)("sig.repo")) + ":", 1),
|
|
108
109
|
createVNode(unref(OLink), {
|
|
109
110
|
color: "primary",
|
|
110
|
-
href:
|
|
111
|
+
href: `${__props.gitBase}${__props.activeRepo}`,
|
|
111
112
|
target: "_blank"
|
|
112
113
|
}, {
|
|
113
114
|
default: withCtx(() => [
|
|
@@ -148,7 +149,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
148
149
|
key: item,
|
|
149
150
|
class: "o-sig-popup-item",
|
|
150
151
|
color: "primary",
|
|
151
|
-
href:
|
|
152
|
+
href: `${__props.gitBase}${item}`,
|
|
152
153
|
target: "_blank"
|
|
153
154
|
}, {
|
|
154
155
|
default: withCtx(() => {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { SigRepoEntryT } from '../types';
|
|
2
2
|
interface SigRepoPropsT {
|
|
3
3
|
repositories?: SigRepoEntryT[];
|
|
4
|
+
gitBase?: string;
|
|
4
5
|
}
|
|
5
6
|
declare const _default: import('vue').DefineComponent<SigRepoPropsT, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SigRepoPropsT> & Readonly<{}>, {
|
|
6
7
|
repositories: SigRepoEntryT[];
|
|
8
|
+
gitBase: string;
|
|
7
9
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
10
|
export default _default;
|
|
@@ -15,7 +15,8 @@ const _hoisted_4 = {
|
|
|
15
15
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
16
|
__name: "OSigRepo",
|
|
17
17
|
props: {
|
|
18
|
-
repositories: { default: () => [] }
|
|
18
|
+
repositories: { default: () => [] },
|
|
19
|
+
gitBase: { default: "https://atomgit.com/" }
|
|
19
20
|
},
|
|
20
21
|
setup(__props) {
|
|
21
22
|
const props = __props;
|
|
@@ -110,7 +111,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
110
111
|
createVNode(unref(OLink), {
|
|
111
112
|
target: "_blank",
|
|
112
113
|
rel: "noopener noreferrer",
|
|
113
|
-
href:
|
|
114
|
+
href: `${__props.gitBase}${row.repo}`
|
|
114
115
|
}, {
|
|
115
116
|
default: withCtx(() => [
|
|
116
117
|
createTextVNode(toDisplayString(row.repo), 1)
|
|
@@ -17,6 +17,7 @@ export interface SigCompleteItemT {
|
|
|
17
17
|
etherpadUrl?: string;
|
|
18
18
|
subscribeUrl?: string;
|
|
19
19
|
discuss_url?: string;
|
|
20
|
+
gitUrl?: string;
|
|
20
21
|
mature_level?: string;
|
|
21
22
|
maintainers: string[];
|
|
22
23
|
committers: string[];
|
|
@@ -110,6 +111,7 @@ export interface SigListPropsT {
|
|
|
110
111
|
sigLandscape?: GroupInfoT[];
|
|
111
112
|
sigList?: SigListItemT[];
|
|
112
113
|
searchFn?: (params: SigSearchParamsT) => Promise<SigSearchResultT>;
|
|
114
|
+
gitBase?: string;
|
|
113
115
|
}
|
|
114
116
|
export interface DayDataT {
|
|
115
117
|
creator?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendesign-plus-test/components",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.134",
|
|
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/composables": "0.0.1-rc.10",
|
|
49
|
+
"@opendesign-plus/styles": "0.0.1-rc.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const SIG_ADDRESS = "https://atomgit.com/openeuler/community/tree/master/sig/";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const SIG_ADDRESS = "https://atomgit.com/openeuler/community/tree/master/sig/";
|