@uzum-tech/ui 1.9.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/dist/index.js +586 -265
  2. package/dist/index.prod.js +2 -2
  3. package/es/chat/index.d.ts +1 -1
  4. package/es/chat/src/Chat.d.ts +233 -11
  5. package/es/chat/src/Chat.js +73 -22
  6. package/es/chat/src/ChatParts/ChatAttachment.js +14 -12
  7. package/es/chat/src/ChatParts/MainArea.d.ts +1 -0
  8. package/es/chat/src/ChatParts/MainArea.js +95 -57
  9. package/es/chat/src/ChatParts/Sidebar.d.ts +920 -0
  10. package/es/chat/src/ChatParts/Sidebar.js +63 -12
  11. package/es/chat/src/interface.d.ts +24 -3
  12. package/es/chat/src/styles/index.cssr.js +13 -2
  13. package/es/date-picker/src/DatePicker.d.ts +1308 -43
  14. package/es/date-picker/src/DatePicker.js +54 -29
  15. package/es/date-picker/src/interface.d.ts +1 -0
  16. package/es/date-picker/src/panel/date.d.ts +141 -0
  17. package/es/date-picker/src/panel/daterange.d.ts +141 -0
  18. package/es/date-picker/src/panel/datetime.d.ts +141 -0
  19. package/es/date-picker/src/panel/datetimerange.d.ts +141 -0
  20. package/es/date-picker/src/panel/panelMonth.d.ts +282 -0
  21. package/es/date-picker/src/panel/panelMonthContent.d.ts +141 -0
  22. package/es/date-picker/src/panel/panelYear.d.ts +282 -0
  23. package/es/date-picker/src/panel/panelYearContent.d.ts +141 -0
  24. package/es/date-picker/src/panel/use-calendar.d.ts +141 -0
  25. package/es/date-picker/src/panel/use-dual-calendar.d.ts +141 -0
  26. package/es/date-picker/src/panel/use-panel-common.d.ts +141 -0
  27. package/es/date-picker/styles/dark.js +3 -1
  28. package/es/date-picker/styles/light.d.ts +123 -0
  29. package/es/date-picker/styles/light.js +3 -1
  30. package/es/descriptions/src/Descriptions.d.ts +30 -0
  31. package/es/descriptions/src/Descriptions.js +18 -10
  32. package/es/locales/common/arDZ.js +2 -0
  33. package/es/locales/common/deDE.js +2 -0
  34. package/es/locales/common/enGB.js +2 -0
  35. package/es/locales/common/enUS.d.ts +2 -0
  36. package/es/locales/common/enUS.js +2 -0
  37. package/es/locales/common/eo.js +2 -0
  38. package/es/locales/common/esAR.js +2 -0
  39. package/es/locales/common/faIR.js +2 -0
  40. package/es/locales/common/frFR.js +2 -0
  41. package/es/locales/common/idID.js +2 -0
  42. package/es/locales/common/itIT.js +2 -0
  43. package/es/locales/common/jaJP.js +2 -0
  44. package/es/locales/common/koKR.js +2 -0
  45. package/es/locales/common/nbNO.js +2 -0
  46. package/es/locales/common/nlNL.js +2 -0
  47. package/es/locales/common/plPL.js +2 -0
  48. package/es/locales/common/ptBR.js +2 -0
  49. package/es/locales/common/ruRU.js +2 -0
  50. package/es/locales/common/skSK.js +2 -0
  51. package/es/locales/common/svSE.js +2 -0
  52. package/es/locales/common/thTH.js +2 -0
  53. package/es/locales/common/trTR.js +2 -0
  54. package/es/locales/common/ukUA.js +2 -0
  55. package/es/locales/common/viVN.js +2 -0
  56. package/es/locales/common/zhCN.js +2 -0
  57. package/es/locales/common/zhTW.js +2 -0
  58. package/es/version.d.ts +1 -1
  59. package/es/version.js +1 -1
  60. package/lib/chat/index.d.ts +1 -1
  61. package/lib/chat/src/Chat.d.ts +233 -11
  62. package/lib/chat/src/Chat.js +73 -22
  63. package/lib/chat/src/ChatParts/ChatAttachment.js +14 -12
  64. package/lib/chat/src/ChatParts/MainArea.d.ts +1 -0
  65. package/lib/chat/src/ChatParts/MainArea.js +94 -56
  66. package/lib/chat/src/ChatParts/Sidebar.d.ts +920 -0
  67. package/lib/chat/src/ChatParts/Sidebar.js +62 -11
  68. package/lib/chat/src/interface.d.ts +24 -3
  69. package/lib/chat/src/styles/index.cssr.js +13 -2
  70. package/lib/date-picker/src/DatePicker.d.ts +1308 -43
  71. package/lib/date-picker/src/DatePicker.js +53 -28
  72. package/lib/date-picker/src/interface.d.ts +1 -0
  73. package/lib/date-picker/src/panel/date.d.ts +141 -0
  74. package/lib/date-picker/src/panel/daterange.d.ts +141 -0
  75. package/lib/date-picker/src/panel/datetime.d.ts +141 -0
  76. package/lib/date-picker/src/panel/datetimerange.d.ts +141 -0
  77. package/lib/date-picker/src/panel/panelMonth.d.ts +282 -0
  78. package/lib/date-picker/src/panel/panelMonthContent.d.ts +141 -0
  79. package/lib/date-picker/src/panel/panelYear.d.ts +282 -0
  80. package/lib/date-picker/src/panel/panelYearContent.d.ts +141 -0
  81. package/lib/date-picker/src/panel/use-calendar.d.ts +141 -0
  82. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +141 -0
  83. package/lib/date-picker/src/panel/use-panel-common.d.ts +141 -0
  84. package/lib/date-picker/styles/dark.js +3 -1
  85. package/lib/date-picker/styles/light.d.ts +123 -0
  86. package/lib/date-picker/styles/light.js +3 -1
  87. package/lib/descriptions/src/Descriptions.d.ts +30 -0
  88. package/lib/descriptions/src/Descriptions.js +18 -10
  89. package/lib/locales/common/arDZ.js +2 -0
  90. package/lib/locales/common/deDE.js +2 -0
  91. package/lib/locales/common/enGB.js +2 -0
  92. package/lib/locales/common/enUS.d.ts +2 -0
  93. package/lib/locales/common/enUS.js +2 -0
  94. package/lib/locales/common/eo.js +2 -0
  95. package/lib/locales/common/esAR.js +2 -0
  96. package/lib/locales/common/faIR.js +2 -0
  97. package/lib/locales/common/frFR.js +2 -0
  98. package/lib/locales/common/idID.js +2 -0
  99. package/lib/locales/common/itIT.js +2 -0
  100. package/lib/locales/common/jaJP.js +2 -0
  101. package/lib/locales/common/koKR.js +2 -0
  102. package/lib/locales/common/nbNO.js +2 -0
  103. package/lib/locales/common/nlNL.js +2 -0
  104. package/lib/locales/common/plPL.js +2 -0
  105. package/lib/locales/common/ptBR.js +2 -0
  106. package/lib/locales/common/ruRU.js +2 -0
  107. package/lib/locales/common/skSK.js +2 -0
  108. package/lib/locales/common/svSE.js +2 -0
  109. package/lib/locales/common/thTH.js +2 -0
  110. package/lib/locales/common/trTR.js +2 -0
  111. package/lib/locales/common/ukUA.js +2 -0
  112. package/lib/locales/common/viVN.js +2 -0
  113. package/lib/locales/common/zhCN.js +2 -0
  114. package/lib/locales/common/zhTW.js +2 -0
  115. package/lib/version.d.ts +1 -1
  116. package/lib/version.js +1 -1
  117. package/package.json +3 -3
  118. package/web-types.json +95 -4
