@uzum-tech/ui 2.1.1 → 2.1.3

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.
Files changed (76) hide show
  1. package/dist/index.js +1238 -130
  2. package/dist/index.mjs +1234 -131
  3. package/dist/index.prod.js +2 -2
  4. package/dist/index.prod.mjs +2 -2
  5. package/es/_internal/icon/index.d.ts +4 -2
  6. package/es/_internal/icon/index.mjs +3 -1
  7. package/es/_internal/icon/src/UIcon.d.ts +20 -63
  8. package/es/_internal/icon/src/UIcon.mjs +1 -9
  9. package/es/_internal/icon/src/interface.d.ts +50 -0
  10. package/es/_internal/icon/src/interface.mjs +10 -0
  11. package/es/_internal/icon/src/render-icon.d.ts +4 -0
  12. package/es/_internal/icon/src/render-icon.mjs +10 -0
  13. package/es/chat/src/Chat.mjs +3 -1
  14. package/es/chat/src/ChatListItems.mjs +3 -3
  15. package/es/chat/src/ChatParts/Sidebar.mjs +2 -1
  16. package/es/chat/src/interface.d.ts +1 -0
  17. package/es/components.d.ts +3 -1
  18. package/es/components.mjs +1 -1
  19. package/es/date-picker/src/DatePicker.mjs +8 -4
  20. package/es/drawer/src/DrawerContent.d.ts +3 -0
  21. package/es/drawer/src/DrawerContent.mjs +4 -2
  22. package/es/ellipsis/src/Ellipsis.mjs +2 -1
  23. package/es/icon/index.d.ts +2 -2
  24. package/es/icon/index.mjs +1 -1
  25. package/es/icon/src/Icon.d.ts +2 -2
  26. package/es/icon/src/Icon.mjs +1 -1
  27. package/es/locales/common/uzUZ.d.ts +3 -0
  28. package/es/locales/common/uzUZ.mjs +162 -0
  29. package/es/locales/common/zhCN.d.ts +3 -0
  30. package/es/locales/common/zhCN.mjs +162 -0
  31. package/es/locales/date/uzUZ.d.ts +3 -0
  32. package/es/locales/date/uzUZ.mjs +6 -0
  33. package/es/locales/date/zhCN.d.ts +3 -0
  34. package/es/locales/date/zhCN.mjs +6 -0
  35. package/es/locales/index.d.ts +4 -0
  36. package/es/locales/index.mjs +4 -0
  37. package/es/popover/src/PopoverBody.mjs +1 -1
  38. package/es/version.d.ts +1 -1
  39. package/es/version.mjs +1 -1
  40. package/lib/_internal/icon/index.d.ts +4 -2
  41. package/lib/_internal/icon/index.js +5 -2
  42. package/lib/_internal/icon/src/UIcon.d.ts +20 -63
  43. package/lib/_internal/icon/src/UIcon.js +3 -3
  44. package/lib/_internal/icon/src/interface.d.ts +50 -0
  45. package/lib/_internal/icon/src/interface.js +5 -0
  46. package/lib/_internal/icon/src/render-icon.d.ts +4 -0
  47. package/lib/_internal/icon/src/render-icon.js +11 -0
  48. package/lib/chat/src/Chat.js +3 -1
  49. package/lib/chat/src/ChatListItems.js +2 -2
  50. package/lib/chat/src/ChatParts/Sidebar.js +2 -1
  51. package/lib/chat/src/interface.d.ts +1 -0
  52. package/lib/components.d.ts +3 -1
  53. package/lib/components.js +6 -5
  54. package/lib/date-picker/src/DatePicker.js +14 -4
  55. package/lib/drawer/src/DrawerContent.d.ts +3 -0
  56. package/lib/drawer/src/DrawerContent.js +9 -2
  57. package/lib/ellipsis/src/Ellipsis.js +1 -1
  58. package/lib/icon/index.d.ts +2 -2
  59. package/lib/icon/index.js +2 -1
  60. package/lib/icon/src/Icon.d.ts +2 -2
  61. package/lib/icon/src/Icon.js +2 -1
  62. package/lib/locales/common/uzUZ.d.ts +3 -0
  63. package/lib/locales/common/uzUZ.js +164 -0
  64. package/lib/locales/common/zhCN.d.ts +3 -0
  65. package/lib/locales/common/zhCN.js +164 -0
  66. package/lib/locales/date/uzUZ.d.ts +3 -0
  67. package/lib/locales/date/uzUZ.js +8 -0
  68. package/lib/locales/date/zhCN.d.ts +3 -0
  69. package/lib/locales/date/zhCN.js +8 -0
  70. package/lib/locales/index.d.ts +4 -0
  71. package/lib/locales/index.js +9 -1
  72. package/lib/popover/src/PopoverBody.js +4 -1
  73. package/lib/version.d.ts +1 -1
  74. package/lib/version.js +1 -1
  75. package/package.json +2 -2
  76. package/web-types.json +11 -1
package/dist/index.js CHANGED
@@ -6307,6 +6307,330 @@
6307
6307
  }
6308
6308
  };
6309
6309
 
