@ozdao/prometheus-framework 0.1.31 → 0.1.33
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/CardOrganization-26714a5e.mjs +297 -0
- package/dist/CardOrganization-88c6d479.js +1 -0
- package/dist/Chips-0e5bdd54.js +1 -0
- package/dist/Chips-41cd6570.mjs +203 -0
- package/dist/Chips-5e32c8cb.mjs +200 -0
- package/dist/Chips-c3d7341e.js +1 -0
- package/dist/EULA-e05236af.mjs +4210 -0
- package/dist/EULA-f5fba925.js +1 -0
- package/dist/Feed-046852fc.js +1 -0
- package/dist/Feed-275a14d8.mjs +371 -0
- package/dist/Feed-4efa2a93.mjs +394 -0
- package/dist/Feed-505b3fa8.mjs +383 -0
- package/dist/Feed-acfbb839.mjs +371 -0
- package/dist/Feed-d0da2943.js +1 -0
- package/dist/Feed-e6e84388.js +1 -0
- package/dist/Feed-ee36f80b.js +1 -0
- package/dist/IconEdit-1b7b5874.js +1 -0
- package/dist/IconEdit-680dc269.mjs +339 -0
- package/dist/Image-2d2e606a.js +9 -0
- package/dist/Image-93c3a270.mjs +480 -0
- package/dist/Image-95c0fb07.mjs +480 -0
- package/dist/Image-de94b883.js +9 -0
- package/dist/Product-1892b14a.js +7 -0
- package/dist/Product-6aa1c9ee.mjs +844 -0
- package/dist/Product-6ca8d04d.js +7 -0
- package/dist/Product-d3f1d10a.mjs +844 -0
- package/dist/ProductEdit-2e309add.js +1 -0
- package/dist/ProductEdit-6abcc97b.mjs +306 -0
- package/dist/ProductEdit-8e779ed8.js +1 -0
- package/dist/ProductEdit-ebcc3f98.mjs +306 -0
- package/dist/ProfileBlogposts-62d5e809.mjs +70 -0
- package/dist/ProfileBlogposts-8c10a505.js +1 -0
- package/dist/ProfileBlogposts-a2f7cd4c.mjs +70 -0
- package/dist/ProfileBlogposts-c31917ec.js +1 -0
- package/dist/ProfileEvents-47409c9e.mjs +62 -0
- package/dist/ProfileEvents-89471c05.js +1 -0
- package/dist/ProfileEvents-db12cf78.js +1 -0
- package/dist/ProfileEvents-e070d9d4.mjs +62 -0
- package/dist/ProfileOrganizations-bee6a3ae.js +1 -0
- package/dist/ProfileOrganizations-db313b5e.mjs +219 -0
- package/dist/Publics-24f055eb.js +1 -0
- package/dist/Publics-b1cbfd97.mjs +45 -0
- package/dist/Socials-9b2d27a6.js +1 -0
- package/dist/Socials-becde7dc.mjs +275 -0
- package/dist/auth.client.cjs +7 -7
- package/dist/auth.client.js +165 -162
- package/dist/auth.server.js +4 -4
- package/dist/auth.server.mjs +4 -4
- package/dist/community.client.cjs +1 -1
- package/dist/community.client.js +218 -242
- package/dist/community.server.js +2 -2
- package/dist/community.server.mjs +2 -2
- package/dist/events.client.cjs +1 -1
- package/dist/events.client.js +5 -5
- package/dist/events.server.js +447 -262
- package/dist/events.server.mjs +447 -262
- package/dist/files.server.js +1 -1
- package/dist/files.server.mjs +1 -1
- package/dist/legal.client.cjs +1 -1
- package/dist/legal.client.js +1 -1
- package/dist/modules/community/components/sections/Feed.vue.d.ts +2 -0
- package/dist/organizations.client-6a69b54a.js +3 -0
- package/dist/organizations.client-76c3660a.mjs +3072 -0
- package/dist/organizations.client-c288ff44.mjs +3072 -0
- package/dist/organizations.client-ddbf8809.js +3 -0
- package/dist/organizations.client.cjs +1 -1
- package/dist/organizations.client.js +8 -8
- package/dist/organizations.server.js +4 -4
- package/dist/organizations.server.mjs +4 -4
- package/dist/style.css +1 -1
- package/dist/users.client.cjs +1 -1
- package/dist/users.client.js +5 -5
- package/dist/users.server.js +2 -2
- package/dist/users.server.mjs +2 -2
- package/package.json +1 -1
- package/src/components/CardHeader/CardHeader.vue +3 -3
- package/src/modules/auth/router/auth.js +1 -1
- package/src/modules/community/components/blocks/CardBlogpost.vue +2 -4
- package/src/modules/community/components/sections/Feed.vue +44 -39
- package/src/modules/community/components/sections/HotPosts.vue +9 -56
- package/src/modules/events/components/blocks/CardEvent.vue +0 -2
- package/src/modules/events/controllers/events.controller.js +55 -255
- package/src/modules/events/controllers/utils/queryProcessor.js +118 -0
- package/src/modules/events/models/event.model.js +43 -49
- package/src/modules/events/models/event.new.model.js +82 -0
- package/src/modules/files/middlewares/server/middlewareMulter.js +1 -0
- package/src/modules/globals/controllers/utils/queryProcessor.js +228 -0
- package/src/modules/globals/models/common.schema.js +14 -0
- package/src/modules/globals/models/engagement.schema.js +10 -0
- package/src/modules/globals/models/metadata.schema.js +15 -0
- package/src/modules/globals/models/ownership.schema.js +34 -0
- package/src/modules/globals/utils/seo-friendly-url.js +28 -0
- package/src/modules/legal/components/pages/legal/EULA.vue +0 -3
- package/src/modules/products/controllers/categories.controller.js +3 -0
- package/src/modules/products/models/category.model.js +63 -13
- package/src/modules/products/models/leftover.model.js +38 -17
- package/src/modules/products/models/modification.model.js +31 -14
- package/src/modules/products/models/product.model.js +37 -38
- package/src/modules/products/products.server.js +11 -1
- package/src/modules/reports/components/sections/FormReport.vue +3 -1
@@ -0,0 +1,200 @@
|
|
1
|
+
import { openBlock as o, createElementBlock as a, createElementVNode as c, withModifiers as y, createCommentVNode as i, createBlock as p, toDisplayString as d, Fragment as k, renderList as v, normalizeStyle as P, withCtx as x, reactive as R, watch as E } from "vue";
|
2
|
+
import { useRouter as U } from "vue-router";
|
3
|
+
import { P as z, D as C, _ as j } from "./IconEdit-680dc269.mjs";
|
4
|
+
import "./Button.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
5
|
+
import "./auth-98fe3efb.mjs";
|
6
|
+
import { a as M } from "./index-a661083c.mjs";
|
7
|
+
import { s as g } from "./globals-96ba60e4.mjs";
|
8
|
+
const L = {
|
9
|
+
key: 0,
|
10
|
+
class: "pd-b-zero"
|
11
|
+
}, O = { class: "w-100 flex-v-center flex-nojustify flex" }, S = { class: "w-100 flex-nowrap flex-v-center flex" }, D = ["src"], F = {
|
12
|
+
key: 2,
|
13
|
+
class: "t-semi"
|
14
|
+
}, I = { key: 1 }, A = { key: 2 }, T = { class: "d-block mn-l-auto flex-nowrap flex flex-v-center" }, V = {
|
15
|
+
key: 0,
|
16
|
+
class: "w-4r i-thin"
|
17
|
+
}, B = {
|
18
|
+
style: { position: "absolute", top: "0px", right: "0px" },
|
19
|
+
class: "br-solid br-2px br-white z-index-1 radius-big i-thin bg-second flex flex-center t-white p-small t-semi"
|
20
|
+
}, N = ["src"], H = { class: "bg-black pd-thin radius-small" }, J = /* @__PURE__ */ c("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), se = {
|
21
|
+
__name: "CardHeader",
|
22
|
+
props: [
|
23
|
+
"user",
|
24
|
+
"entity",
|
25
|
+
"entityType",
|
26
|
+
"date",
|
27
|
+
"dateFormatted",
|
28
|
+
"owner",
|
29
|
+
"creator",
|
30
|
+
"members",
|
31
|
+
"membersPhotos",
|
32
|
+
"type"
|
33
|
+
],
|
34
|
+
setup(e) {
|
35
|
+
U();
|
36
|
+
function r(n) {
|
37
|
+
const t = /* @__PURE__ */ new Date(), s = new Date(n), l = Math.abs(t - s), $ = Math.floor(l / 1e3), m = Math.floor($ / 60), h = Math.floor(m / 60), f = Math.floor(h / 24), w = Math.floor(f / 7);
|
38
|
+
return w > 0 ? `${w} week${w > 1 ? "s" : ""} ago` : f > 0 ? `${f} day${f > 1 ? "s" : ""} ago` : h > 0 ? `${h} hour${h > 1 ? "s" : ""} ago` : m > 0 ? `${m} minute${m > 1 ? "s" : ""} ago` : "Just now";
|
39
|
+
}
|
40
|
+
return (n, t) => e.owner ? (o(), a("header", L, [
|
41
|
+
c("div", O, [
|
42
|
+
c("div", S, [
|
43
|
+
e.owner.target.profile.photo.length > 0 && e.type !== "short" ? (o(), a("img", {
|
44
|
+
key: 0,
|
45
|
+
src: (n.FILE_SERVER_URL || "") + e.owner.target.profile.photo,
|
46
|
+
class: "radius-medium mn-r-thin i-thin",
|
47
|
+
onClick: t[0] || (t[0] = y((s) => n.$router.push({
|
48
|
+
name: e.owner.type === "user" ? "User Profile" : "Organization",
|
49
|
+
params: {
|
50
|
+
_id: e.owner.target._id
|
51
|
+
}
|
52
|
+
}), ["stop"]))
|
53
|
+
}, null, 8, D)) : i("", !0),
|
54
|
+
!e.owner.target.profile.photo && e.type !== "short" ? (o(), p(z, {
|
55
|
+
key: 1,
|
56
|
+
class: "radius-medium mn-r-thin i-thin",
|
57
|
+
onClick: t[1] || (t[1] = y((s) => n.$router.push({
|
58
|
+
name: e.owner.type === "user" ? "User Profile" : "Organization",
|
59
|
+
params: {
|
60
|
+
_id: e.owner.target._id
|
61
|
+
}
|
62
|
+
}), ["stop"]))
|
63
|
+
})) : i("", !0),
|
64
|
+
e.type !== "short" ? (o(), a("span", F, [
|
65
|
+
c("span", {
|
66
|
+
onClick: t[2] || (t[2] = y((s) => n.$router.push({
|
67
|
+
name: e.owner.type === "user" ? "User Profile" : "Organization",
|
68
|
+
params: {
|
69
|
+
_id: e.owner.target._id
|
70
|
+
}
|
71
|
+
}), ["stop"]))
|
72
|
+
}, d(e.owner.target.profile.name), 1),
|
73
|
+
!e.creator.hidden && e.owner.target.profile.name !== e.creator.target.profile.name ? (o(), a("span", {
|
74
|
+
key: 0,
|
75
|
+
onClick: t[3] || (t[3] = y((s) => n.$router.push({
|
76
|
+
name: "User Profile",
|
77
|
+
params: {
|
78
|
+
_id: e.creator.target._id
|
79
|
+
}
|
80
|
+
}), ["stop"]))
|
81
|
+
}, " · by " + d(e.creator.target.profile.name), 1)) : i("", !0),
|
82
|
+
e.date ? (o(), a("span", I, " · " + d(r(e.date)), 1)) : i("", !0),
|
83
|
+
e.dateFormatted ? (o(), a("span", A, " · " + d(e.dateFormatted), 1)) : i("", !0)
|
84
|
+
])) : i("", !0),
|
85
|
+
c("div", T, [
|
86
|
+
e.members ? (o(), a("div", V, [
|
87
|
+
c("span", B, d(e.members), 1),
|
88
|
+
(o(!0), a(k, null, v(e.membersPhotos.slice(0, 2), (s, l) => (o(), a("img", {
|
89
|
+
key: l,
|
90
|
+
src: (n.FILE_SERVER_URL || "") + s,
|
91
|
+
style: P({ position: "absolute", top: "0px", right: l * 20 + 20 + "%", zIndex: 1 - l }),
|
92
|
+
class: "br-solid br-2px br-white i-thin bg-grey radius-big"
|
93
|
+
}, null, 12, N))), 128))
|
94
|
+
])) : i("", !0)
|
95
|
+
]),
|
96
|
+
e.type !== "short" && e.user != e.creator.target._id ? (o(), p(C, {
|
97
|
+
key: 3,
|
98
|
+
label: "...",
|
99
|
+
align: "right",
|
100
|
+
class: "cursor-pointer z-index-2 pd-thin radius-extra"
|
101
|
+
}, {
|
102
|
+
default: x(() => [
|
103
|
+
c("section", H, [
|
104
|
+
e.user !== e.creator.target._id ? (o(), p(j, {
|
105
|
+
key: 0,
|
106
|
+
user: e.user,
|
107
|
+
type: e.entityType,
|
108
|
+
target: e.entity._id,
|
109
|
+
text: "Report",
|
110
|
+
class: "w-100"
|
111
|
+
}, {
|
112
|
+
default: x(() => [
|
113
|
+
J
|
114
|
+
]),
|
115
|
+
_: 1
|
116
|
+
}, 8, ["user", "type", "target"])) : i("", !0)
|
117
|
+
])
|
118
|
+
]),
|
119
|
+
_: 1
|
120
|
+
}, 8, ["label"])) : i("", !0)
|
121
|
+
])
|
122
|
+
])
|
123
|
+
])) : i("", !0);
|
124
|
+
}
|
125
|
+
}, b = M.create({
|
126
|
+
baseURL: process.env.API_URL,
|
127
|
+
withCredentials: !0
|
128
|
+
}), u = R({
|
129
|
+
reactions: [],
|
130
|
+
error: null
|
131
|
+
}), q = {
|
132
|
+
async read({ user: e, type: r, target: n, role: t }) {
|
133
|
+
try {
|
134
|
+
const s = await b.get("/api/reactions", { params: { user: e, type: r, target: n, role: t } });
|
135
|
+
return u.error = null, u.reactions = s.data, Promise.resolve(s.data);
|
136
|
+
} catch (s) {
|
137
|
+
return g(s), Promise.reject(s);
|
138
|
+
}
|
139
|
+
},
|
140
|
+
async create(e) {
|
141
|
+
try {
|
142
|
+
const r = await b.post("/api/reactions/create", e);
|
143
|
+
return u.error = null, Promise.resolve(r.data);
|
144
|
+
} catch (r) {
|
145
|
+
return console.log(r), g(r), Promise.reject(r);
|
146
|
+
}
|
147
|
+
},
|
148
|
+
async update(e) {
|
149
|
+
try {
|
150
|
+
const r = await b.post("/api/reactions/update", e);
|
151
|
+
return u.error = null, Promise.resolve(r.data);
|
152
|
+
} catch (r) {
|
153
|
+
return g(r), Promise.reject(r);
|
154
|
+
}
|
155
|
+
},
|
156
|
+
async delete(e) {
|
157
|
+
try {
|
158
|
+
const r = await b.post("/api/reactions/delete", e);
|
159
|
+
return u.error = null, Promise.resolve(r.data);
|
160
|
+
} catch (r) {
|
161
|
+
return g(r), Promise.reject(r);
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}, G = {
|
165
|
+
handleReactionUpdate(e, r, n) {
|
166
|
+
let t;
|
167
|
+
if (Array.isArray(e) ? t = e.find((s) => s._id === r.target) : typeof e == "object" && e._id === r.target && (t = e), t)
|
168
|
+
if (t.hasReaction = n, n)
|
169
|
+
t.reactions.push(r), t.numberOfReactions += 1;
|
170
|
+
else {
|
171
|
+
const s = t.reactions.findIndex((l) => l._id === r._id);
|
172
|
+
s !== -1 && (t.reactions.splice(s, 1), t.numberOfReactions -= 1);
|
173
|
+
}
|
174
|
+
}
|
175
|
+
};
|
176
|
+
E(u, (e) => {
|
177
|
+
});
|
178
|
+
const oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
179
|
+
__proto__: null,
|
180
|
+
actions: q,
|
181
|
+
mutations: G,
|
182
|
+
state: u
|
183
|
+
}, Symbol.toStringTag, { value: "Module" })), K = { class: "flex-v-center gap-thin flex" }, Q = { class: "pd-thin radius-small t-semi bg-main" }, W = {
|
184
|
+
key: 1,
|
185
|
+
class: "pd-thin radius-small t-semi bg-white"
|
186
|
+
}, ne = {
|
187
|
+
__name: "Chips",
|
188
|
+
props: ["chips"],
|
189
|
+
setup(e) {
|
190
|
+
return (r, n) => (o(), a("div", K, [
|
191
|
+
e.chips.length ? (o(!0), a(k, { key: 0 }, v(e.chips, (t, s) => (o(), a("div", Q, d(t.text ? t.text : t), 1))), 256)) : (o(), a("div", W, d(e.chips), 1))
|
192
|
+
]));
|
193
|
+
}
|
194
|
+
};
|
195
|
+
export {
|
196
|
+
se as _,
|
197
|
+
ne as a,
|
198
|
+
q as b,
|
199
|
+
oe as r
|
200
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const e=require("vue"),k=require("vue-router"),y=require("./IconEdit-1b7b5874.js");require("./Button.vue_vue_type_style_index_0_lang-0ea8fbf8.js");require("./auth-acbe3ae1.js");const p=require("./index-b41aac19.js"),u=require("./globals-928eb13c.js"),w={key:0,class:"pd-b-zero"},b={class:"w-100 flex-v-center flex-nojustify flex"},B={class:"w-100 flex-nowrap flex-v-center flex"},E=["src"],x={key:2,class:"t-semi"},v={key:1},$={key:2},C={class:"d-block mn-l-auto flex-nowrap flex flex-v-center"},V={key:0,class:"w-4r i-thin"},N={style:{position:"absolute",top:"0px",right:"0px"},class:"br-solid br-2px br-white z-index-1 radius-big i-thin bg-second flex flex-center t-white p-small t-semi"},P=["src"],R={class:"bg-black pd-thin radius-small"},S=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),D={__name:"CardHeader",props:["user","entity","entityType","date","dateFormatted","owner","creator","members","membersPhotos","type"],setup(t){k.useRouter();function o(s){const r=new Date,n=new Date(s),l=Math.abs(r-n),i=Math.floor(l/1e3),a=Math.floor(i/60),d=Math.floor(a/60),m=Math.floor(d/24),f=Math.floor(m/7);return f>0?`${f} week${f>1?"s":""} ago`:m>0?`${m} day${m>1?"s":""} ago`:d>0?`${d} hour${d>1?"s":""} ago`:a>0?`${a} minute${a>1?"s":""} ago`:"Just now"}return(s,r)=>{var n,l;return t.owner?(e.openBlock(),e.createElementBlock("header",w,[e.createElementVNode("div",b,[e.createElementVNode("div",B,[t.owner.target.profile.photo.length>0&&t.type!=="short"?(e.openBlock(),e.createElementBlock("img",{key:0,src:(s.FILE_SERVER_URL||"")+t.owner.target.profile.photo,class:"radius-medium mn-r-thin i-thin",onClick:r[0]||(r[0]=e.withModifiers(i=>s.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},null,8,E)):e.createCommentVNode("",!0),!t.owner.target.profile.photo&&t.type!=="short"?(e.openBlock(),e.createBlock(y.PlaceholderUserpic,{key:1,class:"radius-medium mn-r-thin i-thin",onClick:r[1]||(r[1]=e.withModifiers(i=>s.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))})):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",x,[e.createElementVNode("span",{onClick:r[2]||(r[2]=e.withModifiers(i=>s.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},e.toDisplayString(t.owner.target.profile.name),1),!t.creator.hidden&&t.owner.target.profile.name!==((n=t.creator.target.profile)==null?void 0:n.name)?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:r[3]||(r[3]=e.withModifiers(i=>s.$router.push({name:"User Profile",params:{_id:t.creator.target._id}}),["stop"]))}," · by "+e.toDisplayString((l=t.creator.target.profile)==null?void 0:l.name),1)):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",v," · "+e.toDisplayString(o(t.date)),1)):e.createCommentVNode("",!0),t.dateFormatted?(e.openBlock(),e.createElementBlock("span",$," · "+e.toDisplayString(t.dateFormatted),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",C,[t.members?(e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("span",N,e.toDisplayString(t.members),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.membersPhotos.slice(0,2),(i,a)=>(e.openBlock(),e.createElementBlock("img",{key:a,src:(s.FILE_SERVER_URL||"")+i,style:e.normalizeStyle({position:"absolute",top:"0px",right:a*20+20+"%",zIndex:1-a}),class:"br-solid br-2px br-white i-thin bg-grey radius-big"},null,12,P))),128))])):e.createCommentVNode("",!0)]),t.type!=="short"&&t.user&&t.user!=t.creator.target._id?(e.openBlock(),e.createBlock(y.Dropdown,{key:3,label:"...",align:"right",class:"cursor-pointer z-index-2 pd-thin radius-extra"},{default:e.withCtx(()=>[e.createElementVNode("section",R,[t.user!==t.creator.target._id?(e.openBlock(),e.createBlock(y._sfc_main,{key:0,user:t.user,type:t.entityType,target:t.entity._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[S]),_:1},8,["user","type","target"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)}}},h=p.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),c=e.reactive({reactions:[],error:null}),g={async read({user:t,type:o,target:s,role:r}){try{const n=await h.get("/api/reactions",{params:{user:t,type:o,target:s,role:r}});return c.error=null,c.reactions=n.data,Promise.resolve(n.data)}catch(n){return u.setError(n),Promise.reject(n)}},async create(t){try{const o=await h.post("/api/reactions/create",t);return c.error=null,Promise.resolve(o.data)}catch(o){return console.log(o),u.setError(o),Promise.reject(o)}},async update(t){try{const o=await h.post("/api/reactions/update",t);return c.error=null,Promise.resolve(o.data)}catch(o){return u.setError(o),Promise.reject(o)}},async delete(t){try{const o=await h.post("/api/reactions/delete",t);return c.error=null,Promise.resolve(o.data)}catch(o){return u.setError(o),Promise.reject(o)}}},M={handleReactionUpdate(t,o,s){let r;if(Array.isArray(t)?r=t.find(n=>n._id===o.target):typeof t=="object"&&t._id===o.target&&(r=t),r)if(r.hasReaction=s,s)r.reactions.push(o),r.numberOfReactions+=1;else{const n=r.reactions.findIndex(l=>l._id===o._id);n!==-1&&(r.reactions.splice(n,1),r.numberOfReactions-=1)}}};e.watch(c,t=>{});const U=Object.freeze(Object.defineProperty({__proto__:null,actions:g,mutations:M,state:c},Symbol.toStringTag,{value:"Module"})),z={class:"flex-v-center gap-thin flex"},j={class:"pd-thin radius-small t-semi bg-main"},L={key:1,class:"pd-thin radius-small t-semi bg-white"},q={__name:"Chips",props:["chips"],setup(t){return(o,s)=>(e.openBlock(),e.createElementBlock("div",z,[t.chips.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.chips,(r,n)=>(e.openBlock(),e.createElementBlock("div",j,e.toDisplayString(r.text?r.text:r),1))),256)):(e.openBlock(),e.createElementBlock("div",L,e.toDisplayString(t.chips),1))]))}};exports._sfc_main=D;exports._sfc_main$1=q;exports.actions=g;exports.reactions=U;
|