@eagami/ui 4.7.0 → 4.8.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 +2 -2
- package/fesm2022/eagami-ui.mjs +545 -28
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +3 -1
package/fesm2022/eagami-ui.mjs
CHANGED
|
@@ -5,25 +5,29 @@ import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
|
5
5
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* Display name and
|
|
9
|
-
* English first (the default fallback), then
|
|
10
|
-
* name (Latin scripts first, then Greek, Cyrillic,
|
|
11
|
-
*
|
|
12
|
-
*
|
|
8
|
+
* Display name, flag, and reading direction for every built-in locale, in
|
|
9
|
+
* language-switcher order: English first (the default fallback), then by each
|
|
10
|
+
* language's own name (Latin scripts first, then Greek, Cyrillic, Hebrew,
|
|
11
|
+
* Arabic, Devanagari, and Chinese by Unicode block order). Keyed by
|
|
12
|
+
* `EagamiLocale` so a locale added to the union without an entry fails to
|
|
13
|
+
* compile, keeping this single source exhaustive.
|
|
13
14
|
*/
|
|
14
15
|
const LOCALE_DISPLAY = {
|
|
15
|
-
en: { label: 'English', flag: '🇬🇧' },
|
|
16
|
-
de: { label: 'Deutsch', flag: '🇩🇪' },
|
|
17
|
-
'es-ES': { label: 'Español', flag: '🇪🇸' },
|
|
18
|
-
'fr-FR': { label: 'Français', flag: '🇫🇷' },
|
|
19
|
-
is: { label: 'Íslenska', flag: '🇮🇸' },
|
|
20
|
-
nl: { label: 'Nederlands', flag: '🇳🇱' },
|
|
21
|
-
pl: { label: 'Polski', flag: '🇵🇱' },
|
|
22
|
-
'pt-BR': { label: 'Português (Brasil)', flag: '🇧🇷' },
|
|
23
|
-
el: { label: 'Ελληνικά', flag: '🇬🇷' },
|
|
24
|
-
ru: { label: 'Русский', flag: '🇷🇺' },
|
|
25
|
-
uk: { label: 'Українська', flag: '🇺🇦' },
|
|
26
|
-
|
|
16
|
+
en: { label: 'English', flag: '🇬🇧', dir: 'ltr' },
|
|
17
|
+
de: { label: 'Deutsch', flag: '🇩🇪', dir: 'ltr' },
|
|
18
|
+
'es-ES': { label: 'Español', flag: '🇪🇸', dir: 'ltr' },
|
|
19
|
+
'fr-FR': { label: 'Français', flag: '🇫🇷', dir: 'ltr' },
|
|
20
|
+
is: { label: 'Íslenska', flag: '🇮🇸', dir: 'ltr' },
|
|
21
|
+
nl: { label: 'Nederlands', flag: '🇳🇱', dir: 'ltr' },
|
|
22
|
+
pl: { label: 'Polski', flag: '🇵🇱', dir: 'ltr' },
|
|
23
|
+
'pt-BR': { label: 'Português (Brasil)', flag: '🇧🇷', dir: 'ltr' },
|
|
24
|
+
el: { label: 'Ελληνικά', flag: '🇬🇷', dir: 'ltr' },
|
|
25
|
+
ru: { label: 'Русский', flag: '🇷🇺', dir: 'ltr' },
|
|
26
|
+
uk: { label: 'Українська', flag: '🇺🇦', dir: 'ltr' },
|
|
27
|
+
he: { label: 'עברית', flag: '🇮🇱', dir: 'rtl' },
|
|
28
|
+
ar: { label: 'العربية', flag: '🇸🇦', dir: 'rtl' },
|
|
29
|
+
hi: { label: 'हिन्दी', flag: '🇮🇳', dir: 'ltr' },
|
|
30
|
+
'zh-CN': { label: '中文', flag: '🇨🇳', dir: 'ltr' },
|
|
27
31
|
};
|
|
28
32
|
/**
|
|
29
33
|
* Display metadata for every built-in locale. The single source the Storybook
|
|
@@ -403,8 +407,178 @@ function provideEagamiUi(config = {}) {
|
|
|
403
407
|
*/
|
|
404
408
|
const _eagamiI18nLocaleOverride = signal(null, ...(ngDevMode ? [{ debugName: "_eagamiI18nLocaleOverride" }] : /* istanbul ignore next */ []));
|
|
405
409
|
|
|
410
|
+
/** Arabic messages. */
|
|
411
|
+
const messages$e = {
|
|
412
|
+
alert: {
|
|
413
|
+
dismiss: 'إغلاق',
|
|
414
|
+
},
|
|
415
|
+
autocomplete: {
|
|
416
|
+
empty: 'لا توجد نتائج',
|
|
417
|
+
},
|
|
418
|
+
avatarEditor: {
|
|
419
|
+
upload: 'تحميل صورة',
|
|
420
|
+
dropzone: 'أفلت الصورة أو انقر للتحميل',
|
|
421
|
+
canvas: 'معاينة الصورة، اسحب أو استخدم مفاتيح الأسهم للتحريك، وشريط التمرير للتكبير',
|
|
422
|
+
change: 'تغيير الصورة',
|
|
423
|
+
revert: 'استعادة الأصل',
|
|
424
|
+
zoomOut: 'تصغير',
|
|
425
|
+
zoom: 'تكبير/تصغير',
|
|
426
|
+
zoomIn: 'تكبير',
|
|
427
|
+
remove: 'إزالة الصورة',
|
|
428
|
+
},
|
|
429
|
+
breadcrumbs: {
|
|
430
|
+
label: 'مسار التنقل',
|
|
431
|
+
},
|
|
432
|
+
codeInput: {
|
|
433
|
+
groupLabel: length => `رمز التحقق، ${length} أرقام`,
|
|
434
|
+
digitLabel: (index, length) => `الرقم ${index} من ${length}`,
|
|
435
|
+
},
|
|
436
|
+
commandPalette: {
|
|
437
|
+
dialogLabel: 'لوحة الأوامر',
|
|
438
|
+
searchPlaceholder: 'اكتب أمرًا أو ابحث…',
|
|
439
|
+
empty: 'لم يتم العثور على نتائج',
|
|
440
|
+
clear: 'مسح البحث',
|
|
441
|
+
},
|
|
442
|
+
colorPicker: {
|
|
443
|
+
placeholder: 'اختر لونًا…',
|
|
444
|
+
clear: 'مسح اللون',
|
|
445
|
+
hue: 'تدرج اللون',
|
|
446
|
+
saturationAndValue: 'التشبع والقيمة',
|
|
447
|
+
alpha: 'الشفافية',
|
|
448
|
+
eyedropper: 'الاختيار من الشاشة',
|
|
449
|
+
presets: 'الإعدادات المسبقة',
|
|
450
|
+
toggleFormat: 'تبديل تنسيق الإدخال',
|
|
451
|
+
},
|
|
452
|
+
dataTable: {
|
|
453
|
+
noData: 'لا توجد بيانات متاحة',
|
|
454
|
+
},
|
|
455
|
+
datePicker: {
|
|
456
|
+
placeholder: 'اختر التاريخ…',
|
|
457
|
+
clear: 'مسح التاريخ',
|
|
458
|
+
previousYear: 'السنة السابقة',
|
|
459
|
+
previousMonth: 'الشهر السابق',
|
|
460
|
+
nextMonth: 'الشهر التالي',
|
|
461
|
+
nextYear: 'السنة التالية',
|
|
462
|
+
today: 'اليوم',
|
|
463
|
+
},
|
|
464
|
+
dialog: {
|
|
465
|
+
close: 'إغلاق مربع الحوار',
|
|
466
|
+
},
|
|
467
|
+
drawer: {
|
|
468
|
+
close: 'إغلاق اللوحة',
|
|
469
|
+
},
|
|
470
|
+
dropdown: {
|
|
471
|
+
placeholder: 'اختر…',
|
|
472
|
+
},
|
|
473
|
+
fileUploader: {
|
|
474
|
+
prompt: 'انقر أو اسحب الملفات هنا للتحميل',
|
|
475
|
+
promptSingle: 'انقر أو اسحب ملفًا هنا للتحميل',
|
|
476
|
+
browse: 'تصفح الملفات',
|
|
477
|
+
removeFile: name => `إزالة ${name}`,
|
|
478
|
+
fileListLabel: 'الملفات المحددة',
|
|
479
|
+
constraintsAccept: accept => `المقبول: ${accept}`,
|
|
480
|
+
constraintsMaxSize: size => `الحد الأقصى ${size} لكل ملف`,
|
|
481
|
+
constraintsMaxFiles: count => `حتى ${count} ملفات`,
|
|
482
|
+
rejectionType: name => `${name} من نوع ملف غير مدعوم`,
|
|
483
|
+
rejectionSize: (name, max) => `${name} يتجاوز الحد ${max}`,
|
|
484
|
+
rejectionCount: max => `يمكن تحديد ${max} ملفات فقط`,
|
|
485
|
+
bytesUnit: { b: 'B', kb: 'KB', mb: 'MB', gb: 'GB', tb: 'TB' },
|
|
486
|
+
},
|
|
487
|
+
input: {
|
|
488
|
+
showPassword: 'إظهار كلمة المرور',
|
|
489
|
+
hidePassword: 'إخفاء كلمة المرور',
|
|
490
|
+
clear: 'مسح',
|
|
491
|
+
},
|
|
492
|
+
menu: {
|
|
493
|
+
label: 'القائمة',
|
|
494
|
+
},
|
|
495
|
+
multiSelect: {
|
|
496
|
+
placeholder: 'اختر…',
|
|
497
|
+
searchPlaceholder: 'بحث…',
|
|
498
|
+
searchEmpty: 'لا توجد مطابقات',
|
|
499
|
+
selectAll: 'تحديد الكل',
|
|
500
|
+
clearAll: 'مسح التحديد',
|
|
501
|
+
removeOption: label => `إزالة ${label}`,
|
|
502
|
+
selectedCount: count => `${count} محدد`,
|
|
503
|
+
},
|
|
504
|
+
paginator: {
|
|
505
|
+
label: 'ترقيم الصفحات',
|
|
506
|
+
rowsPerPage: 'الصفوف لكل صفحة:',
|
|
507
|
+
range: (start, end, total) => `${start}–${end} من ${total}`,
|
|
508
|
+
previousPage: 'الصفحة السابقة',
|
|
509
|
+
nextPage: 'الصفحة التالية',
|
|
510
|
+
},
|
|
511
|
+
progressBar: {
|
|
512
|
+
label: 'التقدم',
|
|
513
|
+
},
|
|
514
|
+
rating: {
|
|
515
|
+
label: 'التقييم',
|
|
516
|
+
valueLabel: (value, max) => `${value} من ${max}`,
|
|
517
|
+
clear: 'مسح التقييم',
|
|
518
|
+
},
|
|
519
|
+
spinner: {
|
|
520
|
+
label: 'جارٍ التحميل',
|
|
521
|
+
},
|
|
522
|
+
stepper: {
|
|
523
|
+
optional: 'اختياري',
|
|
524
|
+
},
|
|
525
|
+
tag: {
|
|
526
|
+
remove: 'إزالة',
|
|
527
|
+
},
|
|
528
|
+
timePicker: {
|
|
529
|
+
placeholder: 'اختر الوقت…',
|
|
530
|
+
clear: 'مسح الوقت',
|
|
531
|
+
hoursLabel: 'الساعات',
|
|
532
|
+
minutesLabel: 'الدقائق',
|
|
533
|
+
secondsLabel: 'الثواني',
|
|
534
|
+
incrementHours: 'زيادة الساعات',
|
|
535
|
+
decrementHours: 'إنقاص الساعات',
|
|
536
|
+
incrementMinutes: 'زيادة الدقائق',
|
|
537
|
+
decrementMinutes: 'إنقاص الدقائق',
|
|
538
|
+
incrementSeconds: 'زيادة الثواني',
|
|
539
|
+
decrementSeconds: 'إنقاص الثواني',
|
|
540
|
+
amLabel: 'ص',
|
|
541
|
+
pmLabel: 'م',
|
|
542
|
+
},
|
|
543
|
+
toast: {
|
|
544
|
+
dismiss: 'إغلاق',
|
|
545
|
+
},
|
|
546
|
+
transferList: {
|
|
547
|
+
sourceLabel: 'المتاح',
|
|
548
|
+
targetLabel: 'المحدد',
|
|
549
|
+
controlsLabel: 'عناصr التحكم بالنقل',
|
|
550
|
+
moveSelectedToTarget: 'نقل المحدد إلى اليمين',
|
|
551
|
+
moveAllToTarget: 'نقل الكل إلى اليمين',
|
|
552
|
+
moveSelectedToSource: 'نقل المحدد إلى اليسار',
|
|
553
|
+
moveAllToSource: 'نقل الكل إلى اليسار',
|
|
554
|
+
empty: 'لا توجد عناصر',
|
|
555
|
+
},
|
|
556
|
+
tree: {
|
|
557
|
+
expand: 'توسيع',
|
|
558
|
+
collapse: 'طي',
|
|
559
|
+
},
|
|
560
|
+
validation: {
|
|
561
|
+
required: 'هذا الحقل مطلوب',
|
|
562
|
+
email: 'أدخل عنوان بريد إلكتروني صالحًا',
|
|
563
|
+
min: min => `يجب أن يكون ${min} على الأقل`,
|
|
564
|
+
max: max => `يجب أن يكون ${max} على الأكثر`,
|
|
565
|
+
minlength: length => `يجب أن يحتوي على ${length} حرفًا على الأقل`,
|
|
566
|
+
maxlength: length => `يجب أن يحتوي على ${length} حرفًا على الأكثر`,
|
|
567
|
+
pattern: 'تنسيق غير صالح',
|
|
568
|
+
invalid: 'قيمة غير صالحة',
|
|
569
|
+
},
|
|
570
|
+
wordmark: {
|
|
571
|
+
overline: 'صناعة يدوية من',
|
|
572
|
+
tagline: 'تصميم ويب أنيق',
|
|
573
|
+
},
|
|
574
|
+
};
|
|
575
|
+
const ar = {
|
|
576
|
+
locale: 'ar',
|
|
577
|
+
messages: messages$e,
|
|
578
|
+
};
|
|
579
|
+
|
|
406
580
|
/** German messages. */
|
|
407
|
-
const messages$
|
|
581
|
+
const messages$d = {
|
|
408
582
|
alert: {
|
|
409
583
|
dismiss: 'Schließen',
|
|
410
584
|
},
|
|
@@ -570,11 +744,11 @@ const messages$b = {
|
|
|
570
744
|
};
|
|
571
745
|
const de = {
|
|
572
746
|
locale: 'de',
|
|
573
|
-
messages: messages$
|
|
747
|
+
messages: messages$d,
|
|
574
748
|
};
|
|
575
749
|
|
|
576
750
|
/** Greek messages. */
|
|
577
|
-
const messages$
|
|
751
|
+
const messages$c = {
|
|
578
752
|
alert: {
|
|
579
753
|
dismiss: 'Απόρριψη',
|
|
580
754
|
},
|
|
@@ -740,11 +914,11 @@ const messages$a = {
|
|
|
740
914
|
};
|
|
741
915
|
const el = {
|
|
742
916
|
locale: 'el',
|
|
743
|
-
messages: messages$
|
|
917
|
+
messages: messages$c,
|
|
744
918
|
};
|
|
745
919
|
|
|
746
920
|
/** English (default / fallback) messages. */
|
|
747
|
-
const messages$
|
|
921
|
+
const messages$b = {
|
|
748
922
|
alert: {
|
|
749
923
|
dismiss: 'Dismiss',
|
|
750
924
|
},
|
|
@@ -910,11 +1084,11 @@ const messages$9 = {
|
|
|
910
1084
|
};
|
|
911
1085
|
const en = {
|
|
912
1086
|
locale: 'en',
|
|
913
|
-
messages: messages$
|
|
1087
|
+
messages: messages$b,
|
|
914
1088
|
};
|
|
915
1089
|
|
|
916
1090
|
/** Spanish (Spain) messages. */
|
|
917
|
-
const messages$
|
|
1091
|
+
const messages$a = {
|
|
918
1092
|
alert: {
|
|
919
1093
|
dismiss: 'Descartar',
|
|
920
1094
|
},
|
|
@@ -1080,11 +1254,11 @@ const messages$8 = {
|
|
|
1080
1254
|
};
|
|
1081
1255
|
const esES = {
|
|
1082
1256
|
locale: 'es-ES',
|
|
1083
|
-
messages: messages$
|
|
1257
|
+
messages: messages$a,
|
|
1084
1258
|
};
|
|
1085
1259
|
|
|
1086
1260
|
/** French (France) messages. */
|
|
1087
|
-
const messages$
|
|
1261
|
+
const messages$9 = {
|
|
1088
1262
|
alert: {
|
|
1089
1263
|
dismiss: 'Fermer',
|
|
1090
1264
|
},
|
|
@@ -1250,6 +1424,346 @@ const messages$7 = {
|
|
|
1250
1424
|
};
|
|
1251
1425
|
const frFR = {
|
|
1252
1426
|
locale: 'fr-FR',
|
|
1427
|
+
messages: messages$9,
|
|
1428
|
+
};
|
|
1429
|
+
|
|
1430
|
+
/** Hebrew messages. */
|
|
1431
|
+
const messages$8 = {
|
|
1432
|
+
alert: {
|
|
1433
|
+
dismiss: 'סגור',
|
|
1434
|
+
},
|
|
1435
|
+
autocomplete: {
|
|
1436
|
+
empty: 'אין תוצאות',
|
|
1437
|
+
},
|
|
1438
|
+
avatarEditor: {
|
|
1439
|
+
upload: 'העלאת תמונה',
|
|
1440
|
+
dropzone: 'גרור תמונה או לחץ להעלאה',
|
|
1441
|
+
canvas: 'תצוגה מקדימה של התמונה, גרור או השתמש במקשי החצים להזזה ובמחוון לזום',
|
|
1442
|
+
change: 'החלפת תמונה',
|
|
1443
|
+
revert: 'שחזור למקור',
|
|
1444
|
+
zoomOut: 'התרחקות',
|
|
1445
|
+
zoom: 'זום',
|
|
1446
|
+
zoomIn: 'התקרבות',
|
|
1447
|
+
remove: 'הסרת תמונה',
|
|
1448
|
+
},
|
|
1449
|
+
breadcrumbs: {
|
|
1450
|
+
label: 'נתיב ניווט',
|
|
1451
|
+
},
|
|
1452
|
+
codeInput: {
|
|
1453
|
+
groupLabel: length => `קוד אימות, ${length} ספרות`,
|
|
1454
|
+
digitLabel: (index, length) => `ספרה ${index} מתוך ${length}`,
|
|
1455
|
+
},
|
|
1456
|
+
commandPalette: {
|
|
1457
|
+
dialogLabel: 'לוח פקודות',
|
|
1458
|
+
searchPlaceholder: 'הקלד פקודה או חפש…',
|
|
1459
|
+
empty: 'לא נמצאו תוצאות',
|
|
1460
|
+
clear: 'ניקוי חיפוש',
|
|
1461
|
+
},
|
|
1462
|
+
colorPicker: {
|
|
1463
|
+
placeholder: 'בחר צבע…',
|
|
1464
|
+
clear: 'ניקוי צבע',
|
|
1465
|
+
hue: 'גוון',
|
|
1466
|
+
saturationAndValue: 'רוויה ובהירות',
|
|
1467
|
+
alpha: 'שקיפות',
|
|
1468
|
+
eyedropper: 'בחירה מהמסך',
|
|
1469
|
+
presets: 'הגדרות מוכנות',
|
|
1470
|
+
toggleFormat: 'החלפת פורמט קלט',
|
|
1471
|
+
},
|
|
1472
|
+
dataTable: {
|
|
1473
|
+
noData: 'אין נתונים זמינים',
|
|
1474
|
+
},
|
|
1475
|
+
datePicker: {
|
|
1476
|
+
placeholder: 'בחר תאריך…',
|
|
1477
|
+
clear: 'ניקוי תאריך',
|
|
1478
|
+
previousYear: 'שנה קודמת',
|
|
1479
|
+
previousMonth: 'חודש קודם',
|
|
1480
|
+
nextMonth: 'חודש הבא',
|
|
1481
|
+
nextYear: 'שנה הבאה',
|
|
1482
|
+
today: 'היום',
|
|
1483
|
+
},
|
|
1484
|
+
dialog: {
|
|
1485
|
+
close: 'סגירת חלון',
|
|
1486
|
+
},
|
|
1487
|
+
drawer: {
|
|
1488
|
+
close: 'סגירת לוח',
|
|
1489
|
+
},
|
|
1490
|
+
dropdown: {
|
|
1491
|
+
placeholder: 'בחר…',
|
|
1492
|
+
},
|
|
1493
|
+
fileUploader: {
|
|
1494
|
+
prompt: 'לחץ או גרור קבצים לכאן להעלאה',
|
|
1495
|
+
promptSingle: 'לחץ או גרור קובץ לכאן להעלאה',
|
|
1496
|
+
browse: 'עיון בקבצים',
|
|
1497
|
+
removeFile: name => `הסרת ${name}`,
|
|
1498
|
+
fileListLabel: 'קבצים שנבחרו',
|
|
1499
|
+
constraintsAccept: accept => `מותר: ${accept}`,
|
|
1500
|
+
constraintsMaxSize: size => `מקסימום ${size} לכל קובץ`,
|
|
1501
|
+
constraintsMaxFiles: count => `עד ${count} קבצים`,
|
|
1502
|
+
rejectionType: name => `${name} הוא סוג קובץ שאינו נתמך`,
|
|
1503
|
+
rejectionSize: (name, max) => `${name} חורג מהמגבלה של ${max}`,
|
|
1504
|
+
rejectionCount: max => `ניתן לבחור ${max} קבצים בלבד`,
|
|
1505
|
+
bytesUnit: { b: 'B', kb: 'KB', mb: 'MB', gb: 'GB', tb: 'TB' },
|
|
1506
|
+
},
|
|
1507
|
+
input: {
|
|
1508
|
+
showPassword: 'הצגת סיסמה',
|
|
1509
|
+
hidePassword: 'הסתרת סיסמה',
|
|
1510
|
+
clear: 'ניקוי',
|
|
1511
|
+
},
|
|
1512
|
+
menu: {
|
|
1513
|
+
label: 'תפריט',
|
|
1514
|
+
},
|
|
1515
|
+
multiSelect: {
|
|
1516
|
+
placeholder: 'בחר…',
|
|
1517
|
+
searchPlaceholder: 'חיפוש…',
|
|
1518
|
+
searchEmpty: 'אין התאמות',
|
|
1519
|
+
selectAll: 'בחירת הכול',
|
|
1520
|
+
clearAll: 'ניקוי הבחירה',
|
|
1521
|
+
removeOption: label => `הסרת ${label}`,
|
|
1522
|
+
selectedCount: count => `${count} נבחרו`,
|
|
1523
|
+
},
|
|
1524
|
+
paginator: {
|
|
1525
|
+
label: 'עימוד',
|
|
1526
|
+
rowsPerPage: 'שורות בעמוד:',
|
|
1527
|
+
range: (start, end, total) => `${start}–${end} מתוך ${total}`,
|
|
1528
|
+
previousPage: 'עמוד קודם',
|
|
1529
|
+
nextPage: 'עמוד הבא',
|
|
1530
|
+
},
|
|
1531
|
+
progressBar: {
|
|
1532
|
+
label: 'התקדמות',
|
|
1533
|
+
},
|
|
1534
|
+
rating: {
|
|
1535
|
+
label: 'דירוג',
|
|
1536
|
+
valueLabel: (value, max) => `${value} מתוך ${max}`,
|
|
1537
|
+
clear: 'ניקוי דירוג',
|
|
1538
|
+
},
|
|
1539
|
+
spinner: {
|
|
1540
|
+
label: 'טוען',
|
|
1541
|
+
},
|
|
1542
|
+
stepper: {
|
|
1543
|
+
optional: 'אופציונלי',
|
|
1544
|
+
},
|
|
1545
|
+
tag: {
|
|
1546
|
+
remove: 'הסרה',
|
|
1547
|
+
},
|
|
1548
|
+
timePicker: {
|
|
1549
|
+
placeholder: 'בחר שעה…',
|
|
1550
|
+
clear: 'ניקוי שעה',
|
|
1551
|
+
hoursLabel: 'שעות',
|
|
1552
|
+
minutesLabel: 'דקות',
|
|
1553
|
+
secondsLabel: 'שניות',
|
|
1554
|
+
incrementHours: 'הגדלת שעות',
|
|
1555
|
+
decrementHours: 'הקטנת שעות',
|
|
1556
|
+
incrementMinutes: 'הגדלת דקות',
|
|
1557
|
+
decrementMinutes: 'הקטנת דקות',
|
|
1558
|
+
incrementSeconds: 'הגדלת שניות',
|
|
1559
|
+
decrementSeconds: 'הקטנת שניות',
|
|
1560
|
+
amLabel: 'AM',
|
|
1561
|
+
pmLabel: 'PM',
|
|
1562
|
+
},
|
|
1563
|
+
toast: {
|
|
1564
|
+
dismiss: 'סגור',
|
|
1565
|
+
},
|
|
1566
|
+
transferList: {
|
|
1567
|
+
sourceLabel: 'זמין',
|
|
1568
|
+
targetLabel: 'נבחר',
|
|
1569
|
+
controlsLabel: 'בקרות העברה',
|
|
1570
|
+
moveSelectedToTarget: 'העברת הנבחרים ליעד',
|
|
1571
|
+
moveAllToTarget: 'העברת הכול ליעד',
|
|
1572
|
+
moveSelectedToSource: 'העברת הנבחרים למקור',
|
|
1573
|
+
moveAllToSource: 'העברת הכול למקור',
|
|
1574
|
+
empty: 'אין פריטים',
|
|
1575
|
+
},
|
|
1576
|
+
tree: {
|
|
1577
|
+
expand: 'הרחבה',
|
|
1578
|
+
collapse: 'כיווץ',
|
|
1579
|
+
},
|
|
1580
|
+
validation: {
|
|
1581
|
+
required: 'שדה זה הוא חובה',
|
|
1582
|
+
email: 'הזן כתובת אימייל תקינה',
|
|
1583
|
+
min: min => `חייב להיות לפחות ${min}`,
|
|
1584
|
+
max: max => `חייב להיות לכל היותר ${max}`,
|
|
1585
|
+
minlength: length => `חייב להכיל לפחות ${length} תווים`,
|
|
1586
|
+
maxlength: length => `חייב להכיל לכל היותר ${length} תווים`,
|
|
1587
|
+
pattern: 'פורמט לא תקין',
|
|
1588
|
+
invalid: 'ערך לא תקין',
|
|
1589
|
+
},
|
|
1590
|
+
wordmark: {
|
|
1591
|
+
overline: 'מעשה ידי',
|
|
1592
|
+
tagline: 'עיצוב אתרים אלגנטי',
|
|
1593
|
+
},
|
|
1594
|
+
};
|
|
1595
|
+
const he = {
|
|
1596
|
+
locale: 'he',
|
|
1597
|
+
messages: messages$8,
|
|
1598
|
+
};
|
|
1599
|
+
|
|
1600
|
+
/** Hindi messages. */
|
|
1601
|
+
const messages$7 = {
|
|
1602
|
+
alert: {
|
|
1603
|
+
dismiss: 'खारिज करें',
|
|
1604
|
+
},
|
|
1605
|
+
autocomplete: {
|
|
1606
|
+
empty: 'कोई परिणाम नहीं',
|
|
1607
|
+
},
|
|
1608
|
+
avatarEditor: {
|
|
1609
|
+
upload: 'छवि अपलोड करें',
|
|
1610
|
+
dropzone: 'छवि छोड़ें या अपलोड करने के लिए क्लिक करें',
|
|
1611
|
+
canvas: 'छवि पूर्वावलोकन, पैन करने के लिए खींचें या तीर कुंजियों का उपयोग करें, ज़ूम के लिए स्लाइडर',
|
|
1612
|
+
change: 'फ़ोटो बदलें',
|
|
1613
|
+
revert: 'मूल पर वापस लौटें',
|
|
1614
|
+
zoomOut: 'ज़ूम आउट',
|
|
1615
|
+
zoom: 'ज़ूम',
|
|
1616
|
+
zoomIn: 'ज़ूम इन',
|
|
1617
|
+
remove: 'छवि हटाएं',
|
|
1618
|
+
},
|
|
1619
|
+
breadcrumbs: {
|
|
1620
|
+
label: 'ब्रेडक्रंब',
|
|
1621
|
+
},
|
|
1622
|
+
codeInput: {
|
|
1623
|
+
groupLabel: length => `सत्यापन कोड, ${length} अंक`,
|
|
1624
|
+
digitLabel: (index, length) => `${length} में से अंक ${index}`,
|
|
1625
|
+
},
|
|
1626
|
+
commandPalette: {
|
|
1627
|
+
dialogLabel: 'कमांड पैलेट',
|
|
1628
|
+
searchPlaceholder: 'कमांड टाइप करें या खोजें…',
|
|
1629
|
+
empty: 'कोई परिणाम नहीं मिला',
|
|
1630
|
+
clear: 'खोज साफ़ करें',
|
|
1631
|
+
},
|
|
1632
|
+
colorPicker: {
|
|
1633
|
+
placeholder: 'रंग चुनें…',
|
|
1634
|
+
clear: 'रंग साफ़ करें',
|
|
1635
|
+
hue: 'रंगत',
|
|
1636
|
+
saturationAndValue: 'संतृप्ति और मान',
|
|
1637
|
+
alpha: 'अल्फ़ा',
|
|
1638
|
+
eyedropper: 'स्क्रीन से चुनें',
|
|
1639
|
+
presets: 'प्रीसेट',
|
|
1640
|
+
toggleFormat: 'इनपुट प्रारूप बदलें',
|
|
1641
|
+
},
|
|
1642
|
+
dataTable: {
|
|
1643
|
+
noData: 'कोई डेटा उपलब्ध नहीं',
|
|
1644
|
+
},
|
|
1645
|
+
datePicker: {
|
|
1646
|
+
placeholder: 'तारीख चुनें…',
|
|
1647
|
+
clear: 'तारीख साफ़ करें',
|
|
1648
|
+
previousYear: 'पिछला वर्ष',
|
|
1649
|
+
previousMonth: 'पिछला महीना',
|
|
1650
|
+
nextMonth: 'अगला महीना',
|
|
1651
|
+
nextYear: 'अगला वर्ष',
|
|
1652
|
+
today: 'आज',
|
|
1653
|
+
},
|
|
1654
|
+
dialog: {
|
|
1655
|
+
close: 'संवाद बंद करें',
|
|
1656
|
+
},
|
|
1657
|
+
drawer: {
|
|
1658
|
+
close: 'पैनल बंद करें',
|
|
1659
|
+
},
|
|
1660
|
+
dropdown: {
|
|
1661
|
+
placeholder: 'चुनें…',
|
|
1662
|
+
},
|
|
1663
|
+
fileUploader: {
|
|
1664
|
+
prompt: 'अपलोड करने के लिए फ़ाइलें यहाँ क्लिक करें या खींचें',
|
|
1665
|
+
promptSingle: 'अपलोड करने के लिए फ़ाइल यहाँ क्लिक करें या खींचें',
|
|
1666
|
+
browse: 'फ़ाइलें ब्राउज़ करें',
|
|
1667
|
+
removeFile: name => `${name} हटाएं`,
|
|
1668
|
+
fileListLabel: 'चयनित फ़ाइलें',
|
|
1669
|
+
constraintsAccept: accept => `स्वीकृत: ${accept}`,
|
|
1670
|
+
constraintsMaxSize: size => `प्रति फ़ाइल अधिकतम ${size}`,
|
|
1671
|
+
constraintsMaxFiles: count => `${count} फ़ाइलों तक`,
|
|
1672
|
+
rejectionType: name => `${name} एक असमर्थित फ़ाइल प्रकार है`,
|
|
1673
|
+
rejectionSize: (name, max) => `${name} ${max} की सीमा से अधिक है`,
|
|
1674
|
+
rejectionCount: max => `केवल ${max} फ़ाइलें चुनी जा सकती हैं`,
|
|
1675
|
+
bytesUnit: { b: 'B', kb: 'KB', mb: 'MB', gb: 'GB', tb: 'TB' },
|
|
1676
|
+
},
|
|
1677
|
+
input: {
|
|
1678
|
+
showPassword: 'पासवर्ड दिखाएं',
|
|
1679
|
+
hidePassword: 'पासवर्ड छिपाएं',
|
|
1680
|
+
clear: 'साफ़ करें',
|
|
1681
|
+
},
|
|
1682
|
+
menu: {
|
|
1683
|
+
label: 'मेनू',
|
|
1684
|
+
},
|
|
1685
|
+
multiSelect: {
|
|
1686
|
+
placeholder: 'चुनें…',
|
|
1687
|
+
searchPlaceholder: 'खोजें…',
|
|
1688
|
+
searchEmpty: 'कोई मिलान नहीं',
|
|
1689
|
+
selectAll: 'सभी चुनें',
|
|
1690
|
+
clearAll: 'चयन साफ़ करें',
|
|
1691
|
+
removeOption: label => `${label} हटाएं`,
|
|
1692
|
+
selectedCount: count => `${count} चयनित`,
|
|
1693
|
+
},
|
|
1694
|
+
paginator: {
|
|
1695
|
+
label: 'पृष्ठ क्रमांकन',
|
|
1696
|
+
rowsPerPage: 'प्रति पृष्ठ पंक्तियाँ:',
|
|
1697
|
+
range: (start, end, total) => `${total} में से ${start}–${end}`,
|
|
1698
|
+
previousPage: 'पिछला पृष्ठ',
|
|
1699
|
+
nextPage: 'अगला पृष्ठ',
|
|
1700
|
+
},
|
|
1701
|
+
progressBar: {
|
|
1702
|
+
label: 'प्रगति',
|
|
1703
|
+
},
|
|
1704
|
+
rating: {
|
|
1705
|
+
label: 'रेटिंग',
|
|
1706
|
+
valueLabel: (value, max) => `${max} में से ${value}`,
|
|
1707
|
+
clear: 'रेटिंग साफ़ करें',
|
|
1708
|
+
},
|
|
1709
|
+
spinner: {
|
|
1710
|
+
label: 'लोड हो रहा है',
|
|
1711
|
+
},
|
|
1712
|
+
stepper: {
|
|
1713
|
+
optional: 'वैकल्पिक',
|
|
1714
|
+
},
|
|
1715
|
+
tag: {
|
|
1716
|
+
remove: 'हटाएं',
|
|
1717
|
+
},
|
|
1718
|
+
timePicker: {
|
|
1719
|
+
placeholder: 'समय चुनें…',
|
|
1720
|
+
clear: 'समय साफ़ करें',
|
|
1721
|
+
hoursLabel: 'घंटे',
|
|
1722
|
+
minutesLabel: 'मिनट',
|
|
1723
|
+
secondsLabel: 'सेकंड',
|
|
1724
|
+
incrementHours: 'घंटे बढ़ाएं',
|
|
1725
|
+
decrementHours: 'घंटे घटाएं',
|
|
1726
|
+
incrementMinutes: 'मिनट बढ़ाएं',
|
|
1727
|
+
decrementMinutes: 'मिनट घटाएं',
|
|
1728
|
+
incrementSeconds: 'सेकंड बढ़ाएं',
|
|
1729
|
+
decrementSeconds: 'सेकंड घटाएं',
|
|
1730
|
+
amLabel: 'AM',
|
|
1731
|
+
pmLabel: 'PM',
|
|
1732
|
+
},
|
|
1733
|
+
toast: {
|
|
1734
|
+
dismiss: 'खारिज करें',
|
|
1735
|
+
},
|
|
1736
|
+
transferList: {
|
|
1737
|
+
sourceLabel: 'उपलब्ध',
|
|
1738
|
+
targetLabel: 'चयनित',
|
|
1739
|
+
controlsLabel: 'स्थानांतरण नियंत्रण',
|
|
1740
|
+
moveSelectedToTarget: 'चयनित को लक्ष्य में ले जाएं',
|
|
1741
|
+
moveAllToTarget: 'सभी को लक्ष्य में ले जाएं',
|
|
1742
|
+
moveSelectedToSource: 'चयनित को स्रोत में ले जाएं',
|
|
1743
|
+
moveAllToSource: 'सभी को स्रोत में ले जाएं',
|
|
1744
|
+
empty: 'कोई आइटम नहीं',
|
|
1745
|
+
},
|
|
1746
|
+
tree: {
|
|
1747
|
+
expand: 'विस्तृत करें',
|
|
1748
|
+
collapse: 'संक्षिप्त करें',
|
|
1749
|
+
},
|
|
1750
|
+
validation: {
|
|
1751
|
+
required: 'यह फ़ील्ड आवश्यक है',
|
|
1752
|
+
email: 'एक मान्य ईमेल पता दर्ज करें',
|
|
1753
|
+
min: min => `कम से कम ${min} होना चाहिए`,
|
|
1754
|
+
max: max => `अधिकतम ${max} होना चाहिए`,
|
|
1755
|
+
minlength: length => `कम से कम ${length} अक्षर होने चाहिए`,
|
|
1756
|
+
maxlength: length => `अधिकतम ${length} अक्षर होने चाहिए`,
|
|
1757
|
+
pattern: 'अमान्य प्रारूप',
|
|
1758
|
+
invalid: 'अमान्य मान',
|
|
1759
|
+
},
|
|
1760
|
+
wordmark: {
|
|
1761
|
+
overline: 'हस्तनिर्मित द्वारा',
|
|
1762
|
+
tagline: 'सुरुचिपूर्ण वेब डिज़ाइन',
|
|
1763
|
+
},
|
|
1764
|
+
};
|
|
1765
|
+
const hi = {
|
|
1766
|
+
locale: 'hi',
|
|
1253
1767
|
messages: messages$7,
|
|
1254
1768
|
};
|
|
1255
1769
|
|
|
@@ -2460,6 +2974,9 @@ const EAGAMI_ALL_LOCALES = [
|
|
|
2460
2974
|
nl,
|
|
2461
2975
|
uk,
|
|
2462
2976
|
ru,
|
|
2977
|
+
he,
|
|
2978
|
+
ar,
|
|
2979
|
+
hi,
|
|
2463
2980
|
];
|
|
2464
2981
|
|
|
2465
2982
|
/** Shallow-merges per-component override groups over a complete base dictionary. */
|
|
@@ -13083,7 +13600,7 @@ class ToastComponent {
|
|
|
13083
13600
|
return toast.variant === 'error' || toast.variant === 'warning' ? 'alert' : 'status';
|
|
13084
13601
|
}
|
|
13085
13602
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: ToastComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13086
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.16", type: ToastComponent, isStandalone: true, selector: "ea-toast", inputs: { position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (toastService.toasts().length) {\n <div\n [class]=\"containerClass()\"\n aria-live=\"polite\"\n aria-atomic=\"false\">\n @for (toast of toastService.toasts(); track toast.id) {\n <div\n class=\"ea-toast ea-toast--{{ toast.variant }}\"\n [attr.role]=\"getRole(toast)\"\n [attr.aria-live]=\"getRole(toast) === 'alert' ? 'assertive' : 'polite'\">\n @switch (toast.variant) {\n @case ('success') {\n <ea-icon-check-circle class=\"ea-toast__icon\" />\n }\n @case ('info') {\n <ea-icon-info class=\"ea-toast__icon\" />\n }\n @case ('warning') {\n <ea-icon-alert-triangle class=\"ea-toast__icon\" />\n }\n @case ('error') {\n <ea-icon-alert-circle class=\"ea-toast__icon\" />\n }\n }\n <span class=\"ea-toast__message\">{{ toast.message }}</span>\n @if (clearable()) {\n <button\n class=\"ea-toast__close\"\n type=\"button\"\n [attr.aria-label]=\"i18n.messages().toast.dismiss\"\n (click)=\"toastService.dismiss(toast.id)\">\n <ea-icon-x />\n </button>\n }\n </div>\n }\n </div>\n}\n", styles: [".ea-toast-container{position:fixed;z-index:var(--z-index-toast);
|
|
13603
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.16", type: ToastComponent, isStandalone: true, selector: "ea-toast", inputs: { position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (toastService.toasts().length) {\n <div\n [class]=\"containerClass()\"\n aria-live=\"polite\"\n aria-atomic=\"false\">\n @for (toast of toastService.toasts(); track toast.id) {\n <div\n class=\"ea-toast ea-toast--{{ toast.variant }}\"\n [attr.role]=\"getRole(toast)\"\n [attr.aria-live]=\"getRole(toast) === 'alert' ? 'assertive' : 'polite'\">\n @switch (toast.variant) {\n @case ('success') {\n <ea-icon-check-circle class=\"ea-toast__icon\" />\n }\n @case ('info') {\n <ea-icon-info class=\"ea-toast__icon\" />\n }\n @case ('warning') {\n <ea-icon-alert-triangle class=\"ea-toast__icon\" />\n }\n @case ('error') {\n <ea-icon-alert-circle class=\"ea-toast__icon\" />\n }\n }\n <span class=\"ea-toast__message\">{{ toast.message }}</span>\n @if (clearable()) {\n <button\n class=\"ea-toast__close\"\n type=\"button\"\n [attr.aria-label]=\"i18n.messages().toast.dismiss\"\n (click)=\"toastService.dismiss(toast.id)\">\n <ea-icon-x />\n </button>\n }\n </div>\n }\n </div>\n}\n", styles: [".ea-toast-container{position:fixed;z-index:var(--z-index-toast);display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-2);max-width:min(24rem,100vw - var(--space-6) * 2);pointer-events:none}.ea-toast-container--top-left,.ea-toast-container--top,.ea-toast-container--top-right{top:var(--space-6)}.ea-toast-container--bottom-left,.ea-toast-container--bottom,.ea-toast-container--bottom-right{bottom:var(--space-6)}.ea-toast-container--top-left,.ea-toast-container--bottom-left{left:var(--space-6)}.ea-toast-container--top-left .ea-toast,.ea-toast-container--bottom-left .ea-toast{margin-right:auto}.ea-toast-container--top-right,.ea-toast-container--bottom-right{right:var(--space-6)}.ea-toast-container--top-right .ea-toast,.ea-toast-container--bottom-right .ea-toast{margin-left:auto}.ea-toast-container--top,.ea-toast-container--bottom{left:50%;transform:translate(-50%)}.ea-toast-container--top .ea-toast,.ea-toast-container--bottom .ea-toast{margin-right:auto;margin-left:auto}.ea-toast-container--top-left .ea-toast,.ea-toast-container--bottom-left .ea-toast{--ea-toast-enter-x: -100%}.ea-toast-container--top .ea-toast{--ea-toast-enter-x: 0;--ea-toast-enter-y: -100%}.ea-toast-container--bottom .ea-toast{--ea-toast-enter-x: 0;--ea-toast-enter-y: 100%}.ea-toast{--ea-toast-enter-x: 100%;--ea-toast-enter-y: 0;display:flex;align-items:center;gap:var(--space-1-5);width:100%;padding:var(--space-3) var(--space-4);font-family:var(--font-family-sans);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);line-height:var(--line-height-normal);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);pointer-events:auto;animation:ea-toast-slide-in var(--duration-slow) var(--ease-out)}@media(forced-colors:active){.ea-toast{border:1px solid CanvasText}}@media(min-width:640px){.ea-toast{width:auto}}.ea-toast--default{background-color:var(--color-neutral-800);color:var(--color-neutral-0)}.ea-toast--success{background-color:var(--ea-toast-background-color, var(--color-bg-elevated));background-image:linear-gradient(var(--color-success-subtle),var(--color-success-subtle));color:var(--color-success-text)}.ea-toast--warning{background-color:var(--ea-toast-background-color, var(--color-bg-elevated));background-image:linear-gradient(var(--color-warning-subtle),var(--color-warning-subtle));color:var(--color-warning-text)}.ea-toast--error{background-color:var(--ea-toast-background-color, var(--color-bg-elevated));background-image:linear-gradient(var(--color-error-subtle),var(--color-error-subtle));color:var(--color-error-text)}.ea-toast--info{background-color:var(--ea-toast-background-color, var(--color-bg-elevated));background-image:linear-gradient(var(--color-info-subtle),var(--color-info-subtle));color:var(--color-info-text)}.ea-toast__icon{flex-shrink:0;font-size:1.5em}.ea-toast__message{flex:1;min-width:0}.ea-toast__close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--ea-icon-button-size, 1.75em);height:var(--ea-icon-button-size, 1.75em);padding:0;border:none;border-radius:var(--radius-sm);background:none;color:var(--color-text-secondary);cursor:pointer;transition:var(--transition-colors)}.ea-toast__close>*{font-size:1.25em}.ea-toast__close:hover{background-color:var(--color-state-hover);color:var(--color-text-primary)}.ea-toast__close:focus-visible{outline:none;box-shadow:var(--shadow-focus-ring)}@media(forced-colors:active){.ea-toast__close:focus-visible{outline:2px solid Highlight;outline-offset:2px}}.ea-toast__close:disabled{cursor:not-allowed;opacity:.5}.ea-toast__close{margin-inline-start:var(--space-1-5)}.ea-toast__close ea-icon-x{width:1em;height:1em}@keyframes ea-toast-slide-in{0%{opacity:0;transform:translate(var(--ea-toast-enter-x),var(--ea-toast-enter-y))}to{opacity:1;transform:translate(0)}}@media(prefers-reduced-motion:reduce){.ea-toast{animation-name:ea-toast-fade-in}}@keyframes ea-toast-fade-in{0%{opacity:0}to{opacity:1}}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .ea-toast--success{color:var(--color-success-200)}:root:not([data-theme=light]) .ea-toast--warning{color:var(--color-warning-200)}:root:not([data-theme=light]) .ea-toast--error{color:var(--color-error-200)}:root:not([data-theme=light]) .ea-toast--info{color:var(--color-info-200)}}:root[data-theme=dark] .ea-toast--success{color:var(--color-success-200)}:root[data-theme=dark] .ea-toast--warning{color:var(--color-warning-200)}:root[data-theme=dark] .ea-toast--error{color:var(--color-error-200)}:root[data-theme=dark] .ea-toast--info{color:var(--color-info-200)}\n"], dependencies: [{ kind: "component", type: XIconComponent, selector: "ea-icon-x" }, { kind: "component", type: CheckCircleIconComponent, selector: "ea-icon-check-circle" }, { kind: "component", type: InfoIconComponent, selector: "ea-icon-info" }, { kind: "component", type: AlertTriangleIconComponent, selector: "ea-icon-alert-triangle" }, { kind: "component", type: AlertCircleIconComponent, selector: "ea-icon-alert-circle" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
13087
13604
|
}
|
|
13088
13605
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: ToastComponent, decorators: [{
|
|
13089
13606
|
type: Component,
|
|
@@ -13093,7 +13610,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImpo
|
|
|
13093
13610
|
InfoIconComponent,
|
|
13094
13611
|
AlertTriangleIconComponent,
|
|
13095
13612
|
AlertCircleIconComponent,
|
|
13096
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "@if (toastService.toasts().length) {\n <div\n [class]=\"containerClass()\"\n aria-live=\"polite\"\n aria-atomic=\"false\">\n @for (toast of toastService.toasts(); track toast.id) {\n <div\n class=\"ea-toast ea-toast--{{ toast.variant }}\"\n [attr.role]=\"getRole(toast)\"\n [attr.aria-live]=\"getRole(toast) === 'alert' ? 'assertive' : 'polite'\">\n @switch (toast.variant) {\n @case ('success') {\n <ea-icon-check-circle class=\"ea-toast__icon\" />\n }\n @case ('info') {\n <ea-icon-info class=\"ea-toast__icon\" />\n }\n @case ('warning') {\n <ea-icon-alert-triangle class=\"ea-toast__icon\" />\n }\n @case ('error') {\n <ea-icon-alert-circle class=\"ea-toast__icon\" />\n }\n }\n <span class=\"ea-toast__message\">{{ toast.message }}</span>\n @if (clearable()) {\n <button\n class=\"ea-toast__close\"\n type=\"button\"\n [attr.aria-label]=\"i18n.messages().toast.dismiss\"\n (click)=\"toastService.dismiss(toast.id)\">\n <ea-icon-x />\n </button>\n }\n </div>\n }\n </div>\n}\n", styles: [".ea-toast-container{position:fixed;z-index:var(--z-index-toast);
|
|
13613
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "@if (toastService.toasts().length) {\n <div\n [class]=\"containerClass()\"\n aria-live=\"polite\"\n aria-atomic=\"false\">\n @for (toast of toastService.toasts(); track toast.id) {\n <div\n class=\"ea-toast ea-toast--{{ toast.variant }}\"\n [attr.role]=\"getRole(toast)\"\n [attr.aria-live]=\"getRole(toast) === 'alert' ? 'assertive' : 'polite'\">\n @switch (toast.variant) {\n @case ('success') {\n <ea-icon-check-circle class=\"ea-toast__icon\" />\n }\n @case ('info') {\n <ea-icon-info class=\"ea-toast__icon\" />\n }\n @case ('warning') {\n <ea-icon-alert-triangle class=\"ea-toast__icon\" />\n }\n @case ('error') {\n <ea-icon-alert-circle class=\"ea-toast__icon\" />\n }\n }\n <span class=\"ea-toast__message\">{{ toast.message }}</span>\n @if (clearable()) {\n <button\n class=\"ea-toast__close\"\n type=\"button\"\n [attr.aria-label]=\"i18n.messages().toast.dismiss\"\n (click)=\"toastService.dismiss(toast.id)\">\n <ea-icon-x />\n </button>\n }\n </div>\n }\n </div>\n}\n", styles: [".ea-toast-container{position:fixed;z-index:var(--z-index-toast);display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-2);max-width:min(24rem,100vw - var(--space-6) * 2);pointer-events:none}.ea-toast-container--top-left,.ea-toast-container--top,.ea-toast-container--top-right{top:var(--space-6)}.ea-toast-container--bottom-left,.ea-toast-container--bottom,.ea-toast-container--bottom-right{bottom:var(--space-6)}.ea-toast-container--top-left,.ea-toast-container--bottom-left{left:var(--space-6)}.ea-toast-container--top-left .ea-toast,.ea-toast-container--bottom-left .ea-toast{margin-right:auto}.ea-toast-container--top-right,.ea-toast-container--bottom-right{right:var(--space-6)}.ea-toast-container--top-right .ea-toast,.ea-toast-container--bottom-right .ea-toast{margin-left:auto}.ea-toast-container--top,.ea-toast-container--bottom{left:50%;transform:translate(-50%)}.ea-toast-container--top .ea-toast,.ea-toast-container--bottom .ea-toast{margin-right:auto;margin-left:auto}.ea-toast-container--top-left .ea-toast,.ea-toast-container--bottom-left .ea-toast{--ea-toast-enter-x: -100%}.ea-toast-container--top .ea-toast{--ea-toast-enter-x: 0;--ea-toast-enter-y: -100%}.ea-toast-container--bottom .ea-toast{--ea-toast-enter-x: 0;--ea-toast-enter-y: 100%}.ea-toast{--ea-toast-enter-x: 100%;--ea-toast-enter-y: 0;display:flex;align-items:center;gap:var(--space-1-5);width:100%;padding:var(--space-3) var(--space-4);font-family:var(--font-family-sans);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);line-height:var(--line-height-normal);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);pointer-events:auto;animation:ea-toast-slide-in var(--duration-slow) var(--ease-out)}@media(forced-colors:active){.ea-toast{border:1px solid CanvasText}}@media(min-width:640px){.ea-toast{width:auto}}.ea-toast--default{background-color:var(--color-neutral-800);color:var(--color-neutral-0)}.ea-toast--success{background-color:var(--ea-toast-background-color, var(--color-bg-elevated));background-image:linear-gradient(var(--color-success-subtle),var(--color-success-subtle));color:var(--color-success-text)}.ea-toast--warning{background-color:var(--ea-toast-background-color, var(--color-bg-elevated));background-image:linear-gradient(var(--color-warning-subtle),var(--color-warning-subtle));color:var(--color-warning-text)}.ea-toast--error{background-color:var(--ea-toast-background-color, var(--color-bg-elevated));background-image:linear-gradient(var(--color-error-subtle),var(--color-error-subtle));color:var(--color-error-text)}.ea-toast--info{background-color:var(--ea-toast-background-color, var(--color-bg-elevated));background-image:linear-gradient(var(--color-info-subtle),var(--color-info-subtle));color:var(--color-info-text)}.ea-toast__icon{flex-shrink:0;font-size:1.5em}.ea-toast__message{flex:1;min-width:0}.ea-toast__close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--ea-icon-button-size, 1.75em);height:var(--ea-icon-button-size, 1.75em);padding:0;border:none;border-radius:var(--radius-sm);background:none;color:var(--color-text-secondary);cursor:pointer;transition:var(--transition-colors)}.ea-toast__close>*{font-size:1.25em}.ea-toast__close:hover{background-color:var(--color-state-hover);color:var(--color-text-primary)}.ea-toast__close:focus-visible{outline:none;box-shadow:var(--shadow-focus-ring)}@media(forced-colors:active){.ea-toast__close:focus-visible{outline:2px solid Highlight;outline-offset:2px}}.ea-toast__close:disabled{cursor:not-allowed;opacity:.5}.ea-toast__close{margin-inline-start:var(--space-1-5)}.ea-toast__close ea-icon-x{width:1em;height:1em}@keyframes ea-toast-slide-in{0%{opacity:0;transform:translate(var(--ea-toast-enter-x),var(--ea-toast-enter-y))}to{opacity:1;transform:translate(0)}}@media(prefers-reduced-motion:reduce){.ea-toast{animation-name:ea-toast-fade-in}}@keyframes ea-toast-fade-in{0%{opacity:0}to{opacity:1}}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .ea-toast--success{color:var(--color-success-200)}:root:not([data-theme=light]) .ea-toast--warning{color:var(--color-warning-200)}:root:not([data-theme=light]) .ea-toast--error{color:var(--color-error-200)}:root:not([data-theme=light]) .ea-toast--info{color:var(--color-info-200)}}:root[data-theme=dark] .ea-toast--success{color:var(--color-success-200)}:root[data-theme=dark] .ea-toast--warning{color:var(--color-warning-200)}:root[data-theme=dark] .ea-toast--error{color:var(--color-error-200)}:root[data-theme=dark] .ea-toast--info{color:var(--color-info-200)}\n"] }]
|
|
13097
13614
|
}], propDecorators: { position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }] } });
|
|
13098
13615
|
|
|
13099
13616
|
class ChevronsLeftIconComponent extends IconComponentBase {
|