@geckou/ui-vue 0.4.0 → 0.6.0
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/README.md +52 -2
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/components/ArticleList/Card/Artistic.vue.js +9 -0
- package/dist/components/ArticleList/Card/Artistic.vue2.js +105 -0
- package/dist/components/ArticleList/Card/Artistic.vue3.js +27 -0
- package/dist/components/ArticleList/Card/Entertainment.vue.js +9 -0
- package/dist/components/ArticleList/Card/Entertainment.vue2.js +120 -0
- package/dist/components/ArticleList/Card/Entertainment.vue3.js +31 -0
- package/dist/components/ArticleList/Card/Gallery.vue.js +9 -0
- package/dist/components/ArticleList/Card/Gallery.vue2.js +103 -0
- package/dist/components/ArticleList/Card/Gallery.vue3.js +23 -0
- package/dist/components/ArticleList/Card/Grid.vue.js +9 -0
- package/dist/components/ArticleList/Card/Grid.vue2.js +114 -0
- package/dist/components/ArticleList/Card/Grid.vue3.js +25 -0
- package/dist/components/ArticleList/Card/News.vue.js +9 -0
- package/dist/components/ArticleList/Card/News.vue2.js +95 -0
- package/dist/components/ArticleList/Card/News.vue3.js +19 -0
- package/dist/components/ArticleList/Card/Rounded.vue.js +9 -0
- package/dist/components/ArticleList/Card/Rounded.vue2.js +96 -0
- package/dist/components/ArticleList/Card/Rounded.vue3.js +15 -0
- package/dist/components/ArticleList/Card/Row.vue.js +9 -0
- package/dist/components/ArticleList/Card/Row.vue2.js +97 -0
- package/dist/components/ArticleList/Card/Row.vue3.js +17 -0
- package/dist/components/ArticleList/Card/Simple.vue.js +9 -0
- package/dist/components/ArticleList/Card/Simple.vue2.js +98 -0
- package/dist/components/ArticleList/Card/Simple.vue3.js +23 -0
- package/dist/components/ArticleList/Card/Standard.vue.js +9 -0
- package/dist/components/ArticleList/Card/Standard.vue2.js +93 -0
- package/dist/components/ArticleList/Card/Standard.vue3.js +21 -0
- package/dist/components/ArticleList/Card/Tile.vue.js +9 -0
- package/dist/components/ArticleList/Card/Tile.vue2.js +96 -0
- package/dist/components/ArticleList/Card/Tile.vue3.js +23 -0
- package/dist/components/ArticleList/GenericArticleList.vue.js +9 -0
- package/dist/components/ArticleList/GenericArticleList.vue2.js +72 -0
- package/dist/components/ArticleList/GenericArticleList.vue3.js +11 -0
- package/dist/components/ArticleList/List/Artistic.vue.js +22 -0
- package/dist/components/ArticleList/List/Artistic.vue2.js +4 -0
- package/dist/components/ArticleList/List/Entertainment.vue.js +22 -0
- package/dist/components/ArticleList/List/Entertainment.vue2.js +4 -0
- package/dist/components/ArticleList/List/Gallery.vue.js +22 -0
- package/dist/components/ArticleList/List/Gallery.vue2.js +4 -0
- package/dist/components/ArticleList/List/Grid.vue.js +9 -0
- package/dist/components/ArticleList/List/Grid.vue2.js +120 -0
- package/dist/components/ArticleList/List/Grid.vue3.js +9 -0
- package/dist/components/ArticleList/List/News.vue.js +22 -0
- package/dist/components/ArticleList/List/News.vue2.js +4 -0
- package/dist/components/ArticleList/List/Rounded.vue.js +22 -0
- package/dist/components/ArticleList/List/Rounded.vue2.js +4 -0
- package/dist/components/ArticleList/List/Row.vue.js +22 -0
- package/dist/components/ArticleList/List/Row.vue2.js +4 -0
- package/dist/components/ArticleList/List/Simple.vue.js +22 -0
- package/dist/components/ArticleList/List/Simple.vue2.js +4 -0
- package/dist/components/ArticleList/List/Standard.vue.js +22 -0
- package/dist/components/ArticleList/List/Standard.vue2.js +4 -0
- package/dist/components/ArticleList/List/Tile.vue.js +22 -0
- package/dist/components/ArticleList/List/Tile.vue2.js +4 -0
- package/dist/components/ArticleList/Parts/AuthorInfo.vue.js +9 -0
- package/dist/components/ArticleList/Parts/AuthorInfo.vue2.js +64 -0
- package/dist/components/ArticleList/Parts/AuthorInfo.vue3.js +11 -0
- package/dist/components/ArticleList/Parts/CardContainer.vue.js +9 -0
- package/dist/components/ArticleList/Parts/CardContainer.vue2.js +18 -0
- package/dist/components/ArticleList/Parts/CardContainer.vue3.js +7 -0
- package/dist/components/ArticleList/Parts/CardHeading.vue.js +9 -0
- package/dist/components/ArticleList/Parts/CardHeading.vue2.js +25 -0
- package/dist/components/ArticleList/Parts/CardHeading.vue3.js +7 -0
- package/dist/components/ArticleList/Parts/CategoryList.vue.js +38 -0
- package/dist/components/ArticleList/Parts/CategoryList.vue2.js +4 -0
- package/dist/components/ArticleList/Parts/ExcerptText.vue.js +9 -0
- package/dist/components/ArticleList/Parts/ExcerptText.vue2.js +24 -0
- package/dist/components/ArticleList/Parts/ExcerptText.vue3.js +7 -0
- package/dist/components/ArticleList/Parts/MetadataList.vue.js +9 -0
- package/dist/components/ArticleList/Parts/MetadataList.vue2.js +62 -0
- package/dist/components/ArticleList/Parts/MetadataList.vue3.js +17 -0
- package/dist/components/ArticleList/Parts/NoImage.vue.js +9 -0
- package/dist/components/ArticleList/Parts/NoImage.vue2.js +16 -0
- package/dist/components/ArticleList/Parts/NoImage.vue3.js +7 -0
- package/dist/components/ArticleList/Parts/PostedDate.vue.js +9 -0
- package/dist/components/ArticleList/Parts/PostedDate.vue2.js +28 -0
- package/dist/components/ArticleList/Parts/PostedDate.vue3.js +7 -0
- package/dist/components/ArticleList/Parts/TagList.vue.js +32 -0
- package/dist/components/ArticleList/Parts/TagList.vue2.js +4 -0
- package/dist/components/ArticleList/Parts/ThumbnailImage.vue.js +9 -0
- package/dist/components/ArticleList/Parts/ThumbnailImage.vue2.js +50 -0
- package/dist/components/ArticleList/Parts/ThumbnailImage.vue3.js +7 -0
- package/dist/components/BasicButton.vue.js +9 -0
- package/dist/components/BasicButton.vue2.js +71 -0
- package/dist/components/BasicButton.vue3.js +11 -0
- package/dist/components/CheckBox.vue.d.ts +8 -0
- package/dist/components/CheckBox.vue.js +9 -0
- package/dist/components/CheckBox.vue2.js +76 -0
- package/dist/components/CheckBox.vue3.js +11 -0
- package/dist/components/CheckBoxes.vue.js +9 -0
- package/dist/components/CheckBoxes.vue2.js +104 -0
- package/dist/components/CheckBoxes.vue3.js +7 -0
- package/dist/components/CheckButton.vue.js +9 -0
- package/dist/components/CheckButton.vue2.js +54 -0
- package/dist/components/CheckButton.vue3.js +11 -0
- package/dist/components/DatePicker.vue.js +9 -0
- package/dist/components/DatePicker.vue2.js +137 -0
- package/dist/components/DatePicker.vue3.js +15 -0
- package/dist/components/DateRangePicker.vue.js +9 -0
- package/dist/components/DateRangePicker.vue2.js +74 -0
- package/dist/components/DateRangePicker.vue3.js +9 -0
- package/dist/components/DateSelector.vue.d.ts +5 -0
- package/dist/components/DateSelector.vue.js +9 -0
- package/dist/components/DateSelector.vue2.js +174 -0
- package/dist/components/DateSelector.vue3.js +13 -0
- package/dist/components/DropdownUi.vue.d.ts +1 -0
- package/dist/components/DropdownUi.vue.js +9 -0
- package/dist/components/DropdownUi.vue2.js +65 -0
- package/dist/components/DropdownUi.vue3.js +15 -0
- package/dist/components/ErrorMessage.vue.js +9 -0
- package/dist/components/ErrorMessage.vue2.js +30 -0
- package/dist/components/ErrorMessage.vue3.js +7 -0
- package/dist/components/Icon/CalendarIcon.vue.js +15 -0
- package/dist/components/Icon/CheckIcon.vue.js +15 -0
- package/dist/components/Icon/CloseIcon.vue.js +15 -0
- package/dist/components/Icon/Folder.vue.js +15 -0
- package/dist/components/Icon/Image.vue.js +21 -0
- package/dist/components/Icon/KeyboardArrowDownIcon.vue.js +15 -0
- package/dist/components/Icon/Tag.vue.js +15 -0
- package/dist/components/InputBox.vue.js +9 -0
- package/dist/components/InputBox.vue2.js +62 -0
- package/dist/components/InputBox.vue3.js +7 -0
- package/dist/components/InputGroup.vue.js +17 -0
- package/dist/components/InputGroup.vue2.js +7 -0
- package/dist/components/LabeledCheckbox.vue.js +9 -0
- package/dist/components/LabeledCheckbox.vue2.js +60 -0
- package/dist/components/LabeledCheckbox.vue3.js +9 -0
- package/dist/components/LabeledFieldset.vue.js +9 -0
- package/dist/components/LabeledFieldset.vue2.js +29 -0
- package/dist/components/LabeledFieldset.vue3.js +11 -0
- package/dist/components/LoadingSpinner.vue.js +15 -0
- package/dist/components/ModalBox.vue.d.ts +22 -16
- package/dist/components/ModalBox.vue.js +9 -0
- package/dist/components/ModalBox.vue2.js +85 -0
- package/dist/components/ModalBox.vue3.js +23 -0
- package/dist/components/PopupBox.vue.js +9 -0
- package/dist/components/PopupBox.vue2.js +35 -0
- package/dist/components/PopupBox.vue3.js +15 -0
- package/dist/components/RadioButtons.vue.js +9 -0
- package/dist/components/RadioButtons.vue2.js +75 -0
- package/dist/components/RadioButtons.vue3.js +11 -0
- package/dist/components/SelectBox.vue.js +9 -0
- package/dist/components/SelectBox.vue2.js +109 -0
- package/dist/components/SelectBox.vue3.js +9 -0
- package/dist/components/SlideDownUi.vue.js +9 -0
- package/dist/components/SlideDownUi.vue2.js +66 -0
- package/dist/components/SlideDownUi.vue3.js +17 -0
- package/dist/components/TabUI.vue.d.ts +0 -20
- package/dist/components/TabUI.vue.js +9 -0
- package/dist/components/TabUI.vue2.js +77 -0
- package/dist/components/TabUI.vue3.js +9 -0
- package/dist/components/TextArea.vue.js +9 -0
- package/dist/components/TextArea.vue2.js +82 -0
- package/dist/components/TextArea.vue3.js +7 -0
- package/dist/components/TextBox.vue.js +9 -0
- package/dist/components/TextBox.vue2.js +76 -0
- package/dist/components/TextBox.vue3.js +7 -0
- package/dist/components/TextButton.vue.js +9 -0
- package/dist/components/TextButton.vue2.js +24 -0
- package/dist/components/TextButton.vue3.js +7 -0
- package/dist/components/ToggleButton.vue.d.ts +12 -9
- package/dist/components/ToggleButton.vue.js +9 -0
- package/dist/components/ToggleButton.vue2.js +94 -0
- package/dist/components/ToggleButton.vue3.js +13 -0
- package/dist/const/list-theme.js +65 -0
- package/dist/index.js +112 -3514
- package/dist/scripts/form-validation-manager.js +38 -0
- package/dist/scripts/unique-id.d.ts +4 -0
- package/dist/scripts/unique-id.js +9 -0
- package/dist/scripts/use-click-outside.js +13 -0
- package/dist/scripts/utils.js +21 -0
- package/dist/style.css +1 -1
- package/package.json +8 -5
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const t = "_container_28x0r_1", _ = "_horizontal_28x0r_14", o = "_pickup_28x0r_19", a = "_thumbnail_28x0r_25", n = "_heading_28x0r_42", r = "_date_28x0r_43", c = "_excerpt_28x0r_58", e = "_category_28x0r_59", i = "_tag_28x0r_60", x = "_author_28x0r_61", s = {
|
|
2
|
+
container: t,
|
|
3
|
+
horizontal: _,
|
|
4
|
+
pickup: o,
|
|
5
|
+
thumbnail: a,
|
|
6
|
+
heading: n,
|
|
7
|
+
date: r,
|
|
8
|
+
excerpt: c,
|
|
9
|
+
category: e,
|
|
10
|
+
tag: i,
|
|
11
|
+
author: x
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
x as author,
|
|
15
|
+
e as category,
|
|
16
|
+
t as container,
|
|
17
|
+
r as date,
|
|
18
|
+
s as default,
|
|
19
|
+
c as excerpt,
|
|
20
|
+
n as heading,
|
|
21
|
+
_ as horizontal,
|
|
22
|
+
o as pickup,
|
|
23
|
+
i as tag,
|
|
24
|
+
a as thumbnail
|
|
25
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { defineComponent as m, openBlock as r, createBlock as l, normalizeClass as t, withCtx as g, createVNode as i, createCommentVNode as o, unref as c } from "vue";
|
|
2
|
+
import { returnAuthor as n } from "../../../scripts/utils.js";
|
|
3
|
+
import d from "../Parts/CardContainer.vue.js";
|
|
4
|
+
import y from "../Parts/ThumbnailImage.vue.js";
|
|
5
|
+
import f from "../Parts/AuthorInfo.vue.js";
|
|
6
|
+
import u from "../Parts/CardHeading.vue.js";
|
|
7
|
+
import h from "../Parts/CategoryList.vue.js";
|
|
8
|
+
import C from "../Parts/TagList.vue.js";
|
|
9
|
+
import $ from "../Parts/PostedDate.vue.js";
|
|
10
|
+
import b from "../Parts/ExcerptText.vue.js";
|
|
11
|
+
const B = /* @__PURE__ */ m({
|
|
12
|
+
__name: "News",
|
|
13
|
+
props: {
|
|
14
|
+
article: {},
|
|
15
|
+
path: {},
|
|
16
|
+
postConfig: {},
|
|
17
|
+
categories: {}
|
|
18
|
+
},
|
|
19
|
+
setup(e) {
|
|
20
|
+
return (a, k) => e.article ? (r(), l(d, {
|
|
21
|
+
key: 0,
|
|
22
|
+
class: t(a.$style.container),
|
|
23
|
+
path: e.path
|
|
24
|
+
}, {
|
|
25
|
+
default: g(() => {
|
|
26
|
+
var s;
|
|
27
|
+
return [
|
|
28
|
+
i(y, {
|
|
29
|
+
article: e.article,
|
|
30
|
+
aspectRatio: {
|
|
31
|
+
desktop: "16/9",
|
|
32
|
+
tablet: "4/3",
|
|
33
|
+
mobile: "1/1"
|
|
34
|
+
},
|
|
35
|
+
class: t(a.$style.thumbnail),
|
|
36
|
+
style: { "grid-area": "thumbnail" }
|
|
37
|
+
}, null, 8, ["article", "class"]),
|
|
38
|
+
i($, {
|
|
39
|
+
date: e.article.date,
|
|
40
|
+
class: t(a.$style.date),
|
|
41
|
+
formatString: "yyyy.M.d",
|
|
42
|
+
fontWeight: "bold",
|
|
43
|
+
style: { "grid-area": "date" }
|
|
44
|
+
}, null, 8, ["date", "class"]),
|
|
45
|
+
e.postConfig.category && e.article.categories ? (r(), l(h, {
|
|
46
|
+
key: 0,
|
|
47
|
+
categoryIds: e.article.categories,
|
|
48
|
+
categoryData: e.categories,
|
|
49
|
+
label: {
|
|
50
|
+
color: "var(--main-color)",
|
|
51
|
+
fontSize: "small"
|
|
52
|
+
},
|
|
53
|
+
class: t(a.$style.category),
|
|
54
|
+
style: { "grid-area": "category" }
|
|
55
|
+
}, null, 8, ["categoryIds", "categoryData", "class"])) : o("", !0),
|
|
56
|
+
i(u, {
|
|
57
|
+
heading: e.article.title.rendered,
|
|
58
|
+
class: t(a.$style.heading),
|
|
59
|
+
style: { "grid-area": "heading" }
|
|
60
|
+
}, null, 8, ["heading", "class"]),
|
|
61
|
+
i(b, {
|
|
62
|
+
excerpt: e.article.excerpt.rendered,
|
|
63
|
+
class: t(a.$style.excerpt),
|
|
64
|
+
style: { "grid-area": "excerpt" }
|
|
65
|
+
}, null, 8, ["excerpt", "class"]),
|
|
66
|
+
e.postConfig.tag ? (r(), l(C, {
|
|
67
|
+
key: 1,
|
|
68
|
+
article: e.article,
|
|
69
|
+
label: {
|
|
70
|
+
color: "var(--gray)",
|
|
71
|
+
fontSize: "small"
|
|
72
|
+
},
|
|
73
|
+
class: t(a.$style.tag),
|
|
74
|
+
style: { "grid-area": "tag" }
|
|
75
|
+
}, null, 8, ["article", "class"])) : o("", !0),
|
|
76
|
+
e.postConfig.author && c(n)(e.article) ? (r(), l(f, {
|
|
77
|
+
key: 2,
|
|
78
|
+
name: (s = c(n)(e.article)) == null ? void 0 : s.name,
|
|
79
|
+
class: t(a.$style.author),
|
|
80
|
+
text: {
|
|
81
|
+
color: "var(--gray)",
|
|
82
|
+
preposition: "by"
|
|
83
|
+
},
|
|
84
|
+
fontSize: "small",
|
|
85
|
+
style: { "grid-area": "author" }
|
|
86
|
+
}, null, 8, ["name", "class"])) : o("", !0)
|
|
87
|
+
];
|
|
88
|
+
}),
|
|
89
|
+
_: 1
|
|
90
|
+
}, 8, ["class", "path"])) : o("", !0);
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
export {
|
|
94
|
+
B as default
|
|
95
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const t = "_container_209hm_1", _ = "_thumbnail_209hm_14", a = "_heading_209hm_22", n = "_category_209hm_30", e = "_tag_209hm_31", o = "_excerpt_209hm_44", c = "_author_209hm_52", h = {
|
|
2
|
+
container: t,
|
|
3
|
+
thumbnail: _,
|
|
4
|
+
heading: a,
|
|
5
|
+
category: n,
|
|
6
|
+
tag: e,
|
|
7
|
+
excerpt: o,
|
|
8
|
+
author: c
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
c as author,
|
|
12
|
+
n as category,
|
|
13
|
+
t as container,
|
|
14
|
+
h as default,
|
|
15
|
+
o as excerpt,
|
|
16
|
+
a as heading,
|
|
17
|
+
e as tag,
|
|
18
|
+
_ as thumbnail
|
|
19
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { defineComponent as d, openBlock as t, createBlock as l, normalizeClass as r, withCtx as m, createVNode as o, unref as s, createCommentVNode as i } from "vue";
|
|
2
|
+
import { returnAuthor as n } from "../../../scripts/utils.js";
|
|
3
|
+
import u from "../Parts/CardContainer.vue.js";
|
|
4
|
+
import g from "../Parts/ThumbnailImage.vue.js";
|
|
5
|
+
import y from "../Parts/AuthorInfo.vue.js";
|
|
6
|
+
import f from "../Parts/CardHeading.vue.js";
|
|
7
|
+
import h from "../Parts/CategoryList.vue.js";
|
|
8
|
+
import C from "../Parts/TagList.vue.js";
|
|
9
|
+
import k from "../Parts/PostedDate.vue.js";
|
|
10
|
+
import v from "../Parts/ExcerptText.vue.js";
|
|
11
|
+
const A = /* @__PURE__ */ d({
|
|
12
|
+
__name: "Rounded",
|
|
13
|
+
props: {
|
|
14
|
+
article: {},
|
|
15
|
+
path: {},
|
|
16
|
+
isPickUpItem: { type: Boolean },
|
|
17
|
+
postConfig: {},
|
|
18
|
+
categories: {}
|
|
19
|
+
},
|
|
20
|
+
setup(e) {
|
|
21
|
+
return (a, $) => e.article ? (t(), l(u, {
|
|
22
|
+
key: 0,
|
|
23
|
+
path: e.path,
|
|
24
|
+
class: r([a.$style.container, { [a.$style.pickup]: e.isPickUpItem }])
|
|
25
|
+
}, {
|
|
26
|
+
default: m(() => {
|
|
27
|
+
var c;
|
|
28
|
+
return [
|
|
29
|
+
o(g, {
|
|
30
|
+
article: e.article,
|
|
31
|
+
class: r(a.$style.thumbnail),
|
|
32
|
+
style: { "grid-area": "thumbnail" }
|
|
33
|
+
}, null, 8, ["article", "class"]),
|
|
34
|
+
o(k, {
|
|
35
|
+
date: e.article.date,
|
|
36
|
+
formatString: "yy.M.d",
|
|
37
|
+
color: "var(--gray)",
|
|
38
|
+
class: r(a.$style.date),
|
|
39
|
+
style: { "grid-area": "date" }
|
|
40
|
+
}, null, 8, ["date", "class"]),
|
|
41
|
+
e.postConfig.author && s(n)(e.article) ? (t(), l(y, {
|
|
42
|
+
key: 0,
|
|
43
|
+
avatarUrls: (c = s(n)(e.article)) == null ? void 0 : c.avatar_urls,
|
|
44
|
+
thumbnail: {
|
|
45
|
+
shape: "circle"
|
|
46
|
+
},
|
|
47
|
+
class: r(a.$style.author),
|
|
48
|
+
direction: "row-reverse",
|
|
49
|
+
style: { "grid-area": "author" }
|
|
50
|
+
}, null, 8, ["avatarUrls", "class"])) : i("", !0),
|
|
51
|
+
o(f, {
|
|
52
|
+
heading: e.article.title.rendered,
|
|
53
|
+
class: r(a.$style.heading),
|
|
54
|
+
style: { "grid-area": "heading" }
|
|
55
|
+
}, null, 8, ["heading", "class"]),
|
|
56
|
+
e.postConfig.category && e.article.categories ? (t(), l(h, {
|
|
57
|
+
key: 1,
|
|
58
|
+
categoryIds: e.article.categories,
|
|
59
|
+
categoryData: e.categories,
|
|
60
|
+
icon: { color: "var(--main-color)" },
|
|
61
|
+
label: {
|
|
62
|
+
backgroundColor: "var(--main-color)",
|
|
63
|
+
color: "var(--white)",
|
|
64
|
+
fontSize: "small",
|
|
65
|
+
shape: "rounded"
|
|
66
|
+
},
|
|
67
|
+
class: r(a.$style.category),
|
|
68
|
+
style: { "grid-area": "category" }
|
|
69
|
+
}, null, 8, ["categoryIds", "categoryData", "class"])) : i("", !0),
|
|
70
|
+
e.postConfig.tag ? (t(), l(C, {
|
|
71
|
+
key: 2,
|
|
72
|
+
article: e.article,
|
|
73
|
+
icon: { color: "var(--sub-color)" },
|
|
74
|
+
label: {
|
|
75
|
+
backgroundColor: "var(--sub-color)",
|
|
76
|
+
color: "var(--white)",
|
|
77
|
+
fontSize: "smaller",
|
|
78
|
+
shape: "rounded"
|
|
79
|
+
},
|
|
80
|
+
class: r(a.$style.tag),
|
|
81
|
+
style: { "grid-area": "tag" }
|
|
82
|
+
}, null, 8, ["article", "class"])) : i("", !0),
|
|
83
|
+
o(v, {
|
|
84
|
+
excerpt: e.article.excerpt.rendered,
|
|
85
|
+
class: r(a.$style.excerpt),
|
|
86
|
+
style: { "grid-area": "excerpt" }
|
|
87
|
+
}, null, 8, ["excerpt", "class"])
|
|
88
|
+
];
|
|
89
|
+
}),
|
|
90
|
+
_: 1
|
|
91
|
+
}, 8, ["path", "class"])) : i("", !0);
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
export {
|
|
95
|
+
A as default
|
|
96
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const n = "_container_ouyg9_1", t = "_thumbnail_ouyg9_7", o = "_pickup_ouyg9_11", _ = "_heading_ouyg9_21", a = "_date_ouyg9_26", c = {
|
|
2
|
+
container: n,
|
|
3
|
+
thumbnail: t,
|
|
4
|
+
pickup: o,
|
|
5
|
+
heading: _,
|
|
6
|
+
date: a
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
n as container,
|
|
10
|
+
a as date,
|
|
11
|
+
c as default,
|
|
12
|
+
_ as heading,
|
|
13
|
+
o as pickup,
|
|
14
|
+
t as thumbnail
|
|
15
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { defineComponent as g, openBlock as r, createBlock as l, normalizeClass as t, withCtx as d, createCommentVNode as i, createVNode as o, unref as c } from "vue";
|
|
2
|
+
import { returnAuthor as s } from "../../../scripts/utils.js";
|
|
3
|
+
import y from "../Parts/CardContainer.vue.js";
|
|
4
|
+
import f from "../Parts/ThumbnailImage.vue.js";
|
|
5
|
+
import u from "../Parts/AuthorInfo.vue.js";
|
|
6
|
+
import h from "../Parts/CardHeading.vue.js";
|
|
7
|
+
import C from "../Parts/CategoryList.vue.js";
|
|
8
|
+
import $ from "../Parts/TagList.vue.js";
|
|
9
|
+
import v from "../Parts/PostedDate.vue.js";
|
|
10
|
+
import b from "../Parts/ExcerptText.vue.js";
|
|
11
|
+
const R = /* @__PURE__ */ g({
|
|
12
|
+
__name: "Row",
|
|
13
|
+
props: {
|
|
14
|
+
article: {},
|
|
15
|
+
path: {},
|
|
16
|
+
postConfig: {},
|
|
17
|
+
categories: {}
|
|
18
|
+
},
|
|
19
|
+
setup(e) {
|
|
20
|
+
return (a, k) => e.article ? (r(), l(y, {
|
|
21
|
+
key: 0,
|
|
22
|
+
class: t(a.$style.container),
|
|
23
|
+
path: e.path
|
|
24
|
+
}, {
|
|
25
|
+
default: d(() => {
|
|
26
|
+
var n, m;
|
|
27
|
+
return [
|
|
28
|
+
e.postConfig.category && e.article.categories ? (r(), l(C, {
|
|
29
|
+
key: 0,
|
|
30
|
+
categoryIds: e.article.categories,
|
|
31
|
+
categoryData: e.categories,
|
|
32
|
+
label: {
|
|
33
|
+
color: "var(--gray)",
|
|
34
|
+
fontSize: "clamp(24px, 0.55rem + 2.99vw, 40px)"
|
|
35
|
+
},
|
|
36
|
+
class: t(a.$style.category),
|
|
37
|
+
style: { "grid-area": "category" }
|
|
38
|
+
}, null, 8, ["categoryIds", "categoryData", "class"])) : i("", !0),
|
|
39
|
+
o(f, {
|
|
40
|
+
article: e.article,
|
|
41
|
+
aspectRatio: {
|
|
42
|
+
desktop: "21/9",
|
|
43
|
+
tablet: "21/9",
|
|
44
|
+
mobile: "21/9"
|
|
45
|
+
},
|
|
46
|
+
class: t(a.$style.thumbnail),
|
|
47
|
+
style: { "grid-area": "thumbnail" }
|
|
48
|
+
}, null, 8, ["article", "class"]),
|
|
49
|
+
o(v, {
|
|
50
|
+
date: e.article.date,
|
|
51
|
+
formatString: "yy.M.d",
|
|
52
|
+
class: t(a.$style.date),
|
|
53
|
+
color: "var(--gray)",
|
|
54
|
+
style: { "grid-area": "date" }
|
|
55
|
+
}, null, 8, ["date", "class"]),
|
|
56
|
+
o(h, {
|
|
57
|
+
heading: e.article.title.rendered,
|
|
58
|
+
class: t(a.$style.heading),
|
|
59
|
+
style: { "grid-area": "heading" }
|
|
60
|
+
}, null, 8, ["heading", "class"]),
|
|
61
|
+
o(b, {
|
|
62
|
+
excerpt: e.article.excerpt.rendered,
|
|
63
|
+
class: t(a.$style.excerpt),
|
|
64
|
+
fontSize: "small",
|
|
65
|
+
style: { "grid-area": "excerpt" }
|
|
66
|
+
}, null, 8, ["excerpt", "class"]),
|
|
67
|
+
e.postConfig.tag ? (r(), l($, {
|
|
68
|
+
key: 1,
|
|
69
|
+
article: e.article,
|
|
70
|
+
label: {
|
|
71
|
+
color: "var(--text-color)",
|
|
72
|
+
fontSize: "small"
|
|
73
|
+
},
|
|
74
|
+
class: t(a.$style.tag),
|
|
75
|
+
delimiter: "/",
|
|
76
|
+
style: { "grid-area": "tag" }
|
|
77
|
+
}, null, 8, ["article", "class"])) : i("", !0),
|
|
78
|
+
e.postConfig.author && c(s)(e.article) ? (r(), l(u, {
|
|
79
|
+
key: 2,
|
|
80
|
+
avatarUrls: (n = c(s)(e.article)) == null ? void 0 : n.avatar_urls,
|
|
81
|
+
name: (m = c(s)(e.article)) == null ? void 0 : m.name,
|
|
82
|
+
class: t(a.$style.author),
|
|
83
|
+
text: {
|
|
84
|
+
fontSize: "small",
|
|
85
|
+
color: "var(--gray)"
|
|
86
|
+
},
|
|
87
|
+
style: { "grid-area": "author" }
|
|
88
|
+
}, null, 8, ["avatarUrls", "name", "class"])) : i("", !0)
|
|
89
|
+
];
|
|
90
|
+
}),
|
|
91
|
+
_: 1
|
|
92
|
+
}, 8, ["class", "path"])) : i("", !0);
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
export {
|
|
96
|
+
R as default
|
|
97
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const n = "_container_qon22_1", t = "_thumbnail_qon22_34", o = "_excerpt_qon22_40", e = "_category_qon22_45", _ = "_heading_qon22_50", a = "_tag_qon22_54", c = {
|
|
2
|
+
container: n,
|
|
3
|
+
thumbnail: t,
|
|
4
|
+
excerpt: o,
|
|
5
|
+
category: e,
|
|
6
|
+
heading: _,
|
|
7
|
+
tag: a
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
e as category,
|
|
11
|
+
n as container,
|
|
12
|
+
c as default,
|
|
13
|
+
o as excerpt,
|
|
14
|
+
_ as heading,
|
|
15
|
+
a as tag,
|
|
16
|
+
t as thumbnail
|
|
17
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { defineComponent as m, openBlock as r, createBlock as l, normalizeClass as a, withCtx as g, createVNode as i, unref as s, createCommentVNode as o } from "vue";
|
|
2
|
+
import { returnAuthor as n } from "../../../scripts/utils.js";
|
|
3
|
+
import d from "../Parts/CardContainer.vue.js";
|
|
4
|
+
import y from "../Parts/ThumbnailImage.vue.js";
|
|
5
|
+
import f from "../Parts/AuthorInfo.vue.js";
|
|
6
|
+
import u from "../Parts/CardHeading.vue.js";
|
|
7
|
+
import h from "../Parts/CategoryList.vue.js";
|
|
8
|
+
import k from "../Parts/TagList.vue.js";
|
|
9
|
+
import C from "../Parts/PostedDate.vue.js";
|
|
10
|
+
import $ from "../Parts/ExcerptText.vue.js";
|
|
11
|
+
const A = /* @__PURE__ */ m({
|
|
12
|
+
__name: "Simple",
|
|
13
|
+
props: {
|
|
14
|
+
article: {},
|
|
15
|
+
path: {},
|
|
16
|
+
isPickUpItem: { type: Boolean },
|
|
17
|
+
postConfig: {},
|
|
18
|
+
categories: {}
|
|
19
|
+
},
|
|
20
|
+
setup(e) {
|
|
21
|
+
return (t, b) => e.article ? (r(), l(d, {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: a([t.$style.container, { [t.$style.pickup]: e.isPickUpItem }]),
|
|
24
|
+
path: e.path
|
|
25
|
+
}, {
|
|
26
|
+
default: g(() => {
|
|
27
|
+
var c;
|
|
28
|
+
return [
|
|
29
|
+
i(y, {
|
|
30
|
+
article: e.article,
|
|
31
|
+
aspectRatio: {
|
|
32
|
+
desktop: e.isPickUpItem ? "21/9" : "4/3",
|
|
33
|
+
tablet: e.isPickUpItem ? "21/9" : "4/3",
|
|
34
|
+
mobile: "4/3"
|
|
35
|
+
},
|
|
36
|
+
class: a(t.$style.thumbnail),
|
|
37
|
+
style: { "grid-area": "thumbnail" }
|
|
38
|
+
}, null, 8, ["article", "aspectRatio", "class"]),
|
|
39
|
+
i(u, {
|
|
40
|
+
heading: e.article.title.rendered,
|
|
41
|
+
class: a(t.$style.heading),
|
|
42
|
+
color: "var(--text-color)",
|
|
43
|
+
style: { "grid-area": "heading" }
|
|
44
|
+
}, null, 8, ["heading", "class"]),
|
|
45
|
+
e.postConfig.author && s(n)(e.article) ? (r(), l(f, {
|
|
46
|
+
key: 0,
|
|
47
|
+
name: (c = s(n)(e.article)) == null ? void 0 : c.name,
|
|
48
|
+
class: a(t.$style.author),
|
|
49
|
+
text: {
|
|
50
|
+
color: "var(--gray)",
|
|
51
|
+
preposition: "by"
|
|
52
|
+
},
|
|
53
|
+
style: { "grid-area": "author" }
|
|
54
|
+
}, null, 8, ["name", "class"])) : o("", !0),
|
|
55
|
+
e.postConfig.category && e.article.categories ? (r(), l(h, {
|
|
56
|
+
key: 1,
|
|
57
|
+
categoryIds: e.article.categories,
|
|
58
|
+
categoryData: e.categories,
|
|
59
|
+
label: {
|
|
60
|
+
color: "var(--gray)",
|
|
61
|
+
fontSize: "small",
|
|
62
|
+
fontWeight: "bold"
|
|
63
|
+
},
|
|
64
|
+
class: a(t.$style.category),
|
|
65
|
+
style: { "grid-area": "category" }
|
|
66
|
+
}, null, 8, ["categoryIds", "categoryData", "class"])) : o("", !0),
|
|
67
|
+
e.postConfig.tag ? (r(), l(k, {
|
|
68
|
+
key: 2,
|
|
69
|
+
article: e.article,
|
|
70
|
+
label: {
|
|
71
|
+
color: "var(--gray)",
|
|
72
|
+
fontSize: "small",
|
|
73
|
+
fontWeight: "bold"
|
|
74
|
+
},
|
|
75
|
+
class: a(t.$style.tag),
|
|
76
|
+
style: { "grid-area": "tag" }
|
|
77
|
+
}, null, 8, ["article", "class"])) : o("", !0),
|
|
78
|
+
i(C, {
|
|
79
|
+
date: e.article.date,
|
|
80
|
+
formatString: "yy.M.d",
|
|
81
|
+
color: "var(--gray)",
|
|
82
|
+
class: a(t.$style.date),
|
|
83
|
+
style: { "grid-area": "date" }
|
|
84
|
+
}, null, 8, ["date", "class"]),
|
|
85
|
+
i($, {
|
|
86
|
+
excerpt: e.article.excerpt.rendered,
|
|
87
|
+
class: a(t.$style.excerpt),
|
|
88
|
+
style: { "grid-area": "excerpt" }
|
|
89
|
+
}, null, 8, ["excerpt", "class"])
|
|
90
|
+
];
|
|
91
|
+
}),
|
|
92
|
+
_: 1
|
|
93
|
+
}, 8, ["class", "path"])) : o("", !0);
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
export {
|
|
97
|
+
A as default
|
|
98
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const t = "_container_96xud_1", _ = "_thumbnail_96xud_8", a = "_pickup_96xud_12", c = "_heading_96xud_42", n = "_date_96xud_43", e = "_excerpt_96xud_64", o = "_category_96xud_65", u = "_tag_96xud_66", d = "_author_96xud_67", r = {
|
|
2
|
+
container: t,
|
|
3
|
+
thumbnail: _,
|
|
4
|
+
pickup: a,
|
|
5
|
+
heading: c,
|
|
6
|
+
date: n,
|
|
7
|
+
excerpt: e,
|
|
8
|
+
category: o,
|
|
9
|
+
tag: u,
|
|
10
|
+
author: d
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
d as author,
|
|
14
|
+
o as category,
|
|
15
|
+
t as container,
|
|
16
|
+
n as date,
|
|
17
|
+
r as default,
|
|
18
|
+
e as excerpt,
|
|
19
|
+
c as heading,
|
|
20
|
+
a as pickup,
|
|
21
|
+
u as tag,
|
|
22
|
+
_ as thumbnail
|
|
23
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { defineComponent as d, openBlock as r, createBlock as l, normalizeClass as t, withCtx as g, createVNode as i, createCommentVNode as c, unref as o } from "vue";
|
|
2
|
+
import { returnAuthor as s } from "../../../scripts/utils.js";
|
|
3
|
+
import y from "../Parts/CardContainer.vue.js";
|
|
4
|
+
import u from "../Parts/ThumbnailImage.vue.js";
|
|
5
|
+
import f from "../Parts/AuthorInfo.vue.js";
|
|
6
|
+
import h from "../Parts/CardHeading.vue.js";
|
|
7
|
+
import k from "../Parts/CategoryList.vue.js";
|
|
8
|
+
import C from "../Parts/TagList.vue.js";
|
|
9
|
+
import $ from "../Parts/PostedDate.vue.js";
|
|
10
|
+
import b from "../Parts/ExcerptText.vue.js";
|
|
11
|
+
const N = /* @__PURE__ */ d({
|
|
12
|
+
__name: "Standard",
|
|
13
|
+
props: {
|
|
14
|
+
article: {},
|
|
15
|
+
path: {},
|
|
16
|
+
isPickUpItem: { type: Boolean },
|
|
17
|
+
postConfig: {},
|
|
18
|
+
categories: {}
|
|
19
|
+
},
|
|
20
|
+
setup(e) {
|
|
21
|
+
return (a, I) => e.article ? (r(), l(y, {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: t([a.$style.container, { [a.$style.pickup]: e.isPickUpItem }]),
|
|
24
|
+
path: e.path
|
|
25
|
+
}, {
|
|
26
|
+
default: g(() => {
|
|
27
|
+
var n, m;
|
|
28
|
+
return [
|
|
29
|
+
i(u, {
|
|
30
|
+
article: e.article,
|
|
31
|
+
aspectRatio: {
|
|
32
|
+
desktop: e.isPickUpItem ? "2.85/1" : "4/3",
|
|
33
|
+
tablet: e.isPickUpItem ? "2.85/1" : "4/3",
|
|
34
|
+
mobile: "4/3"
|
|
35
|
+
},
|
|
36
|
+
class: t(a.$style.thumbnail),
|
|
37
|
+
style: { "grid-area": "thumbnail" }
|
|
38
|
+
}, null, 8, ["article", "aspectRatio", "class"]),
|
|
39
|
+
i(h, {
|
|
40
|
+
heading: e.article.title.rendered,
|
|
41
|
+
class: t(a.$style.heading),
|
|
42
|
+
style: { "grid-area": "heading" }
|
|
43
|
+
}, null, 8, ["heading", "class"]),
|
|
44
|
+
e.postConfig.tag ? (r(), l(C, {
|
|
45
|
+
key: 0,
|
|
46
|
+
article: e.article,
|
|
47
|
+
label: {
|
|
48
|
+
color: "var(--gray)",
|
|
49
|
+
fontSize: "smaller"
|
|
50
|
+
},
|
|
51
|
+
class: t(a.$style.tag),
|
|
52
|
+
style: { "grid-area": "tag" }
|
|
53
|
+
}, null, 8, ["article", "class"])) : c("", !0),
|
|
54
|
+
i(b, {
|
|
55
|
+
excerpt: e.article.excerpt.rendered,
|
|
56
|
+
class: t(a.$style.excerpt),
|
|
57
|
+
style: { "grid-area": "excerpt" }
|
|
58
|
+
}, null, 8, ["excerpt", "class"]),
|
|
59
|
+
i($, {
|
|
60
|
+
date: e.article.date,
|
|
61
|
+
class: t(a.$style.date),
|
|
62
|
+
formatString: "yy.M.d",
|
|
63
|
+
color: "var(--gray)",
|
|
64
|
+
style: { "grid-area": "date" }
|
|
65
|
+
}, null, 8, ["date", "class"]),
|
|
66
|
+
e.postConfig.author && o(s)(e.article) ? (r(), l(f, {
|
|
67
|
+
key: 1,
|
|
68
|
+
avatarUrls: (n = o(s)(e.article)) == null ? void 0 : n.avatar_urls,
|
|
69
|
+
name: (m = o(s)(e.article)) == null ? void 0 : m.name,
|
|
70
|
+
class: t(a.$style.author),
|
|
71
|
+
style: { "grid-area": "author" }
|
|
72
|
+
}, null, 8, ["avatarUrls", "name", "class"])) : c("", !0),
|
|
73
|
+
e.postConfig.category && e.article.categories ? (r(), l(k, {
|
|
74
|
+
key: 2,
|
|
75
|
+
categoryIds: e.article.categories,
|
|
76
|
+
categoryData: e.categories,
|
|
77
|
+
label: {
|
|
78
|
+
backgroundColor: "var(--main-color)",
|
|
79
|
+
color: "var(--white)",
|
|
80
|
+
fontSize: "small"
|
|
81
|
+
},
|
|
82
|
+
class: t(a.$style.category),
|
|
83
|
+
style: { "grid-area": "category" }
|
|
84
|
+
}, null, 8, ["categoryIds", "categoryData", "class"])) : c("", !0)
|
|
85
|
+
];
|
|
86
|
+
}),
|
|
87
|
+
_: 1
|
|
88
|
+
}, 8, ["class", "path"])) : c("", !0);
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
export {
|
|
92
|
+
N as default
|
|
93
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const t = "_container_1g9t2_1", _ = "_thumbnail_1g9t2_6", c = "_pickup_1g9t2_10", e = "_category_1g9t2_15", n = "_date_1g9t2_19", a = "_author_1g9t2_20", o = "_heading_1g9t2_41", g = "_excerpt_1g9t2_62", r = {
|
|
2
|
+
container: t,
|
|
3
|
+
thumbnail: _,
|
|
4
|
+
pickup: c,
|
|
5
|
+
category: e,
|
|
6
|
+
date: n,
|
|
7
|
+
author: a,
|
|
8
|
+
heading: o,
|
|
9
|
+
excerpt: g
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
a as author,
|
|
13
|
+
e as category,
|
|
14
|
+
t as container,
|
|
15
|
+
n as date,
|
|
16
|
+
r as default,
|
|
17
|
+
g as excerpt,
|
|
18
|
+
o as heading,
|
|
19
|
+
c as pickup,
|
|
20
|
+
_ as thumbnail
|
|
21
|
+
};
|