@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.
- package/dist/index.js +1238 -130
- package/dist/index.mjs +1234 -131
- package/dist/index.prod.js +2 -2
- package/dist/index.prod.mjs +2 -2
- package/es/_internal/icon/index.d.ts +4 -2
- package/es/_internal/icon/index.mjs +3 -1
- package/es/_internal/icon/src/UIcon.d.ts +20 -63
- package/es/_internal/icon/src/UIcon.mjs +1 -9
- package/es/_internal/icon/src/interface.d.ts +50 -0
- package/es/_internal/icon/src/interface.mjs +10 -0
- package/es/_internal/icon/src/render-icon.d.ts +4 -0
- package/es/_internal/icon/src/render-icon.mjs +10 -0
- package/es/chat/src/Chat.mjs +3 -1
- package/es/chat/src/ChatListItems.mjs +3 -3
- package/es/chat/src/ChatParts/Sidebar.mjs +2 -1
- package/es/chat/src/interface.d.ts +1 -0
- package/es/components.d.ts +3 -1
- package/es/components.mjs +1 -1
- package/es/date-picker/src/DatePicker.mjs +8 -4
- package/es/drawer/src/DrawerContent.d.ts +3 -0
- package/es/drawer/src/DrawerContent.mjs +4 -2
- package/es/ellipsis/src/Ellipsis.mjs +2 -1
- package/es/icon/index.d.ts +2 -2
- package/es/icon/index.mjs +1 -1
- package/es/icon/src/Icon.d.ts +2 -2
- package/es/icon/src/Icon.mjs +1 -1
- package/es/locales/common/uzUZ.d.ts +3 -0
- package/es/locales/common/uzUZ.mjs +162 -0
- package/es/locales/common/zhCN.d.ts +3 -0
- package/es/locales/common/zhCN.mjs +162 -0
- package/es/locales/date/uzUZ.d.ts +3 -0
- package/es/locales/date/uzUZ.mjs +6 -0
- package/es/locales/date/zhCN.d.ts +3 -0
- package/es/locales/date/zhCN.mjs +6 -0
- package/es/locales/index.d.ts +4 -0
- package/es/locales/index.mjs +4 -0
- package/es/popover/src/PopoverBody.mjs +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/_internal/icon/index.d.ts +4 -2
- package/lib/_internal/icon/index.js +5 -2
- package/lib/_internal/icon/src/UIcon.d.ts +20 -63
- package/lib/_internal/icon/src/UIcon.js +3 -3
- package/lib/_internal/icon/src/interface.d.ts +50 -0
- package/lib/_internal/icon/src/interface.js +5 -0
- package/lib/_internal/icon/src/render-icon.d.ts +4 -0
- package/lib/_internal/icon/src/render-icon.js +11 -0
- package/lib/chat/src/Chat.js +3 -1
- package/lib/chat/src/ChatListItems.js +2 -2
- package/lib/chat/src/ChatParts/Sidebar.js +2 -1
- package/lib/chat/src/interface.d.ts +1 -0
- package/lib/components.d.ts +3 -1
- package/lib/components.js +6 -5
- package/lib/date-picker/src/DatePicker.js +14 -4
- package/lib/drawer/src/DrawerContent.d.ts +3 -0
- package/lib/drawer/src/DrawerContent.js +9 -2
- package/lib/ellipsis/src/Ellipsis.js +1 -1
- package/lib/icon/index.d.ts +2 -2
- package/lib/icon/index.js +2 -1
- package/lib/icon/src/Icon.d.ts +2 -2
- package/lib/icon/src/Icon.js +2 -1
- package/lib/locales/common/uzUZ.d.ts +3 -0
- package/lib/locales/common/uzUZ.js +164 -0
- package/lib/locales/common/zhCN.d.ts +3 -0
- package/lib/locales/common/zhCN.js +164 -0
- package/lib/locales/date/uzUZ.d.ts +3 -0
- package/lib/locales/date/uzUZ.js +8 -0
- package/lib/locales/date/zhCN.d.ts +3 -0
- package/lib/locales/date/zhCN.js +8 -0
- package/lib/locales/index.d.ts +4 -0
- package/lib/locales/index.js +9 -1
- package/lib/popover/src/PopoverBody.js +4 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/web-types.json +11 -1
|
@@ -162,6 +162,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
162
162
|
const { type } = props;
|
|
163
163
|
switch (type) {
|
|
164
164
|
case 'date':
|
|
165
|
+
case 'daterange':
|
|
165
166
|
return localeRef.value.datePlaceholder;
|
|
166
167
|
case 'datetime':
|
|
167
168
|
return localeRef.value.datetimePlaceholder;
|
|
@@ -795,19 +796,28 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
795
796
|
value: this.displayTime || this.localizedPlacehoder
|
|
796
797
|
});
|
|
797
798
|
}
|
|
799
|
+
const hasDisplayTime = this.isRange
|
|
800
|
+
? this.displayStartTime && this.displayEndTime
|
|
801
|
+
: this.displayTime;
|
|
802
|
+
const displayValue = this.isRange
|
|
803
|
+
? `${this.displayStartTime} - ${this.displayEndTime}`
|
|
804
|
+
: this.displayTime;
|
|
798
805
|
if (this.triggerPreset === 'select') {
|
|
799
|
-
return ((0, vue_1.h)(_internal_1.UInternalSelection, { ref: "inputInstRef", selectedOption:
|
|
806
|
+
return ((0, vue_1.h)(_internal_1.UInternalSelection, { ref: "inputInstRef", selectedOption: hasDisplayTime
|
|
800
807
|
? {
|
|
801
|
-
label:
|
|
802
|
-
value:
|
|
808
|
+
label: displayValue,
|
|
809
|
+
value: displayValue
|
|
803
810
|
}
|
|
804
811
|
: null, round: this.round, status: this.mergedStatus, clsPrefix: mergedClsPrefix, bordered: this.mergedBordered, size: this.mergedSize, theme: this.mergedTheme.peers.Select, themeOverrides: this.mergedTheme.peerOverrides.Select, placeholder: this.localizedPlacehoder, active: this.mergedShow, clearable: this.clearable, disabled: this.mergedDisabled, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onClick: this.handleTriggerClick, onClear: this.handleClear }, {
|
|
805
812
|
arrow: () => { var _a, _b; return (_b = (_a = this.$slots).arrow) === null || _b === void 0 ? void 0 : _b.call(_a); }
|
|
806
813
|
}));
|
|
807
814
|
}
|
|
808
815
|
if (this.triggerPreset === 'button') {
|
|
816
|
+
const buttonText = hasDisplayTime
|
|
817
|
+
? displayValue
|
|
818
|
+
: this.localizedPlacehoder;
|
|
809
819
|
return ((0, vue_1.h)(button_1.UButton, { round: this.round, size: this.mergedSize, theme: this.mergedTheme.peers.Button, themeOverrides: this.mergedTheme.peerOverrides.Button, onClick: this.handleTriggerClick }, {
|
|
810
|
-
default: () =>
|
|
820
|
+
default: () => buttonText
|
|
811
821
|
}));
|
|
812
822
|
}
|
|
813
823
|
return this.isRange ? ((0, vue_1.h)(input_1.UInput, Object.assign({ ref: "inputInstRef", round: this.round, status: this.mergedStatus, value: [this.displayStartTime, this.displayEndTime], placeholder: [
|
|
@@ -12,6 +12,7 @@ export declare const drawerContentProps: {
|
|
|
12
12
|
headerStyle: PropType<string | CSSProperties>;
|
|
13
13
|
footerStyle: PropType<string | CSSProperties>;
|
|
14
14
|
bodyStyle: PropType<string | CSSProperties>;
|
|
15
|
+
bodyContentClass: StringConstructor;
|
|
15
16
|
bodyContentStyle: PropType<string | CSSProperties>;
|
|
16
17
|
nativeScrollbar: {
|
|
17
18
|
type: BooleanConstructor;
|
|
@@ -46,6 +47,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
47
|
headerStyle: PropType<string | CSSProperties>;
|
|
47
48
|
footerStyle: PropType<string | CSSProperties>;
|
|
48
49
|
bodyStyle: PropType<string | CSSProperties>;
|
|
50
|
+
bodyContentClass: StringConstructor;
|
|
49
51
|
bodyContentStyle: PropType<string | CSSProperties>;
|
|
50
52
|
nativeScrollbar: {
|
|
51
53
|
type: BooleanConstructor;
|
|
@@ -189,6 +191,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
189
191
|
headerStyle: PropType<string | CSSProperties>;
|
|
190
192
|
footerStyle: PropType<string | CSSProperties>;
|
|
191
193
|
bodyStyle: PropType<string | CSSProperties>;
|
|
194
|
+
bodyContentClass: StringConstructor;
|
|
192
195
|
bodyContentStyle: PropType<string | CSSProperties>;
|
|
193
196
|
nativeScrollbar: {
|
|
194
197
|
type: BooleanConstructor;
|
|
@@ -17,6 +17,7 @@ exports.drawerContentProps = {
|
|
|
17
17
|
headerStyle: [Object, String],
|
|
18
18
|
footerStyle: [Object, String],
|
|
19
19
|
bodyStyle: [Object, String],
|
|
20
|
+
bodyContentClass: String,
|
|
20
21
|
bodyContentStyle: [Object, String],
|
|
21
22
|
nativeScrollbar: { type: Boolean, default: true },
|
|
22
23
|
scrollbarProps: Object,
|
|
@@ -89,7 +90,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
89
90
|
},
|
|
90
91
|
render() {
|
|
91
92
|
var _a, _b;
|
|
92
|
-
const { title, subtitle, mergedClsPrefix, nativeScrollbar, mergedTheme, bodyStyle, bodyContentStyle, headerStyle, footerStyle, scrollbarProps, closable, $slots } = this;
|
|
93
|
+
const { title, subtitle, mergedClsPrefix, nativeScrollbar, mergedTheme, bodyStyle, bodyContentClass, bodyContentStyle, headerStyle, footerStyle, scrollbarProps, closable, $slots } = this;
|
|
93
94
|
const footerNode = (0, _utils_1.resolveWrappedSlot)($slots.footer, (children) => {
|
|
94
95
|
return children
|
|
95
96
|
|| this.sideText
|
|
@@ -113,7 +114,13 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
113
114
|
($slots.description || subtitle) && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-drawer-header__description`, role: "heading", "aria-level": "2" }, ((_b = $slots.description) === null || _b === void 0 ? void 0 : _b.call($slots)) || subtitle)),
|
|
114
115
|
closeNode)) : null,
|
|
115
116
|
nativeScrollbar ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-drawer-body`, style: bodyStyle, role: "none" },
|
|
116
|
-
(0, vue_1.h)("div", { class:
|
|
117
|
+
(0, vue_1.h)("div", { class: [
|
|
118
|
+
`${mergedClsPrefix}-drawer-body-content-wrapper`,
|
|
119
|
+
bodyContentClass
|
|
120
|
+
], style: bodyContentStyle, role: "none" }, $slots))) : ((0, vue_1.h)(_internal_1.UScrollbar, Object.assign({ themeOverrides: mergedTheme.peerOverrides.Scrollbar, theme: mergedTheme.peers.Scrollbar }, scrollbarProps, { class: `${mergedClsPrefix}-drawer-body`, contentClass: [
|
|
121
|
+
`${mergedClsPrefix}-drawer-body-content-wrapper`,
|
|
122
|
+
bodyContentClass
|
|
123
|
+
], contentStyle: bodyContentStyle }), $slots)),
|
|
117
124
|
footerNode));
|
|
118
125
|
}
|
|
119
126
|
});
|
|
@@ -162,7 +162,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
162
162
|
const { tooltip, renderTrigger, $slots } = this;
|
|
163
163
|
if (tooltip) {
|
|
164
164
|
const { mergedTheme } = this;
|
|
165
|
-
return ((0, vue_1.h)(tooltip_1.UTooltip, Object.assign({ ref: "tooltipRef", placement: "top" }, tooltip, { getDisabled: this.getTooltipDisabled, theme: mergedTheme.peers.Tooltip, themeOverrides: mergedTheme.peerOverrides.Tooltip }), {
|
|
165
|
+
return ((0, vue_1.h)(tooltip_1.UTooltip, Object.assign({ ref: "tooltipRef", placement: "top", variant: "plain" }, tooltip, { getDisabled: this.getTooltipDisabled, theme: mergedTheme.peers.Tooltip, themeOverrides: mergedTheme.peerOverrides.Tooltip }), {
|
|
166
166
|
trigger: renderTrigger,
|
|
167
167
|
default: (_a = $slots.tooltip) !== null && _a !== void 0 ? _a : $slots.default
|
|
168
168
|
}));
|
package/lib/icon/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { iconProps, UIcon } from './src/Icon';
|
|
2
|
-
export type { IconProps } from './src/Icon';
|
|
1
|
+
export { iconProps, renderIcon, UIcon } from './src/Icon';
|
|
2
|
+
export type { IconProps, RenderIconProps } from './src/Icon';
|
package/lib/icon/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UIcon = exports.iconProps = void 0;
|
|
3
|
+
exports.UIcon = exports.renderIcon = exports.iconProps = void 0;
|
|
4
4
|
var Icon_1 = require("./src/Icon");
|
|
5
5
|
Object.defineProperty(exports, "iconProps", { enumerable: true, get: function () { return Icon_1.iconProps; } });
|
|
6
|
+
Object.defineProperty(exports, "renderIcon", { enumerable: true, get: function () { return Icon_1.renderIcon; } });
|
|
6
7
|
Object.defineProperty(exports, "UIcon", { enumerable: true, get: function () { return Icon_1.UIcon; } });
|
package/lib/icon/src/Icon.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { iconProps, UIcon } from '../../_internal/icon';
|
|
2
|
-
export type { Depth, GenericUIcon, IconNameOf, IconProps } from '../../_internal/icon';
|
|
1
|
+
export { iconProps, renderIcon, UIcon } from '../../_internal/icon';
|
|
2
|
+
export type { Depth, GenericUIcon, IconNameOf, IconProps, RenderIconProps } from '../../_internal/icon';
|
package/lib/icon/src/Icon.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UIcon = exports.iconProps = void 0;
|
|
3
|
+
exports.UIcon = exports.renderIcon = exports.iconProps = void 0;
|
|
4
4
|
var icon_1 = require("../../_internal/icon");
|
|
5
5
|
Object.defineProperty(exports, "iconProps", { enumerable: true, get: function () { return icon_1.iconProps; } });
|
|
6
|
+
Object.defineProperty(exports, "renderIcon", { enumerable: true, get: function () { return icon_1.renderIcon; } });
|
|
6
7
|
Object.defineProperty(exports, "UIcon", { enumerable: true, get: function () { return icon_1.UIcon; } });
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const uzUZ = {
|
|
4
|
+
name: 'uz-UZ',
|
|
5
|
+
global: {
|
|
6
|
+
undo: 'Bekor qilish',
|
|
7
|
+
redo: 'Qaytadan bajarish',
|
|
8
|
+
confirm: 'Tasdiqlash',
|
|
9
|
+
clear: 'Tozalash'
|
|
10
|
+
},
|
|
11
|
+
Popconfirm: {
|
|
12
|
+
positiveText: 'Tasdiqlash',
|
|
13
|
+
negativeText: 'Bekor qilish'
|
|
14
|
+
},
|
|
15
|
+
Cascader: {
|
|
16
|
+
placeholder: 'Tanlang',
|
|
17
|
+
loading: 'Yuklanmoqda',
|
|
18
|
+
loadingRequiredMessage: (label) => `${label} ning barcha quyi elementlarini belgilashdan oldin ularni yuklang.`
|
|
19
|
+
},
|
|
20
|
+
Time: {
|
|
21
|
+
dateFormat: 'yyyy-MM-dd',
|
|
22
|
+
dateTimeFormat: 'yyyy-MM-dd HH:mm:ss'
|
|
23
|
+
},
|
|
24
|
+
DatePicker: {
|
|
25
|
+
yearFormat: 'yyyy',
|
|
26
|
+
monthFormat: 'MMM',
|
|
27
|
+
dayFormat: 'eeeeee',
|
|
28
|
+
yearTypeFormat: 'yyyy',
|
|
29
|
+
monthTypeFormat: 'yyyy-MM',
|
|
30
|
+
dateFormat: 'yyyy-MM-dd',
|
|
31
|
+
dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
|
|
32
|
+
quarterFormat: 'yyyy-qqq',
|
|
33
|
+
weekFormat: 'YYYY-w',
|
|
34
|
+
clear: 'Tozalash',
|
|
35
|
+
now: 'Hozir',
|
|
36
|
+
confirm: 'Tasdiqlash',
|
|
37
|
+
selectTime: 'Vaqtni tanlash',
|
|
38
|
+
selectDate: 'Sanani tanlash',
|
|
39
|
+
datePlaceholder: 'Sanani tanlang',
|
|
40
|
+
datetimePlaceholder: 'Sana va vaqtni tanlang',
|
|
41
|
+
monthPlaceholder: 'Oyni tanlang',
|
|
42
|
+
yearPlaceholder: 'Yilni tanlang',
|
|
43
|
+
quarterPlaceholder: 'Chorakni tanlang',
|
|
44
|
+
weekPlaceholder: 'Haftani tanlang',
|
|
45
|
+
startDatePlaceholder: 'Boshlanish sanasi',
|
|
46
|
+
endDatePlaceholder: 'Tugash sanasi',
|
|
47
|
+
startDatetimePlaceholder: 'Boshlanish sanasi va vaqti',
|
|
48
|
+
endDatetimePlaceholder: 'Tugash sanasi va vaqti',
|
|
49
|
+
startMonthPlaceholder: 'Boshlanish oyi',
|
|
50
|
+
endMonthPlaceholder: 'Tugash oyi',
|
|
51
|
+
monthBeforeYear: true,
|
|
52
|
+
firstDayOfWeek: 1,
|
|
53
|
+
today: 'Bugun'
|
|
54
|
+
},
|
|
55
|
+
DataTable: {
|
|
56
|
+
checkTableAll: 'Jadvaldagi barchasini tanlash',
|
|
57
|
+
uncheckTableAll: 'Jadvaldagi barcha tanlovni bekor qilish',
|
|
58
|
+
confirm: 'Tasdiqlash',
|
|
59
|
+
clear: 'Tozalash'
|
|
60
|
+
},
|
|
61
|
+
LegacyTransfer: {
|
|
62
|
+
sourceTitle: 'Manba',
|
|
63
|
+
targetTitle: 'Manzil'
|
|
64
|
+
},
|
|
65
|
+
Transfer: {
|
|
66
|
+
selectAll: 'Barchasini tanlash',
|
|
67
|
+
unselectAll: 'Barcha tanlovni bekor qilish',
|
|
68
|
+
clearAll: 'Tozalash',
|
|
69
|
+
total: (num) => `Jami ${num} ta`,
|
|
70
|
+
selected: (num) => `${num} ta tanlandi`
|
|
71
|
+
},
|
|
72
|
+
Empty: {
|
|
73
|
+
title: 'Hech narsa topilmadi',
|
|
74
|
+
description: 'Qidiruv soʻrovini oʻzgartirib koʻring'
|
|
75
|
+
},
|
|
76
|
+
Select: {
|
|
77
|
+
placeholder: 'Tanlang'
|
|
78
|
+
},
|
|
79
|
+
TimePicker: {
|
|
80
|
+
placeholder: 'Vaqtni tanlang',
|
|
81
|
+
positiveText: 'OK',
|
|
82
|
+
negativeText: 'Bekor qilish',
|
|
83
|
+
now: 'Hozir',
|
|
84
|
+
clear: 'Tozalash'
|
|
85
|
+
},
|
|
86
|
+
Pagination: {
|
|
87
|
+
goto: 'Oʻtish',
|
|
88
|
+
selectionSuffix: 'sahifa'
|
|
89
|
+
},
|
|
90
|
+
DynamicTags: {
|
|
91
|
+
add: 'Qoʻshish'
|
|
92
|
+
},
|
|
93
|
+
Log: {
|
|
94
|
+
loading: 'Yuklanmoqda'
|
|
95
|
+
},
|
|
96
|
+
Input: {
|
|
97
|
+
placeholder: 'Kiriting',
|
|
98
|
+
copied: 'Nusxalandi'
|
|
99
|
+
},
|
|
100
|
+
InputNumber: {
|
|
101
|
+
placeholder: 'Kiriting'
|
|
102
|
+
},
|
|
103
|
+
DynamicInput: {
|
|
104
|
+
create: 'Yaratish'
|
|
105
|
+
},
|
|
106
|
+
ThemeEditor: {
|
|
107
|
+
title: 'Mavzu muharriri',
|
|
108
|
+
clearAllVars: 'Barcha oʻzgaruvchilarni tozalash',
|
|
109
|
+
clearSearch: 'Qidiruvni tozalash',
|
|
110
|
+
filterCompName: 'Komponent nomi boʻyicha filtr',
|
|
111
|
+
filterVarName: 'Oʻzgaruvchi nomi boʻyicha filtr',
|
|
112
|
+
import: 'Import qilish',
|
|
113
|
+
export: 'Eksport qilish',
|
|
114
|
+
restore: 'Standart holatga qaytarish'
|
|
115
|
+
},
|
|
116
|
+
Image: {
|
|
117
|
+
tipPrevious: 'Oldingi rasm (←)',
|
|
118
|
+
tipNext: 'Keyingi rasm (→)',
|
|
119
|
+
tipCounterclockwise: 'Soat mili yoʻnalishiga teskari aylantirish',
|
|
120
|
+
tipClockwise: 'Soat mili yoʻnalishi boʻyicha aylantirish',
|
|
121
|
+
tipZoomOut: 'Kichraytirish',
|
|
122
|
+
tipZoomIn: 'Kattalashtirish',
|
|
123
|
+
tipDownload: 'Yuklab olish',
|
|
124
|
+
tipClose: 'Yopish (Esc)',
|
|
125
|
+
tipOriginalSize: 'Asl oʻlchamga qaytarish'
|
|
126
|
+
},
|
|
127
|
+
Upload: {
|
|
128
|
+
title: 'Faylni tanlang yoki shu yerga tashlang',
|
|
129
|
+
subtitle: 'PDF, PNG, JPEG, 100 MB dan oshmasin',
|
|
130
|
+
uploading: 'Yuklanmoqda'
|
|
131
|
+
},
|
|
132
|
+
Chat: {
|
|
133
|
+
inputPlaceholder: 'Xabar yozing...',
|
|
134
|
+
typingText: 'Yozmoqda...',
|
|
135
|
+
retryText: 'Qayta yuborish',
|
|
136
|
+
closeButtonText: 'Chatni yopish',
|
|
137
|
+
shareButtonTooltip: 'Chatni ulashish',
|
|
138
|
+
profileButtonTooltip: 'Profilni koʻrish',
|
|
139
|
+
unreadNotificationText: 'ta yangi xabar',
|
|
140
|
+
editText: 'Tahrirlash',
|
|
141
|
+
copyText: 'Nusxalash',
|
|
142
|
+
deleteText: 'Oʻchirish',
|
|
143
|
+
editingTitle: 'Tahrirlanmoqda'
|
|
144
|
+
},
|
|
145
|
+
MappingCard: {
|
|
146
|
+
copyTooltip: 'Nusxalash',
|
|
147
|
+
editTooltip: 'Tahrirlash',
|
|
148
|
+
deleteTooltip: 'Oʻchirish',
|
|
149
|
+
switchTooltip: 'Almashtirish'
|
|
150
|
+
},
|
|
151
|
+
Header: {
|
|
152
|
+
desktopSearchTitle: 'Qidiruv',
|
|
153
|
+
searchPlaceholder: 'Sayt boʻyicha qidirish',
|
|
154
|
+
primaryActionText: 'Mijoz boʻlish',
|
|
155
|
+
secondaryActionText: 'Ilovaga oʻtish'
|
|
156
|
+
},
|
|
157
|
+
Heatmap: {
|
|
158
|
+
less: 'kam',
|
|
159
|
+
more: 'koʻp',
|
|
160
|
+
monthFormat: 'MMM',
|
|
161
|
+
weekdayFormat: 'eeeeee'
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
exports.default = uzUZ;
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const zhCN = {
|
|
4
|
+
name: 'zh-CN',
|
|
5
|
+
global: {
|
|
6
|
+
undo: '撤销',
|
|
7
|
+
redo: '重做',
|
|
8
|
+
confirm: '确认',
|
|
9
|
+
clear: '清除'
|
|
10
|
+
},
|
|
11
|
+
Popconfirm: {
|
|
12
|
+
positiveText: '确认',
|
|
13
|
+
negativeText: '取消'
|
|
14
|
+
},
|
|
15
|
+
Cascader: {
|
|
16
|
+
placeholder: '请选择',
|
|
17
|
+
loading: '加载中',
|
|
18
|
+
loadingRequiredMessage: (label) => `加载全部 ${label} 的子节点后才可选中`
|
|
19
|
+
},
|
|
20
|
+
Time: {
|
|
21
|
+
dateFormat: 'yyyy-MM-dd',
|
|
22
|
+
dateTimeFormat: 'yyyy-MM-dd HH:mm:ss'
|
|
23
|
+
},
|
|
24
|
+
DatePicker: {
|
|
25
|
+
yearFormat: 'yyyy年',
|
|
26
|
+
monthFormat: 'MMM',
|
|
27
|
+
dayFormat: 'eeeeee',
|
|
28
|
+
yearTypeFormat: 'yyyy',
|
|
29
|
+
monthTypeFormat: 'yyyy-MM',
|
|
30
|
+
dateFormat: 'yyyy-MM-dd',
|
|
31
|
+
dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
|
|
32
|
+
quarterFormat: 'yyyy-qqq',
|
|
33
|
+
weekFormat: 'YYYY-w周',
|
|
34
|
+
clear: '清除',
|
|
35
|
+
now: '此刻',
|
|
36
|
+
confirm: '确认',
|
|
37
|
+
selectTime: '选择时间',
|
|
38
|
+
selectDate: '选择日期',
|
|
39
|
+
datePlaceholder: '选择日期',
|
|
40
|
+
datetimePlaceholder: '选择日期时间',
|
|
41
|
+
monthPlaceholder: '选择月份',
|
|
42
|
+
yearPlaceholder: '选择年份',
|
|
43
|
+
quarterPlaceholder: '选择季度',
|
|
44
|
+
weekPlaceholder: '选择周',
|
|
45
|
+
startDatePlaceholder: '开始日期',
|
|
46
|
+
endDatePlaceholder: '结束日期',
|
|
47
|
+
startDatetimePlaceholder: '开始日期时间',
|
|
48
|
+
endDatetimePlaceholder: '结束日期时间',
|
|
49
|
+
startMonthPlaceholder: '开始月份',
|
|
50
|
+
endMonthPlaceholder: '结束月份',
|
|
51
|
+
monthBeforeYear: false,
|
|
52
|
+
firstDayOfWeek: 0,
|
|
53
|
+
today: '今天'
|
|
54
|
+
},
|
|
55
|
+
DataTable: {
|
|
56
|
+
checkTableAll: '选择全部表格数据',
|
|
57
|
+
uncheckTableAll: '取消选择全部表格数据',
|
|
58
|
+
confirm: '确认',
|
|
59
|
+
clear: '重置'
|
|
60
|
+
},
|
|
61
|
+
LegacyTransfer: {
|
|
62
|
+
sourceTitle: '源项',
|
|
63
|
+
targetTitle: '目标项'
|
|
64
|
+
},
|
|
65
|
+
Transfer: {
|
|
66
|
+
selectAll: '全选',
|
|
67
|
+
unselectAll: '取消全选',
|
|
68
|
+
clearAll: '清除',
|
|
69
|
+
total: (num) => `共 ${num} 项`,
|
|
70
|
+
selected: (num) => `已选 ${num} 项`
|
|
71
|
+
},
|
|
72
|
+
Empty: {
|
|
73
|
+
title: '未找到匹配项',
|
|
74
|
+
description: '请尝试修改搜索条件'
|
|
75
|
+
},
|
|
76
|
+
Select: {
|
|
77
|
+
placeholder: '请选择'
|
|
78
|
+
},
|
|
79
|
+
TimePicker: {
|
|
80
|
+
placeholder: '请选择时间',
|
|
81
|
+
positiveText: '确认',
|
|
82
|
+
negativeText: '取消',
|
|
83
|
+
now: '此刻',
|
|
84
|
+
clear: '清除'
|
|
85
|
+
},
|
|
86
|
+
Pagination: {
|
|
87
|
+
goto: '跳至',
|
|
88
|
+
selectionSuffix: '页'
|
|
89
|
+
},
|
|
90
|
+
DynamicTags: {
|
|
91
|
+
add: '添加'
|
|
92
|
+
},
|
|
93
|
+
Log: {
|
|
94
|
+
loading: '加载中'
|
|
95
|
+
},
|
|
96
|
+
Input: {
|
|
97
|
+
placeholder: '请输入',
|
|
98
|
+
copied: '已复制'
|
|
99
|
+
},
|
|
100
|
+
InputNumber: {
|
|
101
|
+
placeholder: '请输入'
|
|
102
|
+
},
|
|
103
|
+
DynamicInput: {
|
|
104
|
+
create: '添加'
|
|
105
|
+
},
|
|
106
|
+
ThemeEditor: {
|
|
107
|
+
title: '主题编辑器',
|
|
108
|
+
clearAllVars: '清除全部变量',
|
|
109
|
+
clearSearch: '清除搜索',
|
|
110
|
+
filterCompName: '过滤组件名',
|
|
111
|
+
filterVarName: '过滤变量名',
|
|
112
|
+
import: '导入',
|
|
113
|
+
export: '导出',
|
|
114
|
+
restore: '恢复默认'
|
|
115
|
+
},
|
|
116
|
+
Image: {
|
|
117
|
+
tipPrevious: '上一张(←)',
|
|
118
|
+
tipNext: '下一张(→)',
|
|
119
|
+
tipCounterclockwise: '向左旋转',
|
|
120
|
+
tipClockwise: '向右旋转',
|
|
121
|
+
tipZoomOut: '缩小',
|
|
122
|
+
tipZoomIn: '放大',
|
|
123
|
+
tipDownload: '下载',
|
|
124
|
+
tipClose: '关闭(Esc)',
|
|
125
|
+
tipOriginalSize: '缩放到原始尺寸'
|
|
126
|
+
},
|
|
127
|
+
Upload: {
|
|
128
|
+
title: '选择文件或拖拽到此处',
|
|
129
|
+
subtitle: 'PDF、PNG、JPEG,不超过 100 MB',
|
|
130
|
+
uploading: '上传中'
|
|
131
|
+
},
|
|
132
|
+
Chat: {
|
|
133
|
+
inputPlaceholder: '输入消息...',
|
|
134
|
+
typingText: '正在输入...',
|
|
135
|
+
retryText: '重新发送',
|
|
136
|
+
closeButtonText: '关闭聊天',
|
|
137
|
+
shareButtonTooltip: '分享聊天',
|
|
138
|
+
profileButtonTooltip: '查看资料',
|
|
139
|
+
unreadNotificationText: '条新消息',
|
|
140
|
+
editText: '编辑',
|
|
141
|
+
copyText: '复制',
|
|
142
|
+
deleteText: '删除',
|
|
143
|
+
editingTitle: '编辑中'
|
|
144
|
+
},
|
|
145
|
+
MappingCard: {
|
|
146
|
+
copyTooltip: '复制',
|
|
147
|
+
editTooltip: '编辑',
|
|
148
|
+
deleteTooltip: '删除',
|
|
149
|
+
switchTooltip: '切换'
|
|
150
|
+
},
|
|
151
|
+
Header: {
|
|
152
|
+
desktopSearchTitle: '搜索',
|
|
153
|
+
searchPlaceholder: '站内搜索',
|
|
154
|
+
primaryActionText: '成为客户',
|
|
155
|
+
secondaryActionText: '前往应用'
|
|
156
|
+
},
|
|
157
|
+
Heatmap: {
|
|
158
|
+
less: '少',
|
|
159
|
+
more: '多',
|
|
160
|
+
monthFormat: 'MMM',
|
|
161
|
+
weekdayFormat: 'eeeeee'
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
exports.default = zhCN;
|
package/lib/locales/index.d.ts
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
export { default as enUS } from './common/enUS';
|
|
2
2
|
export type { ULocale } from './common/enUS';
|
|
3
3
|
export { default as ruRU } from './common/ruRU';
|
|
4
|
+
export { default as uzUZ } from './common/uzUZ';
|
|
5
|
+
export { default as zhCN } from './common/zhCN';
|
|
4
6
|
export { default as dateEnUS } from './date/enUS';
|
|
5
7
|
export type { UDateLocale } from './date/enUS';
|
|
6
8
|
export { default as dateRuRU } from './date/ruRU';
|
|
9
|
+
export { default as dateUzUZ } from './date/uzUZ';
|
|
10
|
+
export { default as dateZhCN } from './date/zhCN';
|
|
7
11
|
export type { UPartialLocale } from './utils/index';
|
|
8
12
|
export { createLocale } from './utils/index';
|
package/lib/locales/index.js
CHANGED
|
@@ -3,14 +3,22 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.createLocale = exports.dateRuRU = exports.dateEnUS = exports.ruRU = exports.enUS = void 0;
|
|
6
|
+
exports.createLocale = exports.dateZhCN = exports.dateUzUZ = exports.dateRuRU = exports.dateEnUS = exports.zhCN = exports.uzUZ = exports.ruRU = exports.enUS = void 0;
|
|
7
7
|
var enUS_1 = require("./common/enUS");
|
|
8
8
|
Object.defineProperty(exports, "enUS", { enumerable: true, get: function () { return __importDefault(enUS_1).default; } });
|
|
9
9
|
var ruRU_1 = require("./common/ruRU");
|
|
10
10
|
Object.defineProperty(exports, "ruRU", { enumerable: true, get: function () { return __importDefault(ruRU_1).default; } });
|
|
11
|
+
var uzUZ_1 = require("./common/uzUZ");
|
|
12
|
+
Object.defineProperty(exports, "uzUZ", { enumerable: true, get: function () { return __importDefault(uzUZ_1).default; } });
|
|
13
|
+
var zhCN_1 = require("./common/zhCN");
|
|
14
|
+
Object.defineProperty(exports, "zhCN", { enumerable: true, get: function () { return __importDefault(zhCN_1).default; } });
|
|
11
15
|
var enUS_2 = require("./date/enUS");
|
|
12
16
|
Object.defineProperty(exports, "dateEnUS", { enumerable: true, get: function () { return __importDefault(enUS_2).default; } });
|
|
13
17
|
var ruRU_2 = require("./date/ruRU");
|
|
14
18
|
Object.defineProperty(exports, "dateRuRU", { enumerable: true, get: function () { return __importDefault(ruRU_2).default; } });
|
|
19
|
+
var uzUZ_2 = require("./date/uzUZ");
|
|
20
|
+
Object.defineProperty(exports, "dateUzUZ", { enumerable: true, get: function () { return __importDefault(uzUZ_2).default; } });
|
|
21
|
+
var zhCN_2 = require("./date/zhCN");
|
|
22
|
+
Object.defineProperty(exports, "dateZhCN", { enumerable: true, get: function () { return __importDefault(zhCN_2).default; } });
|
|
15
23
|
var index_1 = require("./utils/index");
|
|
16
24
|
Object.defineProperty(exports, "createLocale", { enumerable: true, get: function () { return index_1.createLocale; } });
|
|
@@ -198,7 +198,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
198
198
|
`${mergedClsPrefix}-popover__footer`,
|
|
199
199
|
props.footerClass
|
|
200
200
|
], style: props.footerStyle }, children)) : null;
|
|
201
|
-
}))) : props.scrollable ? ((_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)) : ((0, vue_1.h)("div", { class:
|
|
201
|
+
}))) : props.scrollable ? ((_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)) : ((0, vue_1.h)("div", { class: [
|
|
202
|
+
`${mergedClsPrefix}-popover__content`,
|
|
203
|
+
props.contentClass
|
|
204
|
+
], style: props.contentStyle }, slots));
|
|
202
205
|
const maybeScrollableBody = props.scrollable ? ((0, vue_1.h)(scrollbar_1.UxScrollbar, { contentClass: hasHeaderOrFooter
|
|
203
206
|
? undefined
|
|
204
207
|
: `${mergedClsPrefix}-popover__content ${(_b = props.contentClass) !== null && _b !== void 0 ? _b : ''}`, contentStyle: hasHeaderOrFooter ? undefined : props.contentStyle }, {
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "2.1.
|
|
1
|
+
declare const _default: "2.1.3";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uzum-tech/ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"packageManager": "pnpm@10.33.0",
|
|
5
5
|
"description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast",
|
|
6
6
|
"author": {
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"@types/fs-extra": "11.0.4",
|
|
143
143
|
"@types/node": "24.0.12",
|
|
144
144
|
"@types/superagent": "8.1.9",
|
|
145
|
-
"@uzum-tech/icons": "1.2.
|
|
145
|
+
"@uzum-tech/icons": "1.2.2",
|
|
146
146
|
"@vicons/fluent": "0.13.0",
|
|
147
147
|
"@vicons/ionicons4": "0.13.0",
|
|
148
148
|
"@vicons/ionicons5": "0.13.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": "2.1.
|
|
5
|
+
"version": "2.1.3",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -2348,6 +2348,16 @@
|
|
|
2348
2348
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/chat",
|
|
2349
2349
|
"description": "Action buttons in main chat header."
|
|
2350
2350
|
},
|
|
2351
|
+
{
|
|
2352
|
+
"name": "chatItemStatus",
|
|
2353
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/chat",
|
|
2354
|
+
"description": "Custom status display for a chat list item (shown only when the last message is own)."
|
|
2355
|
+
},
|
|
2356
|
+
{
|
|
2357
|
+
"name": "chatItemSuffix",
|
|
2358
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/chat",
|
|
2359
|
+
"description": "Custom content for the entire right side (suffix) of a chat list item — replaces both the time and the status."
|
|
2360
|
+
},
|
|
2351
2361
|
{
|
|
2352
2362
|
"name": "messageAttachment",
|
|
2353
2363
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/chat",
|