@quazardous/qdadm 2.46.0 → 2.48.0
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/styles/qdadm.css +1 -1
- package/package.json +1 -1
- package/src/components/SeverityTag.vue +15 -1
- package/src/components/display/QdPending.vue +58 -0
- package/src/components/display/QdPendingZone.vue +104 -0
- package/src/components/index.ts +5 -0
- package/src/components/lists/ListPage.vue +33 -4
- package/src/components/show/ShowDisplay.vue +13 -2
- package/src/components/show/ShowPage.vue +6 -6
- package/src/components/tasks/TaskDialog.vue +13 -157
- package/src/components/tasks/TaskHost.vue +28 -2
- package/src/components/tasks/TaskRunStatus.vue +63 -0
- package/src/components/tasks/TaskRunView.vue +197 -0
- package/src/components/tasks/TaskSequenceDialog.vue +157 -0
- package/src/components/tasks/TaskTray.vue +33 -13
- package/src/composables/index.ts +6 -0
- package/src/composables/useAsyncRead.ts +109 -0
- package/src/composables/useEntityItemFormPage.ts +13 -6
- package/src/composables/useEntityItemFormPage.types.ts +4 -1
- package/src/composables/useEntityItemShowPage.ts +18 -7
- package/src/composables/useFieldManager.ts +11 -2
- package/src/composables/useListPage.filters.ts +21 -1
- package/src/composables/useListPage.ts +68 -9
- package/src/composables/useListPage.types.ts +4 -1
- package/src/composables/useNavContext.ts +5 -4
- package/src/entity/EntityManager.ts +17 -0
- package/src/entity/EntityManager.types.ts +2 -0
- package/src/entity/storage/MockApiStorage.ts +31 -7
- package/src/i18n/defaults/core.en.generated.ts +32 -0
- package/src/i18n/defaults/core.en.yml +32 -0
- package/src/i18n/defaults/core.fr.generated.ts +32 -0
- package/src/i18n/defaults/core.fr.yml +32 -0
- package/src/i18n/optionLabels.ts +35 -0
- package/src/i18n/types.ts +5 -0
- package/src/index.ts +11 -0
- package/src/kernel/Kernel.i18n.ts +36 -3
- package/src/kernel/Kernel.registries.ts +11 -7
- package/src/kernel/Kernel.ts +2 -0
- package/src/kernel/KernelContext.permissions.ts +11 -0
- package/src/kernel/KernelContext.ts +6 -0
- package/src/kernel/KernelContext.types.ts +2 -0
- package/src/orchestrator/Orchestrator.ts +3 -0
- package/src/security/PersistableRolesProvider.ts +61 -3
- package/src/security/StaticRolesProvider.ts +6 -0
- package/src/styles/_pending.scss +125 -0
- package/src/styles/_tasks.scss +126 -0
- package/src/styles/index.scss +1 -0
- package/src/tasks/taskStore.ts +449 -14
- package/src/tasks/taskUi.ts +6 -0
- package/src/tasks/useTaskNotifications.ts +6 -2
- package/src/tasks/useTaskRunner.ts +24 -0
package/src/styles/_tasks.scss
CHANGED
|
@@ -72,6 +72,108 @@
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
// TaskRunView fills the window like the content did (#4934)
|
|
76
|
+
.qd-task-run-view {
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
flex: 1 1 auto;
|
|
80
|
+
min-height: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// The sequence window: the list of steps (#4934)
|
|
84
|
+
.qd-task-sequence-header {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
gap: 0.75rem;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.qd-task-sequence-list {
|
|
91
|
+
list-style: none;
|
|
92
|
+
margin: 0;
|
|
93
|
+
padding: 0;
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
gap: 0.25rem;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.qd-task-sequence-step {
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
gap: 0.75rem;
|
|
103
|
+
width: 100%;
|
|
104
|
+
padding: 0.5rem 0.75rem;
|
|
105
|
+
border: 1px solid var(--p-content-border-color);
|
|
106
|
+
border-radius: $radius-sm;
|
|
107
|
+
background: transparent;
|
|
108
|
+
color: inherit;
|
|
109
|
+
font: inherit;
|
|
110
|
+
text-align: left;
|
|
111
|
+
cursor: pointer;
|
|
112
|
+
|
|
113
|
+
&:hover:not(:disabled) { background: var(--p-content-hover-background); }
|
|
114
|
+
&:disabled { cursor: default; }
|
|
115
|
+
&:focus-visible { outline: 2px solid var(--p-primary-color); outline-offset: 1px; }
|
|
116
|
+
|
|
117
|
+
&--current {
|
|
118
|
+
border-color: var(--qd-task-running-color, var(--p-orange-500));
|
|
119
|
+
box-shadow: inset 3px 0 0 var(--qd-task-running-color, var(--p-orange-500));
|
|
120
|
+
}
|
|
121
|
+
&--pending,
|
|
122
|
+
&--skipped { color: var(--p-text-muted-color); }
|
|
123
|
+
&--succeeded .qd-task-sequence-icon { color: var(--qd-task-done-color, var(--p-green-600)); }
|
|
124
|
+
&--failed .qd-task-sequence-icon { color: var(--p-red-600); }
|
|
125
|
+
&--running .qd-task-sequence-icon,
|
|
126
|
+
&--queued .qd-task-sequence-icon,
|
|
127
|
+
&--starting .qd-task-sequence-icon { color: var(--qd-task-running-color, var(--p-orange-500)); }
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.qd-task-sequence-main {
|
|
131
|
+
flex: 1;
|
|
132
|
+
min-width: 0;
|
|
133
|
+
display: flex;
|
|
134
|
+
flex-direction: column;
|
|
135
|
+
gap: 0.125rem;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.qd-task-sequence-label { font-weight: 600; }
|
|
139
|
+
|
|
140
|
+
.qd-task-sequence-recap {
|
|
141
|
+
font-size: $font-size-sm;
|
|
142
|
+
color: var(--p-text-muted-color);
|
|
143
|
+
overflow-wrap: anywhere;
|
|
144
|
+
|
|
145
|
+
.qd-task-sequence-step--failed & { color: var(--p-red-700); }
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.qd-task-sequence-progress {
|
|
149
|
+
height: 0.375rem;
|
|
150
|
+
margin-top: 0.25rem;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.qd-task-sequence-state,
|
|
154
|
+
.qd-task-sequence-duration {
|
|
155
|
+
font-size: $font-size-sm;
|
|
156
|
+
color: var(--p-text-muted-color);
|
|
157
|
+
white-space: nowrap;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.qd-task-sequence-duration {
|
|
161
|
+
min-width: 4rem;
|
|
162
|
+
text-align: right;
|
|
163
|
+
font-variant-numeric: tabular-nums;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.qd-task-sequence-detail-title {
|
|
167
|
+
margin-bottom: 0.75rem;
|
|
168
|
+
font-weight: 600;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.qd-task-sequence-detail-index {
|
|
172
|
+
margin-right: 0.5rem;
|
|
173
|
+
color: var(--p-text-muted-color);
|
|
174
|
+
font-variant-numeric: tabular-nums;
|
|
175
|
+
}
|
|
176
|
+
|
|
75
177
|
.qd-task-before-log,
|
|
76
178
|
.qd-task-after-log {
|
|
77
179
|
margin-top: 0.75rem;
|
|
@@ -481,3 +583,27 @@
|
|
|
481
583
|
padding: 0.25rem;
|
|
482
584
|
border-radius: 50%;
|
|
483
585
|
}
|
|
586
|
+
|
|
587
|
+
// ── A run's state on the page of what it is about (#4695) ─────────────────
|
|
588
|
+
.qd-task-run-status {
|
|
589
|
+
display: flex;
|
|
590
|
+
flex-wrap: wrap;
|
|
591
|
+
align-items: center;
|
|
592
|
+
gap: 0.25rem 0.75rem;
|
|
593
|
+
font-size: $font-size-sm;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.qd-task-run-status-progress {
|
|
597
|
+
flex: 0 1 8rem;
|
|
598
|
+
height: 0.375rem;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.qd-task-run-status-step,
|
|
602
|
+
.qd-task-run-status-empty {
|
|
603
|
+
color: var(--p-text-muted-color);
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.qd-task-run-status-error {
|
|
607
|
+
color: var(--p-red-700);
|
|
608
|
+
overflow-wrap: anywhere;
|
|
609
|
+
}
|