@happyvertical/smrt-jobs 0.34.2 → 0.34.4
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 +2 -2
- package/dist/smrt-knowledge.json +4 -4
- package/dist/svelte/components/JobDashboard.svelte +5 -25
- package/dist/svelte/components/JobDashboard.svelte.d.ts.map +1 -1
- package/dist/svelte/components/JobList.svelte +2 -0
- package/dist/svelte/components/JobList.svelte.d.ts.map +1 -1
- package/package.json +8 -7
package/dist/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"timestamp":
|
|
3
|
+
"timestamp": 1782257801387,
|
|
4
4
|
"packageName": "@happyvertical/smrt-jobs",
|
|
5
|
-
"packageVersion": "0.34.
|
|
5
|
+
"packageVersion": "0.34.4",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-jobs:SmrtJobEvent": {
|
|
8
8
|
"name": "smrtjobevent",
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-06-
|
|
3
|
+
"generatedAt": "2026-06-23T23:36:43.306Z",
|
|
4
4
|
"packageName": "@happyvertical/smrt-jobs",
|
|
5
|
-
"packageVersion": "0.34.
|
|
5
|
+
"packageVersion": "0.34.4",
|
|
6
6
|
"sourceManifestPath": "dist/manifest.json",
|
|
7
7
|
"agentDocPath": "AGENTS.md",
|
|
8
8
|
"sourceHashes": {
|
|
9
|
-
"manifest": "
|
|
10
|
-
"packageJson": "
|
|
9
|
+
"manifest": "6251e9a8711a876ff5e0bcb533ae582110a4db665114ddc6e93714cc18863120",
|
|
10
|
+
"packageJson": "db6d7d236175de353654907eeb0d5a705182a38c6c0657d591ab4f6eea25df6e",
|
|
11
11
|
"agents": "2684535d0fdc2f7d44296046cc8ea4a2cb7c0a14089b6910f29dd2e7194e2015"
|
|
12
12
|
},
|
|
13
13
|
"exports": [
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { useI18n } from '@happyvertical/smrt-ui/i18n';
|
|
7
|
-
import { Card } from '@happyvertical/smrt-ui/ui';
|
|
7
|
+
import { Button, Card } from '@happyvertical/smrt-ui/ui';
|
|
8
8
|
import { M } from '../i18n.js';
|
|
9
9
|
import JobList from './JobList.svelte';
|
|
10
10
|
import JobStatsSummary from './JobStats.svelte';
|
|
@@ -63,7 +63,7 @@ let {
|
|
|
63
63
|
<div class="panel-header">
|
|
64
64
|
<h2>{t(M['jobs.job_dashboard.recent_jobs'])}</h2>
|
|
65
65
|
{#if onViewAll}
|
|
66
|
-
<
|
|
66
|
+
<Button variant="ghost" size="sm" onclick={onViewAll}>{t(M['jobs.job_dashboard.view_all'])}</Button>
|
|
67
67
|
{/if}
|
|
68
68
|
</div>
|
|
69
69
|
{/snippet}
|
|
@@ -89,9 +89,9 @@ let {
|
|
|
89
89
|
<div class="panel-header panel-header--error">
|
|
90
90
|
<h2>{t(M['jobs.job_dashboard.failed_jobs'])}</h2>
|
|
91
91
|
{#if onViewFailed}
|
|
92
|
-
<
|
|
93
|
-
|
|
94
|
-
>
|
|
92
|
+
<Button variant="ghost" size="sm" onclick={onViewFailed}>
|
|
93
|
+
{t(M['jobs.job_dashboard.view_all_count'], { count: stats.failed })}
|
|
94
|
+
</Button>
|
|
95
95
|
{/if}
|
|
96
96
|
</div>
|
|
97
97
|
{/snippet}
|
|
@@ -166,21 +166,6 @@ let {
|
|
|
166
166
|
color: var(--smrt-color-error, #ba1a1a);
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
.view-all-btn {
|
|
170
|
-
padding: var(--smrt-spacing-xs, 0.25rem) var(--smrt-spacing-sm, 0.5rem);
|
|
171
|
-
border: none;
|
|
172
|
-
background: none;
|
|
173
|
-
color: var(--smrt-color-primary, #005ac1);
|
|
174
|
-
font: var(--smrt-typography-label-large-font, 500 0.875rem / 1.25 sans-serif);
|
|
175
|
-
cursor: pointer;
|
|
176
|
-
border-radius: var(--smrt-radius-small, 0.25rem);
|
|
177
|
-
transition: background-color var(--smrt-duration-short2, 150ms) var(--smrt-easing-standard, ease);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.view-all-btn:hover {
|
|
181
|
-
background: var(--smrt-color-primary-container, #d6e3ff);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
169
|
.empty-message {
|
|
185
170
|
padding: var(--smrt-spacing-md, 1rem);
|
|
186
171
|
text-align: center;
|
|
@@ -191,9 +176,4 @@ let {
|
|
|
191
176
|
color: var(--smrt-color-tertiary, #006c4f);
|
|
192
177
|
}
|
|
193
178
|
|
|
194
|
-
@media (prefers-reduced-motion: reduce) {
|
|
195
|
-
.view-all-btn {
|
|
196
|
-
transition: none;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
179
|
</style>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JobDashboard.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/JobDashboard.svelte.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGhE,MAAM,WAAW,KAAK;IACpB,sBAAsB;IACtB,KAAK,EAAE,QAAQ,CAAC;IAChB,sBAAsB;IACtB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;IACtB,kBAAkB;IAClB,UAAU,CAAC,EAAE,OAAO,EAAE,CAAC;IACvB,kBAAkB;IAClB,UAAU,CAAC,EAAE,OAAO,EAAE,CAAC;IACvB,oBAAoB;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mCAAmC;IACnC,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,qCAAqC;IACrC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IAClC,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;
|
|
1
|
+
{"version":3,"file":"JobDashboard.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/JobDashboard.svelte.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGhE,MAAM,WAAW,KAAK;IACpB,sBAAsB;IACtB,KAAK,EAAE,QAAQ,CAAC;IAChB,sBAAsB;IACtB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;IACtB,kBAAkB;IAClB,UAAU,CAAC,EAAE,OAAO,EAAE,CAAC;IACvB,kBAAkB;IAClB,UAAU,CAAC,EAAE,OAAO,EAAE,CAAC;IACvB,oBAAoB;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mCAAmC;IACnC,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,qCAAqC;IACrC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IAClC,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAuFD,QAAA,MAAM,YAAY,2CAAwC,CAAC;AAC3D,KAAK,YAAY,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AACpD,eAAe,YAAY,CAAC"}
|
|
@@ -111,6 +111,7 @@ function setIndeterminate(node: HTMLInputElement, value: boolean) {
|
|
|
111
111
|
<tr>
|
|
112
112
|
{#if selectable}
|
|
113
113
|
<th class="job-list__cell job-list__cell--checkbox">
|
|
114
|
+
<!-- raw-primitive-allow: the CheckboxInput form primitive lives in @happyvertical/smrt-svelte, which transitively depends on smrt-jobs (smrt-svelte to smrt-languages to smrt-jobs), so importing it would close a DAG cycle (#1582); this select-all control also needs the use:setIndeterminate action, which cannot be applied to a component -->
|
|
114
115
|
<input
|
|
115
116
|
type="checkbox"
|
|
116
117
|
checked={allSelected}
|
|
@@ -171,6 +172,7 @@ function setIndeterminate(node: HTMLInputElement, value: boolean) {
|
|
|
171
172
|
>
|
|
172
173
|
{#if selectable}
|
|
173
174
|
<td class="job-list__cell job-list__cell--checkbox">
|
|
175
|
+
<!-- raw-primitive-allow: the CheckboxInput form primitive lives in @happyvertical/smrt-svelte, which transitively depends on smrt-jobs (smrt-svelte to smrt-languages to smrt-jobs), so importing it would close a DAG cycle (#1582); native checkbox keeps full keyboard/AT a11y -->
|
|
174
176
|
<input
|
|
175
177
|
type="checkbox"
|
|
176
178
|
checked={isSelected}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JobList.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/JobList.svelte.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAItC,OAAO,KAAK,EAAE,OAAO,EAAsB,MAAM,YAAY,CAAC;AAI9D,MAAM,WAAW,KAAK;IACpB,sBAAsB;IACtB,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,oBAAoB;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sBAAsB;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uBAAuB;IACvB,QAAQ,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACvB,0BAA0B;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,s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AK,IAAI,CAAC;IAClC,0BAA0B;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAyLD,QAAA,MAAM,OAAO,mDAAwC,CAAC;AACtD,KAAK,OAAO,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAC1C,eAAe,OAAO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-jobs",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.4",
|
|
4
4
|
"description": "Background job processing for SMRT objects with persistence and scheduling",
|
|
5
5
|
"author": "HappyVertical",
|
|
6
6
|
"type": "module",
|
|
7
|
+
"smrtRawPrimitives": "strict",
|
|
7
8
|
"main": "./dist/index.js",
|
|
8
9
|
"types": "./dist/index.d.ts",
|
|
9
10
|
"files": [
|
|
@@ -53,11 +54,11 @@
|
|
|
53
54
|
"@happyvertical/logger": "^0.74.7",
|
|
54
55
|
"@happyvertical/sql": "^0.74.7",
|
|
55
56
|
"@happyvertical/utils": "^0.74.7",
|
|
56
|
-
"@happyvertical/smrt-config": "0.34.
|
|
57
|
-
"@happyvertical/smrt-core": "0.34.
|
|
58
|
-
"@happyvertical/smrt-tenancy": "0.34.
|
|
59
|
-
"@happyvertical/smrt-types": "0.34.
|
|
60
|
-
"@happyvertical/smrt-ui": "0.34.
|
|
57
|
+
"@happyvertical/smrt-config": "0.34.4",
|
|
58
|
+
"@happyvertical/smrt-core": "0.34.4",
|
|
59
|
+
"@happyvertical/smrt-tenancy": "0.34.4",
|
|
60
|
+
"@happyvertical/smrt-types": "0.34.4",
|
|
61
|
+
"@happyvertical/smrt-ui": "0.34.4"
|
|
61
62
|
},
|
|
62
63
|
"devDependencies": {
|
|
63
64
|
"@sveltejs/package": "^2.5.7",
|
|
@@ -68,7 +69,7 @@
|
|
|
68
69
|
"typescript": "^5.9.3",
|
|
69
70
|
"vite": "^7.3.1",
|
|
70
71
|
"vitest": "^4.0.17",
|
|
71
|
-
"@happyvertical/smrt-vitest": "0.34.
|
|
72
|
+
"@happyvertical/smrt-vitest": "0.34.4"
|
|
72
73
|
},
|
|
73
74
|
"publishConfig": {
|
|
74
75
|
"registry": "https://registry.npmjs.org",
|