6310
+ const uzUZ = {
6311
+ name: "uz-UZ",
6312
+ global: {
6313
+ undo: "Bekor qilish",
6314
+ redo: "Qaytadan bajarish",
6315
+ confirm: "Tasdiqlash",
6316
+ clear: "Tozalash"
6317
+ },
6318
+ Popconfirm: {
6319
+ positiveText: "Tasdiqlash",
6320
+ negativeText: "Bekor qilish"
6321
+ },
6322
+ Cascader: {
6323
+ placeholder: "Tanlang",
6324
+ loading: "Yuklanmoqda",
6325
+ loadingRequiredMessage: label => `${label} ning barcha quyi elementlarini belgilashdan oldin ularni yuklang.`
6326
+ },
6327
+ Time: {
6328
+ dateFormat: "yyyy-MM-dd",
6329
+ dateTimeFormat: "yyyy-MM-dd HH:mm:ss"
6330
+ },
6331
+ DatePicker: {
6332
+ yearFormat: "yyyy",
6333
+ monthFormat: "MMM",
6334
+ dayFormat: "eeeeee",
6335
+ yearTypeFormat: "yyyy",
6336
+ monthTypeFormat: "yyyy-MM",
6337
+ dateFormat: "yyyy-MM-dd",
6338
+ dateTimeFormat: "yyyy-MM-dd HH:mm:ss",
6339
+ quarterFormat: "yyyy-qqq",
6340
+ weekFormat: "YYYY-w",
6341
+ clear: "Tozalash",
6342
+ now: "Hozir",
6343
+ confirm: "Tasdiqlash",
6344
+ selectTime: "Vaqtni tanlash",
6345
+ selectDate: "Sanani tanlash",
6346
+ datePlaceholder: "Sanani tanlang",
6347
+ datetimePlaceholder: "Sana va vaqtni tanlang",
6348
+ monthPlaceholder: "Oyni tanlang",
6349
+ yearPlaceholder: "Yilni tanlang",
6350
+ quarterPlaceholder: "Chorakni tanlang",
6351
+ weekPlaceholder: "Haftani tanlang",
6352
+ startDatePlaceholder: "Boshlanish sanasi",
6353
+ endDatePlaceholder: "Tugash sanasi",
6354
+ startDatetimePlaceholder: "Boshlanish sanasi va vaqti",
6355
+ endDatetimePlaceholder: "Tugash sanasi va vaqti",
6356
+ startMonthPlaceholder: "Boshlanish oyi",
6357
+ endMonthPlaceholder: "Tugash oyi",
6358
+ monthBeforeYear: true,
6359
+ firstDayOfWeek: 1,
6360
+ today: "Bugun"
6361
+ },
6362
+ DataTable: {
6363
+ checkTableAll: "Jadvaldagi barchasini tanlash",
6364
+ uncheckTableAll: "Jadvaldagi barcha tanlovni bekor qilish",
6365
+ confirm: "Tasdiqlash",
6366
+ clear: "Tozalash"
6367
+ },
6368
+ LegacyTransfer: {
6369
+ sourceTitle: "Manba",
6370
+ targetTitle: "Manzil"
6371
+ },
6372
+ Transfer: {
6373
+ selectAll: "Barchasini tanlash",
6374
+ unselectAll: "Barcha tanlovni bekor qilish",
6375
+ clearAll: "Tozalash",
6376
+ total: num => `Jami ${num} ta`,
6377
+ selected: num => `${num} ta tanlandi`
6378
+ },
6379
+ Empty: {
6380
+ title: "Hech narsa topilmadi",
6381
+ description: "Qidiruv so\u02BBrovini o\u02BBzgartirib ko\u02BBring"
6382
+ },
6383
+ Select: {
6384
+ placeholder: "Tanlang"
6385
+ },
6386
+ TimePicker: {
6387
+ placeholder: "Vaqtni tanlang",
6388
+ positiveText: "OK",
6389
+ negativeText: "Bekor qilish",
6390
+ now: "Hozir",
6391
+ clear: "Tozalash"
6392
+ },
6393
+ Pagination: {
6394
+ goto: "O\u02BBtish",
6395
+ selectionSuffix: "sahifa"
6396
+ },
6397
+ DynamicTags: {
6398
+ add: "Qo\u02BBshish"
6399
+ },
6400
+ Log: {
6401
+ loading: "Yuklanmoqda"
6402
+ },
6403
+ Input: {
6404
+ placeholder: "Kiriting",
6405
+ copied: "Nusxalandi"
6406
+ },
6407
+ InputNumber: {
6408
+ placeholder: "Kiriting"
6409
+ },
6410
+ DynamicInput: {
6411
+ create: "Yaratish"
6412
+ },
6413
+ ThemeEditor: {
6414
+ title: "Mavzu muharriri",
6415
+ clearAllVars: "Barcha o\u02BBzgaruvchilarni tozalash",
6416
+ clearSearch: "Qidiruvni tozalash",
6417
+ filterCompName: "Komponent nomi bo\u02BByicha filtr",
6418
+ filterVarName: "O\u02BBzgaruvchi nomi bo\u02BByicha filtr",
6419
+ import: "Import qilish",
6420
+ export: "Eksport qilish",
6421
+ restore: "Standart holatga qaytarish"
6422
+ },
6423
+ Image: {
6424
+ tipPrevious: "Oldingi rasm (\u2190)",
6425
+ tipNext: "Keyingi rasm (\u2192)",
6426
+ tipCounterclockwise: "Soat mili yo\u02BBnalishiga teskari aylantirish",
6427
+ tipClockwise: "Soat mili yo\u02BBnalishi bo\u02BByicha aylantirish",
6428
+ tipZoomOut: "Kichraytirish",
6429
+ tipZoomIn: "Kattalashtirish",
6430
+ tipDownload: "Yuklab olish",
6431
+ tipClose: "Yopish (Esc)",
6432
+ tipOriginalSize: "Asl o\u02BBlchamga qaytarish"
6433
+ },
6434
+ Upload: {
6435
+ title: "Faylni tanlang yoki shu yerga tashlang",
6436
+ subtitle: "PDF, PNG, JPEG, 100 MB dan oshmasin",
6437
+ uploading: "Yuklanmoqda"
6438
+ },
6439
+ Chat: {
6440
+ inputPlaceholder: "Xabar yozing...",
6441
+ typingText: "Yozmoqda...",
6442
+ retryText: "Qayta yuborish",
6443
+ closeButtonText: "Chatni yopish",
6444
+ shareButtonTooltip: "Chatni ulashish",
6445
+ profileButtonTooltip: "Profilni ko\u02BBrish",
6446
+ unreadNotificationText: "ta yangi xabar",
6447
+ editText: "Tahrirlash",
6448
+ copyText: "Nusxalash",
6449
+ deleteText: "O\u02BBchirish",
6450
+ editingTitle: "Tahrirlanmoqda"
6451
+ },
6452
+ MappingCard: {
6453
+ copyTooltip: "Nusxalash",
6454
+ editTooltip: "Tahrirlash",
6455
+ deleteTooltip: "O\u02BBchirish",
6456
+ switchTooltip: "Almashtirish"
6457
+ },
6458
+ Header: {
6459
+ desktopSearchTitle: "Qidiruv",
6460
+ searchPlaceholder: "Sayt bo\u02BByicha qidirish",
6461
+ primaryActionText: "Mijoz bo\u02BBlish",
6462
+ secondaryActionText: "Ilovaga o\u02BBtish"
6463
+ },
6464
+ Heatmap: {
6465
+ less: "kam",
6466
+ more: "ko\u02BBp",
6467
+ monthFormat: "MMM",
6468
+ weekdayFormat: "eeeeee"
6469
+ }
6470
+ };
6471
+
6472
+ const zhCN$1 = {
6473
+ name: "zh-CN",
6474
+ global: {
6475
+ undo: "\u64A4\u9500",
6476
+ redo: "\u91CD\u505A",
6477
+ confirm: "\u786E\u8BA4",
6478
+ clear: "\u6E05\u9664"
6479
+ },
6480
+ Popconfirm: {
6481
+ positiveText: "\u786E\u8BA4",
6482
+ negativeText: "\u53D6\u6D88"
6483
+ },
6484
+ Cascader: {
6485
+ placeholder: "\u8BF7\u9009\u62E9",
6486
+ loading: "\u52A0\u8F7D\u4E2D",
6487
+ loadingRequiredMessage: label => `\u52A0\u8F7D\u5168\u90E8 ${label} \u7684\u5B50\u8282\u70B9\u540E\u624D\u53EF\u9009\u4E2D`
6488
+ },
6489
+ Time: {
6490
+ dateFormat: "yyyy-MM-dd",
6491
+ dateTimeFormat: "yyyy-MM-dd HH:mm:ss"
6492
+ },
6493
+ DatePicker: {
6494
+ yearFormat: "yyyy\u5E74",
6495
+ monthFormat: "MMM",
6496
+ dayFormat: "eeeeee",
6497
+ yearTypeFormat: "yyyy",
6498
+ monthTypeFormat: "yyyy-MM",
6499
+ dateFormat: "yyyy-MM-dd",
6500
+ dateTimeFormat: "yyyy-MM-dd HH:mm:ss",
6501
+ quarterFormat: "yyyy-qqq",
6502
+ weekFormat: "YYYY-w\u5468",
6503
+ clear: "\u6E05\u9664",
6504
+ now: "\u6B64\u523B",
6505
+ confirm: "\u786E\u8BA4",
6506
+ selectTime: "\u9009\u62E9\u65F6\u95F4",
6507
+ selectDate: "\u9009\u62E9\u65E5\u671F",
6508
+ datePlaceholder: "\u9009\u62E9\u65E5\u671F",
6509
+ datetimePlaceholder: "\u9009\u62E9\u65E5\u671F\u65F6\u95F4",
6510
+ monthPlaceholder: "\u9009\u62E9\u6708\u4EFD",
6511
+ yearPlaceholder: "\u9009\u62E9\u5E74\u4EFD",
6512
+ quarterPlaceholder: "\u9009\u62E9\u5B63\u5EA6",
6513
+ weekPlaceholder: "\u9009\u62E9\u5468",
6514
+ startDatePlaceholder: "\u5F00\u59CB\u65E5\u671F",
6515
+ endDatePlaceholder: "\u7ED3\u675F\u65E5\u671F",
6516
+ startDatetimePlaceholder: "\u5F00\u59CB\u65E5\u671F\u65F6\u95F4",
6517
+ endDatetimePlaceholder: "\u7ED3\u675F\u65E5\u671F\u65F6\u95F4",
6518
+ startMonthPlaceholder: "\u5F00\u59CB\u6708\u4EFD",
6519
+ endMonthPlaceholder: "\u7ED3\u675F\u6708\u4EFD",
6520
+ monthBeforeYear: false,
6521
+ firstDayOfWeek: 0,
6522
+ today: "\u4ECA\u5929"
6523
+ },
6524
+ DataTable: {
6525
+ checkTableAll: "\u9009\u62E9\u5168\u90E8\u8868\u683C\u6570\u636E",
6526
+ uncheckTableAll: "\u53D6\u6D88\u9009\u62E9\u5168\u90E8\u8868\u683C\u6570\u636E",
6527
+ confirm: "\u786E\u8BA4",
6528
+ clear: "\u91CD\u7F6E"
6529
+ },
6530
+ LegacyTransfer: {
6531
+ sourceTitle: "\u6E90\u9879",
6532
+ targetTitle: "\u76EE\u6807\u9879"
6533
+ },
6534
+ Transfer: {
6535
+ selectAll: "\u5168\u9009",
6536
+ unselectAll: "\u53D6\u6D88\u5168\u9009",
6537
+ clearAll: "\u6E05\u9664",
6538
+ total: num => `\u5171 ${num} \u9879`,
6539
+ selected: num => `\u5DF2\u9009 ${num} \u9879`
6540
+ },
6541
+ Empty: {
6542
+ title: "\u672A\u627E\u5230\u5339\u914D\u9879",
6543
+ description: "\u8BF7\u5C1D\u8BD5\u4FEE\u6539\u641C\u7D22\u6761\u4EF6"
6544
+ },
6545
+ Select: {
6546
+ placeholder: "\u8BF7\u9009\u62E9"
6547
+ },
6548
+ TimePicker: {
6549
+ placeholder: "\u8BF7\u9009\u62E9\u65F6\u95F4",
6550
+ positiveText: "\u786E\u8BA4",
6551
+ negativeText: "\u53D6\u6D88",
6552
+ now: "\u6B64\u523B",
6553
+ clear: "\u6E05\u9664"
6554
+ },
6555
+ Pagination: {
6556
+ goto: "\u8DF3\u81F3",
6557
+ selectionSuffix: "\u9875"
6558
+ },
6559
+ DynamicTags: {
6560
+ add: "\u6DFB\u52A0"
6561
+ },
6562
+ Log: {
6563
+ loading: "\u52A0\u8F7D\u4E2D"
6564
+ },
6565
+ Input: {
6566
+ placeholder: "\u8BF7\u8F93\u5165",
6567
+ copied: "\u5DF2\u590D\u5236"
6568
+ },
6569
+ InputNumber: {
6570
+ placeholder: "\u8BF7\u8F93\u5165"
6571
+ },
6572
+ DynamicInput: {
6573
+ create: "\u6DFB\u52A0"
6574
+ },
6575
+ ThemeEditor: {
6576
+ title: "\u4E3B\u9898\u7F16\u8F91\u5668",
6577
+ clearAllVars: "\u6E05\u9664\u5168\u90E8\u53D8\u91CF",
6578
+ clearSearch: "\u6E05\u9664\u641C\u7D22",
6579
+ filterCompName: "\u8FC7\u6EE4\u7EC4\u4EF6\u540D",
6580
+ filterVarName: "\u8FC7\u6EE4\u53D8\u91CF\u540D",
6581
+ import: "\u5BFC\u5165",
6582
+ export: "\u5BFC\u51FA",
6583
+ restore: "\u6062\u590D\u9ED8\u8BA4"
6584
+ },
6585
+ Image: {
6586
+ tipPrevious: "\u4E0A\u4E00\u5F20\uFF08\u2190\uFF09",
6587
+ tipNext: "\u4E0B\u4E00\u5F20\uFF08\u2192\uFF09",
6588
+ tipCounterclockwise: "\u5411\u5DE6\u65CB\u8F6C",
6589
+ tipClockwise: "\u5411\u53F3\u65CB\u8F6C",
6590
+ tipZoomOut: "\u7F29\u5C0F",
6591
+ tipZoomIn: "\u653E\u5927",
6592
+ tipDownload: "\u4E0B\u8F7D",
6593
+ tipClose: "\u5173\u95ED\uFF08Esc\uFF09",
6594
+ tipOriginalSize: "\u7F29\u653E\u5230\u539F\u59CB\u5C3A\u5BF8"
6595
+ },
6596
+ Upload: {
6597
+ title: "\u9009\u62E9\u6587\u4EF6\u6216\u62D6\u62FD\u5230\u6B64\u5904",
6598
+ subtitle: "PDF\u3001PNG\u3001JPEG\uFF0C\u4E0D\u8D85\u8FC7 100 MB",
6599
+ uploading: "\u4E0A\u4F20\u4E2D"
6600
+ },
6601
+ Chat: {
6602
+ inputPlaceholder: "\u8F93\u5165\u6D88\u606F...",
6603
+ typingText: "\u6B63\u5728\u8F93\u5165...",
6604
+ retryText: "\u91CD\u65B0\u53D1\u9001",
6605
+ closeButtonText: "\u5173\u95ED\u804A\u5929",
6606
+ shareButtonTooltip: "\u5206\u4EAB\u804A\u5929",
6607
+ profileButtonTooltip: "\u67E5\u770B\u8D44\u6599",
6608
+ unreadNotificationText: "\u6761\u65B0\u6D88\u606F",
6609
+ editText: "\u7F16\u8F91",
6610
+ copyText: "\u590D\u5236",
6611
+ deleteText: "\u5220\u9664",
6612
+ editingTitle: "\u7F16\u8F91\u4E2D"
6613
+ },
6614
+ MappingCard: {
6615
+ copyTooltip: "\u590D\u5236",
6616
+ editTooltip: "\u7F16\u8F91",
6617
+ deleteTooltip: "\u5220\u9664",
6618
+ switchTooltip: "\u5207\u6362"
6619
+ },
6620
+ Header: {
6621
+ desktopSearchTitle: "\u641C\u7D22",
6622
+ searchPlaceholder: "\u7AD9\u5185\u641C\u7D22",
6623
+ primaryActionText: "\u6210\u4E3A\u5BA2\u6237",
6624
+ secondaryActionText: "\u524D\u5F80\u5E94\u7528"
6625
+ },
6626
+ Heatmap: {
6627
+ less: "\u5C11",
6628
+ more: "\u591A",
6629
+ monthFormat: "MMM",
6630
+ weekdayFormat: "eeeeee"
6631
+ }
6632
+ };
6633
+
6310
6634
  function buildFormatLongFn(args) {
6311
6635
  return (options = {}) => {
6312
6636
  // TODO: Remove String()
@@ -6701,7 +7025,7 @@
6701
7025
  return +startOfWeek(laterDate_, options) === +startOfWeek(earlierDate_, options);
6702
7026
  }
6703
7027
 
6704
- const formatDistanceLocale$1 = {
7028
+ const formatDistanceLocale$3 = {
6705
7029
  lessThanXSeconds: {
6706
7030
  one: "less than a second",
6707
7031
  other: "less than {{count}} seconds"
@@ -6764,9 +7088,9 @@
6764
7088
  other: "almost {{count}} years"
6765
7089
  }
6766
7090
  };
6767
- const formatDistance$1 = (token, count, options) => {
7091
+ const formatDistance$3 = (token, count, options) => {
6768
7092
  let result;
6769
- const tokenValue = formatDistanceLocale$1[token];
7093
+ const tokenValue = formatDistanceLocale$3[token];
6770
7094
  if (typeof tokenValue === "string") {
6771
7095
  result = tokenValue;
6772
7096
  } else if (count === 1) {
@@ -6784,7 +7108,7 @@
6784
7108
  return result;
6785
7109
  };
6786
7110
 
6787
- const formatRelativeLocale$1 = {
7111
+ const formatRelativeLocale$3 = {
6788
7112
  lastWeek: "'last' eeee 'at' p",
6789
7113
  yesterday: "'yesterday at' p",
6790
7114
  today: "'today at' p",
@@ -6792,14 +7116,14 @@
6792
7116
  nextWeek: "eeee 'at' p",
6793
7117
  other: "P"
6794
7118
  };
6795
- const formatRelative$1 = (token, _date, _baseDate, _options) => formatRelativeLocale$1[token];
7119
+ const formatRelative$3 = (token, _date, _baseDate, _options) => formatRelativeLocale$3[token];
6796
7120
 
6797
- const eraValues$1 = {
7121
+ const eraValues$3 = {
6798
7122
  narrow: ["B", "A"],
6799
7123
  abbreviated: ["BC", "AD"],
6800
7124
  wide: ["Before Christ", "Anno Domini"]
6801
7125
  };
6802
- const quarterValues$1 = {
7126
+ const quarterValues$3 = {
6803
7127
  narrow: ["1", "2", "3", "4"],
6804
7128
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
6805
7129
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
@@ -6809,18 +7133,18 @@
6809
7133
  // If you are making a new locale based on this one, check if the same is true for the language you're working on.
6810
7134
  // Generally, formatted dates should look like they are in the middle of a sentence,
6811
7135
  // e.g. in Spanish language the weekdays and months should be in the lowercase.
6812
- const monthValues$1 = {
7136
+ const monthValues$3 = {
6813
7137
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
6814
7138
  abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
6815
7139
  wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
6816
7140
  };
6817
- const dayValues$1 = {
7141
+ const dayValues$3 = {
6818
7142
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
6819
7143
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
6820
7144
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
6821
7145
  wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
6822
7146
  };
6823
- const dayPeriodValues$1 = {
7147
+ const dayPeriodValues$3 = {
6824
7148
  narrow: {
6825
7149
  am: "a",
6826
7150
  pm: "p",
@@ -6852,7 +7176,7 @@
6852
7176
  night: "night"
6853
7177
  }
6854
7178
  };
6855
- const formattingDayPeriodValues$1 = {
7179
+ const formattingDayPeriodValues$3 = {
6856
7180
  narrow: {
6857
7181
  am: "a",
6858
7182
  pm: "p",
@@ -6884,7 +7208,7 @@
6884
7208
  night: "at night"
6885
7209
  }
6886
7210
  };
6887
- const ordinalNumber$1 = (dirtyNumber, _options) => {
7211
+ const ordinalNumber$3 = (dirtyNumber, _options) => {
6888
7212
  const number = Number(dirtyNumber);
6889
7213
 
6890
7214
  // If ordinal numbers depend on context, for example,
@@ -6907,75 +7231,75 @@
6907
7231
  }
6908
7232
  return number + "th";
6909
7233
  };
6910
- const localize$1 = {
6911
- ordinalNumber: ordinalNumber$1,
7234
+ const localize$3 = {
7235
+ ordinalNumber: ordinalNumber$3,
6912
7236
  era: buildLocalizeFn({
6913
- values: eraValues$1,
7237
+ values: eraValues$3,
6914
7238
  defaultWidth: "wide"
6915
7239
  }),
6916
7240
  quarter: buildLocalizeFn({
6917
- values: quarterValues$1,
7241
+ values: quarterValues$3,
6918
7242
  defaultWidth: "wide",
6919
7243
  argumentCallback: quarter => quarter - 1
6920
7244
  }),
6921
7245
  month: buildLocalizeFn({
6922
- values: monthValues$1,
7246
+ values: monthValues$3,
6923
7247
  defaultWidth: "wide"
6924
7248
  }),
6925
7249
  day: buildLocalizeFn({
6926
- values: dayValues$1,
7250
+ values: dayValues$3,
6927
7251
  defaultWidth: "wide"
6928
7252
  }),
6929
7253
  dayPeriod: buildLocalizeFn({
6930
- values: dayPeriodValues$1,
7254
+ values: dayPeriodValues$3,
6931
7255
  defaultWidth: "wide",
6932
- formattingValues: formattingDayPeriodValues$1,
7256
+ formattingValues: formattingDayPeriodValues$3,
6933
7257
  defaultFormattingWidth: "wide"
6934
7258
  })
6935
7259
  };
6936
7260
 
6937
- const matchOrdinalNumberPattern$1 = /^(\d+)(th|st|nd|rd)?/i;
6938
- const parseOrdinalNumberPattern$1 = /\d+/i;
6939
- const matchEraPatterns$1 = {
7261
+ const matchOrdinalNumberPattern$3 = /^(\d+)(th|st|nd|rd)?/i;
7262
+ const parseOrdinalNumberPattern$3 = /\d+/i;
7263
+ const matchEraPatterns$3 = {
6940
7264
  narrow: /^(b|a)/i,
6941
7265
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
6942
7266
  wide: /^(before christ|before common era|anno domini|common era)/i
6943
7267
  };
6944
- const parseEraPatterns$1 = {
7268
+ const parseEraPatterns$3 = {
6945
7269
  any: [/^b/i, /^(a|c)/i]
6946
7270
  };
6947
- const matchQuarterPatterns$1 = {
7271
+ const matchQuarterPatterns$3 = {
6948
7272
  narrow: /^[1234]/i,
6949
7273
  abbreviated: /^q[1234]/i,
6950
7274
  wide: /^[1234](th|st|nd|rd)? quarter/i
6951
7275
  };
6952
- const parseQuarterPatterns$1 = {
7276
+ const parseQuarterPatterns$3 = {
6953
7277
  any: [/1/i, /2/i, /3/i, /4/i]
6954
7278
  };
6955
- const matchMonthPatterns$1 = {
7279
+ const matchMonthPatterns$3 = {
6956
7280
  narrow: /^[jfmasond]/i,
6957
7281
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
6958
7282
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
6959
7283
  };
6960
- const parseMonthPatterns$1 = {
7284
+ const parseMonthPatterns$3 = {
6961
7285
  narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
6962
7286
  any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
6963
7287
  };
6964
- const matchDayPatterns$1 = {
7288
+ const matchDayPatterns$3 = {
6965
7289
  narrow: /^[smtwf]/i,
6966
7290
  short: /^(su|mo|tu|we|th|fr|sa)/i,
6967
7291
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
6968
7292
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
6969
7293
  };
6970
- const parseDayPatterns$1 = {
7294
+ const parseDayPatterns$3 = {
6971
7295
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
6972
7296
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
6973
7297
  };
6974
- const matchDayPeriodPatterns$1 = {
7298
+ const matchDayPeriodPatterns$3 = {
6975
7299
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
6976
7300
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
6977
7301
  };
6978
- const parseDayPeriodPatterns$1 = {
7302
+ const parseDayPeriodPatterns$3 = {
6979
7303
  any: {
6980
7304
  am: /^a/i,
6981
7305
  pm: /^p/i,
@@ -6987,74 +7311,74 @@
6987
7311
  night: /night/i
6988
7312
  }
6989
7313
  };
6990
- const match$1 = {
7314
+ const match$3 = {
6991
7315
  ordinalNumber: buildMatchPatternFn({
6992
- matchPattern: matchOrdinalNumberPattern$1,
6993
- parsePattern: parseOrdinalNumberPattern$1,
7316
+ matchPattern: matchOrdinalNumberPattern$3,
7317
+ parsePattern: parseOrdinalNumberPattern$3,
6994
7318
  valueCallback: value => parseInt(value, 10)
6995
7319
  }),
6996
7320
  era: buildMatchFn({
6997
- matchPatterns: matchEraPatterns$1,
7321
+ matchPatterns: matchEraPatterns$3,
6998
7322
  defaultMatchWidth: "wide",
6999
- parsePatterns: parseEraPatterns$1,
7323
+ parsePatterns: parseEraPatterns$3,
7000
7324
  defaultParseWidth: "any"
7001
7325
  }),
7002
7326
  quarter: buildMatchFn({
7003
- matchPatterns: matchQuarterPatterns$1,
7327
+ matchPatterns: matchQuarterPatterns$3,
7004
7328
  defaultMatchWidth: "wide",
7005
- parsePatterns: parseQuarterPatterns$1,
7329
+ parsePatterns: parseQuarterPatterns$3,
7006
7330
  defaultParseWidth: "any",
7007
7331
  valueCallback: index => index + 1
7008
7332
  }),
7009
7333
  month: buildMatchFn({
7010
- matchPatterns: matchMonthPatterns$1,
7334
+ matchPatterns: matchMonthPatterns$3,
7011
7335
  defaultMatchWidth: "wide",
7012
- parsePatterns: parseMonthPatterns$1,
7336
+ parsePatterns: parseMonthPatterns$3,
7013
7337
  defaultParseWidth: "any"
7014
7338
  }),
7015
7339
  day: buildMatchFn({
7016
- matchPatterns: matchDayPatterns$1,
7340
+ matchPatterns: matchDayPatterns$3,
7017
7341
  defaultMatchWidth: "wide",
7018
- parsePatterns: parseDayPatterns$1,
7342
+ parsePatterns: parseDayPatterns$3,
7019
7343
  defaultParseWidth: "any"
7020
7344
  }),
7021
7345
  dayPeriod: buildMatchFn({
7022
- matchPatterns: matchDayPeriodPatterns$1,
7346
+ matchPatterns: matchDayPeriodPatterns$3,
7023
7347
  defaultMatchWidth: "any",
7024
- parsePatterns: parseDayPeriodPatterns$1,
7348
+ parsePatterns: parseDayPeriodPatterns$3,
7025
7349
  defaultParseWidth: "any"
7026
7350
  })
7027
7351
  };
7028
7352
 
7029
- const dateFormats$1 = {
7353
+ const dateFormats$3 = {
7030
7354
  full: "EEEE, MMMM do, y",
7031
7355
  long: "MMMM do, y",
7032
7356
  medium: "MMM d, y",
7033
7357
  short: "MM/dd/yyyy"
7034
7358
  };
7035
- const timeFormats$1 = {
7359
+ const timeFormats$3 = {
7036
7360
  full: "h:mm:ss a zzzz",
7037
7361
  long: "h:mm:ss a z",
7038
7362
  medium: "h:mm:ss a",
7039
7363
  short: "h:mm a"
7040
7364
  };
7041
- const dateTimeFormats$1 = {
7365
+ const dateTimeFormats$3 = {
7042
7366
  full: "{{date}} 'at' {{time}}",
7043
7367
  long: "{{date}} 'at' {{time}}",
7044
7368
  medium: "{{date}}, {{time}}",
7045
7369
  short: "{{date}}, {{time}}"
7046
7370
  };
7047
- const formatLong$1 = {
7371
+ const formatLong$3 = {
7048
7372
  date: buildFormatLongFn({
7049
- formats: dateFormats$1,
7373
+ formats: dateFormats$3,
7050
7374
  defaultWidth: "full"
7051
7375
  }),
7052
7376
  time: buildFormatLongFn({
7053
- formats: timeFormats$1,
7377
+ formats: timeFormats$3,
7054
7378
  defaultWidth: "full"
7055
7379
  }),
7056
7380
  dateTime: buildFormatLongFn({
7057
- formats: dateTimeFormats$1,
7381
+ formats: dateTimeFormats$3,
7058
7382
  defaultWidth: "full"
7059
7383
  })
7060
7384
  };
@@ -7069,11 +7393,11 @@
7069
7393
  */
7070
7394
  const enUS = {
7071
7395
  code: "en-US",
7072
- formatDistance: formatDistance$1,
7073
- formatLong: formatLong$1,
7074
- formatRelative: formatRelative$1,
7075
- localize: localize$1,
7076
- match: match$1,
7396
+ formatDistance: formatDistance$3,
7397
+ formatLong: formatLong$3,
7398
+ formatRelative: formatRelative$3,
7399
+ localize: localize$3,
7400
+ match: match$3,
7077
7401
  options: {
7078
7402
  weekStartsOn: 0 /* Sunday */,
7079
7403
  firstWeekContainsDate: 1
@@ -7122,7 +7446,7 @@
7122
7446
  }
7123
7447
  };
7124
7448
  }
7125
- const formatDistanceLocale = {
7449
+ const formatDistanceLocale$2 = {
7126
7450
  lessThanXSeconds: buildLocalizeTokenFn({
7127
7451
  regular: {
7128
7452
  one: "меньше секунды",
@@ -7303,36 +7627,36 @@
7303
7627
  }
7304
7628
  })
7305
7629
  };
7306
- const formatDistance = (token, count, options) => {
7307
- return formatDistanceLocale[token](count, options);
7630
+ const formatDistance$2 = (token, count, options) => {
7631
+ return formatDistanceLocale$2[token](count, options);
7308
7632
  };
7309
7633
 
7310
- const dateFormats = {
7634
+ const dateFormats$2 = {
7311
7635
  full: "EEEE, d MMMM y 'г.'",
7312
7636
  long: "d MMMM y 'г.'",
7313
7637
  medium: "d MMM y 'г.'",
7314
7638
  short: "dd.MM.y"
7315
7639
  };
7316
- const timeFormats = {
7640
+ const timeFormats$2 = {
7317
7641
  full: "H:mm:ss zzzz",
7318
7642
  long: "H:mm:ss z",
7319
7643
  medium: "H:mm:ss",
7320
7644
  short: "H:mm"
7321
7645
  };
7322
- const dateTimeFormats = {
7646
+ const dateTimeFormats$2 = {
7323
7647
  any: "{{date}}, {{time}}"
7324
7648
  };
7325
- const formatLong = {
7649
+ const formatLong$2 = {
7326
7650
  date: buildFormatLongFn({
7327
- formats: dateFormats,
7651
+ formats: dateFormats$2,
7328
7652
  defaultWidth: "full"
7329
7653
  }),
7330
7654
  time: buildFormatLongFn({
7331
- formats: timeFormats,
7655
+ formats: timeFormats$2,
7332
7656
  defaultWidth: "full"
7333
7657
  }),
7334
7658
  dateTime: buildFormatLongFn({
7335
- formats: dateTimeFormats,
7659
+ formats: dateTimeFormats$2,
7336
7660
  defaultWidth: "any"
7337
7661
  })
7338
7662
  };
@@ -7376,7 +7700,7 @@
7376
7700
  return "'в следующую " + weekday + " в' p";
7377
7701
  }
7378
7702
  }
7379
- const formatRelativeLocale = {
7703
+ const formatRelativeLocale$2 = {
7380
7704
  lastWeek: (date, baseDate, options) => {
7381
7705
  const day = date.getDay();
7382
7706
  if (isSameWeek(date, baseDate, options)) {
@@ -7398,25 +7722,25 @@
7398
7722
  },
7399
7723
  other: "P"
7400
7724
  };
7401
- const formatRelative = (token, date, baseDate, options) => {
7402
- const format = formatRelativeLocale[token];
7725
+ const formatRelative$2 = (token, date, baseDate, options) => {
7726
+ const format = formatRelativeLocale$2[token];
7403
7727
  if (typeof format === "function") {
7404
7728
  return format(date, baseDate, options);
7405
7729
  }
7406
7730
  return format;
7407
7731
  };
7408
7732
 
7409
- const eraValues = {
7733
+ const eraValues$2 = {
7410
7734
  narrow: ["до н.э.", "н.э."],
7411
7735
  abbreviated: ["до н. э.", "н. э."],
7412
7736
  wide: ["до нашей эры", "нашей эры"]
7413
7737
  };
7414
- const quarterValues = {
7738
+ const quarterValues$2 = {
7415
7739
  narrow: ["1", "2", "3", "4"],
7416
7740
  abbreviated: ["1-й кв.", "2-й кв.", "3-й кв.", "4-й кв."],
7417
7741
  wide: ["1-й квартал", "2-й квартал", "3-й квартал", "4-й квартал"]
7418
7742
  };
7419
- const monthValues = {
7743
+ const monthValues$2 = {
7420
7744
  narrow: ["Я", "Ф", "М", "А", "М", "И", "И", "А", "С", "О", "Н", "Д"],
7421
7745
  abbreviated: ["янв.", "фев.", "март", "апр.", "май", "июнь", "июль", "авг.", "сент.", "окт.", "нояб.", "дек."],
7422
7746
  wide: ["январь", "февраль", "март", "апрель", "май", "июнь", "июль", "август", "сентябрь", "октябрь", "ноябрь", "декабрь"]
@@ -7426,13 +7750,13 @@
7426
7750
  abbreviated: ["янв.", "фев.", "мар.", "апр.", "мая", "июн.", "июл.", "авг.", "сент.", "окт.", "нояб.", "дек."],
7427
7751
  wide: ["января", "февраля", "марта", "апреля", "мая", "июня", "июля", "августа", "сентября", "октября", "ноября", "декабря"]
7428
7752
  };
7429
- const dayValues = {
7753
+ const dayValues$2 = {
7430
7754
  narrow: ["В", "П", "В", "С", "Ч", "П", "С"],
7431
7755
  short: ["вс", "пн", "вт", "ср", "чт", "пт", "сб"],
7432
7756
  abbreviated: ["вск", "пнд", "втр", "срд", "чтв", "птн", "суб"],
7433
7757
  wide: ["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"]
7434
7758
  };
7435
- const dayPeriodValues = {
7759
+ const dayPeriodValues$2 = {
7436
7760
  narrow: {
7437
7761
  am: "ДП",
7438
7762
  pm: "ПП",
@@ -7464,7 +7788,7 @@
7464
7788
  night: "ночь"
7465
7789
  }
7466
7790
  };
7467
- const formattingDayPeriodValues = {
7791
+ const formattingDayPeriodValues$2 = {
7468
7792
  narrow: {
7469
7793
  am: "ДП",
7470
7794
  pm: "ПП",
@@ -7496,7 +7820,7 @@
7496
7820
  night: "ночи"
7497
7821
  }
7498
7822
  };
7499
- const ordinalNumber = (dirtyNumber, options) => {
7823
+ const ordinalNumber$2 = (dirtyNumber, options) => {
7500
7824
  const number = Number(dirtyNumber);
7501
7825
  const unit = options?.unit;
7502
7826
  let suffix;
@@ -7509,78 +7833,78 @@
7509
7833
  }
7510
7834
  return number + suffix;
7511
7835
  };
7512
- const localize = {
7513
- ordinalNumber,
7836
+ const localize$2 = {
7837
+ ordinalNumber: ordinalNumber$2,
7514
7838
  era: buildLocalizeFn({
7515
- values: eraValues,
7839
+ values: eraValues$2,
7516
7840
  defaultWidth: "wide"
7517
7841
  }),
7518
7842
  quarter: buildLocalizeFn({
7519
- values: quarterValues,
7843
+ values: quarterValues$2,
7520
7844
  defaultWidth: "wide",
7521
7845
  argumentCallback: quarter => quarter - 1
7522
7846
  }),
7523
7847
  month: buildLocalizeFn({
7524
- values: monthValues,
7848
+ values: monthValues$2,
7525
7849
  defaultWidth: "wide",
7526
7850
  formattingValues: formattingMonthValues,
7527
7851
  defaultFormattingWidth: "wide"
7528
7852
  }),
7529
7853
  day: buildLocalizeFn({
7530
- values: dayValues,
7854
+ values: dayValues$2,
7531
7855
  defaultWidth: "wide"
7532
7856
  }),
7533
7857
  dayPeriod: buildLocalizeFn({
7534
- values: dayPeriodValues,
7858
+ values: dayPeriodValues$2,
7535
7859
  defaultWidth: "any",
7536
- formattingValues: formattingDayPeriodValues,
7860
+ formattingValues: formattingDayPeriodValues$2,
7537
7861
  defaultFormattingWidth: "wide"
7538
7862
  })
7539
7863
  };
7540
7864
 
7541
- const matchOrdinalNumberPattern = /^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i;
7542
- const parseOrdinalNumberPattern = /\d+/i;
7543
- const matchEraPatterns = {
7865
+ const matchOrdinalNumberPattern$2 = /^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i;
7866
+ const parseOrdinalNumberPattern$2 = /\d+/i;
7867
+ const matchEraPatterns$2 = {
7544
7868
  narrow: /^((до )?н\.?\s?э\.?)/i,
7545
7869
  abbreviated: /^((до )?н\.?\s?э\.?)/i,
7546
7870
  wide: /^(до нашей эры|нашей эры|наша эра)/i
7547
7871
  };
7548
- const parseEraPatterns = {
7872
+ const parseEraPatterns$2 = {
7549
7873
  any: [/^д/i, /^н/i]
7550
7874
  };
7551
- const matchQuarterPatterns = {
7875
+ const matchQuarterPatterns$2 = {
7552
7876
  narrow: /^[1234]/i,
7553
7877
  abbreviated: /^[1234](-?[ыои]?й?)? кв.?/i,
7554
7878
  wide: /^[1234](-?[ыои]?й?)? квартал/i
7555
7879
  };
7556
- const parseQuarterPatterns = {
7880
+ const parseQuarterPatterns$2 = {
7557
7881
  any: [/1/i, /2/i, /3/i, /4/i]
7558
7882
  };
7559
- const matchMonthPatterns = {
7883
+ const matchMonthPatterns$2 = {
7560
7884
  narrow: /^[яфмаисонд]/i,
7561
7885
  abbreviated: /^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,
7562
7886
  wide: /^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i
7563
7887
  };
7564
- const parseMonthPatterns = {
7888
+ const parseMonthPatterns$2 = {
7565
7889
  narrow: [/^я/i, /^ф/i, /^м/i, /^а/i, /^м/i, /^и/i, /^и/i, /^а/i, /^с/i, /^о/i, /^н/i, /^я/i],
7566
7890
  any: [/^я/i, /^ф/i, /^мар/i, /^ап/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^ав/i, /^с/i, /^о/i, /^н/i, /^д/i]
7567
7891
  };
7568
- const matchDayPatterns = {
7892
+ const matchDayPatterns$2 = {
7569
7893
  narrow: /^[впсч]/i,
7570
7894
  short: /^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,
7571
7895
  abbreviated: /^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,
7572
7896
  wide: /^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i
7573
7897
  };
7574
- const parseDayPatterns = {
7898
+ const parseDayPatterns$2 = {
7575
7899
  narrow: [/^в/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i],
7576
7900
  any: [/^в[ос]/i, /^п[он]/i, /^в/i, /^ср/i, /^ч/i, /^п[ят]/i, /^с[уб]/i]
7577
7901
  };
7578
- const matchDayPeriodPatterns = {
7902
+ const matchDayPeriodPatterns$2 = {
7579
7903
  narrow: /^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,
7580
7904
  abbreviated: /^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,
7581
7905
  wide: /^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i
7582
7906
  };
7583
- const parseDayPeriodPatterns = {
7907
+ const parseDayPeriodPatterns$2 = {
7584
7908
  any: {
7585
7909
  am: /^дп/i,
7586
7910
  pm: /^пп/i,
@@ -7592,6 +7916,742 @@
7592
7916
  night: /^н/i
7593
7917
  }
7594
7918
  };
7919
+ const match$2 = {
7920
+ ordinalNumber: buildMatchPatternFn({
7921
+ matchPattern: matchOrdinalNumberPattern$2,
7922
+ parsePattern: parseOrdinalNumberPattern$2,
7923
+ valueCallback: value => parseInt(value, 10)
7924
+ }),
7925
+ era: buildMatchFn({
7926
+ matchPatterns: matchEraPatterns$2,
7927
+ defaultMatchWidth: "wide",
7928
+ parsePatterns: parseEraPatterns$2,
7929
+ defaultParseWidth: "any"
7930
+ }),
7931
+ quarter: buildMatchFn({
7932
+ matchPatterns: matchQuarterPatterns$2,
7933
+ defaultMatchWidth: "wide",
7934
+ parsePatterns: parseQuarterPatterns$2,
7935
+ defaultParseWidth: "any",
7936
+ valueCallback: index => index + 1
7937
+ }),
7938
+ month: buildMatchFn({
7939
+ matchPatterns: matchMonthPatterns$2,
7940
+ defaultMatchWidth: "wide",
7941
+ parsePatterns: parseMonthPatterns$2,
7942
+ defaultParseWidth: "any"
7943
+ }),
7944
+ day: buildMatchFn({
7945
+ matchPatterns: matchDayPatterns$2,
7946
+ defaultMatchWidth: "wide",
7947
+ parsePatterns: parseDayPatterns$2,
7948
+ defaultParseWidth: "any"
7949
+ }),
7950
+ dayPeriod: buildMatchFn({
7951
+ matchPatterns: matchDayPeriodPatterns$2,
7952
+ defaultMatchWidth: "wide",
7953
+ parsePatterns: parseDayPeriodPatterns$2,
7954
+ defaultParseWidth: "any"
7955
+ })
7956
+ };
7957
+
7958
+ /**
7959
+ * @category Locales
7960
+ * @summary Russian locale.
7961
+ * @language Russian
7962
+ * @iso-639-2 rus
7963
+ * @author Sasha Koss [@kossnocorp](https://github.com/kossnocorp)
7964
+ * @author Lesha Koss [@leshakoss](https://github.com/leshakoss)
7965
+ */
7966
+ const ru = {
7967
+ code: "ru",
7968
+ formatDistance: formatDistance$2,
7969
+ formatLong: formatLong$2,
7970
+ formatRelative: formatRelative$2,
7971
+ localize: localize$2,
7972
+ match: match$2,
7973
+ options: {
7974
+ weekStartsOn: 1 /* Monday */,
7975
+ firstWeekContainsDate: 1
7976
+ }
7977
+ };
7978
+
7979
+ const formatDistanceLocale$1 = {
7980
+ lessThanXSeconds: {
7981
+ one: "sekunddan kam",
7982
+ other: "{{count}} sekunddan kam"
7983
+ },
7984
+ xSeconds: {
7985
+ one: "1 sekund",
7986
+ other: "{{count}} sekund"
7987
+ },
7988
+ halfAMinute: "yarim minut",
7989
+ lessThanXMinutes: {
7990
+ one: "bir minutdan kam",
7991
+ other: "{{count}} minutdan kam"
7992
+ },
7993
+ xMinutes: {
7994
+ one: "1 minut",
7995
+ other: "{{count}} minut"
7996
+ },
7997
+ aboutXHours: {
7998
+ one: "tahminan 1 soat",
7999
+ other: "tahminan {{count}} soat"
8000
+ },
8001
+ xHours: {
8002
+ one: "1 soat",
8003
+ other: "{{count}} soat"
8004
+ },
8005
+ xDays: {
8006
+ one: "1 kun",
8007
+ other: "{{count}} kun"
8008
+ },
8009
+ aboutXWeeks: {
8010
+ one: "tahminan 1 hafta",
8011
+ other: "tahminan {{count}} hafta"
8012
+ },
8013
+ xWeeks: {
8014
+ one: "1 hafta",
8015
+ other: "{{count}} hafta"
8016
+ },
8017
+ aboutXMonths: {
8018
+ one: "tahminan 1 oy",
8019
+ other: "tahminan {{count}} oy"
8020
+ },
8021
+ xMonths: {
8022
+ one: "1 oy",
8023
+ other: "{{count}} oy"
8024
+ },
8025
+ aboutXYears: {
8026
+ one: "tahminan 1 yil",
8027
+ other: "tahminan {{count}} yil"
8028
+ },
8029
+ xYears: {
8030
+ one: "1 yil",
8031
+ other: "{{count}} yil"
8032
+ },
8033
+ overXYears: {
8034
+ one: "1 yildan ko'p",
8035
+ other: "{{count}} yildan ko'p"
8036
+ },
8037
+ almostXYears: {
8038
+ one: "deyarli 1 yil",
8039
+ other: "deyarli {{count}} yil"
8040
+ }
8041
+ };
8042
+ const formatDistance$1 = (token, count, options) => {
8043
+ let result;
8044
+ const tokenValue = formatDistanceLocale$1[token];
8045
+ if (typeof tokenValue === "string") {
8046
+ result = tokenValue;
8047
+ } else if (count === 1) {
8048
+ result = tokenValue.one;
8049
+ } else {
8050
+ result = tokenValue.other.replace("{{count}}", String(count));
8051
+ }
8052
+ if (options?.addSuffix) {
8053
+ if (options.comparison && options.comparison > 0) {
8054
+ return result + " dan keyin";
8055
+ } else {
8056
+ return result + " oldin";
8057
+ }
8058
+ }
8059
+ return result;
8060
+ };
8061
+
8062
+ const dateFormats$1 = {
8063
+ full: "EEEE, do MMMM, y",
8064
+ long: "do MMMM, y",
8065
+ medium: "d MMM, y",
8066
+ short: "dd/MM/yyyy"
8067
+ };
8068
+ const timeFormats$1 = {
8069
+ full: "h:mm:ss zzzz",
8070
+ long: "h:mm:ss z",
8071
+ medium: "h:mm:ss",
8072
+ short: "h:mm"
8073
+ };
8074
+ const dateTimeFormats$1 = {
8075
+ any: "{{date}}, {{time}}"
8076
+ };
8077
+ const formatLong$1 = {
8078
+ date: buildFormatLongFn({
8079
+ formats: dateFormats$1,
8080
+ defaultWidth: "full"
8081
+ }),
8082
+ time: buildFormatLongFn({
8083
+ formats: timeFormats$1,
8084
+ defaultWidth: "full"
8085
+ }),
8086
+ dateTime: buildFormatLongFn({
8087
+ formats: dateTimeFormats$1,
8088
+ defaultWidth: "any"
8089
+ })
8090
+ };
8091
+
8092
+ const formatRelativeLocale$1 = {
8093
+ lastWeek: "'oldingi' eeee p 'da'",
8094
+ yesterday: "'kecha' p 'da'",
8095
+ today: "'bugun' p 'da'",
8096
+ tomorrow: "'ertaga' p 'da'",
8097
+ nextWeek: "eeee p 'da'",
8098
+ other: "P"
8099
+ };
8100
+ const formatRelative$1 = (token, _date, _baseDate, _options) => formatRelativeLocale$1[token];
8101
+
8102
+ const eraValues$1 = {
8103
+ narrow: ["M.A", "M."],
8104
+ abbreviated: ["M.A", "M."],
8105
+ wide: ["Miloddan Avvalgi", "Milodiy"]
8106
+ };
8107
+ const quarterValues$1 = {
8108
+ narrow: ["1", "2", "3", "4"],
8109
+ abbreviated: ["CH.1", "CH.2", "CH.3", "CH.4"],
8110
+ wide: ["1-chi chorak", "2-chi chorak", "3-chi chorak", "4-chi chorak"]
8111
+ };
8112
+
8113
+ // Note: in English, the names of days of the week and months are capitalized.
8114
+ // If you are making a new locale based on this one, check if the same is true for the language you're working on.
8115
+ // Generally, formatted dates should look like they are in the middle of a sentence,
8116
+ // e.g. in Spanish language the weekdays and months should be in the lowercase.
8117
+ const monthValues$1 = {
8118
+ narrow: ["Y", "F", "M", "A", "M", "I", "I", "A", "S", "O", "N", "D"],
8119
+ abbreviated: ["Yan", "Fev", "Mar", "Apr", "May", "Iyun", "Iyul", "Avg", "Sen", "Okt", "Noy", "Dek"],
8120
+ wide: ["Yanvar", "Fevral", "Mart", "Aprel", "May", "Iyun", "Iyul", "Avgust", "Sentabr", "Oktabr", "Noyabr", "Dekabr"]
8121
+ };
8122
+ const dayValues$1 = {
8123
+ narrow: ["Y", "D", "S", "CH", "P", "J", "SH"],
8124
+ short: ["Ya", "Du", "Se", "Cho", "Pa", "Ju", "Sha"],
8125
+ abbreviated: ["Yak", "Dush", "Sesh", "Chor", "Pay", "Jum", "Shan"],
8126
+ wide: ["Yakshanba", "Dushanba", "Seshanba", "Chorshanba", "Payshanba", "Juma", "Shanba"]
8127
+ };
8128
+ const dayPeriodValues$1 = {
8129
+ narrow: {
8130
+ am: "a",
8131
+ pm: "p",
8132
+ midnight: "y.t",
8133
+ noon: "p.",
8134
+ morning: "ertalab",
8135
+ afternoon: "tushdan keyin",
8136
+ evening: "kechqurun",
8137
+ night: "tun"
8138
+ },
8139
+ abbreviated: {
8140
+ am: "AM",
8141
+ pm: "PM",
8142
+ midnight: "yarim tun",
8143
+ noon: "peshin",
8144
+ morning: "ertalab",
8145
+ afternoon: "tushdan keyin",
8146
+ evening: "kechqurun",
8147
+ night: "tun"
8148
+ },
8149
+ wide: {
8150
+ am: "a.m.",
8151
+ pm: "p.m.",
8152
+ midnight: "yarim tun",
8153
+ noon: "peshin",
8154
+ morning: "ertalab",
8155
+ afternoon: "tushdan keyin",
8156
+ evening: "kechqurun",
8157
+ night: "tun"
8158
+ }
8159
+ };
8160
+ const formattingDayPeriodValues$1 = {
8161
+ narrow: {
8162
+ am: "a",
8163
+ pm: "p",
8164
+ midnight: "y.t",
8165
+ noon: "p.",
8166
+ morning: "ertalab",
8167
+ afternoon: "tushdan keyin",
8168
+ evening: "kechqurun",
8169
+ night: "tun"
8170
+ },
8171
+ abbreviated: {
8172
+ am: "AM",
8173
+ pm: "PM",
8174
+ midnight: "yarim tun",
8175
+ noon: "peshin",
8176
+ morning: "ertalab",
8177
+ afternoon: "tushdan keyin",
8178
+ evening: "kechqurun",
8179
+ night: "tun"
8180
+ },
8181
+ wide: {
8182
+ am: "a.m.",
8183
+ pm: "p.m.",
8184
+ midnight: "yarim tun",
8185
+ noon: "peshin",
8186
+ morning: "ertalab",
8187
+ afternoon: "tushdan keyin",
8188
+ evening: "kechqurun",
8189
+ night: "tun"
8190
+ }
8191
+ };
8192
+ const ordinalNumber$1 = (dirtyNumber, _options) => {
8193
+ return String(dirtyNumber);
8194
+ };
8195
+ const localize$1 = {
8196
+ ordinalNumber: ordinalNumber$1,
8197
+ era: buildLocalizeFn({
8198
+ values: eraValues$1,
8199
+ defaultWidth: "wide"
8200
+ }),
8201
+ quarter: buildLocalizeFn({
8202
+ values: quarterValues$1,
8203
+ defaultWidth: "wide",
8204
+ argumentCallback: quarter => quarter - 1
8205
+ }),
8206
+ month: buildLocalizeFn({
8207
+ values: monthValues$1,
8208
+ defaultWidth: "wide"
8209
+ }),
8210
+ day: buildLocalizeFn({
8211
+ values: dayValues$1,
8212
+ defaultWidth: "wide"
8213
+ }),
8214
+ dayPeriod: buildLocalizeFn({
8215
+ values: dayPeriodValues$1,
8216
+ defaultWidth: "wide",
8217
+ formattingValues: formattingDayPeriodValues$1,
8218
+ defaultFormattingWidth: "wide"
8219
+ })
8220
+ };
8221
+
8222
+ const matchOrdinalNumberPattern$1 = /^(\d+)(chi)?/i;
8223
+ const parseOrdinalNumberPattern$1 = /\d+/i;
8224
+ const matchEraPatterns$1 = {
8225
+ narrow: /^(m\.a|m\.)/i,
8226
+ abbreviated: /^(m\.a\.?\s?m\.?)/i,
8227
+ wide: /^(miloddan avval|miloddan keyin)/i
8228
+ };
8229
+ const parseEraPatterns$1 = {
8230
+ any: [/^b/i, /^(a|c)/i]
8231
+ };
8232
+ const matchQuarterPatterns$1 = {
8233
+ narrow: /^[1234]/i,
8234
+ abbreviated: /^q[1234]/i,
8235
+ wide: /^[1234](chi)? chorak/i
8236
+ };
8237
+ const parseQuarterPatterns$1 = {
8238
+ any: [/1/i, /2/i, /3/i, /4/i]
8239
+ };
8240
+ const matchMonthPatterns$1 = {
8241
+ narrow: /^[yfmasond]/i,
8242
+ abbreviated: /^(yan|fev|mar|apr|may|iyun|iyul|avg|sen|okt|noy|dek)/i,
8243
+ wide: /^(yanvar|fevral|mart|aprel|may|iyun|iyul|avgust|sentabr|oktabr|noyabr|dekabr)/i
8244
+ };
8245
+ const parseMonthPatterns$1 = {
8246
+ narrow: [/^y/i, /^f/i, /^m/i, /^a/i, /^m/i, /^i/i, /^i/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
8247
+ any: [/^ya/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^iyun/i, /^iyul/i, /^av/i, /^s/i, /^o/i, /^n/i, /^d/i]
8248
+ };
8249
+ const matchDayPatterns$1 = {
8250
+ narrow: /^[ydschj]/i,
8251
+ short: /^(ya|du|se|cho|pa|ju|sha)/i,
8252
+ abbreviated: /^(yak|dush|sesh|chor|pay|jum|shan)/i,
8253
+ wide: /^(yakshanba|dushanba|seshanba|chorshanba|payshanba|juma|shanba)/i
8254
+ };
8255
+ const parseDayPatterns$1 = {
8256
+ narrow: [/^y/i, /^d/i, /^s/i, /^ch/i, /^p/i, /^j/i, /^sh/i],
8257
+ any: [/^ya/i, /^d/i, /^se/i, /^ch/i, /^p/i, /^j/i, /^sh/i]
8258
+ };
8259
+ const matchDayPeriodPatterns$1 = {
8260
+ narrow: /^(a|p|y\.t|p| (ertalab|tushdan keyin|kechqurun|tun))/i,
8261
+ any: /^([ap]\.?\s?m\.?|yarim tun|peshin| (ertalab|tushdan keyin|kechqurun|tun))/i
8262
+ };
8263
+ const parseDayPeriodPatterns$1 = {
8264
+ any: {
8265
+ am: /^a/i,
8266
+ pm: /^p/i,
8267
+ midnight: /^y\.t/i,
8268
+ noon: /^pe/i,
8269
+ morning: /ertalab/i,
8270
+ afternoon: /tushdan keyin/i,
8271
+ evening: /kechqurun/i,
8272
+ night: /tun/i
8273
+ }
8274
+ };
8275
+ const match$1 = {
8276
+ ordinalNumber: buildMatchPatternFn({
8277
+ matchPattern: matchOrdinalNumberPattern$1,
8278
+ parsePattern: parseOrdinalNumberPattern$1,
8279
+ valueCallback: value => parseInt(value, 10)
8280
+ }),
8281
+ era: buildMatchFn({
8282
+ matchPatterns: matchEraPatterns$1,
8283
+ defaultMatchWidth: "wide",
8284
+ parsePatterns: parseEraPatterns$1,
8285
+ defaultParseWidth: "any"
8286
+ }),
8287
+ quarter: buildMatchFn({
8288
+ matchPatterns: matchQuarterPatterns$1,
8289
+ defaultMatchWidth: "wide",
8290
+ parsePatterns: parseQuarterPatterns$1,
8291
+ defaultParseWidth: "any",
8292
+ valueCallback: index => index + 1
8293
+ }),
8294
+ month: buildMatchFn({
8295
+ matchPatterns: matchMonthPatterns$1,
8296
+ defaultMatchWidth: "wide",
8297
+ parsePatterns: parseMonthPatterns$1,
8298
+ defaultParseWidth: "any"
8299
+ }),
8300
+ day: buildMatchFn({
8301
+ matchPatterns: matchDayPatterns$1,
8302
+ defaultMatchWidth: "wide",
8303
+ parsePatterns: parseDayPatterns$1,
8304
+ defaultParseWidth: "any"
8305
+ }),
8306
+ dayPeriod: buildMatchFn({
8307
+ matchPatterns: matchDayPeriodPatterns$1,
8308
+ defaultMatchWidth: "any",
8309
+ parsePatterns: parseDayPeriodPatterns$1,
8310
+ defaultParseWidth: "any"
8311
+ })
8312
+ };
8313
+
8314
+ /**
8315
+ * @category Locales
8316
+ * @summary Uzbek locale.
8317
+ * @language Uzbek
8318
+ * @iso-639-2 uzb
8319
+ * @author Mukhammadali [@mukhammadali](https://github.com/Mukhammadali)
8320
+ */
8321
+ const uz = {
8322
+ code: "uz",
8323
+ formatDistance: formatDistance$1,
8324
+ formatLong: formatLong$1,
8325
+ formatRelative: formatRelative$1,
8326
+ localize: localize$1,
8327
+ match: match$1,
8328
+ options: {
8329
+ weekStartsOn: 1 /* Monday */,
8330
+ firstWeekContainsDate: 1
8331
+ }
8332
+ };
8333
+
8334
+ const formatDistanceLocale = {
8335
+ lessThanXSeconds: {
8336
+ one: "不到 1 秒",
8337
+ other: "不到 {{count}} 秒"
8338
+ },
8339
+ xSeconds: {
8340
+ one: "1 秒",
8341
+ other: "{{count}} 秒"
8342
+ },
8343
+ halfAMinute: "半分钟",
8344
+ lessThanXMinutes: {
8345
+ one: "不到 1 分钟",
8346
+ other: "不到 {{count}} 分钟"
8347
+ },
8348
+ xMinutes: {
8349
+ one: "1 分钟",
8350
+ other: "{{count}} 分钟"
8351
+ },
8352
+ xHours: {
8353
+ one: "1 小时",
8354
+ other: "{{count}} 小时"
8355
+ },
8356
+ aboutXHours: {
8357
+ one: "大约 1 小时",
8358
+ other: "大约 {{count}} 小时"
8359
+ },
8360
+ xDays: {
8361
+ one: "1 天",
8362
+ other: "{{count}} 天"
8363
+ },
8364
+ aboutXWeeks: {
8365
+ one: "大约 1 个星期",
8366
+ other: "大约 {{count}} 个星期"
8367
+ },
8368
+ xWeeks: {
8369
+ one: "1 个星期",
8370
+ other: "{{count}} 个星期"
8371
+ },
8372
+ aboutXMonths: {
8373
+ one: "大约 1 个月",
8374
+ other: "大约 {{count}} 个月"
8375
+ },
8376
+ xMonths: {
8377
+ one: "1 个月",
8378
+ other: "{{count}} 个月"
8379
+ },
8380
+ aboutXYears: {
8381
+ one: "大约 1 年",
8382
+ other: "大约 {{count}} 年"
8383
+ },
8384
+ xYears: {
8385
+ one: "1 年",
8386
+ other: "{{count}} 年"
8387
+ },
8388
+ overXYears: {
8389
+ one: "超过 1 年",
8390
+ other: "超过 {{count}} 年"
8391
+ },
8392
+ almostXYears: {
8393
+ one: "将近 1 年",
8394
+ other: "将近 {{count}} 年"
8395
+ }
8396
+ };
8397
+ const formatDistance = (token, count, options) => {
8398
+ let result;
8399
+ const tokenValue = formatDistanceLocale[token];
8400
+ if (typeof tokenValue === "string") {
8401
+ result = tokenValue;
8402
+ } else if (count === 1) {
8403
+ result = tokenValue.one;
8404
+ } else {
8405
+ result = tokenValue.other.replace("{{count}}", String(count));
8406
+ }
8407
+ if (options?.addSuffix) {
8408
+ if (options.comparison && options.comparison > 0) {
8409
+ return result + "内";
8410
+ } else {
8411
+ return result + "前";
8412
+ }
8413
+ }
8414
+ return result;
8415
+ };
8416
+
8417
+ const dateFormats = {
8418
+ full: "y'年'M'月'd'日' EEEE",
8419
+ long: "y'年'M'月'd'日'",
8420
+ medium: "yyyy-MM-dd",
8421
+ short: "yy-MM-dd"
8422
+ };
8423
+ const timeFormats = {
8424
+ full: "zzzz a h:mm:ss",
8425
+ long: "z a h:mm:ss",
8426
+ medium: "a h:mm:ss",
8427
+ short: "a h:mm"
8428
+ };
8429
+ const dateTimeFormats = {
8430
+ full: "{{date}} {{time}}",
8431
+ long: "{{date}} {{time}}",
8432
+ medium: "{{date}} {{time}}",
8433
+ short: "{{date}} {{time}}"
8434
+ };
8435
+ const formatLong = {
8436
+ date: buildFormatLongFn({
8437
+ formats: dateFormats,
8438
+ defaultWidth: "full"
8439
+ }),
8440
+ time: buildFormatLongFn({
8441
+ formats: timeFormats,
8442
+ defaultWidth: "full"
8443
+ }),
8444
+ dateTime: buildFormatLongFn({
8445
+ formats: dateTimeFormats,
8446
+ defaultWidth: "full"
8447
+ })
8448
+ };
8449
+
8450
+ function checkWeek(date, baseDate, options) {
8451
+ const baseFormat = "eeee p";
8452
+ if (isSameWeek(date, baseDate, options)) {
8453
+ return baseFormat; // in same week
8454
+ } else if (date.getTime() > baseDate.getTime()) {
8455
+ return "'下个'" + baseFormat; // in next week
8456
+ }
8457
+ return "'上个'" + baseFormat; // in last week
8458
+ }
8459
+ const formatRelativeLocale = {
8460
+ lastWeek: checkWeek,
8461
+ // days before yesterday, maybe in this week or last week
8462
+ yesterday: "'昨天' p",
8463
+ today: "'今天' p",
8464
+ tomorrow: "'明天' p",
8465
+ nextWeek: checkWeek,
8466
+ // days after tomorrow, maybe in this week or next week
8467
+ other: "PP p"
8468
+ };
8469
+ const formatRelative = (token, date, baseDate, options) => {
8470
+ const format = formatRelativeLocale[token];
8471
+ if (typeof format === "function") {
8472
+ return format(date, baseDate, options);
8473
+ }
8474
+ return format;
8475
+ };
8476
+
8477
+ const eraValues = {
8478
+ narrow: ["前", "公元"],
8479
+ abbreviated: ["前", "公元"],
8480
+ wide: ["公元前", "公元"]
8481
+ };
8482
+ const quarterValues = {
8483
+ narrow: ["1", "2", "3", "4"],
8484
+ abbreviated: ["第一季", "第二季", "第三季", "第四季"],
8485
+ wide: ["第一季度", "第二季度", "第三季度", "第四季度"]
8486
+ };
8487
+ const monthValues = {
8488
+ narrow: ["一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二"],
8489
+ abbreviated: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
8490
+ wide: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"]
8491
+ };
8492
+ const dayValues = {
8493
+ narrow: ["日", "一", "二", "三", "四", "五", "六"],
8494
+ short: ["日", "一", "二", "三", "四", "五", "六"],
8495
+ abbreviated: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
8496
+ wide: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"]
8497
+ };
8498
+ const dayPeriodValues = {
8499
+ narrow: {
8500
+ am: "上",
8501
+ pm: "下",
8502
+ midnight: "凌晨",
8503
+ noon: "午",
8504
+ morning: "早",
8505
+ afternoon: "下午",
8506
+ evening: "晚",
8507
+ night: "夜"
8508
+ },
8509
+ abbreviated: {
8510
+ am: "上午",
8511
+ pm: "下午",
8512
+ midnight: "凌晨",
8513
+ noon: "中午",
8514
+ morning: "早晨",
8515
+ afternoon: "中午",
8516
+ evening: "晚上",
8517
+ night: "夜间"
8518
+ },
8519
+ wide: {
8520
+ am: "上午",
8521
+ pm: "下午",
8522
+ midnight: "凌晨",
8523
+ noon: "中午",
8524
+ morning: "早晨",
8525
+ afternoon: "中午",
8526
+ evening: "晚上",
8527
+ night: "夜间"
8528
+ }
8529
+ };
8530
+ const formattingDayPeriodValues = {
8531
+ narrow: {
8532
+ am: "上",
8533
+ pm: "下",
8534
+ midnight: "凌晨",
8535
+ noon: "午",
8536
+ morning: "早",
8537
+ afternoon: "下午",
8538
+ evening: "晚",
8539
+ night: "夜"
8540
+ },
8541
+ abbreviated: {
8542
+ am: "上午",
8543
+ pm: "下午",
8544
+ midnight: "凌晨",
8545
+ noon: "中午",
8546
+ morning: "早晨",
8547
+ afternoon: "中午",
8548
+ evening: "晚上",
8549
+ night: "夜间"
8550
+ },
8551
+ wide: {
8552
+ am: "上午",
8553
+ pm: "下午",
8554
+ midnight: "凌晨",
8555
+ noon: "中午",
8556
+ morning: "早晨",
8557
+ afternoon: "中午",
8558
+ evening: "晚上",
8559
+ night: "夜间"
8560
+ }
8561
+ };
8562
+ const ordinalNumber = (dirtyNumber, options) => {
8563
+ const number = Number(dirtyNumber);
8564
+ switch (options?.unit) {
8565
+ case "date":
8566
+ return number.toString() + "日";
8567
+ case "hour":
8568
+ return number.toString() + "时";
8569
+ case "minute":
8570
+ return number.toString() + "分";
8571
+ case "second":
8572
+ return number.toString() + "秒";
8573
+ default:
8574
+ return "第 " + number.toString();
8575
+ }
8576
+ };
8577
+ const localize = {
8578
+ ordinalNumber,
8579
+ era: buildLocalizeFn({
8580
+ values: eraValues,
8581
+ defaultWidth: "wide"
8582
+ }),
8583
+ quarter: buildLocalizeFn({
8584
+ values: quarterValues,
8585
+ defaultWidth: "wide",
8586
+ argumentCallback: quarter => quarter - 1
8587
+ }),
8588
+ month: buildLocalizeFn({
8589
+ values: monthValues,
8590
+ defaultWidth: "wide"
8591
+ }),
8592
+ day: buildLocalizeFn({
8593
+ values: dayValues,
8594
+ defaultWidth: "wide"
8595
+ }),
8596
+ dayPeriod: buildLocalizeFn({
8597
+ values: dayPeriodValues,
8598
+ defaultWidth: "wide",
8599
+ formattingValues: formattingDayPeriodValues,
8600
+ defaultFormattingWidth: "wide"
8601
+ })
8602
+ };
8603
+
8604
+ const matchOrdinalNumberPattern = /^(第\s*)?\d+(日|时|分|秒)?/i;
8605
+ const parseOrdinalNumberPattern = /\d+/i;
8606
+ const matchEraPatterns = {
8607
+ narrow: /^(前)/i,
8608
+ abbreviated: /^(前)/i,
8609
+ wide: /^(公元前|公元)/i
8610
+ };
8611
+ const parseEraPatterns = {
8612
+ any: [/^(前)/i, /^(公元)/i]
8613
+ };
8614
+ const matchQuarterPatterns = {
8615
+ narrow: /^[1234]/i,
8616
+ abbreviated: /^第[一二三四]刻/i,
8617
+ wide: /^第[一二三四]刻钟/i
8618
+ };
8619
+ const parseQuarterPatterns = {
8620
+ any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i]
8621
+ };
8622
+ const matchMonthPatterns = {
8623
+ narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,
8624
+ abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,
8625
+ wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i
8626
+ };
8627
+ const parseMonthPatterns = {
8628
+ narrow: [/^一/i, /^二/i, /^三/i, /^四/i, /^五/i, /^六/i, /^七/i, /^八/i, /^九/i, /^十(?!(一|二))/i, /^十一/i, /^十二/i],
8629
+ any: [/^一|1/i, /^二|2/i, /^三|3/i, /^四|4/i, /^五|5/i, /^六|6/i, /^七|7/i, /^八|8/i, /^九|9/i, /^十(?!(一|二))|10/i, /^十一|11/i, /^十二|12/i]
8630
+ };
8631
+ const matchDayPatterns = {
8632
+ narrow: /^[一二三四五六日]/i,
8633
+ short: /^[一二三四五六日]/i,
8634
+ abbreviated: /^周[一二三四五六日]/i,
8635
+ wide: /^星期[一二三四五六日]/i
8636
+ };
8637
+ const parseDayPatterns = {
8638
+ any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i]
8639
+ };
8640
+ const matchDayPeriodPatterns = {
8641
+ any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i
8642
+ };
8643
+ const parseDayPeriodPatterns = {
8644
+ any: {
8645
+ am: /^上午?/i,
8646
+ pm: /^下午?/i,
8647
+ midnight: /^午夜/i,
8648
+ noon: /^[中正]午/i,
8649
+ morning: /^早上/i,
8650
+ afternoon: /^下午/i,
8651
+ evening: /^晚上?/i,
8652
+ night: /^凌晨/i
8653
+ }
8654
+ };
7595
8655
  const match = {
7596
8656
  ordinalNumber: buildMatchPatternFn({
7597
8657
  matchPattern: matchOrdinalNumberPattern,
@@ -7625,7 +8685,7 @@
7625
8685
  }),
7626
8686
  dayPeriod: buildMatchFn({
7627
8687
  matchPatterns: matchDayPeriodPatterns,
7628
- defaultMatchWidth: "wide",
8688
+ defaultMatchWidth: "any",
7629
8689
  parsePatterns: parseDayPeriodPatterns,
7630
8690
  defaultParseWidth: "any"
7631
8691
  })
@@ -7633,14 +8693,17 @@
7633
8693
 
7634
8694
  /**
7635
8695
  * @category Locales
7636
- * @summary Russian locale.
7637
- * @language Russian
7638
- * @iso-639-2 rus
7639
- * @author Sasha Koss [@kossnocorp](https://github.com/kossnocorp)
7640
- * @author Lesha Koss [@leshakoss](https://github.com/leshakoss)
8696
+ * @summary Chinese Simplified locale.
8697
+ * @language Chinese Simplified
8698
+ * @iso-639-2 zho
8699
+ * @author Changyu Geng [@KingMario](https://github.com/KingMario)
8700
+ * @author Song Shuoyun [@fnlctrl](https://github.com/fnlctrl)
8701
+ * @author sabrinaM [@sabrinamiao](https://github.com/sabrinamiao)
8702
+ * @author Carney Wu [@cubicwork](https://github.com/cubicwork)
8703
+ * @author Terrence Lam [@skyuplam](https://github.com/skyuplam)
7641
8704
  */
7642
- const ru = {
7643
- code: "ru",
8705
+ const zhCN = {
8706
+ code: "zh-CN",
7644
8707
  formatDistance: formatDistance,
7645
8708
  formatLong: formatLong,
7646
8709
  formatRelative: formatRelative,
@@ -7648,7 +8711,7 @@
7648
8711
  match: match,
7649
8712
  options: {
7650
8713
  weekStartsOn: 1 /* Monday */,
7651
- firstWeekContainsDate: 1
8714
+ firstWeekContainsDate: 4
7652
8715
  }
7653
8716
  };
7654
8717
 
@@ -7662,6 +8725,16 @@
7662
8725
  locale: ru
7663
8726
  };
7664
8727
 
8728
+ const dateUzUZ = {
8729
+ name: "uz-UZ",
8730
+ locale: uz
8731
+ };
8732
+
8733
+ const dateZhCN = {
8734
+ name: "zh-CN",
8735
+ locale: zhCN
8736
+ };
8737
+
7665
8738
  /** Detect free variable `global` from Node.js. */
7666
8739
  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
7667
8740
 
@@ -13052,6 +14125,17 @@
13052
14125
  }
13053
14126
  });
13054
14127
 
14128
+ const iconProps = {
14129
+ ...useTheme.props,
14130
+ depth: [String, Number],
14131
+ size: [Number, String],
14132
+ color: String,
14133
+ component: Object,
14134
+ name: String,
14135
+ pack: String,
14136
+ onClick: Function
14137
+ };
14138
+
13055
14139
  var style$1V = cB("icon", `
13056
14140
  height: 1em;
13057
14141
  width: 1em;
@@ -13263,16 +14347,6 @@
13263
14347
  self: self$1C
13264
14348
  };
13265
14349
 
13266
- const iconProps = {
13267
- ...useTheme.props,
13268
- depth: [String, Number],
13269
- size: [Number, String],
13270
- color: String,
13271
- component: Object,
13272
- name: String,
13273
- pack: String,
13274
- onClick: Function
13275
- };
13276
14350
  const UIconImpl = vue.defineComponent({
13277
14351
  _n_icon__: true,
13278
14352
  name: "Icon",
@@ -13386,6 +14460,16 @@
13386
14460
  });
13387
14461
  const UIcon$1 = UIconImpl;
13388
14462
 
14463
+ function renderIcon(name, props, children) {
14464
+ const slots = children == null ? void 0 : {
14465
+ default: typeof children === "function" ? children : () => children
14466
+ };
14467
+ return vue.h(UIcon$1, {
14468
+ ...props,
14469
+ name
14470
+ }, slots);
14471
+ }
14472
+
13389
14473
  var commonVars$b = {
13390
14474
  iconWidth: "44px",
13391
14475
  iconHeight: "44px",
@@ -19879,7 +20963,10 @@
19879
20963
  })) : props.scrollable ? slots.default?.() : /* @__PURE__ */ vue.h(
19880
20964
  "div",
19881
20965
  {
19882
- class: `${mergedClsPrefix}-popover__content`,
20966
+ class: [
20967
+ `${mergedClsPrefix}-popover__content`,
20968
+ props.contentClass
20969
+ ],
19883
20970
  style: props.contentStyle
19884
20971
  },
19885
20972
  slots
@@ -24164,6 +25251,7 @@
24164
25251
  {
24165
25252
  ref: "tooltipRef",
24166
25253
  placement: "top",
25254
+ variant: "plain",
24167
25255
  ...tooltip,
24168
25256
  getDisabled: this.getTooltipDisabled,
24169
25257
  theme: mergedTheme.peers.Tooltip,
@@ -56313,14 +57401,13 @@
56313
57401
  {
56314
57402
  class: `${mergedClsPrefixRef.value}-chat-sidebar__item-indicators`
56315
57403
  },
56316
- /* @__PURE__ */ vue.h(
57404
+ slots.chatItemSuffix ? slots.chatItemSuffix(item) : /* @__PURE__ */ vue.h(vue.Fragment, null, /* @__PURE__ */ vue.h(
56317
57405
  "div",
56318
57406
  {
56319
57407
  class: `${mergedClsPrefixRef.value}-chat-sidebar__item-time`
56320
57408
  },
56321
57409
  item.datetime
56322
- ),
56323
- /* @__PURE__ */ vue.h(
57410
+ ), /* @__PURE__ */ vue.h(
56324
57411
  "div",
56325
57412
  {
56326
57413
  class: `${mergedClsPrefixRef.value}-chat-sidebar__item-status`
@@ -56347,7 +57434,7 @@
56347
57434
  themeOverrides: themeRef.value.peerOverrides.Badge
56348
57435
  }
56349
57436
  )
56350
- )
57437
+ ))
56351
57438
  );
56352
57439
  }
56353
57440
  }
@@ -56574,7 +57661,8 @@
56574
57661
  onChatSelect: this.handleChatSelect
56575
57662
  },
56576
57663
  {
56577
- chatItemStatus: this.slots.chatItemStatus
57664
+ chatItemStatus: this.slots.chatItemStatus,
57665
+ chatItemSuffix: this.slots.chatItemSuffix
56578
57666
  }
56579
57667
  )
56580
57668
  }
@@ -57158,7 +58246,9 @@
57158
58246
  default: () => /* @__PURE__ */ vue.h(vue.Fragment, null, resolveSlot($slots.sidebar, () => [
57159
58247
  /* @__PURE__ */ vue.h(ChatSidebar, null, {
57160
58248
  sidebarHeaderMain: $slots.sidebarHeaderMain,
57161
- sidebarHeaderActions: $slots.sidebarHeaderActions
58249
+ sidebarHeaderActions: $slots.sidebarHeaderActions,
58250
+ chatItemStatus: $slots.chatItemStatus,
58251
+ chatItemSuffix: $slots.chatItemSuffix
57162
58252
  })
57163
58253
  ]), this.selectedChatId && resolveSlot($slots.default, () => [
57164
58254
  /* @__PURE__ */ vue.h(ChatMainArea, { ref: "mainAreaRef" }, {
@@ -77578,6 +78668,7 @@
77578
78668
  const { type } = props;
77579
78669
  switch (type) {
77580
78670
  case "date":
78671
+ case "daterange":
77581
78672
  return localeRef.value.datePlaceholder;
77582
78673
  case "datetime":
77583
78674
  return localeRef.value.datetimePlaceholder;
@@ -78369,14 +79460,16 @@
78369
79460
  value: this.displayTime || this.localizedPlacehoder
78370
79461
  });
78371
79462
  }
79463
+ const hasDisplayTime = this.isRange ? this.displayStartTime && this.displayEndTime : this.displayTime;
79464
+ const displayValue = this.isRange ? `${this.displayStartTime} - ${this.displayEndTime}` : this.displayTime;
78372
79465
  if (this.triggerPreset === "select") {
78373
79466
  return /* @__PURE__ */ vue.h(
78374
79467
  UInternalSelection,
78375
79468
  {
78376
79469
  ref: "inputInstRef",
78377
- selectedOption: this.displayTime ? {
78378
- label: this.displayTime,
78379
- value: this.displayTime
79470
+ selectedOption: hasDisplayTime ? {
79471
+ label: displayValue,
79472
+ value: displayValue
78380
79473
  } : null,
78381
79474
  round: this.round,
78382
79475
  status: this.mergedStatus,
@@ -78400,6 +79493,7 @@
78400
79493
  );
78401
79494
  }
78402
79495
  if (this.triggerPreset === "button") {
79496
+ const buttonText = hasDisplayTime ? displayValue : this.localizedPlacehoder;
78403
79497
  return /* @__PURE__ */ vue.h(
78404
79498
  Button,
78405
79499
  {
@@ -78410,7 +79504,7 @@
78410
79504
  onClick: this.handleTriggerClick
78411
79505
  },
78412
79506
  {
78413
- default: () => this.displayTime || this.localizedPlacehoder
79507
+ default: () => buttonText
78414
79508
  }
78415
79509
  );
78416
79510
  }
@@ -83493,6 +84587,7 @@
83493
84587
  headerStyle: [Object, String],
83494
84588
  footerStyle: [Object, String],
83495
84589
  bodyStyle: [Object, String],
84590
+ bodyContentClass: String,
83496
84591
  bodyContentStyle: [Object, String],
83497
84592
  nativeScrollbar: { type: Boolean, default: true },
83498
84593
  scrollbarProps: Object,
@@ -83588,6 +84683,7 @@
83588
84683
  nativeScrollbar,
83589
84684
  mergedTheme,
83590
84685
  bodyStyle,
84686
+ bodyContentClass,
83591
84687
  bodyContentStyle,
83592
84688
  headerStyle,
83593
84689
  footerStyle,
@@ -83652,7 +84748,10 @@
83652
84748
  /* @__PURE__ */ vue.h(
83653
84749
  "div",
83654
84750
  {
83655
- class: `${mergedClsPrefix}-drawer-body-content-wrapper`,
84751
+ class: [
84752
+ `${mergedClsPrefix}-drawer-body-content-wrapper`,
84753
+ bodyContentClass
84754
+ ],
83656
84755
  style: bodyContentStyle,
83657
84756
  role: "none"
83658
84757
  },
@@ -83665,7 +84764,10 @@
83665
84764
  theme: mergedTheme.peers.Scrollbar,
83666
84765
  ...scrollbarProps,
83667
84766
  class: `${mergedClsPrefix}-drawer-body`,
83668
- contentClass: `${mergedClsPrefix}-drawer-body-content-wrapper`,
84767
+ contentClass: [
84768
+ `${mergedClsPrefix}-drawer-body-content-wrapper`,
84769
+ bodyContentClass
84770
+ ],
83669
84771
  contentStyle: bodyContentStyle
83670
84772
  },
83671
84773
  $slots
@@ -114493,6 +115595,7 @@
114493
115595
  rateProps: rateProps,
114494
115596
  renderBadge: renderBadge,
114495
115597
  renderConfig: renderConfig,
115598
+ renderIcon: renderIcon,
114496
115599
  renderOptionLabel: renderOptionLabel,
114497
115600
  resolvePlacement: resolvePlacement,
114498
115601
  resolveTopLevelMenuKey: resolveTopLevelMenuKey,
@@ -114563,7 +115666,7 @@
114563
115666
  });
114564
115667
  }
114565
115668
 
114566
- var version = "2.1.1";
115669
+ var version = "2.1.3";
114567
115670
 
114568
115671
  function create({
114569
115672
  componentPrefix = "U",
@@ -115621,6 +116724,8 @@
115621
116724
  exports.datePickerV2Dark = datePickerV2Dark;
115622
116725
  exports.datePickerV2Light = datePickerV2Light;
115623
116726
  exports.dateRuRU = dateRuRU;
116727
+ exports.dateUzUZ = dateUzUZ;
116728
+ exports.dateZhCN = dateZhCN;
115624
116729
  exports.default = uzumUi;
115625
116730
  exports.descriptionsDark = descriptionsDark;
115626
116731
  exports.descriptionsItemProps = descriptionsItemProps;
@@ -115763,6 +116868,7 @@
115763
116868
  exports.rateProps = rateProps;
115764
116869
  exports.renderBadge = renderBadge;
115765
116870
  exports.renderConfig = renderConfig;
116871
+ exports.renderIcon = renderIcon;
115766
116872
  exports.renderOptionLabel = renderOptionLabel;
115767
116873
  exports.resolvePlacement = resolvePlacement;
115768
116874
  exports.resolveTopLevelMenuKey = resolveTopLevelMenuKey;
@@ -115864,10 +116970,12 @@
115864
116970
  exports.useNotification = useNotification;
115865
116971
  exports.useOsTheme = useOsTheme;
115866
116972
  exports.useThemeVars = useThemeVars;
116973
+ exports.uzUZ = uzUZ;
115867
116974
  exports.version = version;
115868
116975
  exports.virtualListProps = virtualListProps;
115869
116976
  exports.watermarkDark = watermarkDark;
115870
116977
  exports.watermarkProps = watermarkProps;
116978
+ exports.zhCN = zhCN$1;
115871
116979
  exports.zindexable = zindexable;
115872
116980
 
115873
116981
  Object.defineProperty(exports, '__esModule', { value: true });