@@ -133,6 +133,8 @@ const eo = {
133
133
  typingText: 'Typing...',
134
134
  retryText: 'Resend',
135
135
  closeButtonText: 'Close chat',
136
+ shareButtonTooltip: 'Share chat',
137
+ profileButtonTooltip: 'View profile',
136
138
  unreadNotificationText: 'new messages'
137
139
  }
138
140
  };
@@ -135,6 +135,8 @@ const esAR = {
135
135
  typingText: 'Typing...',
136
136
  retryText: 'Resend',
137
137
  closeButtonText: 'Close chat',
138
+ shareButtonTooltip: 'Share chat',
139
+ profileButtonTooltip: 'View profile',
138
140
  unreadNotificationText: 'new messages'
139
141
  }
140
142
  };
@@ -131,6 +131,8 @@ const faIR = {
131
131
  typingText: 'Typing...',
132
132
  retryText: 'Resend',
133
133
  closeButtonText: 'Close chat',
134
+ shareButtonTooltip: 'Share chat',
135
+ profileButtonTooltip: 'View profile',
134
136
  unreadNotificationText: 'new messages'
135
137
  }
136
138
  };
@@ -131,6 +131,8 @@ const frFR = {
131
131
  typingText: 'Typing...',
132
132
  retryText: 'Resend',
133
133
  closeButtonText: 'Close chat',
134
+ shareButtonTooltip: 'Share chat',
135
+ profileButtonTooltip: 'View profile',
134
136
  unreadNotificationText: 'new messages'
135
137
  }
