@happyvertical/smrt-support 0.60.15 → 0.60.17
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +1 -1
- package/dist/smrt-knowledge.json +3 -3
- package/dist/svelte/components/CaseDetail.svelte +82 -86
- package/dist/svelte/components/CaseQueue.svelte +37 -34
- package/dist/svelte/components/RoutingRationale.svelte +32 -32
- package/dist/svelte/components/TargetList.svelte +34 -34
- package/package.json +13 -13
|
@@ -37,25 +37,25 @@ function formatDue(iso: string | null): string {
|
|
|
37
37
|
</script>
|
|
38
38
|
|
|
39
39
|
{#if targets.length === 0}
|
|
40
|
-
<p class="target-
|
|
40
|
+
<p class="smrt-target-list__empty" data-smrt-component="TargetList" >{emptyMessage}</p>
|
|
41
41
|
{:else}
|
|
42
|
-
<ul class="target-
|
|
42
|
+
<ul class="smrt-target-list__root" data-smrt-component="TargetList">
|
|
43
43
|
{#each targets as target (target.id)}
|
|
44
|
-
<li class="target-
|
|
45
|
-
<span class="target-
|
|
46
|
-
<span class="target-
|
|
44
|
+
<li class="smrt-target-list__row" data-smrt-part="row">
|
|
45
|
+
<span class="smrt-target-list__main" data-smrt-part="body">
|
|
46
|
+
<span class="smrt-target-list__type" data-smrt-part="title">
|
|
47
47
|
{humanizeStatus(target.targetType)}
|
|
48
48
|
{#if target.cycle > 0}
|
|
49
|
-
<span class="target-
|
|
49
|
+
<span class="smrt-target-list__cycle" data-smrt-part="meta">cycle {target.cycle}</span>
|
|
50
50
|
{/if}
|
|
51
51
|
</span>
|
|
52
52
|
{#if target.dueAt}
|
|
53
|
-
<span class="target-
|
|
53
|
+
<span class="smrt-target-list__due" data-smrt-part="meta">due {formatDue(target.dueAt)}</span>
|
|
54
54
|
{/if}
|
|
55
55
|
</span>
|
|
56
|
-
<span class="target-
|
|
56
|
+
<span class="smrt-target-list__meta" data-smrt-part="meta">
|
|
57
57
|
{#if target.paused}
|
|
58
|
-
<span class="target-
|
|
58
|
+
<span class="smrt-target-list__paused" data-smrt-part="meta">paused</span>
|
|
59
59
|
{/if}
|
|
60
60
|
<StatusBadge
|
|
61
61
|
status={targetStatusBadgeKey(target.status)}
|
|
@@ -70,8 +70,8 @@ function formatDue(iso: string | null): string {
|
|
|
70
70
|
|
|
71
71
|
<style>
|
|
72
72
|
@layer smrt.reset, smrt.structure, smrt.theme;
|
|
73
|
-
@layer smrt.
|
|
74
|
-
.target-
|
|
73
|
+
@layer smrt.structure {
|
|
74
|
+
.smrt-target-list__root {
|
|
75
75
|
list-style: none;
|
|
76
76
|
margin: 0;
|
|
77
77
|
padding: 0;
|
|
@@ -79,54 +79,54 @@ function formatDue(iso: string | null): string {
|
|
|
79
79
|
flex-direction: column;
|
|
80
80
|
gap: 0.375rem;
|
|
81
81
|
}
|
|
82
|
-
|
|
83
|
-
.target-list-row {
|
|
82
|
+
.smrt-target-list__row {
|
|
84
83
|
display: flex;
|
|
85
84
|
align-items: center;
|
|
86
85
|
justify-content: space-between;
|
|
87
86
|
gap: 0.75rem;
|
|
88
87
|
}
|
|
89
|
-
|
|
90
|
-
.target-list-main {
|
|
88
|
+
.smrt-target-list__main {
|
|
91
89
|
display: flex;
|
|
92
90
|
flex-direction: column;
|
|
93
91
|
gap: 0.125rem;
|
|
94
92
|
min-width: 0;
|
|
95
93
|
}
|
|
94
|
+
.smrt-target-list__cycle {
|
|
95
|
+
margin-left: 0.375rem;
|
|
96
|
+
}
|
|
97
|
+
.smrt-target-list__meta {
|
|
98
|
+
display: flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
gap: 0.5rem;
|
|
101
|
+
flex-shrink: 0;
|
|
102
|
+
}
|
|
103
|
+
.smrt-target-list__empty {
|
|
104
|
+
padding: 1rem 0;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
96
107
|
|
|
97
|
-
|
|
108
|
+
@layer smrt.theme {
|
|
109
|
+
.smrt-target-list__type {
|
|
98
110
|
font-weight: 500;
|
|
99
111
|
text-transform: capitalize;
|
|
100
112
|
}
|
|
101
|
-
|
|
102
|
-
.target-list-cycle {
|
|
113
|
+
.smrt-target-list__cycle {
|
|
103
114
|
font-size: 0.75rem;
|
|
104
115
|
font-weight: 400;
|
|
105
116
|
text-transform: none;
|
|
106
117
|
color: var(--smrt-color-on-surface-variant, inherit);
|
|
107
|
-
margin-left: 0.375rem;
|
|
108
118
|
}
|
|
109
|
-
|
|
110
|
-
.target-
|
|
111
|
-
.target-list-paused {
|
|
119
|
+
.smrt-target-list__due,
|
|
120
|
+
.smrt-target-list__paused {
|
|
112
121
|
font-size: 0.75rem;
|
|
113
122
|
color: var(--smrt-color-on-surface-variant, inherit);
|
|
114
123
|
}
|
|
115
|
-
|
|
116
|
-
.target-list-paused {
|
|
124
|
+
.smrt-target-list__paused {
|
|
117
125
|
font-style: italic;
|
|
118
126
|
}
|
|
119
|
-
|
|
120
|
-
.target-list-meta {
|
|
121
|
-
display: flex;
|
|
122
|
-
align-items: center;
|
|
123
|
-
gap: 0.5rem;
|
|
124
|
-
flex-shrink: 0;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.target-list-empty {
|
|
127
|
+
.smrt-target-list__empty {
|
|
128
128
|
color: var(--smrt-color-on-surface-variant, inherit);
|
|
129
|
-
padding: 1rem 0;
|
|
130
129
|
}
|
|
131
130
|
}
|
|
131
|
+
|
|
132
132
|
</style>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-support",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.17",
|
|
4
4
|
"smrtJsdoc": "strict",
|
|
5
5
|
"description": "AI-first Support Cases: channel-neutral intake, lifecycle, routing, service targets, and service time for the SMRT framework",
|
|
6
6
|
"type": "module",
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
"./manifest.json": "./dist/manifest.json"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@happyvertical/logger": "^0.
|
|
30
|
-
"@happyvertical/smrt-chat": "0.60.
|
|
31
|
-
"@happyvertical/smrt-core": "0.60.
|
|
32
|
-
"@happyvertical/smrt-jobs": "0.60.
|
|
33
|
-
"@happyvertical/smrt-messages": "0.60.
|
|
34
|
-
"@happyvertical/smrt-projects": "0.60.
|
|
35
|
-
"@happyvertical/smrt-tenancy": "0.60.
|
|
36
|
-
"@happyvertical/smrt-timesheets": "0.60.
|
|
37
|
-
"@happyvertical/smrt-ui": "0.60.
|
|
38
|
-
"@happyvertical/smrt-users": "0.60.
|
|
39
|
-
"@happyvertical/sql": "^0.
|
|
29
|
+
"@happyvertical/logger": "^0.112.2",
|
|
30
|
+
"@happyvertical/smrt-chat": "0.60.17",
|
|
31
|
+
"@happyvertical/smrt-core": "0.60.17",
|
|
32
|
+
"@happyvertical/smrt-jobs": "0.60.17",
|
|
33
|
+
"@happyvertical/smrt-messages": "0.60.17",
|
|
34
|
+
"@happyvertical/smrt-projects": "0.60.17",
|
|
35
|
+
"@happyvertical/smrt-tenancy": "0.60.17",
|
|
36
|
+
"@happyvertical/smrt-timesheets": "0.60.17",
|
|
37
|
+
"@happyvertical/smrt-ui": "0.60.17",
|
|
38
|
+
"@happyvertical/smrt-users": "0.60.17",
|
|
39
|
+
"@happyvertical/sql": "^0.112.2"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"svelte": "^5.57.0"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@happyvertical/smrt-vitest": "0.60.
|
|
50
|
+
"@happyvertical/smrt-vitest": "0.60.17",
|
|
51
51
|
"@sveltejs/package": "^2.5.8",
|
|
52
52
|
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
|
53
53
|
"@types/node": "24.13.6",
|