@happyvertical/smrt-social 0.34.0 → 0.34.2
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/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"timestamp":
|
|
3
|
+
"timestamp": 1782251602648,
|
|
4
4
|
"packageName": "@happyvertical/smrt-social",
|
|
5
|
-
"packageVersion": "0.34.
|
|
5
|
+
"packageVersion": "0.34.2",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-social:OAuthState": {
|
|
8
8
|
"name": "oauthstate",
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-06-
|
|
3
|
+
"generatedAt": "2026-06-23T21:53:22.886Z",
|
|
4
4
|
"packageName": "@happyvertical/smrt-social",
|
|
5
|
-
"packageVersion": "0.34.
|
|
5
|
+
"packageVersion": "0.34.2",
|
|
6
6
|
"sourceManifestPath": "dist/manifest.json",
|
|
7
7
|
"agentDocPath": "AGENTS.md",
|
|
8
8
|
"sourceHashes": {
|
|
9
|
-
"manifest": "
|
|
10
|
-
"packageJson": "
|
|
9
|
+
"manifest": "c1a912b1c2cc26c782f6b1025a06b980ab8fa0b7d5742288e66d76d77a6bbd75",
|
|
10
|
+
"packageJson": "e2d539ceb445303e451c714a51180e3cf0984c11992053739daa32271d594820",
|
|
11
11
|
"agents": "e52e321d32201085477380f355cbb533f5d931e2701cd4d2ceeda0d7c8720957"
|
|
12
12
|
},
|
|
13
13
|
"exports": [
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { useI18n } from '@happyvertical/smrt-ui/i18n';
|
|
3
|
+
import { Button } from '@happyvertical/smrt-ui/ui';
|
|
3
4
|
import type { SocialPlatformType } from '../../social-account.js';
|
|
4
5
|
import { M } from '../i18n.js';
|
|
5
6
|
import type { SocialAccountSettingsItem } from '../types.js';
|
|
@@ -46,7 +47,7 @@ function statusLabel(account: SocialAccountSettingsItem): string {
|
|
|
46
47
|
<p>{accounts.length === 1 ? t(M['social.account_settings.configured_one'], { count: accounts.length }) : t(M['social.account_settings.configured_other'], { count: accounts.length })}</p>
|
|
47
48
|
</div>
|
|
48
49
|
{#if onRefresh}
|
|
49
|
-
<
|
|
50
|
+
<Button variant="secondary" onclick={() => onRefresh?.()} disabled={loading}>Refresh</Button>
|
|
50
51
|
{/if}
|
|
51
52
|
</header>
|
|
52
53
|
|
|
@@ -54,9 +55,9 @@ function statusLabel(account: SocialAccountSettingsItem): string {
|
|
|
54
55
|
<div class="connect-row" aria-label={t(M['social.account_settings.connect_aria'])}>
|
|
55
56
|
{#each platforms as item}
|
|
56
57
|
{#if connectHrefs[item.platform]}
|
|
57
|
-
<
|
|
58
|
+
<Button variant="primary" href={connectHrefs[item.platform]}>{item.label}</Button>
|
|
58
59
|
{:else}
|
|
59
|
-
<
|
|
60
|
+
<Button variant="primary" disabled>{item.label}</Button>
|
|
60
61
|
{/if}
|
|
61
62
|
{/each}
|
|
62
63
|
</div>
|
|
@@ -92,13 +93,13 @@ function statusLabel(account: SocialAccountSettingsItem): string {
|
|
|
92
93
|
<div class="account-actions">
|
|
93
94
|
<span class:attention={account.needsAttention} class="status">{statusLabel(account)}</span>
|
|
94
95
|
{#if account.platformUrl}
|
|
95
|
-
<
|
|
96
|
+
<Button variant="secondary" href={account.platformUrl} target="_blank" rel="noreferrer">Open</Button>
|
|
96
97
|
{/if}
|
|
97
98
|
{#if onTest}
|
|
98
|
-
<
|
|
99
|
+
<Button variant="secondary" onclick={() => onTest?.(account)}>Test</Button>
|
|
99
100
|
{/if}
|
|
100
101
|
{#if !readonly && onDeactivate && account.isActive}
|
|
101
|
-
<
|
|
102
|
+
<Button variant="danger" onclick={() => onDeactivate?.(account)}>Deactivate</Button>
|
|
102
103
|
{/if}
|
|
103
104
|
</div>
|
|
104
105
|
</article>
|
|
@@ -189,39 +190,6 @@ function statusLabel(account: SocialAccountSettingsItem): string {
|
|
|
189
190
|
gap: 0.5rem;
|
|
190
191
|
}
|
|
191
192
|
|
|
192
|
-
button,
|
|
193
|
-
a {
|
|
194
|
-
border: 1px solid var(--smrt-color-outline-variant, #d1d5db);
|
|
195
|
-
border-radius: var(--smrt-radius-md, 8px);
|
|
196
|
-
background: var(--smrt-color-surface, #fff);
|
|
197
|
-
color: var(--smrt-color-on-surface, #111827);
|
|
198
|
-
cursor: pointer;
|
|
199
|
-
font: inherit;
|
|
200
|
-
font-size: var(--smrt-typography-label-large-size, 0.82rem);
|
|
201
|
-
line-height: 1;
|
|
202
|
-
padding: 0.55rem 0.7rem;
|
|
203
|
-
text-decoration: none;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
button:disabled {
|
|
207
|
-
cursor: not-allowed;
|
|
208
|
-
opacity: 0.55;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.connect-button {
|
|
212
|
-
background: var(--smrt-color-primary, #2563eb);
|
|
213
|
-
border-color: var(--smrt-color-primary, #2563eb);
|
|
214
|
-
color: var(--smrt-color-on-primary, #fff);
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.secondary {
|
|
218
|
-
background: var(--smrt-color-surface-container, #f3f4f6);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.danger {
|
|
222
|
-
color: var(--smrt-color-error, #b91c1c);
|
|
223
|
-
}
|
|
224
|
-
|
|
225
193
|
.empty {
|
|
226
194
|
border: 1px dashed var(--smrt-color-outline-variant, #d1d5db);
|
|
227
195
|
border-radius: var(--smrt-radius-md, 8px);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialAccountSettings.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/SocialAccountSettings.svelte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SocialAccountSettings.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/SocialAccountSettings.svelte.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAE5D,KAAK,gBAAgB,GAAI;IACxB,QAAQ,CAAC,EAAE,yBAAyB,EAAE,CAAC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;IAC3D,SAAS,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,yBAAyB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtE,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,yBAAyB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7E,CAAC;AA2GF,QAAA,MAAM,qBAAqB,sDAAwC,CAAC;AACpE,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACtE,eAAe,qBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-social",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Social media account management for multi-platform publishing in the SMRT ecosystem",
|
|
6
6
|
"author": "HappyVertical",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@happyvertical/utils": "^0.74.7",
|
|
42
|
-
"@happyvertical/smrt-config": "0.34.
|
|
43
|
-
"@happyvertical/smrt-content": "0.34.
|
|
44
|
-
"@happyvertical/smrt-
|
|
45
|
-
"@happyvertical/smrt-tenancy": "0.34.
|
|
46
|
-
"@happyvertical/smrt-
|
|
47
|
-
"@happyvertical/smrt-ui": "0.34.
|
|
48
|
-
"@happyvertical/smrt-video": "0.34.
|
|
42
|
+
"@happyvertical/smrt-config": "0.34.2",
|
|
43
|
+
"@happyvertical/smrt-content": "0.34.2",
|
|
44
|
+
"@happyvertical/smrt-secrets": "0.34.2",
|
|
45
|
+
"@happyvertical/smrt-tenancy": "0.34.2",
|
|
46
|
+
"@happyvertical/smrt-core": "0.34.2",
|
|
47
|
+
"@happyvertical/smrt-ui": "0.34.2",
|
|
48
|
+
"@happyvertical/smrt-video": "0.34.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@happyvertical/logger": "^0.74.7",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"typescript": "^5.9.3",
|
|
58
58
|
"vite": "^7.3.1",
|
|
59
59
|
"vitest": "^4.0.17",
|
|
60
|
-
"@happyvertical/smrt-vitest": "0.34.
|
|
60
|
+
"@happyvertical/smrt-vitest": "0.34.2"
|
|
61
61
|
},
|
|
62
62
|
"keywords": [
|
|
63
63
|
"social",
|