136
138
  };
@@ -135,6 +135,8 @@ const idID = {
135
135
  typingText: 'Typing...',
136
136
  retryText: 'Resend',
137
137
  closeButtonText: 'Close chat',
138
+ shareButtonTooltip: 'Share chat',
139
+ profileButtonTooltip: 'View profile',
138
140
  unreadNotificationText: 'new messages'
139
141
  }
140
142
  };
@@ -134,6 +134,8 @@ const itIT = {
134
134
  typingText: 'Typing...',
135
135
  retryText: 'Resend',
136
136
  closeButtonText: 'Close chat',
137
+ shareButtonTooltip: 'Share chat',
138
+ profileButtonTooltip: 'View profile',
137
139
  unreadNotificationText: 'new messages'
138
140
  }
139
141
  };
@@ -134,6 +134,8 @@ const jaJP = {
134
134
  typingText: 'Typing...',
135
135
  retryText: 'Resend',
136
136
  closeButtonText: 'Close chat',
137
+ shareButtonTooltip: 'Share chat',
138
+ profileButtonTooltip: 'View profile',
137
139
  unreadNotificationText: 'new messages'
138
140
  }
139
141
  };
@@ -134,6 +134,8 @@ const koKR = {
134
134
  typingText: 'Typing...',
135
135
  retryText: 'Resend',
136
136
  closeButtonText: 'Close chat',
137
+ shareButtonTooltip: 'Share chat',
138
+ profileButtonTooltip: 'View profile',
137
139
  unreadNotificationText: 'new messages'
138
140
  }
139
141
  };
@@ -135,6 +135,8 @@ const nbNO = {
135
135
  typingText: 'Typing...',
136
136
  retryText: 'Resend',
137
137
  closeButtonText: 'Close chat',
138
+ shareButtonTooltip: 'Share chat',
139
+ profileButtonTooltip: 'View profile',
138
140
  unreadNotificationText: 'new messages'
139
141
  }
140
142
  };
@@ -133,6 +133,8 @@ const nlNL = {
133
133
  typingText: 'Typing...',
134
134
  retryText: 'Resend',
135
135
  closeButtonText: 'Close chat',
136
+ shareButtonTooltip: 'Share chat',
137
+ profileButtonTooltip: 'View profile',
136
138
  unreadNotificationText: 'new messages'
137
139
  }
138
140
  };
@@ -134,6 +134,8 @@ const plPL = {
134
134
  typingText: 'Typing...',
135
135
  retryText: 'Resend',
136
136
  closeButtonText: 'Close chat',
137
+ shareButtonTooltip: 'Share chat',
138
+ profileButtonTooltip: 'View profile',
137
139
  unreadNotificationText: 'new messages'
138
140
  }
139
141
  };
@@ -131,6 +131,8 @@ const ptBR = {
131
131
  typingText: 'Typing...',
132
132
  retryText: 'Resend',
133
133
  closeButtonText: 'Close chat',
134
+ shareButtonTooltip: 'Share chat',
135
+ profileButtonTooltip: 'View profile',
134
136
  unreadNotificationText: 'new messages'
135
137
  }
136
138
  };
@@ -136,6 +136,8 @@ const ruRu = {
136
136
  typingText: 'Печатает...',
137
137
  retryText: 'Повторно отправить',
138
138
  closeButtonText: 'Завершить чат',
139
+ shareButtonTooltip: 'Поделиться чатом',
140
+ profileButtonTooltip: 'Просмотреть профиль',
139
141
  unreadNotificationText: 'новых сообщений'
140
142
  }
141
143
  };
@@ -135,6 +135,8 @@ const skSK = {
135
135
  typingText: 'Typing...',
136
136
  retryText: 'Resend',
137
137
  closeButtonText: 'Close chat',
138
+ shareButtonTooltip: 'Share chat',
139
+ profileButtonTooltip: 'View profile',
138
140
  unreadNotificationText: 'new messages'
139
141
  }
