@digitalservicebund/ris-ui 3.21.3 → 4.0.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/README.md +13 -101
- package/dist/config/locale.d.ts +1 -1
- package/dist/lib/tags.d.ts +1 -1
- package/dist/primevue/autocomplete/autocomplete.d.ts +1 -1
- package/dist/primevue/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/primevue/button/button.d.ts +1 -1
- package/dist/primevue/checkbox/checkbox.d.ts +1 -1
- package/dist/primevue/chip/chip.d.ts +1 -1
- package/dist/primevue/confirmDialog/confirmDialog.d.ts +1 -1
- package/dist/primevue/dataTable/dataTable.d.ts +1 -1
- package/dist/primevue/dialog/dialog.d.ts +1 -1
- package/dist/primevue/fileUpload/fileUpload.d.ts +1 -1
- package/dist/primevue/index.js +598 -843
- package/dist/primevue/index.js.map +1 -1
- package/dist/primevue/inputGroup/inputGroup.d.ts +1 -1
- package/dist/primevue/inputMask/inputMask.d.ts +1 -1
- package/dist/primevue/inputText/inputText.d.ts +1 -1
- package/dist/primevue/menu/menu.d.ts +1 -1
- package/dist/primevue/message/message.d.ts +1 -1
- package/dist/primevue/multiSelect/multiSelect.d.ts +1 -1
- package/dist/primevue/panelMenu/panelMenu.d.ts +1 -1
- package/dist/primevue/password/password.d.ts +1 -1
- package/dist/primevue/progressSpinner/progressSpinner.d.ts +1 -1
- package/dist/primevue/radioButton/radioButton.d.ts +1 -1
- package/dist/primevue/select/select.d.ts +1 -1
- package/dist/primevue/splitter/splitter.d.ts +1 -1
- package/dist/primevue/tabs/tabs.d.ts +1 -1
- package/dist/primevue/textarea/textarea.d.ts +1 -1
- package/dist/primevue/toast/toast.d.ts +1 -1
- package/dist/primevue/tooltip/tooltip.d.ts +1 -1
- package/dist/primevue/tree/tree.d.ts +1 -1
- package/dist/style.css +2 -1
- package/dist/tailwind/index.js +0 -2
- package/package.json +37 -66
- package/dist/components/RisAutoComplete/RisAutoComplete.vue.d.ts +0 -22
- package/dist/components/RisAutoCompleteMultiple/RisAutoCompleteMultiple.vue.d.ts +0 -24
- package/dist/components/RisChipsInput/ChipInput.vue.d.ts +0 -23
- package/dist/components/RisChipsInput/RisChipsInput.vue.d.ts +0 -18
- package/dist/components/RisCopyableLabel/RisCopyableLabel.vue.d.ts +0 -22
- package/dist/components/RisExpandableText/RisExpandableText.vue.d.ts +0 -34
- package/dist/components/RisGhostButton/RisGhostButton.vue.d.ts +0 -16
- package/dist/components/RisPaginator/RisPaginator.vue.d.ts +0 -15
- package/dist/components/RisSingleAccordion/RisSingleAccordion.vue.d.ts +0 -25
- package/dist/components/index.d.ts +0 -15
- package/dist/components/index.js +0 -6912
- package/dist/components/index.js.map +0 -1
- package/dist/tags-Dde6Li6m.js +0 -5
- package/dist/tags-Dde6Li6m.js.map +0 -1
- package/dist/tailwind/index.js.map +0 -1
- package/dist/vitest-setup.d.ts +0 -1
package/dist/primevue/index.js
CHANGED
|
@@ -1,844 +1,599 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
},
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
},
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
class: e`pl-12`
|
|
405
|
-
},
|
|
406
|
-
dropdownIcon: {
|
|
407
|
-
class: e`absolute top-16 right-8`
|
|
408
|
-
},
|
|
409
|
-
listContainer: {
|
|
410
|
-
class: e`overflow-auto shadow-md`
|
|
411
|
-
},
|
|
412
|
-
labelContainer: {
|
|
413
|
-
class: e`flex flex-row`
|
|
414
|
-
},
|
|
415
|
-
label: {
|
|
416
|
-
class: e`flex flex-row flex-wrap gap-y-8 py-4`
|
|
417
|
-
},
|
|
418
|
-
overlay: {
|
|
419
|
-
class: e`bg-white`
|
|
420
|
-
},
|
|
421
|
-
optionLabel: {
|
|
422
|
-
class: e`pl-12`
|
|
423
|
-
},
|
|
424
|
-
header: {
|
|
425
|
-
class: e`hidden`
|
|
426
|
-
},
|
|
427
|
-
option: ({ context: r }) => {
|
|
428
|
-
const t = e`ris-body2-regular relative flex h-full min-h-48 w-full cursor-pointer border-l-4 border-transparent py-16 pr-24 pl-20 after:absolute after:right-8 after:-bottom-1 after:left-8 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`, l = e`border-l-4 border-solid border-l-blue-800 bg-gray-100`;
|
|
429
|
-
return {
|
|
430
|
-
class: {
|
|
431
|
-
[t]: !0,
|
|
432
|
-
[l]: r.focused
|
|
433
|
-
}
|
|
434
|
-
};
|
|
435
|
-
}
|
|
436
|
-
}, Z = {
|
|
437
|
-
pcInputText: {
|
|
438
|
-
root: ({ props: r }) => ({
|
|
439
|
-
class: {
|
|
440
|
-
[y]: !0,
|
|
441
|
-
[k]: !0,
|
|
442
|
-
"w-full": !!r.fluid
|
|
443
|
-
}
|
|
444
|
-
})
|
|
445
|
-
}
|
|
446
|
-
}, J = {
|
|
447
|
-
list: {
|
|
448
|
-
class: e`m-0 flex list-none flex-wrap items-center p-0 leading-none`
|
|
449
|
-
},
|
|
450
|
-
item: {
|
|
451
|
-
class: e`flex-no-wrap ris-label1-regular my-2 flex items-center break-all`
|
|
452
|
-
},
|
|
453
|
-
itemLink: {
|
|
454
|
-
class: e`inline-flex cursor-pointer items-center text-blue-800 underline-offset-[3px] hover:underline focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`
|
|
455
|
-
},
|
|
456
|
-
separator: {
|
|
457
|
-
class: e`mx-6 flex items-center text-gray-600`
|
|
458
|
-
}
|
|
459
|
-
}, m = e`cursor-pointer`, p = e`ris-label1-bold border-l-blue-800 bg-blue-200 text-blue-900 hover:bg-blue-300`, w = e`ris-label1-regular hover:border-l-blue-600 hover:bg-blue-200`, x = e`-outline-offset-4 outline-blue-800 focus-visible:outline-4`, H = {
|
|
460
|
-
root: {
|
|
461
|
-
class: e`text-blue-800`
|
|
462
|
-
},
|
|
463
|
-
header: ({ context: r }) => ({
|
|
464
|
-
class: {
|
|
465
|
-
[e`group flex h-64 items-center border-l-4 border-transparent py-8 pr-20 pl-10`]: !0,
|
|
466
|
-
[x]: !0,
|
|
467
|
-
[m]: !0,
|
|
468
|
-
[p]: r.active,
|
|
469
|
-
[w]: !r.active
|
|
470
|
-
}
|
|
471
|
-
}),
|
|
472
|
-
content: {
|
|
473
|
-
class: e`mt-8 ml-28`
|
|
474
|
-
},
|
|
475
|
-
rootList: {
|
|
476
|
-
class: e`focus-visible:outline-none`
|
|
477
|
-
},
|
|
478
|
-
panel: {
|
|
479
|
-
class: e`focus-visible:outline-none`
|
|
480
|
-
},
|
|
481
|
-
itemContent: ({ context: r }) => {
|
|
482
|
-
const t = e`group flex h-48 items-center border-l-4 border-transparent py-8 pr-20 pl-10`, l = e`${x} not-[:hover]:outline-4`;
|
|
483
|
-
return {
|
|
484
|
-
class: {
|
|
485
|
-
[t]: !0,
|
|
486
|
-
[l]: r.focused,
|
|
487
|
-
[m]: !0,
|
|
488
|
-
[p]: r.active,
|
|
489
|
-
[w]: !r.active
|
|
490
|
-
}
|
|
491
|
-
};
|
|
492
|
-
}
|
|
493
|
-
}, K = {
|
|
494
|
-
node: {
|
|
495
|
-
class: e`mb-24 last:mb-0 focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 [&>ul:first-of-type]:border-l-0`
|
|
496
|
-
},
|
|
497
|
-
nodeContent: ({ context: r }) => {
|
|
498
|
-
const t = e`group ris-label2-bold flex w-full border-l-4 border-transparent py-10 pr-20 pl-10 text-blue-800`, l = e`cursor-pointer select-none`, o = e`focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`, s = e`border-l-blue-800 bg-blue-200 text-black`, i = e`hover:bg-blue-200`, a = e`hover:bg-blue-300`;
|
|
499
|
-
return {
|
|
500
|
-
class: {
|
|
501
|
-
[t]: !0,
|
|
502
|
-
[l]: !0,
|
|
503
|
-
[s]: r.selected,
|
|
504
|
-
[i]: !r.selected,
|
|
505
|
-
[a]: r.selected,
|
|
506
|
-
[o]: !0
|
|
507
|
-
}
|
|
508
|
-
};
|
|
509
|
-
},
|
|
510
|
-
nodeToggleButton: ({ context: r }) => {
|
|
511
|
-
const t = e`h-20 w-20 justify-center border-0 bg-transparent text-gray-900 group-hover:text-black hover:text-black`, l = r.leaf ? e`hidden` : e`inline-flex`;
|
|
512
|
-
return {
|
|
513
|
-
class: {
|
|
514
|
-
[t]: !0,
|
|
515
|
-
[l]: r.leaf
|
|
516
|
-
}
|
|
517
|
-
};
|
|
518
|
-
},
|
|
519
|
-
nodeChildren: () => {
|
|
520
|
-
const r = e`m-0 list-none border-l border-gray-600 p-0 pl-36 [&:not(ul)]:pl-0 [&>ul:first-of-type]:border-0`, t = e`focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`;
|
|
521
|
-
return {
|
|
522
|
-
class: {
|
|
523
|
-
[r]: !0,
|
|
524
|
-
[t]: !0
|
|
525
|
-
}
|
|
526
|
-
};
|
|
527
|
-
},
|
|
528
|
-
nodeLabel: ({ context: r }) => {
|
|
529
|
-
const t = e`group flex w-full flex-col items-start outline-none *:w-full *:outline-none group-hover:text-black [&>*:first-child]:group-hover:underline [&>*:last-child]:group-hover:no-underline`, l = e`text-black [&>*:last-child:is(span)]:text-gray-900`, o = e`[&>*:last-child]:group-hover:text-black`;
|
|
530
|
-
return {
|
|
531
|
-
class: {
|
|
532
|
-
[t]: !0,
|
|
533
|
-
[l]: r.selected,
|
|
534
|
-
[o]: r.selected
|
|
535
|
-
}
|
|
536
|
-
};
|
|
537
|
-
}
|
|
538
|
-
}, $ = {
|
|
539
|
-
root: ({ props: r }) => ({
|
|
540
|
-
class: {
|
|
541
|
-
[e`flex flex-nowrap rounded-none border-0 bg-transparent`]: !0,
|
|
542
|
-
[e`flex-col`]: r.layout === "vertical"
|
|
543
|
-
}
|
|
544
|
-
}),
|
|
545
|
-
gutter: ({ props: r }) => ({
|
|
546
|
-
class: {
|
|
547
|
-
[e`flex shrink-0 items-center justify-center bg-gray-400 hover:bg-blue-700`]: !0,
|
|
548
|
-
[e`h-full w-[0.1875rem] cursor-col-resize`]: r.layout === "horizontal",
|
|
549
|
-
[e`h-[0.1875rem] w-full cursor-row-resize`]: r.layout === "vertical"
|
|
550
|
-
}
|
|
551
|
-
}),
|
|
552
|
-
gutterHandle: ({ props: r }) => ({
|
|
553
|
-
class: {
|
|
554
|
-
[e`z-20 rounded bg-transparent outline-offset-4 outline-blue-800 focus-visible:outline-4`]: !0,
|
|
555
|
-
[e`h-11/12 w-[0.1875rem] cursor-col-resize`]: r.layout === "horizontal",
|
|
556
|
-
[e`h-[0.1875rem] w-11/12 cursor-row-resize`]: r.layout === "vertical"
|
|
557
|
-
}
|
|
558
|
-
})
|
|
559
|
-
}, G = {
|
|
560
|
-
root: {
|
|
561
|
-
class: e`relative`
|
|
562
|
-
},
|
|
563
|
-
tableContainer: {
|
|
564
|
-
class: e`overflow-visible`
|
|
565
|
-
},
|
|
566
|
-
table: {
|
|
567
|
-
class: e`w-full border-none text-left`
|
|
568
|
-
},
|
|
569
|
-
thead: {
|
|
570
|
-
class: e`sticky top-0 bg-white shadow-[0_1px_0_var(--color-blue-300)]`
|
|
571
|
-
},
|
|
572
|
-
tbody: {
|
|
573
|
-
class: e`divide-y divide-blue-300 border-b border-blue-300`
|
|
574
|
-
},
|
|
575
|
-
bodyRow: ({ context: r }) => ({
|
|
576
|
-
class: [
|
|
577
|
-
e`-outline-offset-4 outline-blue-800 focus-visible:outline-4`,
|
|
578
|
-
{
|
|
579
|
-
"bg-blue-300": r.selected,
|
|
580
|
-
"hover:bg-blue-100": !r.selected
|
|
581
|
-
}
|
|
582
|
-
]
|
|
583
|
-
}),
|
|
584
|
-
// height for td works like min-height: Table cells will grow when the content does not fit.
|
|
585
|
-
column: {
|
|
586
|
-
headerCell: {
|
|
587
|
-
class: e`ris-label2-bold h-56 px-16 py-12`
|
|
588
|
-
},
|
|
589
|
-
bodyCell: {
|
|
590
|
-
class: e`ris-body1-regular h-56 px-16 py-12`
|
|
591
|
-
},
|
|
592
|
-
pcHeaderCheckbox: {
|
|
593
|
-
...h,
|
|
594
|
-
root: {
|
|
595
|
-
class: e`relative block h-24 w-24`
|
|
596
|
-
}
|
|
597
|
-
},
|
|
598
|
-
pcRowCheckbox: {
|
|
599
|
-
...h,
|
|
600
|
-
root: {
|
|
601
|
-
class: e`relative block h-24 w-24`
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
},
|
|
605
|
-
mask: {
|
|
606
|
-
class: e`text-primary-500 justify-content absolute inset-0 z-10 mt-56 flex justify-center py-96`
|
|
607
|
-
},
|
|
608
|
-
loadingIcon: {
|
|
609
|
-
class: e`inline-block h-24 w-24 animate-spin border-solid border-r-transparent text-blue-900 motion-reduce:animate-[spin_1.5s_linear_infinite]`
|
|
610
|
-
},
|
|
611
|
-
emptyMessageCell: {
|
|
612
|
-
class: e`py-96 text-center text-gray-900`
|
|
613
|
-
}
|
|
1
|
+
//#region src/config/locale.ts
|
|
2
|
+
var e = {
|
|
3
|
+
startsWith: "Beginnt mit",
|
|
4
|
+
contains: "Enthält",
|
|
5
|
+
notContains: "Enthält nicht",
|
|
6
|
+
endsWith: "Endet mit",
|
|
7
|
+
equals: "Gleich",
|
|
8
|
+
notEquals: "Ungleich",
|
|
9
|
+
noFilter: "Kein Filter",
|
|
10
|
+
lt: "Weniger als",
|
|
11
|
+
lte: "Weniger oder gleich",
|
|
12
|
+
gt: "Größer als",
|
|
13
|
+
gte: "Größer oder gleich",
|
|
14
|
+
dateIs: "Datum ist",
|
|
15
|
+
dateIsNot: "Datum ist nicht",
|
|
16
|
+
dateBefore: "Datum ist vor",
|
|
17
|
+
dateAfter: "Datum ist nach",
|
|
18
|
+
clear: "Löschen",
|
|
19
|
+
apply: "Anwenden",
|
|
20
|
+
matchAll: "Alle erfüllen",
|
|
21
|
+
matchAny: "Beliebige erfüllen",
|
|
22
|
+
addRule: "Regel hinzufügen",
|
|
23
|
+
removeRule: "Regel entfernen",
|
|
24
|
+
accept: "Ja",
|
|
25
|
+
reject: "Nein",
|
|
26
|
+
choose: "Auswählen",
|
|
27
|
+
upload: "Hochladen",
|
|
28
|
+
cancel: "Abbrechen",
|
|
29
|
+
completed: "Abgeschlossen",
|
|
30
|
+
pending: "Ausstehend",
|
|
31
|
+
fileSizeTypes: [
|
|
32
|
+
"B",
|
|
33
|
+
"KB",
|
|
34
|
+
"MB",
|
|
35
|
+
"GB",
|
|
36
|
+
"TB",
|
|
37
|
+
"PB",
|
|
38
|
+
"EB",
|
|
39
|
+
"ZB",
|
|
40
|
+
"YB"
|
|
41
|
+
],
|
|
42
|
+
dayNames: [
|
|
43
|
+
"Sonntag",
|
|
44
|
+
"Montag",
|
|
45
|
+
"Dienstag",
|
|
46
|
+
"Mittwoch",
|
|
47
|
+
"Donnerstag",
|
|
48
|
+
"Freitag",
|
|
49
|
+
"Samstag"
|
|
50
|
+
],
|
|
51
|
+
dayNamesShort: [
|
|
52
|
+
"So",
|
|
53
|
+
"Mo",
|
|
54
|
+
"Di",
|
|
55
|
+
"Mi",
|
|
56
|
+
"Do",
|
|
57
|
+
"Fr",
|
|
58
|
+
"Sa"
|
|
59
|
+
],
|
|
60
|
+
dayNamesMin: [
|
|
61
|
+
"So",
|
|
62
|
+
"Mo",
|
|
63
|
+
"Di",
|
|
64
|
+
"Mi",
|
|
65
|
+
"Do",
|
|
66
|
+
"Fr",
|
|
67
|
+
"Sa"
|
|
68
|
+
],
|
|
69
|
+
monthNames: [
|
|
70
|
+
"Januar",
|
|
71
|
+
"Februar",
|
|
72
|
+
"März",
|
|
73
|
+
"April",
|
|
74
|
+
"Mai",
|
|
75
|
+
"Juni",
|
|
76
|
+
"Juli",
|
|
77
|
+
"August",
|
|
78
|
+
"September",
|
|
79
|
+
"Oktober",
|
|
80
|
+
"November",
|
|
81
|
+
"Dezember"
|
|
82
|
+
],
|
|
83
|
+
monthNamesShort: [
|
|
84
|
+
"Jan",
|
|
85
|
+
"Feb",
|
|
86
|
+
"Mär",
|
|
87
|
+
"Apr",
|
|
88
|
+
"Mai",
|
|
89
|
+
"Jun",
|
|
90
|
+
"Jul",
|
|
91
|
+
"Aug",
|
|
92
|
+
"Sep",
|
|
93
|
+
"Okt",
|
|
94
|
+
"Nov",
|
|
95
|
+
"Dez"
|
|
96
|
+
],
|
|
97
|
+
chooseYear: "Jahr wählen",
|
|
98
|
+
chooseMonth: "Monat wählen",
|
|
99
|
+
chooseDate: "Datum wählen",
|
|
100
|
+
prevDecade: "Vorheriges Jahrzehnt",
|
|
101
|
+
nextDecade: "Nächstes Jahrzehnt",
|
|
102
|
+
prevYear: "Vorheriges Jahr",
|
|
103
|
+
nextYear: "Nächstes Jahr",
|
|
104
|
+
prevMonth: "Vorheriger Monat",
|
|
105
|
+
nextMonth: "Nächster Monat",
|
|
106
|
+
prevHour: "Vorherige Stunde",
|
|
107
|
+
nextHour: "Nächste Stunde",
|
|
108
|
+
prevMinute: "Vorherige Minute",
|
|
109
|
+
nextMinute: "Nächste Minute",
|
|
110
|
+
prevSecond: "Vorherige Sekunde",
|
|
111
|
+
nextSecond: "Nächste Sekunde",
|
|
112
|
+
am: "vorm.",
|
|
113
|
+
pm: "nachm.",
|
|
114
|
+
today: "Heute",
|
|
115
|
+
weekHeader: "KW",
|
|
116
|
+
firstDayOfWeek: 1,
|
|
117
|
+
showMonthAfterYear: !1,
|
|
118
|
+
dateFormat: "dd.mm.yy",
|
|
119
|
+
weak: "Schwach",
|
|
120
|
+
medium: "Mittel",
|
|
121
|
+
strong: "Stark",
|
|
122
|
+
passwordPrompt: "Passwort eingeben",
|
|
123
|
+
emptyFilterMessage: "Keine Ergebnisse gefunden",
|
|
124
|
+
searchMessage: "{0} Ergebnisse verfügbar",
|
|
125
|
+
selectionMessage: "{0} Elemente ausgewählt",
|
|
126
|
+
emptySelectionMessage: "Kein Element ausgewählt",
|
|
127
|
+
emptySearchMessage: "Keine Ergebnisse gefunden",
|
|
128
|
+
fileChosenMessage: "{0} Dateien",
|
|
129
|
+
noFileChosenMessage: "Keine Datei ausgewählt",
|
|
130
|
+
emptyMessage: "Keine Optionen verfügbar",
|
|
131
|
+
aria: {
|
|
132
|
+
trueLabel: "Wahr",
|
|
133
|
+
falseLabel: "Falsch",
|
|
134
|
+
nullLabel: "Nicht ausgewählt",
|
|
135
|
+
star: "1 Stern",
|
|
136
|
+
stars: "{star} Sterne",
|
|
137
|
+
selectAll: "Alle Elemente ausgewählt",
|
|
138
|
+
unselectAll: "Alle Elemente abgewählt",
|
|
139
|
+
close: "Schließen",
|
|
140
|
+
previous: "Vorherige",
|
|
141
|
+
next: "Nächste",
|
|
142
|
+
navigation: "Navigation",
|
|
143
|
+
scrollTop: "Nach oben scrollen",
|
|
144
|
+
moveTop: "Nach oben bewegen",
|
|
145
|
+
moveUp: "Nach oben bewegen",
|
|
146
|
+
moveDown: "Nach unten bewegen",
|
|
147
|
+
moveBottom: "Nach unten bewegen",
|
|
148
|
+
moveToTarget: "Zum Ziel verschieben",
|
|
149
|
+
moveToSource: "Zur Quelle verschieben",
|
|
150
|
+
moveAllToTarget: "Alle zum Ziel verschieben",
|
|
151
|
+
moveAllToSource: "Alle zur Quelle verschieben",
|
|
152
|
+
pageLabel: "Seite {page}",
|
|
153
|
+
firstPageLabel: "Erste Seite",
|
|
154
|
+
lastPageLabel: "Letzte Seite",
|
|
155
|
+
nextPageLabel: "Nächste Seite",
|
|
156
|
+
prevPageLabel: "Vorherige Seite",
|
|
157
|
+
rowsPerPageLabel: "Zeilen pro Seite",
|
|
158
|
+
jumpToPageDropdownLabel: "Zu Seite springen (Dropdown)",
|
|
159
|
+
jumpToPageInputLabel: "Zu Seite springen (Eingabe)",
|
|
160
|
+
selectRow: "Zeile ausgewählt",
|
|
161
|
+
unselectRow: "Zeile abgewählt",
|
|
162
|
+
expandRow: "Zeile erweitert",
|
|
163
|
+
collapseRow: "Zeile reduziert",
|
|
164
|
+
showFilterMenu: "Filtermenü anzeigen",
|
|
165
|
+
hideFilterMenu: "Filtermenü ausblenden",
|
|
166
|
+
filterOperator: "Filteroperator",
|
|
167
|
+
filterConstraint: "Filterbedingung",
|
|
168
|
+
editRow: "Zeile bearbeiten",
|
|
169
|
+
saveEdit: "Bearbeitung speichern",
|
|
170
|
+
cancelEdit: "Bearbeitung abbrechen",
|
|
171
|
+
listView: "Listenansicht",
|
|
172
|
+
gridView: "Gitteransicht",
|
|
173
|
+
slide: "Folie",
|
|
174
|
+
slideNumber: "Folie {slideNumber}",
|
|
175
|
+
zoomImage: "Bild vergrößern",
|
|
176
|
+
zoomIn: "Vergrößern",
|
|
177
|
+
zoomOut: "Verkleinern",
|
|
178
|
+
rotateRight: "Rechts drehen",
|
|
179
|
+
rotateLeft: "Links drehen",
|
|
180
|
+
listLabel: "Optionsliste"
|
|
181
|
+
}
|
|
182
|
+
}, t = (e, ...t) => String.raw({ raw: e }, ...t), n = {
|
|
183
|
+
list: { class: t`m-0 flex list-none flex-wrap items-center p-0 leading-none` },
|
|
184
|
+
item: { class: t`flex-no-wrap ris-label1-regular my-2 flex items-center break-all` },
|
|
185
|
+
itemLink: { class: t`inline-flex cursor-pointer items-center text-blue-800 underline-offset-[3px] hover:underline focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800` },
|
|
186
|
+
separator: { class: t`mx-6 flex items-center text-gray-600` }
|
|
187
|
+
}, r = t`w-full`, i = {
|
|
188
|
+
root: ({ props: e, state: n }) => {
|
|
189
|
+
let i = t`ris-body2-regular flex min-h-48 border-2 bg-white py-4 pr-4 pl-16 -outline-offset-4 outline-blue-800 placeholder:text-gray-800 has-focus-visible:outline-4`, a = t`cursor-pointer border-blue-800`, o = t`outline-4`, s = t`hover:outline-4`, c = t`aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-hidden`, l = t`cursor-not-allowed border-blue-500 text-blue-500 disabled:outline-hidden`;
|
|
190
|
+
return {
|
|
191
|
+
class: {
|
|
192
|
+
[i]: !0,
|
|
193
|
+
[a]: !e.disabled,
|
|
194
|
+
[o]: n.focused && !e.disabled,
|
|
195
|
+
[s]: !e.disabled,
|
|
196
|
+
[r]: !!e.fluid,
|
|
197
|
+
[c]: e.invalid,
|
|
198
|
+
[l]: e.disabled
|
|
199
|
+
},
|
|
200
|
+
"aria-invalid": e.invalid ? "true" : null
|
|
201
|
+
};
|
|
202
|
+
},
|
|
203
|
+
pcInputText: { root: ({ props: e }) => ({ class: {
|
|
204
|
+
[t`focus-visible:outline-hidden`]: !0,
|
|
205
|
+
[r]: !!e.fluid
|
|
206
|
+
} }) },
|
|
207
|
+
inputMultiple: { class: t`flex w-full flex-wrap items-center gap-4` },
|
|
208
|
+
inputChip: { class: t`flex items-center` },
|
|
209
|
+
input: { class: t`w-full focus-visible:outline-hidden` },
|
|
210
|
+
dropdown: { class: t`absolute inset-y-0 right-16` },
|
|
211
|
+
option: { class: t`cursor-pointer border-l-4 border-transparent hover:border-blue-600 hover:bg-blue-200 data-[p-focused=true]:border-blue-600 data-[p-focused=true]:bg-blue-200` },
|
|
212
|
+
optionGroup: { class: t`hover:bg-blue-100 data-[p-focused=true]:bg-blue-200` },
|
|
213
|
+
overlay: { class: t`mt-12 w-full overflow-auto bg-white px-8 py-12 shadow-md` }
|
|
214
|
+
}, a = {
|
|
215
|
+
root: ({ props: e, instance: n }) => {
|
|
216
|
+
let r = t`relative inline-flex max-w-full cursor-pointer items-center justify-center gap-8 text-center focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 focus-visible:not-focus-visible:outline-none active:outline-none disabled:cursor-not-allowed disabled:outline-hidden`, i = t`rounded-full`, a = e.severity ?? "primary", o = t`bg-blue-800 text-white hover:bg-blue-700 active:bg-blue-500 active:text-blue-800 disabled:bg-gray-400 disabled:text-gray-600`, s = t`border-2 border-blue-800 bg-white text-blue-800 hover:bg-blue-200 focus-visible:bg-blue-200 active:bg-blue-400 disabled:border-blue-500 disabled:text-blue-500 disabled:hover:bg-white`, c = t`border-2 border-red-800 bg-white text-red-800 hover:bg-red-100 focus-visible:bg-red-100 active:border-red-800 active:bg-red-300 disabled:border-red-500 disabled:text-red-500 disabled:hover:bg-white`, l = t`border border-blue-500 bg-white font-normal text-blue-800 hover:bg-gray-200 focus-visible:bg-gray-200 active:border-white active:bg-white disabled:border-blue-500 disabled:text-blue-500 disabled:hover:bg-white`, u = t`border-2 border-transparent bg-transparent text-blue-800 underline hover:border-gray-500 hover:bg-white focus-visible:border-gray-500 active:border-blue-600 active:bg-blue-400 disabled:bg-transparent disabled:text-gray-500`, d = e.size ?? "normal", f = t`ris-body2-bold h-40 py-4`, p = t`ris-body2-bold h-48 py-4`, m = t`ris-body1-bold h-64 py-4`;
|
|
217
|
+
return n.hasIcon && !e.label ? (f = t`${f} w-40 px-4`, p = t`${p} w-48 px-4`, m = t`${m} w-64 px-4`) : (f = t`${f} px-12`, p = t`${p} px-16`, m = t`${m} px-24`), { class: {
|
|
218
|
+
[r]: !0,
|
|
219
|
+
[i]: e.rounded,
|
|
220
|
+
[f]: d === "small",
|
|
221
|
+
[p]: d === "normal",
|
|
222
|
+
[m]: d === "large",
|
|
223
|
+
[o]: !e.text && a === "primary",
|
|
224
|
+
[s]: !e.text && a === "secondary",
|
|
225
|
+
[c]: !e.text && a === "danger",
|
|
226
|
+
[l]: !e.text && a === "info",
|
|
227
|
+
[u]: e.text && a === "primary"
|
|
228
|
+
} };
|
|
229
|
+
},
|
|
230
|
+
label: ({ props: e }) => ({ class: { hidden: !e.label } }),
|
|
231
|
+
icon: ({ props: e }) => ({ class: { "order-last": e.iconPos == "right" } }),
|
|
232
|
+
loadingIcon: ({ props: e }) => {
|
|
233
|
+
let n = e.size ?? "normal", r = t`h-[1.34em] w-[1.34em]`, i = t`h-24 w-24`;
|
|
234
|
+
return { class: {
|
|
235
|
+
[t`animate-spin`]: !0,
|
|
236
|
+
[r]: n === "normal",
|
|
237
|
+
[i]: n === "large"
|
|
238
|
+
} };
|
|
239
|
+
}
|
|
240
|
+
}, o = {
|
|
241
|
+
root: ({ props: e }) => {
|
|
242
|
+
let n = e.size === "large";
|
|
243
|
+
return { class: [t`[&+label]:ris-label1-regular relative inline-block h-24 min-h-24 w-24 min-w-24 [&+label]:ml-8`, { [t`h-32 min-h-32 w-32 min-w-32`]: n }] };
|
|
244
|
+
},
|
|
245
|
+
input: { class: t`peer h-full w-full cursor-pointer appearance-none border-2 border-blue-800 bg-white checked:bg-blue-800 hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 checked:hover:bg-blue-700 checked:hover:outline-blue-700 focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 active:outline-hidden disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-hidden disabled:checked:bg-gray-600 aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:checked:bg-red-800 aria-[invalid]:checked:outline-red-700 aria-[invalid]:checked:hover:bg-red-700 aria-[invalid]:active:outline-none aria-[invalid]:disabled:outline-none` },
|
|
246
|
+
box: { class: t`pointer-events-none absolute inset-0 flex items-center justify-center text-blue-800 peer-checked:text-white` },
|
|
247
|
+
icon: { class: t`h-12 w-12` }
|
|
248
|
+
}, s = {
|
|
249
|
+
root: { class: t`mr-6 inline-flex items-center rounded-full bg-blue-300 px-12 py-4` },
|
|
250
|
+
removeIcon: { class: t`ml-4` }
|
|
251
|
+
}, c = {}, l = {
|
|
252
|
+
root: { class: t`relative` },
|
|
253
|
+
tableContainer: { class: t`overflow-visible` },
|
|
254
|
+
table: { class: t`w-full border-none text-left` },
|
|
255
|
+
thead: { class: t`sticky top-0 bg-white shadow-[0_1px_0_var(--color-blue-300)]` },
|
|
256
|
+
tbody: { class: t`divide-y divide-blue-300 border-b border-blue-300` },
|
|
257
|
+
bodyRow: ({ context: e }) => ({ class: [t`-outline-offset-4 outline-blue-800 focus-visible:outline-4`, {
|
|
258
|
+
"bg-blue-300": e.selected,
|
|
259
|
+
"hover:bg-blue-100": !e.selected
|
|
260
|
+
}] }),
|
|
261
|
+
column: {
|
|
262
|
+
headerCell: { class: t`ris-label2-bold h-56 px-16 py-12` },
|
|
263
|
+
bodyCell: { class: t`ris-body1-regular h-56 px-16 py-12` },
|
|
264
|
+
pcHeaderCheckbox: {
|
|
265
|
+
...o,
|
|
266
|
+
root: { class: t`relative block h-24 w-24` }
|
|
267
|
+
},
|
|
268
|
+
pcRowCheckbox: {
|
|
269
|
+
...o,
|
|
270
|
+
root: { class: t`relative block h-24 w-24` }
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
mask: { class: t`text-primary-500 justify-content absolute inset-0 z-10 mt-56 flex justify-center py-96` },
|
|
274
|
+
loadingIcon: { class: t`inline-block h-24 w-24 animate-spin border-solid border-r-transparent text-blue-900 motion-reduce:animate-[spin_1.5s_linear_infinite]` },
|
|
275
|
+
emptyMessageCell: { class: t`py-96 text-center text-gray-900` }
|
|
276
|
+
}, u = {
|
|
277
|
+
root: () => ({ class: t`ris-label2-regular max-h-[90dvh] w-[95dvw] max-w-[25rem] border-2 border-blue-800 bg-white px-56 py-44 shadow-lg` }),
|
|
278
|
+
header: { class: t`mb-16 flex` },
|
|
279
|
+
title: { class: t`ris-label1-bold flex-1` },
|
|
280
|
+
headerActions: { class: t`flex-none` },
|
|
281
|
+
pcCloseButton: { root: { class: t`ris-label1-regular flex h-24 w-24 items-center justify-center p-4 text-blue-800 outline-hidden hover:outline-2 hover:outline-gray-500 focus-visible:outline-4 focus-visible:outline-blue-800 active:outline-none` } },
|
|
282
|
+
content: { class: t`ris-dialog-content overflow-auto has-[svg:first-child]:flex has-[svg:first-child]:gap-8 [&>svg:first-child]:flex-none` },
|
|
283
|
+
footer: { class: t`mt-40 flex items-center justify-end gap-12` },
|
|
284
|
+
mask: { class: t`bg-black/40` }
|
|
285
|
+
}, d = {
|
|
286
|
+
basicContent: { class: t`flex flex-col items-center gap-10` },
|
|
287
|
+
input: { class: t`hidden` }
|
|
288
|
+
}, f = { root: { class: t`flex` } }, p = t`[&+small]:ris-label3-regular border-2 border-blue-800 bg-white placeholder:text-gray-800 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus-visible:outline-4 focus-visible:-outline-offset-4 focus-visible:outline-blue-800 disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-hidden aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-hidden [&+small]:mt-4 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`, m = t`ris-body2-regular h-48 px-16 py-4`, h = t`ris-body1-regular h-64 px-24 py-4`, g = { root: ({ props: e }) => {
|
|
289
|
+
let n = t`[[type=password]]:w-full [&[type=password]:not(:placeholder-shown)]:text-[1.75rem] [&[type=password]:not(:placeholder-shown)]:tracking-[0.25rem]`, r = t`w-full`;
|
|
290
|
+
return {
|
|
291
|
+
class: {
|
|
292
|
+
[p]: !0,
|
|
293
|
+
[r]: !!e.fluid,
|
|
294
|
+
[n]: !0,
|
|
295
|
+
[m]: !e.size || e.size === "small",
|
|
296
|
+
[h]: e.size === "large"
|
|
297
|
+
},
|
|
298
|
+
"data-size": e.size ?? "small"
|
|
299
|
+
};
|
|
300
|
+
} }, _ = { pcInputText: { root: ({ props: e }) => ({ class: {
|
|
301
|
+
[p]: !0,
|
|
302
|
+
[m]: !0,
|
|
303
|
+
"w-full": !!e.fluid
|
|
304
|
+
} }) } }, v = {
|
|
305
|
+
root: { class: t`ris-body2-regular border border-gray-600 bg-white shadow` },
|
|
306
|
+
list: { class: t`focus-visible:outline-none` },
|
|
307
|
+
item: ({ context: e }) => {
|
|
308
|
+
let n = t`relative h-48 border-l-4 border-l-transparent pr-12 pl-16 after:absolute after:right-16 after:-bottom-1 after:left-12 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:border-l-blue-400 hover:bg-blue-100 active:border-l-blue-800 active:bg-blue-300`, r = t`bg-blue-200 -outline-offset-4 outline-blue-800 not-hover:outline-4 hover:bg-blue-200`;
|
|
309
|
+
return { class: {
|
|
310
|
+
[n]: !0,
|
|
311
|
+
[r]: e.focused
|
|
312
|
+
} };
|
|
313
|
+
},
|
|
314
|
+
itemContent: { class: t`flex h-full items-center py-4` },
|
|
315
|
+
itemLink: { class: t`flex items-center gap-8` }
|
|
316
|
+
}, y = {
|
|
317
|
+
root: ({ props: e, instance: n }) => {
|
|
318
|
+
let r = t`ris-body1-regular border-l-4 px-20 py-14`, i = e.severity ?? "info", a = t`border-l-green-800 bg-green-200`, o = t`border-l-blue-800 bg-blue-200`, s = t`border-l-yellow-800 bg-yellow-200`, c = t`border-l-red-800 bg-red-200`, l = !!n.$slots.icon, u = {
|
|
319
|
+
success: "var(--ris-icon-success)",
|
|
320
|
+
info: "var(--ris-icon-info)",
|
|
321
|
+
warn: "var(--ris-icon-warn)",
|
|
322
|
+
error: "var(--ris-icon-error)"
|
|
323
|
+
}[i], d = t`bg-size-[1.5rem] bg-position-[1rem_1rem] bg-no-repeat pl-48`;
|
|
324
|
+
return {
|
|
325
|
+
class: {
|
|
326
|
+
[r]: !0,
|
|
327
|
+
[a]: i === "success",
|
|
328
|
+
[o]: i === "info",
|
|
329
|
+
[s]: i === "warn",
|
|
330
|
+
[c]: i === "error",
|
|
331
|
+
[d]: !l
|
|
332
|
+
},
|
|
333
|
+
style: { backgroundImage: l ? void 0 : u }
|
|
334
|
+
};
|
|
335
|
+
},
|
|
336
|
+
content: { class: t`flex items-start gap-8` },
|
|
337
|
+
text: { class: t`flex-1` },
|
|
338
|
+
closeButton: ({ props: e }) => {
|
|
339
|
+
let n = t`mt-4 inline-flex h-20 w-20 flex-none items-center justify-center p-2 leading-none outline-offset-4 outline-blue-800 focus-visible:outline-4`, r = e.severity ?? "info", i = t`text-green-800 hover:bg-green-400 active:bg-green-500`, a = t`text-blue-800 hover:bg-blue-400 active:bg-blue-500`, o = t`text-black hover:bg-yellow-400 active:bg-yellow-500`, s = t`text-red-800 hover:bg-red-400 active:bg-red-500`;
|
|
340
|
+
return { class: {
|
|
341
|
+
[n]: !0,
|
|
342
|
+
[i]: r === "success",
|
|
343
|
+
[a]: r === "info",
|
|
344
|
+
[o]: r === "warn",
|
|
345
|
+
[s]: r === "error"
|
|
346
|
+
} };
|
|
347
|
+
}
|
|
348
|
+
}, b = {
|
|
349
|
+
root: ({ props: e, state: n }) => {
|
|
350
|
+
let r = t`ris-body2-regular [&+small]:ris-label3-regular relative inline-flex min-h-48 items-center justify-start border-2 bg-white py-2 pr-12 pl-12 [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`, i = t`cursor-pointer border-blue-800`, a = t`has-focus-visible:outline-4 has-focus-visible:-outline-offset-4 has-focus-visible:outline-blue-800`, o = t`hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800`, s = t`cursor-not-allowed border-blue-500 text-blue-500 disabled:outline-hidden`, c = t`border-red-800 bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden`, l = t`w-full`;
|
|
351
|
+
return {
|
|
352
|
+
class: {
|
|
353
|
+
[r]: !0,
|
|
354
|
+
[i]: !e.disabled,
|
|
355
|
+
[a]: n.focused && !e.disabled,
|
|
356
|
+
[o]: !e.disabled,
|
|
357
|
+
[l]: !!e.fluid,
|
|
358
|
+
[s]: e.disabled,
|
|
359
|
+
[c]: e.invalid
|
|
360
|
+
},
|
|
361
|
+
"aria-invalid": e.invalid ? "true" : null
|
|
362
|
+
};
|
|
363
|
+
},
|
|
364
|
+
dropdown: { class: t`pl-12` },
|
|
365
|
+
dropdownIcon: { class: t`absolute top-16 right-8` },
|
|
366
|
+
listContainer: { class: t`overflow-auto shadow-md` },
|
|
367
|
+
labelContainer: { class: t`flex flex-row` },
|
|
368
|
+
label: { class: t`flex flex-row flex-wrap gap-y-8 py-4` },
|
|
369
|
+
overlay: { class: t`bg-white` },
|
|
370
|
+
optionLabel: { class: t`pl-12` },
|
|
371
|
+
header: { class: t`hidden` },
|
|
372
|
+
option: ({ context: e }) => {
|
|
373
|
+
let n = t`ris-body2-regular relative flex h-full min-h-48 w-full cursor-pointer border-l-4 border-transparent py-16 pr-24 pl-20 after:absolute after:right-8 after:-bottom-1 after:left-8 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`, r = t`border-l-4 border-solid border-l-blue-800 bg-gray-100`;
|
|
374
|
+
return { class: {
|
|
375
|
+
[n]: !0,
|
|
376
|
+
[r]: e.focused
|
|
377
|
+
} };
|
|
378
|
+
}
|
|
379
|
+
}, x = t`cursor-pointer`, S = t`ris-label1-bold border-l-blue-800 bg-blue-200 text-blue-900 hover:bg-blue-300`, C = t`ris-label1-regular hover:border-l-blue-600 hover:bg-blue-200`, w = t`-outline-offset-4 outline-blue-800 focus-visible:outline-4`, T = {
|
|
380
|
+
root: { class: t`text-blue-800` },
|
|
381
|
+
header: ({ context: e }) => ({ class: {
|
|
382
|
+
[t`group flex h-64 items-center border-l-4 border-transparent py-8 pr-20 pl-10`]: !0,
|
|
383
|
+
[w]: !0,
|
|
384
|
+
[x]: !0,
|
|
385
|
+
[S]: e.active,
|
|
386
|
+
[C]: !e.active
|
|
387
|
+
} }),
|
|
388
|
+
content: { class: t`mt-8 ml-28` },
|
|
389
|
+
rootList: { class: t`focus-visible:outline-none` },
|
|
390
|
+
panel: { class: t`focus-visible:outline-none` },
|
|
391
|
+
itemContent: ({ context: e }) => {
|
|
392
|
+
let n = t`group flex h-48 items-center border-l-4 border-transparent py-8 pr-20 pl-10`, r = t`${w} not-[:hover]:outline-4`;
|
|
393
|
+
return { class: {
|
|
394
|
+
[n]: !0,
|
|
395
|
+
[r]: e.focused,
|
|
396
|
+
[x]: !0,
|
|
397
|
+
[S]: e.active,
|
|
398
|
+
[C]: !e.active
|
|
399
|
+
} };
|
|
400
|
+
}
|
|
401
|
+
}, E = {}, D = {
|
|
402
|
+
root: { class: t`mx-auto inline-block h-28 w-28 animate-spin` },
|
|
403
|
+
circle: { class: t`fill-transparent stroke-current stroke-[4px] text-blue-800 [stroke-dasharray:200] [stroke-dashoffset:100]` }
|
|
614
404
|
}, O = {
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
},
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
confirmDialog: z,
|
|
811
|
-
dialog: N,
|
|
812
|
-
fileUpload: D,
|
|
813
|
-
inputGroup: L,
|
|
814
|
-
inputText: B,
|
|
815
|
-
menu: C,
|
|
816
|
-
message: I,
|
|
817
|
-
password: F,
|
|
818
|
-
progressSpinner: T,
|
|
819
|
-
radioButton: E,
|
|
820
|
-
textarea: j,
|
|
821
|
-
toast: R,
|
|
822
|
-
autocomplete: V,
|
|
823
|
-
select: _,
|
|
824
|
-
multiselect: P,
|
|
825
|
-
inputMask: Z,
|
|
826
|
-
breadcrumb: J,
|
|
827
|
-
tree: K,
|
|
828
|
-
panelmenu: H,
|
|
829
|
-
splitter: $,
|
|
830
|
-
dataTable: G,
|
|
831
|
-
tab: O,
|
|
832
|
-
tabPanel: W,
|
|
833
|
-
tabList: U,
|
|
834
|
-
directives: {
|
|
835
|
-
tooltip: Y
|
|
836
|
-
}
|
|
837
|
-
}, ee = {
|
|
838
|
-
deDE: q
|
|
839
|
-
};
|
|
840
|
-
export {
|
|
841
|
-
ee as RisUiLocale,
|
|
842
|
-
X as RisUiTheme
|
|
843
|
-
};
|
|
844
|
-
//# sourceMappingURL=index.js.map
|
|
405
|
+
root: ({ props: e }) => {
|
|
406
|
+
let n = e.size === "small";
|
|
407
|
+
return { class: [t`[&+label]:ris-label1-regular relative inline-block [&+label]:ml-8`, n ? t`h-24 w-24` : t`h-32 w-32`] };
|
|
408
|
+
},
|
|
409
|
+
input: { class: t`peer h-full w-full cursor-pointer appearance-none rounded-full border-2 border-blue-800 bg-white hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus-visible:outline focus-visible:outline-4 focus-visible:-outline-offset-4 focus-visible:outline-blue-800 active:outline-hidden disabled:cursor-not-allowed disabled:border-gray-600 aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden` },
|
|
410
|
+
box: { class: t`pointer-events-none absolute inset-0 flex items-center justify-center text-transparent peer-checked:text-blue-800 peer-disabled:text-gray-600 peer-aria-[invalid]:text-red-800` },
|
|
411
|
+
icon: ({ props: e }) => {
|
|
412
|
+
let n = e.size === "small";
|
|
413
|
+
return { class: [t`rounded-full bg-current`, n ? t`h-12 w-12` : t`h-16 w-16`] };
|
|
414
|
+
}
|
|
415
|
+
}, k = {
|
|
416
|
+
root: ({ props: e, state: n }) => {
|
|
417
|
+
let r = t`group ris-body2-regular [&+small]:ris-label3-regular relative inline-flex h-48 items-center justify-between border-2 bg-white py-4 pr-6 pl-16 [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`, i = t`cursor-pointer border-blue-800`, a = t`outline-4 -outline-offset-4 outline-blue-800`, o = t`hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800`, s = t`cursor-not-allowed border-blue-500 text-blue-500 disabled:outline-hidden`, c = t`border-red-800 bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden`, l = t`w-full`;
|
|
418
|
+
return {
|
|
419
|
+
class: {
|
|
420
|
+
[r]: !0,
|
|
421
|
+
[i]: !e.disabled,
|
|
422
|
+
[a]: (n.focused || n.overlayVisible) && !e.disabled,
|
|
423
|
+
[o]: !e.disabled,
|
|
424
|
+
[l]: !!e.fluid,
|
|
425
|
+
[s]: e.disabled,
|
|
426
|
+
[c]: e.invalid
|
|
427
|
+
},
|
|
428
|
+
"aria-invalid": e.invalid ? "true" : null
|
|
429
|
+
};
|
|
430
|
+
},
|
|
431
|
+
dropdown: ({ state: e, props: n }) => {
|
|
432
|
+
let r = t`ml-8 p-10`, i = t`text-blue-800 group-hover:bg-blue-200`, a = t`bg-blue-800 text-white`, o = t`text-blue-500`;
|
|
433
|
+
return { class: {
|
|
434
|
+
[r]: !0,
|
|
435
|
+
[i]: !(e.focused || e.overlayVisible || n.disabled),
|
|
436
|
+
[a]: (e.focused || e.overlayVisible) && !n.disabled,
|
|
437
|
+
[o]: n.disabled
|
|
438
|
+
} };
|
|
439
|
+
},
|
|
440
|
+
listContainer: { class: t`overflow-auto shadow-md` },
|
|
441
|
+
label: { class: t`line-clamp-1 grow outline-none` },
|
|
442
|
+
overlay: { class: t`bg-white` },
|
|
443
|
+
option: ({ context: e, props: n }) => {
|
|
444
|
+
let r = t`ris-body2-regular relative h-full min-h-48 w-full cursor-pointer px-16 py-12 after:absolute after:right-8 after:-bottom-1 after:left-8 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`, i = t`bg-gray-100`, a = t`flex items-center gap-16`;
|
|
445
|
+
return { class: {
|
|
446
|
+
[r]: !0,
|
|
447
|
+
[i]: e.focused,
|
|
448
|
+
[a]: n.checkmark
|
|
449
|
+
} };
|
|
450
|
+
},
|
|
451
|
+
optionCheckIcon: { class: t`order-1 text-blue-800` },
|
|
452
|
+
optionBlankIcon: { class: t`order-1` }
|
|
453
|
+
}, A = {
|
|
454
|
+
root: ({ props: e }) => ({ class: {
|
|
455
|
+
[t`flex flex-nowrap rounded-none border-0 bg-transparent`]: !0,
|
|
456
|
+
[t`flex-col`]: e.layout === "vertical"
|
|
457
|
+
} }),
|
|
458
|
+
gutter: ({ props: e }) => ({ class: {
|
|
459
|
+
[t`flex shrink-0 items-center justify-center bg-gray-400 hover:bg-blue-700`]: !0,
|
|
460
|
+
[t`h-full w-[0.1875rem] cursor-col-resize`]: e.layout === "horizontal",
|
|
461
|
+
[t`h-[0.1875rem] w-full cursor-row-resize`]: e.layout === "vertical"
|
|
462
|
+
} }),
|
|
463
|
+
gutterHandle: ({ props: e }) => ({ class: {
|
|
464
|
+
[t`z-20 rounded bg-transparent outline-offset-4 outline-blue-800 focus-visible:outline-4`]: !0,
|
|
465
|
+
[t`h-11/12 w-[0.1875rem] cursor-col-resize`]: e.layout === "horizontal",
|
|
466
|
+
[t`h-[0.1875rem] w-11/12 cursor-row-resize`]: e.layout === "vertical"
|
|
467
|
+
} })
|
|
468
|
+
}, j = { root: ({ context: e }) => {
|
|
469
|
+
let n = t`ris-body2-bold h-64 border-b-4 border-b-transparent py-4 pr-24 pl-20 outline-0 -outline-offset-4 outline-blue-800 focus-visible:outline-4`, r = t`z-10 bg-[var(--p-tabs-tab-active-background)] text-black shadow-[-1px_-1px_0_0_var(--p-tabs-tab-border-color),1px_-1px_0_0_var(--p-tabs-tab-border-color)]`, i = t`cursor-pointer text-blue-800 hover:border-b-blue-800`;
|
|
470
|
+
return { class: {
|
|
471
|
+
[n]: !0,
|
|
472
|
+
[r]: e.active,
|
|
473
|
+
[i]: !e.active
|
|
474
|
+
} };
|
|
475
|
+
} }, M = { root: { class: t`min-h-96 bg-[var(--p-tabs-tabpanel-background)] py-24 outline-blue-800 focus-visible:outline-solid` } }, N = { tabList: { class: t`relative flex before:absolute before:bottom-0 before:left-[50%] before:h-px before:w-[var(--tab-list-separator-width,100%)] before:-translate-x-1/2 before:bg-[var(--p-tabs-tablist-border-color)]` } }, P = { root: ({ props: e }) => {
|
|
476
|
+
let n = t`ris-body1-regular [&+small]:ris-label3-regular min-h-56 border-2 border-blue-800 bg-white px-14 pt-8 pb-12 placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus-visible:outline focus-visible:outline-4 focus-visible:-outline-offset-4 focus-visible:outline-blue-800 disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-hidden aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-hidden [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`, r = t`w-full`;
|
|
477
|
+
return { class: {
|
|
478
|
+
[n]: !0,
|
|
479
|
+
[r]: !!e.fluid
|
|
480
|
+
} };
|
|
481
|
+
} }, F = {
|
|
482
|
+
root: { class: t`max-w-lg` },
|
|
483
|
+
message: ({ props: e }) => {
|
|
484
|
+
let n = t`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`, r = e.message?.severity, i = t`border-l-green-900 bg-green-200`, a = t`border-l-red-900 bg-red-200`, o = t`border-l-yellow-900 bg-yellow-200`, s = t`border-l-blue-900 bg-blue-200`;
|
|
485
|
+
return { class: {
|
|
486
|
+
[n]: !0,
|
|
487
|
+
[i]: r === "success",
|
|
488
|
+
[a]: r === "error",
|
|
489
|
+
[o]: r === "warn",
|
|
490
|
+
[s]: r === "info"
|
|
491
|
+
} };
|
|
492
|
+
},
|
|
493
|
+
messageContent: { class: t`flex w-full flex-row items-start justify-between gap-10` },
|
|
494
|
+
messageIcon: ({ props: e }) => {
|
|
495
|
+
let n = t`mt-2 h-20 w-20 flex-none shrink-0`, r = e.message?.severity ?? "info", i = t`text-green-800`, a = t`text-red-800`, o = t`text-black`, s = t`text-blue-800`;
|
|
496
|
+
return { class: {
|
|
497
|
+
[n]: !0,
|
|
498
|
+
[i]: r === "success",
|
|
499
|
+
[a]: r === "error",
|
|
500
|
+
[o]: r === "warn",
|
|
501
|
+
[s]: r === "info"
|
|
502
|
+
} };
|
|
503
|
+
},
|
|
504
|
+
messageText: { class: t`grow text-black` },
|
|
505
|
+
summary: { class: t`ris-label2-bold` },
|
|
506
|
+
detail: { class: t`ris-label2-regular` },
|
|
507
|
+
closeButton: ({ props: e }) => {
|
|
508
|
+
let n = t`p-2 outline-offset-4 outline-blue-800 focus-visible:outline-4`, r = e.message?.severity ?? "info", i = t`hover:bg-green-400`, a = t`hover:bg-red-400`, o = t`hover:bg-yellow-400`, s = t`hover:bg-blue-400`;
|
|
509
|
+
return { class: {
|
|
510
|
+
[n]: !0,
|
|
511
|
+
[i]: r === "success",
|
|
512
|
+
[a]: r === "error",
|
|
513
|
+
[o]: r === "warn",
|
|
514
|
+
[s]: r === "info"
|
|
515
|
+
} };
|
|
516
|
+
},
|
|
517
|
+
closeIcon: { class: t`text-black` }
|
|
518
|
+
}, I = {
|
|
519
|
+
arrow: ({ context: e }) => {
|
|
520
|
+
let n = t`absolute h-0 w-0 border-[7px] border-solid`, r = t`-mr-[7px] border-b-0 border-t-gray-900 border-r-transparent border-l-transparent`, i = t`-mt-[7px] border-l-0 border-t-transparent border-r-gray-900 border-b-transparent`, a = t`-ml-[7px] border-t-0 border-r-transparent border-b-gray-900 border-l-transparent`, o = t`-mt-[7px] border-r-0 border-t-transparent border-b-transparent border-l-gray-900`, s = !e.top && !e.right && !e.bottom && !e.left;
|
|
521
|
+
return { class: {
|
|
522
|
+
[n]: !0,
|
|
523
|
+
[r]: e.top,
|
|
524
|
+
[i]: e.right || s,
|
|
525
|
+
[a]: e.bottom,
|
|
526
|
+
[o]: e.left
|
|
527
|
+
} };
|
|
528
|
+
},
|
|
529
|
+
text: { class: t`ris-label3-regular m-[7px] rounded-sm bg-gray-900 px-8 py-4 text-center whitespace-pre-line text-white` },
|
|
530
|
+
root: { class: t`absolute` }
|
|
531
|
+
}, L = {
|
|
532
|
+
button: a,
|
|
533
|
+
checkbox: o,
|
|
534
|
+
chip: s,
|
|
535
|
+
confirmDialog: c,
|
|
536
|
+
dialog: u,
|
|
537
|
+
fileUpload: d,
|
|
538
|
+
inputGroup: f,
|
|
539
|
+
inputText: g,
|
|
540
|
+
menu: v,
|
|
541
|
+
message: y,
|
|
542
|
+
password: E,
|
|
543
|
+
progressSpinner: D,
|
|
544
|
+
radioButton: O,
|
|
545
|
+
textarea: P,
|
|
546
|
+
toast: F,
|
|
547
|
+
autocomplete: i,
|
|
548
|
+
select: k,
|
|
549
|
+
multiselect: b,
|
|
550
|
+
inputMask: _,
|
|
551
|
+
breadcrumb: n,
|
|
552
|
+
tree: {
|
|
553
|
+
node: { class: t`mb-24 last:mb-0 focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 [&>ul:first-of-type]:border-l-0` },
|
|
554
|
+
nodeContent: ({ context: e }) => {
|
|
555
|
+
let n = t`group ris-label2-bold flex w-full border-l-4 border-transparent py-10 pr-20 pl-10 text-blue-800`, r = t`cursor-pointer select-none`, i = t`focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`, a = t`border-l-blue-800 bg-blue-200 text-black`, o = t`hover:bg-blue-200`, s = t`hover:bg-blue-300`;
|
|
556
|
+
return { class: {
|
|
557
|
+
[n]: !0,
|
|
558
|
+
[r]: !0,
|
|
559
|
+
[a]: e.selected,
|
|
560
|
+
[o]: !e.selected,
|
|
561
|
+
[s]: e.selected,
|
|
562
|
+
[i]: !0
|
|
563
|
+
} };
|
|
564
|
+
},
|
|
565
|
+
nodeToggleButton: ({ context: e }) => {
|
|
566
|
+
let n = t`h-20 w-20 justify-center border-0 bg-transparent text-gray-900 group-hover:text-black hover:text-black`, r = e.leaf ? t`hidden` : t`inline-flex`;
|
|
567
|
+
return { class: {
|
|
568
|
+
[n]: !0,
|
|
569
|
+
[r]: e.leaf
|
|
570
|
+
} };
|
|
571
|
+
},
|
|
572
|
+
nodeChildren: () => {
|
|
573
|
+
let e = t`m-0 list-none border-l border-gray-600 p-0 pl-36 [&:not(ul)]:pl-0 [&>ul:first-of-type]:border-0`, n = t`focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`;
|
|
574
|
+
return { class: {
|
|
575
|
+
[e]: !0,
|
|
576
|
+
[n]: !0
|
|
577
|
+
} };
|
|
578
|
+
},
|
|
579
|
+
nodeLabel: ({ context: e }) => {
|
|
580
|
+
let n = t`group flex w-full flex-col items-start outline-none *:w-full *:outline-none group-hover:text-black [&>*:first-child]:group-hover:underline [&>*:last-child]:group-hover:no-underline`, r = t`text-black [&>*:last-child:is(span)]:text-gray-900`, i = t`[&>*:last-child]:group-hover:text-black`;
|
|
581
|
+
return { class: {
|
|
582
|
+
[n]: !0,
|
|
583
|
+
[r]: e.selected,
|
|
584
|
+
[i]: e.selected
|
|
585
|
+
} };
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
panelmenu: T,
|
|
589
|
+
splitter: A,
|
|
590
|
+
dataTable: l,
|
|
591
|
+
tab: j,
|
|
592
|
+
tabPanel: M,
|
|
593
|
+
tabList: N,
|
|
594
|
+
directives: { tooltip: I }
|
|
595
|
+
}, R = { deDE: e };
|
|
596
|
+
//#endregion
|
|
597
|
+
export { R as RisUiLocale, L as RisUiTheme };
|
|
598
|
+
|
|
599
|
+
//# sourceMappingURL=index.js.map
|