lua-cli 3.0.3 → 3.1.0-alpha.1
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/api/job.api.service.d.ts +3 -1
- package/dist/api/job.api.service.js +7 -2
- package/dist/api/logs.api.service.d.ts +11 -13
- package/dist/api/logs.api.service.js +20 -17
- package/dist/api/user.data.api.service.js +7 -2
- package/dist/commands/logs.js +128 -68
- package/dist/commands/persona.js +9 -4
- package/dist/common/job.instance.js +1 -3
- package/dist/common/user.instance.d.ts +5 -2
- package/dist/common/user.instance.js +54 -20
- package/dist/interfaces/index.d.ts +5 -4
- package/dist/interfaces/user.d.ts +19 -0
- package/dist/interfaces/user.js +1 -0
- package/dist/web/app.css +358 -0
- package/dist/web/app.js +3 -3
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Immutable user profile information from Lua's user database
|
|
3
|
+
*/
|
|
4
|
+
export interface ImmutableUserProfile {
|
|
5
|
+
userId: string;
|
|
6
|
+
fullName: string;
|
|
7
|
+
mobileNumbers: string[];
|
|
8
|
+
emailAddresses: string[];
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Base user agent data structure
|
|
12
|
+
*/
|
|
13
|
+
export interface UserAgentData extends Record<string, any> {
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Use `user._luaProfile.userId` instead. This property is kept for backwards compatibility and will be removed in a future version.
|
|
16
|
+
* Note: This refers only to the Lua userId. If you use a custom `userId` property in your app that is not the Lua user ID, ignore this deprecation notice.
|
|
17
|
+
*/
|
|
18
|
+
userId?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/web/app.css
CHANGED
|
@@ -1,6 +1,364 @@
|
|
|
1
1
|
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Onest:wght@400;500;600;700&display=swap') layer(base);
|
|
3
3
|
@layer properties;
|
|
4
|
+
#lua-root .rdp-root {
|
|
5
|
+
--rdp-accent-color: blue;
|
|
6
|
+
--rdp-accent-background-color: #f0f0ff;
|
|
7
|
+
--rdp-day-height: 44px;
|
|
8
|
+
--rdp-day-width: 44px;
|
|
9
|
+
--rdp-day_button-border-radius: 100%;
|
|
10
|
+
--rdp-day_button-border: 2px solid transparent;
|
|
11
|
+
--rdp-day_button-height: 42px;
|
|
12
|
+
--rdp-day_button-width: 42px;
|
|
13
|
+
--rdp-selected-border: 2px solid var(--rdp-accent-color);
|
|
14
|
+
--rdp-disabled-opacity: 0.5;
|
|
15
|
+
--rdp-outside-opacity: 0.75;
|
|
16
|
+
--rdp-today-color: var(--rdp-accent-color);
|
|
17
|
+
--rdp-dropdown-gap: 0.5rem;
|
|
18
|
+
--rdp-months-gap: 2rem;
|
|
19
|
+
--rdp-nav_button-disabled-opacity: 0.5;
|
|
20
|
+
--rdp-nav_button-height: 2.25rem;
|
|
21
|
+
--rdp-nav_button-width: 2.25rem;
|
|
22
|
+
--rdp-nav-height: 2.75rem;
|
|
23
|
+
--rdp-range_middle-background-color: var(--rdp-accent-background-color);
|
|
24
|
+
--rdp-range_middle-color: inherit;
|
|
25
|
+
--rdp-range_start-color: white;
|
|
26
|
+
--rdp-range_start-background: linear-gradient(
|
|
27
|
+
var(--rdp-gradient-direction),
|
|
28
|
+
transparent 50%,
|
|
29
|
+
var(--rdp-range_middle-background-color) 50%
|
|
30
|
+
);
|
|
31
|
+
--rdp-range_start-date-background-color: var(--rdp-accent-color);
|
|
32
|
+
--rdp-range_end-background: linear-gradient(
|
|
33
|
+
var(--rdp-gradient-direction),
|
|
34
|
+
var(--rdp-range_middle-background-color) 50%,
|
|
35
|
+
transparent 50%
|
|
36
|
+
);
|
|
37
|
+
--rdp-range_end-color: white;
|
|
38
|
+
--rdp-range_end-date-background-color: var(--rdp-accent-color);
|
|
39
|
+
--rdp-week_number-border-radius: 100%;
|
|
40
|
+
--rdp-week_number-border: 2px solid transparent;
|
|
41
|
+
--rdp-week_number-height: var(--rdp-day-height);
|
|
42
|
+
--rdp-week_number-opacity: 0.75;
|
|
43
|
+
--rdp-week_number-width: var(--rdp-day-width);
|
|
44
|
+
--rdp-weeknumber-text-align: center;
|
|
45
|
+
--rdp-weekday-opacity: 0.75;
|
|
46
|
+
--rdp-weekday-padding: 0.5rem 0rem;
|
|
47
|
+
--rdp-weekday-text-align: center;
|
|
48
|
+
--rdp-gradient-direction: 90deg;
|
|
49
|
+
--rdp-animation_duration: 0.3s;
|
|
50
|
+
--rdp-animation_timing: cubic-bezier(0.4, 0, 0.2, 1);
|
|
51
|
+
}
|
|
52
|
+
#lua-root .rdp-root[dir="rtl"] {
|
|
53
|
+
--rdp-gradient-direction: -90deg;
|
|
54
|
+
}
|
|
55
|
+
#lua-root .rdp-root[data-broadcast-calendar="true"] {
|
|
56
|
+
--rdp-outside-opacity: unset;
|
|
57
|
+
}
|
|
58
|
+
#lua-root .rdp-root {
|
|
59
|
+
position: relative;
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
}
|
|
62
|
+
#lua-root .rdp-root * {
|
|
63
|
+
box-sizing: border-box;
|
|
64
|
+
}
|
|
65
|
+
#lua-root .rdp-day {
|
|
66
|
+
width: var(--rdp-day-width);
|
|
67
|
+
height: var(--rdp-day-height);
|
|
68
|
+
text-align: center;
|
|
69
|
+
}
|
|
70
|
+
#lua-root .rdp-day_button {
|
|
71
|
+
background: none;
|
|
72
|
+
padding: 0;
|
|
73
|
+
margin: 0;
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
font: inherit;
|
|
76
|
+
color: inherit;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
align-items: center;
|
|
79
|
+
display: flex;
|
|
80
|
+
width: var(--rdp-day_button-width);
|
|
81
|
+
height: var(--rdp-day_button-height);
|
|
82
|
+
border: var(--rdp-day_button-border);
|
|
83
|
+
border-radius: var(--rdp-day_button-border-radius);
|
|
84
|
+
}
|
|
85
|
+
#lua-root .rdp-day_button:disabled {
|
|
86
|
+
cursor: revert;
|
|
87
|
+
}
|
|
88
|
+
#lua-root .rdp-caption_label {
|
|
89
|
+
z-index: 1;
|
|
90
|
+
position: relative;
|
|
91
|
+
display: inline-flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
white-space: nowrap;
|
|
94
|
+
border: 0;
|
|
95
|
+
}
|
|
96
|
+
#lua-root .rdp-dropdown:focus-visible ~ .rdp-caption_label {
|
|
97
|
+
outline: 5px auto Highlight;
|
|
98
|
+
outline: 5px auto -webkit-focus-ring-color;
|
|
99
|
+
}
|
|
100
|
+
#lua-root .rdp-button_next, #lua-root .rdp-button_previous {
|
|
101
|
+
border: none;
|
|
102
|
+
background: none;
|
|
103
|
+
padding: 0;
|
|
104
|
+
margin: 0;
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
font: inherit;
|
|
107
|
+
color: inherit;
|
|
108
|
+
-moz-appearance: none;
|
|
109
|
+
-webkit-appearance: none;
|
|
110
|
+
display: inline-flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
justify-content: center;
|
|
113
|
+
position: relative;
|
|
114
|
+
appearance: none;
|
|
115
|
+
width: var(--rdp-nav_button-width);
|
|
116
|
+
height: var(--rdp-nav_button-height);
|
|
117
|
+
}
|
|
118
|
+
#lua-root .rdp-button_next:disabled, #lua-root .rdp-button_next[aria-disabled="true"], #lua-root .rdp-button_previous:disabled, #lua-root .rdp-button_previous[aria-disabled="true"] {
|
|
119
|
+
cursor: revert;
|
|
120
|
+
opacity: var(--rdp-nav_button-disabled-opacity);
|
|
121
|
+
}
|
|
122
|
+
#lua-root .rdp-chevron {
|
|
123
|
+
display: inline-block;
|
|
124
|
+
fill: var(--rdp-accent-color);
|
|
125
|
+
}
|
|
126
|
+
#lua-root .rdp-root[dir="rtl"] .rdp-nav .rdp-chevron {
|
|
127
|
+
transform: rotate(180deg);
|
|
128
|
+
transform-origin: 50%;
|
|
129
|
+
}
|
|
130
|
+
#lua-root .rdp-dropdowns {
|
|
131
|
+
position: relative;
|
|
132
|
+
display: inline-flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
gap: var(--rdp-dropdown-gap);
|
|
135
|
+
}
|
|
136
|
+
#lua-root .rdp-dropdown {
|
|
137
|
+
z-index: 2;
|
|
138
|
+
opacity: 0;
|
|
139
|
+
-webkit-appearance: none;
|
|
140
|
+
-moz-appearance: none;
|
|
141
|
+
appearance: none;
|
|
142
|
+
position: absolute;
|
|
143
|
+
inset-block-start: 0;
|
|
144
|
+
inset-block-end: 0;
|
|
145
|
+
inset-inline-start: 0;
|
|
146
|
+
width: 100%;
|
|
147
|
+
margin: 0;
|
|
148
|
+
padding: 0;
|
|
149
|
+
cursor: inherit;
|
|
150
|
+
border: none;
|
|
151
|
+
line-height: inherit;
|
|
152
|
+
}
|
|
153
|
+
#lua-root .rdp-dropdown_root {
|
|
154
|
+
position: relative;
|
|
155
|
+
display: inline-flex;
|
|
156
|
+
align-items: center;
|
|
157
|
+
}
|
|
158
|
+
#lua-root .rdp-dropdown_root[data-disabled="true"] .rdp-chevron {
|
|
159
|
+
opacity: var(--rdp-disabled-opacity);
|
|
160
|
+
}
|
|
161
|
+
#lua-root .rdp-month_caption {
|
|
162
|
+
display: flex;
|
|
163
|
+
align-content: center;
|
|
164
|
+
height: var(--rdp-nav-height);
|
|
165
|
+
font-weight: bold;
|
|
166
|
+
font-size: large;
|
|
167
|
+
}
|
|
168
|
+
#lua-root .rdp-root[data-nav-layout="around"] .rdp-month, #lua-root .rdp-root[data-nav-layout="after"] .rdp-month {
|
|
169
|
+
position: relative;
|
|
170
|
+
}
|
|
171
|
+
#lua-root .rdp-root[data-nav-layout="around"] .rdp-month_caption {
|
|
172
|
+
justify-content: center;
|
|
173
|
+
margin-inline-start: var(--rdp-nav_button-width);
|
|
174
|
+
margin-inline-end: var(--rdp-nav_button-width);
|
|
175
|
+
position: relative;
|
|
176
|
+
}
|
|
177
|
+
#lua-root .rdp-root[data-nav-layout="around"] .rdp-button_previous {
|
|
178
|
+
position: absolute;
|
|
179
|
+
inset-inline-start: 0;
|
|
180
|
+
top: 0;
|
|
181
|
+
height: var(--rdp-nav-height);
|
|
182
|
+
display: inline-flex;
|
|
183
|
+
}
|
|
184
|
+
#lua-root .rdp-root[data-nav-layout="around"] .rdp-button_next {
|
|
185
|
+
position: absolute;
|
|
186
|
+
inset-inline-end: 0;
|
|
187
|
+
top: 0;
|
|
188
|
+
height: var(--rdp-nav-height);
|
|
189
|
+
display: inline-flex;
|
|
190
|
+
justify-content: center;
|
|
191
|
+
}
|
|
192
|
+
#lua-root .rdp-months {
|
|
193
|
+
position: relative;
|
|
194
|
+
display: flex;
|
|
195
|
+
flex-wrap: wrap;
|
|
196
|
+
gap: var(--rdp-months-gap);
|
|
197
|
+
max-width: -moz-fit-content;
|
|
198
|
+
max-width: fit-content;
|
|
199
|
+
}
|
|
200
|
+
#lua-root .rdp-month_grid {
|
|
201
|
+
border-collapse: collapse;
|
|
202
|
+
}
|
|
203
|
+
#lua-root .rdp-nav {
|
|
204
|
+
position: absolute;
|
|
205
|
+
inset-block-start: 0;
|
|
206
|
+
inset-inline-end: 0;
|
|
207
|
+
display: flex;
|
|
208
|
+
align-items: center;
|
|
209
|
+
height: var(--rdp-nav-height);
|
|
210
|
+
}
|
|
211
|
+
#lua-root .rdp-weekday {
|
|
212
|
+
opacity: var(--rdp-weekday-opacity);
|
|
213
|
+
padding: var(--rdp-weekday-padding);
|
|
214
|
+
font-weight: 500;
|
|
215
|
+
font-size: smaller;
|
|
216
|
+
text-align: var(--rdp-weekday-text-align);
|
|
217
|
+
text-transform: var(--rdp-weekday-text-transform);
|
|
218
|
+
}
|
|
219
|
+
#lua-root .rdp-week_number {
|
|
220
|
+
opacity: var(--rdp-week_number-opacity);
|
|
221
|
+
font-weight: 400;
|
|
222
|
+
font-size: small;
|
|
223
|
+
height: var(--rdp-week_number-height);
|
|
224
|
+
width: var(--rdp-week_number-width);
|
|
225
|
+
border: var(--rdp-week_number-border);
|
|
226
|
+
border-radius: var(--rdp-week_number-border-radius);
|
|
227
|
+
text-align: var(--rdp-weeknumber-text-align);
|
|
228
|
+
}
|
|
229
|
+
#lua-root .rdp-today:not(.rdp-outside) {
|
|
230
|
+
color: var(--rdp-today-color);
|
|
231
|
+
}
|
|
232
|
+
#lua-root .rdp-selected {
|
|
233
|
+
font-weight: bold;
|
|
234
|
+
font-size: large;
|
|
235
|
+
}
|
|
236
|
+
#lua-root .rdp-selected .rdp-day_button {
|
|
237
|
+
border: var(--rdp-selected-border);
|
|
238
|
+
}
|
|
239
|
+
#lua-root .rdp-outside {
|
|
240
|
+
opacity: var(--rdp-outside-opacity);
|
|
241
|
+
}
|
|
242
|
+
#lua-root .rdp-disabled {
|
|
243
|
+
opacity: var(--rdp-disabled-opacity);
|
|
244
|
+
}
|
|
245
|
+
#lua-root .rdp-hidden {
|
|
246
|
+
visibility: hidden;
|
|
247
|
+
color: var(--rdp-range_start-color);
|
|
248
|
+
}
|
|
249
|
+
#lua-root .rdp-range_start {
|
|
250
|
+
background: var(--rdp-range_start-background);
|
|
251
|
+
}
|
|
252
|
+
#lua-root .rdp-range_start .rdp-day_button {
|
|
253
|
+
background-color: var(--rdp-range_start-date-background-color);
|
|
254
|
+
color: var(--rdp-range_start-color);
|
|
255
|
+
}
|
|
256
|
+
#lua-root .rdp-range_middle {
|
|
257
|
+
background-color: var(--rdp-range_middle-background-color);
|
|
258
|
+
}
|
|
259
|
+
#lua-root .rdp-range_middle .rdp-day_button {
|
|
260
|
+
border: unset;
|
|
261
|
+
border-radius: unset;
|
|
262
|
+
color: var(--rdp-range_middle-color);
|
|
263
|
+
}
|
|
264
|
+
#lua-root .rdp-range_end {
|
|
265
|
+
background: var(--rdp-range_end-background);
|
|
266
|
+
color: var(--rdp-range_end-color);
|
|
267
|
+
}
|
|
268
|
+
#lua-root .rdp-range_end .rdp-day_button {
|
|
269
|
+
color: var(--rdp-range_start-color);
|
|
270
|
+
background-color: var(--rdp-range_end-date-background-color);
|
|
271
|
+
}
|
|
272
|
+
#lua-root .rdp-range_start.rdp-range_end {
|
|
273
|
+
background: revert;
|
|
274
|
+
}
|
|
275
|
+
#lua-root .rdp-focusable {
|
|
276
|
+
cursor: pointer;
|
|
277
|
+
}
|
|
278
|
+
@keyframes rdp-slide_in_left {
|
|
279
|
+
0% {
|
|
280
|
+
transform: translateX(-100%);
|
|
281
|
+
}
|
|
282
|
+
100% {
|
|
283
|
+
transform: translateX(0);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
@keyframes rdp-slide_in_right {
|
|
287
|
+
0% {
|
|
288
|
+
transform: translateX(100%);
|
|
289
|
+
}
|
|
290
|
+
100% {
|
|
291
|
+
transform: translateX(0);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
@keyframes rdp-slide_out_left {
|
|
295
|
+
0% {
|
|
296
|
+
transform: translateX(0);
|
|
297
|
+
}
|
|
298
|
+
100% {
|
|
299
|
+
transform: translateX(-100%);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
@keyframes rdp-slide_out_right {
|
|
303
|
+
0% {
|
|
304
|
+
transform: translateX(0);
|
|
305
|
+
}
|
|
306
|
+
100% {
|
|
307
|
+
transform: translateX(100%);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
#lua-root .rdp-weeks_before_enter {
|
|
311
|
+
animation: rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
312
|
+
}
|
|
313
|
+
#lua-root .rdp-weeks_before_exit {
|
|
314
|
+
animation: rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
315
|
+
}
|
|
316
|
+
#lua-root .rdp-weeks_after_enter {
|
|
317
|
+
animation: rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
318
|
+
}
|
|
319
|
+
#lua-root .rdp-weeks_after_exit {
|
|
320
|
+
animation: rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
321
|
+
}
|
|
322
|
+
#lua-root .rdp-root[dir="rtl"] .rdp-weeks_after_enter {
|
|
323
|
+
animation: rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
324
|
+
}
|
|
325
|
+
#lua-root .rdp-root[dir="rtl"] .rdp-weeks_before_exit {
|
|
326
|
+
animation: rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
327
|
+
}
|
|
328
|
+
#lua-root .rdp-root[dir="rtl"] .rdp-weeks_before_enter {
|
|
329
|
+
animation: rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
330
|
+
}
|
|
331
|
+
#lua-root .rdp-root[dir="rtl"] .rdp-weeks_after_exit {
|
|
332
|
+
animation: rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
333
|
+
}
|
|
334
|
+
@keyframes rdp-fade_in {
|
|
335
|
+
from {
|
|
336
|
+
opacity: 0;
|
|
337
|
+
}
|
|
338
|
+
to {
|
|
339
|
+
opacity: 1;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
@keyframes rdp-fade_out {
|
|
343
|
+
from {
|
|
344
|
+
opacity: 1;
|
|
345
|
+
}
|
|
346
|
+
to {
|
|
347
|
+
opacity: 0;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
#lua-root .rdp-caption_after_enter {
|
|
351
|
+
animation: rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
352
|
+
}
|
|
353
|
+
#lua-root .rdp-caption_after_exit {
|
|
354
|
+
animation: rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
355
|
+
}
|
|
356
|
+
#lua-root .rdp-caption_before_enter {
|
|
357
|
+
animation: rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
358
|
+
}
|
|
359
|
+
#lua-root .rdp-caption_before_exit {
|
|
360
|
+
animation: rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards;
|
|
361
|
+
}
|
|
4
362
|
@layer theme, base, components, utilities;
|
|
5
363
|
@layer theme {
|
|
6
364
|
#lua-root, #lua-root :host {
|