140
142
  };
@@ -131,6 +131,8 @@ const svSE = {
131
131
  typingText: 'Typing...',
132
132
  retryText: 'Resend',
133
133
  closeButtonText: 'Close chat',
134
+ shareButtonTooltip: 'Share chat',
135
+ profileButtonTooltip: 'View profile',
134
136
  unreadNotificationText: 'new messages'
135
137
  }
136
138
  };
@@ -135,6 +135,8 @@ const thTH = {
135
135
  typingText: 'Typing...',
136
136
  retryText: 'Resend',
137
137
  closeButtonText: 'Close chat',
138
+ shareButtonTooltip: 'Share chat',
139
+ profileButtonTooltip: 'View profile',
138
140
  unreadNotificationText: 'new messages'
139
141
  }
140
142
  };
@@ -132,6 +132,8 @@ const trTR = {
132
132
  typingText: 'Typing...',
133
133
  retryText: 'Resend',
134
134
  closeButtonText: 'Close chat',
135
+ shareButtonTooltip: 'Share chat',
136
+ profileButtonTooltip: 'View profile',
135
137
  unreadNotificationText: 'new messages'
136
138
  }
137
139
  };
@@ -132,6 +132,8 @@ const ukUA = {
132
132
  typingText: 'Typing...',
133
133
  retryText: 'Resend',
134
134
  closeButtonText: 'Close chat',
135
+ shareButtonTooltip: 'Share chat',
136
+ profileButtonTooltip: 'View profile',
135
137
  unreadNotificationText: 'new messages'
136
138
  }
137
139
  };
@@ -131,6 +131,8 @@ const viVN = {
131
131
  typingText: 'Typing...',
132
132
  retryText: 'Resend',
133
133
  closeButtonText: 'Close chat',
134
+ shareButtonTooltip: 'Share chat',
135
+ profileButtonTooltip: 'View profile',
134
136
  unreadNotificationText: 'new messages'
135
137
  }
136
138
  };
@@ -131,6 +131,8 @@ const zhCN = {
131
131
  typingText: 'Typing...',
132
132
  retryText: 'Resend',
133
133
  closeButtonText: 'Close chat',
134
+ shareButtonTooltip: 'Share chat',
135
+ profileButtonTooltip: 'View profile',
134
136
  unreadNotificationText: 'new messages'
135
137
  }
136
138
  };
@@ -131,6 +131,8 @@ const zhTW = {
131
131
  typingText: 'Typing...',
132
132
  retryText: 'Resend',
133
133
  closeButtonText: 'Close chat',
134
+ shareButtonTooltip: 'Share chat',
135
+ profileButtonTooltip: 'View profile',
134
136
  unreadNotificationText: 'new messages'
135
137
  }
136
138
  };
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "1.9.0";
1
+ declare const _default: "1.9.1";
2
2
  export default _default;
package/lib/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '1.9.0';
3
+ exports.default = '1.9.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uzum-tech/ui",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -159,8 +159,8 @@
159
159
  "vite": "5.0.4",
160
160
  "vite-plugin-node-polyfills": "0.18.0",
161
161
  "vue": "3.3.4",
162
- "vue-router": "4.2.4",
163
- "vue-tsc": "2.2.0"
162
+ "vue-router": "4.6.0",
163
+ "vue-tsc": "3.1.1"
164
164
  },
