@sovereignsquad/gds-core 6.9.0 → 6.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{GdsBadge-DqTdnomt.d.mts → GdsBadge-j_kQnIL0.d.mts} +1 -1
- package/dist/{GdsBadge-DqTdnomt.d.ts → GdsBadge-j_kQnIL0.d.ts} +1 -1
- package/dist/{PartnerDiscovery-Bwxixtka.d.mts → PartnerDiscovery-Dy3YnO02.d.mts} +15 -8
- package/dist/{PartnerDiscovery-As_-JKtb.d.ts → PartnerDiscovery-pdJmaKwq.d.ts} +15 -8
- package/dist/{QuickStartCard-Bgjdfs_t.d.ts → QuickStartCard-BhNYAGG3.d.ts} +1285 -90
- package/dist/{QuickStartCard-DnZMDjzb.d.mts → QuickStartCard-BztqkfQK.d.mts} +1285 -90
- package/dist/{chunk-OH5HH4G3.mjs → chunk-3UYDQTAZ.mjs} +30 -5
- package/dist/{chunk-3B5MK2PG.mjs → chunk-ADNXPSGK.mjs} +978 -632
- package/dist/{chunk-IMT3UTOT.mjs → chunk-CWMDWMYL.mjs} +28 -3
- package/dist/{chunk-BD5XQH5Z.mjs → chunk-D65VHUXK.mjs} +28 -3
- package/dist/{chunk-KEYBUMOR.mjs → chunk-EYRLICSG.mjs} +30 -5
- package/dist/{chunk-A32PWTD2.mjs → chunk-FPDTLFIB.mjs} +29 -4
- package/dist/{chunk-LERXSJHD.mjs → chunk-GAPCKZGX.mjs} +31 -6
- package/dist/{chunk-MKEWYVTJ.mjs → chunk-J4TSXITU.mjs} +30 -5
- package/dist/{chunk-5G3XZWSW.mjs → chunk-MQDFB3AS.mjs} +1039 -1605
- package/dist/{chunk-WI24JME4.mjs → chunk-PCG34VRY.mjs} +12 -1
- package/dist/{chunk-F76YTG3S.mjs → chunk-PLJT4I7B.mjs} +84 -59
- package/dist/{chunk-KLFTBWEG.mjs → chunk-RBXAJJB2.mjs} +29 -4
- package/dist/{chunk-EQ7Y2PUI.mjs → chunk-RMPMU4MB.mjs} +886 -260
- package/dist/{chunk-HJVDKPVW.mjs → chunk-RSA7INLU.mjs} +3 -2
- package/dist/{chunk-KNP35WAB.mjs → chunk-TD3JPMMO.mjs} +1 -1
- package/dist/{chunk-5GH7XD7X.mjs → chunk-TVGDH5O5.mjs} +29 -4
- package/dist/{chunk-DBJE4TRO.mjs → chunk-V6SP5O4D.mjs} +66 -41
- package/dist/{chunk-6WDH57MJ.mjs → chunk-Z6XXK57E.mjs} +28 -3
- package/dist/client.d.mts +123 -8
- package/dist/client.d.ts +123 -8
- package/dist/client.js +2641 -1937
- package/dist/client.mjs +41 -29
- package/dist/{en-D9CWSH3F.d.ts → en-CzuiMnTG.d.mts} +27 -2
- package/dist/{en-D9CWSH3F.d.mts → en-CzuiMnTG.d.ts} +27 -2
- package/dist/index.d.mts +24 -22
- package/dist/index.d.ts +24 -22
- package/dist/index.js +3988 -3146
- package/dist/index.mjs +204 -61
- package/dist/locales/lazy/all.js +442 -142
- package/dist/locales/lazy/all.mjs +13 -13
- package/dist/locales/lazy/ar.js +58 -8
- package/dist/locales/lazy/ar.mjs +3 -3
- package/dist/locales/lazy/de.js +57 -7
- package/dist/locales/lazy/de.mjs +3 -3
- package/dist/locales/lazy/es.js +58 -8
- package/dist/locales/lazy/es.mjs +3 -3
- package/dist/locales/lazy/fr.js +56 -6
- package/dist/locales/lazy/fr.mjs +3 -3
- package/dist/locales/lazy/he.js +59 -9
- package/dist/locales/lazy/he.mjs +3 -3
- package/dist/locales/lazy/hu.js +56 -6
- package/dist/locales/lazy/hu.mjs +3 -3
- package/dist/locales/lazy/index.d.mts +1 -1
- package/dist/locales/lazy/index.d.ts +1 -1
- package/dist/locales/lazy/index.js +28 -3
- package/dist/locales/lazy/index.mjs +2 -2
- package/dist/locales/lazy/it.js +58 -8
- package/dist/locales/lazy/it.mjs +3 -3
- package/dist/locales/lazy/ja.js +57 -7
- package/dist/locales/lazy/ja.mjs +3 -3
- package/dist/locales/lazy/ko.js +112 -62
- package/dist/locales/lazy/ko.mjs +3 -3
- package/dist/locales/lazy/ru.js +57 -7
- package/dist/locales/lazy/ru.mjs +3 -3
- package/dist/locales/lazy/zh.js +94 -44
- package/dist/locales/lazy/zh.mjs +3 -3
- package/dist/map.d.mts +1 -1
- package/dist/map.d.ts +1 -1
- package/dist/reference-theme-explorer.d.mts +3 -1
- package/dist/reference-theme-explorer.d.ts +3 -1
- package/dist/reference-theme-explorer.js +1537 -605
- package/dist/reference-theme-explorer.mjs +57 -37
- package/dist/server.d.mts +6 -6
- package/dist/server.d.ts +6 -6
- package/dist/server.js +1340 -971
- package/dist/server.mjs +31 -29
- package/package.json +4 -4
package/dist/server.js
CHANGED
|
@@ -382,6 +382,7 @@ __export(server_exports, {
|
|
|
382
382
|
normalizeGdsResponsiveValue: () => normalizeGdsResponsiveValue,
|
|
383
383
|
partnerDiscoveryDefaultAmenities: () => partnerDiscoveryDefaultAmenities,
|
|
384
384
|
partnerDiscoveryDefaultFilterState: () => partnerDiscoveryDefaultFilterState,
|
|
385
|
+
partnerDiscoveryFamilyAmenities: () => partnerDiscoveryFamilyAmenities,
|
|
385
386
|
redactGdsAccessGateMetadata: () => redactGdsAccessGateMetadata,
|
|
386
387
|
redactPartnerDiscoveryEventMetadata: () => redactPartnerDiscoveryEventMetadata,
|
|
387
388
|
registerGdsBlock: () => registerGdsBlock,
|
|
@@ -1458,91 +1459,91 @@ function GdsLogoLockup({
|
|
|
1458
1459
|
|
|
1459
1460
|
// src/vocabulary.ts
|
|
1460
1461
|
var GdsVocabulary = {
|
|
1461
|
-
settings: { id: "gds.action.settings", defaultMessage: "Settings", icon: GdsIcons.Settings, feedback: { icon: GdsIcons.Settings, color: "teal", messageId: "gds.feedback.saved" } },
|
|
1462
|
-
analytics: { id: "gds.action.analytics", defaultMessage: "Analytics", icon: GdsIcons.Analytics, feedback: { icon: GdsIcons.Analytics, color: "teal", messageId: "gds.feedback.loaded" } },
|
|
1463
|
-
dashboard: { id: "gds.action.dashboard", defaultMessage: "Dashboard", icon: GdsIcons.Dashboard, feedback: { icon: GdsIcons.Dashboard, color: "teal", messageId: "gds.feedback.loaded" } },
|
|
1464
|
-
play: { id: "gds.action.play", defaultMessage: "Play", icon: GdsIcons.Play, feedback: { icon: GdsIcons.Play, color: "teal", messageId: "gds.feedback.started" } },
|
|
1465
|
-
start: { id: "gds.action.start", defaultMessage: "Start", icon: GdsIcons.Start, feedback: { icon: GdsIcons.Start, color: "teal", messageId: "gds.feedback.started" } },
|
|
1466
|
-
users: { id: "gds.action.users", defaultMessage: "Users", icon: GdsIcons.Users, feedback: { icon: GdsIcons.Users, color: "teal", messageId: "gds.feedback.loaded" } },
|
|
1467
|
-
add: { id: "gds.action.add", defaultMessage: "Add", icon: GdsIcons.Add, feedback: { icon: GdsIcons.
|
|
1468
|
-
edit: { id: "gds.action.edit", defaultMessage: "Edit", icon: GdsIcons.Edit, feedback: { icon: GdsIcons.Edit, color: "teal", messageId: "gds.feedback.edited" } },
|
|
1469
|
-
delete: { id: "gds.action.delete", defaultMessage: "Delete", icon: GdsIcons.Delete, feedback: { icon: GdsIcons.
|
|
1470
|
-
save: { id: "gds.action.save", defaultMessage: "Save", icon: GdsIcons.Save, feedback: { icon: GdsIcons.
|
|
1471
|
-
cancel: { id: "gds.action.cancel", defaultMessage: "Cancel", icon: GdsIcons.Cancel, feedback: { icon: GdsIcons.Cancel, color: "red", messageId: "gds.feedback.canceled" } },
|
|
1472
|
-
confirm: { id: "gds.action.confirm", defaultMessage: "Confirm", icon: GdsIcons.Confirm, feedback: { icon: GdsIcons.Confirm, color: "teal", messageId: "gds.feedback.confirmed" } },
|
|
1473
|
-
close: { id: "gds.action.close", defaultMessage: "Close", icon: GdsIcons.Close, feedback: { icon: GdsIcons.Close, color: "gray", messageId: "gds.feedback.closed" } },
|
|
1474
|
-
language: { id: "gds.action.language", defaultMessage: "Language", icon: GdsIcons.Language, feedback: { icon: GdsIcons.Language, color: "teal", messageId: "gds.feedback.changed" } },
|
|
1475
|
-
theme: { id: "gds.action.theme", defaultMessage: "Theme", icon: GdsIcons.Theme, feedback: { icon: GdsIcons.Theme, color: "teal", messageId: "gds.feedback.changed" } },
|
|
1476
|
-
home: { id: "gds.action.home", defaultMessage: "Home", icon: GdsIcons.Home, feedback: { icon: GdsIcons.Home, color: "teal", messageId: "gds.feedback.opened" } },
|
|
1477
|
-
inbox: { id: "gds.action.inbox", defaultMessage: "Inbox", icon: GdsIcons.Inbox, feedback: { icon: GdsIcons.Inbox, color: "teal", messageId: "gds.feedback.opened" } },
|
|
1478
|
-
calendar: { id: "gds.action.calendar", defaultMessage: "Calendar", icon: GdsIcons.Calendar, feedback: { icon: GdsIcons.Calendar, color: "teal", messageId: "gds.feedback.opened" } },
|
|
1479
|
-
gallery: { id: "gds.action.gallery", defaultMessage: "Gallery", icon: GdsIcons.Gallery, feedback: { icon: GdsIcons.Gallery, color: "teal", messageId: "gds.feedback.opened" } },
|
|
1480
|
-
history: { id: "gds.action.history", defaultMessage: "History", icon: GdsIcons.History, feedback: { icon: GdsIcons.History, color: "teal", messageId: "gds.feedback.opened" } },
|
|
1481
|
-
profile: { id: "gds.action.profile", defaultMessage: "Profile", icon: GdsIcons.Profile, feedback: { icon: GdsIcons.Profile, color: "teal", messageId: "gds.feedback.opened" } },
|
|
1482
|
-
send: { id: "gds.action.send", defaultMessage: "Send", icon: GdsIcons.Send, feedback: { icon: GdsIcons.
|
|
1483
|
-
reply: { id: "gds.action.reply", defaultMessage: "Reply", icon: GdsIcons.Reply, feedback: { icon: GdsIcons.Reply, color: "blue", messageId: "gds.feedback.replied" } },
|
|
1484
|
-
forward: { id: "gds.action.forward", defaultMessage: "Forward", icon: GdsIcons.Forward, feedback: { icon: GdsIcons.Forward, color: "blue", messageId: "gds.feedback.forwarded" } },
|
|
1485
|
-
attach: { id: "gds.action.attach", defaultMessage: "Attach", icon: GdsIcons.Attach, feedback: { icon: GdsIcons.Attach, color: "teal", messageId: "gds.feedback.attached" } },
|
|
1486
|
-
upload: { id: "gds.action.upload", defaultMessage: "Upload", icon: GdsIcons.Upload, feedback: { icon: GdsIcons.
|
|
1487
|
-
download: { id: "gds.action.download", defaultMessage: "Download", icon: GdsIcons.Download, feedback: { icon: GdsIcons.
|
|
1488
|
-
print: { id: "gds.action.print", defaultMessage: "Print", icon: GdsIcons.Print, feedback: { icon: GdsIcons.Print, color: "teal", messageId: "gds.feedback.printed" } },
|
|
1489
|
-
copy: { id: "gds.action.copy", defaultMessage: "Copy", icon: GdsIcons.Copy, feedback: { icon: GdsIcons.
|
|
1490
|
-
duplicate: { id: "gds.action.duplicate", defaultMessage: "Duplicate", icon: GdsIcons.Duplicate, feedback: { icon: GdsIcons.Duplicate, color: "teal", messageId: "gds.feedback.duplicated" } },
|
|
1491
|
-
check: { id: "gds.action.check", defaultMessage: "Check", icon: GdsIcons.Check, feedback: { icon: GdsIcons.Check, color: "teal", messageId: "gds.feedback.checked" } },
|
|
1492
|
-
uncheck: { id: "gds.action.uncheck", defaultMessage: "Uncheck", icon: GdsIcons.Uncheck, feedback: { icon: GdsIcons.Uncheck, color: "red", messageId: "gds.feedback.unchecked" } },
|
|
1493
|
-
complete: { id: "gds.action.complete", defaultMessage: "Complete", icon: GdsIcons.Complete, feedback: { icon: GdsIcons.Complete, color: "teal", messageId: "gds.feedback.completed" } },
|
|
1494
|
-
clear: { id: "gds.action.clear", defaultMessage: "Clear", icon: GdsIcons.Clear, feedback: { icon: GdsIcons.Clear, color: "red", messageId: "gds.feedback.cleared" } },
|
|
1495
|
-
capture: { id: "gds.action.capture", defaultMessage: "Capture", icon: GdsIcons.Capture, feedback: { icon: GdsIcons.Capture, color: "teal", messageId: "gds.feedback.captured" } },
|
|
1496
|
-
record: { id: "gds.action.record", defaultMessage: "Record", icon: GdsIcons.Record, feedback: { icon: GdsIcons.Record, color: "teal", messageId: "gds.feedback.recorded" } },
|
|
1497
|
-
flip: { id: "gds.action.flip", defaultMessage: "Flip", icon: GdsIcons.Flip, feedback: { icon: GdsIcons.Flip, color: "teal", messageId: "gds.feedback.flipped" } },
|
|
1498
|
-
flash: { id: "gds.action.flash", defaultMessage: "Flash", icon: GdsIcons.Flash, feedback: { icon: GdsIcons.Flash, color: "teal", messageId: "gds.feedback.flashed" } },
|
|
1499
|
-
course: { id: "gds.action.course", defaultMessage: "Course", icon: GdsIcons.Course, feedback: { icon: GdsIcons.Course, color: "teal", messageId: "gds.feedback.done" } },
|
|
1500
|
-
lesson: { id: "gds.action.lesson", defaultMessage: "Lesson", icon: GdsIcons.Lesson, feedback: { icon: GdsIcons.Lesson, color: "teal", messageId: "gds.feedback.done" } },
|
|
1501
|
-
certificate: { id: "gds.action.certificate", defaultMessage: "Certificate", icon: GdsIcons.Certificate, feedback: { icon: GdsIcons.Certificate, color: "teal", messageId: "gds.feedback.done" } },
|
|
1502
|
-
student: { id: "gds.action.student", defaultMessage: "Student", icon: GdsIcons.Student, feedback: { icon: GdsIcons.Student, color: "teal", messageId: "gds.feedback.done" } },
|
|
1503
|
-
class: { id: "gds.action.class", defaultMessage: "Class", icon: GdsIcons.Class, feedback: { icon: GdsIcons.Class, color: "teal", messageId: "gds.feedback.done" } },
|
|
1504
|
-
grade: { id: "gds.action.grade", defaultMessage: "Grade", icon: GdsIcons.Grade, feedback: { icon: GdsIcons.Grade, color: "teal", messageId: "gds.feedback.done" } },
|
|
1505
|
-
child: { id: "gds.action.child", defaultMessage: "Child", icon: GdsIcons.Child, feedback: { icon: GdsIcons.Child, color: "teal", messageId: "gds.feedback.done" } },
|
|
1506
|
-
family: { id: "gds.action.family", defaultMessage: "Family", icon: GdsIcons.Family, feedback: { icon: GdsIcons.Family, color: "teal", messageId: "gds.feedback.done" } },
|
|
1507
|
-
habit: { id: "gds.action.habit", defaultMessage: "Habit", icon: GdsIcons.Habit, feedback: { icon: GdsIcons.Habit, color: "teal", messageId: "gds.feedback.done" } },
|
|
1508
|
-
goal: { id: "gds.action.goal", defaultMessage: "Goal", icon: GdsIcons.Goal, feedback: { icon: GdsIcons.Goal, color: "teal", messageId: "gds.feedback.done" } },
|
|
1509
|
-
streak: { id: "gds.action.streak", defaultMessage: "Streak", icon: GdsIcons.Streak, feedback: { icon: GdsIcons.Streak, color: "teal", messageId: "gds.feedback.done" } },
|
|
1510
|
-
reward: { id: "gds.action.reward", defaultMessage: "Reward", icon: GdsIcons.Reward, feedback: { icon: GdsIcons.Reward, color: "yellow", messageId: "gds.feedback.rewarded" } },
|
|
1511
|
-
trophy: { id: "gds.action.trophy", defaultMessage: "Trophy", icon: GdsIcons.Trophy, feedback: { icon: GdsIcons.Trophy, color: "yellow", messageId: "gds.feedback.rewarded" } },
|
|
1512
|
-
crown: { id: "gds.action.crown", defaultMessage: "Crown", icon: GdsIcons.Crown, feedback: { icon: GdsIcons.Crown, color: "yellow", messageId: "gds.feedback.rewarded" } },
|
|
1513
|
-
pause: { id: "gds.action.pause", defaultMessage: "Pause", icon: GdsIcons.Pause, feedback: { icon: GdsIcons.Pause, color: "teal", messageId: "gds.feedback.paused" } },
|
|
1514
|
-
message: { id: "gds.action.message", defaultMessage: "Message", icon: GdsIcons.Message, feedback: { icon: GdsIcons.Message, color: "blue", messageId: "gds.feedback.sent" } },
|
|
1515
|
-
mail: { id: "gds.action.mail", defaultMessage: "Mail", icon: GdsIcons.Mail, feedback: { icon: GdsIcons.Mail, color: "blue", messageId: "gds.feedback.mailed" } },
|
|
1516
|
-
refresh: { id: "gds.action.refresh", defaultMessage: "Refresh", icon: GdsIcons.Refresh, feedback: { icon: GdsIcons.
|
|
1517
|
-
trendingUp: { id: "gds.action.trendingUp", defaultMessage: "Trending Up", icon: GdsIcons.TrendingUp, feedback: { icon: GdsIcons.TrendingUp, color: "teal", messageId: "gds.feedback.done" } },
|
|
1518
|
-
trendingDown: { id: "gds.action.trendingDown", defaultMessage: "Trending Down", icon: GdsIcons.TrendingDown, feedback: { icon: GdsIcons.TrendingDown, color: "teal", messageId: "gds.feedback.done" } },
|
|
1519
|
-
currency: { id: "gds.action.currency", defaultMessage: "Currency", icon: GdsIcons.Currency, feedback: { icon: GdsIcons.Currency, color: "teal", messageId: "gds.feedback.done" } },
|
|
1520
|
-
grid: { id: "gds.action.grid", defaultMessage: "Grid", icon: GdsIcons.Grid, feedback: { icon: GdsIcons.Grid, color: "teal", messageId: "gds.feedback.done" } },
|
|
1521
|
-
list: { id: "gds.action.list", defaultMessage: "List", icon: GdsIcons.List, feedback: { icon: GdsIcons.List, color: "teal", messageId: "gds.feedback.done" } },
|
|
1522
|
-
logout: { id: "gds.action.logout", defaultMessage: "Logout", icon: GdsIcons.Logout, feedback: { icon: GdsIcons.Logout, color: "teal", messageId: "gds.feedback.loggedOut" } },
|
|
1523
|
-
notifications: { id: "gds.action.notifications", defaultMessage: "Notifications", icon: GdsIcons.Notifications, feedback: { icon: GdsIcons.Notifications, color: "teal", messageId: "gds.feedback.done" } },
|
|
1524
|
-
back: { id: "gds.action.back", defaultMessage: "Back", icon: GdsIcons.Back, feedback: { icon: GdsIcons.Back, color: "teal", messageId: "gds.feedback.done" } },
|
|
1525
|
-
eye: { id: "gds.action.eye", defaultMessage: "View", icon: GdsIcons.Eye, feedback: { icon: GdsIcons.Eye, color: "teal", messageId: "gds.feedback.done" } },
|
|
1526
|
-
eyeOff: { id: "gds.action.eyeOff", defaultMessage: "Hide", icon: GdsIcons.EyeOff, feedback: { icon: GdsIcons.EyeOff, color: "teal", messageId: "gds.feedback.done" } },
|
|
1527
|
-
help: { id: "gds.action.help", defaultMessage: "Help", icon: GdsIcons.Help, feedback: { icon: GdsIcons.Help, color: "teal", messageId: "gds.feedback.done" } },
|
|
1528
|
-
filter: { id: "gds.action.filter", defaultMessage: "Filter", icon: GdsIcons.Filter, feedback: { icon: GdsIcons.Filter, color: "teal", messageId: "gds.feedback.filtered" } },
|
|
1529
|
-
sort: { id: "gds.action.sort", defaultMessage: "Sort", icon: GdsIcons.Sort, feedback: { icon: GdsIcons.Sort, color: "teal", messageId: "gds.feedback.sorted" } },
|
|
1530
|
-
export: { id: "gds.action.export", defaultMessage: "Export", icon: GdsIcons.Export, feedback: { icon: GdsIcons.Export, color: "teal", messageId: "gds.feedback.exported" } },
|
|
1531
|
-
import: { id: "gds.action.import", defaultMessage: "Import", icon: GdsIcons.Import, feedback: { icon: GdsIcons.Import, color: "teal", messageId: "gds.feedback.imported" } },
|
|
1532
|
-
preview: { id: "gds.action.preview", defaultMessage: "Preview", icon: GdsIcons.Preview, feedback: { icon: GdsIcons.Preview, color: "teal", messageId: "gds.feedback.previewed" } },
|
|
1533
|
-
clone: { id: "gds.action.clone", defaultMessage: "Clone", icon: GdsIcons.Clone, feedback: { icon: GdsIcons.Clone, color: "teal", messageId: "gds.feedback.cloned" } },
|
|
1534
|
-
restore: { id: "gds.action.restore", defaultMessage: "Restore", icon: GdsIcons.Restore, feedback: { icon: GdsIcons.Restore, color: "teal", messageId: "gds.feedback.restored" } },
|
|
1535
|
-
toggle: { id: "gds.action.toggle", defaultMessage: "Toggle", icon: GdsIcons.Toggle, feedback: { icon: GdsIcons.Toggle, color: "teal", messageId: "gds.feedback.toggled" } },
|
|
1536
|
-
search: { id: "gds.action.search", defaultMessage: "Search", icon: GdsIcons.Search, feedback: { icon: GdsIcons.Search, color: "teal", messageId: "gds.feedback.searched" } },
|
|
1537
|
-
submit: { id: "gds.action.submit", defaultMessage: "Submit", icon: GdsIcons.Submit, feedback: { icon: GdsIcons.Submit, color: "teal", messageId: "gds.feedback.submitted" } },
|
|
1538
|
-
reset: { id: "gds.action.reset", defaultMessage: "Reset", icon: GdsIcons.Reset, feedback: { icon: GdsIcons.Reset, color: "red", messageId: "gds.feedback.reset" } },
|
|
1539
|
-
login: { id: "gds.action.login", defaultMessage: "Login", icon: GdsIcons.Login, feedback: { icon: GdsIcons.Login, color: "teal", messageId: "gds.feedback.loggedIn" } },
|
|
1540
|
-
register: { id: "gds.action.register", defaultMessage: "Register", icon: GdsIcons.Register, feedback: { icon: GdsIcons.Register, color: "teal", messageId: "gds.feedback.registered" } },
|
|
1541
|
-
verify: { id: "gds.action.verify", defaultMessage: "Verify", icon: GdsIcons.Verify, feedback: { icon: GdsIcons.Verify, color: "teal", messageId: "gds.feedback.verified" } },
|
|
1542
|
-
launch: { id: "gds.action.launch", defaultMessage: "Launch", icon: GdsIcons.Launch, feedback: { icon: GdsIcons.Launch, color: "purple", messageId: "gds.feedback.launched" } },
|
|
1543
|
-
draft: { id: "gds.action.draft", defaultMessage: "Draft", icon: GdsIcons.Draft, feedback: { icon: GdsIcons.Draft, color: "teal", messageId: "gds.feedback.drafted" } },
|
|
1544
|
-
refer: { id: "gds.action.refer", defaultMessage: "Refer", icon: GdsIcons.Refer, feedback: { icon: GdsIcons.Refer, color: "teal", messageId: "gds.feedback.referred" } },
|
|
1545
|
-
evidence: { id: "gds.action.evidence", defaultMessage: "Evidence", icon: GdsIcons.Evidence, feedback: { icon: GdsIcons.Evidence, color: "teal", messageId: "gds.feedback.added" } }
|
|
1462
|
+
settings: { id: "gds.action.settings", defaultMessage: "Settings", icon: GdsIcons.Settings, feedback: { icon: GdsIcons.Settings, color: "teal", messageId: "gds.feedback.saved" }, motion: { press: "turn" } },
|
|
1463
|
+
analytics: { id: "gds.action.analytics", defaultMessage: "Analytics", icon: GdsIcons.Analytics, feedback: { icon: GdsIcons.Analytics, color: "teal", messageId: "gds.feedback.loaded" }, motion: { press: "bars" } },
|
|
1464
|
+
dashboard: { id: "gds.action.dashboard", defaultMessage: "Dashboard", icon: GdsIcons.Dashboard, feedback: { icon: GdsIcons.Dashboard, color: "teal", messageId: "gds.feedback.loaded" }, motion: { press: "needle" } },
|
|
1465
|
+
play: { id: "gds.action.play", defaultMessage: "Play", icon: GdsIcons.Play, feedback: { icon: GdsIcons.Play, color: "teal", messageId: "gds.feedback.started" }, motion: { press: "nudge-right" } },
|
|
1466
|
+
start: { id: "gds.action.start", defaultMessage: "Start", icon: GdsIcons.Start, feedback: { icon: GdsIcons.Start, color: "teal", messageId: "gds.feedback.started" }, motion: { press: "launch" } },
|
|
1467
|
+
users: { id: "gds.action.users", defaultMessage: "Users", icon: GdsIcons.Users, feedback: { icon: GdsIcons.Users, color: "teal", messageId: "gds.feedback.loaded" }, motion: { press: "join" } },
|
|
1468
|
+
add: { id: "gds.action.add", defaultMessage: "Add", icon: GdsIcons.Add, feedback: { icon: GdsIcons.Success, color: "teal", messageId: "gds.feedback.added" }, motion: { press: "quarter", pending: "spinner", success: "turn" } },
|
|
1469
|
+
edit: { id: "gds.action.edit", defaultMessage: "Edit", icon: GdsIcons.Edit, feedback: { icon: GdsIcons.Edit, color: "teal", messageId: "gds.feedback.edited" }, motion: { press: "scribble" } },
|
|
1470
|
+
delete: { id: "gds.action.delete", defaultMessage: "Delete", icon: GdsIcons.Delete, feedback: { icon: GdsIcons.Success, color: "red", messageId: "gds.feedback.deleted" }, motion: { press: "lid", pending: "spinner", success: "check-pop", confirm: true } },
|
|
1471
|
+
save: { id: "gds.action.save", defaultMessage: "Save", icon: GdsIcons.Save, feedback: { icon: GdsIcons.Success, color: "teal", messageId: "gds.feedback.saved" }, motion: { press: "pop", pending: "spinner", success: "check-draw" } },
|
|
1472
|
+
cancel: { id: "gds.action.cancel", defaultMessage: "Cancel", icon: GdsIcons.Cancel, feedback: { icon: GdsIcons.Cancel, color: "red", messageId: "gds.feedback.canceled" }, motion: { press: "quarter" } },
|
|
1473
|
+
confirm: { id: "gds.action.confirm", defaultMessage: "Confirm", icon: GdsIcons.Confirm, feedback: { icon: GdsIcons.Confirm, color: "teal", messageId: "gds.feedback.confirmed" }, motion: { press: "bounce" } },
|
|
1474
|
+
close: { id: "gds.action.close", defaultMessage: "Close", icon: GdsIcons.Close, feedback: { icon: GdsIcons.Close, color: "gray", messageId: "gds.feedback.closed" }, motion: { press: "draw" } },
|
|
1475
|
+
language: { id: "gds.action.language", defaultMessage: "Language", icon: GdsIcons.Language, feedback: { icon: GdsIcons.Language, color: "teal", messageId: "gds.feedback.changed" }, motion: { press: "draw-stagger" } },
|
|
1476
|
+
theme: { id: "gds.action.theme", defaultMessage: "Theme", icon: GdsIcons.Theme, feedback: { icon: GdsIcons.Theme, color: "teal", messageId: "gds.feedback.changed" }, motion: { press: "rock" } },
|
|
1477
|
+
home: { id: "gds.action.home", defaultMessage: "Home", icon: GdsIcons.Home, feedback: { icon: GdsIcons.Home, color: "teal", messageId: "gds.feedback.opened" }, motion: { press: "draw" } },
|
|
1478
|
+
inbox: { id: "gds.action.inbox", defaultMessage: "Inbox", icon: GdsIcons.Inbox, feedback: { icon: GdsIcons.Inbox, color: "teal", messageId: "gds.feedback.opened" }, motion: { press: "drop" } },
|
|
1479
|
+
calendar: { id: "gds.action.calendar", defaultMessage: "Calendar", icon: GdsIcons.Calendar, feedback: { icon: GdsIcons.Calendar, color: "teal", messageId: "gds.feedback.opened" }, motion: { press: "date" } },
|
|
1480
|
+
gallery: { id: "gds.action.gallery", defaultMessage: "Gallery", icon: GdsIcons.Gallery, feedback: { icon: GdsIcons.Gallery, color: "teal", messageId: "gds.feedback.opened" }, motion: { press: "pop" } },
|
|
1481
|
+
history: { id: "gds.action.history", defaultMessage: "History", icon: GdsIcons.History, feedback: { icon: GdsIcons.History, color: "teal", messageId: "gds.feedback.opened" }, motion: { press: "rewind" } },
|
|
1482
|
+
profile: { id: "gds.action.profile", defaultMessage: "Profile", icon: GdsIcons.Profile, feedback: { icon: GdsIcons.Profile, color: "teal", messageId: "gds.feedback.opened" }, motion: { press: "draw" } },
|
|
1483
|
+
send: { id: "gds.action.send", defaultMessage: "Send", icon: GdsIcons.Send, feedback: { icon: GdsIcons.Success, color: "blue", messageId: "gds.feedback.sent" }, motion: { press: "launch", pending: "spinner", success: "fly-off" } },
|
|
1484
|
+
reply: { id: "gds.action.reply", defaultMessage: "Reply", icon: GdsIcons.Reply, feedback: { icon: GdsIcons.Reply, color: "blue", messageId: "gds.feedback.replied" }, motion: { press: "nudge-left" } },
|
|
1485
|
+
forward: { id: "gds.action.forward", defaultMessage: "Forward", icon: GdsIcons.Forward, feedback: { icon: GdsIcons.Forward, color: "blue", messageId: "gds.feedback.forwarded" }, motion: { press: "nudge-right" } },
|
|
1486
|
+
attach: { id: "gds.action.attach", defaultMessage: "Attach", icon: GdsIcons.Attach, feedback: { icon: GdsIcons.Attach, color: "teal", messageId: "gds.feedback.attached" }, motion: { press: "swing" } },
|
|
1487
|
+
upload: { id: "gds.action.upload", defaultMessage: "Upload", icon: GdsIcons.Upload, feedback: { icon: GdsIcons.Success, color: "teal", messageId: "gds.feedback.uploaded" }, motion: { press: "nudge-up-right", pending: "bob-up", success: "check-draw" } },
|
|
1488
|
+
download: { id: "gds.action.download", defaultMessage: "Download", icon: GdsIcons.Download, feedback: { icon: GdsIcons.Success, color: "teal", messageId: "gds.feedback.downloaded" }, motion: { press: "drop", pending: "bob-down", success: "check-draw" } },
|
|
1489
|
+
print: { id: "gds.action.print", defaultMessage: "Print", icon: GdsIcons.Print, feedback: { icon: GdsIcons.Print, color: "teal", messageId: "gds.feedback.printed" }, motion: { press: "feed", pending: "feed" } },
|
|
1490
|
+
copy: { id: "gds.action.copy", defaultMessage: "Copy", icon: GdsIcons.Copy, feedback: { icon: GdsIcons.Success, color: "teal", messageId: "gds.feedback.copied" }, motion: { press: "separate", pending: "spinner", success: "check-pop" } },
|
|
1491
|
+
duplicate: { id: "gds.action.duplicate", defaultMessage: "Duplicate", icon: GdsIcons.Duplicate, feedback: { icon: GdsIcons.Duplicate, color: "teal", messageId: "gds.feedback.duplicated" }, motion: { press: "separate" } },
|
|
1492
|
+
check: { id: "gds.action.check", defaultMessage: "Check", icon: GdsIcons.Check, feedback: { icon: GdsIcons.Check, color: "teal", messageId: "gds.feedback.checked" }, motion: { press: "draw-last" } },
|
|
1493
|
+
uncheck: { id: "gds.action.uncheck", defaultMessage: "Uncheck", icon: GdsIcons.Uncheck, feedback: { icon: GdsIcons.Uncheck, color: "red", messageId: "gds.feedback.unchecked" }, motion: { press: "draw-last" } },
|
|
1494
|
+
complete: { id: "gds.action.complete", defaultMessage: "Complete", icon: GdsIcons.Complete, feedback: { icon: GdsIcons.Complete, color: "teal", messageId: "gds.feedback.completed" }, motion: { press: "draw-stagger", pending: "spinner", success: "draw" } },
|
|
1495
|
+
clear: { id: "gds.action.clear", defaultMessage: "Clear", icon: GdsIcons.Clear, feedback: { icon: GdsIcons.Clear, color: "red", messageId: "gds.feedback.cleared" }, motion: { press: "sweep" } },
|
|
1496
|
+
capture: { id: "gds.action.capture", defaultMessage: "Capture", icon: GdsIcons.Capture, feedback: { icon: GdsIcons.Capture, color: "teal", messageId: "gds.feedback.captured" }, motion: { press: "shutter" } },
|
|
1497
|
+
record: { id: "gds.action.record", defaultMessage: "Record", icon: GdsIcons.Record, feedback: { icon: GdsIcons.Record, color: "teal", messageId: "gds.feedback.recorded" }, motion: { press: "pop", pending: "breathe" } },
|
|
1498
|
+
flip: { id: "gds.action.flip", defaultMessage: "Flip", icon: GdsIcons.Flip, feedback: { icon: GdsIcons.Flip, color: "teal", messageId: "gds.feedback.flipped" }, motion: { press: "flip" } },
|
|
1499
|
+
flash: { id: "gds.action.flash", defaultMessage: "Flash", icon: GdsIcons.Flash, feedback: { icon: GdsIcons.Flash, color: "teal", messageId: "gds.feedback.flashed" }, motion: { press: "flicker" } },
|
|
1500
|
+
course: { id: "gds.action.course", defaultMessage: "Course", icon: GdsIcons.Course, feedback: { icon: GdsIcons.Course, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "page" } },
|
|
1501
|
+
lesson: { id: "gds.action.lesson", defaultMessage: "Lesson", icon: GdsIcons.Lesson, feedback: { icon: GdsIcons.Lesson, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "page" } },
|
|
1502
|
+
certificate: { id: "gds.action.certificate", defaultMessage: "Certificate", icon: GdsIcons.Certificate, feedback: { icon: GdsIcons.Certificate, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "celebrate" } },
|
|
1503
|
+
student: { id: "gds.action.student", defaultMessage: "Student", icon: GdsIcons.Student, feedback: { icon: GdsIcons.Student, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "bounce" } },
|
|
1504
|
+
class: { id: "gds.action.class", defaultMessage: "Class", icon: GdsIcons.Class, feedback: { icon: GdsIcons.Class, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "page" } },
|
|
1505
|
+
grade: { id: "gds.action.grade", defaultMessage: "Grade", icon: GdsIcons.Grade, feedback: { icon: GdsIcons.Grade, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "celebrate" } },
|
|
1506
|
+
child: { id: "gds.action.child", defaultMessage: "Child", icon: GdsIcons.Child, feedback: { icon: GdsIcons.Child, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "bounce" } },
|
|
1507
|
+
family: { id: "gds.action.family", defaultMessage: "Family", icon: GdsIcons.Family, feedback: { icon: GdsIcons.Family, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "bounce" } },
|
|
1508
|
+
habit: { id: "gds.action.habit", defaultMessage: "Habit", icon: GdsIcons.Habit, feedback: { icon: GdsIcons.Habit, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "rings", pending: "rings" } },
|
|
1509
|
+
goal: { id: "gds.action.goal", defaultMessage: "Goal", icon: GdsIcons.Goal, feedback: { icon: GdsIcons.Goal, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "wave" } },
|
|
1510
|
+
streak: { id: "gds.action.streak", defaultMessage: "Streak", icon: GdsIcons.Streak, feedback: { icon: GdsIcons.Streak, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "draw" } },
|
|
1511
|
+
reward: { id: "gds.action.reward", defaultMessage: "Reward", icon: GdsIcons.Reward, feedback: { icon: GdsIcons.Reward, color: "yellow", messageId: "gds.feedback.rewarded" }, motion: { press: "pop", pending: "spinner", success: "pop" } },
|
|
1512
|
+
trophy: { id: "gds.action.trophy", defaultMessage: "Trophy", icon: GdsIcons.Trophy, feedback: { icon: GdsIcons.Trophy, color: "yellow", messageId: "gds.feedback.rewarded" }, motion: { press: "celebrate" } },
|
|
1513
|
+
crown: { id: "gds.action.crown", defaultMessage: "Crown", icon: GdsIcons.Crown, feedback: { icon: GdsIcons.Crown, color: "yellow", messageId: "gds.feedback.rewarded" }, motion: { press: "celebrate" } },
|
|
1514
|
+
pause: { id: "gds.action.pause", defaultMessage: "Pause", icon: GdsIcons.Pause, feedback: { icon: GdsIcons.Pause, color: "teal", messageId: "gds.feedback.paused" }, motion: { press: "dip" } },
|
|
1515
|
+
message: { id: "gds.action.message", defaultMessage: "Message", icon: GdsIcons.Message, feedback: { icon: GdsIcons.Message, color: "blue", messageId: "gds.feedback.sent" }, motion: { press: "bounce" } },
|
|
1516
|
+
mail: { id: "gds.action.mail", defaultMessage: "Mail", icon: GdsIcons.Mail, feedback: { icon: GdsIcons.Mail, color: "blue", messageId: "gds.feedback.mailed" }, motion: { press: "flap" } },
|
|
1517
|
+
refresh: { id: "gds.action.refresh", defaultMessage: "Refresh", icon: GdsIcons.Refresh, feedback: { icon: GdsIcons.Success, color: "teal", messageId: "gds.feedback.refreshed" }, motion: { press: "rewind", pending: "spin", success: "check-pop" } },
|
|
1518
|
+
trendingUp: { id: "gds.action.trendingUp", defaultMessage: "Trending Up", icon: GdsIcons.TrendingUp, feedback: { icon: GdsIcons.TrendingUp, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "nudge-up-right" } },
|
|
1519
|
+
trendingDown: { id: "gds.action.trendingDown", defaultMessage: "Trending Down", icon: GdsIcons.TrendingDown, feedback: { icon: GdsIcons.TrendingDown, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "nudge-down-right" } },
|
|
1520
|
+
currency: { id: "gds.action.currency", defaultMessage: "Currency", icon: GdsIcons.Currency, feedback: { icon: GdsIcons.Currency, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "flip" } },
|
|
1521
|
+
grid: { id: "gds.action.grid", defaultMessage: "Grid", icon: GdsIcons.Grid, feedback: { icon: GdsIcons.Grid, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "cells" } },
|
|
1522
|
+
list: { id: "gds.action.list", defaultMessage: "List", icon: GdsIcons.List, feedback: { icon: GdsIcons.List, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "rows" } },
|
|
1523
|
+
logout: { id: "gds.action.logout", defaultMessage: "Logout", icon: GdsIcons.Logout, feedback: { icon: GdsIcons.Logout, color: "teal", messageId: "gds.feedback.loggedOut" }, motion: { press: "arrow-out" } },
|
|
1524
|
+
notifications: { id: "gds.action.notifications", defaultMessage: "Notifications", icon: GdsIcons.Notifications, feedback: { icon: GdsIcons.Notifications, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "ring" } },
|
|
1525
|
+
back: { id: "gds.action.back", defaultMessage: "Back", icon: GdsIcons.Back, feedback: { icon: GdsIcons.Back, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "nudge-left" } },
|
|
1526
|
+
eye: { id: "gds.action.eye", defaultMessage: "View", icon: GdsIcons.Eye, feedback: { icon: GdsIcons.Eye, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "blink" } },
|
|
1527
|
+
eyeOff: { id: "gds.action.eyeOff", defaultMessage: "Hide", icon: GdsIcons.EyeOff, feedback: { icon: GdsIcons.EyeOff, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "draw-last" } },
|
|
1528
|
+
help: { id: "gds.action.help", defaultMessage: "Help", icon: GdsIcons.Help, feedback: { icon: GdsIcons.Help, color: "teal", messageId: "gds.feedback.done" }, motion: { press: "rock" } },
|
|
1529
|
+
filter: { id: "gds.action.filter", defaultMessage: "Filter", icon: GdsIcons.Filter, feedback: { icon: GdsIcons.Filter, color: "teal", messageId: "gds.feedback.filtered" }, motion: { press: "squeeze" } },
|
|
1530
|
+
sort: { id: "gds.action.sort", defaultMessage: "Sort", icon: GdsIcons.Sort, feedback: { icon: GdsIcons.Sort, color: "teal", messageId: "gds.feedback.sorted" }, motion: { press: "swap" } },
|
|
1531
|
+
export: { id: "gds.action.export", defaultMessage: "Export", icon: GdsIcons.Export, feedback: { icon: GdsIcons.Export, color: "teal", messageId: "gds.feedback.exported" }, motion: { press: "nudge-up-right", pending: "bob-up" } },
|
|
1532
|
+
import: { id: "gds.action.import", defaultMessage: "Import", icon: GdsIcons.Import, feedback: { icon: GdsIcons.Import, color: "teal", messageId: "gds.feedback.imported" }, motion: { press: "drop", pending: "bob-down" } },
|
|
1533
|
+
preview: { id: "gds.action.preview", defaultMessage: "Preview", icon: GdsIcons.Preview, feedback: { icon: GdsIcons.Preview, color: "teal", messageId: "gds.feedback.previewed" }, motion: { press: "blink" } },
|
|
1534
|
+
clone: { id: "gds.action.clone", defaultMessage: "Clone", icon: GdsIcons.Clone, feedback: { icon: GdsIcons.Clone, color: "teal", messageId: "gds.feedback.cloned" }, motion: { press: "separate" } },
|
|
1535
|
+
restore: { id: "gds.action.restore", defaultMessage: "Restore", icon: GdsIcons.Restore, feedback: { icon: GdsIcons.Restore, color: "teal", messageId: "gds.feedback.restored" }, motion: { press: "rewind", pending: "rewind" } },
|
|
1536
|
+
toggle: { id: "gds.action.toggle", defaultMessage: "Toggle", icon: GdsIcons.Toggle, feedback: { icon: GdsIcons.Toggle, color: "teal", messageId: "gds.feedback.toggled" }, motion: { press: "knob" } },
|
|
1537
|
+
search: { id: "gds.action.search", defaultMessage: "Search", icon: GdsIcons.Search, feedback: { icon: GdsIcons.Search, color: "teal", messageId: "gds.feedback.searched" }, motion: { press: "orbit", pending: "orbit" } },
|
|
1538
|
+
submit: { id: "gds.action.submit", defaultMessage: "Submit", icon: GdsIcons.Submit, feedback: { icon: GdsIcons.Submit, color: "teal", messageId: "gds.feedback.submitted" }, motion: { press: "draw" } },
|
|
1539
|
+
reset: { id: "gds.action.reset", defaultMessage: "Reset", icon: GdsIcons.Reset, feedback: { icon: GdsIcons.Reset, color: "red", messageId: "gds.feedback.reset" }, motion: { press: "rewind", pending: "rewind" } },
|
|
1540
|
+
login: { id: "gds.action.login", defaultMessage: "Login", icon: GdsIcons.Login, feedback: { icon: GdsIcons.Login, color: "teal", messageId: "gds.feedback.loggedIn" }, motion: { press: "arrow-in" } },
|
|
1541
|
+
register: { id: "gds.action.register", defaultMessage: "Register", icon: GdsIcons.Register, feedback: { icon: GdsIcons.Register, color: "teal", messageId: "gds.feedback.registered" }, motion: { press: "plus" } },
|
|
1542
|
+
verify: { id: "gds.action.verify", defaultMessage: "Verify", icon: GdsIcons.Verify, feedback: { icon: GdsIcons.Verify, color: "teal", messageId: "gds.feedback.verified" }, motion: { press: "draw-last" } },
|
|
1543
|
+
launch: { id: "gds.action.launch", defaultMessage: "Launch", icon: GdsIcons.Launch, feedback: { icon: GdsIcons.Launch, color: "purple", messageId: "gds.feedback.launched" }, motion: { press: "launch" } },
|
|
1544
|
+
draft: { id: "gds.action.draft", defaultMessage: "Draft", icon: GdsIcons.Draft, feedback: { icon: GdsIcons.Draft, color: "teal", messageId: "gds.feedback.drafted" }, motion: { press: "scribble" } },
|
|
1545
|
+
refer: { id: "gds.action.refer", defaultMessage: "Refer", icon: GdsIcons.Refer, feedback: { icon: GdsIcons.Refer, color: "teal", messageId: "gds.feedback.referred" }, motion: { press: "share" } },
|
|
1546
|
+
evidence: { id: "gds.action.evidence", defaultMessage: "Evidence", icon: GdsIcons.Evidence, feedback: { icon: GdsIcons.Evidence, color: "teal", messageId: "gds.feedback.added" }, motion: { press: "swing" } }
|
|
1546
1547
|
};
|
|
1547
1548
|
function createGdsVocabularyPack(namespace, actions) {
|
|
1548
1549
|
return {
|
|
@@ -1677,6 +1678,8 @@ function SelectionScroller({
|
|
|
1677
1678
|
onKeyDown: handleKeyDown,
|
|
1678
1679
|
style: {
|
|
1679
1680
|
overflowX: "auto",
|
|
1681
|
+
// The scroller clips on both axes; room for the focus and selection ring keeps it whole.
|
|
1682
|
+
padding: "calc(var(--gds-focus-ring-width) + var(--gds-focus-ring-offset))",
|
|
1680
1683
|
scrollbarWidth: "thin",
|
|
1681
1684
|
WebkitOverflowScrolling: "touch"
|
|
1682
1685
|
},
|
|
@@ -3096,6 +3099,7 @@ function SectionPanel({
|
|
|
3096
3099
|
import_core20.Paper,
|
|
3097
3100
|
{
|
|
3098
3101
|
id,
|
|
3102
|
+
"data-gds-section-panel": "",
|
|
3099
3103
|
withBorder: true,
|
|
3100
3104
|
radius: "lg",
|
|
3101
3105
|
p: { base: "xs", sm: "sm", md: "lg" },
|
|
@@ -4710,22 +4714,26 @@ function BoundedPreviewSurface({
|
|
|
4710
4714
|
}
|
|
4711
4715
|
|
|
4712
4716
|
// src/OwnedContrastSurface.tsx
|
|
4717
|
+
var import_gds_theme17 = require("@sovereignsquad/gds-theme");
|
|
4713
4718
|
function createGdsOwnedContrastTokens(vibe, options) {
|
|
4714
4719
|
const text = options.text ?? vibe.textLight;
|
|
4715
4720
|
const muted = options.muted ?? vibe.mutedLight;
|
|
4716
4721
|
const surface = options.surface ?? vibe.surfaceLight;
|
|
4717
4722
|
const border = options.border ?? vibe.borderLight;
|
|
4723
|
+
const emitted = (0, import_gds_theme17.getGdsVibeThemeCssVariables)(vibe.id, "light");
|
|
4724
|
+
const primary = emitted["--gds-vibe-primary"];
|
|
4718
4725
|
return {
|
|
4719
4726
|
text,
|
|
4720
4727
|
muted,
|
|
4721
4728
|
background: options.background,
|
|
4722
4729
|
radius: options.radius,
|
|
4723
|
-
primary
|
|
4724
|
-
|
|
4730
|
+
primary,
|
|
4731
|
+
primaryFg: emitted["--gds-action-fill-fg"],
|
|
4732
|
+
accent: emitted["--gds-vibe-accent"],
|
|
4725
4733
|
surface,
|
|
4726
4734
|
border,
|
|
4727
|
-
link: options.link ?? `color-mix(in srgb, ${
|
|
4728
|
-
control: options.control ?? `color-mix(in srgb, ${surface} 88%, ${
|
|
4735
|
+
link: options.link ?? `color-mix(in srgb, ${primary} 64%, ${text})`,
|
|
4736
|
+
control: options.control ?? `color-mix(in srgb, ${surface} 88%, ${primary} 8%)`,
|
|
4729
4737
|
controlText: options.controlText ?? text,
|
|
4730
4738
|
backgroundColor: options.backgroundColor ?? surface,
|
|
4731
4739
|
borderColor: options.borderColor ?? border,
|
|
@@ -4739,6 +4747,7 @@ function getGdsOwnedContrastProps({ role, tokens }) {
|
|
|
4739
4747
|
"--gds-local-background": tokens.background,
|
|
4740
4748
|
"--gds-local-radius": tokens.radius,
|
|
4741
4749
|
"--gds-vibe-primary": tokens.primary,
|
|
4750
|
+
...tokens.primaryFg ? { "--gds-action-fill-fg": tokens.primaryFg } : {},
|
|
4742
4751
|
"--gds-vibe-accent": tokens.accent,
|
|
4743
4752
|
"--gds-vibe-surface": tokens.surface,
|
|
4744
4753
|
"--gds-vibe-border": tokens.border,
|
|
@@ -4788,11 +4797,11 @@ function DetailProfileShell({
|
|
|
4788
4797
|
}
|
|
4789
4798
|
|
|
4790
4799
|
// src/DetailFactsTable.tsx
|
|
4791
|
-
var
|
|
4800
|
+
var import_gds_theme18 = require("@sovereignsquad/gds-theme");
|
|
4792
4801
|
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
4793
4802
|
var GDS_DETAIL_FACT_IDS = [
|
|
4794
|
-
"
|
|
4795
|
-
"
|
|
4803
|
+
"audience",
|
|
4804
|
+
"category",
|
|
4796
4805
|
"format",
|
|
4797
4806
|
"location",
|
|
4798
4807
|
"setting",
|
|
@@ -4801,18 +4810,37 @@ var GDS_DETAIL_FACT_IDS = [
|
|
|
4801
4810
|
"source",
|
|
4802
4811
|
"lastChecked"
|
|
4803
4812
|
];
|
|
4804
|
-
var
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
activityType: "Activity type",
|
|
4808
|
-
format: "Format",
|
|
4809
|
-
location: "Location",
|
|
4810
|
-
setting: "Indoor/outdoor",
|
|
4811
|
-
price: "Price",
|
|
4812
|
-
booking: "Booking",
|
|
4813
|
-
source: "Source",
|
|
4814
|
-
lastChecked: "Last checked"
|
|
4813
|
+
var GDS_DEPRECATED_DETAIL_FACT_IDS = {
|
|
4814
|
+
ageRange: "audience",
|
|
4815
|
+
activityType: "category"
|
|
4815
4816
|
};
|
|
4817
|
+
var GDS_DETAIL_FACTS_LABEL_COLUMN_PX = 130;
|
|
4818
|
+
function detailFactLabel(id, t) {
|
|
4819
|
+
switch (id) {
|
|
4820
|
+
case "audience":
|
|
4821
|
+
return t("gds.detailFacts.audience", "Audience");
|
|
4822
|
+
case "category":
|
|
4823
|
+
return t("gds.detailFacts.category", "Category");
|
|
4824
|
+
case "format":
|
|
4825
|
+
return t("gds.detailFacts.format", "Format");
|
|
4826
|
+
case "location":
|
|
4827
|
+
return t("gds.detailFacts.location", "Location");
|
|
4828
|
+
case "setting":
|
|
4829
|
+
return t("gds.detailFacts.setting", "Indoor/outdoor");
|
|
4830
|
+
case "price":
|
|
4831
|
+
return t("gds.detailFacts.price", "Price");
|
|
4832
|
+
case "booking":
|
|
4833
|
+
return t("gds.detailFacts.booking", "Booking");
|
|
4834
|
+
case "source":
|
|
4835
|
+
return t("gds.detailFacts.source", "Source");
|
|
4836
|
+
case "lastChecked":
|
|
4837
|
+
return t("gds.detailFacts.lastChecked", "Last checked");
|
|
4838
|
+
}
|
|
4839
|
+
}
|
|
4840
|
+
function deprecatedValue(values, id) {
|
|
4841
|
+
const legacy = Object.keys(GDS_DEPRECATED_DETAIL_FACT_IDS).find((key) => GDS_DEPRECATED_DETAIL_FACT_IDS[key] === id);
|
|
4842
|
+
return legacy ? values?.[legacy] : void 0;
|
|
4843
|
+
}
|
|
4816
4844
|
function isBlankDetailFactValue(value) {
|
|
4817
4845
|
if (value === void 0 || value === null) return true;
|
|
4818
4846
|
if (typeof value === "string") return value.trim() === "";
|
|
@@ -4821,8 +4849,8 @@ function isBlankDetailFactValue(value) {
|
|
|
4821
4849
|
function resolveDetailFactRows({ values, facts }, t) {
|
|
4822
4850
|
const schema = facts ?? GDS_DETAIL_FACT_IDS.map((id) => ({
|
|
4823
4851
|
id,
|
|
4824
|
-
label:
|
|
4825
|
-
value: values?.[id]
|
|
4852
|
+
label: detailFactLabel(id, t),
|
|
4853
|
+
value: values?.[id] ?? deprecatedValue(values, id)
|
|
4826
4854
|
}));
|
|
4827
4855
|
const unknownPhrase = t("gds.detailFacts.unknown", "Not confirmed \u2014 ask the provider");
|
|
4828
4856
|
return schema.map((row, index) => {
|
|
@@ -4844,7 +4872,7 @@ var containerStyle = {
|
|
|
4844
4872
|
margin: 0
|
|
4845
4873
|
};
|
|
4846
4874
|
function DetailFactsTable({ values, facts }) {
|
|
4847
|
-
const { t } = (0,
|
|
4875
|
+
const { t } = (0, import_gds_theme18.useGdsTranslation)();
|
|
4848
4876
|
const rows = resolveDetailFactRows({ values, facts }, t);
|
|
4849
4877
|
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("dl", { style: containerStyle, children: rows.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
4850
4878
|
"div",
|
|
@@ -4874,7 +4902,7 @@ function DetailFactsTable({ values, facts }) {
|
|
|
4874
4902
|
flex: "1 1 auto",
|
|
4875
4903
|
minWidth: 0,
|
|
4876
4904
|
margin: 0,
|
|
4877
|
-
overflowWrap: "
|
|
4905
|
+
overflowWrap: "break-word",
|
|
4878
4906
|
color: row.known ? "var(--gds-text-primary, var(--mantine-color-dark-7))" : "var(--gds-text-secondary, var(--mantine-color-gray-6))",
|
|
4879
4907
|
fontWeight: row.known ? 500 : void 0
|
|
4880
4908
|
},
|
|
@@ -4888,7 +4916,7 @@ function DetailFactsTable({ values, facts }) {
|
|
|
4888
4916
|
}
|
|
4889
4917
|
|
|
4890
4918
|
// src/AsyncSurface.tsx
|
|
4891
|
-
var
|
|
4919
|
+
var import_gds_theme19 = require("@sovereignsquad/gds-theme");
|
|
4892
4920
|
var import_core34 = require("@mantine/core");
|
|
4893
4921
|
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
4894
4922
|
function getRetryAction(label, onRetry) {
|
|
@@ -4946,7 +4974,7 @@ function AsyncSurface({
|
|
|
4946
4974
|
contentAlign,
|
|
4947
4975
|
contentJustify
|
|
4948
4976
|
}) {
|
|
4949
|
-
const { t } = (0,
|
|
4977
|
+
const { t } = (0, import_gds_theme19.useGdsTranslation)();
|
|
4950
4978
|
const loadingTitle = loadingTitleProp ?? t("gds.asyncSurface.loadingTitle", "Loading");
|
|
4951
4979
|
const loadingDescription = loadingDescriptionProp ?? t("gds.asyncSurface.loadingDescription", "This surface is still synchronizing.");
|
|
4952
4980
|
const emptyTitle = emptyTitleProp ?? t("gds.asyncSurface.emptyTitle", "No results");
|
|
@@ -5017,14 +5045,14 @@ function AsyncSurface({
|
|
|
5017
5045
|
}
|
|
5018
5046
|
|
|
5019
5047
|
// src/ListingPrimitives.tsx
|
|
5020
|
-
var
|
|
5048
|
+
var import_gds_theme20 = require("@sovereignsquad/gds-theme");
|
|
5021
5049
|
var import_core35 = require("@mantine/core");
|
|
5022
5050
|
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
5023
5051
|
function ActiveFilterChips({
|
|
5024
5052
|
filters,
|
|
5025
5053
|
emptyLabel: emptyLabelProp
|
|
5026
5054
|
}) {
|
|
5027
|
-
const { t } = (0,
|
|
5055
|
+
const { t } = (0, import_gds_theme20.useGdsTranslation)();
|
|
5028
5056
|
const emptyLabel = emptyLabelProp ?? t("gds.listingPrimitives.emptyLabel", "No active filters.");
|
|
5029
5057
|
if (!filters.length) {
|
|
5030
5058
|
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_core35.Text, { size: "sm", c: "dimmed", children: emptyLabel });
|
|
@@ -5061,7 +5089,7 @@ function SortMenu({
|
|
|
5061
5089
|
onChange,
|
|
5062
5090
|
label: labelProp
|
|
5063
5091
|
}) {
|
|
5064
|
-
const { t } = (0,
|
|
5092
|
+
const { t } = (0, import_gds_theme20.useGdsTranslation)();
|
|
5065
5093
|
const label = labelProp ?? t("gds.listingPrimitives.label", "Sort");
|
|
5066
5094
|
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5067
5095
|
import_core35.Select,
|
|
@@ -5131,7 +5159,7 @@ function PublicNav({ items, activeId, renderLink }) {
|
|
|
5131
5159
|
|
|
5132
5160
|
// src/BottomTabBar.tsx
|
|
5133
5161
|
var import_core37 = require("@mantine/core");
|
|
5134
|
-
var
|
|
5162
|
+
var import_gds_theme21 = require("@sovereignsquad/gds-theme");
|
|
5135
5163
|
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
5136
5164
|
var BOTTOM_TAB_MAX_ITEMS = 5;
|
|
5137
5165
|
var BOTTOM_TAB_HEIGHT = 64;
|
|
@@ -5151,7 +5179,7 @@ function BottomTabBar({
|
|
|
5151
5179
|
className,
|
|
5152
5180
|
renderItem
|
|
5153
5181
|
}) {
|
|
5154
|
-
const { t } = (0,
|
|
5182
|
+
const { t } = (0, import_gds_theme21.useGdsTranslation)();
|
|
5155
5183
|
const ariaLabel = ariaLabelProp ?? t("gds.bottomTabBar.ariaLabel", "Primary");
|
|
5156
5184
|
const cap = Math.min(Math.max(1, maxItems), BOTTOM_TAB_MAX_ITEMS);
|
|
5157
5185
|
if (items.length > cap) {
|
|
@@ -5173,7 +5201,7 @@ function BottomTabBar({
|
|
|
5173
5201
|
position: "fixed",
|
|
5174
5202
|
insetInline: 0,
|
|
5175
5203
|
bottom: 0,
|
|
5176
|
-
zIndex:
|
|
5204
|
+
zIndex: import_gds_theme21.gdsZIndexToken.app,
|
|
5177
5205
|
// display intentionally omitted: the stylesheet controls flex/none via the viewport
|
|
5178
5206
|
// gate; an inline value here would always win over that media query.
|
|
5179
5207
|
justifyContent: "space-around",
|
|
@@ -5188,7 +5216,14 @@ function BottomTabBar({
|
|
|
5188
5216
|
const emphasized = item.id === emphasizedItemId;
|
|
5189
5217
|
const color = active ? "var(--gds-brand-accent, var(--mantine-color-violet-6))" : "var(--gds-text-secondary, var(--mantine-color-gray-6))";
|
|
5190
5218
|
if (renderItem) {
|
|
5191
|
-
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5219
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5220
|
+
import_core37.Box,
|
|
5221
|
+
{
|
|
5222
|
+
style: { flex: 1, minWidth: 44, minHeight: 44, display: "flex", alignItems: "center", justifyContent: "center", textAlign: "center" },
|
|
5223
|
+
children: renderItem(item, active, emphasized)
|
|
5224
|
+
},
|
|
5225
|
+
item.id
|
|
5226
|
+
);
|
|
5192
5227
|
}
|
|
5193
5228
|
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5194
5229
|
import_core37.Anchor,
|
|
@@ -5276,7 +5311,7 @@ function InlineMobileNavigation({
|
|
|
5276
5311
|
},
|
|
5277
5312
|
children: [
|
|
5278
5313
|
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_core38.Burger, { opened: false, "aria-hidden": true }),
|
|
5279
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_core38.Text, { size: "sm", fw: 600, children: "Menu" })
|
|
5314
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_core38.Text, { size: "sm", fw: 600, visibleFrom: "sm", children: "Menu" })
|
|
5280
5315
|
]
|
|
5281
5316
|
}
|
|
5282
5317
|
),
|
|
@@ -5340,7 +5375,7 @@ function PublicShell({
|
|
|
5340
5375
|
wrap: "nowrap",
|
|
5341
5376
|
gap: headerVariant === "compact" ? "sm" : "lg",
|
|
5342
5377
|
children: [
|
|
5343
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_core38.Group, { wrap: "nowrap", gap: headerVariant === "compact" ? "xs" : "sm", className: classNames?.brand, children: [
|
|
5378
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_core38.Group, { wrap: "nowrap", gap: headerVariant === "compact" ? "xs" : "sm", miw: 0, className: classNames?.brand, children: [
|
|
5344
5379
|
usesInlineMobileNavigation ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5345
5380
|
InlineMobileNavigation,
|
|
5346
5381
|
{
|
|
@@ -5349,10 +5384,10 @@ function PublicShell({
|
|
|
5349
5384
|
mode: mobileNavigationMode
|
|
5350
5385
|
}
|
|
5351
5386
|
) : null,
|
|
5352
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_core38.Box, { children: brand })
|
|
5387
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_core38.Box, { miw: 0, children: brand })
|
|
5353
5388
|
] }),
|
|
5354
5389
|
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_core38.Group, { visibleFrom: "sm", gap: headerVariant === "compact" ? "md" : "lg", className: classNames?.navigation, children: resolvedNavigation }),
|
|
5355
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_core38.Group, { gap: "sm", className: classNames?.actions, children: actions })
|
|
5390
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_core38.Group, { gap: "sm", wrap: "nowrap", style: { flexShrink: 0 }, className: classNames?.actions, children: actions })
|
|
5356
5391
|
]
|
|
5357
5392
|
}
|
|
5358
5393
|
) }) }),
|
|
@@ -5442,7 +5477,7 @@ function PublicBrandFooter({
|
|
|
5442
5477
|
}
|
|
5443
5478
|
|
|
5444
5479
|
// src/AuthShell.tsx
|
|
5445
|
-
var
|
|
5480
|
+
var import_gds_theme22 = require("@sovereignsquad/gds-theme");
|
|
5446
5481
|
var import_core41 = require("@mantine/core");
|
|
5447
5482
|
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
5448
5483
|
function AuthShell({
|
|
@@ -5460,7 +5495,7 @@ function AuthShell({
|
|
|
5460
5495
|
dividerLabel: dividerLabelProp,
|
|
5461
5496
|
children
|
|
5462
5497
|
}) {
|
|
5463
|
-
const { t } = (0,
|
|
5498
|
+
const { t } = (0, import_gds_theme22.useGdsTranslation)();
|
|
5464
5499
|
const dividerLabel = dividerLabelProp ?? t("gds.authShell.dividerLabel", "Or continue with your account");
|
|
5465
5500
|
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_core41.Box, { py: { base: "xl", md: "4rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_core41.Container, { size: "xs", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_core41.Stack, { gap: "xl", children: [
|
|
5466
5501
|
brand || headerActions ? /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_core41.Group, { justify: brand && headerActions ? "space-between" : "center", align: "center", children: [
|
|
@@ -5488,7 +5523,7 @@ function AuthShell({
|
|
|
5488
5523
|
}
|
|
5489
5524
|
|
|
5490
5525
|
// src/SocialAuthButtons.tsx
|
|
5491
|
-
var
|
|
5526
|
+
var import_gds_theme23 = require("@sovereignsquad/gds-theme");
|
|
5492
5527
|
var import_core43 = require("@mantine/core");
|
|
5493
5528
|
|
|
5494
5529
|
// src/ProviderIdentityButtons.tsx
|
|
@@ -5686,7 +5721,7 @@ function SocialAuthButtons({
|
|
|
5686
5721
|
layout = "stack",
|
|
5687
5722
|
compact = false
|
|
5688
5723
|
}) {
|
|
5689
|
-
const { t } = (0,
|
|
5724
|
+
const { t } = (0, import_gds_theme23.useGdsTranslation)();
|
|
5690
5725
|
const title = titleProp ?? t("gds.socialAuthButtons.title", "Continue with a trusted provider");
|
|
5691
5726
|
if (!providers.length) {
|
|
5692
5727
|
return null;
|
|
@@ -5754,10 +5789,10 @@ var import_core47 = require("@mantine/core");
|
|
|
5754
5789
|
|
|
5755
5790
|
// src/GdsBreadcrumbs.tsx
|
|
5756
5791
|
var import_core46 = require("@mantine/core");
|
|
5757
|
-
var
|
|
5792
|
+
var import_gds_theme24 = require("@sovereignsquad/gds-theme");
|
|
5758
5793
|
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
5759
5794
|
function GdsBreadcrumbs({ items, ariaLabel: ariaLabelProp }) {
|
|
5760
|
-
const { t } = (0,
|
|
5795
|
+
const { t } = (0, import_gds_theme24.useGdsTranslation)();
|
|
5761
5796
|
const ariaLabel = ariaLabelProp ?? t("gds.gdsBreadcrumbs.ariaLabel", "Breadcrumb");
|
|
5762
5797
|
if (items.length === 0) {
|
|
5763
5798
|
return null;
|
|
@@ -6017,7 +6052,7 @@ function EditorialHero({
|
|
|
6017
6052
|
|
|
6018
6053
|
// src/FeatureBand.tsx
|
|
6019
6054
|
var import_core49 = require("@mantine/core");
|
|
6020
|
-
var
|
|
6055
|
+
var import_gds_theme25 = require("@sovereignsquad/gds-theme");
|
|
6021
6056
|
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
6022
6057
|
function FeatureBandSkeleton({
|
|
6023
6058
|
columns = 3,
|
|
@@ -6041,7 +6076,7 @@ function FeatureBand({
|
|
|
6041
6076
|
emptyState,
|
|
6042
6077
|
variant = "default"
|
|
6043
6078
|
}) {
|
|
6044
|
-
const { t } = (0,
|
|
6079
|
+
const { t } = (0, import_gds_theme25.useGdsTranslation)();
|
|
6045
6080
|
if (loading) {
|
|
6046
6081
|
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(FeatureBandSkeleton, { columns, bordered, variant });
|
|
6047
6082
|
}
|
|
@@ -6082,7 +6117,7 @@ var import_core51 = require("@mantine/core");
|
|
|
6082
6117
|
|
|
6083
6118
|
// src/ActionBar.tsx
|
|
6084
6119
|
var import_core50 = require("@mantine/core");
|
|
6085
|
-
var
|
|
6120
|
+
var import_gds_theme26 = require("@sovereignsquad/gds-theme");
|
|
6086
6121
|
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
6087
6122
|
function renderSemanticAction(action, slot, vocabularyPacks, t) {
|
|
6088
6123
|
const { action: actionId, variant, ariaLabel, ...props } = action;
|
|
@@ -6110,7 +6145,7 @@ function ActionBar({
|
|
|
6110
6145
|
gap = "sm",
|
|
6111
6146
|
vocabularyPacks = []
|
|
6112
6147
|
}) {
|
|
6113
|
-
const { t } = (0,
|
|
6148
|
+
const { t } = (0, import_gds_theme26.useGdsTranslation)();
|
|
6114
6149
|
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_core50.Stack, { gap, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_core50.Group, { justify: "space-between", align: "center", gap, wrap: "wrap", children: [
|
|
6115
6150
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_core50.Group, { gap, wrap: "wrap", children: [
|
|
6116
6151
|
secondary.map((action) => renderSemanticAction(action, "secondary", vocabularyPacks, t)),
|
|
@@ -6910,7 +6945,7 @@ function validateGdsAccessibilityEvidence(entries) {
|
|
|
6910
6945
|
}
|
|
6911
6946
|
|
|
6912
6947
|
// src/GdsFormControls.tsx
|
|
6913
|
-
var
|
|
6948
|
+
var import_gds_theme27 = require("@sovereignsquad/gds-theme");
|
|
6914
6949
|
var import_core59 = require("@mantine/core");
|
|
6915
6950
|
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
6916
6951
|
function GdsSegmentedControl({
|
|
@@ -7026,7 +7061,7 @@ function GdsWizardStepper({
|
|
|
7026
7061
|
loading = false,
|
|
7027
7062
|
ariaLabel: ariaLabelProp
|
|
7028
7063
|
}) {
|
|
7029
|
-
const { t } = (0,
|
|
7064
|
+
const { t } = (0, import_gds_theme27.useGdsTranslation)();
|
|
7030
7065
|
const backLabel = backLabelProp ?? t("gds.gdsFormControls.backLabel", "Back");
|
|
7031
7066
|
const saveNextLabel = saveNextLabelProp ?? t("gds.gdsFormControls.saveNextLabel", "Save & Next");
|
|
7032
7067
|
const finishLabel = finishLabelProp ?? t("gds.gdsFormControls.finishLabel", "Finish");
|
|
@@ -7168,7 +7203,7 @@ function PlaceholderPanel({
|
|
|
7168
7203
|
}
|
|
7169
7204
|
|
|
7170
7205
|
// src/SimpleDataTable.tsx
|
|
7171
|
-
var
|
|
7206
|
+
var import_gds_theme28 = require("@sovereignsquad/gds-theme");
|
|
7172
7207
|
var import_core63 = require("@mantine/core");
|
|
7173
7208
|
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
7174
7209
|
function SimpleDataTable({
|
|
@@ -7181,7 +7216,7 @@ function SimpleDataTable({
|
|
|
7181
7216
|
getRowKey,
|
|
7182
7217
|
stateTitleOrder
|
|
7183
7218
|
}) {
|
|
7184
|
-
const { t } = (0,
|
|
7219
|
+
const { t } = (0, import_gds_theme28.useGdsTranslation)();
|
|
7185
7220
|
const emptyTitle = emptyTitleProp ?? t("gds.simpleDataTable.emptyTitle", "No data available");
|
|
7186
7221
|
const emptyDescription = emptyDescriptionProp ?? t("gds.simpleDataTable.emptyDescription", "There is no live data to show yet.");
|
|
7187
7222
|
if (error) {
|
|
@@ -7454,9 +7489,151 @@ function ChartTokenPanel({
|
|
|
7454
7489
|
}
|
|
7455
7490
|
|
|
7456
7491
|
// src/GdsChart.tsx
|
|
7492
|
+
var import_react11 = require("react");
|
|
7493
|
+
var import_core69 = require("@mantine/core");
|
|
7494
|
+
|
|
7495
|
+
// src/chart-primitives.tsx
|
|
7457
7496
|
var import_react10 = require("react");
|
|
7458
7497
|
var import_core68 = require("@mantine/core");
|
|
7459
7498
|
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
7499
|
+
function SemanticChartFrame({ title, summary, children, labelledBy, describedBy }) {
|
|
7500
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_core68.Paper, { withBorder: true, radius: "md", p: "md", role: "img", "aria-labelledby": labelledBy, "aria-describedby": describedBy, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_core68.Stack, { gap: "sm", children: [
|
|
7501
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_core68.Text, { id: labelledBy, fw: 700, children: title }),
|
|
7502
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_core68.Text, { id: describedBy, size: "sm", c: "dimmed", children: summary }),
|
|
7503
|
+
children
|
|
7504
|
+
] }) });
|
|
7505
|
+
}
|
|
7506
|
+
function getMaxValue(data) {
|
|
7507
|
+
return Math.max(1, ...data.map((item) => Math.abs(item.value ?? 0)));
|
|
7508
|
+
}
|
|
7509
|
+
function Bars({ data, tone = "primary" }) {
|
|
7510
|
+
const max = getMaxValue(data);
|
|
7511
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_core68.Stack, { gap: "xs", children: data.map((item) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_core68.Group, { gap: "xs", wrap: "nowrap", children: [
|
|
7512
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_core68.Text, { size: "xs", miw: 96, children: item.label }),
|
|
7513
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_core68.Box, { h: 12, bg: getGdsSeriesColor(tone), style: { width: `${Math.max(4, Math.abs(item.value ?? 0) / max * 100)}%`, borderRadius: "var(--mantine-radius-sm)" } }),
|
|
7514
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_core68.Text, { size: "xs", c: "dimmed", children: item.value ?? "-" })
|
|
7515
|
+
] }, `${item.group ?? "series"}-${item.label}`)) });
|
|
7516
|
+
}
|
|
7517
|
+
var PLOT_TOP = 10;
|
|
7518
|
+
var GRID_LINES = [PLOT_TOP, 40, 70, 100];
|
|
7519
|
+
function plotPoints(data) {
|
|
7520
|
+
const max = getMaxValue(data);
|
|
7521
|
+
return data.map((item, index) => `${index / Math.max(1, data.length - 1) * 100},${100 - Math.abs(item.value ?? 0) / max * (100 - PLOT_TOP)}`).join(" ");
|
|
7522
|
+
}
|
|
7523
|
+
function Gridlines() {
|
|
7524
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("g", { "aria-hidden": true, children: GRID_LINES.map((y) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("line", { className: "gds-chart-grid", x1: "0", x2: "100", y1: y, y2: y, style: { stroke: "var(--gds-chart-grid)" }, strokeWidth: "1", vectorEffect: "non-scaling-stroke" }, y)) });
|
|
7525
|
+
}
|
|
7526
|
+
function AxisLabels({ data }) {
|
|
7527
|
+
if (data.length === 0) return null;
|
|
7528
|
+
const picks = data.length > 2 ? [data[0], data[Math.floor((data.length - 1) / 2)], data[data.length - 1]] : data;
|
|
7529
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_core68.Group, { justify: "space-between", gap: "xs", wrap: "nowrap", "aria-hidden": true, className: "gds-chart-axis", children: picks.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_core68.Text, { size: "xs", className: "gds-chart-axis-label", style: { color: "var(--gds-chart-axis-text)" }, children: item.label }, `${item.label}-${index}`)) });
|
|
7530
|
+
}
|
|
7531
|
+
function PlotSvg({ children }) {
|
|
7532
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_core68.Box, { component: "svg", viewBox: "0 0 100 100", preserveAspectRatio: "none", h: 140, w: "100%", role: "presentation", "aria-hidden": true, style: { display: "block", overflow: "visible" }, children });
|
|
7533
|
+
}
|
|
7534
|
+
function SeriesLine({ points, color }) {
|
|
7535
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("polyline", { className: "gds-chart-line", points, fill: "none", style: { stroke: color }, strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", vectorEffect: "non-scaling-stroke" });
|
|
7536
|
+
}
|
|
7537
|
+
function Line({ data, tone = "primary", axisLabels = false }) {
|
|
7538
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_core68.Stack, { gap: 4, children: [
|
|
7539
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(PlotSvg, { children: [
|
|
7540
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Gridlines, {}),
|
|
7541
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(SeriesLine, { points: plotPoints(data), color: getGdsSeriesColor(tone) })
|
|
7542
|
+
] }),
|
|
7543
|
+
axisLabels ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(AxisLabels, { data }) : null
|
|
7544
|
+
] });
|
|
7545
|
+
}
|
|
7546
|
+
function Area({ data, tone = "primary", axisLabels = false }) {
|
|
7547
|
+
const gradientId = `gds-chart-fill-${(0, import_react10.useId)().replace(/[^\w-]/g, "")}`;
|
|
7548
|
+
const points = plotPoints(data);
|
|
7549
|
+
const color = getGdsSeriesColor(tone);
|
|
7550
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_core68.Stack, { gap: 4, children: [
|
|
7551
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(PlotSvg, { children: [
|
|
7552
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("linearGradient", { id: gradientId, x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
7553
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("stop", { offset: "0%", style: { stopColor: color, stopOpacity: "var(--gds-chart-area-opacity-start)" } }),
|
|
7554
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("stop", { offset: "100%", style: { stopColor: color, stopOpacity: "var(--gds-chart-area-opacity-end)" } })
|
|
7555
|
+
] }) }),
|
|
7556
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Gridlines, {}),
|
|
7557
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("polygon", { className: "gds-chart-area-fill", points: `0,100 ${points} 100,100`, fill: `url(#${gradientId})` }),
|
|
7558
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(SeriesLine, { points, color })
|
|
7559
|
+
] }),
|
|
7560
|
+
axisLabels ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(AxisLabels, { data }) : null
|
|
7561
|
+
] });
|
|
7562
|
+
}
|
|
7563
|
+
function Sparkline({ data, tone = "primary" }) {
|
|
7564
|
+
const max = getMaxValue(data);
|
|
7565
|
+
const points = data.map((item, index) => `${index / Math.max(1, data.length - 1) * 100},${24 - Math.abs(item.value ?? 0) / max * 20}`).join(" ");
|
|
7566
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_core68.Box, { component: "svg", viewBox: "0 0 100 28", h: 48, w: "100%", role: "presentation", "aria-hidden": true, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("polyline", { points, fill: "none", stroke: getGdsSeriesColor(tone), strokeWidth: "4", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
7567
|
+
}
|
|
7568
|
+
function Radar({ data, tone = "primary" }) {
|
|
7569
|
+
const max = getMaxValue(data);
|
|
7570
|
+
const center = 50;
|
|
7571
|
+
const radius = 42;
|
|
7572
|
+
const points = data.map((item, index) => {
|
|
7573
|
+
const angle = Math.PI * 2 / data.length * index - Math.PI / 2;
|
|
7574
|
+
const ratio = Math.abs(item.value ?? 0) / max;
|
|
7575
|
+
return `${center + Math.cos(angle) * radius * ratio},${center + Math.sin(angle) * radius * ratio}`;
|
|
7576
|
+
}).join(" ");
|
|
7577
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_core68.Box, { component: "svg", viewBox: "0 0 100 100", h: 160, w: "100%", role: "presentation", "aria-hidden": true, children: [
|
|
7578
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("circle", { cx: center, cy: center, r: radius, fill: "none", stroke: "var(--gds-border-card, var(--mantine-color-gray-3))", strokeWidth: "1" }),
|
|
7579
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("polygon", { points, fill: getGdsSeriesColor(tone), opacity: "0.2" }),
|
|
7580
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("polyline", { points: `${points} ${points.split(" ")[0]}`, fill: "none", stroke: getGdsSeriesColor(tone), strokeWidth: "2.5", strokeLinejoin: "round" })
|
|
7581
|
+
] });
|
|
7582
|
+
}
|
|
7583
|
+
function Gauge({ data, tone = "primary" }) {
|
|
7584
|
+
const max = getMaxValue(data);
|
|
7585
|
+
const current = Math.max(0, data[0]?.value ?? 0);
|
|
7586
|
+
const width = `${Math.min(100, current / max * 100)}%`;
|
|
7587
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_core68.Stack, { gap: "xs", children: [
|
|
7588
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_core68.Box, { h: 18, bg: "var(--gds-bg-info-tag, var(--mantine-color-gray-1))", style: { borderRadius: "var(--mantine-radius-xl)", overflow: "hidden" }, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_core68.Box, { h: "100%", bg: getGdsSeriesColor(tone), style: { width, borderRadius: "var(--mantine-radius-xl)" } }) }),
|
|
7589
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_core68.Text, { size: "xs", c: "dimmed", children: [
|
|
7590
|
+
data[0]?.label ?? "Current",
|
|
7591
|
+
": ",
|
|
7592
|
+
data[0]?.value ?? "-"
|
|
7593
|
+
] })
|
|
7594
|
+
] });
|
|
7595
|
+
}
|
|
7596
|
+
function Heatmap({ data, tone = "primary" }) {
|
|
7597
|
+
const max = getMaxValue(data);
|
|
7598
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
7599
|
+
import_core68.Box,
|
|
7600
|
+
{
|
|
7601
|
+
style: {
|
|
7602
|
+
display: "grid",
|
|
7603
|
+
gridTemplateColumns: "repeat(auto-fit, minmax(56px, 1fr))",
|
|
7604
|
+
gap: "var(--mantine-spacing-xs)"
|
|
7605
|
+
},
|
|
7606
|
+
children: data.map((item) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
7607
|
+
import_core68.Box,
|
|
7608
|
+
{
|
|
7609
|
+
p: "xs",
|
|
7610
|
+
style: {
|
|
7611
|
+
minHeight: 48,
|
|
7612
|
+
borderRadius: "var(--mantine-radius-sm)",
|
|
7613
|
+
background: getGdsSeriesColor(tone),
|
|
7614
|
+
opacity: Math.max(0.22, Math.abs(item.value ?? 0) / max)
|
|
7615
|
+
},
|
|
7616
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_core68.Text, { size: "xs", c: "var(--gds-text-on-inverse, var(--mantine-color-white))", children: item.label })
|
|
7617
|
+
},
|
|
7618
|
+
`${item.group ?? "row"}-${item.label}`
|
|
7619
|
+
))
|
|
7620
|
+
}
|
|
7621
|
+
);
|
|
7622
|
+
}
|
|
7623
|
+
function semanticRenderer(kind, tone, axisLabels = false) {
|
|
7624
|
+
return ({ title, summary, data, labelledBy, describedBy }) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(SemanticChartFrame, { title, summary, labelledBy, describedBy, children: [
|
|
7625
|
+
kind === "line" ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Line, { data, tone, axisLabels }) : null,
|
|
7626
|
+
kind === "area" ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Area, { data, tone, axisLabels }) : null,
|
|
7627
|
+
kind === "sparkline" ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Sparkline, { data, tone }) : null,
|
|
7628
|
+
kind === "radar" ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Radar, { data, tone }) : null,
|
|
7629
|
+
kind === "gauge" ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Gauge, { data, tone }) : null,
|
|
7630
|
+
kind === "heatmap" ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Heatmap, { data, tone }) : null,
|
|
7631
|
+
kind === "bar" || kind === "stacked-bar" ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Bars, { data, tone }) : null
|
|
7632
|
+
] });
|
|
7633
|
+
}
|
|
7634
|
+
|
|
7635
|
+
// src/GdsChart.tsx
|
|
7636
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
7460
7637
|
var gdsChartTypeRegistry = {
|
|
7461
7638
|
line: { type: "line", label: "Line", family: "cartesian", minDataPoints: 2, maxDataPoints: 500, summaryHint: "Trend over an ordered series." },
|
|
7462
7639
|
area: { type: "area", label: "Area", family: "cartesian", minDataPoints: 2, maxDataPoints: 500, summaryHint: "Filled trend over an ordered series." },
|
|
@@ -7690,34 +7867,45 @@ function validateGdsChartData(type, data, config = {}) {
|
|
|
7690
7867
|
definition
|
|
7691
7868
|
};
|
|
7692
7869
|
}
|
|
7693
|
-
|
|
7694
|
-
|
|
7695
|
-
|
|
7696
|
-
|
|
7697
|
-
|
|
7870
|
+
var DRAWN_CHART_TYPES = {
|
|
7871
|
+
line: "line",
|
|
7872
|
+
area: "area",
|
|
7873
|
+
bar: "bar",
|
|
7874
|
+
"stacked-bar": "stacked-bar",
|
|
7875
|
+
radar: "radar",
|
|
7876
|
+
heatmap: "heatmap"
|
|
7877
|
+
};
|
|
7878
|
+
function DefaultChartRenderer(context) {
|
|
7879
|
+
const { type, title, summary, data, definition, labelledBy, describedBy } = context;
|
|
7880
|
+
const drawn = DRAWN_CHART_TYPES[type];
|
|
7881
|
+
if (drawn) return semanticRenderer(drawn, "primary")(context);
|
|
7882
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Paper, { withBorder: true, radius: "md", p: "md", role: "img", "aria-labelledby": labelledBy, "aria-describedby": describedBy, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Stack, { gap: "sm", children: [
|
|
7883
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Group, { justify: "space-between", children: [
|
|
7884
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Text, { id: labelledBy, fw: 700, children: title }),
|
|
7885
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Badge, { variant: "light", children: type })
|
|
7698
7886
|
] }),
|
|
7699
|
-
/* @__PURE__ */ (0,
|
|
7700
|
-
/* @__PURE__ */ (0,
|
|
7887
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Text, { id: describedBy, size: "sm", c: "dimmed", children: summary }),
|
|
7888
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Text, { size: "xs", c: "dimmed", children: [
|
|
7701
7889
|
"Type lane: ",
|
|
7702
7890
|
type
|
|
7703
7891
|
] }),
|
|
7704
|
-
/* @__PURE__ */ (0,
|
|
7892
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Text, { size: "xs", c: "dimmed", children: [
|
|
7705
7893
|
"Registry family: ",
|
|
7706
7894
|
definition.family
|
|
7707
7895
|
] }),
|
|
7708
|
-
isGdsChartSetAType(type) ? /* @__PURE__ */ (0,
|
|
7896
|
+
isGdsChartSetAType(type) ? /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Text, { size: "xs", c: "dimmed", children: [
|
|
7709
7897
|
"Set A primitive: ",
|
|
7710
7898
|
getSetARendererLabel(type)
|
|
7711
7899
|
] }) : null,
|
|
7712
|
-
isGdsChartSetBType(type) ? /* @__PURE__ */ (0,
|
|
7900
|
+
isGdsChartSetBType(type) ? /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Text, { size: "xs", c: "dimmed", children: [
|
|
7713
7901
|
"Set B primitive: ",
|
|
7714
7902
|
getSetBRendererLabel(type)
|
|
7715
7903
|
] }) : null,
|
|
7716
|
-
isGdsChartSetCType(type) ? /* @__PURE__ */ (0,
|
|
7904
|
+
isGdsChartSetCType(type) ? /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Text, { size: "xs", c: "dimmed", children: [
|
|
7717
7905
|
"Set C primitive: ",
|
|
7718
7906
|
getSetCRendererLabel(type)
|
|
7719
7907
|
] }) : null,
|
|
7720
|
-
/* @__PURE__ */ (0,
|
|
7908
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Text, { size: "xs", c: "dimmed", children: [
|
|
7721
7909
|
"Data points: ",
|
|
7722
7910
|
data.length
|
|
7723
7911
|
] })
|
|
@@ -7734,8 +7922,8 @@ function GdsChart({
|
|
|
7734
7922
|
retryAction,
|
|
7735
7923
|
renderer
|
|
7736
7924
|
}) {
|
|
7737
|
-
const labelledBy = (0,
|
|
7738
|
-
const describedBy = (0,
|
|
7925
|
+
const labelledBy = (0, import_react11.useId)();
|
|
7926
|
+
const describedBy = (0, import_react11.useId)();
|
|
7739
7927
|
const validation = validateGdsChartData(type, data, config);
|
|
7740
7928
|
const resolvedState = state ?? validation.state;
|
|
7741
7929
|
const tableRows = validation.visibleData.map((item) => ({
|
|
@@ -7745,7 +7933,9 @@ function GdsChart({
|
|
|
7745
7933
|
group: item.group ?? "-"
|
|
7746
7934
|
}));
|
|
7747
7935
|
const Renderer = renderer ?? DefaultChartRenderer;
|
|
7748
|
-
|
|
7936
|
+
const hasSecondary = tableRows.some((row) => row.secondaryValue !== "-");
|
|
7937
|
+
const hasGroup = tableRows.some((row) => row.group !== "-");
|
|
7938
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7749
7939
|
ChartTokenPanel,
|
|
7750
7940
|
{
|
|
7751
7941
|
title,
|
|
@@ -7754,19 +7944,19 @@ function GdsChart({
|
|
|
7754
7944
|
state: resolvedState,
|
|
7755
7945
|
retryAction,
|
|
7756
7946
|
legend,
|
|
7757
|
-
tableFallback: /* @__PURE__ */ (0,
|
|
7947
|
+
tableFallback: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7758
7948
|
SimpleDataTable,
|
|
7759
7949
|
{
|
|
7760
7950
|
columns: [
|
|
7761
7951
|
{ key: "label", header: "Label" },
|
|
7762
7952
|
{ key: "value", header: config.tableValueHeader ?? "Value" },
|
|
7763
|
-
{ key: "secondaryValue", header: "Secondary value" },
|
|
7764
|
-
{ key: "group", header: config.groupLabel ?? "Group" }
|
|
7953
|
+
...hasSecondary ? [{ key: "secondaryValue", header: "Secondary value" }] : [],
|
|
7954
|
+
...hasGroup ? [{ key: "group", header: config.groupLabel ?? "Group" }] : []
|
|
7765
7955
|
],
|
|
7766
7956
|
rows: tableRows
|
|
7767
7957
|
}
|
|
7768
7958
|
),
|
|
7769
|
-
children: resolvedState === "ready" || resolvedState === "partial" || resolvedState === "permission-limited" ? /* @__PURE__ */ (0,
|
|
7959
|
+
children: resolvedState === "ready" || resolvedState === "partial" || resolvedState === "permission-limited" ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7770
7960
|
Renderer,
|
|
7771
7961
|
{
|
|
7772
7962
|
type,
|
|
@@ -7784,197 +7974,61 @@ function GdsChart({
|
|
|
7784
7974
|
}
|
|
7785
7975
|
|
|
7786
7976
|
// src/SemanticCharts.tsx
|
|
7787
|
-
var
|
|
7788
|
-
var
|
|
7789
|
-
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
7790
|
-
function SemanticChartFrame({ title, summary, children, labelledBy, describedBy }) {
|
|
7791
|
-
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Paper, { withBorder: true, radius: "md", p: "md", role: "img", "aria-labelledby": labelledBy, "aria-describedby": describedBy, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Stack, { gap: "sm", children: [
|
|
7792
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Text, { id: labelledBy, fw: 700, children: title }),
|
|
7793
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Text, { id: describedBy, size: "sm", c: "dimmed", children: summary }),
|
|
7794
|
-
children
|
|
7795
|
-
] }) });
|
|
7796
|
-
}
|
|
7797
|
-
function getMaxValue(data) {
|
|
7798
|
-
return Math.max(1, ...data.map((item) => Math.abs(item.value ?? 0)));
|
|
7799
|
-
}
|
|
7800
|
-
function Bars({ data, tone = "primary" }) {
|
|
7801
|
-
const max = getMaxValue(data);
|
|
7802
|
-
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Stack, { gap: "xs", children: data.map((item) => /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Group, { gap: "xs", wrap: "nowrap", children: [
|
|
7803
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Text, { size: "xs", miw: 96, children: item.label }),
|
|
7804
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Box, { h: 12, bg: getGdsSeriesColor(tone), style: { width: `${Math.max(4, Math.abs(item.value ?? 0) / max * 100)}%`, borderRadius: "var(--mantine-radius-sm)" } }),
|
|
7805
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Text, { size: "xs", c: "dimmed", children: item.value ?? "-" })
|
|
7806
|
-
] }, `${item.group ?? "series"}-${item.label}`)) });
|
|
7807
|
-
}
|
|
7808
|
-
var PLOT_TOP = 10;
|
|
7809
|
-
var GRID_LINES = [PLOT_TOP, 40, 70, 100];
|
|
7810
|
-
function plotPoints(data) {
|
|
7811
|
-
const max = getMaxValue(data);
|
|
7812
|
-
return data.map((item, index) => `${index / Math.max(1, data.length - 1) * 100},${100 - Math.abs(item.value ?? 0) / max * (100 - PLOT_TOP)}`).join(" ");
|
|
7813
|
-
}
|
|
7814
|
-
function Gridlines() {
|
|
7815
|
-
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("g", { "aria-hidden": true, children: GRID_LINES.map((y) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("line", { className: "gds-chart-grid", x1: "0", x2: "100", y1: y, y2: y, style: { stroke: "var(--gds-chart-grid)" }, strokeWidth: "1", vectorEffect: "non-scaling-stroke" }, y)) });
|
|
7816
|
-
}
|
|
7817
|
-
function AxisLabels({ data }) {
|
|
7818
|
-
if (data.length === 0) return null;
|
|
7819
|
-
const picks = data.length > 2 ? [data[0], data[Math.floor((data.length - 1) / 2)], data[data.length - 1]] : data;
|
|
7820
|
-
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Group, { justify: "space-between", gap: "xs", wrap: "nowrap", "aria-hidden": true, className: "gds-chart-axis", children: picks.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Text, { size: "xs", className: "gds-chart-axis-label", style: { color: "var(--gds-chart-axis-text)" }, children: item.label }, `${item.label}-${index}`)) });
|
|
7821
|
-
}
|
|
7822
|
-
function PlotSvg({ children }) {
|
|
7823
|
-
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Box, { component: "svg", viewBox: "0 0 100 100", preserveAspectRatio: "none", h: 140, w: "100%", role: "presentation", "aria-hidden": true, style: { display: "block", overflow: "visible" }, children });
|
|
7824
|
-
}
|
|
7825
|
-
function SeriesLine({ points, color }) {
|
|
7826
|
-
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("polyline", { className: "gds-chart-line", points, fill: "none", style: { stroke: color }, strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", vectorEffect: "non-scaling-stroke" });
|
|
7827
|
-
}
|
|
7828
|
-
function Line({ data, tone = "primary", axisLabels = false }) {
|
|
7829
|
-
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Stack, { gap: 4, children: [
|
|
7830
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(PlotSvg, { children: [
|
|
7831
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Gridlines, {}),
|
|
7832
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(SeriesLine, { points: plotPoints(data), color: getGdsSeriesColor(tone) })
|
|
7833
|
-
] }),
|
|
7834
|
-
axisLabels ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(AxisLabels, { data }) : null
|
|
7835
|
-
] });
|
|
7836
|
-
}
|
|
7837
|
-
function Area({ data, tone = "primary", axisLabels = false }) {
|
|
7838
|
-
const gradientId = `gds-chart-fill-${(0, import_react11.useId)().replace(/[^\w-]/g, "")}`;
|
|
7839
|
-
const points = plotPoints(data);
|
|
7840
|
-
const color = getGdsSeriesColor(tone);
|
|
7841
|
-
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Stack, { gap: 4, children: [
|
|
7842
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(PlotSvg, { children: [
|
|
7843
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("linearGradient", { id: gradientId, x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
7844
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("stop", { offset: "0%", style: { stopColor: color, stopOpacity: "var(--gds-chart-area-opacity-start)" } }),
|
|
7845
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("stop", { offset: "100%", style: { stopColor: color, stopOpacity: "var(--gds-chart-area-opacity-end)" } })
|
|
7846
|
-
] }) }),
|
|
7847
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Gridlines, {}),
|
|
7848
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("polygon", { className: "gds-chart-area-fill", points: `0,100 ${points} 100,100`, fill: `url(#${gradientId})` }),
|
|
7849
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(SeriesLine, { points, color })
|
|
7850
|
-
] }),
|
|
7851
|
-
axisLabels ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(AxisLabels, { data }) : null
|
|
7852
|
-
] });
|
|
7853
|
-
}
|
|
7854
|
-
function Sparkline({ data, tone = "primary" }) {
|
|
7855
|
-
const max = getMaxValue(data);
|
|
7856
|
-
const points = data.map((item, index) => `${index / Math.max(1, data.length - 1) * 100},${24 - Math.abs(item.value ?? 0) / max * 20}`).join(" ");
|
|
7857
|
-
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Box, { component: "svg", viewBox: "0 0 100 28", h: 48, w: "100%", role: "presentation", "aria-hidden": true, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("polyline", { points, fill: "none", stroke: getGdsSeriesColor(tone), strokeWidth: "4", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
7858
|
-
}
|
|
7859
|
-
function Radar({ data, tone = "primary" }) {
|
|
7860
|
-
const max = getMaxValue(data);
|
|
7861
|
-
const center = 50;
|
|
7862
|
-
const radius = 42;
|
|
7863
|
-
const points = data.map((item, index) => {
|
|
7864
|
-
const angle = Math.PI * 2 / data.length * index - Math.PI / 2;
|
|
7865
|
-
const ratio = Math.abs(item.value ?? 0) / max;
|
|
7866
|
-
return `${center + Math.cos(angle) * radius * ratio},${center + Math.sin(angle) * radius * ratio}`;
|
|
7867
|
-
}).join(" ");
|
|
7868
|
-
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Box, { component: "svg", viewBox: "0 0 100 100", h: 160, w: "100%", role: "presentation", "aria-hidden": true, children: [
|
|
7869
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("circle", { cx: center, cy: center, r: radius, fill: "none", stroke: "var(--gds-border-card, var(--mantine-color-gray-3))", strokeWidth: "1" }),
|
|
7870
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("polygon", { points, fill: getGdsSeriesColor(tone), opacity: "0.2" }),
|
|
7871
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("polyline", { points: `${points} ${points.split(" ")[0]}`, fill: "none", stroke: getGdsSeriesColor(tone), strokeWidth: "2.5", strokeLinejoin: "round" })
|
|
7872
|
-
] });
|
|
7873
|
-
}
|
|
7874
|
-
function Gauge({ data, tone = "primary" }) {
|
|
7875
|
-
const max = getMaxValue(data);
|
|
7876
|
-
const current = Math.max(0, data[0]?.value ?? 0);
|
|
7877
|
-
const width = `${Math.min(100, current / max * 100)}%`;
|
|
7878
|
-
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Stack, { gap: "xs", children: [
|
|
7879
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Box, { h: 18, bg: "var(--gds-bg-info-tag, var(--mantine-color-gray-1))", style: { borderRadius: "var(--mantine-radius-xl)", overflow: "hidden" }, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Box, { h: "100%", bg: getGdsSeriesColor(tone), style: { width, borderRadius: "var(--mantine-radius-xl)" } }) }),
|
|
7880
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_core69.Text, { size: "xs", c: "dimmed", children: [
|
|
7881
|
-
data[0]?.label ?? "Current",
|
|
7882
|
-
": ",
|
|
7883
|
-
data[0]?.value ?? "-"
|
|
7884
|
-
] })
|
|
7885
|
-
] });
|
|
7886
|
-
}
|
|
7887
|
-
function Heatmap({ data, tone = "primary" }) {
|
|
7888
|
-
const max = getMaxValue(data);
|
|
7889
|
-
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7890
|
-
import_core69.Box,
|
|
7891
|
-
{
|
|
7892
|
-
style: {
|
|
7893
|
-
display: "grid",
|
|
7894
|
-
gridTemplateColumns: "repeat(auto-fit, minmax(56px, 1fr))",
|
|
7895
|
-
gap: "var(--mantine-spacing-xs)"
|
|
7896
|
-
},
|
|
7897
|
-
children: data.map((item) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
7898
|
-
import_core69.Box,
|
|
7899
|
-
{
|
|
7900
|
-
p: "xs",
|
|
7901
|
-
style: {
|
|
7902
|
-
minHeight: 48,
|
|
7903
|
-
borderRadius: "var(--mantine-radius-sm)",
|
|
7904
|
-
background: getGdsSeriesColor(tone),
|
|
7905
|
-
opacity: Math.max(0.22, Math.abs(item.value ?? 0) / max)
|
|
7906
|
-
},
|
|
7907
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_core69.Text, { size: "xs", c: "var(--gds-text-on-inverse, var(--mantine-color-white))", children: item.label })
|
|
7908
|
-
},
|
|
7909
|
-
`${item.group ?? "row"}-${item.label}`
|
|
7910
|
-
))
|
|
7911
|
-
}
|
|
7912
|
-
);
|
|
7913
|
-
}
|
|
7914
|
-
function semanticRenderer(kind, tone, axisLabels = false) {
|
|
7915
|
-
return ({ title, summary, data, labelledBy, describedBy }) => /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(SemanticChartFrame, { title, summary, labelledBy, describedBy, children: [
|
|
7916
|
-
kind === "line" ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Line, { data, tone, axisLabels }) : null,
|
|
7917
|
-
kind === "area" ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Area, { data, tone, axisLabels }) : null,
|
|
7918
|
-
kind === "sparkline" ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Sparkline, { data, tone }) : null,
|
|
7919
|
-
kind === "radar" ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Radar, { data, tone }) : null,
|
|
7920
|
-
kind === "gauge" ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Gauge, { data, tone }) : null,
|
|
7921
|
-
kind === "heatmap" ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Heatmap, { data, tone }) : null,
|
|
7922
|
-
kind === "bar" || kind === "stacked-bar" ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Bars, { data, tone }) : null
|
|
7923
|
-
] });
|
|
7924
|
-
}
|
|
7977
|
+
var import_core70 = require("@mantine/core");
|
|
7978
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
7925
7979
|
function GdsBarChart({ seriesTone = "primary", axisLabels, ...props }) {
|
|
7926
|
-
return /* @__PURE__ */ (0,
|
|
7980
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "bar", legend: [{ label: "Series", token: seriesTone }], renderer: semanticRenderer("bar", seriesTone, axisLabels) });
|
|
7927
7981
|
}
|
|
7928
7982
|
function GdsLineChart({ seriesTone = "primary", axisLabels, ...props }) {
|
|
7929
|
-
return /* @__PURE__ */ (0,
|
|
7983
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "line", legend: [{ label: "Series", token: seriesTone }], renderer: semanticRenderer("line", seriesTone, axisLabels) });
|
|
7930
7984
|
}
|
|
7931
7985
|
function GdsStackedBarChart({ seriesTone = "primary", axisLabels, ...props }) {
|
|
7932
|
-
return /* @__PURE__ */ (0,
|
|
7986
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "stacked-bar", legend: [{ label: "Series", token: seriesTone }], renderer: semanticRenderer("stacked-bar", seriesTone, axisLabels) });
|
|
7933
7987
|
}
|
|
7934
7988
|
function GdsAreaChart({ seriesTone = "primary", axisLabels, ...props }) {
|
|
7935
|
-
return /* @__PURE__ */ (0,
|
|
7989
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "area", legend: [{ label: "Series", token: seriesTone }], renderer: semanticRenderer("area", seriesTone, axisLabels) });
|
|
7936
7990
|
}
|
|
7937
7991
|
function GdsSparkline({ seriesTone = "primary", axisLabels, config, ...props }) {
|
|
7938
|
-
return /* @__PURE__ */ (0,
|
|
7992
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "line", config: { decimateLargeSeries: true, ...config }, legend: [{ label: "Series", token: seriesTone }], renderer: semanticRenderer("sparkline", seriesTone, axisLabels) });
|
|
7939
7993
|
}
|
|
7940
7994
|
function GdsLongitudinalChart({ seriesTone = "primary", axisLabels, config, ...props }) {
|
|
7941
|
-
return /* @__PURE__ */ (0,
|
|
7995
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "line", config: { decimateLargeSeries: true, ...config }, legend: [{ label: "Series", token: seriesTone }], renderer: semanticRenderer("line", seriesTone, axisLabels) });
|
|
7942
7996
|
}
|
|
7943
7997
|
function GdsBenchmarkBarChart({ seriesTone = "primary", axisLabels, ...props }) {
|
|
7944
|
-
return /* @__PURE__ */ (0,
|
|
7998
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "bar", legend: [{ label: "Benchmark", token: seriesTone }], renderer: semanticRenderer("bar", seriesTone, axisLabels) });
|
|
7945
7999
|
}
|
|
7946
8000
|
function GdsRadarChart({ seriesTone = "primary", axisLabels, ...props }) {
|
|
7947
|
-
return /* @__PURE__ */ (0,
|
|
8001
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "radar", legend: [{ label: "Profile", token: seriesTone }], renderer: semanticRenderer("radar", seriesTone, axisLabels) });
|
|
7948
8002
|
}
|
|
7949
8003
|
function GdsMaturityRadarChart({ seriesTone = "accent", axisLabels, ...props }) {
|
|
7950
|
-
return /* @__PURE__ */ (0,
|
|
8004
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "radar", legend: [{ label: "Maturity", token: seriesTone }], renderer: semanticRenderer("radar", seriesTone, axisLabels) });
|
|
7951
8005
|
}
|
|
7952
8006
|
function GdsGaugeChart({ seriesTone = "primary", axisLabels, ...props }) {
|
|
7953
|
-
return /* @__PURE__ */ (0,
|
|
8007
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "bar", legend: [{ label: "Gauge", token: seriesTone }], renderer: semanticRenderer("gauge", seriesTone, axisLabels) });
|
|
7954
8008
|
}
|
|
7955
8009
|
function GdsCalendarHeatmapChart({ seriesTone = "accent", axisLabels, ...props }) {
|
|
7956
|
-
return /* @__PURE__ */ (0,
|
|
8010
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "heatmap", legend: [{ label: "Intensity", token: seriesTone }], renderer: semanticRenderer("heatmap", seriesTone, axisLabels) });
|
|
7957
8011
|
}
|
|
7958
8012
|
function GdsHistogramChart({ seriesTone = "neutral", axisLabels, ...props }) {
|
|
7959
|
-
return /* @__PURE__ */ (0,
|
|
8013
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "bar", legend: [{ label: "Distribution", token: seriesTone }], renderer: semanticRenderer("bar", seriesTone, axisLabels) });
|
|
7960
8014
|
}
|
|
7961
8015
|
function GdsDivergingBarChart({ seriesTone = "accent", axisLabels, config, ...props }) {
|
|
7962
|
-
return /* @__PURE__ */ (0,
|
|
8016
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "bar", config: { allowNegative: true, ...config }, legend: [{ label: "Diverging series", token: seriesTone }], renderer: semanticRenderer("bar", seriesTone, axisLabels) });
|
|
7963
8017
|
}
|
|
7964
8018
|
function GdsSlopeChart({ seriesTone = "primary", axisLabels, config, ...props }) {
|
|
7965
|
-
return /* @__PURE__ */ (0,
|
|
8019
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "line", config: { decimateLargeSeries: true, ...config }, legend: [{ label: "Slope", token: seriesTone }], renderer: semanticRenderer("line", seriesTone, axisLabels) });
|
|
7966
8020
|
}
|
|
7967
8021
|
function GdsSymmetryChart({ seriesTone = "info", axisLabels, config, ...props }) {
|
|
7968
|
-
return /* @__PURE__ */ (0,
|
|
8022
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(GdsChart, { ...props, type: "scatter", config: { requireSecondaryValue: false, ...config }, legend: [{ label: "Symmetry", token: seriesTone }], renderer: semanticRenderer("line", seriesTone, axisLabels) });
|
|
7969
8023
|
}
|
|
7970
|
-
var GdsChartTooltip =
|
|
7971
|
-
var GdsChartLegend =
|
|
7972
|
-
var GdsChartAxis =
|
|
8024
|
+
var GdsChartTooltip = import_core70.Paper;
|
|
8025
|
+
var GdsChartLegend = import_core70.Group;
|
|
8026
|
+
var GdsChartAxis = import_core70.Box;
|
|
7973
8027
|
var GdsResponsiveChartFrame = SemanticChartFrame;
|
|
7974
8028
|
|
|
7975
8029
|
// src/LayoutBlocks.tsx
|
|
7976
|
-
var
|
|
7977
|
-
var
|
|
8030
|
+
var import_core71 = require("@mantine/core");
|
|
8031
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
7978
8032
|
var gdsLayoutTemplates = [
|
|
7979
8033
|
{
|
|
7980
8034
|
id: "landing-feed",
|
|
@@ -8104,24 +8158,24 @@ function hasUnsafeString(value) {
|
|
|
8104
8158
|
return false;
|
|
8105
8159
|
}
|
|
8106
8160
|
function renderHeroBlock(block) {
|
|
8107
|
-
return /* @__PURE__ */ (0,
|
|
8161
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(SectionPanel, { title: asString(block.props.title, "Hero"), description: asString(block.props.description, "Hero block"), children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_core71.Text, { children: asString(block.props.body, "Composable hero content") }) });
|
|
8108
8162
|
}
|
|
8109
8163
|
function renderStatsBlock(block) {
|
|
8110
8164
|
const items = asRecordArray(block.props.items);
|
|
8111
8165
|
if (!items.length) {
|
|
8112
|
-
return /* @__PURE__ */ (0,
|
|
8166
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(StateBlock, { variant: "empty", title: "No stats configured", description: "Add stat items to this layout block.", compact: true });
|
|
8113
8167
|
}
|
|
8114
|
-
return /* @__PURE__ */ (0,
|
|
8115
|
-
/* @__PURE__ */ (0,
|
|
8116
|
-
/* @__PURE__ */ (0,
|
|
8168
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_core71.SimpleGrid, { cols: { base: 1, md: 3 }, children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_core71.Card, { withBorder: true, children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_core71.Stack, { gap: 2, children: [
|
|
8169
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_core71.Text, { size: "sm", c: "dimmed", children: asString(item.label, "Metric") }),
|
|
8170
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_core71.Title, { order: 4, children: asString(item.value, "-") })
|
|
8117
8171
|
] }) }, `${block.id}-${asString(item.label, "Metric")}`)) });
|
|
8118
8172
|
}
|
|
8119
8173
|
function renderCardsGridBlock(block) {
|
|
8120
8174
|
const items = asRecordArray(block.props.items);
|
|
8121
8175
|
if (!items.length) {
|
|
8122
|
-
return /* @__PURE__ */ (0,
|
|
8176
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(StateBlock, { variant: "empty", title: "No cards configured", description: "Add card items to this layout block.", compact: true });
|
|
8123
8177
|
}
|
|
8124
|
-
return /* @__PURE__ */ (0,
|
|
8178
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_core71.SimpleGrid, { cols: { base: 1, md: 2 }, children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
8125
8179
|
ListingCard,
|
|
8126
8180
|
{
|
|
8127
8181
|
title: asString(item.title, "Card"),
|
|
@@ -8134,7 +8188,7 @@ function renderCardsGridBlock(block) {
|
|
|
8134
8188
|
function renderTableBlock(block) {
|
|
8135
8189
|
const rows = asRecordArray(block.props.rows);
|
|
8136
8190
|
const columns = asRecordArray(block.props.columns).map((column) => ({ key: asString(column.key, "name"), header: asString(column.header, "Name") }));
|
|
8137
|
-
return /* @__PURE__ */ (0,
|
|
8191
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
8138
8192
|
SimpleDataTable,
|
|
8139
8193
|
{
|
|
8140
8194
|
columns: columns.length ? columns : [{ key: "name", header: "Name" }],
|
|
@@ -8143,7 +8197,7 @@ function renderTableBlock(block) {
|
|
|
8143
8197
|
);
|
|
8144
8198
|
}
|
|
8145
8199
|
function renderChartBlock(block) {
|
|
8146
|
-
return /* @__PURE__ */ (0,
|
|
8200
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
8147
8201
|
GdsChart,
|
|
8148
8202
|
{
|
|
8149
8203
|
type: block.props.chartType ?? "bar",
|
|
@@ -8159,17 +8213,17 @@ function renderChartBlock(block) {
|
|
|
8159
8213
|
);
|
|
8160
8214
|
}
|
|
8161
8215
|
function renderFilterBlock(block) {
|
|
8162
|
-
return /* @__PURE__ */ (0,
|
|
8216
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
8163
8217
|
DataToolbar,
|
|
8164
8218
|
{
|
|
8165
|
-
searchSlot: /* @__PURE__ */ (0,
|
|
8166
|
-
filterSlot: /* @__PURE__ */ (0,
|
|
8167
|
-
sortSlot: /* @__PURE__ */ (0,
|
|
8219
|
+
searchSlot: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_core71.Text, { size: "sm", children: asString(block.props.searchLabel, "Search is configured by the consuming app.") }),
|
|
8220
|
+
filterSlot: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_core71.Text, { size: "sm", children: asString(block.props.filterLabel, "Filters remain governed by DataToolbar.") }),
|
|
8221
|
+
sortSlot: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_core71.Text, { size: "sm", children: asString(block.props.sortLabel, "Sort slot") })
|
|
8168
8222
|
}
|
|
8169
8223
|
);
|
|
8170
8224
|
}
|
|
8171
8225
|
function renderCtaBlock() {
|
|
8172
|
-
return /* @__PURE__ */ (0,
|
|
8226
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
8173
8227
|
ActionBar,
|
|
8174
8228
|
{
|
|
8175
8229
|
primary: { action: "save" },
|
|
@@ -8179,7 +8233,7 @@ function renderCtaBlock() {
|
|
|
8179
8233
|
);
|
|
8180
8234
|
}
|
|
8181
8235
|
function renderFooterBlock(block) {
|
|
8182
|
-
return /* @__PURE__ */ (0,
|
|
8236
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_core71.Text, { size: "sm", c: "dimmed", children: asString(block.props.text, "Footer block") });
|
|
8183
8237
|
}
|
|
8184
8238
|
var defaultRenderers = {
|
|
8185
8239
|
hero: renderHeroBlock,
|
|
@@ -8232,7 +8286,7 @@ function validateGdsLayout(schema) {
|
|
|
8232
8286
|
function renderBlock(block) {
|
|
8233
8287
|
const renderer = blockRegistry.get(block.type);
|
|
8234
8288
|
if (!renderer) {
|
|
8235
|
-
return /* @__PURE__ */ (0,
|
|
8289
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_core71.Alert, { color: "red", children: [
|
|
8236
8290
|
"Unsupported block type: ",
|
|
8237
8291
|
block.type
|
|
8238
8292
|
] });
|
|
@@ -8242,14 +8296,14 @@ function renderBlock(block) {
|
|
|
8242
8296
|
function renderGdsLayout(schema) {
|
|
8243
8297
|
const issues = validateGdsLayout(schema);
|
|
8244
8298
|
if (issues.length && !schema.blocks.length) {
|
|
8245
|
-
return /* @__PURE__ */ (0,
|
|
8299
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(StateBlock, { variant: "error", title: "Invalid layout schema", description: issues.map((issue) => issue.message).join(" "), compact: true });
|
|
8246
8300
|
}
|
|
8247
|
-
return /* @__PURE__ */ (0,
|
|
8248
|
-
issues.length ? /* @__PURE__ */ (0,
|
|
8301
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_core71.Stack, { gap: "lg", children: [
|
|
8302
|
+
issues.length ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_core71.Alert, { color: "red", title: "Layout diagnostics", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_core71.Stack, { gap: 4, children: issues.map((issue, index) => /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_core71.Text, { size: "sm", children: [
|
|
8249
8303
|
issue.blockId ? `${issue.blockId}: ` : null,
|
|
8250
8304
|
issue.message
|
|
8251
8305
|
] }, `${issue.blockId ?? "schema"}-${index}`)) }) }) : null,
|
|
8252
|
-
schema.blocks.map((block) => /* @__PURE__ */ (0,
|
|
8306
|
+
schema.blocks.map((block) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { children: renderBlock(block) }, block.id))
|
|
8253
8307
|
] });
|
|
8254
8308
|
}
|
|
8255
8309
|
function renderGdsLayoutWithDiagnostics(schema) {
|
|
@@ -8260,8 +8314,8 @@ function renderGdsLayoutWithDiagnostics(schema) {
|
|
|
8260
8314
|
}
|
|
8261
8315
|
|
|
8262
8316
|
// src/ReportingSection.tsx
|
|
8263
|
-
var
|
|
8264
|
-
var
|
|
8317
|
+
var import_core72 = require("@mantine/core");
|
|
8318
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
8265
8319
|
function ReportingSection({
|
|
8266
8320
|
title,
|
|
8267
8321
|
description,
|
|
@@ -8277,26 +8331,26 @@ function ReportingSection({
|
|
|
8277
8331
|
}) {
|
|
8278
8332
|
let stateBlock = null;
|
|
8279
8333
|
if (state === "loading") {
|
|
8280
|
-
stateBlock = /* @__PURE__ */ (0,
|
|
8334
|
+
stateBlock = /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(StateBlock, { variant: "loading", title: "Loading report", description: stateMessage ?? "The reporting surface is synchronizing.", compact: true });
|
|
8281
8335
|
} else if (state === "empty") {
|
|
8282
|
-
stateBlock = /* @__PURE__ */ (0,
|
|
8336
|
+
stateBlock = /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(StateBlock, { variant: "empty", title: "No report data", description: stateMessage ?? "No records match this reporting scope yet.", compact: true });
|
|
8283
8337
|
} else if (state === "error") {
|
|
8284
|
-
stateBlock = /* @__PURE__ */ (0,
|
|
8338
|
+
stateBlock = /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(StateBlock, { variant: "error", title: "Unable to load report", description: stateMessage ?? "The report could not be prepared.", compact: true, action: retryAction });
|
|
8285
8339
|
} else if (state === "below-threshold") {
|
|
8286
|
-
stateBlock = /* @__PURE__ */ (0,
|
|
8340
|
+
stateBlock = /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(StateBlock, { variant: "not-enough-data", title: "Not enough data", description: stateMessage ?? "This report is hidden until the threshold is met.", compact: true });
|
|
8287
8341
|
} else if (state === "permission-limited") {
|
|
8288
|
-
stateBlock = /* @__PURE__ */ (0,
|
|
8342
|
+
stateBlock = /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(StateBlock, { variant: "permission", title: "Permission-limited report", description: stateMessage ?? "Some evidence is hidden by access rules.", compact: true, action: retryAction });
|
|
8289
8343
|
}
|
|
8290
|
-
return /* @__PURE__ */ (0,
|
|
8291
|
-
/* @__PURE__ */ (0,
|
|
8292
|
-
/* @__PURE__ */ (0,
|
|
8293
|
-
/* @__PURE__ */ (0,
|
|
8294
|
-
description ? /* @__PURE__ */ (0,
|
|
8344
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_core72.Paper, { withBorder: true, radius: "xl", p: "lg", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_core72.Stack, { gap: "lg", children: [
|
|
8345
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_core72.Group, { justify: "space-between", align: "flex-start", gap: "md", children: [
|
|
8346
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_core72.Stack, { gap: 4, children: [
|
|
8347
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_core72.Title, { order: 3, children: title }),
|
|
8348
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_core72.Text, { size: "sm", c: "dimmed", children: description }) : null
|
|
8295
8349
|
] }),
|
|
8296
8350
|
action
|
|
8297
8351
|
] }),
|
|
8298
8352
|
periodControl,
|
|
8299
|
-
(state === "partial" || state === "stale" || state === "filtered") && stateMessage ? /* @__PURE__ */ (0,
|
|
8353
|
+
(state === "partial" || state === "stale" || state === "filtered") && stateMessage ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(StateBlock, { variant: "info", title: state === "partial" ? "Partial report" : state === "stale" ? "Stale report" : "Filtered report", description: stateMessage, compact: true }) : null,
|
|
8300
8354
|
stateBlock,
|
|
8301
8355
|
metrics,
|
|
8302
8356
|
chart,
|
|
@@ -8307,9 +8361,9 @@ function ReportingSection({
|
|
|
8307
8361
|
|
|
8308
8362
|
// src/Notifications.tsx
|
|
8309
8363
|
var import_react12 = require("react");
|
|
8310
|
-
var
|
|
8311
|
-
var
|
|
8312
|
-
var
|
|
8364
|
+
var import_gds_theme29 = require("@sovereignsquad/gds-theme");
|
|
8365
|
+
var import_core73 = require("@mantine/core");
|
|
8366
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
8313
8367
|
var notificationColorMap = {
|
|
8314
8368
|
success: "teal",
|
|
8315
8369
|
error: "red",
|
|
@@ -8377,13 +8431,13 @@ function InlineAlert({
|
|
|
8377
8431
|
action,
|
|
8378
8432
|
live = true
|
|
8379
8433
|
}) {
|
|
8380
|
-
const { t } = (0,
|
|
8434
|
+
const { t } = (0, import_gds_theme29.useGdsTranslation)();
|
|
8381
8435
|
const titleId = (0, import_react12.useId)();
|
|
8382
8436
|
const livePolicy = getGdsNotificationLivePolicy({ severity });
|
|
8383
8437
|
const statusText = status && status !== "shown" ? statusLabel(status, t) : null;
|
|
8384
8438
|
const tone = inlineAlertTone[severity];
|
|
8385
|
-
return /* @__PURE__ */ (0,
|
|
8386
|
-
|
|
8439
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
8440
|
+
import_core73.Paper,
|
|
8387
8441
|
{
|
|
8388
8442
|
withBorder: true,
|
|
8389
8443
|
radius: "md",
|
|
@@ -8394,12 +8448,12 @@ function InlineAlert({
|
|
|
8394
8448
|
"aria-labelledby": titleId,
|
|
8395
8449
|
"data-gds-inline-alert": severity,
|
|
8396
8450
|
style: { background: tone.bg, color: tone.fg, ["--paper-border-color"]: "var(--gds-border-subtle)" },
|
|
8397
|
-
children: /* @__PURE__ */ (0,
|
|
8398
|
-
/* @__PURE__ */ (0,
|
|
8399
|
-
/* @__PURE__ */ (0,
|
|
8400
|
-
/* @__PURE__ */ (0,
|
|
8401
|
-
statusText ? /* @__PURE__ */ (0,
|
|
8402
|
-
message ? /* @__PURE__ */ (0,
|
|
8451
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_core73.Group, { gap: "sm", wrap: "nowrap", align: "flex-start", children: [
|
|
8452
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(GdsIcons.Info, { size: "1rem", "aria-hidden": "true", style: { flex: "none", marginBlockStart: "var(--gds-space-2xs)" } }),
|
|
8453
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_core73.Stack, { gap: "xs", style: { minWidth: 0, flex: 1 }, children: [
|
|
8454
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Text, { id: titleId, size: "sm", fw: 700, c: "inherit", children: title }),
|
|
8455
|
+
statusText ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Badge, { variant: "light", color: notificationColorMap[severity], w: "fit-content", children: statusText }) : null,
|
|
8456
|
+
message ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Text, { size: "sm", c: "inherit", children: message }) : null,
|
|
8403
8457
|
action
|
|
8404
8458
|
] })
|
|
8405
8459
|
] })
|
|
@@ -8414,11 +8468,11 @@ function BannerNotice({
|
|
|
8414
8468
|
action,
|
|
8415
8469
|
variant = "panel"
|
|
8416
8470
|
}) {
|
|
8417
|
-
const { t } = (0,
|
|
8471
|
+
const { t } = (0, import_gds_theme29.useGdsTranslation)();
|
|
8418
8472
|
const livePolicy = getGdsNotificationLivePolicy({ severity });
|
|
8419
8473
|
if (variant === "compact") {
|
|
8420
|
-
return /* @__PURE__ */ (0,
|
|
8421
|
-
|
|
8474
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Paper, { withBorder: true, radius: "lg", p: "xs", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
8475
|
+
import_core73.Group,
|
|
8422
8476
|
{
|
|
8423
8477
|
justify: "center",
|
|
8424
8478
|
align: "center",
|
|
@@ -8428,14 +8482,14 @@ function BannerNotice({
|
|
|
8428
8482
|
"aria-live": livePolicy === "off" ? void 0 : livePolicy,
|
|
8429
8483
|
"aria-atomic": "true",
|
|
8430
8484
|
children: [
|
|
8431
|
-
/* @__PURE__ */ (0,
|
|
8485
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Text, { size: "sm", fw: 500, c: notificationColorMap[severity], ta: "center", children: message }),
|
|
8432
8486
|
action
|
|
8433
8487
|
]
|
|
8434
8488
|
}
|
|
8435
8489
|
) });
|
|
8436
8490
|
}
|
|
8437
|
-
return /* @__PURE__ */ (0,
|
|
8438
|
-
|
|
8491
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
8492
|
+
import_core73.Paper,
|
|
8439
8493
|
{
|
|
8440
8494
|
withBorder: true,
|
|
8441
8495
|
radius: "lg",
|
|
@@ -8443,16 +8497,16 @@ function BannerNotice({
|
|
|
8443
8497
|
role: severity === "error" ? "alert" : "status",
|
|
8444
8498
|
"aria-live": livePolicy === "off" ? void 0 : livePolicy,
|
|
8445
8499
|
"aria-atomic": "true",
|
|
8446
|
-
children: /* @__PURE__ */ (0,
|
|
8447
|
-
/* @__PURE__ */ (0,
|
|
8448
|
-
/* @__PURE__ */ (0,
|
|
8449
|
-
eyebrow ? /* @__PURE__ */ (0,
|
|
8450
|
-
/* @__PURE__ */ (0,
|
|
8500
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_core73.Stack, { gap: "xs", children: [
|
|
8501
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_core73.Group, { justify: "space-between", align: "center", children: [
|
|
8502
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_core73.Group, { gap: "xs", children: [
|
|
8503
|
+
eyebrow ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Badge, { variant: "light", children: eyebrow }) : null,
|
|
8504
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Badge, { variant: "light", color: notificationColorMap[severity], children: severityLabel(severity, t) })
|
|
8451
8505
|
] }),
|
|
8452
8506
|
action
|
|
8453
8507
|
] }),
|
|
8454
|
-
/* @__PURE__ */ (0,
|
|
8455
|
-
message ? /* @__PURE__ */ (0,
|
|
8508
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Title, { order: 4, children: title }),
|
|
8509
|
+
message ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Text, { size: "sm", c: "dimmed", children: message }) : null
|
|
8456
8510
|
] })
|
|
8457
8511
|
}
|
|
8458
8512
|
);
|
|
@@ -8467,16 +8521,16 @@ function NotificationCenterView({
|
|
|
8467
8521
|
emptyMessage: emptyMessageProp,
|
|
8468
8522
|
live = true
|
|
8469
8523
|
}) {
|
|
8470
|
-
const { t } = (0,
|
|
8524
|
+
const { t } = (0, import_gds_theme29.useGdsTranslation)();
|
|
8471
8525
|
const title = titleProp ?? t("gds.notifications.title", "Notifications");
|
|
8472
8526
|
const emptyMessage = emptyMessageProp ?? t("gds.notifications.emptyMessage", "No active notifications.");
|
|
8473
8527
|
const visibleNotifications = notifications.filter((item) => item.persistence !== "announcement-only" && !item.announcementOnly);
|
|
8474
|
-
return /* @__PURE__ */ (0,
|
|
8475
|
-
/* @__PURE__ */ (0,
|
|
8476
|
-
/* @__PURE__ */ (0,
|
|
8477
|
-
/* @__PURE__ */ (0,
|
|
8528
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Paper, { withBorder: true, radius: "lg", p: "md", role: "region", "aria-label": typeof title === "string" ? title : "Notifications", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_core73.Stack, { gap: "md", children: [
|
|
8529
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_core73.Group, { justify: "space-between", align: "center", children: [
|
|
8530
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Title, { order: 4, children: title }),
|
|
8531
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Button, { size: "xs", variant: "subtle", onClick: onClear, disabled: visibleNotifications.length === 0 || !onClear, children: t("gds.notifications.clearAll", "Clear all") })
|
|
8478
8532
|
] }),
|
|
8479
|
-
visibleNotifications.length === 0 ? /* @__PURE__ */ (0,
|
|
8533
|
+
visibleNotifications.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Text, { size: "sm", c: "dimmed", children: emptyMessage }) : /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Stack, { gap: "sm", children: visibleNotifications.map((item) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
8480
8534
|
InlineAlert,
|
|
8481
8535
|
{
|
|
8482
8536
|
live,
|
|
@@ -8484,9 +8538,9 @@ function NotificationCenterView({
|
|
|
8484
8538
|
status: item.status,
|
|
8485
8539
|
title: item.title,
|
|
8486
8540
|
message: item.message,
|
|
8487
|
-
action: /* @__PURE__ */ (0,
|
|
8488
|
-
item.actions?.map((action) => /* @__PURE__ */ (0,
|
|
8489
|
-
|
|
8541
|
+
action: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_core73.Group, { gap: "xs", children: [
|
|
8542
|
+
item.actions?.map((action) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
8543
|
+
import_core73.Button,
|
|
8490
8544
|
{
|
|
8491
8545
|
size: "xs",
|
|
8492
8546
|
variant: "default",
|
|
@@ -8496,8 +8550,8 @@ function NotificationCenterView({
|
|
|
8496
8550
|
},
|
|
8497
8551
|
action.id
|
|
8498
8552
|
)),
|
|
8499
|
-
item.retry ? /* @__PURE__ */ (0,
|
|
8500
|
-
|
|
8553
|
+
item.retry ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
8554
|
+
import_core73.Button,
|
|
8501
8555
|
{
|
|
8502
8556
|
size: "xs",
|
|
8503
8557
|
variant: "default",
|
|
@@ -8506,7 +8560,7 @@ function NotificationCenterView({
|
|
|
8506
8560
|
children: item.status === "retrying" ? t("gds.notifications.status.retrying", "Retrying") : item.retry.label ?? t("gds.notifications.retry", "Retry")
|
|
8507
8561
|
}
|
|
8508
8562
|
) : null,
|
|
8509
|
-
/* @__PURE__ */ (0,
|
|
8563
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_core73.Button, { size: "xs", variant: "subtle", onClick: () => onDismiss?.(item.id), disabled: !onDismiss, children: t("gds.notifications.dismiss", "Dismiss") })
|
|
8510
8564
|
] })
|
|
8511
8565
|
},
|
|
8512
8566
|
item.id
|
|
@@ -8515,9 +8569,9 @@ function NotificationCenterView({
|
|
|
8515
8569
|
}
|
|
8516
8570
|
|
|
8517
8571
|
// src/GdsNotificationBell.tsx
|
|
8518
|
-
var
|
|
8519
|
-
var
|
|
8520
|
-
var
|
|
8572
|
+
var import_core74 = require("@mantine/core");
|
|
8573
|
+
var import_gds_theme30 = require("@sovereignsquad/gds-theme");
|
|
8574
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
8521
8575
|
var dotStyle = {
|
|
8522
8576
|
position: "absolute",
|
|
8523
8577
|
top: "0.2em",
|
|
@@ -8536,12 +8590,12 @@ function GdsNotificationBell({
|
|
|
8536
8590
|
unreadLabel,
|
|
8537
8591
|
disabled
|
|
8538
8592
|
}) {
|
|
8539
|
-
const { t } = (0,
|
|
8593
|
+
const { t } = (0, import_gds_theme30.useGdsTranslation)();
|
|
8540
8594
|
const resolvedLabel = label ?? t("gds.notificationBell.label", "Notifications");
|
|
8541
8595
|
const resolvedUnreadLabel = unreadLabel ?? t("gds.notificationBell.unreadLabel", "Notifications (unread)");
|
|
8542
8596
|
const size = "var(--gds-control-height-md)";
|
|
8543
|
-
return /* @__PURE__ */ (0,
|
|
8544
|
-
|
|
8597
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
|
|
8598
|
+
import_core74.ActionIcon,
|
|
8545
8599
|
{
|
|
8546
8600
|
variant: "subtle",
|
|
8547
8601
|
radius: "xl",
|
|
@@ -8557,16 +8611,16 @@ function GdsNotificationBell({
|
|
|
8557
8611
|
color: "var(--gds-text-primary)"
|
|
8558
8612
|
},
|
|
8559
8613
|
children: [
|
|
8560
|
-
/* @__PURE__ */ (0,
|
|
8561
|
-
unread ? /* @__PURE__ */ (0,
|
|
8614
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(GdsIcon, { icon: "Notifications", size: "sm" }),
|
|
8615
|
+
unread ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { "aria-hidden": "true", "data-gds-notification-bell-dot": "", style: dotStyle, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(GdsBadgeShapeCircle, { size: "100%", stroke: 0, fill: "currentColor" }) }) : null
|
|
8562
8616
|
]
|
|
8563
8617
|
}
|
|
8564
8618
|
);
|
|
8565
8619
|
}
|
|
8566
8620
|
|
|
8567
8621
|
// src/CreatorTheme.tsx
|
|
8568
|
-
var
|
|
8569
|
-
var
|
|
8622
|
+
var import_core75 = require("@mantine/core");
|
|
8623
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
8570
8624
|
var defaultBlockedProperties = [
|
|
8571
8625
|
"position",
|
|
8572
8626
|
"z-index",
|
|
@@ -8654,9 +8708,9 @@ function validateCreatorCss(css, policy = {}) {
|
|
|
8654
8708
|
}
|
|
8655
8709
|
function CreatorThemeDiagnostics({ issues }) {
|
|
8656
8710
|
if (!issues.length) {
|
|
8657
|
-
return /* @__PURE__ */ (0,
|
|
8711
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_core75.Alert, { color: "teal", title: "Creator theme valid", children: "No blocking creator theme diagnostics." });
|
|
8658
8712
|
}
|
|
8659
|
-
return /* @__PURE__ */ (0,
|
|
8713
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_core75.Stack, { gap: "xs", children: issues.map((issue, index) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_core75.Alert, { color: issue.severity === "error" ? "red" : "yellow", title: issue.code, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_core75.Text, { size: "sm", children: issue.message }) }, `${issue.code}-${index}`)) });
|
|
8660
8714
|
}
|
|
8661
8715
|
function CreatorThemeBoundary({
|
|
8662
8716
|
css,
|
|
@@ -8674,9 +8728,9 @@ function CreatorThemeBoundary({
|
|
|
8674
8728
|
});
|
|
8675
8729
|
onDiagnostics?.(issues);
|
|
8676
8730
|
const blocking = issues.some((issue) => issue.severity === "error");
|
|
8677
|
-
return /* @__PURE__ */ (0,
|
|
8678
|
-
!blocking && css ? /* @__PURE__ */ (0,
|
|
8679
|
-
blocking ? /* @__PURE__ */ (0,
|
|
8731
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { "data-gds-creator-theme": scopeId, children: [
|
|
8732
|
+
!blocking && css ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("style", { children: css }) : null,
|
|
8733
|
+
blocking ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(CreatorThemeDiagnostics, { issues }) : null,
|
|
8680
8734
|
children
|
|
8681
8735
|
] });
|
|
8682
8736
|
}
|
|
@@ -9039,13 +9093,13 @@ function validateGdsTaskPatterns(patterns = taskPatterns) {
|
|
|
9039
9093
|
}
|
|
9040
9094
|
|
|
9041
9095
|
// src/GdsPageTemplates.tsx
|
|
9042
|
-
var
|
|
9043
|
-
var
|
|
9096
|
+
var import_core77 = require("@mantine/core");
|
|
9097
|
+
var import_gds_theme32 = require("@sovereignsquad/gds-theme");
|
|
9044
9098
|
|
|
9045
9099
|
// src/GdsPageTemplateFrame.tsx
|
|
9046
|
-
var
|
|
9047
|
-
var
|
|
9048
|
-
var
|
|
9100
|
+
var import_core76 = require("@mantine/core");
|
|
9101
|
+
var import_gds_theme31 = require("@sovereignsquad/gds-theme");
|
|
9102
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
9049
9103
|
function stateToAsyncState(state) {
|
|
9050
9104
|
if (state === "ready" || state === "saving") return "success";
|
|
9051
9105
|
if (state === "retrying") return "refreshing";
|
|
@@ -9097,7 +9151,7 @@ function actionColor(action) {
|
|
|
9097
9151
|
}
|
|
9098
9152
|
function actionIsBusy(action) {
|
|
9099
9153
|
if (action.pending !== void 0 && action.loading === void 0) {
|
|
9100
|
-
(0,
|
|
9154
|
+
(0, import_gds_theme31.gdsDevWarnOnce)(
|
|
9101
9155
|
"GdsPageTemplateAction:pending-deprecated",
|
|
9102
9156
|
"GdsPageTemplateAction.pending is deprecated; rename it to `loading` for consistency with every other GDS action API. `pending` is still honored for now and will be removed in a future major version."
|
|
9103
9157
|
);
|
|
@@ -9106,10 +9160,10 @@ function actionIsBusy(action) {
|
|
|
9106
9160
|
}
|
|
9107
9161
|
function renderActions(actions = []) {
|
|
9108
9162
|
if (!actions.length) return null;
|
|
9109
|
-
return /* @__PURE__ */ (0,
|
|
9163
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_core76.Group, { gap: "sm", wrap: "wrap", children: actions.map((action) => {
|
|
9110
9164
|
const busy = actionIsBusy(action);
|
|
9111
|
-
return /* @__PURE__ */ (0,
|
|
9112
|
-
|
|
9165
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
9166
|
+
import_core76.Button,
|
|
9113
9167
|
{
|
|
9114
9168
|
variant: actionVariant(action),
|
|
9115
9169
|
color: actionColor(action),
|
|
@@ -9135,21 +9189,21 @@ function PageTemplateFrame({
|
|
|
9135
9189
|
landmark = "main",
|
|
9136
9190
|
children
|
|
9137
9191
|
}) {
|
|
9138
|
-
const { t } = (0,
|
|
9139
|
-
return /* @__PURE__ */ (0,
|
|
9140
|
-
/* @__PURE__ */ (0,
|
|
9192
|
+
const { t } = (0, import_gds_theme31.useGdsTranslation)();
|
|
9193
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(GdsBox, { component: landmark === "main" ? "main" : "div", padding: { base: "md", md: "xl" }, "data-gds-page-template": id, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(GdsStack, { gap: "lg", children: [
|
|
9194
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
9141
9195
|
PageHeader,
|
|
9142
9196
|
{
|
|
9143
9197
|
title,
|
|
9144
9198
|
description,
|
|
9145
9199
|
eyebrow,
|
|
9146
|
-
actions: /* @__PURE__ */ (0,
|
|
9147
|
-
/* @__PURE__ */ (0,
|
|
9200
|
+
actions: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_core76.Group, { gap: "sm", wrap: "wrap", children: [
|
|
9201
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(StatusBadge, { status: statusVariantForState(state), children: statusLabel2 ?? stateTitle(state, t) }),
|
|
9148
9202
|
renderActions(actions)
|
|
9149
9203
|
] })
|
|
9150
9204
|
}
|
|
9151
9205
|
),
|
|
9152
|
-
metadata ? /* @__PURE__ */ (0,
|
|
9206
|
+
metadata ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_core76.Card, { withBorder: true, radius: "lg", padding: "md", children: metadata }) : null,
|
|
9153
9207
|
children
|
|
9154
9208
|
] }) });
|
|
9155
9209
|
}
|
|
@@ -9159,10 +9213,10 @@ function TemplateStateGate({
|
|
|
9159
9213
|
onRetry,
|
|
9160
9214
|
retryLabel: retryLabelProp
|
|
9161
9215
|
}) {
|
|
9162
|
-
const { t } = (0,
|
|
9216
|
+
const { t } = (0, import_gds_theme31.useGdsTranslation)();
|
|
9163
9217
|
const retryLabel = retryLabelProp ?? t("gds.gdsPageTemplates.retryLabel", "Retry");
|
|
9164
|
-
const retryAction = onRetry ? /* @__PURE__ */ (0,
|
|
9165
|
-
return /* @__PURE__ */ (0,
|
|
9218
|
+
const retryAction = onRetry ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_core76.Button, { variant: "light", onClick: onRetry, children: retryLabel }) : void 0;
|
|
9219
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
9166
9220
|
AsyncSurface,
|
|
9167
9221
|
{
|
|
9168
9222
|
state: stateToAsyncState(state),
|
|
@@ -9183,7 +9237,7 @@ function TemplateStateGate({
|
|
|
9183
9237
|
}
|
|
9184
9238
|
|
|
9185
9239
|
// src/GdsPageTemplates.tsx
|
|
9186
|
-
var
|
|
9240
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
9187
9241
|
var allTemplateStates = [
|
|
9188
9242
|
"loading",
|
|
9189
9243
|
"empty",
|
|
@@ -9482,9 +9536,9 @@ function createGdsPageTemplateEvent(templateId, state, name2 = "state_visible",
|
|
|
9482
9536
|
}
|
|
9483
9537
|
function renderSections(t, sections = []) {
|
|
9484
9538
|
if (!sections.length) {
|
|
9485
|
-
return /* @__PURE__ */ (0,
|
|
9539
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(StateBlock, { variant: "empty", title: t("gds.gdsPageTemplates.noSections.title", "Nothing to show yet"), description: t("gds.gdsPageTemplates.noSections.description", "Sections appear here once they are available."), compact: true, titleOrder: 2 });
|
|
9486
9540
|
}
|
|
9487
|
-
return /* @__PURE__ */ (0,
|
|
9541
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(GdsGrid, { columns: { base: 1, md: 2 }, gap: "md", children: sections.map((section) => /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(SectionPanel, { titleOrder: 2, title: section.title, description: section.description, children: section.content }, section.id)) });
|
|
9488
9542
|
}
|
|
9489
9543
|
function GdsAdminDashboardTemplate({
|
|
9490
9544
|
state = "ready",
|
|
@@ -9494,15 +9548,15 @@ function GdsAdminDashboardTemplate({
|
|
|
9494
9548
|
retryLabel,
|
|
9495
9549
|
...props
|
|
9496
9550
|
}) {
|
|
9497
|
-
const { t } = (0,
|
|
9498
|
-
return /* @__PURE__ */ (0,
|
|
9551
|
+
const { t } = (0, import_gds_theme32.useGdsTranslation)();
|
|
9552
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(PageTemplateFrame, { id: "admin-dashboard", state, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
9499
9553
|
TemplateStateGate,
|
|
9500
9554
|
{
|
|
9501
9555
|
state,
|
|
9502
9556
|
onRetry,
|
|
9503
9557
|
retryLabel,
|
|
9504
|
-
successContent: /* @__PURE__ */ (0,
|
|
9505
|
-
/* @__PURE__ */ (0,
|
|
9558
|
+
successContent: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(GdsStack, { gap: "lg", children: [
|
|
9559
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.SimpleGrid, { cols: { base: 1, sm: 2, lg: 4 }, spacing: "md", children: metrics.length ? metrics.map((metric) => /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(MetricCard, { ...metric }, String(metric.label))) : /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(StateBlock, { variant: "empty", title: t("gds.gdsPageTemplates.noMetrics.title", "No metrics yet"), description: t("gds.gdsPageTemplates.noMetrics.description", "Metrics appear here once they are available."), compact: true, titleOrder: 2 }) }),
|
|
9506
9560
|
renderSections(t, sections)
|
|
9507
9561
|
] })
|
|
9508
9562
|
}
|
|
@@ -9515,14 +9569,14 @@ function GdsSettingsTemplate({
|
|
|
9515
9569
|
retryLabel,
|
|
9516
9570
|
...props
|
|
9517
9571
|
}) {
|
|
9518
|
-
const { t } = (0,
|
|
9519
|
-
return /* @__PURE__ */ (0,
|
|
9572
|
+
const { t } = (0, import_gds_theme32.useGdsTranslation)();
|
|
9573
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(PageTemplateFrame, { id: "settings", state, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
9520
9574
|
TemplateStateGate,
|
|
9521
9575
|
{
|
|
9522
9576
|
state,
|
|
9523
9577
|
onRetry,
|
|
9524
9578
|
retryLabel,
|
|
9525
|
-
successContent: groups.length ? /* @__PURE__ */ (0,
|
|
9579
|
+
successContent: groups.length ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(GdsStack, { gap: "md", children: groups.map((group) => /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(SectionPanel, { titleOrder: 2, title: group.title, description: group.description, children: group.fields }, group.id)) }) : /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(StateBlock, { variant: "empty", title: t("gds.gdsPageTemplates.noSettings.title", "No settings available"), description: t("gds.gdsPageTemplates.noSettings.description", "There are no settings to change here."), compact: true, titleOrder: 2 })
|
|
9526
9580
|
}
|
|
9527
9581
|
) });
|
|
9528
9582
|
}
|
|
@@ -9536,16 +9590,16 @@ function GdsResourceManagerTemplate({
|
|
|
9536
9590
|
retryLabel,
|
|
9537
9591
|
...props
|
|
9538
9592
|
}) {
|
|
9539
|
-
const { t } = (0,
|
|
9540
|
-
return /* @__PURE__ */ (0,
|
|
9593
|
+
const { t } = (0, import_gds_theme32.useGdsTranslation)();
|
|
9594
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(PageTemplateFrame, { id: "resource-manager", state, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
9541
9595
|
TemplateStateGate,
|
|
9542
9596
|
{
|
|
9543
9597
|
state,
|
|
9544
9598
|
onRetry,
|
|
9545
9599
|
retryLabel,
|
|
9546
|
-
successContent: /* @__PURE__ */ (0,
|
|
9547
|
-
/* @__PURE__ */ (0,
|
|
9548
|
-
detail ? /* @__PURE__ */ (0,
|
|
9600
|
+
successContent: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(GdsGrid, { columns: { base: 1, lg: detail ? 2 : 1 }, gap: "lg", children: [
|
|
9601
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(SectionPanel, { titleOrder: 2, title: t("gds.gdsPageTemplates.resources.title", "Resources"), children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(SimpleDataTable, { rows, columns, getRowKey, emptyTitle: t("gds.gdsPageTemplates.resources.emptyTitle", "No resources yet"), emptyDescription: t("gds.gdsPageTemplates.resources.emptyDescription", "Create or import a resource to get started."), stateTitleOrder: 3 }) }),
|
|
9602
|
+
detail ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(SectionPanel, { titleOrder: 2, title: t("gds.gdsPageTemplates.resources.selectedTitle", "Selected resource"), children: detail }) : null
|
|
9549
9603
|
] })
|
|
9550
9604
|
}
|
|
9551
9605
|
) });
|
|
@@ -9559,17 +9613,17 @@ function GdsCrudEditorTemplate({
|
|
|
9559
9613
|
retryLabel,
|
|
9560
9614
|
...props
|
|
9561
9615
|
}) {
|
|
9562
|
-
const { t } = (0,
|
|
9563
|
-
return /* @__PURE__ */ (0,
|
|
9616
|
+
const { t } = (0, import_gds_theme32.useGdsTranslation)();
|
|
9617
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(PageTemplateFrame, { id: "crud-editor", state, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
9564
9618
|
TemplateStateGate,
|
|
9565
9619
|
{
|
|
9566
9620
|
state,
|
|
9567
9621
|
onRetry,
|
|
9568
9622
|
retryLabel,
|
|
9569
|
-
successContent: /* @__PURE__ */ (0,
|
|
9570
|
-
summary ? /* @__PURE__ */ (0,
|
|
9571
|
-
/* @__PURE__ */ (0,
|
|
9572
|
-
destructiveZone ? /* @__PURE__ */ (0,
|
|
9623
|
+
successContent: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(GdsStack, { gap: "lg", children: [
|
|
9624
|
+
summary ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(SectionPanel, { titleOrder: 2, title: t("gds.gdsPageTemplates.crud.summaryTitle", "Summary"), children: summary }) : null,
|
|
9625
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(SectionPanel, { titleOrder: 2, title: t("gds.gdsPageTemplates.crud.editorTitle", "Editor"), children: form }),
|
|
9626
|
+
destructiveZone ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(SectionPanel, { titleOrder: 2, title: t("gds.gdsPageTemplates.crud.destructiveTitle", "Destructive actions"), description: t("gds.gdsPageTemplates.crud.destructiveDescription", "These changes cannot be undone."), children: destructiveZone }) : null
|
|
9573
9627
|
] })
|
|
9574
9628
|
}
|
|
9575
9629
|
) });
|
|
@@ -9588,21 +9642,21 @@ function GdsAnalyticsTemplate({
|
|
|
9588
9642
|
retryLabel,
|
|
9589
9643
|
...props
|
|
9590
9644
|
}) {
|
|
9591
|
-
const { t } = (0,
|
|
9592
|
-
return /* @__PURE__ */ (0,
|
|
9645
|
+
const { t } = (0, import_gds_theme32.useGdsTranslation)();
|
|
9646
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(PageTemplateFrame, { id: "analytics", state, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
9593
9647
|
TemplateStateGate,
|
|
9594
9648
|
{
|
|
9595
9649
|
state,
|
|
9596
9650
|
onRetry,
|
|
9597
9651
|
retryLabel,
|
|
9598
|
-
successContent: /* @__PURE__ */ (0,
|
|
9599
|
-
/* @__PURE__ */ (0,
|
|
9600
|
-
/* @__PURE__ */ (0,
|
|
9652
|
+
successContent: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(GdsStack, { gap: "lg", children: [
|
|
9653
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.SimpleGrid, { cols: { base: 1, sm: 2, lg: 4 }, spacing: "md", children: metrics.map((metric) => /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(MetricCard, { ...metric }, String(metric.label))) }),
|
|
9654
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(SectionPanel, { titleOrder: 2, title: t("gds.gdsPageTemplates.analytics.chartsTitle", "Charts"), children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(GdsStack, { gap: "md", children: [
|
|
9601
9655
|
periodControl,
|
|
9602
|
-
charts?.length ? /* @__PURE__ */ (0,
|
|
9656
|
+
charts?.length ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.SimpleGrid, { cols: { base: 1, lg: charts.length > 1 ? 2 : 1 }, spacing: "md", children: charts.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Box, { children: item }, index)) }) : chart ?? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(StateBlock, { variant: "not-enough-data", title: t("gds.gdsPageTemplates.analytics.noChartTitle", "No chart available"), description: t("gds.gdsPageTemplates.analytics.noChartDescription", "The data is in the table below."), compact: true, titleOrder: 3 })
|
|
9603
9657
|
] }) }),
|
|
9604
|
-
insight ? /* @__PURE__ */ (0,
|
|
9605
|
-
table ?? /* @__PURE__ */ (0,
|
|
9658
|
+
insight ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Card, { withBorder: true, radius: "lg", padding: "md", children: insight }) : null,
|
|
9659
|
+
table ?? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(SimpleDataTable, { rows, columns, emptyTitle: t("gds.gdsPageTemplates.analytics.emptyTitle", "No data for this period"), emptyDescription: t("gds.gdsPageTemplates.analytics.emptyDescription", "Choose another period or check back later."), stateTitleOrder: 3 })
|
|
9606
9660
|
] })
|
|
9607
9661
|
}
|
|
9608
9662
|
) });
|
|
@@ -9618,23 +9672,23 @@ function GdsPublicEventTemplate({
|
|
|
9618
9672
|
retryLabel,
|
|
9619
9673
|
...props
|
|
9620
9674
|
}) {
|
|
9621
|
-
const { t } = (0,
|
|
9622
|
-
return /* @__PURE__ */ (0,
|
|
9675
|
+
const { t } = (0, import_gds_theme32.useGdsTranslation)();
|
|
9676
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(PageTemplateFrame, { id: "public-event", state, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
9623
9677
|
TemplateStateGate,
|
|
9624
9678
|
{
|
|
9625
9679
|
state,
|
|
9626
9680
|
onRetry,
|
|
9627
9681
|
retryLabel,
|
|
9628
|
-
successContent: /* @__PURE__ */ (0,
|
|
9629
|
-
media ? /* @__PURE__ */ (0,
|
|
9630
|
-
/* @__PURE__ */ (0,
|
|
9631
|
-
/* @__PURE__ */ (0,
|
|
9632
|
-
/* @__PURE__ */ (0,
|
|
9633
|
-
/* @__PURE__ */ (0,
|
|
9634
|
-
location ? /* @__PURE__ */ (0,
|
|
9682
|
+
successContent: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(GdsGrid, { columns: { base: 1, md: media ? 2 : 1 }, gap: "lg", children: [
|
|
9683
|
+
media ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Card, { withBorder: true, radius: "lg", padding: "md", children: media }) : /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(StateBlock, { variant: "empty", title: t("gds.gdsPageTemplates.event.noMediaTitle", "No image"), description: t("gds.gdsPageTemplates.event.noMediaDescription", "This event has no image."), compact: true, titleOrder: 2 }),
|
|
9684
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Card, { withBorder: true, radius: "lg", padding: "lg", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_core77.Stack, { gap: "md", children: [
|
|
9685
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_core77.Group, { gap: "sm", wrap: "wrap", children: [
|
|
9686
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Badge, { variant: "light", children: t("gds.gdsPageTemplates.event.badge", "Event") }),
|
|
9687
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Text, { fw: 700, children: when }),
|
|
9688
|
+
location ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Text, { c: "dimmed", children: location }) : null
|
|
9635
9689
|
] }),
|
|
9636
9690
|
details,
|
|
9637
|
-
registration ? /* @__PURE__ */ (0,
|
|
9691
|
+
registration ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Divider, {}) : null,
|
|
9638
9692
|
registration
|
|
9639
9693
|
] }) })
|
|
9640
9694
|
] })
|
|
@@ -9652,18 +9706,18 @@ function GdsErrorPageTemplate({
|
|
|
9652
9706
|
actions,
|
|
9653
9707
|
...props
|
|
9654
9708
|
}) {
|
|
9655
|
-
const { t } = (0,
|
|
9709
|
+
const { t } = (0, import_gds_theme32.useGdsTranslation)();
|
|
9656
9710
|
const retryLabel = retryLabelProp ?? t("gds.gdsPageTemplates.retryLabel", "Retry");
|
|
9657
9711
|
const resolvedTitle = title || stateTitle(state, t);
|
|
9658
9712
|
const resolvedDescription = description || stateDescription(state, t);
|
|
9659
|
-
return /* @__PURE__ */ (0,
|
|
9713
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(PageTemplateFrame, { id: "error-page", state, title: resolvedTitle, description: resolvedDescription, actions, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
9660
9714
|
StateBlock,
|
|
9661
9715
|
{
|
|
9662
9716
|
variant: state === "permission-denied" ? "permission" : "error",
|
|
9663
9717
|
title: code ? `${code}: ${resolvedTitle}` : resolvedTitle,
|
|
9664
9718
|
description: resolvedDescription,
|
|
9665
9719
|
titleOrder: 2,
|
|
9666
|
-
action: recovery ?? (onRetry ? /* @__PURE__ */ (0,
|
|
9720
|
+
action: recovery ?? (onRetry ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Button, { variant: "light", onClick: onRetry, children: retryLabel }) : void 0)
|
|
9667
9721
|
}
|
|
9668
9722
|
) });
|
|
9669
9723
|
}
|
|
@@ -9675,30 +9729,30 @@ function GdsEmptyStateTemplate({
|
|
|
9675
9729
|
actions,
|
|
9676
9730
|
...props
|
|
9677
9731
|
}) {
|
|
9678
|
-
return /* @__PURE__ */ (0,
|
|
9732
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(PageTemplateFrame, { id: "empty-state-page", state, title, description, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Card, { withBorder: true, radius: "lg", padding: "xl", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_core77.Stack, { align: "center", gap: "lg", ta: "center", children: [
|
|
9679
9733
|
illustration,
|
|
9680
|
-
/* @__PURE__ */ (0,
|
|
9681
|
-
description ? /* @__PURE__ */ (0,
|
|
9734
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Title, { order: 2, children: title }),
|
|
9735
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Text, { c: "dimmed", maw: 560, children: description }) : null,
|
|
9682
9736
|
renderActions(actions)
|
|
9683
9737
|
] }) }) });
|
|
9684
9738
|
}
|
|
9685
9739
|
function GdsPageTemplateCatalog() {
|
|
9686
|
-
return /* @__PURE__ */ (0,
|
|
9687
|
-
/* @__PURE__ */ (0,
|
|
9688
|
-
/* @__PURE__ */ (0,
|
|
9689
|
-
/* @__PURE__ */ (0,
|
|
9740
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(GdsStack, { gap: "md", children: templateConfigs.map((template) => /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Card, { withBorder: true, radius: "lg", padding: "lg", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_core77.Stack, { gap: "sm", children: [
|
|
9741
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_core77.Group, { justify: "space-between", gap: "sm", wrap: "wrap", children: [
|
|
9742
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Title, { order: 3, children: template.title }),
|
|
9743
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Badge, { variant: "light", children: template.id })
|
|
9690
9744
|
] }),
|
|
9691
|
-
/* @__PURE__ */ (0,
|
|
9692
|
-
/* @__PURE__ */ (0,
|
|
9693
|
-
/* @__PURE__ */ (0,
|
|
9745
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_core77.Text, { c: "dimmed", children: template.description }),
|
|
9746
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_core77.List, { size: "sm", children: [
|
|
9747
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_core77.List.Item, { children: [
|
|
9694
9748
|
"Contracts: ",
|
|
9695
9749
|
template.componentContracts.join(", ")
|
|
9696
9750
|
] }),
|
|
9697
|
-
/* @__PURE__ */ (0,
|
|
9751
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_core77.List.Item, { children: [
|
|
9698
9752
|
"States: ",
|
|
9699
9753
|
template.requiredStates.join(", ")
|
|
9700
9754
|
] }),
|
|
9701
|
-
/* @__PURE__ */ (0,
|
|
9755
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_core77.List.Item, { children: [
|
|
9702
9756
|
"Telemetry: ",
|
|
9703
9757
|
template.telemetryEvents.join(", ")
|
|
9704
9758
|
] })
|
|
@@ -9708,8 +9762,8 @@ function GdsPageTemplateCatalog() {
|
|
|
9708
9762
|
|
|
9709
9763
|
// src/GdsI18nRuntime.tsx
|
|
9710
9764
|
var import_react13 = require("react");
|
|
9711
|
-
var
|
|
9712
|
-
var
|
|
9765
|
+
var import_gds_theme33 = require("@sovereignsquad/gds-theme");
|
|
9766
|
+
var import_core78 = require("@mantine/core");
|
|
9713
9767
|
|
|
9714
9768
|
// src/locales/ar.ts
|
|
9715
9769
|
var ar = {
|
|
@@ -9930,7 +9984,7 @@ var ar = {
|
|
|
9930
9984
|
"gds.discoveryShell.mobileNavigationLabel": "\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u062A\u0646\u0642\u0644",
|
|
9931
9985
|
"gds.discoveryShell.desktopNavigationLabel": "\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0634\u0631\u064A\u0637 \u0627\u0644\u062C\u0627\u0646\u0628\u064A",
|
|
9932
9986
|
"gds.navigation.openMobile": "\u0627\u0641\u062A\u062D \u0627\u0644\u062A\u0646\u0642\u0644 \u0641\u064A \u0627\u0644\u0645\u0633\u062A\u0646\u062F\u0627\u062A",
|
|
9933
|
-
"gds.editorialCard.ctaLabel": "\
|
|
9987
|
+
"gds.editorialCard.ctaLabel": "\u0627\u0633\u062A\u0643\u0634\u0641",
|
|
9934
9988
|
"gds.featureBand.emptyTitle": "\u0644\u0627 \u062A\u0648\u062C\u062F \u062A\u0641\u0627\u0635\u064A\u0644 \u062F\u0627\u0639\u0645\u0629 \u0645\u062A\u0627\u062D\u0629",
|
|
9935
9989
|
"gds.featureBand.emptyDescription": "\u0623\u0636\u0641 \u0639\u0646\u0627\u0635\u0631 \u0646\u0637\u0627\u0642 \u0627\u0644\u0645\u064A\u0632\u0627\u062A \u0627\u0644\u0645\u0634\u062A\u0631\u0643\u0629 \u0639\u0646\u062F\u0645\u0627 \u064A\u062D\u062A\u0627\u062C \u0647\u0630\u0627 \u0627\u0644\u0633\u0637\u062D \u0627\u0644\u0639\u0627\u0645 \u0625\u0644\u0649 \u0627\u0644\u062B\u0642\u0629 \u0623\u0648 \u0627\u0644\u062E\u062F\u0645\u0629 \u0623\u0648 \u0633\u064A\u0627\u0642 \u0627\u0644\u0645\u0648\u0642\u0639.",
|
|
9936
9990
|
"gds.featureBand.sectionLabel": "\u0627\u0644\u0645\u064A\u0632\u0627\u062A \u0627\u0644\u062F\u0627\u0639\u0645\u0629",
|
|
@@ -9998,8 +10052,6 @@ var ar = {
|
|
|
9998
10052
|
"gds.notificationBell.unreadLabel": "\u0625\u0634\u0639\u0627\u0631\u0627\u062A (\u063A\u064A\u0631 \u0645\u0642\u0631\u0648\u0621\u0629)",
|
|
9999
10053
|
"gds.compareButton.add": "\u0645\u0642\u0627\u0631\u0646\u0629",
|
|
10000
10054
|
"gds.compareButton.added": "\u0623\u064F\u0636\u064A\u0641 \u0644\u0644\u0645\u0642\u0627\u0631\u0646\u0629",
|
|
10001
|
-
"gds.detailFacts.ageRange": "\u0627\u0644\u0641\u0626\u0629 \u0627\u0644\u0639\u0645\u0631\u064A\u0629",
|
|
10002
|
-
"gds.detailFacts.activityType": "\u0646\u0648\u0639 \u0627\u0644\u0646\u0634\u0627\u0637",
|
|
10003
10055
|
"gds.detailFacts.format": "\u0627\u0644\u0635\u064A\u063A\u0629",
|
|
10004
10056
|
"gds.detailFacts.location": "\u0627\u0644\u0645\u0648\u0642\u0639",
|
|
10005
10057
|
"gds.detailFacts.setting": "\u062F\u0627\u062E\u0644\u064A/\u062E\u0627\u0631\u062C\u064A",
|
|
@@ -10056,7 +10108,7 @@ var ar = {
|
|
|
10056
10108
|
"gds.treeView.loadError": "\u062A\u0639\u0630\u0631 \u062A\u062D\u0645\u064A\u0644 \u0647\u0630\u0647 \u0627\u0644\u0639\u0646\u0627\u0635\u0631.",
|
|
10057
10109
|
"gds.treeView.retry": "\u0623\u0639\u062F \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",
|
|
10058
10110
|
"gds.dataView.toggleLabel": "\u062A\u064E\u062E\u0637\u0650\u064A\u0637",
|
|
10059
|
-
"gds.dataView.table": "\
|
|
10111
|
+
"gds.dataView.table": "\u062C\u062F\u0648\u0644",
|
|
10060
10112
|
"gds.dataView.grid": "\u0634\u0628\u0643\u0629",
|
|
10061
10113
|
"gds.messageThread.you": "\u0623\u0646\u062A",
|
|
10062
10114
|
"gds.threadList.errorTitle": "\u0644\u0627 \u064A\u0645\u0643\u0646 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0627\u062A",
|
|
@@ -10135,7 +10187,34 @@ var ar = {
|
|
|
10135
10187
|
"gds.notifications.status.failed": "\u0641\u0634\u0644",
|
|
10136
10188
|
"gds.notifications.status.succeeded": "\u0646\u062C\u062D\u062A",
|
|
10137
10189
|
"gds.notifications.clearAll": "\u0645\u0633\u062D \u0627\u0644\u0643\u0644",
|
|
10138
|
-
"gds.toast.regionLabel": "\u0627\u0644\u0625\u062E\u0637\u0627\u0631\u0627\u062A \u0627\u0644\u0623\u062E\u064A\u0631\u0629"
|
|
10190
|
+
"gds.toast.regionLabel": "\u0627\u0644\u0625\u062E\u0637\u0627\u0631\u0627\u062A \u0627\u0644\u0623\u062E\u064A\u0631\u0629",
|
|
10191
|
+
"gds.detailFacts.audience": "\u062C\u0645\u0647\u0648\u0631",
|
|
10192
|
+
"gds.detailFacts.category": "\u0641\u0626\u0629",
|
|
10193
|
+
"gds.docsCodeBlock.copied": "\u0643\u062A\u0644\u0629 \u0627\u0644\u062A\u0639\u0644\u064A\u0645\u0627\u062A \u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0629 \u0627\u0644\u0645\u0646\u0633\u0648\u062E\u0629",
|
|
10194
|
+
"gds.docsCodeBlock.copy": "\u0646\u0633\u062E \u0643\u062A\u0644\u0629 \u0627\u0644\u062A\u0639\u0644\u064A\u0645\u0627\u062A \u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0629",
|
|
10195
|
+
"gds.docsCodeDisclosure.show": "\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0631\u0645\u0632",
|
|
10196
|
+
"gds.docsCodeDisclosure.loading": "\u062C\u0627\u0631\u064D \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0631\u0645\u0632\u2026",
|
|
10197
|
+
"gds.docsCodeDisclosure.error": "\u0644\u0627 \u064A\u0645\u0643\u0646 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0631\u0645\u0632. \u0623\u063A\u0644\u0642 \u0648\u0623\u0639\u062F \u0641\u062A\u062D\u0647 \u0644\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",
|
|
10198
|
+
"gds.docsCodeBlock.region": "\u0627\u0644\u0643\u0648\u062F",
|
|
10199
|
+
"gds.tableScroll.region": "\u062C\u062F\u0648\u0644",
|
|
10200
|
+
"gds.styleProfile.default": "\u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A \u0627\u0644\u0645\u062D\u062F\u062F \u0645\u0633\u0628\u0642\u064B\u0627",
|
|
10201
|
+
"gds.styleProfile.minimal": "\u0627\u0644\u062D\u062F \u0627\u0644\u0623\u062F\u0646\u0649",
|
|
10202
|
+
"gds.styleProfile.soft": "\u0646\u0627\u0639\u0645",
|
|
10203
|
+
"gds.styleProfile.structured": "\u0645\u0646\u0638\u0645",
|
|
10204
|
+
"gds.themeExplorer.styleProfile": "\u0645\u0644\u0641 \u062A\u0639\u0631\u064A\u0641 \u0627\u0644\u0646\u0645\u0637",
|
|
10205
|
+
"gds.pending.send": "\u062C\u0627\u0631\u064D \u0627\u0644\u0625\u0631\u0633\u0627\u0644\u2026",
|
|
10206
|
+
"gds.pending.save": "\u062C\u0627\u0631\u064D \u0627\u0644\u062D\u0641\u0638\u2026",
|
|
10207
|
+
"gds.pending.copy": "\u062C\u0627\u0631\u064D \u0627\u0644\u0646\u0633\u062E\u2026",
|
|
10208
|
+
"gds.pending.delete": "\u062C\u0627\u0631\u064D \u0627\u0644\u062D\u0630\u0641\u2026",
|
|
10209
|
+
"gds.pending.add": "\u062C\u0627\u0631\u064D \u0627\u0644\u0625\u0636\u0627\u0641\u0629\u2026",
|
|
10210
|
+
"gds.pending.download": "\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u0646\u0632\u064A\u0644\u2026",
|
|
10211
|
+
"gds.pending.upload": "\u062C\u0627\u0631\u064D \u0627\u0644\u0631\u0641\u0639\u2026",
|
|
10212
|
+
"gds.pending.refresh": "\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u062D\u062F\u064A\u062B\u2026",
|
|
10213
|
+
"gds.pending.complete": "\u062C\u0627\u0631\u064D \u0627\u0644\u0625\u0643\u0645\u0627\u0644\u2026",
|
|
10214
|
+
"gds.pending.submit": "\u062C\u0627\u0631\u064D \u0627\u0644\u0625\u0631\u0633\u0627\u0644\u2026",
|
|
10215
|
+
"gds.pending.working": "\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u0646\u0641\u064A\u0630\u2026",
|
|
10216
|
+
"gds.feedback.failed": "\u0641\u0634\u0644",
|
|
10217
|
+
"gds.feedback.confirmAgain": "\u0627\u0646\u0642\u0631 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649 \u0644\u0644\u062A\u0623\u0643\u064A\u062F"
|
|
10139
10218
|
};
|
|
10140
10219
|
|
|
10141
10220
|
// src/locales/de.ts
|
|
@@ -10425,8 +10504,6 @@ var de = {
|
|
|
10425
10504
|
"gds.notificationBell.unreadLabel": "Benachrichtigungen (ungelesen)",
|
|
10426
10505
|
"gds.compareButton.add": "Vergleichen",
|
|
10427
10506
|
"gds.compareButton.added": "Zum Vergleich hinzugef\xFCgt",
|
|
10428
|
-
"gds.detailFacts.ageRange": "Altersgruppe",
|
|
10429
|
-
"gds.detailFacts.activityType": "Art der Aktivit\xE4t",
|
|
10430
10507
|
"gds.detailFacts.format": "Format",
|
|
10431
10508
|
"gds.detailFacts.location": "Standort",
|
|
10432
10509
|
"gds.detailFacts.setting": "Drinnen/drau\xDFen",
|
|
@@ -10483,7 +10560,7 @@ var de = {
|
|
|
10483
10560
|
"gds.treeView.loadError": "Diese Elemente konnten nicht geladen werden.",
|
|
10484
10561
|
"gds.treeView.retry": "Wiederholen",
|
|
10485
10562
|
"gds.dataView.toggleLabel": "Layout",
|
|
10486
|
-
"gds.dataView.table": "
|
|
10563
|
+
"gds.dataView.table": "Tabelle",
|
|
10487
10564
|
"gds.dataView.grid": "Netz",
|
|
10488
10565
|
"gds.messageThread.you": "Du",
|
|
10489
10566
|
"gds.threadList.errorTitle": "Gespr\xE4che konnten nicht geladen werden",
|
|
@@ -10562,7 +10639,34 @@ var de = {
|
|
|
10562
10639
|
"gds.notifications.status.failed": "Fehlgeschlagen",
|
|
10563
10640
|
"gds.notifications.status.succeeded": "Erfolgreich",
|
|
10564
10641
|
"gds.notifications.clearAll": "Alles l\xF6schen",
|
|
10565
|
-
"gds.toast.regionLabel": "Aktuelle Benachrichtigungen"
|
|
10642
|
+
"gds.toast.regionLabel": "Aktuelle Benachrichtigungen",
|
|
10643
|
+
"gds.detailFacts.audience": "Publikum",
|
|
10644
|
+
"gds.detailFacts.category": "Kategorie",
|
|
10645
|
+
"gds.docsCodeBlock.copied": "Kopierter Codeblock",
|
|
10646
|
+
"gds.docsCodeBlock.copy": "Codeblock kopieren",
|
|
10647
|
+
"gds.docsCodeDisclosure.show": "Code anzeigen",
|
|
10648
|
+
"gds.docsCodeDisclosure.loading": "Code wird geladen\u2026",
|
|
10649
|
+
"gds.docsCodeDisclosure.error": "Der Code konnte nicht geladen werden. Schlie\xDFen und erneut \xF6ffnen, um es erneut zu versuchen.",
|
|
10650
|
+
"gds.docsCodeBlock.region": "Code",
|
|
10651
|
+
"gds.tableScroll.region": "Tabelle",
|
|
10652
|
+
"gds.styleProfile.default": "Voreingestellter Standard",
|
|
10653
|
+
"gds.styleProfile.minimal": "Minimal",
|
|
10654
|
+
"gds.styleProfile.soft": "Weich",
|
|
10655
|
+
"gds.styleProfile.structured": "Strukturiert",
|
|
10656
|
+
"gds.themeExplorer.styleProfile": "Stilprofil",
|
|
10657
|
+
"gds.pending.send": "Wird gesendet\u2026",
|
|
10658
|
+
"gds.pending.save": "Wird gespeichert\u2026",
|
|
10659
|
+
"gds.pending.copy": "Wird kopiert\u2026",
|
|
10660
|
+
"gds.pending.delete": "Wird gel\xF6scht\u2026",
|
|
10661
|
+
"gds.pending.add": "Wird hinzugef\xFCgt\u2026",
|
|
10662
|
+
"gds.pending.download": "Wird heruntergeladen\u2026",
|
|
10663
|
+
"gds.pending.upload": "Wird hochgeladen\u2026",
|
|
10664
|
+
"gds.pending.refresh": "Wird aktualisiert\u2026",
|
|
10665
|
+
"gds.pending.complete": "Wird abgeschlossen\u2026",
|
|
10666
|
+
"gds.pending.submit": "Wird abgesendet\u2026",
|
|
10667
|
+
"gds.pending.working": "Wird ausgef\xFChrt\u2026",
|
|
10668
|
+
"gds.feedback.failed": "Fehlgeschlagen",
|
|
10669
|
+
"gds.feedback.confirmAgain": "Zum Best\xE4tigen erneut klicken"
|
|
10566
10670
|
};
|
|
10567
10671
|
|
|
10568
10672
|
// src/locales/en.ts
|
|
@@ -10852,8 +10956,6 @@ var en = {
|
|
|
10852
10956
|
"gds.notificationBell.unreadLabel": "Notifications (unread)",
|
|
10853
10957
|
"gds.compareButton.add": "Compare",
|
|
10854
10958
|
"gds.compareButton.added": "Added to compare",
|
|
10855
|
-
"gds.detailFacts.ageRange": "Age range",
|
|
10856
|
-
"gds.detailFacts.activityType": "Activity type",
|
|
10857
10959
|
"gds.detailFacts.format": "Format",
|
|
10858
10960
|
"gds.detailFacts.location": "Location",
|
|
10859
10961
|
"gds.detailFacts.setting": "Indoor/outdoor",
|
|
@@ -10989,7 +11091,34 @@ var en = {
|
|
|
10989
11091
|
"gds.notifications.status.failed": "Failed",
|
|
10990
11092
|
"gds.notifications.status.succeeded": "Succeeded",
|
|
10991
11093
|
"gds.notifications.clearAll": "Clear all",
|
|
10992
|
-
"gds.toast.regionLabel": "Recent notifications"
|
|
11094
|
+
"gds.toast.regionLabel": "Recent notifications",
|
|
11095
|
+
"gds.detailFacts.audience": "Audience",
|
|
11096
|
+
"gds.detailFacts.category": "Category",
|
|
11097
|
+
"gds.docsCodeBlock.copied": "Copied code block",
|
|
11098
|
+
"gds.docsCodeBlock.copy": "Copy code block",
|
|
11099
|
+
"gds.docsCodeDisclosure.show": "Show code",
|
|
11100
|
+
"gds.docsCodeDisclosure.loading": "Loading code\u2026",
|
|
11101
|
+
"gds.docsCodeDisclosure.error": "The code could not be loaded. Close and reopen to try again.",
|
|
11102
|
+
"gds.docsCodeBlock.region": "Code",
|
|
11103
|
+
"gds.tableScroll.region": "Table",
|
|
11104
|
+
"gds.styleProfile.default": "Preset default",
|
|
11105
|
+
"gds.styleProfile.minimal": "Minimal",
|
|
11106
|
+
"gds.styleProfile.soft": "Soft",
|
|
11107
|
+
"gds.styleProfile.structured": "Structured",
|
|
11108
|
+
"gds.themeExplorer.styleProfile": "Style profile",
|
|
11109
|
+
"gds.pending.send": "Sending\u2026",
|
|
11110
|
+
"gds.pending.save": "Saving\u2026",
|
|
11111
|
+
"gds.pending.copy": "Copying\u2026",
|
|
11112
|
+
"gds.pending.delete": "Deleting\u2026",
|
|
11113
|
+
"gds.pending.add": "Adding\u2026",
|
|
11114
|
+
"gds.pending.download": "Downloading\u2026",
|
|
11115
|
+
"gds.pending.upload": "Uploading\u2026",
|
|
11116
|
+
"gds.pending.refresh": "Refreshing\u2026",
|
|
11117
|
+
"gds.pending.complete": "Completing\u2026",
|
|
11118
|
+
"gds.pending.submit": "Submitting\u2026",
|
|
11119
|
+
"gds.pending.working": "Working\u2026",
|
|
11120
|
+
"gds.feedback.failed": "Failed",
|
|
11121
|
+
"gds.feedback.confirmAgain": "Click again to confirm"
|
|
10993
11122
|
};
|
|
10994
11123
|
|
|
10995
11124
|
// src/locales/es.ts
|
|
@@ -11279,8 +11408,6 @@ var es = {
|
|
|
11279
11408
|
"gds.notificationBell.unreadLabel": "Notificaciones (sin leer)",
|
|
11280
11409
|
"gds.compareButton.add": "Comparar",
|
|
11281
11410
|
"gds.compareButton.added": "A\xF1adido a la comparaci\xF3n",
|
|
11282
|
-
"gds.detailFacts.ageRange": "Rango de edad",
|
|
11283
|
-
"gds.detailFacts.activityType": "Tipo de actividad",
|
|
11284
11411
|
"gds.detailFacts.format": "Formato",
|
|
11285
11412
|
"gds.detailFacts.location": "Ubicaci\xF3n",
|
|
11286
11413
|
"gds.detailFacts.setting": "Interior/exterior",
|
|
@@ -11337,7 +11464,7 @@ var es = {
|
|
|
11337
11464
|
"gds.treeView.loadError": "No se pudieron cargar estos elementos.",
|
|
11338
11465
|
"gds.treeView.retry": "Rever",
|
|
11339
11466
|
"gds.dataView.toggleLabel": "Disposici\xF3n",
|
|
11340
|
-
"gds.dataView.table": "
|
|
11467
|
+
"gds.dataView.table": "Tabla",
|
|
11341
11468
|
"gds.dataView.grid": "Red",
|
|
11342
11469
|
"gds.messageThread.you": "T\xFA",
|
|
11343
11470
|
"gds.threadList.errorTitle": "No se pudieron cargar las conversaciones",
|
|
@@ -11363,7 +11490,7 @@ var es = {
|
|
|
11363
11490
|
"gds.gdsPageTemplates.state.retrying.title": "Reintentando",
|
|
11364
11491
|
"gds.gdsPageTemplates.state.saving.title": "Ahorro",
|
|
11365
11492
|
"gds.gdsPageTemplates.state.permissionDenied.title": "Permiso denegado",
|
|
11366
|
-
"gds.gdsPageTemplates.state.notFound.title": "
|
|
11493
|
+
"gds.gdsPageTemplates.state.notFound.title": "No encontrado",
|
|
11367
11494
|
"gds.gdsPageTemplates.state.loading.description": "Cargando los \xFAltimos datos.",
|
|
11368
11495
|
"gds.gdsPageTemplates.state.empty.description": "A\xFAn no hay datos disponibles para esta p\xE1gina.",
|
|
11369
11496
|
"gds.gdsPageTemplates.state.ready.description": "La p\xE1gina est\xE1 lista.",
|
|
@@ -11416,7 +11543,34 @@ var es = {
|
|
|
11416
11543
|
"gds.notifications.status.failed": "Fallido",
|
|
11417
11544
|
"gds.notifications.status.succeeded": "Tuvo \xE9xito",
|
|
11418
11545
|
"gds.notifications.clearAll": "Borrar todo",
|
|
11419
|
-
"gds.toast.regionLabel": "Notificaciones recientes"
|
|
11546
|
+
"gds.toast.regionLabel": "Notificaciones recientes",
|
|
11547
|
+
"gds.detailFacts.audience": "Audiencia",
|
|
11548
|
+
"gds.detailFacts.category": "Categor\xEDa",
|
|
11549
|
+
"gds.docsCodeBlock.copied": "Bloque de c\xF3digo copiado",
|
|
11550
|
+
"gds.docsCodeBlock.copy": "Copiar bloque de c\xF3digo",
|
|
11551
|
+
"gds.docsCodeDisclosure.show": "Mostrar c\xF3digo",
|
|
11552
|
+
"gds.docsCodeDisclosure.loading": "Cargando c\xF3digo\u2026",
|
|
11553
|
+
"gds.docsCodeDisclosure.error": "No se pudo cargar el c\xF3digo. Cierra y vuelve a abrir para volver a intentarlo.",
|
|
11554
|
+
"gds.docsCodeBlock.region": "C\xF3digo",
|
|
11555
|
+
"gds.tableScroll.region": "Tabla",
|
|
11556
|
+
"gds.styleProfile.default": "Predeterminado predeterminado",
|
|
11557
|
+
"gds.styleProfile.minimal": "M\xEDnimo",
|
|
11558
|
+
"gds.styleProfile.soft": "Suave",
|
|
11559
|
+
"gds.styleProfile.structured": "Estructurado",
|
|
11560
|
+
"gds.themeExplorer.styleProfile": "Perfil de estilo",
|
|
11561
|
+
"gds.pending.send": "Enviando\u2026",
|
|
11562
|
+
"gds.pending.save": "Guardando\u2026",
|
|
11563
|
+
"gds.pending.copy": "Copiando\u2026",
|
|
11564
|
+
"gds.pending.delete": "Eliminando\u2026",
|
|
11565
|
+
"gds.pending.add": "A\xF1adiendo\u2026",
|
|
11566
|
+
"gds.pending.download": "Descargando\u2026",
|
|
11567
|
+
"gds.pending.upload": "Subiendo\u2026",
|
|
11568
|
+
"gds.pending.refresh": "Actualizando\u2026",
|
|
11569
|
+
"gds.pending.complete": "Completando\u2026",
|
|
11570
|
+
"gds.pending.submit": "Enviando\u2026",
|
|
11571
|
+
"gds.pending.working": "Procesando\u2026",
|
|
11572
|
+
"gds.feedback.failed": "Fallido",
|
|
11573
|
+
"gds.feedback.confirmAgain": "Haga clic nuevamente para confirmar"
|
|
11420
11574
|
};
|
|
11421
11575
|
|
|
11422
11576
|
// src/locales/fr.ts
|
|
@@ -11706,8 +11860,6 @@ var fr = {
|
|
|
11706
11860
|
"gds.notificationBell.unreadLabel": "Notifications (non lues)",
|
|
11707
11861
|
"gds.compareButton.add": "Comparer",
|
|
11708
11862
|
"gds.compareButton.added": "Ajout\xE9 \xE0 la comparaison",
|
|
11709
|
-
"gds.detailFacts.ageRange": "Tranche d'\xE2ge",
|
|
11710
|
-
"gds.detailFacts.activityType": "Type d'activit\xE9",
|
|
11711
11863
|
"gds.detailFacts.format": "Format",
|
|
11712
11864
|
"gds.detailFacts.location": "Lieu",
|
|
11713
11865
|
"gds.detailFacts.setting": "Int\xE9rieur/ext\xE9rieur",
|
|
@@ -11843,7 +11995,34 @@ var fr = {
|
|
|
11843
11995
|
"gds.notifications.status.failed": "\xC9chou\xE9",
|
|
11844
11996
|
"gds.notifications.status.succeeded": "R\xE9ussi",
|
|
11845
11997
|
"gds.notifications.clearAll": "Tout effacer",
|
|
11846
|
-
"gds.toast.regionLabel": "Notifications r\xE9centes"
|
|
11998
|
+
"gds.toast.regionLabel": "Notifications r\xE9centes",
|
|
11999
|
+
"gds.detailFacts.audience": "Public",
|
|
12000
|
+
"gds.detailFacts.category": "Cat\xE9gorie",
|
|
12001
|
+
"gds.docsCodeBlock.copied": "Bloc de code copi\xE9",
|
|
12002
|
+
"gds.docsCodeBlock.copy": "Copier le bloc de code",
|
|
12003
|
+
"gds.docsCodeDisclosure.show": "Afficher le code",
|
|
12004
|
+
"gds.docsCodeDisclosure.loading": "Chargement du code\u2026",
|
|
12005
|
+
"gds.docsCodeDisclosure.error": "Le code n'a pas pu \xEAtre charg\xE9. Fermez et rouvrez pour r\xE9essayer.",
|
|
12006
|
+
"gds.docsCodeBlock.region": "Code",
|
|
12007
|
+
"gds.tableScroll.region": "Tableau",
|
|
12008
|
+
"gds.styleProfile.default": "Pr\xE9r\xE9glage par d\xE9faut",
|
|
12009
|
+
"gds.styleProfile.minimal": "Minimal",
|
|
12010
|
+
"gds.styleProfile.soft": "Doux",
|
|
12011
|
+
"gds.styleProfile.structured": "Structur\xE9",
|
|
12012
|
+
"gds.themeExplorer.styleProfile": "Profil de style",
|
|
12013
|
+
"gds.pending.send": "Envoi\u2026",
|
|
12014
|
+
"gds.pending.save": "Enregistrement\u2026",
|
|
12015
|
+
"gds.pending.copy": "Copie\u2026",
|
|
12016
|
+
"gds.pending.delete": "Suppression\u2026",
|
|
12017
|
+
"gds.pending.add": "Ajout\u2026",
|
|
12018
|
+
"gds.pending.download": "T\xE9l\xE9chargement\u2026",
|
|
12019
|
+
"gds.pending.upload": "T\xE9l\xE9versement\u2026",
|
|
12020
|
+
"gds.pending.refresh": "Actualisation\u2026",
|
|
12021
|
+
"gds.pending.complete": "Finalisation\u2026",
|
|
12022
|
+
"gds.pending.submit": "Soumission\u2026",
|
|
12023
|
+
"gds.pending.working": "Traitement\u2026",
|
|
12024
|
+
"gds.feedback.failed": "\xC9chec",
|
|
12025
|
+
"gds.feedback.confirmAgain": "Cliquez \xE0 nouveau pour confirmer"
|
|
11847
12026
|
};
|
|
11848
12027
|
|
|
11849
12028
|
// src/locales/he.ts
|
|
@@ -11864,7 +12043,7 @@ var he = {
|
|
|
11864
12043
|
"gds.action.edit": "\u05E2\u05E8\u05D5\u05DA",
|
|
11865
12044
|
"gds.action.delete": "\u05DE\u05D7\u05E7",
|
|
11866
12045
|
"gds.action.save": "\u05E9\u05DE\u05D5\u05E8",
|
|
11867
|
-
"gds.action.cancel": "\u05D1\u05D9\u05D8\
|
|
12046
|
+
"gds.action.cancel": "\u05D1\u05D9\u05D8\u05D5\u05DC",
|
|
11868
12047
|
"gds.action.confirm": "\u05D0\u05D9\u05E9\u05D5\u05E8",
|
|
11869
12048
|
"gds.action.close": "\u05E1\u05D2\u05D5\u05E8",
|
|
11870
12049
|
"gds.action.language": "\u05E9\u05E4\u05D4",
|
|
@@ -12065,7 +12244,7 @@ var he = {
|
|
|
12065
12244
|
"gds.discoveryShell.mobileNavigationLabel": "\u05D4\u05D7\u05DC\u05E3 \u05E0\u05D9\u05D5\u05D5\u05D8",
|
|
12066
12245
|
"gds.discoveryShell.desktopNavigationLabel": "\u05D4\u05D7\u05DC\u05E3 \u05D0\u05EA \u05E1\u05E8\u05D2\u05DC \u05D4\u05E6\u05D3",
|
|
12067
12246
|
"gds.navigation.openMobile": "\u05E4\u05EA\u05D7 \u05E0\u05D9\u05D5\u05D5\u05D8 \u05D1\u05DE\u05E1\u05DE\u05DB\u05D9\u05DD",
|
|
12068
|
-
"gds.editorialCard.ctaLabel": "\u05DC\
|
|
12247
|
+
"gds.editorialCard.ctaLabel": "\u05D2\u05DC\u05D5",
|
|
12069
12248
|
"gds.featureBand.emptyTitle": "\u05D0\u05D9\u05DF \u05E4\u05E8\u05D8\u05D9\u05DD \u05EA\u05D5\u05DE\u05DB\u05D9\u05DD \u05D6\u05DE\u05D9\u05E0\u05D9\u05DD",
|
|
12070
12249
|
"gds.featureBand.emptyDescription": "\u05D4\u05D5\u05E1\u05E3 \u05E4\u05E8\u05D9\u05D8\u05D9 \u05EA\u05DB\u05D5\u05E0\u05D4 \u05DE\u05E9\u05D5\u05EA\u05E4\u05D9\u05DD \u05DB\u05D0\u05E9\u05E8 \u05DE\u05E9\u05D8\u05D7 \u05E6\u05D9\u05D1\u05D5\u05E8\u05D9 \u05D6\u05D4 \u05D6\u05E7\u05D5\u05E7 \u05DC\u05D0\u05DE\u05D5\u05DF, \u05E9\u05D9\u05E8\u05D5\u05EA \u05D0\u05D5 \u05D4\u05E7\u05E9\u05E8 \u05E9\u05DC \u05DE\u05D9\u05E7\u05D5\u05DD.",
|
|
12071
12250
|
"gds.featureBand.sectionLabel": "\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05EA\u05D5\u05DE\u05DB\u05D5\u05EA",
|
|
@@ -12133,8 +12312,6 @@ var he = {
|
|
|
12133
12312
|
"gds.notificationBell.unreadLabel": "\u05D4\u05EA\u05E8\u05D0\u05D5\u05EA (\u05DC\u05D0 \u05E0\u05E7\u05E8\u05D0\u05D5)",
|
|
12134
12313
|
"gds.compareButton.add": "\u05D4\u05E9\u05D5\u05D5\u05D4",
|
|
12135
12314
|
"gds.compareButton.added": "\u05E0\u05D5\u05E1\u05E3 \u05DC\u05D4\u05E9\u05D5\u05D5\u05D0\u05D4",
|
|
12136
|
-
"gds.detailFacts.ageRange": "\u05D8\u05D5\u05D5\u05D7 \u05D2\u05D9\u05DC\u05D0\u05D9\u05DD",
|
|
12137
|
-
"gds.detailFacts.activityType": "\u05E1\u05D5\u05D2 \u05D4\u05E4\u05E2\u05D9\u05DC\u05D5\u05EA",
|
|
12138
12315
|
"gds.detailFacts.format": "\u05E4\u05D5\u05E8\u05DE\u05D8",
|
|
12139
12316
|
"gds.detailFacts.location": "\u05DE\u05D9\u05E7\u05D5\u05DD",
|
|
12140
12317
|
"gds.detailFacts.setting": "\u05D1\u05E4\u05E0\u05D9\u05DD/\u05D1\u05D7\u05D5\u05E5",
|
|
@@ -12191,7 +12368,7 @@ var he = {
|
|
|
12191
12368
|
"gds.treeView.loadError": "\u05DC\u05D0 \u05E0\u05D9\u05EA\u05DF \u05DC\u05D8\u05E2\u05D5\u05DF \u05D0\u05EA \u05D4\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05D4\u05D0\u05DC\u05D4.",
|
|
12192
12369
|
"gds.treeView.retry": "\u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1",
|
|
12193
12370
|
"gds.dataView.toggleLabel": "\u05DE\u05B7\u05E2\u05B2\u05E8\u05B8\u05DA",
|
|
12194
|
-
"gds.dataView.table": "\
|
|
12371
|
+
"gds.dataView.table": "\u05D8\u05D1\u05DC\u05D4",
|
|
12195
12372
|
"gds.dataView.grid": "\u05E8\u05B6\u05E9\u05C1\u05B6\u05EA",
|
|
12196
12373
|
"gds.messageThread.you": "\u05D0\u05B7\u05EA\u05B8\u05D4",
|
|
12197
12374
|
"gds.threadList.errorTitle": "\u05DC\u05D0 \u05E0\u05D9\u05EA\u05DF \u05D4\u05D9\u05D4 \u05DC\u05D8\u05E2\u05D5\u05DF \u05D0\u05EA \u05D4\u05E9\u05D9\u05D7\u05D5\u05EA",
|
|
@@ -12270,7 +12447,34 @@ var he = {
|
|
|
12270
12447
|
"gds.notifications.status.failed": "\u05E0\u05B4\u05DB\u05E9\u05C1\u05B8\u05DC",
|
|
12271
12448
|
"gds.notifications.status.succeeded": "\u05D4\u05E6\u05DC\u05D9\u05D7",
|
|
12272
12449
|
"gds.notifications.clearAll": "\u05E0\u05E7\u05D4 \u05D4\u05DB\u05DC",
|
|
12273
|
-
"gds.toast.regionLabel": "\u05D4\u05D5\u05D3\u05E2\u05D5\u05EA \u05D0\u05D7\u05E8\u05D5\u05E0\u05D5\u05EA"
|
|
12450
|
+
"gds.toast.regionLabel": "\u05D4\u05D5\u05D3\u05E2\u05D5\u05EA \u05D0\u05D7\u05E8\u05D5\u05E0\u05D5\u05EA",
|
|
12451
|
+
"gds.detailFacts.audience": "\u05E7\u05D4\u05DC",
|
|
12452
|
+
"gds.detailFacts.category": "\u05E7\u05B8\u05D8\u05B5\u05D2\u05D5\u05B9\u05E8\u05B4\u05D9\u05B8\u05D4",
|
|
12453
|
+
"gds.docsCodeBlock.copied": "\u05D1\u05DC\u05D5\u05E7 \u05E7\u05D5\u05D3 \u05D4\u05D5\u05E2\u05EA\u05E7",
|
|
12454
|
+
"gds.docsCodeBlock.copy": "\u05D4\u05E2\u05EA\u05E7 \u05D1\u05DC\u05D5\u05E7 \u05E7\u05D5\u05D3",
|
|
12455
|
+
"gds.docsCodeDisclosure.show": "\u05D4\u05E6\u05D2 \u05E7\u05D5\u05D3",
|
|
12456
|
+
"gds.docsCodeDisclosure.loading": "\u05D8\u05D5\u05E2\u05DF \u05E7\u05D5\u05D3...",
|
|
12457
|
+
"gds.docsCodeDisclosure.error": "\u05DC\u05D0 \u05E0\u05D9\u05EA\u05DF \u05D4\u05D9\u05D4 \u05DC\u05D8\u05E2\u05D5\u05DF \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3. \u05E1\u05D2\u05D5\u05E8 \u05D5\u05E4\u05EA\u05D7 \u05DE\u05D7\u05D3\u05E9 \u05DB\u05D3\u05D9 \u05DC\u05E0\u05E1\u05D5\u05EA \u05E9\u05D5\u05D1.",
|
|
12458
|
+
"gds.docsCodeBlock.region": "\u05E7\u05D5\u05D3",
|
|
12459
|
+
"gds.tableScroll.region": "\u05D8\u05D1\u05DC\u05D4",
|
|
12460
|
+
"gds.styleProfile.default": "\u05D1\u05E8\u05D9\u05E8\u05EA \u05DE\u05D7\u05D3\u05DC \u05DE\u05D5\u05D2\u05D3\u05E8\u05EA \u05DE\u05E8\u05D0\u05E9",
|
|
12461
|
+
"gds.styleProfile.minimal": "\u05DE\u05B4\u05D9\u05E0\u05B4\u05D9\u05DE\u05B8\u05DC\u05B4\u05D9",
|
|
12462
|
+
"gds.styleProfile.soft": "\u05E8\u05B7\u05DA",
|
|
12463
|
+
"gds.styleProfile.structured": "\u05DE\u05D5\u05D1\u05E0\u05D4",
|
|
12464
|
+
"gds.themeExplorer.styleProfile": "\u05E4\u05E8\u05D5\u05E4\u05D9\u05DC \u05E1\u05D2\u05E0\u05D5\u05DF",
|
|
12465
|
+
"gds.pending.send": "\u05E9\u05D5\u05DC\u05D7\u2026",
|
|
12466
|
+
"gds.pending.save": "\u05E9\u05D5\u05DE\u05E8\u2026",
|
|
12467
|
+
"gds.pending.copy": "\u05DE\u05E2\u05EA\u05D9\u05E7\u2026",
|
|
12468
|
+
"gds.pending.delete": "\u05DE\u05D5\u05D7\u05E7\u2026",
|
|
12469
|
+
"gds.pending.add": "\u05DE\u05D5\u05E1\u05D9\u05E3\u2026",
|
|
12470
|
+
"gds.pending.download": "\u05DE\u05D5\u05E8\u05D9\u05D3\u2026",
|
|
12471
|
+
"gds.pending.upload": "\u05DE\u05E2\u05DC\u05D4\u2026",
|
|
12472
|
+
"gds.pending.refresh": "\u05DE\u05E8\u05E2\u05E0\u05DF\u2026",
|
|
12473
|
+
"gds.pending.complete": "\u05DE\u05E9\u05DC\u05D9\u05DD\u2026",
|
|
12474
|
+
"gds.pending.submit": "\u05E9\u05D5\u05DC\u05D7\u2026",
|
|
12475
|
+
"gds.pending.working": "\u05DE\u05E2\u05D1\u05D3\u2026",
|
|
12476
|
+
"gds.feedback.failed": "\u05E0\u05DB\u05E9\u05DC",
|
|
12477
|
+
"gds.feedback.confirmAgain": "\u05DC\u05D7\u05E5 \u05E9\u05D5\u05D1 \u05DB\u05D3\u05D9 \u05DC\u05D0\u05E9\u05E8"
|
|
12274
12478
|
};
|
|
12275
12479
|
|
|
12276
12480
|
// src/locales/hu.ts
|
|
@@ -12560,8 +12764,6 @@ var hu = {
|
|
|
12560
12764
|
"gds.notificationBell.unreadLabel": "\xC9rtes\xEDt\xE9sek (olvasatlan)",
|
|
12561
12765
|
"gds.compareButton.add": "\xD6sszehasonl\xEDt\xE1s",
|
|
12562
12766
|
"gds.compareButton.added": "Hozz\xE1adva az \xF6sszehasonl\xEDt\xE1shoz",
|
|
12563
|
-
"gds.detailFacts.ageRange": "Koroszt\xE1ly",
|
|
12564
|
-
"gds.detailFacts.activityType": "Tev\xE9kenys\xE9g t\xEDpusa",
|
|
12565
12767
|
"gds.detailFacts.format": "Form\xE1tum",
|
|
12566
12768
|
"gds.detailFacts.location": "Helysz\xEDn",
|
|
12567
12769
|
"gds.detailFacts.setting": "Belt\xE9ri/k\xFClt\xE9ri",
|
|
@@ -12697,7 +12899,34 @@ var hu = {
|
|
|
12697
12899
|
"gds.notifications.status.failed": "Sikertelen",
|
|
12698
12900
|
"gds.notifications.status.succeeded": "Siker\xFClt",
|
|
12699
12901
|
"gds.notifications.clearAll": "Minden t\xF6rl\xE9se",
|
|
12700
|
-
"gds.toast.regionLabel": "Legut\xF3bbi \xE9rtes\xEDt\xE9sek"
|
|
12902
|
+
"gds.toast.regionLabel": "Legut\xF3bbi \xE9rtes\xEDt\xE9sek",
|
|
12903
|
+
"gds.detailFacts.audience": "K\xF6z\xF6ns\xE9g",
|
|
12904
|
+
"gds.detailFacts.category": "Kateg\xF3ria",
|
|
12905
|
+
"gds.docsCodeBlock.copied": "K\xF3dblokk m\xE1solva",
|
|
12906
|
+
"gds.docsCodeBlock.copy": "K\xF3dblokk m\xE1sol\xE1sa",
|
|
12907
|
+
"gds.docsCodeDisclosure.show": "K\xF3d megjelen\xEDt\xE9se",
|
|
12908
|
+
"gds.docsCodeDisclosure.loading": "K\xF3d bet\xF6lt\xE9se\u2026",
|
|
12909
|
+
"gds.docsCodeDisclosure.error": "A k\xF3dot nem siker\xFClt bet\xF6lteni. Z\xE1rja be, majd nyissa meg \xFAjra az \xFAjrapr\xF3b\xE1lkoz\xE1shoz.",
|
|
12910
|
+
"gds.docsCodeBlock.region": "K\xF3d",
|
|
12911
|
+
"gds.tableScroll.region": "T\xE1bl\xE1zat",
|
|
12912
|
+
"gds.styleProfile.default": "El\u0151re be\xE1ll\xEDtott alap\xE9rtelmezett",
|
|
12913
|
+
"gds.styleProfile.minimal": "Minim\xE1lis",
|
|
12914
|
+
"gds.styleProfile.soft": "Puha",
|
|
12915
|
+
"gds.styleProfile.structured": "Struktur\xE1lt",
|
|
12916
|
+
"gds.themeExplorer.styleProfile": "St\xEDlusprofil",
|
|
12917
|
+
"gds.pending.send": "K\xFCld\xE9s\u2026",
|
|
12918
|
+
"gds.pending.save": "Ment\xE9s\u2026",
|
|
12919
|
+
"gds.pending.copy": "M\xE1sol\xE1s\u2026",
|
|
12920
|
+
"gds.pending.delete": "T\xF6rl\xE9s\u2026",
|
|
12921
|
+
"gds.pending.add": "Hozz\xE1ad\xE1s\u2026",
|
|
12922
|
+
"gds.pending.download": "Let\xF6lt\xE9s\u2026",
|
|
12923
|
+
"gds.pending.upload": "Felt\xF6lt\xE9s\u2026",
|
|
12924
|
+
"gds.pending.refresh": "Friss\xEDt\xE9s\u2026",
|
|
12925
|
+
"gds.pending.complete": "Befejez\xE9s\u2026",
|
|
12926
|
+
"gds.pending.submit": "Bek\xFCld\xE9s\u2026",
|
|
12927
|
+
"gds.pending.working": "Folyamatban\u2026",
|
|
12928
|
+
"gds.feedback.failed": "Sikertelen",
|
|
12929
|
+
"gds.feedback.confirmAgain": "Kattintson \xFAjra a meger\u0151s\xEDt\xE9shez"
|
|
12701
12930
|
};
|
|
12702
12931
|
|
|
12703
12932
|
// src/locales/it.ts
|
|
@@ -12919,7 +13148,7 @@ var it = {
|
|
|
12919
13148
|
"gds.discoveryShell.mobileNavigationLabel": "Attiva/disattiva la navigazione",
|
|
12920
13149
|
"gds.discoveryShell.desktopNavigationLabel": "Attiva/disattiva la barra laterale",
|
|
12921
13150
|
"gds.navigation.openMobile": "Apri la navigazione dei documenti",
|
|
12922
|
-
"gds.editorialCard.ctaLabel": "
|
|
13151
|
+
"gds.editorialCard.ctaLabel": "Esplora",
|
|
12923
13152
|
"gds.featureBand.emptyTitle": "Nessun dettaglio di supporto disponibile",
|
|
12924
13153
|
"gds.featureBand.emptyDescription": "Aggiungi elementi di gruppi di funzionalit\xE0 condivisi quando questa superficie pubblica necessita di contesto di attendibilit\xE0, servizio o posizione.",
|
|
12925
13154
|
"gds.featureBand.sectionLabel": "Funzionalit\xE0 di supporto",
|
|
@@ -12987,8 +13216,6 @@ var it = {
|
|
|
12987
13216
|
"gds.notificationBell.unreadLabel": "Notifiche (non lette)",
|
|
12988
13217
|
"gds.compareButton.add": "Confronta",
|
|
12989
13218
|
"gds.compareButton.added": "Aggiunto al confronto",
|
|
12990
|
-
"gds.detailFacts.ageRange": "Fascia d'et\xE0",
|
|
12991
|
-
"gds.detailFacts.activityType": "Tipo di attivit\xE0",
|
|
12992
13219
|
"gds.detailFacts.format": "Formato",
|
|
12993
13220
|
"gds.detailFacts.location": "Posizione",
|
|
12994
13221
|
"gds.detailFacts.setting": "Al chiuso/all'aperto",
|
|
@@ -13045,7 +13272,7 @@ var it = {
|
|
|
13045
13272
|
"gds.treeView.loadError": "Impossibile caricare questi elementi.",
|
|
13046
13273
|
"gds.treeView.retry": "Riprova",
|
|
13047
13274
|
"gds.dataView.toggleLabel": "Disposizione",
|
|
13048
|
-
"gds.dataView.table": "
|
|
13275
|
+
"gds.dataView.table": "Tabella",
|
|
13049
13276
|
"gds.dataView.grid": "Griglia",
|
|
13050
13277
|
"gds.messageThread.you": "Voi",
|
|
13051
13278
|
"gds.threadList.errorTitle": "Impossibile caricare le conversazioni",
|
|
@@ -13124,7 +13351,34 @@ var it = {
|
|
|
13124
13351
|
"gds.notifications.status.failed": "Fallito",
|
|
13125
13352
|
"gds.notifications.status.succeeded": "Riuscito",
|
|
13126
13353
|
"gds.notifications.clearAll": "Cancella tutto",
|
|
13127
|
-
"gds.toast.regionLabel": "Notifiche recenti"
|
|
13354
|
+
"gds.toast.regionLabel": "Notifiche recenti",
|
|
13355
|
+
"gds.detailFacts.audience": "Pubblico",
|
|
13356
|
+
"gds.detailFacts.category": "Categoria",
|
|
13357
|
+
"gds.docsCodeBlock.copied": "Blocco di codice copiato",
|
|
13358
|
+
"gds.docsCodeBlock.copy": "Copia blocco di codice",
|
|
13359
|
+
"gds.docsCodeDisclosure.show": "Mostra codice",
|
|
13360
|
+
"gds.docsCodeDisclosure.loading": "Caricamento codice...",
|
|
13361
|
+
"gds.docsCodeDisclosure.error": "Impossibile caricare il codice. Chiudi e riapri per riprovare.",
|
|
13362
|
+
"gds.docsCodeBlock.region": "Codice",
|
|
13363
|
+
"gds.tableScroll.region": "Tabella",
|
|
13364
|
+
"gds.styleProfile.default": "Preimpostazione predefinita",
|
|
13365
|
+
"gds.styleProfile.minimal": "Minimo",
|
|
13366
|
+
"gds.styleProfile.soft": "Morbido",
|
|
13367
|
+
"gds.styleProfile.structured": "Strutturato",
|
|
13368
|
+
"gds.themeExplorer.styleProfile": "Profilo di stile",
|
|
13369
|
+
"gds.pending.send": "Invio\u2026",
|
|
13370
|
+
"gds.pending.save": "Salvataggio\u2026",
|
|
13371
|
+
"gds.pending.copy": "Copia in corso\u2026",
|
|
13372
|
+
"gds.pending.delete": "Eliminazione\u2026",
|
|
13373
|
+
"gds.pending.add": "Aggiunta\u2026",
|
|
13374
|
+
"gds.pending.download": "Download in corso\u2026",
|
|
13375
|
+
"gds.pending.upload": "Caricamento\u2026",
|
|
13376
|
+
"gds.pending.refresh": "Aggiornamento\u2026",
|
|
13377
|
+
"gds.pending.complete": "Completamento\u2026",
|
|
13378
|
+
"gds.pending.submit": "Invio\u2026",
|
|
13379
|
+
"gds.pending.working": "Elaborazione\u2026",
|
|
13380
|
+
"gds.feedback.failed": "Non riuscito",
|
|
13381
|
+
"gds.feedback.confirmAgain": "Fare nuovamente clic per confermare"
|
|
13128
13382
|
};
|
|
13129
13383
|
|
|
13130
13384
|
// src/locales/ja.ts
|
|
@@ -13346,7 +13600,7 @@ var ja = {
|
|
|
13346
13600
|
"gds.discoveryShell.mobileNavigationLabel": "\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u3092\u5207\u308A\u66FF\u3048",
|
|
13347
13601
|
"gds.discoveryShell.desktopNavigationLabel": "\u30B5\u30A4\u30C9\u30D0\u30FC\u306E\u5207\u308A\u66FF\u3048",
|
|
13348
13602
|
"gds.navigation.openMobile": "\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u958B\u304F\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3",
|
|
13349
|
-
"gds.editorialCard.ctaLabel": "\
|
|
13603
|
+
"gds.editorialCard.ctaLabel": "\u8A73\u3057\u304F\u898B\u308B",
|
|
13350
13604
|
"gds.featureBand.emptyTitle": "\u30B5\u30DD\u30FC\u30C8\u306E\u8A73\u7D30\u306F\u3042\u308A\u307E\u305B\u3093",
|
|
13351
13605
|
"gds.featureBand.emptyDescription": "\u3053\u306E\u30D1\u30D6\u30EA\u30C3\u30AF \u30B5\u30FC\u30D5\u30A7\u30B9\u306B\u4FE1\u983C\u3001\u30B5\u30FC\u30D3\u30B9\u3001\u307E\u305F\u306F\u5834\u6240\u306E\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u304C\u5FC5\u8981\u306A\u5834\u5408\u306F\u3001\u5171\u6709\u6A5F\u80FD\u30D0\u30F3\u30C9\u9805\u76EE\u3092\u8FFD\u52A0\u3057\u307E\u3059\u3002",
|
|
13352
13606
|
"gds.featureBand.sectionLabel": "\u30B5\u30DD\u30FC\u30C8\u6A5F\u80FD",
|
|
@@ -13414,8 +13668,6 @@ var ja = {
|
|
|
13414
13668
|
"gds.notificationBell.unreadLabel": "\u901A\u77E5(\u672A\u8AAD)",
|
|
13415
13669
|
"gds.compareButton.add": "\u6BD4\u8F03",
|
|
13416
13670
|
"gds.compareButton.added": "\u6BD4\u8F03\u306B\u8FFD\u52A0\u6E08\u307F",
|
|
13417
|
-
"gds.detailFacts.ageRange": "\u5BFE\u8C61\u5E74\u9F62",
|
|
13418
|
-
"gds.detailFacts.activityType": "\u30A2\u30AF\u30C6\u30A3\u30D3\u30C6\u30A3\u306E\u7A2E\u985E",
|
|
13419
13671
|
"gds.detailFacts.format": "\u5F62\u5F0F",
|
|
13420
13672
|
"gds.detailFacts.location": "\u5834\u6240",
|
|
13421
13673
|
"gds.detailFacts.setting": "\u5C4B\u5185/\u5C4B\u5916",
|
|
@@ -13551,7 +13803,34 @@ var ja = {
|
|
|
13551
13803
|
"gds.notifications.status.failed": "\u5931\u6557\u3057\u305F",
|
|
13552
13804
|
"gds.notifications.status.succeeded": "\u6210\u529F\u3057\u307E\u3057\u305F",
|
|
13553
13805
|
"gds.notifications.clearAll": "\u3059\u3079\u3066\u30AF\u30EA\u30A2",
|
|
13554
|
-
"gds.toast.regionLabel": "\u6700\u8FD1\u306E\u304A\u77E5\u3089\u305B"
|
|
13806
|
+
"gds.toast.regionLabel": "\u6700\u8FD1\u306E\u304A\u77E5\u3089\u305B",
|
|
13807
|
+
"gds.detailFacts.audience": "\u89B3\u5BA2",
|
|
13808
|
+
"gds.detailFacts.category": "\u30AB\u30C6\u30B4\u30EA",
|
|
13809
|
+
"gds.docsCodeBlock.copied": "\u30B3\u30D4\u30FC\u3055\u308C\u305F\u30B3\u30FC\u30C9\u30D6\u30ED\u30C3\u30AF",
|
|
13810
|
+
"gds.docsCodeBlock.copy": "\u30B3\u30FC\u30C9\u30D6\u30ED\u30C3\u30AF\u3092\u30B3\u30D4\u30FC\u3059\u308B",
|
|
13811
|
+
"gds.docsCodeDisclosure.show": "\u30B3\u30FC\u30C9\u3092\u8868\u793A",
|
|
13812
|
+
"gds.docsCodeDisclosure.loading": "\u30B3\u30FC\u30C9\u3092\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026",
|
|
13813
|
+
"gds.docsCodeDisclosure.error": "\u30B3\u30FC\u30C9\u3092\u30ED\u30FC\u30C9\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u9589\u3058\u3066\u518D\u5EA6\u958B\u304F\u3068\u3001\u518D\u8A66\u884C\u3067\u304D\u307E\u3059\u3002",
|
|
13814
|
+
"gds.docsCodeBlock.region": "\u30B3\u30FC\u30C9",
|
|
13815
|
+
"gds.tableScroll.region": "\u30C6\u30FC\u30D6\u30EB",
|
|
13816
|
+
"gds.styleProfile.default": "\u30D7\u30EA\u30BB\u30C3\u30C8\u306E\u30C7\u30D5\u30A9\u30EB\u30C8",
|
|
13817
|
+
"gds.styleProfile.minimal": "\u6700\u5C0F\u9650",
|
|
13818
|
+
"gds.styleProfile.soft": "\u67D4\u3089\u304B\u3044",
|
|
13819
|
+
"gds.styleProfile.structured": "\u69CB\u9020\u5316\u3055\u308C\u305F",
|
|
13820
|
+
"gds.themeExplorer.styleProfile": "\u30B9\u30BF\u30A4\u30EB\u30D7\u30ED\u30D5\u30A1\u30A4\u30EB",
|
|
13821
|
+
"gds.pending.send": "\u9001\u4FE1\u4E2D\u2026",
|
|
13822
|
+
"gds.pending.save": "\u4FDD\u5B58\u4E2D\u2026",
|
|
13823
|
+
"gds.pending.copy": "\u30B3\u30D4\u30FC\u4E2D\u2026",
|
|
13824
|
+
"gds.pending.delete": "\u524A\u9664\u4E2D\u2026",
|
|
13825
|
+
"gds.pending.add": "\u8FFD\u52A0\u4E2D\u2026",
|
|
13826
|
+
"gds.pending.download": "\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u4E2D\u2026",
|
|
13827
|
+
"gds.pending.upload": "\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u4E2D\u2026",
|
|
13828
|
+
"gds.pending.refresh": "\u66F4\u65B0\u4E2D\u2026",
|
|
13829
|
+
"gds.pending.complete": "\u5B8C\u4E86\u51E6\u7406\u4E2D\u2026",
|
|
13830
|
+
"gds.pending.submit": "\u9001\u4FE1\u4E2D\u2026",
|
|
13831
|
+
"gds.pending.working": "\u51E6\u7406\u4E2D\u2026",
|
|
13832
|
+
"gds.feedback.failed": "\u5931\u6557",
|
|
13833
|
+
"gds.feedback.confirmAgain": "\u3082\u3046\u4E00\u5EA6\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u78BA\u8A8D\u3057\u307E\u3059"
|
|
13555
13834
|
};
|
|
13556
13835
|
|
|
13557
13836
|
// src/locales/ko.ts
|
|
@@ -13563,27 +13842,27 @@ var ko = {
|
|
|
13563
13842
|
"gds.tour.launch": "\uAC00\uC774\uB4DC \uD22C\uC5B4 \uC2DC\uC791\uD558\uAE30",
|
|
13564
13843
|
"gds.tour.stepOfTotal": "{m}\uB2E8\uACC4 \uC911 {n}\uB2E8\uACC4",
|
|
13565
13844
|
"gds.action.settings": "\uC124\uC815",
|
|
13566
|
-
"gds.action.analytics": "\
|
|
13845
|
+
"gds.action.analytics": "\uBD84\uC11D",
|
|
13567
13846
|
"gds.action.dashboard": "\uACC4\uAE30\uBC18",
|
|
13568
|
-
"gds.action.play": "\
|
|
13847
|
+
"gds.action.play": "\uC7AC\uC0DD",
|
|
13569
13848
|
"gds.action.start": "\uC2DC\uC791",
|
|
13570
13849
|
"gds.action.users": "\uC0AC\uC6A9\uC790",
|
|
13571
|
-
"gds.action.add": "\uCD94\uAC00
|
|
13850
|
+
"gds.action.add": "\uCD94\uAC00",
|
|
13572
13851
|
"gds.action.edit": "\uD3B8\uC9D1\uD558\uB2E4",
|
|
13573
13852
|
"gds.action.delete": "\uC0AD\uC81C",
|
|
13574
|
-
"gds.action.save": "\
|
|
13853
|
+
"gds.action.save": "\uC800\uC7A5",
|
|
13575
13854
|
"gds.action.cancel": "\uCDE8\uC18C",
|
|
13576
13855
|
"gds.action.confirm": "\uD655\uC778\uD558\uB2E4",
|
|
13577
|
-
"gds.action.close": "\uB2EB\
|
|
13856
|
+
"gds.action.close": "\uB2EB\uAE30",
|
|
13578
13857
|
"gds.action.language": "\uC5B8\uC5B4",
|
|
13579
13858
|
"gds.action.theme": "\uC8FC\uC81C",
|
|
13580
|
-
"gds.action.home": "\
|
|
13859
|
+
"gds.action.home": "\uD648",
|
|
13581
13860
|
"gds.action.inbox": "\uBC1B\uC740\uD3B8\uC9C0\uD568",
|
|
13582
13861
|
"gds.action.calendar": "\uB2EC\uB825",
|
|
13583
|
-
"gds.action.gallery": "\
|
|
13862
|
+
"gds.action.gallery": "\uAC24\uB7EC\uB9AC",
|
|
13584
13863
|
"gds.action.history": "\uC5ED\uC0AC",
|
|
13585
|
-
"gds.action.profile": "\
|
|
13586
|
-
"gds.action.send": "\uBCF4\uB0B4\
|
|
13864
|
+
"gds.action.profile": "\uD504\uB85C\uD544",
|
|
13865
|
+
"gds.action.send": "\uBCF4\uB0B4\uAE30",
|
|
13587
13866
|
"gds.action.reply": "\uD68C\uC2E0\uD558\uB2E4",
|
|
13588
13867
|
"gds.action.forward": "\uC55E\uC73C\uB85C",
|
|
13589
13868
|
"gds.action.attach": "\uBD99\uC774\uB2E4",
|
|
@@ -13594,7 +13873,7 @@ var ko = {
|
|
|
13594
13873
|
"gds.action.duplicate": "\uBCF5\uC81C\uD558\uB2E4",
|
|
13595
13874
|
"gds.action.check": "\uD655\uC778\uD558\uB2E4",
|
|
13596
13875
|
"gds.action.uncheck": "\uC120\uD0DD \uCDE8\uC18C",
|
|
13597
|
-
"gds.action.complete": "\uC644\
|
|
13876
|
+
"gds.action.complete": "\uC644\uB8CC",
|
|
13598
13877
|
"gds.action.clear": "\uBD84\uBA85\uD55C",
|
|
13599
13878
|
"gds.action.capture": "\uD3EC\uCC29",
|
|
13600
13879
|
"gds.action.record": "\uAE30\uB85D",
|
|
@@ -13625,24 +13904,24 @@ var ko = {
|
|
|
13625
13904
|
"gds.action.list": "\uBAA9\uB85D",
|
|
13626
13905
|
"gds.action.logout": "\uB85C\uADF8\uC544\uC6C3",
|
|
13627
13906
|
"gds.action.notifications": "\uC54C\uB9BC",
|
|
13628
|
-
"gds.action.back": "\uB4A4\
|
|
13907
|
+
"gds.action.back": "\uB4A4\uB85C",
|
|
13629
13908
|
"gds.action.eye": "\uBCF4\uB2E4",
|
|
13630
13909
|
"gds.action.eyeOff": "\uC228\uB2E4",
|
|
13631
13910
|
"gds.action.help": "\uB3D5\uB2E4",
|
|
13632
13911
|
"gds.action.filter": "\uD544\uD130",
|
|
13633
|
-
"gds.action.sort": "\
|
|
13634
|
-
"gds.action.export": "\uB0B4\uBCF4\uB0B4\
|
|
13912
|
+
"gds.action.sort": "\uC815\uB82C",
|
|
13913
|
+
"gds.action.export": "\uB0B4\uBCF4\uB0B4\uAE30",
|
|
13635
13914
|
"gds.action.import": "\uC218\uC785",
|
|
13636
|
-
"gds.action.preview": "\
|
|
13915
|
+
"gds.action.preview": "\uBBF8\uB9AC\uBCF4\uAE30",
|
|
13637
13916
|
"gds.action.clone": "\uD074\uB860",
|
|
13638
13917
|
"gds.action.restore": "\uBCF5\uC6D0\uD558\uB2E4",
|
|
13639
13918
|
"gds.action.toggle": "\uBE44\uB140\uC7A5",
|
|
13640
|
-
"gds.action.search": "\
|
|
13641
|
-
"gds.action.submit": "\uC81C\uCD9C
|
|
13642
|
-
"gds.action.reset": "\
|
|
13919
|
+
"gds.action.search": "\uAC80\uC0C9",
|
|
13920
|
+
"gds.action.submit": "\uC81C\uCD9C",
|
|
13921
|
+
"gds.action.reset": "\uC7AC\uC124\uC815",
|
|
13643
13922
|
"gds.action.login": "\uB85C\uADF8\uC778",
|
|
13644
13923
|
"gds.action.register": "\uB4F1\uB85D\uD558\uB2E4",
|
|
13645
|
-
"gds.action.verify": "\uD655\uC778
|
|
13924
|
+
"gds.action.verify": "\uD655\uC778",
|
|
13646
13925
|
"gds.action.launch": "\uC2DC\uC791\uD558\uB2E4",
|
|
13647
13926
|
"gds.action.draft": "\uCD08\uC548",
|
|
13648
13927
|
"gds.action.refer": "\uB098\uD0C0\uB0B4\uB2E4",
|
|
@@ -13670,7 +13949,7 @@ var ko = {
|
|
|
13670
13949
|
"gds.feedback.duplicated": "\uC911\uBCF5\uB428",
|
|
13671
13950
|
"gds.feedback.checked": "\uCCB4\uD06C\uB428",
|
|
13672
13951
|
"gds.feedback.unchecked": "\uC120\uD0DD \uD574\uC81C\uB428",
|
|
13673
|
-
"gds.feedback.completed": "\uC644\
|
|
13952
|
+
"gds.feedback.completed": "\uC644\uB8CC\uB428",
|
|
13674
13953
|
"gds.feedback.cleared": "\uC0AD\uC81C\uB428",
|
|
13675
13954
|
"gds.feedback.captured": "\uCEA1\uCC98\uB428",
|
|
13676
13955
|
"gds.feedback.recorded": "\uB179\uC74C\uB428",
|
|
@@ -13682,7 +13961,7 @@ var ko = {
|
|
|
13682
13961
|
"gds.feedback.mailed": "\uC6B0\uD3B8\uC73C\uB85C \uBC1C\uC1A1\uB428",
|
|
13683
13962
|
"gds.feedback.refreshed": "\uC0C8\uB85C \uACE0\uCE68",
|
|
13684
13963
|
"gds.feedback.loggedOut": "\uB85C\uADF8\uC544\uC6C3\uB428",
|
|
13685
|
-
"gds.feedback.filtered": "\
|
|
13964
|
+
"gds.feedback.filtered": "\uD544\uD130\uB9C1\uB428",
|
|
13686
13965
|
"gds.feedback.sorted": "\uC815\uB82C\uB428",
|
|
13687
13966
|
"gds.feedback.exported": "\uC218\uCD9C\uB428",
|
|
13688
13967
|
"gds.feedback.imported": "\uC218\uC785\uB428",
|
|
@@ -13692,7 +13971,7 @@ var ko = {
|
|
|
13692
13971
|
"gds.feedback.toggled": "\uC804\uD658\uB428",
|
|
13693
13972
|
"gds.feedback.searched": "\uAC80\uC0C9\uB428",
|
|
13694
13973
|
"gds.feedback.submitted": "\uC81C\uCD9C\uB41C",
|
|
13695
|
-
"gds.feedback.reset": "\
|
|
13974
|
+
"gds.feedback.reset": "\uC7AC\uC124\uC815",
|
|
13696
13975
|
"gds.feedback.loggedIn": "\uB85C\uADF8\uC778\uB428",
|
|
13697
13976
|
"gds.feedback.registered": "\uB4F1\uAE30",
|
|
13698
13977
|
"gds.feedback.verified": "\uD655\uC778\uB428",
|
|
@@ -13700,17 +13979,17 @@ var ko = {
|
|
|
13700
13979
|
"gds.feedback.drafted": "\uCD08\uC548",
|
|
13701
13980
|
"gds.feedback.referred": "\uCD94\uCC9C\uB428",
|
|
13702
13981
|
"gds.aria.themeToggle": "\uC0C9 \uAD6C\uC131\uD45C \uC804\uD658",
|
|
13703
|
-
"gds.navigation.primary": "\uC8FC\uC694
|
|
13704
|
-
"gds.navigation.more": "\uB354",
|
|
13982
|
+
"gds.navigation.primary": "\uC8FC\uC694",
|
|
13983
|
+
"gds.navigation.more": "\uB354 \uBCF4\uAE30",
|
|
13705
13984
|
"gds.reference.openSection": "\uC139\uC158 \uC5F4\uAE30",
|
|
13706
13985
|
"gds.state.emptyData": "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
13707
13986
|
"gds.state.missingData.title": "\uB204\uB77D\uB41C \uB370\uC774\uD130",
|
|
13708
13987
|
"gds.state.missingData.description": "\uC774 \uBCF4\uAE30\uAC00 \uC2E0\uB8B0\uD560 \uC218 \uC788\uB294 \uACB0\uACFC\uB97C \uD45C\uC2DC\uD558\uB824\uBA74 \uD544\uC694\uD55C \uB370\uC774\uD130\uB97C \uCD94\uAC00\uD558\uC138\uC694.",
|
|
13709
|
-
"gds.overlay.close": "\uB2EB\
|
|
13710
|
-
"gds.form.wizard.back": "\uB4A4\
|
|
13988
|
+
"gds.overlay.close": "\uB2EB\uAE30",
|
|
13989
|
+
"gds.form.wizard.back": "\uB4A4\uB85C",
|
|
13711
13990
|
"gds.form.wizard.next": "\uC800\uC7A5\uD558\uACE0 \uB2E4\uC74C",
|
|
13712
|
-
"gds.form.wizard.finish": "\
|
|
13713
|
-
"gds.form.wizard.progress": "\uC9C4\
|
|
13991
|
+
"gds.form.wizard.finish": "\uC644\uB8CC",
|
|
13992
|
+
"gds.form.wizard.progress": "\uC9C4\uD589\uB960",
|
|
13714
13993
|
"gds.form.wizard.optional": "\uC120\uD0DD\uC801 \uB2E8\uACC4",
|
|
13715
13994
|
"gds.form.slider.label": "\uC2AC\uB77C\uC774\uB354",
|
|
13716
13995
|
"gds.form.rating.aria": "\uD3C9\uAC00",
|
|
@@ -13753,10 +14032,10 @@ var ko = {
|
|
|
13753
14032
|
"gds.asyncSurface.emptyDescription": "\uC544\uC9C1 \uC774 \uD45C\uBA74\uC5D0 \uB300\uD55C \uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
13754
14033
|
"gds.asyncSurface.errorTitle": "\uB85C\uB4DC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
13755
14034
|
"gds.asyncSurface.errorDescription": "\uC774 \uD45C\uBA74\uC744 \uC900\uBE44\uD558\uB294 \uC911\uC5D0 \uBB38\uC81C\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4.",
|
|
13756
|
-
"gds.asyncSurface.refreshingTitle": "\
|
|
14035
|
+
"gds.asyncSurface.refreshingTitle": "\uC0C8\uB85C\uACE0\uCE68 \uC911",
|
|
13757
14036
|
"gds.asyncSurface.refreshingDescription": "\uCD5C\uC2E0 \uB370\uC774\uD130\uB97C \uAC00\uC838\uC624\uB294 \uC911\uC785\uB2C8\uB2E4.",
|
|
13758
14037
|
"gds.authShell.dividerLabel": "\uC544\uB2C8\uBA74 \uACC4\uC815\uC744 \uACC4\uC18D \uC0AC\uC6A9\uD558\uC138\uC694",
|
|
13759
|
-
"gds.bottomTabBar.ariaLabel": "\uC8FC\uC694
|
|
14038
|
+
"gds.bottomTabBar.ariaLabel": "\uC8FC\uC694",
|
|
13760
14039
|
"gds.browseSurface.resultLabel": "\uACB0\uACFC",
|
|
13761
14040
|
"gds.browseSurface.scopeLabel": "\uBC94\uC704",
|
|
13762
14041
|
"gds.browseSurface.loadingTitle": "\uACB0\uACFC \uB85C\uB4DC \uC911",
|
|
@@ -13766,30 +14045,30 @@ var ko = {
|
|
|
13766
14045
|
"gds.browseSurface.emptyDescription": "\uD544\uD130\uB97C \uC870\uC815\uD558\uAC70\uB098 \uD604\uC7AC \uBC94\uC704\uB97C \uB113\uD600\uBCF4\uC138\uC694.",
|
|
13767
14046
|
"gds.chatSurface.userLabel": "\uB108",
|
|
13768
14047
|
"gds.chatSurface.assistantLabel": "\uC5B4\uC2DC\uC2A4\uD134\uD2B8",
|
|
13769
|
-
"gds.chatSurface.retryLabel": "\uB2E4\uC2DC \
|
|
14048
|
+
"gds.chatSurface.retryLabel": "\uB2E4\uC2DC \uC2DC\uB3C4",
|
|
13770
14049
|
"gds.chatSurface.label": "\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uC785\uB825 \uC911\uC785\uB2C8\uB2E4.",
|
|
13771
14050
|
"gds.chatSurface.placeholder": "\uBA54\uC2DC\uC9C0\u2026",
|
|
13772
|
-
"gds.chatSurface.sendLabel": "\uBCF4\uB0B4\
|
|
14051
|
+
"gds.chatSurface.sendLabel": "\uBCF4\uB0B4\uAE30",
|
|
13773
14052
|
"gds.discoveryShell.mobileNavigationLabel": "\uD0D0\uC0C9 \uC804\uD658",
|
|
13774
14053
|
"gds.discoveryShell.desktopNavigationLabel": "\uC0AC\uC774\uB4DC\uBC14 \uC804\uD658",
|
|
13775
14054
|
"gds.navigation.openMobile": "\uBB38\uC11C \uD0D0\uC0C9 \uC5F4\uAE30",
|
|
13776
|
-
"gds.editorialCard.ctaLabel": "\uD0D0\
|
|
14055
|
+
"gds.editorialCard.ctaLabel": "\uD0D0\uC0C9",
|
|
13777
14056
|
"gds.featureBand.emptyTitle": "\uC9C0\uC6D0 \uC138\uBD80\uC815\uBCF4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
13778
14057
|
"gds.featureBand.emptyDescription": "\uC774 \uACF5\uAC1C \uD45C\uBA74\uC5D0 \uC2E0\uB8B0, \uC11C\uBE44\uC2A4 \uB610\uB294 \uC704\uCE58 \uCEE8\uD14D\uC2A4\uD2B8\uAC00 \uD544\uC694\uD55C \uACBD\uC6B0 \uACF5\uC720 \uAE30\uB2A5 \uBC34\uB4DC \uD56D\uBAA9\uC744 \uCD94\uAC00\uD558\uC138\uC694.",
|
|
13779
14058
|
"gds.featureBand.sectionLabel": "\uC9C0\uC6D0 \uAE30\uB2A5",
|
|
13780
|
-
"gds.gdsAccessGate.teaserLabel": "\
|
|
14059
|
+
"gds.gdsAccessGate.teaserLabel": "\uBBF8\uB9AC\uBCF4\uAE30",
|
|
13781
14060
|
"gds.gdsBreadcrumbs.ariaLabel": "\uD0D0\uC0C9\uACBD\uB85C",
|
|
13782
14061
|
"gds.gdsDataTable.caption": "\uB370\uC774\uD130 \uD14C\uC774\uBE14",
|
|
13783
|
-
"gds.gdsDataTable.exportLabel": "\uB0B4\uBCF4\uB0B4\
|
|
13784
|
-
"gds.gdsDataTable.retryLabel": "\uB2E4\uC2DC \
|
|
14062
|
+
"gds.gdsDataTable.exportLabel": "\uB0B4\uBCF4\uB0B4\uAE30",
|
|
14063
|
+
"gds.gdsDataTable.retryLabel": "\uB2E4\uC2DC \uC2DC\uB3C4",
|
|
13785
14064
|
"gds.gdsForm.title": "\uB2E4\uC74C \uBB38\uC81C\uB97C \uAC80\uD1A0\uD574 \uBCF4\uC138\uC694.",
|
|
13786
|
-
"gds.gdsFormControls.backLabel": "\uB4A4\
|
|
14065
|
+
"gds.gdsFormControls.backLabel": "\uB4A4\uB85C",
|
|
13787
14066
|
"gds.gdsFormControls.saveNextLabel": "\uC800\uC7A5\uD558\uACE0 \uB2E4\uC74C",
|
|
13788
|
-
"gds.gdsFormControls.finishLabel": "\
|
|
13789
|
-
"gds.gdsFormControls.ariaLabel": "\uC9C4\
|
|
13790
|
-
"gds.gdsPageTemplates.retryLabel": "\uB2E4\uC2DC \
|
|
14067
|
+
"gds.gdsFormControls.finishLabel": "\uC644\uB8CC",
|
|
14068
|
+
"gds.gdsFormControls.ariaLabel": "\uC9C4\uD589\uB960",
|
|
14069
|
+
"gds.gdsPageTemplates.retryLabel": "\uB2E4\uC2DC \uC2DC\uB3C4",
|
|
13791
14070
|
"gds.gdsResourceManager.emptyLabel": "\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uB9AC\uC18C\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
13792
|
-
"gds.gdsSchemaForm.submitLabel": "\uC81C\uCD9C
|
|
14071
|
+
"gds.gdsSchemaForm.submitLabel": "\uC81C\uCD9C",
|
|
13793
14072
|
"gds.layoutTemplatePreview.title": "\uD15C\uD50C\uB9BF \uC694\uB9AC\uCC45",
|
|
13794
14073
|
"gds.layoutTemplatePreview.description": "\uD15C\uD50C\uB9BF\uC744 \uC120\uD0DD\uD558\uACE0 JSON\uC744 \uD3B8\uC9D1\uD55C \uB2E4\uC74C \uC2E4\uC2DC\uAC04 \uC9C4\uB2E8 \uBC0F \uB80C\uB354\uB9C1\uB41C \uB808\uC774\uC544\uC6C3\uC744 \uBBF8\uB9AC \uBCF4\uB824\uBA74 \uC801\uC6A9\uD558\uC138\uC694.",
|
|
13795
14074
|
"gds.listingCard.featuredLabel": "\uCD94\uCC9C",
|
|
@@ -13797,17 +14076,17 @@ var ko = {
|
|
|
13797
14076
|
"gds.listingCard.ratingLabel": "\uD3C9\uAC00",
|
|
13798
14077
|
"gds.listingCard.reasonLabel": "\uC774\uAC83\uC774 \uC801\uD569\uD55C \uC774\uC720",
|
|
13799
14078
|
"gds.listingPrimitives.emptyLabel": "\uD65C\uC131 \uD544\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
13800
|
-
"gds.listingPrimitives.label": "\
|
|
14079
|
+
"gds.listingPrimitives.label": "\uC815\uB82C",
|
|
13801
14080
|
"gds.notifications.title": "\uC54C\uB9BC",
|
|
13802
14081
|
"gds.notifications.emptyMessage": "\uD65C\uC131 \uC54C\uB9BC\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
13803
|
-
"gds.numberStepper.decrementLabel": "\uAC10\uC18C
|
|
13804
|
-
"gds.numberStepper.incrementLabel": "\uC99D\uAC00
|
|
14082
|
+
"gds.numberStepper.decrementLabel": "\uAC10\uC18C",
|
|
14083
|
+
"gds.numberStepper.incrementLabel": "\uC99D\uAC00",
|
|
13805
14084
|
"gds.partnerDiscovery.detailLabel": "\uC138\uBD80\uC815\uBCF4 \uBCF4\uAE30",
|
|
13806
14085
|
"gds.partnerDiscovery.zoomInLabel": "\uD655\uB300",
|
|
13807
14086
|
"gds.partnerDiscovery.zoomOutLabel": "\uCD95\uC18C",
|
|
13808
14087
|
"gds.searchableSelect.noResultsLabel": "\uAC80\uC0C9\uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4",
|
|
13809
14088
|
"gds.searchableSelect.errorLabel": "\uC635\uC158\uC744 \uB85C\uB4DC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
13810
|
-
"gds.searchableSelect.retryLabel": "\uB2E4\uC2DC \
|
|
14089
|
+
"gds.searchableSelect.retryLabel": "\uB2E4\uC2DC \uC2DC\uB3C4",
|
|
13811
14090
|
"gds.shareButtonGroup.label": "\uACF5\uC720\uD558\uAE30",
|
|
13812
14091
|
"gds.sidebarNav.ariaLabel": "\uAE30\uBCF8 \uD0D0\uC0C9",
|
|
13813
14092
|
"gds.simpleDataTable.emptyTitle": "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4",
|
|
@@ -13841,8 +14120,6 @@ var ko = {
|
|
|
13841
14120
|
"gds.notificationBell.unreadLabel": "\uC54C\uB9BC (\uC77D\uC9C0 \uC54A\uC74C)",
|
|
13842
14121
|
"gds.compareButton.add": "\uBE44\uAD50",
|
|
13843
14122
|
"gds.compareButton.added": "\uBE44\uAD50\uC5D0 \uCD94\uAC00\uB428",
|
|
13844
|
-
"gds.detailFacts.ageRange": "\uC5F0\uB839\uB300",
|
|
13845
|
-
"gds.detailFacts.activityType": "\uD65C\uB3D9 \uC720\uD615",
|
|
13846
14123
|
"gds.detailFacts.format": "\uD615\uC2DD",
|
|
13847
14124
|
"gds.detailFacts.location": "\uC704\uCE58",
|
|
13848
14125
|
"gds.detailFacts.setting": "\uC2E4\uB0B4/\uC2E4\uC678",
|
|
@@ -13887,8 +14164,8 @@ var ko = {
|
|
|
13887
14164
|
"gds.trust.checklist.registration": "\uB4F1\uB85D \uC694\uAC74",
|
|
13888
14165
|
"gds.trust.checklist.cancellation": "\uCDE8\uC18C/\uD658\uBD88 \uC815\uCC45",
|
|
13889
14166
|
"gds.trust.checklist.parentPresence": "\uBCF4\uD638\uC790 \uB3D9\uBC18 \uD544\uC694",
|
|
13890
|
-
"gds.appShell.primaryHeading": "\uC8FC\uC694
|
|
13891
|
-
"gds.appShell.secondaryHeading": "\uB354",
|
|
14167
|
+
"gds.appShell.primaryHeading": "\uC8FC\uC694",
|
|
14168
|
+
"gds.appShell.secondaryHeading": "\uB354 \uBCF4\uAE30",
|
|
13892
14169
|
"gds.appShell.accountHeading": "\uACC4\uC815",
|
|
13893
14170
|
"gds.state.emptyDataTitle": "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4",
|
|
13894
14171
|
"gds.bulkActions.selectedCount": "{count}\uAC1C \uC120\uD0DD\uB428",
|
|
@@ -13897,13 +14174,13 @@ var ko = {
|
|
|
13897
14174
|
"gds.bulkActions.clearSelection": "\uC120\uD0DD \uCDE8\uC18C",
|
|
13898
14175
|
"gds.treeView.loading": "\uB85C\uB4DC \uC911\u2026",
|
|
13899
14176
|
"gds.treeView.loadError": "\uC774 \uD56D\uBAA9\uC744 \uB85C\uB4DC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
13900
|
-
"gds.treeView.retry": "\uB2E4\uC2DC \
|
|
14177
|
+
"gds.treeView.retry": "\uB2E4\uC2DC \uC2DC\uB3C4",
|
|
13901
14178
|
"gds.dataView.toggleLabel": "\uACF5\uB4E4\uC5EC \uB098\uC5F4\uD55C \uAC83",
|
|
13902
14179
|
"gds.dataView.table": "\uD14C\uC774\uBE14",
|
|
13903
14180
|
"gds.dataView.grid": "\uADF8\uB9AC\uB4DC",
|
|
13904
14181
|
"gds.messageThread.you": "\uB108",
|
|
13905
14182
|
"gds.threadList.errorTitle": "\uB300\uD654\uB97C \uB85C\uB4DC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
13906
|
-
"gds.threadList.retry": "\uB2E4\uC2DC \
|
|
14183
|
+
"gds.threadList.retry": "\uB2E4\uC2DC \uC2DC\uB3C4",
|
|
13907
14184
|
"gds.threadList.loading": "\uB300\uD654 \uB85C\uB4DC \uC911",
|
|
13908
14185
|
"gds.threadList.emptyTitle": "\uC544\uC9C1 \uB300\uD654\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
13909
14186
|
"gds.threadList.unread": "\uC77D\uD788\uC9C0 \uC54A\uB294",
|
|
@@ -13917,13 +14194,13 @@ var ko = {
|
|
|
13917
14194
|
"gds.workspaceInboxTemplate.loading": "\uB300\uD654 \uB85C\uB4DC \uC911",
|
|
13918
14195
|
"gds.workspaceInboxTemplate.noSelection": "\uB300\uD654\uB97C \uC120\uD0DD\uD558\uC138\uC694",
|
|
13919
14196
|
"gds.workspaceInboxTemplate.navigation": "\uC791\uC5C5\uACF5\uAC04",
|
|
13920
|
-
"gds.asyncSurface.retry": "\uB2E4\uC2DC \
|
|
14197
|
+
"gds.asyncSurface.retry": "\uB2E4\uC2DC \uC2DC\uB3C4",
|
|
13921
14198
|
"gds.gdsPageTemplates.state.loading.title": "\uB85C\uB4DC \uC911",
|
|
13922
14199
|
"gds.gdsPageTemplates.state.empty.title": "\uC544\uC9C1 \uC544\uBB34\uAC83\uB3C4 \uC5C6\uC2B5\uB2C8\uB2E4",
|
|
13923
14200
|
"gds.gdsPageTemplates.state.ready.title": "\uC900\uBE44\uAC00 \uB41C",
|
|
13924
14201
|
"gds.gdsPageTemplates.state.error.title": "\uB85C\uB4DC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
13925
14202
|
"gds.gdsPageTemplates.state.retrying.title": "\uC7AC\uC2DC\uB3C4 \uC911",
|
|
13926
|
-
"gds.gdsPageTemplates.state.saving.title": "\
|
|
14203
|
+
"gds.gdsPageTemplates.state.saving.title": "\uC800\uC7A5 \uC911",
|
|
13927
14204
|
"gds.gdsPageTemplates.state.permissionDenied.title": "\uD5C8\uAC00\uAC00 \uAC70\uBD80\uB418\uC5C8\uC2B5\uB2C8\uB2E4",
|
|
13928
14205
|
"gds.gdsPageTemplates.state.notFound.title": "\uCC3E\uC744 \uC218 \uC5C6\uC74C",
|
|
13929
14206
|
"gds.gdsPageTemplates.state.loading.description": "\uCD5C\uC2E0 \uB370\uC774\uD130\uB97C \uB85C\uB4DC \uC911\uC785\uB2C8\uB2E4.",
|
|
@@ -13945,7 +14222,7 @@ var ko = {
|
|
|
13945
14222
|
"gds.gdsPageTemplates.resources.emptyDescription": "\uC2DC\uC791\uD558\uB824\uBA74 \uB9AC\uC18C\uC2A4\uB97C \uB9CC\uB4E4\uAC70\uB098 \uAC00\uC838\uC624\uC138\uC694.",
|
|
13946
14223
|
"gds.gdsPageTemplates.resources.selectedTitle": "\uC120\uD0DD\uD55C \uB9AC\uC18C\uC2A4",
|
|
13947
14224
|
"gds.gdsPageTemplates.crud.summaryTitle": "\uC694\uC57D",
|
|
13948
|
-
"gds.gdsPageTemplates.crud.editorTitle": "\uD3B8\uC9D1\
|
|
14225
|
+
"gds.gdsPageTemplates.crud.editorTitle": "\uD3B8\uC9D1\uAE30",
|
|
13949
14226
|
"gds.gdsPageTemplates.crud.destructiveTitle": "\uD30C\uAD34\uC801\uC778 \uD589\uB3D9",
|
|
13950
14227
|
"gds.gdsPageTemplates.crud.destructiveDescription": "\uC774\uB7EC\uD55C \uBCC0\uACBD\uC0AC\uD56D\uC740 \uCDE8\uC18C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
13951
14228
|
"gds.gdsPageTemplates.analytics.chartsTitle": "\uCC28\uD2B8",
|
|
@@ -13960,7 +14237,7 @@ var ko = {
|
|
|
13960
14237
|
"gds.notifications.severity.error": "\uC624\uB958",
|
|
13961
14238
|
"gds.notifications.severity.warning": "\uACBD\uACE0",
|
|
13962
14239
|
"gds.notifications.severity.info": "\uC815\uBCF4",
|
|
13963
|
-
"gds.notifications.severity.neutral": "\uC54C\
|
|
14240
|
+
"gds.notifications.severity.neutral": "\uC54C\uB9BC",
|
|
13964
14241
|
"gds.notifications.severity.loading": "\uC9C4\uD589 \uC911",
|
|
13965
14242
|
"gds.searchableSelect.clear": "\uC120\uD0DD \uCDE8\uC18C",
|
|
13966
14243
|
"gds.confirm.undoTitle": "\uC791\uC5C5\uC744 \uCDE8\uC18C\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",
|
|
@@ -13971,14 +14248,41 @@ var ko = {
|
|
|
13971
14248
|
"gds.confirm.retryHint": "\uC7AC\uC2DC\uB3C4\uD558\uB824\uBA74 \uAE30\uBCF8 \uC791\uC5C5\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.",
|
|
13972
14249
|
"gds.toast.more": "{count}\uAC1C \uB354\uBCF4\uAE30",
|
|
13973
14250
|
"gds.notifications.status.retrying": "\uC7AC\uC2DC\uB3C4 \uC911",
|
|
13974
|
-
"gds.notifications.retry": "\uB2E4\uC2DC \
|
|
13975
|
-
"gds.notifications.dismiss": "\
|
|
14251
|
+
"gds.notifications.retry": "\uB2E4\uC2DC \uC2DC\uB3C4",
|
|
14252
|
+
"gds.notifications.dismiss": "\uB2EB\uAE30",
|
|
13976
14253
|
"gds.notifications.status.loading": "\uB85C\uB4DC \uC911",
|
|
13977
|
-
"gds.notifications.status.dismissed": "\
|
|
13978
|
-
"gds.notifications.status.failed": "\uC2E4\uD328
|
|
14254
|
+
"gds.notifications.status.dismissed": "\uB2EB\uD798",
|
|
14255
|
+
"gds.notifications.status.failed": "\uC2E4\uD328",
|
|
13979
14256
|
"gds.notifications.status.succeeded": "\uC131\uACF5\uD568",
|
|
13980
14257
|
"gds.notifications.clearAll": "\uBAA8\uB450 \uC9C0\uC6B0\uAE30",
|
|
13981
|
-
"gds.toast.regionLabel": "\uCD5C\uADFC \uC54C\uB9BC"
|
|
14258
|
+
"gds.toast.regionLabel": "\uCD5C\uADFC \uC54C\uB9BC",
|
|
14259
|
+
"gds.detailFacts.audience": "\uCCAD\uC911",
|
|
14260
|
+
"gds.detailFacts.category": "\uBC94\uC8FC",
|
|
14261
|
+
"gds.docsCodeBlock.copied": "\uBCF5\uC0AC\uB41C \uCF54\uB4DC \uBE14\uB85D",
|
|
14262
|
+
"gds.docsCodeBlock.copy": "\uCF54\uB4DC \uBE14\uB85D \uBCF5\uC0AC",
|
|
14263
|
+
"gds.docsCodeDisclosure.show": "\uCF54\uB4DC \uD45C\uC2DC",
|
|
14264
|
+
"gds.docsCodeDisclosure.loading": "\uCF54\uB4DC \uB85C\uB4DC \uC911\u2026",
|
|
14265
|
+
"gds.docsCodeDisclosure.error": "\uCF54\uB4DC\uB97C \uB85C\uB4DC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB2EB\uC558\uB2E4\uAC00 \uB2E4\uC2DC \uC5F4\uC5B4\uC11C \uC2DC\uB3C4\uD574 \uBCF4\uC138\uC694.",
|
|
14266
|
+
"gds.docsCodeBlock.region": "\uCF54\uB4DC",
|
|
14267
|
+
"gds.tableScroll.region": "\uD14C\uC774\uBE14",
|
|
14268
|
+
"gds.styleProfile.default": "\uC0AC\uC804 \uC124\uC815\uB41C \uAE30\uBCF8\uAC12",
|
|
14269
|
+
"gds.styleProfile.minimal": "\uCD5C\uC18C",
|
|
14270
|
+
"gds.styleProfile.soft": "\uBD80\uB4DC\uB7EC\uC6B4",
|
|
14271
|
+
"gds.styleProfile.structured": "\uAD6C\uC870\uD654\uB428",
|
|
14272
|
+
"gds.themeExplorer.styleProfile": "\uC2A4\uD0C0\uC77C \uD504\uB85C\uD544",
|
|
14273
|
+
"gds.pending.send": "\uBCF4\uB0B4\uB294 \uC911\u2026",
|
|
14274
|
+
"gds.pending.save": "\uC800\uC7A5 \uC911\u2026",
|
|
14275
|
+
"gds.pending.copy": "\uBCF5\uC0AC \uC911\u2026",
|
|
14276
|
+
"gds.pending.delete": "\uC0AD\uC81C \uC911\u2026",
|
|
14277
|
+
"gds.pending.add": "\uCD94\uAC00 \uC911\u2026",
|
|
14278
|
+
"gds.pending.download": "\uB2E4\uC6B4\uB85C\uB4DC \uC911\u2026",
|
|
14279
|
+
"gds.pending.upload": "\uC5C5\uB85C\uB4DC \uC911\u2026",
|
|
14280
|
+
"gds.pending.refresh": "\uC0C8\uB85C \uACE0\uCE58\uB294 \uC911\u2026",
|
|
14281
|
+
"gds.pending.complete": "\uC644\uB8CC \uC911\u2026",
|
|
14282
|
+
"gds.pending.submit": "\uC81C\uCD9C \uC911\u2026",
|
|
14283
|
+
"gds.pending.working": "\uCC98\uB9AC \uC911\u2026",
|
|
14284
|
+
"gds.feedback.failed": "\uC2E4\uD328",
|
|
14285
|
+
"gds.feedback.confirmAgain": "\uD655\uC778\uD558\uB824\uBA74 \uB2E4\uC2DC \uD074\uB9AD\uD558\uC138\uC694"
|
|
13982
14286
|
};
|
|
13983
14287
|
|
|
13984
14288
|
// src/locales/ru.ts
|
|
@@ -14268,8 +14572,6 @@ var ru = {
|
|
|
14268
14572
|
"gds.notificationBell.unreadLabel": "\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F (\u043D\u0435\u043F\u0440\u043E\u0447\u0438\u0442\u0430\u043D\u043D\u044B\u0435)",
|
|
14269
14573
|
"gds.compareButton.add": "\u0421\u0440\u0430\u0432\u043D\u0438\u0442\u044C",
|
|
14270
14574
|
"gds.compareButton.added": "\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043E \u0434\u043B\u044F \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044F",
|
|
14271
|
-
"gds.detailFacts.ageRange": "\u0412\u043E\u0437\u0440\u0430\u0441\u0442\u043D\u043E\u0439 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",
|
|
14272
|
-
"gds.detailFacts.activityType": "\u0422\u0438\u043F \u0437\u0430\u043D\u044F\u0442\u0438\u044F",
|
|
14273
14575
|
"gds.detailFacts.format": "\u0424\u043E\u0440\u043C\u0430\u0442",
|
|
14274
14576
|
"gds.detailFacts.location": "\u041C\u0435\u0441\u0442\u043E",
|
|
14275
14577
|
"gds.detailFacts.setting": "\u0412 \u043F\u043E\u043C\u0435\u0449\u0435\u043D\u0438\u0438/\u043D\u0430 \u0443\u043B\u0438\u0446\u0435",
|
|
@@ -14326,7 +14628,7 @@ var ru = {
|
|
|
14326
14628
|
"gds.treeView.loadError": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u044D\u0442\u0438 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B.",
|
|
14327
14629
|
"gds.treeView.retry": "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443",
|
|
14328
14630
|
"gds.dataView.toggleLabel": "\u041C\u0430\u043A\u0435\u0442",
|
|
14329
|
-
"gds.dataView.table": "\
|
|
14631
|
+
"gds.dataView.table": "\u0422\u0430\u0431\u043B\u0438\u0446\u0430",
|
|
14330
14632
|
"gds.dataView.grid": "\u0421\u0435\u0442\u043A\u0430",
|
|
14331
14633
|
"gds.messageThread.you": "\u0422\u044B",
|
|
14332
14634
|
"gds.threadList.errorTitle": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0431\u0435\u0441\u0435\u0434\u044B",
|
|
@@ -14405,7 +14707,34 @@ var ru = {
|
|
|
14405
14707
|
"gds.notifications.status.failed": "\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u044B\u0439",
|
|
14406
14708
|
"gds.notifications.status.succeeded": "\u0423\u0434\u0430\u043B\u043E\u0441\u044C",
|
|
14407
14709
|
"gds.notifications.clearAll": "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0432\u0441\u0435",
|
|
14408
|
-
"gds.toast.regionLabel": "\u041D\u0435\u0434\u0430\u0432\u043D\u0438\u0435 \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F"
|
|
14710
|
+
"gds.toast.regionLabel": "\u041D\u0435\u0434\u0430\u0432\u043D\u0438\u0435 \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F",
|
|
14711
|
+
"gds.detailFacts.audience": "\u0410\u0443\u0434\u0438\u0442\u043E\u0440\u0438\u044F",
|
|
14712
|
+
"gds.detailFacts.category": "\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F",
|
|
14713
|
+
"gds.docsCodeBlock.copied": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0431\u043B\u043E\u043A \u043A\u043E\u0434\u0430",
|
|
14714
|
+
"gds.docsCodeBlock.copy": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0431\u043B\u043E\u043A \u043A\u043E\u0434\u0430",
|
|
14715
|
+
"gds.docsCodeDisclosure.show": "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u043E\u0434",
|
|
14716
|
+
"gds.docsCodeDisclosure.loading": "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u043E\u0434\u0430\u2026",
|
|
14717
|
+
"gds.docsCodeDisclosure.error": "\u041A\u043E\u0434 \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C. \u0417\u0430\u043A\u0440\u043E\u0439\u0442\u0435 \u0438 \u0441\u043D\u043E\u0432\u0430 \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443.",
|
|
14718
|
+
"gds.docsCodeBlock.region": "\u041A\u043E\u0434",
|
|
14719
|
+
"gds.tableScroll.region": "\u0422\u0430\u0431\u043B\u0438\u0446\u0430",
|
|
14720
|
+
"gds.styleProfile.default": "\u041F\u0440\u0435\u0434\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0430 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",
|
|
14721
|
+
"gds.styleProfile.minimal": "\u041C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u044B\u0439",
|
|
14722
|
+
"gds.styleProfile.soft": "\u041C\u044F\u0433\u043A\u0438\u0439",
|
|
14723
|
+
"gds.styleProfile.structured": "\u0421\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439",
|
|
14724
|
+
"gds.themeExplorer.styleProfile": "\u041F\u0440\u043E\u0444\u0438\u043B\u044C \u0441\u0442\u0438\u043B\u044F",
|
|
14725
|
+
"gds.pending.send": "\u041E\u0442\u043F\u0440\u0430\u0432\u043A\u0430\u2026",
|
|
14726
|
+
"gds.pending.save": "\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u2026",
|
|
14727
|
+
"gds.pending.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435\u2026",
|
|
14728
|
+
"gds.pending.delete": "\u0423\u0434\u0430\u043B\u0435\u043D\u0438\u0435\u2026",
|
|
14729
|
+
"gds.pending.add": "\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u2026",
|
|
14730
|
+
"gds.pending.download": "\u0421\u043A\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u0435\u2026",
|
|
14731
|
+
"gds.pending.upload": "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430\u2026",
|
|
14732
|
+
"gds.pending.refresh": "\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u2026",
|
|
14733
|
+
"gds.pending.complete": "\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0435\u2026",
|
|
14734
|
+
"gds.pending.submit": "\u041E\u0442\u043F\u0440\u0430\u0432\u043A\u0430\u2026",
|
|
14735
|
+
"gds.pending.working": "\u0412\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F\u2026",
|
|
14736
|
+
"gds.feedback.failed": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C",
|
|
14737
|
+
"gds.feedback.confirmAgain": "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C"
|
|
14409
14738
|
};
|
|
14410
14739
|
|
|
14411
14740
|
// src/locales/zh.ts
|
|
@@ -14419,24 +14748,24 @@ var zh = {
|
|
|
14419
14748
|
"gds.action.settings": "\u8BBE\u7F6E",
|
|
14420
14749
|
"gds.action.analytics": "\u5206\u6790",
|
|
14421
14750
|
"gds.action.dashboard": "\u4EEA\u8868\u677F",
|
|
14422
|
-
"gds.action.play": "\
|
|
14751
|
+
"gds.action.play": "\u64AD\u653E",
|
|
14423
14752
|
"gds.action.start": "\u5F00\u59CB",
|
|
14424
14753
|
"gds.action.users": "\u7528\u6237",
|
|
14425
14754
|
"gds.action.add": "\u6DFB\u52A0",
|
|
14426
14755
|
"gds.action.edit": "\u7F16\u8F91",
|
|
14427
14756
|
"gds.action.delete": "\u5220\u9664",
|
|
14428
|
-
"gds.action.save": "\
|
|
14757
|
+
"gds.action.save": "\u4FDD\u5B58",
|
|
14429
14758
|
"gds.action.cancel": "\u53D6\u6D88",
|
|
14430
14759
|
"gds.action.confirm": "\u786E\u8BA4",
|
|
14431
14760
|
"gds.action.close": "\u5173\u95ED",
|
|
14432
14761
|
"gds.action.language": "\u8BED\u8A00",
|
|
14433
14762
|
"gds.action.theme": "\u4E3B\u9898",
|
|
14434
|
-
"gds.action.home": "\
|
|
14763
|
+
"gds.action.home": "\u9996\u9875",
|
|
14435
14764
|
"gds.action.inbox": "\u6536\u4EF6\u7BB1",
|
|
14436
14765
|
"gds.action.calendar": "\u65E5\u5386",
|
|
14437
|
-
"gds.action.gallery": "\
|
|
14766
|
+
"gds.action.gallery": "\u56FE\u5E93",
|
|
14438
14767
|
"gds.action.history": "\u5386\u53F2",
|
|
14439
|
-
"gds.action.profile": "\
|
|
14768
|
+
"gds.action.profile": "\u4E2A\u4EBA\u8D44\u6599",
|
|
14440
14769
|
"gds.action.send": "\u53D1\u9001",
|
|
14441
14770
|
"gds.action.reply": "\u56DE\u590D",
|
|
14442
14771
|
"gds.action.forward": "\u5411\u524D",
|
|
@@ -14448,7 +14777,7 @@ var zh = {
|
|
|
14448
14777
|
"gds.action.duplicate": "\u590D\u5236",
|
|
14449
14778
|
"gds.action.check": "\u67E5\u770B",
|
|
14450
14779
|
"gds.action.uncheck": "\u53D6\u6D88\u9009\u4E2D",
|
|
14451
|
-
"gds.action.complete": "\u5B8C\
|
|
14780
|
+
"gds.action.complete": "\u5B8C\u6210",
|
|
14452
14781
|
"gds.action.clear": "\u6E05\u9664",
|
|
14453
14782
|
"gds.action.capture": "\u6355\u83B7",
|
|
14454
14783
|
"gds.action.record": "\u8BB0\u5F55",
|
|
@@ -14465,11 +14794,11 @@ var zh = {
|
|
|
14465
14794
|
"gds.action.habit": "\u4E60\u60EF",
|
|
14466
14795
|
"gds.action.goal": "\u76EE\u6807",
|
|
14467
14796
|
"gds.action.streak": "\u6761\u7EB9",
|
|
14468
|
-
"gds.action.reward": "\
|
|
14469
|
-
"gds.action.trophy": "\u676F",
|
|
14797
|
+
"gds.action.reward": "\u5956\u52B1",
|
|
14798
|
+
"gds.action.trophy": "\u5956\u676F",
|
|
14470
14799
|
"gds.action.crown": "\u738B\u51A0",
|
|
14471
14800
|
"gds.action.pause": "\u6682\u505C",
|
|
14472
|
-
"gds.action.message": "\
|
|
14801
|
+
"gds.action.message": "\u6D88\u606F",
|
|
14473
14802
|
"gds.action.mail": "\u90AE\u4EF6",
|
|
14474
14803
|
"gds.action.refresh": "\u5237\u65B0",
|
|
14475
14804
|
"gds.action.trendingUp": "\u8D8B\u52BF\u4E0A\u5347",
|
|
@@ -14484,8 +14813,8 @@ var zh = {
|
|
|
14484
14813
|
"gds.action.eyeOff": "\u9690\u85CF",
|
|
14485
14814
|
"gds.action.help": "\u5E2E\u52A9",
|
|
14486
14815
|
"gds.action.filter": "\u7B5B\u9009",
|
|
14487
|
-
"gds.action.sort": "\
|
|
14488
|
-
"gds.action.export": "\u51FA
|
|
14816
|
+
"gds.action.sort": "\u6392\u5E8F",
|
|
14817
|
+
"gds.action.export": "\u5BFC\u51FA",
|
|
14489
14818
|
"gds.action.import": "\u8FDB\u53E3",
|
|
14490
14819
|
"gds.action.preview": "\u9884\u89C8",
|
|
14491
14820
|
"gds.action.clone": "\u514B\u9686",
|
|
@@ -14496,14 +14825,14 @@ var zh = {
|
|
|
14496
14825
|
"gds.action.reset": "\u91CD\u7F6E",
|
|
14497
14826
|
"gds.action.login": "\u767B\u5F55",
|
|
14498
14827
|
"gds.action.register": "\u767B\u8BB0",
|
|
14499
|
-
"gds.action.verify": "\
|
|
14828
|
+
"gds.action.verify": "\u9A8C\u8BC1",
|
|
14500
14829
|
"gds.action.launch": "\u53D1\u5C04",
|
|
14501
14830
|
"gds.action.draft": "\u8349\u7A3F",
|
|
14502
14831
|
"gds.action.refer": "\u53C2\u8003",
|
|
14503
14832
|
"gds.action.evidence": "\u8BC1\u636E",
|
|
14504
14833
|
"gds.feedback.saved": "\u5DF2\u4FDD\u5B58",
|
|
14505
14834
|
"gds.feedback.error": "\u51FA\u4E86\u70B9\u95EE\u9898",
|
|
14506
|
-
"gds.feedback.added": "\
|
|
14835
|
+
"gds.feedback.added": "\u5DF2\u6DFB\u52A0",
|
|
14507
14836
|
"gds.feedback.edited": "\u5DF2\u7F16\u8F91",
|
|
14508
14837
|
"gds.feedback.deleted": "\u5DF2\u5220\u9664",
|
|
14509
14838
|
"gds.feedback.canceled": "\u53D6\u6D88",
|
|
@@ -14513,7 +14842,7 @@ var zh = {
|
|
|
14513
14842
|
"gds.feedback.loaded": "\u5DF2\u52A0\u8F7D",
|
|
14514
14843
|
"gds.feedback.started": "\u5F00\u59CB",
|
|
14515
14844
|
"gds.feedback.opened": "\u5DF2\u5F00\u901A",
|
|
14516
|
-
"gds.feedback.sent": "\u53D1\u9001",
|
|
14845
|
+
"gds.feedback.sent": "\u5DF2\u53D1\u9001",
|
|
14517
14846
|
"gds.feedback.replied": "\u5DF2\u56DE\u590D",
|
|
14518
14847
|
"gds.feedback.forwarded": "\u8F6C\u53D1",
|
|
14519
14848
|
"gds.feedback.attached": "\u968F\u9644\u7684",
|
|
@@ -14524,17 +14853,17 @@ var zh = {
|
|
|
14524
14853
|
"gds.feedback.duplicated": "\u91CD\u590D\u7684",
|
|
14525
14854
|
"gds.feedback.checked": "\u5DF2\u68C0\u67E5",
|
|
14526
14855
|
"gds.feedback.unchecked": "\u672A\u9009\u4E2D",
|
|
14527
|
-
"gds.feedback.completed": "\u5B8C\
|
|
14856
|
+
"gds.feedback.completed": "\u5DF2\u5B8C\u6210",
|
|
14528
14857
|
"gds.feedback.cleared": "\u5DF2\u6E05\u9664",
|
|
14529
14858
|
"gds.feedback.captured": "\u88AB\u6355\u83B7",
|
|
14530
14859
|
"gds.feedback.recorded": "\u5DF2\u5F55\u5236",
|
|
14531
14860
|
"gds.feedback.flipped": "\u7FFB\u8F6C",
|
|
14532
14861
|
"gds.feedback.flashed": "\u95EA\u73B0",
|
|
14533
|
-
"gds.feedback.done": "\u5B8C\
|
|
14862
|
+
"gds.feedback.done": "\u5B8C\u6210",
|
|
14534
14863
|
"gds.feedback.rewarded": "\u5956\u52B1",
|
|
14535
14864
|
"gds.feedback.paused": "\u5DF2\u6682\u505C",
|
|
14536
14865
|
"gds.feedback.mailed": "\u90AE\u5BC4",
|
|
14537
|
-
"gds.feedback.refreshed": "\
|
|
14866
|
+
"gds.feedback.refreshed": "\u5DF2\u5237\u65B0",
|
|
14538
14867
|
"gds.feedback.loggedOut": "\u5DF2\u6CE8\u9500",
|
|
14539
14868
|
"gds.feedback.filtered": "\u5DF2\u8FC7\u6EE4",
|
|
14540
14869
|
"gds.feedback.sorted": "\u5DF2\u6392\u5E8F",
|
|
@@ -14554,8 +14883,8 @@ var zh = {
|
|
|
14554
14883
|
"gds.feedback.drafted": "\u8D77\u8349",
|
|
14555
14884
|
"gds.feedback.referred": "\u63A8\u8350",
|
|
14556
14885
|
"gds.aria.themeToggle": "\u5207\u6362\u914D\u8272\u65B9\u6848",
|
|
14557
|
-
"gds.navigation.primary": "\
|
|
14558
|
-
"gds.navigation.more": "\u66F4\u591A
|
|
14886
|
+
"gds.navigation.primary": "\u4E3B\u8981",
|
|
14887
|
+
"gds.navigation.more": "\u66F4\u591A",
|
|
14559
14888
|
"gds.reference.openSection": "\u5F00\u653E\u90E8\u5206",
|
|
14560
14889
|
"gds.state.emptyData": "\u65E0\u53EF\u7528\u6570\u636E\u3002",
|
|
14561
14890
|
"gds.state.missingData.title": "\u7F3A\u5931\u6570\u636E",
|
|
@@ -14564,10 +14893,10 @@ var zh = {
|
|
|
14564
14893
|
"gds.form.wizard.back": "\u540E\u9000",
|
|
14565
14894
|
"gds.form.wizard.next": "\u4FDD\u5B58\u5E76\u4E0B\u4E00\u6B65",
|
|
14566
14895
|
"gds.form.wizard.finish": "\u7ED3\u675F",
|
|
14567
|
-
"gds.form.wizard.progress": "\u8FDB\
|
|
14896
|
+
"gds.form.wizard.progress": "\u8FDB\u5EA6",
|
|
14568
14897
|
"gds.form.wizard.optional": "\u53EF\u9009\u6B65\u9AA4",
|
|
14569
14898
|
"gds.form.slider.label": "\u6ED1\u5757",
|
|
14570
|
-
"gds.form.rating.aria": "\
|
|
14899
|
+
"gds.form.rating.aria": "\u8BC4\u5206",
|
|
14571
14900
|
"gds.chart.table.label": "\u6807\u7B7E",
|
|
14572
14901
|
"gds.chart.table.value": "\u4EF7\u503C",
|
|
14573
14902
|
"gds.chart.table.secondaryValue": "\u6B21\u8981\u4EF7\u503C",
|
|
@@ -14607,10 +14936,10 @@ var zh = {
|
|
|
14607
14936
|
"gds.asyncSurface.emptyDescription": "\u8BE5\u8868\u9762\u5C1A\u65E0\u53EF\u7528\u6570\u636E\u3002",
|
|
14608
14937
|
"gds.asyncSurface.errorTitle": "\u65E0\u6CD5\u52A0\u8F7D",
|
|
14609
14938
|
"gds.asyncSurface.errorDescription": "\u51C6\u5907\u6B64\u8868\u9762\u65F6\u51FA\u73B0\u95EE\u9898\u3002",
|
|
14610
|
-
"gds.asyncSurface.refreshingTitle": "\
|
|
14939
|
+
"gds.asyncSurface.refreshingTitle": "\u6B63\u5728\u5237\u65B0",
|
|
14611
14940
|
"gds.asyncSurface.refreshingDescription": "\u6B63\u5728\u83B7\u53D6\u6700\u65B0\u6570\u636E\u3002",
|
|
14612
14941
|
"gds.authShell.dividerLabel": "\u6216\u8005\u7EE7\u7EED\u4F7F\u7528\u60A8\u7684\u5E10\u6237",
|
|
14613
|
-
"gds.bottomTabBar.ariaLabel": "\
|
|
14942
|
+
"gds.bottomTabBar.ariaLabel": "\u4E3B\u8981",
|
|
14614
14943
|
"gds.browseSurface.resultLabel": "\u7ED3\u679C",
|
|
14615
14944
|
"gds.browseSurface.scopeLabel": "\u8303\u56F4",
|
|
14616
14945
|
"gds.browseSurface.loadingTitle": "\u52A0\u8F7D\u7ED3\u679C",
|
|
@@ -14634,13 +14963,13 @@ var zh = {
|
|
|
14634
14963
|
"gds.gdsAccessGate.teaserLabel": "\u9884\u89C8",
|
|
14635
14964
|
"gds.gdsBreadcrumbs.ariaLabel": "\u9762\u5305\u5C51",
|
|
14636
14965
|
"gds.gdsDataTable.caption": "\u6570\u636E\u8868",
|
|
14637
|
-
"gds.gdsDataTable.exportLabel": "\u51FA
|
|
14966
|
+
"gds.gdsDataTable.exportLabel": "\u5BFC\u51FA",
|
|
14638
14967
|
"gds.gdsDataTable.retryLabel": "\u91CD\u8BD5",
|
|
14639
14968
|
"gds.gdsForm.title": "\u8BF7\u68C0\u67E5\u4EE5\u4E0B\u95EE\u9898\u3002",
|
|
14640
14969
|
"gds.gdsFormControls.backLabel": "\u540E\u9000",
|
|
14641
14970
|
"gds.gdsFormControls.saveNextLabel": "\u4FDD\u5B58\u5E76\u4E0B\u4E00\u6B65",
|
|
14642
14971
|
"gds.gdsFormControls.finishLabel": "\u7ED3\u675F",
|
|
14643
|
-
"gds.gdsFormControls.ariaLabel": "\u8FDB\
|
|
14972
|
+
"gds.gdsFormControls.ariaLabel": "\u8FDB\u5EA6",
|
|
14644
14973
|
"gds.gdsPageTemplates.retryLabel": "\u91CD\u8BD5",
|
|
14645
14974
|
"gds.gdsResourceManager.emptyLabel": "\u6CA1\u6709\u53EF\u7528\u8D44\u6E90",
|
|
14646
14975
|
"gds.gdsSchemaForm.submitLabel": "\u63D0\u4EA4",
|
|
@@ -14648,10 +14977,10 @@ var zh = {
|
|
|
14648
14977
|
"gds.layoutTemplatePreview.description": "\u9009\u62E9\u4E00\u4E2A\u6A21\u677F\uFF0C\u7F16\u8F91 JSON\uFF0C\u7136\u540E\u5E94\u7528\u4EE5\u9884\u89C8\u5B9E\u65F6\u8BCA\u65AD\u548C\u5448\u73B0\u7684\u5E03\u5C40\u3002",
|
|
14649
14978
|
"gds.listingCard.featuredLabel": "\u7CBE\u9009",
|
|
14650
14979
|
"gds.listingCard.pickLabel": "\u4F18\u9009",
|
|
14651
|
-
"gds.listingCard.ratingLabel": "\
|
|
14980
|
+
"gds.listingCard.ratingLabel": "\u8BC4\u5206",
|
|
14652
14981
|
"gds.listingCard.reasonLabel": "\u4E3A\u4EC0\u4E48\u8FD9\u9002\u5408",
|
|
14653
14982
|
"gds.listingPrimitives.emptyLabel": "\u65E0\u6709\u6E90\u6EE4\u6CE2\u5668\u3002",
|
|
14654
|
-
"gds.listingPrimitives.label": "\
|
|
14983
|
+
"gds.listingPrimitives.label": "\u6392\u5E8F",
|
|
14655
14984
|
"gds.notifications.title": "\u901A\u77E5",
|
|
14656
14985
|
"gds.notifications.emptyMessage": "\u6CA1\u6709\u6D3B\u52A8\u901A\u77E5\u3002",
|
|
14657
14986
|
"gds.numberStepper.decrementLabel": "\u51CF\u5C11",
|
|
@@ -14695,8 +15024,6 @@ var zh = {
|
|
|
14695
15024
|
"gds.notificationBell.unreadLabel": "\u901A\u77E5(\u672A\u8BFB)",
|
|
14696
15025
|
"gds.compareButton.add": "\u6BD4\u8F83",
|
|
14697
15026
|
"gds.compareButton.added": "\u5DF2\u52A0\u5165\u6BD4\u8F83",
|
|
14698
|
-
"gds.detailFacts.ageRange": "\u5E74\u9F84\u8303\u56F4",
|
|
14699
|
-
"gds.detailFacts.activityType": "\u6D3B\u52A8\u7C7B\u578B",
|
|
14700
15027
|
"gds.detailFacts.format": "\u5F62\u5F0F",
|
|
14701
15028
|
"gds.detailFacts.location": "\u5730\u70B9",
|
|
14702
15029
|
"gds.detailFacts.setting": "\u5BA4\u5185/\u5BA4\u5916",
|
|
@@ -14741,8 +15068,8 @@ var zh = {
|
|
|
14741
15068
|
"gds.trust.checklist.registration": "\u62A5\u540D\u8981\u6C42",
|
|
14742
15069
|
"gds.trust.checklist.cancellation": "\u53D6\u6D88/\u9000\u6B3E\u653F\u7B56",
|
|
14743
15070
|
"gds.trust.checklist.parentPresence": "\u9700\u5BB6\u957F\u966A\u540C",
|
|
14744
|
-
"gds.appShell.primaryHeading": "\
|
|
14745
|
-
"gds.appShell.secondaryHeading": "\u66F4\u591A
|
|
15071
|
+
"gds.appShell.primaryHeading": "\u4E3B\u8981",
|
|
15072
|
+
"gds.appShell.secondaryHeading": "\u66F4\u591A",
|
|
14746
15073
|
"gds.appShell.accountHeading": "\u5E10\u6237",
|
|
14747
15074
|
"gds.state.emptyDataTitle": "\u65E0\u53EF\u7528\u6570\u636E",
|
|
14748
15075
|
"gds.bulkActions.selectedCount": "\u5DF2\u9009\u62E9 {count} \u4E2A",
|
|
@@ -14753,7 +15080,7 @@ var zh = {
|
|
|
14753
15080
|
"gds.treeView.loadError": "\u65E0\u6CD5\u52A0\u8F7D\u8FD9\u4E9B\u9879\u76EE\u3002",
|
|
14754
15081
|
"gds.treeView.retry": "\u91CD\u8BD5",
|
|
14755
15082
|
"gds.dataView.toggleLabel": "\u5E03\u5C40",
|
|
14756
|
-
"gds.dataView.table": "\
|
|
15083
|
+
"gds.dataView.table": "\u8868\u683C",
|
|
14757
15084
|
"gds.dataView.grid": "\u7F51\u683C",
|
|
14758
15085
|
"gds.messageThread.you": "\u4F60",
|
|
14759
15086
|
"gds.threadList.errorTitle": "\u65E0\u6CD5\u52A0\u8F7D\u5BF9\u8BDD",
|
|
@@ -14777,7 +15104,7 @@ var zh = {
|
|
|
14777
15104
|
"gds.gdsPageTemplates.state.ready.title": "\u51C6\u5907\u597D",
|
|
14778
15105
|
"gds.gdsPageTemplates.state.error.title": "\u65E0\u6CD5\u52A0\u8F7D",
|
|
14779
15106
|
"gds.gdsPageTemplates.state.retrying.title": "\u91CD\u8BD5",
|
|
14780
|
-
"gds.gdsPageTemplates.state.saving.title": "\u4FDD\u5B58",
|
|
15107
|
+
"gds.gdsPageTemplates.state.saving.title": "\u6B63\u5728\u4FDD\u5B58",
|
|
14781
15108
|
"gds.gdsPageTemplates.state.permissionDenied.title": "\u6CA1\u6709\u6743\u9650",
|
|
14782
15109
|
"gds.gdsPageTemplates.state.notFound.title": "\u672A\u627E\u5230",
|
|
14783
15110
|
"gds.gdsPageTemplates.state.loading.description": "\u52A0\u8F7D\u6700\u65B0\u6570\u636E\u3002",
|
|
@@ -14798,8 +15125,8 @@ var zh = {
|
|
|
14798
15125
|
"gds.gdsPageTemplates.resources.emptyTitle": "\u8FD8\u6CA1\u6709\u8D44\u6E90",
|
|
14799
15126
|
"gds.gdsPageTemplates.resources.emptyDescription": "\u521B\u5EFA\u6216\u5BFC\u5165\u8D44\u6E90\u4EE5\u5F00\u59CB\u4F7F\u7528\u3002",
|
|
14800
15127
|
"gds.gdsPageTemplates.resources.selectedTitle": "\u9009\u5B9A\u7684\u8D44\u6E90",
|
|
14801
|
-
"gds.gdsPageTemplates.crud.summaryTitle": "\
|
|
14802
|
-
"gds.gdsPageTemplates.crud.editorTitle": "\u7F16\u8F91",
|
|
15128
|
+
"gds.gdsPageTemplates.crud.summaryTitle": "\u6458\u8981",
|
|
15129
|
+
"gds.gdsPageTemplates.crud.editorTitle": "\u7F16\u8F91\u5668",
|
|
14803
15130
|
"gds.gdsPageTemplates.crud.destructiveTitle": "\u7834\u574F\u6027\u884C\u4E3A",
|
|
14804
15131
|
"gds.gdsPageTemplates.crud.destructiveDescription": "\u8FD9\u4E9B\u66F4\u6539\u65E0\u6CD5\u64A4\u6D88\u3002",
|
|
14805
15132
|
"gds.gdsPageTemplates.analytics.chartsTitle": "\u56FE\u8868",
|
|
@@ -14809,12 +15136,12 @@ var zh = {
|
|
|
14809
15136
|
"gds.gdsPageTemplates.analytics.emptyDescription": "\u9009\u62E9\u5176\u4ED6\u65F6\u95F4\u6BB5\u6216\u7A0D\u540E\u518D\u56DE\u6765\u67E5\u770B\u3002",
|
|
14810
15137
|
"gds.gdsPageTemplates.event.noMediaTitle": "\u65E0\u56FE\u50CF",
|
|
14811
15138
|
"gds.gdsPageTemplates.event.noMediaDescription": "\u6B64\u4E8B\u4EF6\u6CA1\u6709\u56FE\u50CF\u3002",
|
|
14812
|
-
"gds.gdsPageTemplates.event.badge": "\
|
|
15139
|
+
"gds.gdsPageTemplates.event.badge": "\u6D3B\u52A8",
|
|
14813
15140
|
"gds.notifications.severity.success": "\u6210\u529F",
|
|
14814
15141
|
"gds.notifications.severity.error": "\u9519\u8BEF",
|
|
14815
15142
|
"gds.notifications.severity.warning": "\u8B66\u544A",
|
|
14816
15143
|
"gds.notifications.severity.info": "\u4FE1\u606F",
|
|
14817
|
-
"gds.notifications.severity.neutral": "\
|
|
15144
|
+
"gds.notifications.severity.neutral": "\u63D0\u793A",
|
|
14818
15145
|
"gds.notifications.severity.loading": "\u8FDB\u884C\u4E2D",
|
|
14819
15146
|
"gds.searchableSelect.clear": "\u6E05\u9664\u9009\u62E9",
|
|
14820
15147
|
"gds.confirm.undoTitle": "\u64CD\u4F5C\u53EF\u4EE5\u64A4\u6D88",
|
|
@@ -14826,13 +15153,40 @@ var zh = {
|
|
|
14826
15153
|
"gds.toast.more": "\u8FD8\u6709 {count} \u4E2A",
|
|
14827
15154
|
"gds.notifications.status.retrying": "\u91CD\u8BD5",
|
|
14828
15155
|
"gds.notifications.retry": "\u91CD\u8BD5",
|
|
14829
|
-
"gds.notifications.dismiss": "\
|
|
15156
|
+
"gds.notifications.dismiss": "\u5173\u95ED",
|
|
14830
15157
|
"gds.notifications.status.loading": "\u52A0\u8F7D\u4E2D",
|
|
14831
|
-
"gds.notifications.status.dismissed": "\
|
|
14832
|
-
"gds.notifications.status.failed": "\u5931\u8D25
|
|
15158
|
+
"gds.notifications.status.dismissed": "\u5DF2\u5173\u95ED",
|
|
15159
|
+
"gds.notifications.status.failed": "\u5931\u8D25",
|
|
14833
15160
|
"gds.notifications.status.succeeded": "\u6210\u529F\u4E86",
|
|
14834
15161
|
"gds.notifications.clearAll": "\u5168\u90E8\u6E05\u9664",
|
|
14835
|
-
"gds.toast.regionLabel": "\u6700\u8FD1\u7684\u901A\u77E5"
|
|
15162
|
+
"gds.toast.regionLabel": "\u6700\u8FD1\u7684\u901A\u77E5",
|
|
15163
|
+
"gds.detailFacts.audience": "\u89C2\u4F17",
|
|
15164
|
+
"gds.detailFacts.category": "\u7C7B\u522B",
|
|
15165
|
+
"gds.docsCodeBlock.copied": "\u590D\u5236\u7684\u4EE3\u7801\u5757",
|
|
15166
|
+
"gds.docsCodeBlock.copy": "\u590D\u5236\u4EE3\u7801\u5757",
|
|
15167
|
+
"gds.docsCodeDisclosure.show": "\u663E\u793A\u4EE3\u7801",
|
|
15168
|
+
"gds.docsCodeDisclosure.loading": "\u6B63\u5728\u52A0\u8F7D\u4EE3\u7801...",
|
|
15169
|
+
"gds.docsCodeDisclosure.error": "\u65E0\u6CD5\u52A0\u8F7D\u4EE3\u7801\u3002\u5173\u95ED\u5E76\u91CD\u65B0\u6253\u5F00\u4EE5\u91CD\u8BD5\u3002",
|
|
15170
|
+
"gds.docsCodeBlock.region": "\u4EE3\u7801",
|
|
15171
|
+
"gds.tableScroll.region": "\u8868\u683C",
|
|
15172
|
+
"gds.styleProfile.default": "\u9884\u8BBE\u9ED8\u8BA4\u503C",
|
|
15173
|
+
"gds.styleProfile.minimal": "\u6700\u5C0F",
|
|
15174
|
+
"gds.styleProfile.soft": "\u67D4\u548C",
|
|
15175
|
+
"gds.styleProfile.structured": "\u7ED3\u6784\u5316",
|
|
15176
|
+
"gds.themeExplorer.styleProfile": "\u98CE\u683C\u7B80\u4ECB",
|
|
15177
|
+
"gds.pending.send": "\u6B63\u5728\u53D1\u9001\u2026",
|
|
15178
|
+
"gds.pending.save": "\u6B63\u5728\u4FDD\u5B58\u2026",
|
|
15179
|
+
"gds.pending.copy": "\u6B63\u5728\u590D\u5236\u2026",
|
|
15180
|
+
"gds.pending.delete": "\u6B63\u5728\u5220\u9664\u2026",
|
|
15181
|
+
"gds.pending.add": "\u6B63\u5728\u6DFB\u52A0\u2026",
|
|
15182
|
+
"gds.pending.download": "\u6B63\u5728\u4E0B\u8F7D\u2026",
|
|
15183
|
+
"gds.pending.upload": "\u6B63\u5728\u4E0A\u4F20\u2026",
|
|
15184
|
+
"gds.pending.refresh": "\u6B63\u5728\u5237\u65B0\u2026",
|
|
15185
|
+
"gds.pending.complete": "\u6B63\u5728\u5B8C\u6210\u2026",
|
|
15186
|
+
"gds.pending.submit": "\u6B63\u5728\u63D0\u4EA4\u2026",
|
|
15187
|
+
"gds.pending.working": "\u6B63\u5728\u5904\u7406\u2026",
|
|
15188
|
+
"gds.feedback.failed": "\u5931\u8D25",
|
|
15189
|
+
"gds.feedback.confirmAgain": "\u518D\u6B21\u70B9\u51FB\u786E\u8BA4"
|
|
14836
15190
|
};
|
|
14837
15191
|
|
|
14838
15192
|
// src/locales/index.ts
|
|
@@ -14855,7 +15209,7 @@ function getGdsMessages(locale) {
|
|
|
14855
15209
|
}
|
|
14856
15210
|
|
|
14857
15211
|
// src/GdsI18nRuntime.tsx
|
|
14858
|
-
var
|
|
15212
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
14859
15213
|
var numberFormatCache = /* @__PURE__ */ new Map();
|
|
14860
15214
|
var dateFormatCache = /* @__PURE__ */ new Map();
|
|
14861
15215
|
var relativeTimeFormatCache = /* @__PURE__ */ new Map();
|
|
@@ -14868,7 +15222,7 @@ function emitEvent(options, event) {
|
|
|
14868
15222
|
options?.onEvent?.(event);
|
|
14869
15223
|
}
|
|
14870
15224
|
function isSupportedLocale(locale) {
|
|
14871
|
-
return locale in
|
|
15225
|
+
return locale in import_gds_theme33.gdsLocaleMetadata;
|
|
14872
15226
|
}
|
|
14873
15227
|
function resolveGdsLocale({ locale = "en", fallbackLocale = "en", onEvent } = {}) {
|
|
14874
15228
|
if (isSupportedLocale(locale)) {
|
|
@@ -14883,9 +15237,9 @@ function resolveGdsLocale({ locale = "en", fallbackLocale = "en", onEvent } = {}
|
|
|
14883
15237
|
return fallbackLocale;
|
|
14884
15238
|
}
|
|
14885
15239
|
function useGdsDirection(localeOverride) {
|
|
14886
|
-
const { locale } = (0, import_react13.useContext)(
|
|
15240
|
+
const { locale } = (0, import_react13.useContext)(import_gds_theme33.GdsI18nContext);
|
|
14887
15241
|
const resolvedLocale = localeOverride ?? locale;
|
|
14888
|
-
const metadata = (0,
|
|
15242
|
+
const metadata = (0, import_gds_theme33.getGdsLocaleMetadata)(resolvedLocale);
|
|
14889
15243
|
return {
|
|
14890
15244
|
locale: resolvedLocale,
|
|
14891
15245
|
direction: metadata.direction,
|
|
@@ -15025,7 +15379,7 @@ function resolveGdsMessage({ id, defaultMessage, values, locale = "en", fallback
|
|
|
15025
15379
|
return interpolate(message ?? defaultMessage, values);
|
|
15026
15380
|
}
|
|
15027
15381
|
function createGdsTextExpansionFixture(locale, sample = "Save changes") {
|
|
15028
|
-
const metadata = (0,
|
|
15382
|
+
const metadata = (0, import_gds_theme33.getGdsLocaleMetadata)(locale);
|
|
15029
15383
|
const direction = metadata.direction;
|
|
15030
15384
|
const ratioByScript = {
|
|
15031
15385
|
latin: locale === "de" ? 1.45 : 1.3,
|
|
@@ -15046,39 +15400,39 @@ function createGdsTextExpansionFixture(locale, sample = "Save changes") {
|
|
|
15046
15400
|
notes: [
|
|
15047
15401
|
"Use this fixture for button, header, tab, card, and toolbar copy fit checks.",
|
|
15048
15402
|
"Text must wrap or truncate by governed component contract; it must not push sibling controls off screen.",
|
|
15049
|
-
(0,
|
|
15403
|
+
(0, import_gds_theme33.isGdsRtlLocale)(locale) ? 'Validate mixed LTR data inside RTL layout with dir="auto" where user data is shown.' : "Validate expansion against responsive containers and long localized labels."
|
|
15050
15404
|
]
|
|
15051
15405
|
};
|
|
15052
15406
|
}
|
|
15053
15407
|
function GdsLocaleText({ id, defaultMessage, values, locale, fallbackLocale, onEvent }) {
|
|
15054
|
-
return /* @__PURE__ */ (0,
|
|
15408
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { "data-gds-i18n-key": id, children: resolveGdsMessage({ id, defaultMessage, values, locale, fallbackLocale, onEvent }) });
|
|
15055
15409
|
}
|
|
15056
15410
|
function GdsFormattedNumber({ value, locale, fallbackLocale, onEvent, ...options }) {
|
|
15057
|
-
return /* @__PURE__ */ (0,
|
|
15411
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { "data-gds-formatted": "number", children: formatGdsNumber(value, { ...options, locale, fallbackLocale, onEvent }) });
|
|
15058
15412
|
}
|
|
15059
15413
|
function GdsFormattedCurrency({ value, currency, currencyDisplay, locale, fallbackLocale, onEvent }) {
|
|
15060
|
-
return /* @__PURE__ */ (0,
|
|
15414
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { "data-gds-formatted": "currency", children: formatGdsCurrency(value, currency, { currencyDisplay, locale, fallbackLocale, onEvent }) });
|
|
15061
15415
|
}
|
|
15062
15416
|
function GdsFormattedDate({ value, locale, fallbackLocale, onEvent, ...options }) {
|
|
15063
|
-
return /* @__PURE__ */ (0,
|
|
15417
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("time", { dateTime: new Date(value).toISOString(), children: formatGdsDate(value, { ...options, locale, fallbackLocale, onEvent }) });
|
|
15064
15418
|
}
|
|
15065
15419
|
function GdsRelativeTime({ value, unit, locale, fallbackLocale, onEvent, ...options }) {
|
|
15066
|
-
return /* @__PURE__ */ (0,
|
|
15420
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { "data-gds-formatted": "relative-time", children: formatGdsRelativeTime(value, unit, { ...options, locale, fallbackLocale, onEvent }) });
|
|
15067
15421
|
}
|
|
15068
15422
|
function GdsPlural({ value, messages, locale, fallbackLocale, onEvent }) {
|
|
15069
|
-
return /* @__PURE__ */ (0,
|
|
15423
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { "data-gds-formatted": "plural", children: formatGdsPlural(value, messages, { locale, fallbackLocale, onEvent }) });
|
|
15070
15424
|
}
|
|
15071
15425
|
function GdsDirectionBoundary({
|
|
15072
15426
|
locale,
|
|
15073
15427
|
children
|
|
15074
15428
|
}) {
|
|
15075
|
-
const metadata = (0,
|
|
15076
|
-
return /* @__PURE__ */ (0,
|
|
15429
|
+
const metadata = (0, import_gds_theme33.getGdsLocaleMetadata)(locale);
|
|
15430
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_core78.Text, { component: "span", dir: metadata.direction, "data-gds-locale": locale, "data-gds-direction": metadata.direction, children });
|
|
15077
15431
|
}
|
|
15078
15432
|
|
|
15079
15433
|
// src/GdsContentDesign.tsx
|
|
15080
|
-
var
|
|
15081
|
-
var
|
|
15434
|
+
var import_core79 = require("@mantine/core");
|
|
15435
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
15082
15436
|
function placeholder(name2, description, example, required = true) {
|
|
15083
15437
|
return {
|
|
15084
15438
|
name: name2,
|
|
@@ -15378,26 +15732,26 @@ function createGdsContentExpansionReport(locale = "de") {
|
|
|
15378
15732
|
}));
|
|
15379
15733
|
}
|
|
15380
15734
|
function GdsContentPatternCatalog() {
|
|
15381
|
-
return /* @__PURE__ */ (0,
|
|
15382
|
-
/* @__PURE__ */ (0,
|
|
15383
|
-
/* @__PURE__ */ (0,
|
|
15384
|
-
/* @__PURE__ */ (0,
|
|
15735
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_core79.Stack, { gap: "md", children: contentPatterns.map((pattern) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_core79.Card, { withBorder: true, radius: "lg", padding: "lg", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_core79.Stack, { gap: "sm", children: [
|
|
15736
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_core79.Group, { justify: "space-between", gap: "sm", wrap: "wrap", children: [
|
|
15737
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_core79.Title, { order: 3, children: pattern.title }),
|
|
15738
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_core79.Badge, { variant: "light", children: pattern.severity })
|
|
15385
15739
|
] }),
|
|
15386
|
-
/* @__PURE__ */ (0,
|
|
15387
|
-
/* @__PURE__ */ (0,
|
|
15388
|
-
/* @__PURE__ */ (0,
|
|
15740
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_core79.Text, { c: "dimmed", children: pattern.intent }),
|
|
15741
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_core79.List, { size: "sm", children: [
|
|
15742
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_core79.List.Item, { children: [
|
|
15389
15743
|
"Components: ",
|
|
15390
15744
|
pattern.componentContracts.join(", ")
|
|
15391
15745
|
] }),
|
|
15392
|
-
/* @__PURE__ */ (0,
|
|
15746
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_core79.List.Item, { children: [
|
|
15393
15747
|
"Tasks: ",
|
|
15394
15748
|
pattern.taskPatterns.join(", ")
|
|
15395
15749
|
] }),
|
|
15396
|
-
/* @__PURE__ */ (0,
|
|
15750
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_core79.List.Item, { children: [
|
|
15397
15751
|
"Telemetry: ",
|
|
15398
15752
|
pattern.telemetryEvents.join(", ")
|
|
15399
15753
|
] }),
|
|
15400
|
-
/* @__PURE__ */ (0,
|
|
15754
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_core79.List.Item, { children: [
|
|
15401
15755
|
"Do not write: ",
|
|
15402
15756
|
pattern.doNotWrite.join("; ")
|
|
15403
15757
|
] })
|
|
@@ -15406,8 +15760,8 @@ function GdsContentPatternCatalog() {
|
|
|
15406
15760
|
}
|
|
15407
15761
|
|
|
15408
15762
|
// src/GdsDesignHandoff.tsx
|
|
15409
|
-
var
|
|
15410
|
-
var
|
|
15763
|
+
var import_core80 = require("@mantine/core");
|
|
15764
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
15411
15765
|
var componentMappings = [
|
|
15412
15766
|
{
|
|
15413
15767
|
id: "semantic-button",
|
|
@@ -15595,26 +15949,26 @@ function generateGdsDesignHandoffReport(generatedAt = "static") {
|
|
|
15595
15949
|
}
|
|
15596
15950
|
function GdsDesignHandoffCatalog() {
|
|
15597
15951
|
const report = generateGdsDesignHandoffReport();
|
|
15598
|
-
return /* @__PURE__ */ (0,
|
|
15599
|
-
/* @__PURE__ */ (0,
|
|
15600
|
-
/* @__PURE__ */ (0,
|
|
15601
|
-
/* @__PURE__ */ (0,
|
|
15952
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_core80.Stack, { gap: "md", children: report.components.map((component) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_core80.Card, { withBorder: true, radius: "lg", padding: "lg", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_core80.Stack, { gap: "sm", children: [
|
|
15953
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_core80.Group, { justify: "space-between", gap: "sm", wrap: "wrap", children: [
|
|
15954
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_core80.Title, { order: 3, children: component.exportName }),
|
|
15955
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_core80.Badge, { variant: "light", children: component.status })
|
|
15602
15956
|
] }),
|
|
15603
|
-
/* @__PURE__ */ (0,
|
|
15604
|
-
/* @__PURE__ */ (0,
|
|
15605
|
-
/* @__PURE__ */ (0,
|
|
15957
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_core80.Text, { c: "dimmed", children: component.figmaComponent }),
|
|
15958
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_core80.List, { size: "sm", children: [
|
|
15959
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_core80.List.Item, { children: [
|
|
15606
15960
|
"Contracts: ",
|
|
15607
15961
|
component.componentContracts.join(", ")
|
|
15608
15962
|
] }),
|
|
15609
|
-
/* @__PURE__ */ (0,
|
|
15963
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_core80.List.Item, { children: [
|
|
15610
15964
|
"Props: ",
|
|
15611
15965
|
component.props.map((prop) => prop.prop).join(", ")
|
|
15612
15966
|
] }),
|
|
15613
|
-
/* @__PURE__ */ (0,
|
|
15967
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_core80.List.Item, { children: [
|
|
15614
15968
|
"Focus: ",
|
|
15615
15969
|
component.annotations.focusBehavior
|
|
15616
15970
|
] }),
|
|
15617
|
-
/* @__PURE__ */ (0,
|
|
15971
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_core80.List.Item, { children: [
|
|
15618
15972
|
"Recovery: ",
|
|
15619
15973
|
component.recovery
|
|
15620
15974
|
] })
|
|
@@ -15623,10 +15977,20 @@ function GdsDesignHandoffCatalog() {
|
|
|
15623
15977
|
}
|
|
15624
15978
|
|
|
15625
15979
|
// src/PartnerDiscovery.tsx
|
|
15626
|
-
var
|
|
15627
|
-
var
|
|
15628
|
-
var
|
|
15980
|
+
var import_gds_theme34 = require("@sovereignsquad/gds-theme");
|
|
15981
|
+
var import_core81 = require("@mantine/core");
|
|
15982
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
15629
15983
|
var partnerDiscoveryDefaultAmenities = [
|
|
15984
|
+
{ id: "wifi", label: "Free wifi" },
|
|
15985
|
+
{ id: "step-free", label: "Step-free access" },
|
|
15986
|
+
{ id: "quiet-area", label: "Quiet area" },
|
|
15987
|
+
{ id: "power-outlets", label: "Power outlets" },
|
|
15988
|
+
{ id: "card-payments", label: "Card payments" },
|
|
15989
|
+
{ id: "pet-friendly", label: "Pet friendly" },
|
|
15990
|
+
{ id: "outdoor-seating", label: "Outdoor seating" },
|
|
15991
|
+
{ id: "reservations", label: "Reservations" }
|
|
15992
|
+
];
|
|
15993
|
+
var partnerDiscoveryFamilyAmenities = [
|
|
15630
15994
|
{ id: "high-chairs", label: "High chairs" },
|
|
15631
15995
|
{ id: "booster-seats", label: "Booster seats" },
|
|
15632
15996
|
{ id: "changing-table", label: "Changing table" },
|
|
@@ -15707,18 +16071,18 @@ function PartnerDiscoveryShell({
|
|
|
15707
16071
|
footer,
|
|
15708
16072
|
children
|
|
15709
16073
|
}) {
|
|
15710
|
-
return /* @__PURE__ */ (0,
|
|
15711
|
-
|
|
16074
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16075
|
+
import_core81.Box,
|
|
15712
16076
|
{
|
|
15713
16077
|
style: {
|
|
15714
16078
|
minHeight: "100vh",
|
|
15715
16079
|
color: partnerSurface.text,
|
|
15716
16080
|
background: partnerSurface.page
|
|
15717
16081
|
},
|
|
15718
|
-
children: /* @__PURE__ */ (0,
|
|
15719
|
-
/* @__PURE__ */ (0,
|
|
15720
|
-
/* @__PURE__ */ (0,
|
|
15721
|
-
footer ? /* @__PURE__ */ (0,
|
|
16082
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: "lg", maw: 940, mx: "auto", px: { base: "md", sm: "lg" }, py: "md", children: [
|
|
16083
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(PartnerDiscoveryHeader, { logo, navItems }),
|
|
16084
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Box, { component: "main", children }),
|
|
16085
|
+
footer ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(PartnerDiscoveryFooter, { ...footer }) : null
|
|
15722
16086
|
] })
|
|
15723
16087
|
}
|
|
15724
16088
|
);
|
|
@@ -15727,10 +16091,10 @@ function PartnerDiscoveryHeader({
|
|
|
15727
16091
|
logo,
|
|
15728
16092
|
navItems
|
|
15729
16093
|
}) {
|
|
15730
|
-
return /* @__PURE__ */ (0,
|
|
15731
|
-
/* @__PURE__ */ (0,
|
|
15732
|
-
/* @__PURE__ */ (0,
|
|
15733
|
-
|
|
16094
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Box, { component: "header", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Group, { component: "nav", "aria-label": "Primary navigation", justify: "space-between", align: "center", gap: "md", wrap: "wrap", children: [
|
|
16095
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Box, { style: { minWidth: 0 }, children: logo }),
|
|
16096
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Group, { gap: "lg", wrap: "wrap", justify: "flex-end", children: navItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16097
|
+
import_core81.Anchor,
|
|
15734
16098
|
{
|
|
15735
16099
|
href: item.href,
|
|
15736
16100
|
c: item.current ? "teal.8" : void 0,
|
|
@@ -15749,9 +16113,9 @@ function PartnerDiscoveryFooter({
|
|
|
15749
16113
|
legalLinks,
|
|
15750
16114
|
socialLinks = []
|
|
15751
16115
|
}) {
|
|
15752
|
-
return /* @__PURE__ */ (0,
|
|
15753
|
-
/* @__PURE__ */ (0,
|
|
15754
|
-
[...legalLinks, ...socialLinks].map((item) => /* @__PURE__ */ (0,
|
|
16116
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Group, { component: "footer", gap: "md", wrap: "wrap", c: "dimmed", fz: "sm", pt: "md", children: [
|
|
16117
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Text, { size: "sm", children: copyright }),
|
|
16118
|
+
[...legalLinks, ...socialLinks].map((item) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Anchor, { href: item.href, size: "sm", ...safeExternalProps(item), children: item.label }, item.id))
|
|
15755
16119
|
] });
|
|
15756
16120
|
}
|
|
15757
16121
|
function AmenityChipGrid({
|
|
@@ -15760,12 +16124,12 @@ function AmenityChipGrid({
|
|
|
15760
16124
|
onToggle
|
|
15761
16125
|
}) {
|
|
15762
16126
|
if (!amenities.length) {
|
|
15763
|
-
return /* @__PURE__ */ (0,
|
|
16127
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(StateBlock, { variant: "empty", title: "No amenities", description: "No amenity filters are available.", compact: true });
|
|
15764
16128
|
}
|
|
15765
|
-
return /* @__PURE__ */ (0,
|
|
16129
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.SimpleGrid, { cols: { base: 2, sm: 3, md: 4 }, spacing: "xs", children: amenities.map((amenity) => {
|
|
15766
16130
|
const active = selected.includes(amenity.id);
|
|
15767
|
-
return /* @__PURE__ */ (0,
|
|
15768
|
-
|
|
16131
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16132
|
+
import_core81.Button,
|
|
15769
16133
|
{
|
|
15770
16134
|
type: "button",
|
|
15771
16135
|
variant: active ? "filled" : "outline",
|
|
@@ -15807,27 +16171,27 @@ function PartnerDiscoveryFilters({
|
|
|
15807
16171
|
onEvent
|
|
15808
16172
|
}) {
|
|
15809
16173
|
const hasFilters = Boolean(value.query || value.amenities.length || value.prices.length);
|
|
15810
|
-
return /* @__PURE__ */ (0,
|
|
15811
|
-
/* @__PURE__ */ (0,
|
|
15812
|
-
/* @__PURE__ */ (0,
|
|
15813
|
-
|
|
16174
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: "sm", children: [
|
|
16175
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Group, { align: "flex-end", gap: "sm", wrap: "wrap", children: [
|
|
16176
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16177
|
+
import_core81.TextInput,
|
|
15814
16178
|
{
|
|
15815
16179
|
"aria-label": labels.search,
|
|
15816
16180
|
placeholder: labels.searchPlaceholder,
|
|
15817
16181
|
value: value.query,
|
|
15818
16182
|
onChange: (event) => onQueryChange?.(event.currentTarget.value),
|
|
15819
|
-
leftSection: /* @__PURE__ */ (0,
|
|
16183
|
+
leftSection: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(GdsIcons.Search, { size: "1rem", "aria-hidden": true }),
|
|
15820
16184
|
disabled: loading,
|
|
15821
16185
|
style: { flex: "1 1 320px" }
|
|
15822
16186
|
}
|
|
15823
16187
|
),
|
|
15824
|
-
/* @__PURE__ */ (0,
|
|
15825
|
-
|
|
16188
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16189
|
+
import_core81.Button,
|
|
15826
16190
|
{
|
|
15827
16191
|
type: "button",
|
|
15828
16192
|
variant: "outline",
|
|
15829
16193
|
color: "teal",
|
|
15830
|
-
leftSection: /* @__PURE__ */ (0,
|
|
16194
|
+
leftSection: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(GdsIcons.Filter, { size: "1rem", "aria-hidden": true }),
|
|
15831
16195
|
onClick: () => {
|
|
15832
16196
|
emitPartnerDiscoveryEvent(onEvent, "filter_open", "PartnerDiscoveryFilters");
|
|
15833
16197
|
onOpen?.();
|
|
@@ -15836,8 +16200,8 @@ function PartnerDiscoveryFilters({
|
|
|
15836
16200
|
children: labels.filters
|
|
15837
16201
|
}
|
|
15838
16202
|
),
|
|
15839
|
-
/* @__PURE__ */ (0,
|
|
15840
|
-
|
|
16203
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16204
|
+
import_core81.Button,
|
|
15841
16205
|
{
|
|
15842
16206
|
type: "button",
|
|
15843
16207
|
variant: "subtle",
|
|
@@ -15851,22 +16215,22 @@ function PartnerDiscoveryFilters({
|
|
|
15851
16215
|
}
|
|
15852
16216
|
)
|
|
15853
16217
|
] }),
|
|
15854
|
-
hasFilters ? /* @__PURE__ */ (0,
|
|
15855
|
-
value.amenities.map((id) => /* @__PURE__ */ (0,
|
|
15856
|
-
value.prices.map((price) => /* @__PURE__ */ (0,
|
|
16218
|
+
hasFilters ? /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Group, { gap: "xs", "aria-label": labels.selected ?? "Selected filters", children: [
|
|
16219
|
+
value.amenities.map((id) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Badge, { color: "teal", variant: "light", children: amenities.find((item) => item.id === id)?.label ?? id }, id)),
|
|
16220
|
+
value.prices.map((price) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Badge, { color: "lime", variant: "light", children: price }, price))
|
|
15857
16221
|
] }) : null,
|
|
15858
|
-
/* @__PURE__ */ (0,
|
|
15859
|
-
}), title: labels.filters, centered: true, radius: "md", trapFocus: true, children: /* @__PURE__ */ (0,
|
|
15860
|
-
/* @__PURE__ */ (0,
|
|
15861
|
-
/* @__PURE__ */ (0,
|
|
15862
|
-
/* @__PURE__ */ (0,
|
|
16222
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Modal, { opened, onClose: onClose ?? (() => {
|
|
16223
|
+
}), title: labels.filters, centered: true, radius: "md", trapFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: "md", children: [
|
|
16224
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: "xs", children: [
|
|
16225
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Text, { fw: 700, children: labels.amenities }),
|
|
16226
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(AmenityChipGrid, { amenities, selected: value.amenities, onToggle: onAmenityToggle })
|
|
15863
16227
|
] }),
|
|
15864
|
-
/* @__PURE__ */ (0,
|
|
15865
|
-
/* @__PURE__ */ (0,
|
|
15866
|
-
/* @__PURE__ */ (0,
|
|
16228
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: "xs", children: [
|
|
16229
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Text, { fw: 700, children: labels.price }),
|
|
16230
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Group, { gap: "xs", children: prices.map((price) => {
|
|
15867
16231
|
const active = value.prices.includes(price);
|
|
15868
|
-
return /* @__PURE__ */ (0,
|
|
15869
|
-
|
|
16232
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16233
|
+
import_core81.Button,
|
|
15870
16234
|
{
|
|
15871
16235
|
type: "button",
|
|
15872
16236
|
variant: active ? "filled" : "outline",
|
|
@@ -15880,12 +16244,12 @@ function PartnerDiscoveryFilters({
|
|
|
15880
16244
|
);
|
|
15881
16245
|
}) })
|
|
15882
16246
|
] }),
|
|
15883
|
-
/* @__PURE__ */ (0,
|
|
15884
|
-
/* @__PURE__ */ (0,
|
|
15885
|
-
/* @__PURE__ */ (0,
|
|
15886
|
-
/* @__PURE__ */ (0,
|
|
15887
|
-
/* @__PURE__ */ (0,
|
|
15888
|
-
|
|
16247
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Group, { justify: "space-between", wrap: "wrap", children: [
|
|
16248
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Button, { type: "button", variant: "subtle", onClick: onClose, children: labels.close }),
|
|
16249
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Group, { gap: "xs", children: [
|
|
16250
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Button, { type: "button", variant: "light", disabled: !hasFilters, onClick: onReset, children: labels.reset }),
|
|
16251
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16252
|
+
import_core81.Button,
|
|
15889
16253
|
{
|
|
15890
16254
|
type: "button",
|
|
15891
16255
|
color: "lime",
|
|
@@ -15913,10 +16277,10 @@ function PartnerPlaceResultCard({
|
|
|
15913
16277
|
onSelect,
|
|
15914
16278
|
onEvent
|
|
15915
16279
|
}) {
|
|
15916
|
-
const { t } = (0,
|
|
16280
|
+
const { t } = (0, import_gds_theme34.useGdsTranslation)();
|
|
15917
16281
|
const detailLabel = detailLabelProp ?? t("gds.partnerDiscovery.detailLabel", "See details");
|
|
15918
|
-
return /* @__PURE__ */ (0,
|
|
15919
|
-
|
|
16282
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16283
|
+
import_core81.Card,
|
|
15920
16284
|
{
|
|
15921
16285
|
component: "article",
|
|
15922
16286
|
withBorder: true,
|
|
@@ -15927,9 +16291,9 @@ function PartnerPlaceResultCard({
|
|
|
15927
16291
|
borderColor: active ? partnerSurface.borderActive : partnerSurface.border,
|
|
15928
16292
|
background: active ? partnerSurface.cardActive : partnerSurface.card
|
|
15929
16293
|
},
|
|
15930
|
-
children: /* @__PURE__ */ (0,
|
|
15931
|
-
/* @__PURE__ */ (0,
|
|
15932
|
-
|
|
16294
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: 4, children: [
|
|
16295
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16296
|
+
import_core81.Anchor,
|
|
15933
16297
|
{
|
|
15934
16298
|
href: place.href,
|
|
15935
16299
|
fw: 700,
|
|
@@ -15941,11 +16305,11 @@ function PartnerPlaceResultCard({
|
|
|
15941
16305
|
children: place.title
|
|
15942
16306
|
}
|
|
15943
16307
|
),
|
|
15944
|
-
/* @__PURE__ */ (0,
|
|
15945
|
-
/* @__PURE__ */ (0,
|
|
15946
|
-
/* @__PURE__ */ (0,
|
|
15947
|
-
/* @__PURE__ */ (0,
|
|
15948
|
-
/* @__PURE__ */ (0,
|
|
16308
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Text, { size: "xs", c: "dimmed", children: [place.category, place.neighborhood, place.price].filter(Boolean).join(" \xB7 ") }),
|
|
16309
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Group, { gap: 4, "aria-label": "Amenities", wrap: "wrap", children: place.amenities.slice(0, 8).map((amenity) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Badge, { variant: "light", color: "teal", radius: "md", children: amenityLabels[amenity] ?? amenity }, amenity)) }),
|
|
16310
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Anchor, { href: place.href, size: "sm", c: "teal.8", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Group, { component: "span", gap: 4, wrap: "nowrap", children: [
|
|
16311
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { children: detailLabel }),
|
|
16312
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(GdsIcons.Forward, { size: "0.95rem", "aria-hidden": true })
|
|
15949
16313
|
] }) })
|
|
15950
16314
|
] })
|
|
15951
16315
|
}
|
|
@@ -15956,8 +16320,8 @@ function PartnerMapPin({
|
|
|
15956
16320
|
active = false,
|
|
15957
16321
|
onSelect
|
|
15958
16322
|
}) {
|
|
15959
|
-
return /* @__PURE__ */ (0,
|
|
15960
|
-
|
|
16323
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
|
|
16324
|
+
import_core81.Button,
|
|
15961
16325
|
{
|
|
15962
16326
|
type: "button",
|
|
15963
16327
|
"aria-pressed": active,
|
|
@@ -15971,8 +16335,8 @@ function PartnerMapPin({
|
|
|
15971
16335
|
p: 0,
|
|
15972
16336
|
style: { filter: "drop-shadow(0 2px 2px color-mix(in srgb, var(--mantine-color-black) 45%, transparent))" },
|
|
15973
16337
|
children: [
|
|
15974
|
-
/* @__PURE__ */ (0,
|
|
15975
|
-
/* @__PURE__ */ (0,
|
|
16338
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.VisuallyHidden, { children: label }),
|
|
16339
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(GdsIcons.Home, { size: "1rem", "aria-hidden": true })
|
|
15976
16340
|
]
|
|
15977
16341
|
}
|
|
15978
16342
|
);
|
|
@@ -15983,12 +16347,12 @@ function PartnerMapControls({
|
|
|
15983
16347
|
zoomInLabel: zoomInLabelProp,
|
|
15984
16348
|
zoomOutLabel: zoomOutLabelProp
|
|
15985
16349
|
}) {
|
|
15986
|
-
const { t } = (0,
|
|
16350
|
+
const { t } = (0, import_gds_theme34.useGdsTranslation)();
|
|
15987
16351
|
const zoomInLabel = zoomInLabelProp ?? t("gds.partnerDiscovery.zoomInLabel", "Zoom in");
|
|
15988
16352
|
const zoomOutLabel = zoomOutLabelProp ?? t("gds.partnerDiscovery.zoomOutLabel", "Zoom out");
|
|
15989
|
-
return /* @__PURE__ */ (0,
|
|
15990
|
-
/* @__PURE__ */ (0,
|
|
15991
|
-
/* @__PURE__ */ (0,
|
|
16353
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Group, { gap: "xs", children: [
|
|
16354
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Button, { type: "button", variant: "default", "aria-label": zoomInLabel, onClick: onZoomIn, w: 32, h: 32, p: 0, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(GdsIcons.Add, { size: "1rem", "aria-hidden": true }) }),
|
|
16355
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Button, { type: "button", variant: "default", "aria-label": zoomOutLabel, onClick: onZoomOut, w: 32, h: 32, p: 0, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(GdsIcons.Remove, { size: "1rem", "aria-hidden": true }) })
|
|
15992
16356
|
] });
|
|
15993
16357
|
}
|
|
15994
16358
|
function PartnerMapListShell({
|
|
@@ -16005,14 +16369,14 @@ function PartnerMapListShell({
|
|
|
16005
16369
|
onEvent
|
|
16006
16370
|
}) {
|
|
16007
16371
|
const visiblePlaces = filterPartnerPlaces(places, filters);
|
|
16008
|
-
const mapBody = loading ? /* @__PURE__ */ (0,
|
|
16372
|
+
const mapBody = loading ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(StateBlock, { variant: "loading", title: "Loading map", description: "Discovery results are loading.", compact: true }) : error ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16009
16373
|
StateBlock,
|
|
16010
16374
|
{
|
|
16011
16375
|
variant: "error",
|
|
16012
16376
|
title: "Map unavailable",
|
|
16013
16377
|
description: error,
|
|
16014
16378
|
compact: true,
|
|
16015
|
-
action: onRetry ? /* @__PURE__ */ (0,
|
|
16379
|
+
action: onRetry ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Button, { type: "button", onClick: onRetry, children: "Retry" }) : void 0
|
|
16016
16380
|
}
|
|
16017
16381
|
) : mapAdapter ? mapAdapter({
|
|
16018
16382
|
places: visiblePlaces,
|
|
@@ -16021,10 +16385,10 @@ function PartnerMapListShell({
|
|
|
16021
16385
|
emitPartnerDiscoveryEvent(onEvent, "pin_select", "PartnerMapListShell", { placeId });
|
|
16022
16386
|
onActivePlaceChange?.(placeId);
|
|
16023
16387
|
}
|
|
16024
|
-
}) : /* @__PURE__ */ (0,
|
|
16025
|
-
return /* @__PURE__ */ (0,
|
|
16026
|
-
/* @__PURE__ */ (0,
|
|
16027
|
-
|
|
16388
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(StateBlock, { variant: "empty", title: "List-only mode", description: "Connect a map adapter to render pins.", compact: true });
|
|
16389
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.SimpleGrid, { cols: { base: 1, md: 2 }, spacing: "md", style: { alignItems: "start" }, children: [
|
|
16390
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16391
|
+
import_core81.Paper,
|
|
16028
16392
|
{
|
|
16029
16393
|
withBorder: true,
|
|
16030
16394
|
radius: "md",
|
|
@@ -16037,7 +16401,7 @@ function PartnerMapListShell({
|
|
|
16037
16401
|
children: mapBody
|
|
16038
16402
|
}
|
|
16039
16403
|
),
|
|
16040
|
-
/* @__PURE__ */ (0,
|
|
16404
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Stack, { gap: "xs", component: "section", "aria-label": "Results", children: loading ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(StateBlock, { variant: "loading", title: "Loading results", compact: true }) : error ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(StateBlock, { variant: "error", title: "Results unavailable", description: error, action: onRetry ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Button, { type: "button", onClick: onRetry, children: "Retry" }) : void 0, compact: true }) : visiblePlaces.length ? visiblePlaces.map((place) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16041
16405
|
PartnerPlaceResultCard,
|
|
16042
16406
|
{
|
|
16043
16407
|
place,
|
|
@@ -16047,7 +16411,7 @@ function PartnerMapListShell({
|
|
|
16047
16411
|
onEvent
|
|
16048
16412
|
},
|
|
16049
16413
|
place.id
|
|
16050
|
-
)) : /* @__PURE__ */ (0,
|
|
16414
|
+
)) : /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(StateBlock, { variant: "empty", title: "No places found", description: empty ?? "Adjust the search or filters to see more places.", compact: true }) })
|
|
16051
16415
|
] });
|
|
16052
16416
|
}
|
|
16053
16417
|
function PartnerPlaceDetailTemplate({
|
|
@@ -16063,19 +16427,19 @@ function PartnerPlaceDetailTemplate({
|
|
|
16063
16427
|
place.links?.website ? { id: "website", label: labels.website, href: place.links.website } : null,
|
|
16064
16428
|
place.links?.menu ? { id: "menu", label: labels.menu, href: place.links.menu } : null
|
|
16065
16429
|
].filter(Boolean);
|
|
16066
|
-
return /* @__PURE__ */ (0,
|
|
16067
|
-
/* @__PURE__ */ (0,
|
|
16068
|
-
/* @__PURE__ */ (0,
|
|
16430
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: "lg", children: [
|
|
16431
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Anchor, { href: backHref, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Group, { gap: 6, children: [
|
|
16432
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(GdsIcons.Back, { size: "1rem", "aria-hidden": true }),
|
|
16069
16433
|
labels.back
|
|
16070
16434
|
] }) }),
|
|
16071
|
-
/* @__PURE__ */ (0,
|
|
16072
|
-
/* @__PURE__ */ (0,
|
|
16073
|
-
place.address ? /* @__PURE__ */ (0,
|
|
16074
|
-
place.phone ? /* @__PURE__ */ (0,
|
|
16435
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: "xs", align: "center", ta: "center", children: [
|
|
16436
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Title, { order: 1, children: place.title }),
|
|
16437
|
+
place.address ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Text, { children: place.address }) : null,
|
|
16438
|
+
place.phone ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Anchor, { href: `tel:${place.phone.replace(/[^\d+]/g, "")}`, children: place.phone }) : null
|
|
16075
16439
|
] }),
|
|
16076
|
-
/* @__PURE__ */ (0,
|
|
16077
|
-
actions.map((action) => /* @__PURE__ */ (0,
|
|
16078
|
-
|
|
16440
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Group, { justify: "center", gap: "xs", wrap: "wrap", children: [
|
|
16441
|
+
actions.map((action) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16442
|
+
import_core81.Button,
|
|
16079
16443
|
{
|
|
16080
16444
|
component: "a",
|
|
16081
16445
|
href: action.href,
|
|
@@ -16085,11 +16449,11 @@ function PartnerPlaceDetailTemplate({
|
|
|
16085
16449
|
},
|
|
16086
16450
|
action.id
|
|
16087
16451
|
)),
|
|
16088
|
-
place.links?.shareUrl ? /* @__PURE__ */ (0,
|
|
16089
|
-
|
|
16452
|
+
place.links?.shareUrl ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16453
|
+
import_core81.Button,
|
|
16090
16454
|
{
|
|
16091
16455
|
type: "button",
|
|
16092
|
-
leftSection: /* @__PURE__ */ (0,
|
|
16456
|
+
leftSection: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(GdsIcons.Refer, { size: "1rem", "aria-hidden": true }),
|
|
16093
16457
|
loading: shareState === "copying",
|
|
16094
16458
|
color: shareState === "failed" ? "red" : "teal",
|
|
16095
16459
|
onClick: () => {
|
|
@@ -16102,30 +16466,30 @@ function PartnerPlaceDetailTemplate({
|
|
|
16102
16466
|
}
|
|
16103
16467
|
) : null
|
|
16104
16468
|
] }),
|
|
16105
|
-
/* @__PURE__ */ (0,
|
|
16106
|
-
place.neighborhood ? /* @__PURE__ */ (0,
|
|
16107
|
-
place.category ? /* @__PURE__ */ (0,
|
|
16469
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Group, { justify: "center", gap: "xs", children: [
|
|
16470
|
+
place.neighborhood ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Badge, { variant: "light", children: place.neighborhood }) : null,
|
|
16471
|
+
place.category ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Badge, { variant: "light", children: place.category }) : null
|
|
16108
16472
|
] }),
|
|
16109
|
-
place.parentTip ? /* @__PURE__ */ (0,
|
|
16110
|
-
/* @__PURE__ */ (0,
|
|
16473
|
+
place.tip ?? place.parentTip ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(PartnerParentTipPanel, { label: labels.tip ?? labels.parentTip ?? "", children: place.tip ?? place.parentTip }) : null,
|
|
16474
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(PartnerAmenityBadgeGrid, { amenities: place.amenities })
|
|
16111
16475
|
] });
|
|
16112
16476
|
}
|
|
16113
16477
|
function PartnerParentTipPanel({
|
|
16114
16478
|
label,
|
|
16115
16479
|
children
|
|
16116
16480
|
}) {
|
|
16117
|
-
return /* @__PURE__ */ (0,
|
|
16118
|
-
/* @__PURE__ */ (0,
|
|
16119
|
-
/* @__PURE__ */ (0,
|
|
16481
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Paper, { withBorder: true, radius: "md", p: "md", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: "xs", align: "center", children: [
|
|
16482
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Badge, { color: "teal", radius: "md", tt: "uppercase", lts: 1.5, children: label }),
|
|
16483
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Text, { fs: "italic", ta: "center", children })
|
|
16120
16484
|
] }) });
|
|
16121
16485
|
}
|
|
16122
16486
|
function PartnerAmenityBadgeGrid({ amenities }) {
|
|
16123
16487
|
if (!amenities.length) {
|
|
16124
|
-
return /* @__PURE__ */ (0,
|
|
16488
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(StateBlock, { variant: "empty", title: "No amenities listed", compact: true });
|
|
16125
16489
|
}
|
|
16126
|
-
return /* @__PURE__ */ (0,
|
|
16127
|
-
amenity.icon ? /* @__PURE__ */ (0,
|
|
16128
|
-
/* @__PURE__ */ (0,
|
|
16490
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.SimpleGrid, { cols: { base: 2, sm: 3, md: 4 }, spacing: "xs", children: amenities.map((amenity) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Paper, { withBorder: true, radius: "md", p: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: 4, align: "center", ta: "center", children: [
|
|
16491
|
+
amenity.icon ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.ThemeIcon, { variant: "light", radius: "xl", children: amenity.icon }) : null,
|
|
16492
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Text, { size: "sm", fw: 600, children: amenity.label })
|
|
16129
16493
|
] }) }, amenity.id)) });
|
|
16130
16494
|
}
|
|
16131
16495
|
function PartnerNewsletterCapture({
|
|
@@ -16139,8 +16503,8 @@ function PartnerNewsletterCapture({
|
|
|
16139
16503
|
onDismiss,
|
|
16140
16504
|
onEvent
|
|
16141
16505
|
}) {
|
|
16142
|
-
return /* @__PURE__ */ (0,
|
|
16143
|
-
}), centered: true, radius: "md", title: labels.title, trapFocus: true, children: /* @__PURE__ */ (0,
|
|
16506
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Modal, { opened, onClose: onDismiss ?? (() => {
|
|
16507
|
+
}), centered: true, radius: "md", title: labels.title, trapFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16144
16508
|
PartnerNewsletterForm,
|
|
16145
16509
|
{
|
|
16146
16510
|
labels,
|
|
@@ -16165,11 +16529,11 @@ function PartnerNewsletterForm({
|
|
|
16165
16529
|
onSubmit,
|
|
16166
16530
|
onDismiss
|
|
16167
16531
|
}) {
|
|
16168
|
-
return /* @__PURE__ */ (0,
|
|
16169
|
-
visual ? /* @__PURE__ */ (0,
|
|
16170
|
-
labels.description ? /* @__PURE__ */ (0,
|
|
16171
|
-
/* @__PURE__ */ (0,
|
|
16172
|
-
|
|
16532
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: "md", ta: "center", children: [
|
|
16533
|
+
visual ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Box, { "aria-hidden": true, children: visual }) : null,
|
|
16534
|
+
labels.description ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Text, { children: labels.description }) : null,
|
|
16535
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
16536
|
+
import_core81.TextInput,
|
|
16173
16537
|
{
|
|
16174
16538
|
type: "email",
|
|
16175
16539
|
label: labels.emailLabel,
|
|
@@ -16179,10 +16543,10 @@ function PartnerNewsletterForm({
|
|
|
16179
16543
|
error: state === "error" ? labels.errorMessage : void 0
|
|
16180
16544
|
}
|
|
16181
16545
|
),
|
|
16182
|
-
state === "success" ? /* @__PURE__ */ (0,
|
|
16183
|
-
/* @__PURE__ */ (0,
|
|
16184
|
-
/* @__PURE__ */ (0,
|
|
16185
|
-
/* @__PURE__ */ (0,
|
|
16546
|
+
state === "success" ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(StateBlock, { variant: "success", title: labels.successMessage, compact: true }) : null,
|
|
16547
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Group, { justify: "space-between", wrap: "wrap", children: [
|
|
16548
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Button, { type: "button", variant: "subtle", onClick: onDismiss, children: labels.dismissLabel }),
|
|
16549
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Button, { type: "button", color: "lime", c: "dark.9", loading: state === "submitting", onClick: onSubmit, children: labels.submitLabel })
|
|
16186
16550
|
] })
|
|
16187
16551
|
] });
|
|
16188
16552
|
}
|
|
@@ -16191,21 +16555,21 @@ function PartnerListIndex({
|
|
|
16191
16555
|
items,
|
|
16192
16556
|
empty
|
|
16193
16557
|
}) {
|
|
16194
|
-
return /* @__PURE__ */ (0,
|
|
16195
|
-
/* @__PURE__ */ (0,
|
|
16196
|
-
items.length ? items.map((item) => /* @__PURE__ */ (0,
|
|
16197
|
-
/* @__PURE__ */ (0,
|
|
16198
|
-
/* @__PURE__ */ (0,
|
|
16199
|
-
] }) }, item.id)) : /* @__PURE__ */ (0,
|
|
16558
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: "md", children: [
|
|
16559
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Title, { order: 1, children: title }),
|
|
16560
|
+
items.length ? items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Anchor, { href: item.href, fw: 700, ...safeExternalProps(item), children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Group, { component: "span", gap: 4, wrap: "nowrap", children: [
|
|
16561
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { children: item.title }),
|
|
16562
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(GdsIcons.Forward, { size: "0.95rem", "aria-hidden": true })
|
|
16563
|
+
] }) }, item.id)) : /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(StateBlock, { variant: "empty", title: "No links yet", description: empty, compact: true })
|
|
16200
16564
|
] });
|
|
16201
16565
|
}
|
|
16202
16566
|
function PartnerFaqList({ items }) {
|
|
16203
16567
|
if (!items.length) {
|
|
16204
|
-
return /* @__PURE__ */ (0,
|
|
16568
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(StateBlock, { variant: "empty", title: "No FAQ items", compact: true });
|
|
16205
16569
|
}
|
|
16206
|
-
return /* @__PURE__ */ (0,
|
|
16207
|
-
/* @__PURE__ */ (0,
|
|
16208
|
-
/* @__PURE__ */ (0,
|
|
16570
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Stack, { gap: "md", children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: 4, children: [
|
|
16571
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Title, { order: 3, children: item.question }),
|
|
16572
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Text, { children: item.answer })
|
|
16209
16573
|
] }, item.id)) });
|
|
16210
16574
|
}
|
|
16211
16575
|
function PartnerContactBlock({
|
|
@@ -16213,10 +16577,10 @@ function PartnerContactBlock({
|
|
|
16213
16577
|
description,
|
|
16214
16578
|
email
|
|
16215
16579
|
}) {
|
|
16216
|
-
return /* @__PURE__ */ (0,
|
|
16217
|
-
/* @__PURE__ */ (0,
|
|
16218
|
-
description ? /* @__PURE__ */ (0,
|
|
16219
|
-
email ? /* @__PURE__ */ (0,
|
|
16580
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Paper, { withBorder: true, radius: "md", p: "md", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: "xs", children: [
|
|
16581
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Title, { order: 2, children: title }),
|
|
16582
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Text, { children: description }) : null,
|
|
16583
|
+
email ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Anchor, { href: `mailto:${email}`, children: email }) : null
|
|
16220
16584
|
] }) });
|
|
16221
16585
|
}
|
|
16222
16586
|
function PartnerSubmissionEntry({
|
|
@@ -16226,32 +16590,32 @@ function PartnerSubmissionEntry({
|
|
|
16226
16590
|
success,
|
|
16227
16591
|
error
|
|
16228
16592
|
}) {
|
|
16229
|
-
return /* @__PURE__ */ (0,
|
|
16230
|
-
/* @__PURE__ */ (0,
|
|
16231
|
-
/* @__PURE__ */ (0,
|
|
16232
|
-
description ? /* @__PURE__ */ (0,
|
|
16593
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Paper, { withBorder: true, radius: "md", p: "lg", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: "md", children: [
|
|
16594
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: 4, children: [
|
|
16595
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Title, { order: 1, children: title }),
|
|
16596
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Text, { c: "dimmed", children: description }) : null
|
|
16233
16597
|
] }),
|
|
16234
|
-
error ? /* @__PURE__ */ (0,
|
|
16235
|
-
success ? /* @__PURE__ */ (0,
|
|
16598
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(StateBlock, { variant: "error", title: "Submission failed", description: error, compact: true }) : null,
|
|
16599
|
+
success ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(StateBlock, { variant: "success", title: "Submission received", description: success, compact: true }) : form
|
|
16236
16600
|
] }) });
|
|
16237
16601
|
}
|
|
16238
16602
|
function PartnerAboutPageSections({
|
|
16239
16603
|
title,
|
|
16240
16604
|
sections
|
|
16241
16605
|
}) {
|
|
16242
|
-
return /* @__PURE__ */ (0,
|
|
16243
|
-
/* @__PURE__ */ (0,
|
|
16244
|
-
sections.map((section) => /* @__PURE__ */ (0,
|
|
16245
|
-
/* @__PURE__ */ (0,
|
|
16246
|
-
/* @__PURE__ */ (0,
|
|
16247
|
-
/* @__PURE__ */ (0,
|
|
16606
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: "xl", children: [
|
|
16607
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Title, { order: 1, children: title }),
|
|
16608
|
+
sections.map((section) => /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_core81.Stack, { gap: "xs", children: [
|
|
16609
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Title, { order: 2, children: section.title }),
|
|
16610
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Divider, {}),
|
|
16611
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_core81.Text, { children: section.body })
|
|
16248
16612
|
] }, section.id))
|
|
16249
16613
|
] });
|
|
16250
16614
|
}
|
|
16251
16615
|
|
|
16252
16616
|
// src/FitScoreChip.tsx
|
|
16253
|
-
var
|
|
16254
|
-
var
|
|
16617
|
+
var import_core82 = require("@mantine/core");
|
|
16618
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
16255
16619
|
function bandForScore(value) {
|
|
16256
16620
|
if (value >= 80) return "great";
|
|
16257
16621
|
if (value >= 50) return "good";
|
|
@@ -16277,8 +16641,8 @@ function FitScoreChip({ value, label, dimensions, size = "md", style, ...props }
|
|
|
16277
16641
|
const display = clamped == null ? text : `${text} \xB7 ${clamped}`;
|
|
16278
16642
|
const accessibleLabel = clamped == null ? text : `${text}, score ${clamped} of 100`;
|
|
16279
16643
|
const hasTooltip = Boolean(dimensions && dimensions.length > 0);
|
|
16280
|
-
const chip = /* @__PURE__ */ (0,
|
|
16281
|
-
|
|
16644
|
+
const chip = /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
16645
|
+
import_core82.Badge,
|
|
16282
16646
|
{
|
|
16283
16647
|
size,
|
|
16284
16648
|
variant: "filled",
|
|
@@ -16291,14 +16655,14 @@ function FitScoreChip({ value, label, dimensions, size = "md", style, ...props }
|
|
|
16291
16655
|
);
|
|
16292
16656
|
if (dimensions && dimensions.length > 0) {
|
|
16293
16657
|
const tooltipLabel = dimensions.map((dimension) => dimension.label).join(", ");
|
|
16294
|
-
return /* @__PURE__ */ (0,
|
|
16658
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_core82.Tooltip, { label: `Matched: ${tooltipLabel}`, withArrow: true, multiline: true, events: { hover: true, focus: true, touch: false }, children: chip });
|
|
16295
16659
|
}
|
|
16296
16660
|
return chip;
|
|
16297
16661
|
}
|
|
16298
16662
|
|
|
16299
16663
|
// src/MeaningBadge.tsx
|
|
16300
|
-
var
|
|
16301
|
-
var
|
|
16664
|
+
var import_core83 = require("@mantine/core");
|
|
16665
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
16302
16666
|
var meaningTokens = {
|
|
16303
16667
|
attention: {
|
|
16304
16668
|
bg: "var(--gds-brand-accent, var(--mantine-color-orange-5))",
|
|
@@ -16322,9 +16686,9 @@ function MeaningBadge({ variant, label, icon, style, ...props }) {
|
|
|
16322
16686
|
return null;
|
|
16323
16687
|
}
|
|
16324
16688
|
const tokens = meaningTokens[variant] ?? meaningTokens.info;
|
|
16325
|
-
const leftSection = typeof icon === "string" && isGdsIconKey(icon) ? /* @__PURE__ */ (0,
|
|
16326
|
-
return /* @__PURE__ */ (0,
|
|
16327
|
-
|
|
16689
|
+
const leftSection = typeof icon === "string" && isGdsIconKey(icon) ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(GdsIcon, { icon, size: "xs" }) : icon;
|
|
16690
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
16691
|
+
import_core83.Badge,
|
|
16328
16692
|
{
|
|
16329
16693
|
variant: "filled",
|
|
16330
16694
|
leftSection,
|
|
@@ -16336,9 +16700,9 @@ function MeaningBadge({ variant, label, icon, style, ...props }) {
|
|
|
16336
16700
|
}
|
|
16337
16701
|
|
|
16338
16702
|
// src/TrustLayer.tsx
|
|
16339
|
-
var
|
|
16340
|
-
var
|
|
16341
|
-
var
|
|
16703
|
+
var import_core84 = require("@mantine/core");
|
|
16704
|
+
var import_gds_theme35 = require("@sovereignsquad/gds-theme");
|
|
16705
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
16342
16706
|
var ROLE_SUCCESS = "var(--gds-state-success, var(--mantine-color-green-7))";
|
|
16343
16707
|
var ROLE_WARNING = "var(--gds-state-warning, var(--mantine-color-yellow-8))";
|
|
16344
16708
|
var ROLE_META = "var(--gds-text-meta, var(--gds-vibe-muted, var(--mantine-color-gray-7)))";
|
|
@@ -16357,7 +16721,7 @@ function isKnownTrustLabel(value) {
|
|
|
16357
16721
|
return typeof value === "string" && value in TRUST_BADGE_DEFINITIONS;
|
|
16358
16722
|
}
|
|
16359
16723
|
function useTrustBadgeLabels() {
|
|
16360
|
-
const { t } = (0,
|
|
16724
|
+
const { t } = (0, import_gds_theme35.useGdsTranslation)();
|
|
16361
16725
|
return {
|
|
16362
16726
|
official_source: t("gds.trust.badge.officialSource", "Official source"),
|
|
16363
16727
|
public_source: t("gds.trust.badge.publicSource", "Public source"),
|
|
@@ -16373,42 +16737,42 @@ function TrustBadge({ label = "public_source" }) {
|
|
|
16373
16737
|
const labels = useTrustBadgeLabels();
|
|
16374
16738
|
const resolvedLabel = isKnownTrustLabel(label) ? label : "public_source";
|
|
16375
16739
|
const definition = TRUST_BADGE_DEFINITIONS[resolvedLabel];
|
|
16376
|
-
return /* @__PURE__ */ (0,
|
|
16740
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(GdsBadge, { tone: definition.tone, icon: definition.icon, label: labels[resolvedLabel] });
|
|
16377
16741
|
}
|
|
16378
16742
|
function PriceEstimateLabel({ price, currency = "USD", unit, status = "estimated" }) {
|
|
16379
|
-
const { t, locale } = (0,
|
|
16743
|
+
const { t, locale } = (0, import_gds_theme35.useGdsTranslation)();
|
|
16380
16744
|
if (price === 0) {
|
|
16381
|
-
return /* @__PURE__ */ (0,
|
|
16745
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_core84.Text, { component: "span", fw: 600, c: ROLE_SUCCESS, children: t("gds.trust.price.free", "Free") });
|
|
16382
16746
|
}
|
|
16383
16747
|
if (price == null || status === "unknown") {
|
|
16384
|
-
return /* @__PURE__ */ (0,
|
|
16748
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_core84.Text, { component: "span", c: ROLE_META, children: t("gds.trust.price.unknown", "Price unknown \u2014 confirm with provider") });
|
|
16385
16749
|
}
|
|
16386
16750
|
const amount = formatGdsCurrency(price, currency, { locale });
|
|
16387
16751
|
const priceWithUnit = unit ? t("gds.trust.price.perUnit", "{price}/{unit}").replace("{price}", amount).replace("{unit}", unit) : amount;
|
|
16388
16752
|
if (status === "confirmed") {
|
|
16389
|
-
return /* @__PURE__ */ (0,
|
|
16753
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_core84.Text, { component: "span", c: ROLE_PRIMARY, children: priceWithUnit });
|
|
16390
16754
|
}
|
|
16391
|
-
return /* @__PURE__ */ (0,
|
|
16755
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_core84.Text, { component: "span", c: ROLE_WARNING, children: t("gds.trust.price.estimatedFrom", "Estimated from {price}").replace("{price}", priceWithUnit) });
|
|
16392
16756
|
}
|
|
16393
16757
|
function LastCheckedLabel({ date, stale = false }) {
|
|
16394
|
-
const { t, locale } = (0,
|
|
16758
|
+
const { t, locale } = (0, import_gds_theme35.useGdsTranslation)();
|
|
16395
16759
|
if (stale) {
|
|
16396
|
-
return /* @__PURE__ */ (0,
|
|
16397
|
-
/* @__PURE__ */ (0,
|
|
16398
|
-
/* @__PURE__ */ (0,
|
|
16760
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_core84.Group, { gap: 4, wrap: "nowrap", children: [
|
|
16761
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(GdsIcon, { icon: "Stale", size: "xs", tone: "warning" }),
|
|
16762
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_core84.Text, { component: "span", size: "sm", c: ROLE_WARNING, children: t("gds.trust.lastChecked.stale", "Details may have changed. Please confirm with provider.") })
|
|
16399
16763
|
] });
|
|
16400
16764
|
}
|
|
16401
16765
|
const formattedDate = date === void 0 ? t("gds.trust.source.unknownValue", "Unknown \u2014 confirm with provider") : date instanceof Date ? formatGdsDate(date, { locale }) : date;
|
|
16402
|
-
return /* @__PURE__ */ (0,
|
|
16403
|
-
/* @__PURE__ */ (0,
|
|
16404
|
-
/* @__PURE__ */ (0,
|
|
16766
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_core84.Group, { gap: 4, wrap: "nowrap", children: [
|
|
16767
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(GdsIcon, { icon: "Freshness", size: "xs", tone: "muted" }),
|
|
16768
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_core84.Text, { component: "span", size: "sm", c: ROLE_META, children: t("gds.trust.lastChecked.fresh", "Last checked {date}").replace("{date}", formattedDate) })
|
|
16405
16769
|
] });
|
|
16406
16770
|
}
|
|
16407
16771
|
|
|
16408
16772
|
// src/MediaWithFallback.tsx
|
|
16409
16773
|
var import_react14 = require("react");
|
|
16410
|
-
var
|
|
16411
|
-
var
|
|
16774
|
+
var import_core85 = require("@mantine/core");
|
|
16775
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
16412
16776
|
function initialsFor(label) {
|
|
16413
16777
|
if (!label) return "";
|
|
16414
16778
|
return label.trim().split(/\s+/).slice(0, 2).map((word) => word.charAt(0).toUpperCase()).join("");
|
|
@@ -16427,70 +16791,74 @@ function MediaWithFallback({
|
|
|
16427
16791
|
setState(src ? "loading" : "error");
|
|
16428
16792
|
}, [src]);
|
|
16429
16793
|
const showFallback = state === "error";
|
|
16430
|
-
return
|
|
16431
|
-
|
|
16432
|
-
|
|
16433
|
-
|
|
16434
|
-
|
|
16435
|
-
|
|
16436
|
-
|
|
16437
|
-
|
|
16438
|
-
|
|
16439
|
-
|
|
16440
|
-
|
|
16441
|
-
|
|
16442
|
-
|
|
16443
|
-
|
|
16444
|
-
|
|
16445
|
-
|
|
16446
|
-
|
|
16447
|
-
|
|
16448
|
-
|
|
16449
|
-
|
|
16450
|
-
|
|
16451
|
-
|
|
16452
|
-
|
|
16453
|
-
|
|
16454
|
-
|
|
16455
|
-
|
|
16456
|
-
|
|
16457
|
-
import_core84.Box,
|
|
16458
|
-
{
|
|
16459
|
-
"aria-hidden": true,
|
|
16460
|
-
"data-gds-media-shimmer": true,
|
|
16461
|
-
style: {
|
|
16462
|
-
position: "absolute",
|
|
16463
|
-
inset: 0,
|
|
16464
|
-
background: "linear-gradient(90deg, var(--gds-bg-surface, #eee) 25%, color-mix(in srgb, var(--gds-bg-surface, #eee) 80%, #fff) 50%, var(--gds-bg-surface, #eee) 75%)"
|
|
16794
|
+
return (
|
|
16795
|
+
// Fills its container's width: an aspect-ratio box has no intrinsic width, so in a flex row
|
|
16796
|
+
// it would otherwise shrink to its content.
|
|
16797
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_core85.AspectRatio, { ratio, w: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
16798
|
+
import_core85.Box,
|
|
16799
|
+
{
|
|
16800
|
+
style: {
|
|
16801
|
+
position: "relative",
|
|
16802
|
+
width: "100%",
|
|
16803
|
+
height: "100%",
|
|
16804
|
+
overflow: "hidden",
|
|
16805
|
+
borderRadius: "var(--mantine-radius-md)",
|
|
16806
|
+
background: "var(--gds-bg-surface, var(--mantine-color-gray-1))"
|
|
16807
|
+
},
|
|
16808
|
+
children: [
|
|
16809
|
+
!showFallback && src ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
16810
|
+
"img",
|
|
16811
|
+
{
|
|
16812
|
+
src,
|
|
16813
|
+
alt,
|
|
16814
|
+
loading: "lazy",
|
|
16815
|
+
onLoad: () => setState("loaded"),
|
|
16816
|
+
onError: () => {
|
|
16817
|
+
setState("error");
|
|
16818
|
+
onError?.();
|
|
16819
|
+
},
|
|
16820
|
+
style: { width: "100%", height: "100%", objectFit: "cover", display: "block" }
|
|
16465
16821
|
}
|
|
16466
|
-
|
|
16467
|
-
|
|
16468
|
-
|
|
16469
|
-
|
|
16470
|
-
|
|
16471
|
-
|
|
16472
|
-
|
|
16473
|
-
|
|
16474
|
-
|
|
16475
|
-
|
|
16476
|
-
|
|
16477
|
-
|
|
16478
|
-
|
|
16479
|
-
|
|
16480
|
-
|
|
16481
|
-
|
|
16482
|
-
|
|
16483
|
-
|
|
16484
|
-
|
|
16485
|
-
|
|
16486
|
-
|
|
16487
|
-
|
|
16822
|
+
) : null,
|
|
16823
|
+
state === "loading" && showShimmer ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
16824
|
+
import_core85.Box,
|
|
16825
|
+
{
|
|
16826
|
+
"aria-hidden": true,
|
|
16827
|
+
"data-gds-media-shimmer": true,
|
|
16828
|
+
style: {
|
|
16829
|
+
position: "absolute",
|
|
16830
|
+
inset: 0,
|
|
16831
|
+
background: "linear-gradient(90deg, var(--gds-bg-surface, #eee) 25%, color-mix(in srgb, var(--gds-bg-surface, #eee) 80%, #fff) 50%, var(--gds-bg-surface, #eee) 75%)"
|
|
16832
|
+
}
|
|
16833
|
+
}
|
|
16834
|
+
) : null,
|
|
16835
|
+
showFallback ? fallback ?? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
16836
|
+
import_core85.Box,
|
|
16837
|
+
{
|
|
16838
|
+
role: "img",
|
|
16839
|
+
"aria-label": alt || fallbackLabel || "No image available",
|
|
16840
|
+
style: {
|
|
16841
|
+
width: "100%",
|
|
16842
|
+
height: "100%",
|
|
16843
|
+
display: "flex",
|
|
16844
|
+
alignItems: "center",
|
|
16845
|
+
justifyContent: "center",
|
|
16846
|
+
background: "var(--gds-bg-inverse, var(--mantine-color-dark-6))",
|
|
16847
|
+
color: "var(--gds-text-on-inverse, var(--mantine-color-white))"
|
|
16848
|
+
},
|
|
16849
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_core85.Text, { fw: 700, fz: "xl", children: initialsFor(fallbackLabel) || "\u2014" })
|
|
16850
|
+
}
|
|
16851
|
+
) : null
|
|
16852
|
+
]
|
|
16853
|
+
}
|
|
16854
|
+
) })
|
|
16855
|
+
);
|
|
16488
16856
|
}
|
|
16489
16857
|
|
|
16490
16858
|
// src/NumberStepper.tsx
|
|
16491
|
-
var
|
|
16492
|
-
var
|
|
16493
|
-
var
|
|
16859
|
+
var import_core86 = require("@mantine/core");
|
|
16860
|
+
var import_gds_theme36 = require("@sovereignsquad/gds-theme");
|
|
16861
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
16494
16862
|
function NumberStepper({
|
|
16495
16863
|
value,
|
|
16496
16864
|
onChange,
|
|
@@ -16502,7 +16870,7 @@ function NumberStepper({
|
|
|
16502
16870
|
decrementLabel: decrementLabelProp,
|
|
16503
16871
|
incrementLabel: incrementLabelProp
|
|
16504
16872
|
}) {
|
|
16505
|
-
const { t } = (0,
|
|
16873
|
+
const { t } = (0, import_gds_theme36.useGdsTranslation)();
|
|
16506
16874
|
const decrementLabel = decrementLabelProp ?? t("gds.numberStepper.decrementLabel", "Decrease");
|
|
16507
16875
|
const incrementLabel = incrementLabelProp ?? t("gds.numberStepper.incrementLabel", "Increase");
|
|
16508
16876
|
const clamp = (next) => Math.min(max, Math.max(min, next));
|
|
@@ -16542,8 +16910,8 @@ function NumberStepper({
|
|
|
16542
16910
|
break;
|
|
16543
16911
|
}
|
|
16544
16912
|
};
|
|
16545
|
-
return /* @__PURE__ */ (0,
|
|
16546
|
-
|
|
16913
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
|
|
16914
|
+
import_core86.Group,
|
|
16547
16915
|
{
|
|
16548
16916
|
gap: "xs",
|
|
16549
16917
|
wrap: "nowrap",
|
|
@@ -16556,27 +16924,27 @@ function NumberStepper({
|
|
|
16556
16924
|
tabIndex: disabled ? -1 : 0,
|
|
16557
16925
|
onKeyDown: handleKeyDown,
|
|
16558
16926
|
children: [
|
|
16559
|
-
/* @__PURE__ */ (0,
|
|
16560
|
-
|
|
16927
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
16928
|
+
import_core86.ActionIcon,
|
|
16561
16929
|
{
|
|
16562
16930
|
variant: "default",
|
|
16563
16931
|
size: "xl",
|
|
16564
16932
|
"aria-label": decrementLabel,
|
|
16565
16933
|
disabled: disabled || atMin,
|
|
16566
16934
|
onClick: () => commit(current - step),
|
|
16567
|
-
children: /* @__PURE__ */ (0,
|
|
16935
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(GdsIcons.Remove, { size: "1rem" })
|
|
16568
16936
|
}
|
|
16569
16937
|
),
|
|
16570
|
-
/* @__PURE__ */ (0,
|
|
16571
|
-
/* @__PURE__ */ (0,
|
|
16572
|
-
|
|
16938
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_core86.Text, { fw: 600, ta: "center", style: { minWidth: 32 }, "aria-hidden": true, children: current }),
|
|
16939
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
16940
|
+
import_core86.ActionIcon,
|
|
16573
16941
|
{
|
|
16574
16942
|
variant: "default",
|
|
16575
16943
|
size: "xl",
|
|
16576
16944
|
"aria-label": incrementLabel,
|
|
16577
16945
|
disabled: disabled || atMax,
|
|
16578
16946
|
onClick: () => commit(current + step),
|
|
16579
|
-
children: /* @__PURE__ */ (0,
|
|
16947
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(GdsIcons.Add, { size: "1rem" })
|
|
16580
16948
|
}
|
|
16581
16949
|
)
|
|
16582
16950
|
]
|
|
@@ -16586,9 +16954,9 @@ function NumberStepper({
|
|
|
16586
16954
|
|
|
16587
16955
|
// src/SearchableSelect.tsx
|
|
16588
16956
|
var import_react15 = require("react");
|
|
16589
|
-
var
|
|
16590
|
-
var
|
|
16591
|
-
var
|
|
16957
|
+
var import_gds_theme37 = require("@sovereignsquad/gds-theme");
|
|
16958
|
+
var import_core87 = require("@mantine/core");
|
|
16959
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
16592
16960
|
function rankSync(options, query) {
|
|
16593
16961
|
if (!query.trim()) return options;
|
|
16594
16962
|
const q = query.trim().toLowerCase();
|
|
@@ -16623,14 +16991,14 @@ function SearchableSelect({
|
|
|
16623
16991
|
ariaLabel,
|
|
16624
16992
|
clearLabel: clearLabelProp
|
|
16625
16993
|
}) {
|
|
16626
|
-
const { t } = (0,
|
|
16994
|
+
const { t } = (0, import_gds_theme37.useGdsTranslation)();
|
|
16627
16995
|
const clearLabel = clearLabelProp ?? t("gds.searchableSelect.clear", "Clear selection");
|
|
16628
16996
|
const nameId = (0, import_react15.useId)();
|
|
16629
16997
|
const valueId = (0, import_react15.useId)();
|
|
16630
16998
|
const noResultsLabel = noResultsLabelProp ?? t("gds.searchableSelect.noResultsLabel", "No results found");
|
|
16631
16999
|
const errorLabel = errorLabelProp ?? t("gds.searchableSelect.errorLabel", "Could not load options");
|
|
16632
17000
|
const retryLabel = retryLabelProp ?? t("gds.searchableSelect.retryLabel", "Retry");
|
|
16633
|
-
const combobox = (0,
|
|
17001
|
+
const combobox = (0, import_core87.useCombobox)({ onDropdownClose: () => combobox.resetSelectedOption() });
|
|
16634
17002
|
const [query, setQuery] = (0, import_react15.useState)("");
|
|
16635
17003
|
const [asyncOptions, setAsyncOptions] = (0, import_react15.useState)([]);
|
|
16636
17004
|
const [state, setState] = (0, import_react15.useState)("idle");
|
|
@@ -16666,17 +17034,17 @@ function SearchableSelect({
|
|
|
16666
17034
|
const grouped = groupOptions(resolvedOptions);
|
|
16667
17035
|
const renderDropdownBody = () => {
|
|
16668
17036
|
if (loadOptions && state === "loading") {
|
|
16669
|
-
return /* @__PURE__ */ (0,
|
|
16670
|
-
/* @__PURE__ */ (0,
|
|
17037
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_core87.Combobox.Empty, { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_core87.Group, { gap: "xs", justify: "center", children: [
|
|
17038
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_core87.Loader, { size: "xs" }),
|
|
16671
17039
|
" ",
|
|
16672
|
-
/* @__PURE__ */ (0,
|
|
17040
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_core87.Text, { size: "sm", children: "Loading\u2026" })
|
|
16673
17041
|
] }) });
|
|
16674
17042
|
}
|
|
16675
17043
|
if (loadOptions && state === "error") {
|
|
16676
|
-
return /* @__PURE__ */ (0,
|
|
16677
|
-
/* @__PURE__ */ (0,
|
|
16678
|
-
/* @__PURE__ */ (0,
|
|
16679
|
-
|
|
17044
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_core87.Combobox.Empty, { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_core87.Group, { gap: "xs", justify: "space-between", children: [
|
|
17045
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_core87.Text, { size: "sm", c: "red", children: errorLabel }),
|
|
17046
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
17047
|
+
import_core87.Text,
|
|
16680
17048
|
{
|
|
16681
17049
|
size: "sm",
|
|
16682
17050
|
fw: 600,
|
|
@@ -16690,15 +17058,15 @@ function SearchableSelect({
|
|
|
16690
17058
|
] }) });
|
|
16691
17059
|
}
|
|
16692
17060
|
if (resolvedOptions.length === 0) {
|
|
16693
|
-
return /* @__PURE__ */ (0,
|
|
17061
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_core87.Combobox.Empty, { children: noResultsLabel });
|
|
16694
17062
|
}
|
|
16695
17063
|
return grouped.map(([group, groupItems]) => {
|
|
16696
|
-
const items = groupItems.map((option) => /* @__PURE__ */ (0,
|
|
16697
|
-
return group ? /* @__PURE__ */ (0,
|
|
17064
|
+
const items = groupItems.map((option) => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_core87.Combobox.Option, { value: option.value, disabled: option.disabled, active: option.value === value, children: option.label }, option.value));
|
|
17065
|
+
return group ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_core87.Combobox.Group, { label: group, children: items }, group) : items;
|
|
16698
17066
|
});
|
|
16699
17067
|
};
|
|
16700
|
-
return /* @__PURE__ */ (0,
|
|
16701
|
-
|
|
17068
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
17069
|
+
import_core87.Combobox,
|
|
16702
17070
|
{
|
|
16703
17071
|
store: combobox,
|
|
16704
17072
|
disabled,
|
|
@@ -16707,8 +17075,8 @@ function SearchableSelect({
|
|
|
16707
17075
|
combobox.closeDropdown();
|
|
16708
17076
|
},
|
|
16709
17077
|
children: [
|
|
16710
|
-
/* @__PURE__ */ (0,
|
|
16711
|
-
|
|
17078
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_core87.Combobox.Target, { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
17079
|
+
import_core87.InputBase,
|
|
16712
17080
|
{
|
|
16713
17081
|
component: "button",
|
|
16714
17082
|
type: "button",
|
|
@@ -16716,36 +17084,36 @@ function SearchableSelect({
|
|
|
16716
17084
|
label,
|
|
16717
17085
|
"aria-labelledby": ariaLabel && !label ? `${nameId} ${valueId}` : void 0,
|
|
16718
17086
|
disabled,
|
|
16719
|
-
rightSection: clearable && value ? /* @__PURE__ */ (0,
|
|
16720
|
-
|
|
17087
|
+
rightSection: clearable && value ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
17088
|
+
import_core87.CloseButton,
|
|
16721
17089
|
{
|
|
16722
17090
|
size: "sm",
|
|
16723
17091
|
"aria-label": clearLabel,
|
|
16724
|
-
icon: /* @__PURE__ */ (0,
|
|
17092
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(GdsIcons.Close, { size: "0.9rem", "aria-hidden": "true" }),
|
|
16725
17093
|
onClick: (event) => {
|
|
16726
17094
|
event.stopPropagation();
|
|
16727
17095
|
onChange(null);
|
|
16728
17096
|
}
|
|
16729
17097
|
}
|
|
16730
|
-
) : /* @__PURE__ */ (0,
|
|
17098
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_core87.Combobox.Chevron, {}),
|
|
16731
17099
|
rightSectionPointerEvents: clearable && value ? "all" : "none",
|
|
16732
17100
|
onClick: () => combobox.toggleDropdown(),
|
|
16733
17101
|
children: [
|
|
16734
|
-
ariaLabel && !label ? /* @__PURE__ */ (0,
|
|
16735
|
-
/* @__PURE__ */ (0,
|
|
17102
|
+
ariaLabel && !label ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_core87.VisuallyHidden, { id: nameId, children: ariaLabel }) : null,
|
|
17103
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { id: valueId, children: selectedLabel || /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_core87.Text, { component: "span", c: "dimmed", children: placeholder2 }) })
|
|
16736
17104
|
]
|
|
16737
17105
|
}
|
|
16738
17106
|
) }),
|
|
16739
|
-
/* @__PURE__ */ (0,
|
|
16740
|
-
/* @__PURE__ */ (0,
|
|
16741
|
-
|
|
17107
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_core87.Combobox.Dropdown, { children: [
|
|
17108
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
17109
|
+
import_core87.Combobox.Search,
|
|
16742
17110
|
{
|
|
16743
17111
|
value: query,
|
|
16744
17112
|
onChange: (event) => setQuery(event.currentTarget.value),
|
|
16745
17113
|
placeholder: placeholder2
|
|
16746
17114
|
}
|
|
16747
17115
|
),
|
|
16748
|
-
/* @__PURE__ */ (0,
|
|
17116
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_core87.Combobox.Options, { children: renderDropdownBody() })
|
|
16749
17117
|
] })
|
|
16750
17118
|
]
|
|
16751
17119
|
}
|
|
@@ -16754,9 +17122,9 @@ function SearchableSelect({
|
|
|
16754
17122
|
|
|
16755
17123
|
// src/ChatSurface.tsx
|
|
16756
17124
|
var import_react16 = require("react");
|
|
16757
|
-
var
|
|
16758
|
-
var
|
|
16759
|
-
var
|
|
17125
|
+
var import_gds_theme38 = require("@sovereignsquad/gds-theme");
|
|
17126
|
+
var import_core88 = require("@mantine/core");
|
|
17127
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
16760
17128
|
var PIN_THRESHOLD_PX = 48;
|
|
16761
17129
|
function ChatMessage({
|
|
16762
17130
|
message,
|
|
@@ -16766,7 +17134,7 @@ function ChatMessage({
|
|
|
16766
17134
|
onRetry,
|
|
16767
17135
|
retryLabel: retryLabelProp
|
|
16768
17136
|
}) {
|
|
16769
|
-
const { t } = (0,
|
|
17137
|
+
const { t } = (0, import_gds_theme38.useGdsTranslation)();
|
|
16770
17138
|
const userLabel = userLabelProp ?? t("gds.chatSurface.userLabel", "You");
|
|
16771
17139
|
const assistantLabel = assistantLabelProp ?? t("gds.chatSurface.assistantLabel", "Assistant");
|
|
16772
17140
|
const retryLabel = retryLabelProp ?? t("gds.chatSurface.retryLabel", "Retry");
|
|
@@ -16775,16 +17143,16 @@ function ChatMessage({
|
|
|
16775
17143
|
const cards = message.cards ?? [];
|
|
16776
17144
|
const visibleCards = cards.slice(0, maxEmbeddedCards);
|
|
16777
17145
|
const hiddenCount = cards.length - visibleCards.length;
|
|
16778
|
-
return /* @__PURE__ */ (0,
|
|
16779
|
-
/* @__PURE__ */ (0,
|
|
17146
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_core88.Stack, { gap: 4, align: isUser ? "flex-end" : "flex-start", children: [
|
|
17147
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_core88.Text, { fz: 11, c: "dimmed", children: [
|
|
16780
17148
|
roleLabel,
|
|
16781
|
-
message.createdAt ? /* @__PURE__ */ (0,
|
|
17149
|
+
message.createdAt ? /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("time", { dateTime: message.createdAt, children: [
|
|
16782
17150
|
" \xB7 ",
|
|
16783
17151
|
new Date(message.createdAt).toLocaleTimeString()
|
|
16784
17152
|
] }) : null
|
|
16785
17153
|
] }),
|
|
16786
|
-
/* @__PURE__ */ (0,
|
|
16787
|
-
|
|
17154
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
|
|
17155
|
+
import_core88.Paper,
|
|
16788
17156
|
{
|
|
16789
17157
|
p: "sm",
|
|
16790
17158
|
radius: "lg",
|
|
@@ -16796,19 +17164,19 @@ function ChatMessage({
|
|
|
16796
17164
|
},
|
|
16797
17165
|
children: [
|
|
16798
17166
|
message.content,
|
|
16799
|
-
message.state === "error" ? /* @__PURE__ */ (0,
|
|
16800
|
-
/* @__PURE__ */ (0,
|
|
16801
|
-
onRetry ? /* @__PURE__ */ (0,
|
|
17167
|
+
message.state === "error" ? /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_core88.Group, { gap: "xs", mt: "xs", children: [
|
|
17168
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_core88.Text, { fz: "sm", c: "red", children: "Failed to send." }),
|
|
17169
|
+
onRetry ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_core88.Text, { fz: "sm", fw: 600, role: "button", tabIndex: 0, style: { cursor: "pointer" }, onClick: () => onRetry(message.id), children: retryLabel }) : null
|
|
16802
17170
|
] }) : null
|
|
16803
17171
|
]
|
|
16804
17172
|
}
|
|
16805
17173
|
),
|
|
16806
|
-
visibleCards.length > 0 ? /* @__PURE__ */ (0,
|
|
17174
|
+
visibleCards.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_core88.Stack, { gap: "sm", style: { width: "100%" }, children: [
|
|
16807
17175
|
visibleCards.map((card, index) => (
|
|
16808
17176
|
// eslint-disable-next-line react/no-array-index-key
|
|
16809
|
-
/* @__PURE__ */ (0,
|
|
17177
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_core88.Box, { children: card }, index)
|
|
16810
17178
|
)),
|
|
16811
|
-
hiddenCount > 0 ? /* @__PURE__ */ (0,
|
|
17179
|
+
hiddenCount > 0 ? /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_core88.Text, { fz: "sm", c: "dimmed", children: [
|
|
16812
17180
|
"+ ",
|
|
16813
17181
|
hiddenCount,
|
|
16814
17182
|
" more"
|
|
@@ -16817,12 +17185,12 @@ function ChatMessage({
|
|
|
16817
17185
|
] });
|
|
16818
17186
|
}
|
|
16819
17187
|
function StreamingIndicator({ label: labelProp }) {
|
|
16820
|
-
const { t } = (0,
|
|
17188
|
+
const { t } = (0, import_gds_theme38.useGdsTranslation)();
|
|
16821
17189
|
const label = labelProp ?? t("gds.chatSurface.label", "Assistant is typing");
|
|
16822
|
-
return /* @__PURE__ */ (0,
|
|
16823
|
-
/* @__PURE__ */ (0,
|
|
16824
|
-
/* @__PURE__ */ (0,
|
|
16825
|
-
/* @__PURE__ */ (0,
|
|
17190
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_core88.Group, { gap: 6, "aria-label": label, children: [
|
|
17191
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_core88.Box, { className: "gds-chat-typing-dot", "data-gds-motion": true, style: dotStyle2(0) }),
|
|
17192
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_core88.Box, { className: "gds-chat-typing-dot", "data-gds-motion": true, style: dotStyle2(1) }),
|
|
17193
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_core88.Box, { className: "gds-chat-typing-dot", "data-gds-motion": true, style: dotStyle2(2) })
|
|
16826
17194
|
] });
|
|
16827
17195
|
}
|
|
16828
17196
|
function dotStyle2(index) {
|
|
@@ -16843,7 +17211,7 @@ function ChatInput({
|
|
|
16843
17211
|
placeholder: placeholderProp,
|
|
16844
17212
|
sendLabel: sendLabelProp
|
|
16845
17213
|
}) {
|
|
16846
|
-
const { t } = (0,
|
|
17214
|
+
const { t } = (0, import_gds_theme38.useGdsTranslation)();
|
|
16847
17215
|
const placeholder2 = placeholderProp ?? t("gds.chatSurface.placeholder", "Message\u2026");
|
|
16848
17216
|
const sendLabel = sendLabelProp ?? t("gds.chatSurface.sendLabel", "Send");
|
|
16849
17217
|
const [value, setValue] = (0, import_react16.useState)("");
|
|
@@ -16853,9 +17221,9 @@ function ChatInput({
|
|
|
16853
17221
|
onSend(trimmed);
|
|
16854
17222
|
setValue("");
|
|
16855
17223
|
};
|
|
16856
|
-
return /* @__PURE__ */ (0,
|
|
16857
|
-
/* @__PURE__ */ (0,
|
|
16858
|
-
|
|
17224
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_core88.Group, { gap: "xs", align: "flex-end", wrap: "nowrap", children: [
|
|
17225
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
17226
|
+
import_core88.Textarea,
|
|
16859
17227
|
{
|
|
16860
17228
|
value,
|
|
16861
17229
|
onChange: (event) => setValue(event.currentTarget.value),
|
|
@@ -16874,7 +17242,7 @@ function ChatInput({
|
|
|
16874
17242
|
style: { flex: 1 }
|
|
16875
17243
|
}
|
|
16876
17244
|
),
|
|
16877
|
-
/* @__PURE__ */ (0,
|
|
17245
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_core88.ActionIcon, { size: "lg", "aria-label": sendLabel, disabled: disabled || !value.trim(), onClick: submit, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(GdsIcons.Send, { size: "1.1rem" }) })
|
|
16878
17246
|
] });
|
|
16879
17247
|
}
|
|
16880
17248
|
function ChatThread({
|
|
@@ -16905,18 +17273,18 @@ function ChatThread({
|
|
|
16905
17273
|
if (!node) return;
|
|
16906
17274
|
pinnedRef.current = node.scrollHeight - node.scrollTop - node.clientHeight <= PIN_THRESHOLD_PX;
|
|
16907
17275
|
};
|
|
16908
|
-
return /* @__PURE__ */ (0,
|
|
17276
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_core88.Stack, { gap: "sm", style: { height: "100%" }, children: [
|
|
16909
17277
|
errorBanner,
|
|
16910
|
-
/* @__PURE__ */ (0,
|
|
16911
|
-
|
|
17278
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
17279
|
+
import_core88.Box,
|
|
16912
17280
|
{
|
|
16913
17281
|
ref: scrollRef,
|
|
16914
17282
|
onScroll: handleScroll,
|
|
16915
17283
|
"aria-live": "polite",
|
|
16916
17284
|
"aria-relevant": "additions",
|
|
16917
17285
|
style: { flex: 1, overflowY: "auto", minHeight: 0 },
|
|
16918
|
-
children: messages.length === 0 ? emptyState ?? /* @__PURE__ */ (0,
|
|
16919
|
-
messages.map((message) => /* @__PURE__ */ (0,
|
|
17286
|
+
children: messages.length === 0 ? emptyState ?? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_core88.Text, { c: "dimmed", ta: "center", py: "xl", children: "Ask a question to get started." }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_core88.Stack, { gap: "md", children: [
|
|
17287
|
+
messages.map((message) => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
16920
17288
|
ChatMessage,
|
|
16921
17289
|
{
|
|
16922
17290
|
message,
|
|
@@ -16928,19 +17296,19 @@ function ChatThread({
|
|
|
16928
17296
|
},
|
|
16929
17297
|
message.id
|
|
16930
17298
|
)),
|
|
16931
|
-
streaming ? /* @__PURE__ */ (0,
|
|
17299
|
+
streaming ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(StreamingIndicator, {}) : null
|
|
16932
17300
|
] })
|
|
16933
17301
|
}
|
|
16934
17302
|
),
|
|
16935
|
-
/* @__PURE__ */ (0,
|
|
17303
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(ChatInput, { onSend, disabled: inputDisabled || streaming, placeholder: placeholder2, sendLabel })
|
|
16936
17304
|
] });
|
|
16937
17305
|
}
|
|
16938
17306
|
|
|
16939
17307
|
// src/AISearchCard.tsx
|
|
16940
17308
|
var import_react17 = require("react");
|
|
16941
|
-
var
|
|
16942
|
-
var
|
|
16943
|
-
var
|
|
17309
|
+
var import_gds_theme39 = require("@sovereignsquad/gds-theme");
|
|
17310
|
+
var import_core89 = require("@mantine/core");
|
|
17311
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
16944
17312
|
function AISearchCard({
|
|
16945
17313
|
onSubmit,
|
|
16946
17314
|
prompts = [],
|
|
@@ -16950,7 +17318,7 @@ function AISearchCard({
|
|
|
16950
17318
|
ariaLabel: ariaLabelProp,
|
|
16951
17319
|
disabled = false
|
|
16952
17320
|
}) {
|
|
16953
|
-
const { t } = (0,
|
|
17321
|
+
const { t } = (0, import_gds_theme39.useGdsTranslation)();
|
|
16954
17322
|
const placeholder2 = placeholderProp ?? t("gds.aiSearchCard.placeholder", "Ask anything\u2026");
|
|
16955
17323
|
const betaLabel = betaLabelProp ?? t("gds.aiSearchCard.betaLabel", "BETA");
|
|
16956
17324
|
const ariaLabel = ariaLabelProp ?? t("gds.aiSearchCard.ariaLabel", "AI search");
|
|
@@ -16969,11 +17337,11 @@ function AISearchCard({
|
|
|
16969
17337
|
onSubmit(prompt);
|
|
16970
17338
|
}
|
|
16971
17339
|
};
|
|
16972
|
-
return /* @__PURE__ */ (0,
|
|
16973
|
-
/* @__PURE__ */ (0,
|
|
16974
|
-
/* @__PURE__ */ (0,
|
|
16975
|
-
/* @__PURE__ */ (0,
|
|
16976
|
-
|
|
17340
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_core89.Card, { withBorder: true, radius: "lg", padding: "lg", role: "search", "aria-label": ariaLabel, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_core89.Stack, { gap: "sm", children: [
|
|
17341
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_core89.Group, { justify: "flex-end", children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(MeaningBadge, { variant: "info", label: betaLabel }) }),
|
|
17342
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_core89.Group, { gap: "xs", wrap: "nowrap", children: [
|
|
17343
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
17344
|
+
import_core89.TextInput,
|
|
16977
17345
|
{
|
|
16978
17346
|
value: query,
|
|
16979
17347
|
onChange: (event) => setQuery(event.currentTarget.value),
|
|
@@ -16989,9 +17357,9 @@ function AISearchCard({
|
|
|
16989
17357
|
style: { flex: 1 }
|
|
16990
17358
|
}
|
|
16991
17359
|
),
|
|
16992
|
-
/* @__PURE__ */ (0,
|
|
17360
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_core89.ActionIcon, { size: "lg", "aria-label": "Search", disabled: disabled || !query.trim(), onClick: () => submit(query), children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(GdsIcons.Search, { size: "1.1rem" }) })
|
|
16993
17361
|
] }),
|
|
16994
|
-
prompts.length > 0 ? /* @__PURE__ */ (0,
|
|
17362
|
+
prompts.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_core89.Group, { gap: "xs", wrap: "wrap", role: "group", "aria-label": "Suggested prompts", children: prompts.map((prompt) => /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
16995
17363
|
ChoiceChip,
|
|
16996
17364
|
{
|
|
16997
17365
|
label: prompt,
|
|
@@ -17005,11 +17373,11 @@ function AISearchCard({
|
|
|
17005
17373
|
}
|
|
17006
17374
|
|
|
17007
17375
|
// src/QuickStartCard.tsx
|
|
17008
|
-
var
|
|
17009
|
-
var
|
|
17376
|
+
var import_gds_theme40 = require("@sovereignsquad/gds-theme");
|
|
17377
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
17010
17378
|
var GDS_QUICK_START_ICON_BOX_PX = 34;
|
|
17011
17379
|
function QuickStartCard({ icon, label, description, onClick, disabled = false }) {
|
|
17012
|
-
return /* @__PURE__ */ (0,
|
|
17380
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
|
|
17013
17381
|
"button",
|
|
17014
17382
|
{
|
|
17015
17383
|
type: "button",
|
|
@@ -17024,7 +17392,7 @@ function QuickStartCard({ icon, label, description, onClick, disabled = false })
|
|
|
17024
17392
|
flexDirection: "column",
|
|
17025
17393
|
alignItems: "flex-start",
|
|
17026
17394
|
width: "100%",
|
|
17027
|
-
minHeight: `${
|
|
17395
|
+
minHeight: `${import_gds_theme40.GDS_MIN_TARGET_PX}px`,
|
|
17028
17396
|
gap: "var(--mantine-spacing-xs)",
|
|
17029
17397
|
padding: "var(--mantine-spacing-md)",
|
|
17030
17398
|
borderRadius: "var(--gds-radius-card)",
|
|
@@ -17034,7 +17402,7 @@ function QuickStartCard({ icon, label, description, onClick, disabled = false })
|
|
|
17034
17402
|
cursor: disabled ? "not-allowed" : "pointer"
|
|
17035
17403
|
},
|
|
17036
17404
|
children: [
|
|
17037
|
-
/* @__PURE__ */ (0,
|
|
17405
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
17038
17406
|
"span",
|
|
17039
17407
|
{
|
|
17040
17408
|
style: {
|
|
@@ -17048,12 +17416,12 @@ function QuickStartCard({ icon, label, description, onClick, disabled = false })
|
|
|
17048
17416
|
background: "var(--gds-bg-page, var(--gds-vibe-surface, var(--mantine-color-gray-0)))",
|
|
17049
17417
|
color: disabled ? "var(--gds-control-disabledText, var(--mantine-color-gray-6))" : "var(--gds-brand-primary, var(--gds-vibe-primary, var(--mantine-primary-color-filled)))"
|
|
17050
17418
|
},
|
|
17051
|
-
children: /* @__PURE__ */ (0,
|
|
17419
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(GdsIcon, { icon })
|
|
17052
17420
|
}
|
|
17053
17421
|
),
|
|
17054
|
-
/* @__PURE__ */ (0,
|
|
17055
|
-
/* @__PURE__ */ (0,
|
|
17056
|
-
description ? /* @__PURE__ */ (0,
|
|
17422
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { style: { overflowWrap: "break-word", display: "grid" }, children: [
|
|
17423
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(InlineEmphasis, { component: "span", children: label }),
|
|
17424
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(MetadataText, { children: description }) : null
|
|
17057
17425
|
] })
|
|
17058
17426
|
]
|
|
17059
17427
|
}
|
|
@@ -17297,7 +17665,7 @@ function buildGdsHeroSvg(options) {
|
|
|
17297
17665
|
// src/generated-brand-badge.ts
|
|
17298
17666
|
var import_react19 = require("react");
|
|
17299
17667
|
var import_server2 = require("react-dom/server");
|
|
17300
|
-
var
|
|
17668
|
+
var import_gds_theme41 = require("@sovereignsquad/gds-theme");
|
|
17301
17669
|
var CANVAS = 48;
|
|
17302
17670
|
var DEFAULT_CORNER_RADIUS_RATIO = 0.25;
|
|
17303
17671
|
var MASKABLE_SAFE_ZONE_RATIO = 0.8;
|
|
@@ -17363,7 +17731,7 @@ function resolveMotifBackingKeepPercent(primary, accent) {
|
|
|
17363
17731
|
);
|
|
17364
17732
|
let ratio;
|
|
17365
17733
|
try {
|
|
17366
|
-
ratio = (0,
|
|
17734
|
+
ratio = (0, import_gds_theme41.getGdsContrastRatio)(MOTIF_COLOR, midpoint);
|
|
17367
17735
|
} catch {
|
|
17368
17736
|
return 100;
|
|
17369
17737
|
}
|
|
@@ -17394,7 +17762,7 @@ function buildGdsBrandBadgeSvg(options) {
|
|
|
17394
17762
|
}
|
|
17395
17763
|
const scheme = colorScheme ?? "light";
|
|
17396
17764
|
const palette = resolveGdsGeneratedPaletteHex({ colors, themePresetId, colorScheme: scheme });
|
|
17397
|
-
const identity = colors ? "override" : (0,
|
|
17765
|
+
const identity = colors ? "override" : (0, import_gds_theme41.computeGdsThemeIdentity)({ preset: themePresetId, colorScheme: scheme });
|
|
17398
17766
|
const seed = explicitSeed ?? identity;
|
|
17399
17767
|
const tiltDeg = Math.round((gdsSeededRandom(seed)() - 0.5) * 40);
|
|
17400
17768
|
const keepPercent = resolveMotifBackingKeepPercent(palette.primary, palette.accent);
|
|
@@ -17789,6 +18157,7 @@ function buildGdsBrandBadgeSvg(options) {
|
|
|
17789
18157
|
normalizeGdsResponsiveValue,
|
|
17790
18158
|
partnerDiscoveryDefaultAmenities,
|
|
17791
18159
|
partnerDiscoveryDefaultFilterState,
|
|
18160
|
+
partnerDiscoveryFamilyAmenities,
|
|
17792
18161
|
redactGdsAccessGateMetadata,
|
|
17793
18162
|
redactPartnerDiscoveryEventMetadata,
|
|
17794
18163
|
registerGdsBlock,
|