@uzum-tech/ui 1.5.2 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/index.js +1147 -628
- package/dist/index.prod.js +3 -3
- package/es/_internal/checkbox/src/use-checkbox.js +3 -3
- package/es/_internal/radio/src/use-radio.js +3 -3
- package/es/_mixins/use-form-item.d.ts +4 -4
- package/es/_mixins/use-form-item.js +4 -4
- package/es/_styles/common/dark.js +1 -1
- package/es/_styles/common/light.d.ts +3 -0
- package/es/_styles/common/light.js +1 -1
- package/es/_utils/composable/composables.d.ts +11 -0
- package/es/_utils/composable/composables.js +40 -0
- package/es/_utils/index.d.ts +1 -1
- package/es/_utils/index.js +1 -1
- package/es/_utils/uzum/index.d.ts +1 -0
- package/es/_utils/uzum/index.js +1 -0
- package/es/_utils/uzum/value.d.ts +1 -0
- package/es/_utils/uzum/value.js +9 -0
- package/es/_utils/vue/resolve-slot.d.ts +1 -1
- package/es/alert/styles/light.js +6 -6
- package/es/auto-complete/src/AutoComplete.js +10 -10
- package/es/avatar/src/Avatar.d.ts +6 -0
- package/es/avatar/src/Avatar.js +9 -3
- package/es/card-list/src/CardList.js +1 -1
- package/es/card-list/src/CardListItem.d.ts +13 -0
- package/es/card-list/src/CardListItem.js +11 -4
- package/es/card-list/src/interface.d.ts +1 -0
- package/es/card-list/src/styles/index.cssr.js +6 -6
- package/es/card-list/styles/light.js +2 -2
- package/es/cascader/src/Cascader.js +7 -7
- package/es/checkbox/src/CheckboxGroup.js +9 -9
- package/es/collapse/src/Collapse.d.ts +47 -14
- package/es/collapse/src/Collapse.js +6 -3
- package/es/collapse/src/CollapseItem.js +3 -2
- package/es/collapse/src/styles/index.cssr.js +27 -7
- package/es/collapse/styles/light.d.ts +4 -1
- package/es/collapse/styles/light.js +6 -3
- package/es/color-picker/src/ColorPicker.js +6 -6
- package/es/components.d.ts +1 -0
- package/es/components.js +1 -0
- package/es/config-provider/src/internal-interface.d.ts +2 -0
- package/es/data-table/src/DataTable.d.ts +7 -0
- package/es/data-table/src/DataTable.js +21 -10
- package/es/data-table/src/TableParts/Body.d.ts +1 -0
- package/es/data-table/src/TableParts/Body.js +8 -6
- package/es/data-table/src/TableParts/Cell.js +85 -23
- package/es/data-table/src/interface.d.ts +14 -6
- package/es/data-table/src/interface.js +1 -1
- package/es/data-table/src/styles/index.cssr.js +5 -3
- package/es/data-table/src/use-mask.d.ts +3 -6
- package/es/data-table/src/utils.d.ts +2 -1
- package/es/data-table/src/utils.js +13 -0
- package/es/date-picker/src/DatePicker.js +7 -7
- package/es/dialog/src/DialogProvider.d.ts +6 -0
- package/es/dynamic-tags/src/DynamicTags.d.ts +10 -0
- package/es/dynamic-tags/src/DynamicTags.js +3 -3
- package/es/dynamic-tags/styles/light.d.ts +1 -0
- package/es/input/src/Input.js +8 -8
- package/es/input-number/src/InputNumber.js +7 -7
- package/es/input-otp/index.d.ts +3 -0
- package/es/input-otp/index.js +1 -0
- package/es/input-otp/src/InputOtp.d.ts +871 -0
- package/es/input-otp/src/InputOtp.js +250 -0
- package/es/input-otp/src/public-types.d.ts +25 -0
- package/es/input-otp/src/public-types.js +1 -0
- package/es/input-otp/src/styles/index.cssr.d.ts +2 -0
- package/es/input-otp/src/styles/index.cssr.js +20 -0
- package/es/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
- package/es/input-otp/src/styles/input-otp-rtl.cssr.js +5 -0
- package/es/input-otp/styles/dark.d.ts +3 -0
- package/es/input-otp/styles/dark.js +12 -0
- package/es/input-otp/styles/index.d.ts +4 -0
- package/es/input-otp/styles/index.js +3 -0
- package/es/input-otp/styles/light.d.ts +83 -0
- package/es/input-otp/styles/light.js +22 -0
- package/es/input-otp/styles/rtl.d.ts +2 -0
- package/es/input-otp/styles/rtl.js +5 -0
- package/es/legacy-transfer/src/Transfer.js +3 -3
- package/es/list/src/ListItem.js +8 -4
- package/es/mention/src/Mention.js +7 -7
- package/es/radio/src/RadioGroup.js +5 -5
- package/es/rate/src/Rate.js +3 -3
- package/es/select/src/Select.js +7 -7
- package/es/slider/src/Slider.js +3 -3
- package/es/styles.d.ts +1 -0
- package/es/styles.js +1 -0
- package/es/switch/src/Switch.js +7 -7
- package/es/tag/src/Tag.d.ts +27 -13
- package/es/tag/src/Tag.js +7 -2
- package/es/tag/src/styles/index.cssr.js +13 -3
- package/es/tag/styles/light.d.ts +1 -0
- package/es/tag/styles/light.js +7 -6
- package/es/theme-editor/src/ThemeEditor.d.ts +3 -0
- package/es/themes/dark.js +2 -0
- package/es/themes/light.js +2 -0
- package/es/time-picker/src/TimePicker.js +7 -7
- package/es/transfer/src/Transfer.js +3 -3
- package/es/tree-select/src/TreeSelect.js +5 -5
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/checkbox/src/use-checkbox.js +3 -3
- package/lib/_internal/radio/src/use-radio.js +3 -3
- package/lib/_mixins/use-form-item.d.ts +4 -4
- package/lib/_mixins/use-form-item.js +4 -4
- package/lib/_styles/common/dark.js +1 -1
- package/lib/_styles/common/light.d.ts +3 -0
- package/lib/_styles/common/light.js +1 -1
- package/lib/_utils/composable/composables.d.ts +11 -0
- package/lib/_utils/composable/composables.js +47 -0
- package/lib/_utils/index.d.ts +1 -1
- package/lib/_utils/index.js +2 -1
- package/lib/_utils/uzum/index.d.ts +1 -0
- package/lib/_utils/uzum/index.js +3 -1
- package/lib/_utils/uzum/value.d.ts +1 -0
- package/lib/_utils/uzum/value.js +12 -0
- package/lib/_utils/vue/resolve-slot.d.ts +1 -1
- package/lib/alert/styles/light.js +6 -6
- package/lib/auto-complete/src/AutoComplete.js +10 -10
- package/lib/avatar/src/Avatar.d.ts +6 -0
- package/lib/avatar/src/Avatar.js +9 -3
- package/lib/card-list/src/CardList.js +1 -1
- package/lib/card-list/src/CardListItem.d.ts +13 -0
- package/lib/card-list/src/CardListItem.js +11 -4
- package/lib/card-list/src/interface.d.ts +1 -0
- package/lib/card-list/src/styles/index.cssr.js +5 -5
- package/lib/card-list/styles/light.js +2 -2
- package/lib/cascader/src/Cascader.js +7 -7
- package/lib/checkbox/src/CheckboxGroup.js +9 -9
- package/lib/collapse/src/Collapse.d.ts +47 -14
- package/lib/collapse/src/Collapse.js +6 -3
- package/lib/collapse/src/CollapseItem.js +3 -2
- package/lib/collapse/src/styles/index.cssr.js +27 -7
- package/lib/collapse/styles/light.d.ts +4 -1
- package/lib/collapse/styles/light.js +6 -3
- package/lib/color-picker/src/ColorPicker.js +6 -6
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/config-provider/src/internal-interface.d.ts +2 -0
- package/lib/data-table/src/DataTable.d.ts +7 -0
- package/lib/data-table/src/DataTable.js +21 -10
- package/lib/data-table/src/TableParts/Body.d.ts +1 -0
- package/lib/data-table/src/TableParts/Body.js +8 -6
- package/lib/data-table/src/TableParts/Cell.js +84 -22
- package/lib/data-table/src/interface.d.ts +14 -6
- package/lib/data-table/src/interface.js +1 -1
- package/lib/data-table/src/styles/index.cssr.js +5 -3
- package/lib/data-table/src/use-mask.d.ts +3 -6
- package/lib/data-table/src/utils.d.ts +2 -1
- package/lib/data-table/src/utils.js +14 -1
- package/lib/date-picker/src/DatePicker.js +7 -7
- package/lib/dialog/src/DialogProvider.d.ts +6 -0
- package/lib/dynamic-tags/src/DynamicTags.d.ts +10 -0
- package/lib/dynamic-tags/src/DynamicTags.js +3 -3
- package/lib/dynamic-tags/styles/light.d.ts +1 -0
- package/lib/input/src/Input.js +8 -8
- package/lib/input-number/src/InputNumber.js +7 -7
- package/lib/input-otp/index.d.ts +3 -0
- package/lib/input-otp/index.js +9 -0
- package/lib/input-otp/src/InputOtp.d.ts +871 -0
- package/lib/input-otp/src/InputOtp.js +256 -0
- package/lib/input-otp/src/public-types.d.ts +25 -0
- package/lib/input-otp/src/public-types.js +2 -0
- package/lib/input-otp/src/styles/index.cssr.d.ts +2 -0
- package/lib/input-otp/src/styles/index.cssr.js +25 -0
- package/lib/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
- package/lib/input-otp/src/styles/input-otp-rtl.cssr.js +10 -0
- package/lib/input-otp/styles/dark.d.ts +3 -0
- package/lib/input-otp/styles/dark.js +14 -0
- package/lib/input-otp/styles/index.d.ts +4 -0
- package/lib/input-otp/styles/index.js +12 -0
- package/lib/input-otp/styles/light.d.ts +83 -0
- package/lib/input-otp/styles/light.js +25 -0
- package/lib/input-otp/styles/rtl.d.ts +2 -0
- package/lib/input-otp/styles/rtl.js +11 -0
- package/lib/legacy-transfer/src/Transfer.js +3 -3
- package/lib/list/src/ListItem.js +8 -4
- package/lib/mention/src/Mention.js +7 -7
- package/lib/radio/src/RadioGroup.js +5 -5
- package/lib/rate/src/Rate.js +3 -3
- package/lib/select/src/Select.js +7 -7
- package/lib/slider/src/Slider.js +3 -3
- package/lib/styles.d.ts +1 -0
- package/lib/styles.js +106 -103
- package/lib/switch/src/Switch.js +7 -7
- package/lib/tag/src/Tag.d.ts +27 -13
- package/lib/tag/src/Tag.js +7 -2
- package/lib/tag/src/styles/index.cssr.js +13 -3
- package/lib/tag/styles/light.d.ts +1 -0
- package/lib/tag/styles/light.js +7 -6
- package/lib/theme-editor/src/ThemeEditor.d.ts +3 -0
- package/lib/themes/dark.js +2 -0
- package/lib/themes/light.js +2 -0
- package/lib/time-picker/src/TimePicker.js +7 -7
- package/lib/transfer/src/Transfer.js +3 -3
- package/lib/tree-select/src/TreeSelect.js +5 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/volar.d.ts +1 -0
- package/web-types.json +131 -4
package/lib/tag/styles/light.js
CHANGED
|
@@ -15,14 +15,14 @@ const self = (vars) => {
|
|
|
15
15
|
closeSizeSmall: '14px',
|
|
16
16
|
closeSizeMedium: '16px',
|
|
17
17
|
closeSizeLarge: '18px',
|
|
18
|
-
paddingTiny: '2px 6px
|
|
19
|
-
paddingSmall: '2px 6px
|
|
20
|
-
paddingMedium: '2px 6px
|
|
21
|
-
paddingLarge: '
|
|
18
|
+
paddingTiny: '2px 6px',
|
|
19
|
+
paddingSmall: '2px 6px',
|
|
20
|
+
paddingMedium: '2px 6px',
|
|
21
|
+
paddingLarge: '6px 8px',
|
|
22
22
|
closeMargin: '0 0 0 4px',
|
|
23
23
|
closeMarginRtl: '0 4px 0 0',
|
|
24
24
|
closeBorderRadius: borderRadius,
|
|
25
|
-
heightTiny: '
|
|
25
|
+
heightTiny: '20px',
|
|
26
26
|
heightSmall: '20px',
|
|
27
27
|
heightMedium: '24px',
|
|
28
28
|
heightLarge: '32px',
|
|
@@ -39,7 +39,8 @@ const self = (vars) => {
|
|
|
39
39
|
textColorHoverCheckable: textPrimary,
|
|
40
40
|
textColorPressedCheckable: textPrimary,
|
|
41
41
|
textColorChecked: textQuaternary,
|
|
42
|
-
colorCheckable:
|
|
42
|
+
colorCheckable: elementsQuaternary,
|
|
43
|
+
colorCheckableOutline: elementsSecondary,
|
|
43
44
|
colorHoverCheckable: elementsQuaternary,
|
|
44
45
|
colorPressedCheckable: elementsQuaternary,
|
|
45
46
|
colorChecked: elementsPrimary,
|
|
@@ -17,6 +17,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
17
17
|
scrollbarHeight: string;
|
|
18
18
|
scrollbarBorderRadius: string;
|
|
19
19
|
opacityDisabled: string;
|
|
20
|
+
brand150: string;
|
|
21
|
+
brand350: string;
|
|
22
|
+
brand550: string;
|
|
20
23
|
brandPrimary50: string;
|
|
21
24
|
brandPrimary100: string;
|
|
22
25
|
brandPrimary200: string;
|
package/lib/themes/dark.js
CHANGED
|
@@ -89,6 +89,7 @@ const styles_84 = require("../toggle-button/styles");
|
|
|
89
89
|
const styles_85 = require("../_internal/account-option/styles");
|
|
90
90
|
const styles_86 = require("../flex/styles");
|
|
91
91
|
const styles_87 = require("../action-card/styles");
|
|
92
|
+
const styles_88 = require("../styles");
|
|
92
93
|
exports.darkTheme = {
|
|
93
94
|
name: 'dark',
|
|
94
95
|
common: common_1.commonDark,
|
|
@@ -133,6 +134,7 @@ exports.darkTheme = {
|
|
|
133
134
|
IconWrapper: styles_37.iconWrapperDark,
|
|
134
135
|
Image: styles_38.imageDark,
|
|
135
136
|
Input: styles_39.inputDark,
|
|
137
|
+
InputOtp: styles_88.inputOtpDark,
|
|
136
138
|
InputNumber: styles_40.inputNumberDark,
|
|
137
139
|
LegacyTransfer: styles_42.legacyTransferDark,
|
|
138
140
|
Layout: styles_41.layoutDark,
|
package/lib/themes/light.js
CHANGED
|
@@ -91,6 +91,7 @@ const styles_84 = require("../toggle-button/styles");
|
|
|
91
91
|
const styles_85 = require("../_internal/account-option/styles");
|
|
92
92
|
const styles_86 = require("../flex/styles");
|
|
93
93
|
const styles_87 = require("../action-card/styles");
|
|
94
|
+
const styles_88 = require("../input-otp/styles");
|
|
94
95
|
exports.lightTheme = {
|
|
95
96
|
name: 'light',
|
|
96
97
|
common: common_1.commonLight,
|
|
@@ -135,6 +136,7 @@ exports.lightTheme = {
|
|
|
135
136
|
IconWrapper: styles_37.iconWrapperLight,
|
|
136
137
|
Image: styles_38.imageLight,
|
|
137
138
|
Input: styles_39.inputLight,
|
|
139
|
+
InputOtp: styles_88.inputOtpLight,
|
|
138
140
|
InputNumber: styles_40.inputNumberLight,
|
|
139
141
|
Layout: styles_41.layoutLight,
|
|
140
142
|
LegacyTransfer: styles_42.legacyTransferLight,
|
|
@@ -253,7 +253,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
253
253
|
}
|
|
254
254
|
function doUpdateValue(value) {
|
|
255
255
|
const { onUpdateValue, 'onUpdate:value': _onUpdateValue, onChange } = props;
|
|
256
|
-
const {
|
|
256
|
+
const { triggerFormChange, triggerFormInput } = formItem;
|
|
257
257
|
const formattedValue = createFormattedValue(value);
|
|
258
258
|
if (onUpdateValue) {
|
|
259
259
|
(0, _utils_1.call)(onUpdateValue, value, formattedValue);
|
|
@@ -265,22 +265,22 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
265
265
|
(0, _utils_1.call)(onChange, value, formattedValue);
|
|
266
266
|
doUpdateFormattedValue(formattedValue, value);
|
|
267
267
|
uncontrolledValueRef.value = value;
|
|
268
|
-
|
|
269
|
-
|
|
268
|
+
triggerFormChange();
|
|
269
|
+
triggerFormInput();
|
|
270
270
|
}
|
|
271
271
|
function doFocus(e) {
|
|
272
272
|
const { onFocus } = props;
|
|
273
|
-
const {
|
|
273
|
+
const { triggerFormFocus } = formItem;
|
|
274
274
|
if (onFocus)
|
|
275
275
|
(0, _utils_1.call)(onFocus, e);
|
|
276
|
-
|
|
276
|
+
triggerFormFocus();
|
|
277
277
|
}
|
|
278
278
|
function doBlur(e) {
|
|
279
279
|
const { onBlur } = props;
|
|
280
|
-
const {
|
|
280
|
+
const { triggerFormBlur } = formItem;
|
|
281
281
|
if (onBlur)
|
|
282
282
|
(0, _utils_1.call)(onBlur, e);
|
|
283
|
-
|
|
283
|
+
triggerFormBlur();
|
|
284
284
|
}
|
|
285
285
|
function doConfirm() {
|
|
286
286
|
const { onConfirm } = props;
|
|
@@ -69,7 +69,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
69
69
|
const { uncontrolledValueRef, mergedValueRef, targetValueSetRef, valueSetForCheckAllRef, valueSetForUncheckAllRef, valueSetForClearRef, filteredTgtOptionsRef, filteredSrcOptionsRef, targetOptionsRef, canNotSelectAnythingRef, canBeClearedRef, allCheckedRef, srcPatternRef, tgtPatternRef, mergedSrcFilterableRef, handleSrcFilterUpdateValue, handleTgtFilterUpdateValue } = (0, use_transfer_data_1.useTransferData)(props);
|
|
70
70
|
function doUpdateValue(value) {
|
|
71
71
|
const { onUpdateValue, 'onUpdate:value': _onUpdateValue, onChange } = props;
|
|
72
|
-
const {
|
|
72
|
+
const { triggerFormInput, triggerFormChange } = formItem;
|
|
73
73
|
if (onUpdateValue)
|
|
74
74
|
(0, _utils_1.call)(onUpdateValue, value);
|
|
75
75
|
if (_onUpdateValue)
|
|
@@ -77,8 +77,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
77
77
|
if (onChange)
|
|
78
78
|
(0, _utils_1.call)(onChange, value);
|
|
79
79
|
uncontrolledValueRef.value = value;
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
triggerFormInput();
|
|
81
|
+
triggerFormChange();
|
|
82
82
|
}
|
|
83
83
|
function handleSourceCheckAll() {
|
|
84
84
|
doUpdateValue([...valueSetForCheckAllRef.value]);
|
|
@@ -76,7 +76,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
76
76
|
const menuElRef = (0, vue_1.ref)(null);
|
|
77
77
|
const { mergedClsPrefixRef, namespaceRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
|
|
78
78
|
const { localeRef } = (0, _mixins_1.useLocale)('Select');
|
|
79
|
-
const { mergedSizeRef, mergedDisabledRef, mergedStatusRef,
|
|
79
|
+
const { mergedSizeRef, mergedDisabledRef, mergedStatusRef, triggerFormBlur, triggerFormChange, triggerFormFocus, triggerFormInput } = (0, _mixins_1.useFormItem)(props);
|
|
80
80
|
const uncontrolledValueRef = (0, vue_1.ref)(props.defaultValue);
|
|
81
81
|
const controlledValueRef = (0, vue_1.toRef)(props, 'value');
|
|
82
82
|
const mergedValueRef = (0, vooks_1.useMergedState)(controlledValueRef, uncontrolledValueRef);
|
|
@@ -213,8 +213,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
213
213
|
(0, _utils_1.call)(_onUpdateValue, value, option, meta);
|
|
214
214
|
}
|
|
215
215
|
uncontrolledValueRef.value = value;
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
triggerFormInput();
|
|
217
|
+
triggerFormChange();
|
|
218
218
|
}
|
|
219
219
|
function doUpdateIndeterminateKeys(value, option) {
|
|
220
220
|
const { onUpdateIndeterminateKeys, 'onUpdate:indeterminateKeys': _onUpdateIndeterminateKeys } = props;
|
|
@@ -239,14 +239,14 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
239
239
|
const { onFocus } = props;
|
|
240
240
|
if (onFocus)
|
|
241
241
|
onFocus(e);
|
|
242
|
-
|
|
242
|
+
triggerFormFocus();
|
|
243
243
|
}
|
|
244
244
|
function doBlur(e) {
|
|
245
245
|
closeMenu();
|
|
246
246
|
const { onBlur } = props;
|
|
247
247
|
if (onBlur)
|
|
248
248
|
onBlur(e);
|
|
249
|
-
|
|
249
|
+
triggerFormBlur();
|
|
250
250
|
}
|
|
251
251
|
function closeMenu() {
|
|
252
252
|
doUpdateShow(false);
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.5.
|
|
1
|
+
declare const _default: "1.5.4";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
package/volar.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ declare module 'vue' {
|
|
|
75
75
|
UInputGroup: typeof import('@uzum-tech/ui')['UInputGroup']
|
|
76
76
|
UInputGroupLabel: typeof import('@uzum-tech/ui')['UInputGroupLabel']
|
|
77
77
|
UInputNumber: typeof import('@uzum-tech/ui')['UInputNumber']
|
|
78
|
+
UInputOtp: typeof import('@uzum-tech/ui')['UInputOtp']
|
|
78
79
|
ULayout: typeof import('@uzum-tech/ui')['ULayout']
|
|
79
80
|
ULayoutContent: typeof import('@uzum-tech/ui')['ULayoutContent']
|
|
80
81
|
ULayoutFooter: typeof import('@uzum-tech/ui')['ULayoutFooter']
|
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.5.
|
|
5
|
+
"version": "1.5.4",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -708,6 +708,16 @@
|
|
|
708
708
|
"description": "Convenient way to show skeleton loader on the avatar.",
|
|
709
709
|
"default": "false"
|
|
710
710
|
},
|
|
711
|
+
{
|
|
712
|
+
"name": "icon-color",
|
|
713
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/avatar",
|
|
714
|
+
"type": "string"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"name": "icon-size",
|
|
718
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/avatar",
|
|
719
|
+
"type": "string | number"
|
|
720
|
+
},
|
|
711
721
|
{
|
|
712
722
|
"name": "color",
|
|
713
723
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/avatar",
|
|
@@ -3617,6 +3627,13 @@
|
|
|
3617
3627
|
"description-sections": {
|
|
3618
3628
|
"since": "2.34.0"
|
|
3619
3629
|
}
|
|
3630
|
+
},
|
|
3631
|
+
{
|
|
3632
|
+
"name": "empty-props",
|
|
3633
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/data-table",
|
|
3634
|
+
"type": "Partial<EmptyProps>",
|
|
3635
|
+
"description": "Props passed to the Empty component when data is empty.",
|
|
3636
|
+
"default": "undefined"
|
|
3620
3637
|
}
|
|
3621
3638
|
],
|
|
3622
3639
|
"js": {
|
|
@@ -5664,6 +5681,7 @@
|
|
|
5664
5681
|
},
|
|
5665
5682
|
{
|
|
5666
5683
|
"name": "UPerformantEllipsis",
|
|
5684
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/ellipsis",
|
|
5667
5685
|
"source": {
|
|
5668
5686
|
"symbol": "UPerformantEllipsis"
|
|
5669
5687
|
},
|
|
@@ -5672,14 +5690,17 @@
|
|
|
5672
5690
|
"props": [
|
|
5673
5691
|
{
|
|
5674
5692
|
"name": "expand-trigger",
|
|
5693
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/ellipsis",
|
|
5675
5694
|
"type": "string"
|
|
5676
5695
|
},
|
|
5677
5696
|
{
|
|
5678
5697
|
"name": "line-clamp",
|
|
5698
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/ellipsis",
|
|
5679
5699
|
"type": "number | string"
|
|
5680
5700
|
},
|
|
5681
5701
|
{
|
|
5682
5702
|
"name": "tooltip",
|
|
5703
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/ellipsis",
|
|
5683
5704
|
"type": "boolean | object"
|
|
5684
5705
|
}
|
|
5685
5706
|
],
|
|
@@ -7973,6 +7994,101 @@
|
|
|
7973
7994
|
]
|
|
7974
7995
|
}
|
|
7975
7996
|
},
|
|
7997
|
+
{
|
|
7998
|
+
"name": "UInputOtp",
|
|
7999
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
8000
|
+
"source": {
|
|
8001
|
+
"symbol": "UInputOtp"
|
|
8002
|
+
},
|
|
8003
|
+
"slots": [],
|
|
8004
|
+
"attributes": [],
|
|
8005
|
+
"props": [
|
|
8006
|
+
{
|
|
8007
|
+
"name": "default-value",
|
|
8008
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
8009
|
+
"type": "Array"
|
|
8010
|
+
},
|
|
8011
|
+
{
|
|
8012
|
+
"name": "value",
|
|
8013
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
8014
|
+
"type": "Array"
|
|
8015
|
+
},
|
|
8016
|
+
{
|
|
8017
|
+
"name": "length",
|
|
8018
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
8019
|
+
"type": "number"
|
|
8020
|
+
},
|
|
8021
|
+
{
|
|
8022
|
+
"name": "block",
|
|
8023
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
8024
|
+
"type": "boolean"
|
|
8025
|
+
},
|
|
8026
|
+
{
|
|
8027
|
+
"name": "size",
|
|
8028
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
8029
|
+
"type": "string"
|
|
8030
|
+
},
|
|
8031
|
+
{
|
|
8032
|
+
"name": "disabled",
|
|
8033
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
8034
|
+
"type": "boolean"
|
|
8035
|
+
},
|
|
8036
|
+
{
|
|
8037
|
+
"name": "mask",
|
|
8038
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
8039
|
+
"type": "boolean"
|
|
8040
|
+
},
|
|
8041
|
+
{
|
|
8042
|
+
"name": "readonly",
|
|
8043
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
8044
|
+
"type": "boolean"
|
|
8045
|
+
},
|
|
8046
|
+
{
|
|
8047
|
+
"name": "status",
|
|
8048
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
8049
|
+
"type": "string"
|
|
8050
|
+
},
|
|
8051
|
+
{
|
|
8052
|
+
"name": "gap",
|
|
8053
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
8054
|
+
"type": "string | number"
|
|
8055
|
+
},
|
|
8056
|
+
{
|
|
8057
|
+
"name": "placeholder",
|
|
8058
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
8059
|
+
"type": "string"
|
|
8060
|
+
},
|
|
8061
|
+
{
|
|
8062
|
+
"name": "allow-input",
|
|
8063
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
|
|
8064
|
+
"type": "Function"
|
|
8065
|
+
}
|
|
8066
|
+
],
|
|
8067
|
+
"js": {
|
|
8068
|
+
"events": [
|
|
8069
|
+
{
|
|
8070
|
+
"name": "blur",
|
|
8071
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp"
|
|
8072
|
+
},
|
|
8073
|
+
{
|
|
8074
|
+
"name": "focus",
|
|
8075
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp"
|
|
8076
|
+
},
|
|
8077
|
+
{
|
|
8078
|
+
"name": "update-value",
|
|
8079
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp"
|
|
8080
|
+
},
|
|
8081
|
+
{
|
|
8082
|
+
"name": "update-value",
|
|
8083
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp"
|
|
8084
|
+
},
|
|
8085
|
+
{
|
|
8086
|
+
"name": "finish",
|
|
8087
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp"
|
|
8088
|
+
}
|
|
8089
|
+
]
|
|
8090
|
+
}
|
|
8091
|
+
},
|
|
7976
8092
|
{
|
|
7977
8093
|
"name": "ULayout",
|
|
7978
8094
|
"description": "<!--single-column-->\n\nLayout is for layout.\n\nThe component is a bit complicated to use. But like a manual gear car, it worths a shot.\n\nIf you are use version before v2.3.0, you may want to know about <u-text tag=\"a\" href=\"#Changes-After-v2.3.0\">Changes After v2.3.0</u-text>.",
|
|
@@ -13571,6 +13687,11 @@
|
|
|
13571
13687
|
"description": "Whether the tag is checkable. Note: this nullifies the type property.",
|
|
13572
13688
|
"default": "false"
|
|
13573
13689
|
},
|
|
13690
|
+
{
|
|
13691
|
+
"name": "outline",
|
|
13692
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/tag",
|
|
13693
|
+
"type": "boolean"
|
|
13694
|
+
},
|
|
13574
13695
|
{
|
|
13575
13696
|
"name": "strong",
|
|
13576
13697
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/tag",
|
|
@@ -16109,12 +16230,16 @@
|
|
|
16109
16230
|
{
|
|
16110
16231
|
"name": "vertical",
|
|
16111
16232
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/upload",
|
|
16112
|
-
"type": "boolean"
|
|
16233
|
+
"type": "boolean",
|
|
16234
|
+
"description": "If `true`, displays content in a vertical layout instead of horizontal.",
|
|
16235
|
+
"default": "false"
|
|
16113
16236
|
},
|
|
16114
16237
|
{
|
|
16115
16238
|
"name": "icon",
|
|
16116
16239
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/upload",
|
|
16117
|
-
"type": "
|
|
16240
|
+
"type": "VNodeChild | undefined",
|
|
16241
|
+
"description": "A custom icon component to display in the uploader.",
|
|
16242
|
+
"default": "undefined"
|
|
16118
16243
|
},
|
|
16119
16244
|
{
|
|
16120
16245
|
"name": "is-error-state",
|
|
@@ -16302,7 +16427,9 @@
|
|
|
16302
16427
|
{
|
|
16303
16428
|
"name": "no-icon",
|
|
16304
16429
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/upload",
|
|
16305
|
-
"type": "boolean"
|
|
16430
|
+
"type": "boolean",
|
|
16431
|
+
"description": "If `true`, no icon will be shown, even if an `icon` is provided.",
|
|
16432
|
+
"default": "false"
|
|
16306
16433
|
},
|
|
16307
16434
|
{
|
|
16308
16435
|
"name": "<span style=\"color:red; text-decoration: line-through;\">render-icon</span>",
|