165
165
  "peerDependencies": {
166
166
  "vue": "^3.0.0"
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "@uzum-tech/ui",
5
- "version": "1.9.0",
5
+ "version": "1.9.1",
6
6
  "js-types-syntax": "typescript",
7
7
  "contributions": {
8
8
  "html": {
@@ -2040,6 +2040,31 @@
2040
2040
  "description": "Props for icons in header.",
2041
2041
  "default": "undefined"
2042
2042
  },
2043
+ {
2044
+ "name": "header-share-button-props",
2045
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
2046
+ "type": "object"
2047
+ },
2048
+ {
2049
+ "name": "header-profile-button-props",
2050
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
2051
+ "type": "object"
2052
+ },
2053
+ {
2054
+ "name": "header-close-button-props",
2055
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
2056
+ "type": "object"
2057
+ },
2058
+ {
2059
+ "name": "header-share-icon-props",
2060
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
2061
+ "type": "object"
2062
+ },
2063
+ {
2064
+ "name": "header-profile-icon-props",
2065
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
2066
+ "type": "object"
2067
+ },
2043
2068
  {
2044
2069
  "name": "message-sender-avatar-props",
2045
2070
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
@@ -2120,6 +2145,20 @@
2120
2145
  "description": "Text for close chat button.",
2121
2146
  "default": "locale default"
2122
2147
  },
2148
+ {
2149
+ "name": "share-button-tooltip",
2150
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
2151
+ "type": "string",
2152
+ "description": "Tooltip text for share button in chat header.",
2153
+ "default": "locale default"
2154
+ },
2155
+ {
2156
+ "name": "profile-button-tooltip",
2157
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
2158
+ "type": "string",
2159
+ "description": "Tooltip text for profile button in chat header.",
2160
+ "default": "locale default"
2161
+ },
2123
2162
  {
2124
2163
  "name": "unread-notification-text",
2125
2164
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
@@ -2203,10 +2242,10 @@
2203
2242
  "default": "undefined"
2204
2243
  },
2205
2244
  {
2206
- "name": "load-more-chats",
2245
+ "name": "footer-input-change",
2207
2246
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
2208
- "type": "(offset: number, limit: number) => void",
2209
- "description": "Callback to load more chats.",
2247
+ "type": "(value: string, chatId: ChatId) => void",
2248
+ "description": "Callback when footer input value changes (useful for typing indicators).",
2210
2249
  "default": "undefined"
2211
2250
  },
2212
2251
  {
@@ -2230,6 +2269,34 @@
2230
2269
  "description": "Callback when message send fails.",
2231
2270
  "default": "undefined"
2232
2271
  },
2272
+ {
2273
+ "name": "chat-items-scroll-to-top",
2274
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
2275
+ "type": "() => void",
2276
+ "description": "Callback when sidebar scrolls to top (load older chats).",
2277
+ "default": "undefined"
2278
+ },
2279
+ {
2280
+ "name": "chat-items-scroll-to-bottom",
2281
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
2282
+ "type": "() => void",
2283
+ "description": "Callback when sidebar scrolls to bottom (load more chats).",
2284
+ "default": "undefined"
2285
+ },
2286
+ {
2287
+ "name": "messages-scroll-to-top",
2288
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
2289
+ "type": "() => void",
2290
+ "description": "Callback when messages scroll to top (load older messages).",
2291
+ "default": "undefined"
2292
+ },
2293
+ {
2294
+ "name": "messages-scroll-to-bottom",
2295
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
2296
+ "type": "() => void",
2297
+ "description": "Callback when messages scroll to bottom (reached latest message).",
2298
+ "default": "undefined"
2299
+ },
2233
2300
  {
2234
2301
  "name": "message-send",
2235
2302
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/chat",
@@ -4361,6 +4428,11 @@
4361
4428
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/date-picker",
4362
4429
  "type": "boolean"
4363
4430
  },
4431
+ {
4432
+ "name": "round",
4433
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/date-picker",
4434
+ "type": "boolean"
4435
+ },
4364
4436
  {
4365
4437
  "name": "update-value-on-close",
4366
4438
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/date-picker",
@@ -4535,6 +4607,11 @@
4535
4607
  "name": "bind-calendar-months",
4536
4608
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/date-picker",
4537
4609
  "type": "boolean"
4610
+ },
4611
+ {
4612
+ "name": "trigger-preset",
4613
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/date-picker",
4614
+ "type": "string"
4538
4615
  }
4539
4616
  ],
4540
4617
  "js": {
@@ -4607,6 +4684,13 @@
4607
4684
  ],
4608
4685
  "attributes": [],
4609
4686
  "props": [
4687
+ {
4688
+ "name": "skeleton-props",
4689
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/descriptions",
4690
+ "type": "SkeletonProps",
4691
+ "description": "Props from the skeleton component",
4692
+ "default": "{ width: '50%', height: '25px', round: true }"
4693
+ },
4610
4694
  {
4611
4695
  "name": "title",
4612
4696
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/descriptions",
@@ -4661,6 +4745,13 @@
4661
4745
  "description": "Whether to display border.",
4662
4746
  "default": "false"
4663
4747
  },
4748
+ {
4749
+ "name": "loading-skeleton",
4750
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/descriptions",
4751
+ "type": "boolean",
4752
+ "description": "Whether to display skeleton.",
4753
+ "default": "false"
4754
+ },
4664
4755
  {
4665
4756
  "name": "label-style",
4666
4757
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/descriptions",