@feedlog-ai/vue 0.0.28 → 0.0.29
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 +6 -0
- package/dist/components.d.ts.map +1 -1
- package/dist/components.js +88 -14
- package/dist/components.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,6 +17,12 @@ Vue bindings for Feedlog Toolkit web components. Auto-generated from Stencil com
|
|
|
17
17
|
npm install @feedlog-ai/vue
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
+
## Server-Side Rendering (SSR)
|
|
21
|
+
|
|
22
|
+
The Vue components fully support Server-Side Rendering (SSR).
|
|
23
|
+
|
|
24
|
+
If you are using **Nuxt**, no additional configuration is required! Nuxt will automatically detect and server-side render the Stencil web components as Declarative Shadow DOM and hydrate them on the client. Just install and use them normally.
|
|
25
|
+
|
|
20
26
|
## Components
|
|
21
27
|
|
|
22
28
|
### FeedlogIssuesClient
|
package/dist/components.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAGA,OAAO,EAA8C,KAAK,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAE1H,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAOrD,eAAO,MAAM,YAAY,EAAE,mBAAmB,CAAC,GAAG,CAAC,YAAY,CAQ7D,CAAC;AAGH,eAAO,MAAM,aAAa,EAAE,mBAAmB,CAAC,GAAG,CAAC,aAAa,CAkB/D,CAAC;AAGH,eAAO,MAAM,WAAW,EAAE,mBAAmB,CAAC,GAAG,CAAC,WAAW,CAM3D,CAAC;AAGH,eAAO,MAAM,YAAY,EAAE,mBAAmB,CAAC,GAAG,CAAC,YAAY,CAe7D,CAAC;AAGH,eAAO,MAAM,aAAa,EAAE,mBAAmB,CAAC,GAAG,CAAC,aAAa,CAqC/D,CAAC;AAGH,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,GAAG,CAAC,mBAAmB,CAoC3E,CAAC;AAGH,eAAO,MAAM,iBAAiB,EAAE,mBAAmB,CAAC,GAAG,CAAC,iBAAiB,CAoBvE,CAAC"}
|
package/dist/components.js
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* auto-generated vue proxies */
|
|
4
|
-
import { defineContainer } from '@stencil/vue-output-target/runtime';
|
|
4
|
+
import { defineContainer, defineStencilSSRComponent } from '@stencil/vue-output-target/runtime';
|
|
5
5
|
import { defineCustomElements } from '@feedlog-ai/webcomponents/loader';
|
|
6
6
|
defineCustomElements();
|
|
7
|
-
export const FeedlogBadge = /*@__PURE__*/ defineContainer('feedlog-badge', undefined, [
|
|
7
|
+
export const FeedlogBadge = /*@__PURE__*/ globalThis.window ? defineContainer('feedlog-badge', undefined, [
|
|
8
8
|
'variant'
|
|
9
|
-
])
|
|
10
|
-
|
|
9
|
+
]) : defineStencilSSRComponent({
|
|
10
|
+
tagName: 'feedlog-badge',
|
|
11
|
+
hydrateModule: import('@feedlog-ai/webcomponents/hydrate'),
|
|
12
|
+
props: {
|
|
13
|
+
'variant': [String, "variant"]
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
export const FeedlogButton = /*@__PURE__*/ globalThis.window ? defineContainer('feedlog-button', undefined, [
|
|
11
17
|
'variant',
|
|
12
18
|
'size',
|
|
13
19
|
'disabled',
|
|
@@ -15,17 +21,39 @@ export const FeedlogButton = /*@__PURE__*/ defineContainer('feedlog-button', und
|
|
|
15
21
|
'feedlogClick'
|
|
16
22
|
], [
|
|
17
23
|
'feedlogClick'
|
|
18
|
-
])
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
]) : defineStencilSSRComponent({
|
|
25
|
+
tagName: 'feedlog-button',
|
|
26
|
+
hydrateModule: import('@feedlog-ai/webcomponents/hydrate'),
|
|
27
|
+
props: {
|
|
28
|
+
'variant': [String, "variant"],
|
|
29
|
+
'size': [String, "size"],
|
|
30
|
+
'disabled': [Boolean, "disabled"],
|
|
31
|
+
'type': [String, "type"],
|
|
32
|
+
'onFeedlogClick': [Function]
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
export const FeedlogCard = /*@__PURE__*/ globalThis.window ? defineContainer('feedlog-card', undefined) : defineStencilSSRComponent({
|
|
36
|
+
tagName: 'feedlog-card',
|
|
37
|
+
hydrateModule: import('@feedlog-ai/webcomponents/hydrate'),
|
|
38
|
+
props: {}
|
|
39
|
+
});
|
|
40
|
+
export const FeedlogIssue = /*@__PURE__*/ globalThis.window ? defineContainer('feedlog-issue', undefined, [
|
|
21
41
|
'issue',
|
|
22
42
|
'issueUrl',
|
|
23
43
|
'theme',
|
|
24
44
|
'feedlogUpvote'
|
|
25
45
|
], [
|
|
26
46
|
'feedlogUpvote'
|
|
27
|
-
])
|
|
28
|
-
|
|
47
|
+
]) : defineStencilSSRComponent({
|
|
48
|
+
tagName: 'feedlog-issue',
|
|
49
|
+
hydrateModule: import('@feedlog-ai/webcomponents/hydrate'),
|
|
50
|
+
props: {
|
|
51
|
+
'issueUrl': [String, "issue-url"],
|
|
52
|
+
'theme': [String, "theme"],
|
|
53
|
+
'onFeedlogUpvote': [Function]
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export const FeedlogIssues = /*@__PURE__*/ globalThis.window ? defineContainer('feedlog-issues', undefined, [
|
|
29
57
|
'issues',
|
|
30
58
|
'maxWidth',
|
|
31
59
|
'limit',
|
|
@@ -44,8 +72,26 @@ export const FeedlogIssues = /*@__PURE__*/ defineContainer('feedlog-issues', und
|
|
|
44
72
|
], [
|
|
45
73
|
'feedlogUpvote',
|
|
46
74
|
'feedlogLoadMore'
|
|
47
|
-
])
|
|
48
|
-
|
|
75
|
+
]) : defineStencilSSRComponent({
|
|
76
|
+
tagName: 'feedlog-issues',
|
|
77
|
+
hydrateModule: import('@feedlog-ai/webcomponents/hydrate'),
|
|
78
|
+
props: {
|
|
79
|
+
'maxWidth': [String, "max-width"],
|
|
80
|
+
'limit': [Number, "limit"],
|
|
81
|
+
'theme': [String, "theme"],
|
|
82
|
+
'heading': [String, "heading"],
|
|
83
|
+
'subtitle': [String, "subtitle"],
|
|
84
|
+
'emptyStateTitle': [String, "empty-state-title"],
|
|
85
|
+
'emptyStateMessage': [String, "empty-state-message"],
|
|
86
|
+
'loading': [Boolean, "loading"],
|
|
87
|
+
'error': [String, "error"],
|
|
88
|
+
'hasMore': [Boolean, "has-more"],
|
|
89
|
+
'isLoadingMore': [Boolean, "is-loading-more"],
|
|
90
|
+
'onFeedlogUpvote': [Function],
|
|
91
|
+
'onFeedlogLoadMore': [Function]
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
export const FeedlogIssuesClient = /*@__PURE__*/ globalThis.window ? defineContainer('feedlog-issues-client', undefined, [
|
|
49
95
|
'apiKey',
|
|
50
96
|
'type',
|
|
51
97
|
'limit',
|
|
@@ -63,8 +109,26 @@ export const FeedlogIssuesClient = /*@__PURE__*/ defineContainer('feedlog-issues
|
|
|
63
109
|
], [
|
|
64
110
|
'feedlogUpvote',
|
|
65
111
|
'feedlogError'
|
|
66
|
-
])
|
|
67
|
-
|
|
112
|
+
]) : defineStencilSSRComponent({
|
|
113
|
+
tagName: 'feedlog-issues-client',
|
|
114
|
+
hydrateModule: import('@feedlog-ai/webcomponents/hydrate'),
|
|
115
|
+
props: {
|
|
116
|
+
'apiKey': [String, "api-key"],
|
|
117
|
+
'type': [String, "type"],
|
|
118
|
+
'limit': [Number, "limit"],
|
|
119
|
+
'sortBy': [String, "sort-by"],
|
|
120
|
+
'endpoint': [String, "endpoint"],
|
|
121
|
+
'maxWidth': [String, "max-width"],
|
|
122
|
+
'theme': [String, "theme"],
|
|
123
|
+
'heading': [String, "heading"],
|
|
124
|
+
'subtitle': [String, "subtitle"],
|
|
125
|
+
'emptyStateTitle': [String, "empty-state-title"],
|
|
126
|
+
'emptyStateMessage': [String, "empty-state-message"],
|
|
127
|
+
'onFeedlogUpvote': [Function],
|
|
128
|
+
'onFeedlogError': [Function]
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
export const FeedlogIssuesList = /*@__PURE__*/ globalThis.window ? defineContainer('feedlog-issues-list', undefined, [
|
|
68
132
|
'issues',
|
|
69
133
|
'limit',
|
|
70
134
|
'theme',
|
|
@@ -74,5 +138,15 @@ export const FeedlogIssuesList = /*@__PURE__*/ defineContainer('feedlog-issues-l
|
|
|
74
138
|
'feedlogUpvote'
|
|
75
139
|
], [
|
|
76
140
|
'feedlogUpvote'
|
|
77
|
-
])
|
|
141
|
+
]) : defineStencilSSRComponent({
|
|
142
|
+
tagName: 'feedlog-issues-list',
|
|
143
|
+
hydrateModule: import('@feedlog-ai/webcomponents/hydrate'),
|
|
144
|
+
props: {
|
|
145
|
+
'limit': [Number, "limit"],
|
|
146
|
+
'theme': [String, "theme"],
|
|
147
|
+
'emptyStateTitle': [String, "empty-state-title"],
|
|
148
|
+
'emptyStateMessage': [String, "empty-state-message"],
|
|
149
|
+
'onFeedlogUpvote': [Function]
|
|
150
|
+
}
|
|
151
|
+
});
|
|
78
152
|
//# sourceMappingURL=components.js.map
|
package/dist/components.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,gCAAgC;AAChC,OAAO,EAAE,eAAe,EAA4B,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,gCAAgC;AAChC,OAAO,EAAE,eAAe,EAAE,yBAAyB,EAA4B,MAAM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AAO,CAAC;QAC1B,SAAS,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;QAC9B,UAAU,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;QAChC,iBAAiB,EAAE,CAAC,MAAM,EAAE,mBAAmB,CAAC;QAChD,mBAAmB,EAAE,CAAC,MAAM,EAAE,qBAAqB,CAAC;QACpD,iBAAiB,EAAE,CAAC,QAAQ,CAAC;QAC7B,gBAAgB,EAAE,CAAC,QAAQ,CAAC;KAC7B;CACF,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,iBAAiB,GAA+C,aAAa,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,eAAe,CAAwB,qBAAqB,EAAE,SAAS,EAAE;IACtL,QAAQ;IACR,OAAO;IACP,OAAO;IACP,aAAa;IACb,iBAAiB;IACjB,mBAAmB;IACnB,eAAe;CAChB,EAAE;IACD,eAAe;CAChB,CAAC,CAAC,CAAC,CAAC,yBAAyB,CAAwB;IACpD,OAAO,EAAE,qBAAqB;IAC9B,aAAa,EAAE,MAAM,CAAC,mCAAmC,CAAC;IAC1D,KAAK,EAAE;QACL,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QAC1B,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QAC1B,iBAAiB,EAAE,CAAC,MAAM,EAAE,mBAAmB,CAAC;QAChD,mBAAmB,EAAE,CAAC,MAAM,EAAE,qBAAqB,CAAC;QACpD,iBAAiB,EAAE,CAAC,QAAQ,CAAC;KAC9B;CACF,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedlog-ai/vue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.29",
|
|
4
4
|
"description": "Vue bindings for Feedlog Toolkit Web Components",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"vue": ">=3.0.0 || >=2.6.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@feedlog-ai/webcomponents": "^0.0.
|
|
30
|
+
"@feedlog-ai/webcomponents": "^0.0.29"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@jest/test-sequencer": "^29.7.0",
|