@uzum-tech/ui 1.9.1 → 1.10.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.
- package/dist/index.js +5316 -804
- package/dist/index.prod.js +12 -3
- package/es/_internal/scrollbar/src/Scrollbar.js +19 -38
- package/es/auto-complete/src/AutoComplete.d.ts +1 -1
- package/es/cascader/src/Cascader.d.ts +1 -1
- package/es/chat/src/ChatListItems.js +16 -1
- package/es/chat/src/ChatParts/MainArea.js +31 -21
- package/es/components.d.ts +2 -0
- package/es/components.js +2 -0
- package/es/config-provider/src/internal-interface.d.ts +4 -0
- package/es/crop/index.d.ts +3 -0
- package/es/crop/index.js +1 -0
- package/es/crop/src/Crop.d.ts +222 -0
- package/es/crop/src/Crop.js +157 -0
- package/es/crop/src/interface.d.ts +6 -0
- package/es/crop/src/interface.js +7 -0
- package/es/crop/src/styles/index.cssr.d.ts +2 -0
- package/es/crop/src/styles/index.cssr.js +333 -0
- package/es/crop/styles/_common.d.ts +4 -0
- package/es/crop/styles/_common.js +3 -0
- package/es/crop/styles/dark.d.ts +3 -0
- package/es/crop/styles/dark.js +9 -0
- package/es/crop/styles/index.d.ts +3 -0
- package/es/crop/styles/index.js +2 -0
- package/es/crop/styles/light.d.ts +14 -0
- package/es/crop/styles/light.js +14 -0
- package/es/date-picker/src/panel/panelMonth.d.ts +1 -1
- package/es/date-picker/src/panel/panelYear.d.ts +1 -1
- package/es/dynamic-tags/src/DynamicTags.d.ts +30 -0
- package/es/dynamic-tags/styles/light.d.ts +3 -0
- package/es/infinite-scroll/src/InfiniteScroll.d.ts +16 -0
- package/es/infinite-scroll/src/InfiniteScroll.js +45 -12
- package/es/input/src/Input.d.ts +1 -1
- package/es/input-number/src/InputNumber.d.ts +1 -1
- package/es/legacy-transfer/src/Transfer.d.ts +1 -1
- package/es/modal-fullscreen/index.d.ts +2 -0
- package/es/modal-fullscreen/index.js +1 -0
- package/es/modal-fullscreen/src/ModalFull.d.ts +953 -0
- package/es/modal-fullscreen/src/ModalFull.js +250 -0
- package/es/modal-fullscreen/src/interface.d.ts +0 -0
- package/es/modal-fullscreen/src/interface.js +1 -0
- package/es/modal-fullscreen/src/styles/index.cssr.d.ts +2 -0
- package/es/modal-fullscreen/src/styles/index.cssr.js +85 -0
- package/es/modal-fullscreen/styles/_common.d.ts +12 -0
- package/es/modal-fullscreen/styles/_common.js +11 -0
- package/es/modal-fullscreen/styles/dark.d.ts +3 -0
- package/es/modal-fullscreen/styles/dark.js +14 -0
- package/es/modal-fullscreen/styles/index.d.ts +3 -0
- package/es/modal-fullscreen/styles/index.js +2 -0
- package/es/modal-fullscreen/styles/light.d.ts +100 -0
- package/es/modal-fullscreen/styles/light.js +19 -0
- package/es/rate/src/Rate.d.ts +1 -1
- package/es/select/src/Select.d.ts +1 -1
- package/es/slider/src/Slider.d.ts +1 -1
- package/es/switch/src/Switch.d.ts +1 -1
- package/es/tag/index.d.ts +2 -0
- package/es/tag/index.js +1 -0
- package/es/tag/src/Tag.d.ts +40 -0
- package/es/tag/src/Tag.js +3 -0
- package/es/tag/src/TagGroup.d.ts +644 -0
- package/es/tag/src/TagGroup.js +109 -0
- package/es/tag/src/styles/index.cssr.d.ts +1 -0
- package/es/tag/src/styles/index.cssr.js +8 -1
- package/es/tag/styles/light.d.ts +3 -0
- package/es/tag/styles/light.js +5 -0
- package/es/themes/dark.js +5 -1
- package/es/themes/light.js +5 -1
- package/es/time-picker/src/TimePicker.d.ts +1 -1
- package/es/transfer/src/Transfer.d.ts +1 -1
- package/es/tree-select/src/TreeSelect.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/virtual-list/index.d.ts +1 -1
- package/es/virtual-list/index.js +1 -1
- package/lib/_internal/scrollbar/src/Scrollbar.js +19 -38
- package/lib/auto-complete/src/AutoComplete.d.ts +1 -1
- package/lib/cascader/src/Cascader.d.ts +1 -1
- package/lib/chat/src/ChatListItems.js +16 -1
- package/lib/chat/src/ChatParts/MainArea.js +31 -21
- package/lib/components.d.ts +2 -0
- package/lib/components.js +2 -0
- package/lib/config-provider/src/internal-interface.d.ts +4 -0
- package/lib/crop/index.d.ts +3 -0
- package/lib/crop/index.js +9 -0
- package/lib/crop/src/Crop.d.ts +222 -0
- package/lib/crop/src/Crop.js +163 -0
- package/lib/crop/src/interface.d.ts +6 -0
- package/lib/crop/src/interface.js +10 -0
- package/lib/crop/src/styles/index.cssr.d.ts +2 -0
- package/lib/crop/src/styles/index.cssr.js +338 -0
- package/lib/crop/styles/_common.d.ts +4 -0
- package/lib/crop/styles/_common.js +5 -0
- package/lib/crop/styles/dark.d.ts +3 -0
- package/lib/crop/styles/dark.js +11 -0
- package/lib/crop/styles/index.d.ts +3 -0
- package/lib/crop/styles/index.js +10 -0
- package/lib/crop/styles/light.d.ts +14 -0
- package/lib/crop/styles/light.js +21 -0
- package/lib/date-picker/src/panel/panelMonth.d.ts +1 -1
- package/lib/date-picker/src/panel/panelYear.d.ts +1 -1
- package/lib/dynamic-tags/src/DynamicTags.d.ts +30 -0
- package/lib/dynamic-tags/styles/light.d.ts +3 -0
- package/lib/infinite-scroll/src/InfiniteScroll.d.ts +16 -0
- package/lib/infinite-scroll/src/InfiniteScroll.js +44 -11
- package/lib/input/src/Input.d.ts +1 -1
- package/lib/input-number/src/InputNumber.d.ts +1 -1
- package/lib/legacy-transfer/src/Transfer.d.ts +1 -1
- package/lib/modal-fullscreen/index.d.ts +2 -0
- package/lib/modal-fullscreen/index.js +9 -0
- package/lib/modal-fullscreen/src/ModalFull.d.ts +953 -0
- package/lib/modal-fullscreen/src/ModalFull.js +256 -0
- package/lib/modal-fullscreen/src/interface.d.ts +0 -0
- package/lib/modal-fullscreen/src/interface.js +1 -0
- package/lib/modal-fullscreen/src/styles/index.cssr.d.ts +2 -0
- package/lib/modal-fullscreen/src/styles/index.cssr.js +90 -0
- package/lib/modal-fullscreen/styles/_common.d.ts +12 -0
- package/lib/modal-fullscreen/styles/_common.js +13 -0
- package/lib/modal-fullscreen/styles/dark.d.ts +3 -0
- package/lib/modal-fullscreen/styles/dark.js +16 -0
- package/lib/modal-fullscreen/styles/index.d.ts +3 -0
- package/lib/modal-fullscreen/styles/index.js +10 -0
- package/lib/modal-fullscreen/styles/light.d.ts +100 -0
- package/lib/modal-fullscreen/styles/light.js +26 -0
- package/lib/rate/src/Rate.d.ts +1 -1
- package/lib/select/src/Select.d.ts +1 -1
- package/lib/slider/src/Slider.d.ts +1 -1
- package/lib/switch/src/Switch.d.ts +1 -1
- package/lib/tag/index.d.ts +2 -0
- package/lib/tag/index.js +3 -1
- package/lib/tag/src/Tag.d.ts +40 -0
- package/lib/tag/src/Tag.js +3 -0
- package/lib/tag/src/TagGroup.d.ts +644 -0
- package/lib/tag/src/TagGroup.js +112 -0
- package/lib/tag/src/styles/index.cssr.d.ts +1 -0
- package/lib/tag/src/styles/index.cssr.js +9 -1
- package/lib/tag/styles/light.d.ts +3 -0
- package/lib/tag/styles/light.js +5 -0
- package/lib/themes/dark.js +5 -1
- package/lib/themes/light.js +5 -1
- package/lib/time-picker/src/TimePicker.d.ts +1 -1
- package/lib/transfer/src/Transfer.d.ts +1 -1
- package/lib/tree-select/src/TreeSelect.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/index.d.ts +1 -1
- package/lib/virtual-list/index.js +2 -2
- package/package.json +7 -6
- package/volar.d.ts +4 -0
- package/web-types.json +387 -1
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tagGroupProps = void 0;
|
|
4
|
+
const vue_1 = require("vue");
|
|
5
|
+
const vooks_1 = require("vooks");
|
|
6
|
+
const _mixins_1 = require("../../_mixins");
|
|
7
|
+
const _utils_1 = require("../../_utils");
|
|
8
|
+
const index_cssr_1 = require("./styles/index.cssr");
|
|
9
|
+
const styles_1 = require("../styles");
|
|
10
|
+
function mapSlot(defaultSlot, value, size, disabled, doUpdateValue) {
|
|
11
|
+
var _a;
|
|
12
|
+
const children = [];
|
|
13
|
+
for (let i = 0; i < defaultSlot.length; i++) {
|
|
14
|
+
const wrappedInstance = defaultSlot[i];
|
|
15
|
+
const name = (_a = wrappedInstance.type) === null || _a === void 0 ? void 0 : _a.name;
|
|
16
|
+
if (name !== 'Tag') {
|
|
17
|
+
children.push(wrappedInstance);
|
|
18
|
+
continue;
|
|
19
|
+
}
|
|
20
|
+
const instanceProps = wrappedInstance.props;
|
|
21
|
+
const instanceValue = instanceProps === null || instanceProps === void 0 ? void 0 : instanceProps.value;
|
|
22
|
+
if (instanceValue !== undefined) {
|
|
23
|
+
const isChecked = value === instanceValue;
|
|
24
|
+
const mergedDisabled = disabled || (instanceProps === null || instanceProps === void 0 ? void 0 : instanceProps.disabled) !== undefined || false;
|
|
25
|
+
const mergedSize = (instanceProps === null || instanceProps === void 0 ? void 0 : instanceProps.size) || size;
|
|
26
|
+
children.push((0, vue_1.cloneVNode)(wrappedInstance, {
|
|
27
|
+
size: mergedSize,
|
|
28
|
+
disabled: mergedDisabled,
|
|
29
|
+
checkable: true,
|
|
30
|
+
checked: isChecked,
|
|
31
|
+
onUpdateChecked: () => {
|
|
32
|
+
doUpdateValue(instanceValue);
|
|
33
|
+
}
|
|
34
|
+
}));
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
children.push(wrappedInstance);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return children;
|
|
41
|
+
}
|
|
42
|
+
exports.tagGroupProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { value: {
|
|
43
|
+
type: [String, Number, Boolean],
|
|
44
|
+
default: undefined
|
|
45
|
+
}, defaultValue: {
|
|
46
|
+
type: [String, Number, Boolean],
|
|
47
|
+
default: null
|
|
48
|
+
}, size: {
|
|
49
|
+
type: String,
|
|
50
|
+
default: 'medium'
|
|
51
|
+
}, gap: [String, Number], disabled: {
|
|
52
|
+
type: Boolean,
|
|
53
|
+
default: undefined
|
|
54
|
+
}, 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array] });
|
|
55
|
+
exports.default = (0, vue_1.defineComponent)({
|
|
56
|
+
name: 'TagGroup',
|
|
57
|
+
props: exports.tagGroupProps,
|
|
58
|
+
setup(props) {
|
|
59
|
+
const { mergedClsPrefixRef, inlineThemeDisabled, mergedRtlRef } = (0, _mixins_1.useConfig)(props);
|
|
60
|
+
const themeRef = (0, _mixins_1.useTheme)('Tag', '-tag-group', index_cssr_1.tagGroupStyle, styles_1.tagLight, props, mergedClsPrefixRef);
|
|
61
|
+
const mergedSizeRef = (0, vue_1.computed)(() => props.size);
|
|
62
|
+
const mergedDisabledRef = (0, vue_1.computed)(() => { var _a; return (_a = props.disabled) !== null && _a !== void 0 ? _a : false; });
|
|
63
|
+
const uncontrolledValueRef = (0, vue_1.ref)(props.defaultValue);
|
|
64
|
+
const controlledValueRef = (0, vue_1.toRef)(props, 'value');
|
|
65
|
+
const mergedValueRef = (0, vooks_1.useMergedState)(controlledValueRef, uncontrolledValueRef);
|
|
66
|
+
function doUpdateValue(value) {
|
|
67
|
+
const { onUpdateValue, 'onUpdate:value': _onUpdateValue } = props;
|
|
68
|
+
if (onUpdateValue) {
|
|
69
|
+
(0, _utils_1.call)(onUpdateValue, value);
|
|
70
|
+
}
|
|
71
|
+
if (_onUpdateValue) {
|
|
72
|
+
(0, _utils_1.call)(_onUpdateValue, value);
|
|
73
|
+
}
|
|
74
|
+
uncontrolledValueRef.value = value;
|
|
75
|
+
}
|
|
76
|
+
const rtlEnabledRef = (0, _mixins_1.useRtl)('Tag', mergedRtlRef, mergedClsPrefixRef);
|
|
77
|
+
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
78
|
+
const { gap } = props;
|
|
79
|
+
const { common: { cubicBezierEaseInOut }, self: { [(0, _utils_1.createKey)('gap', mergedSizeRef.value)]: themeGap } } = themeRef.value;
|
|
80
|
+
const mergedGap = (0, _utils_1.resolveSize)(gap, themeGap);
|
|
81
|
+
return {
|
|
82
|
+
'--u-bezier': cubicBezierEaseInOut,
|
|
83
|
+
'--u-gap': mergedGap
|
|
84
|
+
};
|
|
85
|
+
});
|
|
86
|
+
const themeClassHandle = inlineThemeDisabled
|
|
87
|
+
? (0, _mixins_1.useThemeClass)('tag-group', (0, vue_1.computed)(() => mergedSizeRef.value[0]), cssVarsRef, props)
|
|
88
|
+
: undefined;
|
|
89
|
+
return {
|
|
90
|
+
rtlEnabled: rtlEnabledRef,
|
|
91
|
+
mergedClsPrefix: mergedClsPrefixRef,
|
|
92
|
+
mergedValue: mergedValueRef,
|
|
93
|
+
mergedSize: mergedSizeRef,
|
|
94
|
+
mergedDisabled: mergedDisabledRef,
|
|
95
|
+
doUpdateValue,
|
|
96
|
+
cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
|
|
97
|
+
themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
|
|
98
|
+
onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender
|
|
99
|
+
};
|
|
100
|
+
},
|
|
101
|
+
render() {
|
|
102
|
+
var _a;
|
|
103
|
+
const { mergedClsPrefix, mergedValue, mergedSize, mergedDisabled } = this;
|
|
104
|
+
const children = mapSlot((0, _utils_1.flatten)((0, _utils_1.getSlot)(this)), mergedValue, mergedSize, mergedDisabled, this.doUpdateValue);
|
|
105
|
+
(_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
106
|
+
return ((0, vue_1.h)("div", { class: [
|
|
107
|
+
`${mergedClsPrefix}-tag-group`,
|
|
108
|
+
this.rtlEnabled && `${mergedClsPrefix}-tag-group--rtl`,
|
|
109
|
+
this.themeClass
|
|
110
|
+
], style: this.cssVars }, children));
|
|
111
|
+
}
|
|
112
|
+
});
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
exports.tagGroupStyle = void 0;
|
|
6
7
|
const cssr_1 = require("../../../_utils/cssr");
|
|
7
8
|
// vars:
|
|
8
9
|
// --u-bezier
|
|
@@ -120,4 +121,11 @@ exports.default = (0, cssr_1.cB)('tag', `
|
|
|
120
121
|
background-color: var(--u-color-checkable-outline);
|
|
121
122
|
`, [(0, cssr_1.cE)('border', `
|
|
122
123
|
border: var(--u-border);
|
|
123
|
-
`)])]);
|
|
124
|
+
`)])]);
|
|
125
|
+
// vars:
|
|
126
|
+
// --u-gap
|
|
127
|
+
exports.tagGroupStyle = (0, cssr_1.cB)('tag-group', `
|
|
128
|
+
display: inline-flex;
|
|
129
|
+
flex-wrap: wrap;
|
|
130
|
+
gap: var(--u-gap);
|
|
131
|
+
`);
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { ThemeCommonVars } from '../../_styles/common';
|
|
2
2
|
import type { Theme } from '../../_mixins';
|
|
3
3
|
export declare const self: (vars: ThemeCommonVars) => {
|
|
4
|
+
gapSmall: string;
|
|
5
|
+
gapMedium: string;
|
|
6
|
+
gapLarge: string;
|
|
4
7
|
closeIconSizeTiny: string;
|
|
5
8
|
closeIconSizeSmall: string;
|
|
6
9
|
closeIconSizeMedium: string;
|
package/lib/tag/styles/light.js
CHANGED
|
@@ -7,6 +7,11 @@ const self = (vars) => {
|
|
|
7
7
|
const { opacityDisabled, borderRadiusSmall: borderRadius, fontWeightStrong, fontWeight, elementsTertiary, fontBodySmall, fontBodyMedium, textQuaternary, elementsPrimary, elementsSecondary, elementsSenary, elementsQuinary, textPrimary, elementsQuaternary, transparencySecondary, staticDarkGrey, staticWhite, elementsDarkQuinary, staticBlack } = vars;
|
|
8
8
|
const borderTagWidth = 2;
|
|
9
9
|
return {
|
|
10
|
+
// tag-group
|
|
11
|
+
gapSmall: '4px',
|
|
12
|
+
gapMedium: '8px',
|
|
13
|
+
gapLarge: '12px',
|
|
14
|
+
// tag
|
|
10
15
|
closeIconSizeTiny: '16px',
|
|
11
16
|
closeIconSizeSmall: '16px',
|
|
12
17
|
closeIconSizeMedium: '16px',
|
package/lib/themes/dark.js
CHANGED
|
@@ -91,6 +91,8 @@ const styles_86 = require("../flex/styles");
|
|
|
91
91
|
const styles_87 = require("../action-card/styles");
|
|
92
92
|
const styles_88 = require("../styles");
|
|
93
93
|
const styles_89 = require("../chat/styles");
|
|
94
|
+
const styles_90 = require("../modal-fullscreen/styles");
|
|
95
|
+
const styles_91 = require("../crop/styles");
|
|
94
96
|
exports.darkTheme = {
|
|
95
97
|
name: 'dark',
|
|
96
98
|
common: common_1.commonDark,
|
|
@@ -182,5 +184,7 @@ exports.darkTheme = {
|
|
|
182
184
|
Watermark: styles_83.watermarkDark,
|
|
183
185
|
ToggleButton: styles_84.toggleButtonDark,
|
|
184
186
|
Flex: styles_86.flexDark,
|
|
185
|
-
Chat: styles_89.chatDark
|
|
187
|
+
Chat: styles_89.chatDark,
|
|
188
|
+
ModalFullscreen: styles_90.modalFullscreenDark,
|
|
189
|
+
Crop: styles_91.cropDark
|
|
186
190
|
};
|
package/lib/themes/light.js
CHANGED
|
@@ -93,6 +93,8 @@ const styles_86 = require("../flex/styles");
|
|
|
93
93
|
const styles_87 = require("../action-card/styles");
|
|
94
94
|
const styles_88 = require("../input-otp/styles");
|
|
95
95
|
const styles_89 = require("../chat/styles");
|
|
96
|
+
const styles_90 = require("../modal-fullscreen/styles");
|
|
97
|
+
const styles_91 = require("../crop/styles");
|
|
96
98
|
exports.lightTheme = {
|
|
97
99
|
name: 'light',
|
|
98
100
|
common: common_1.commonLight,
|
|
@@ -184,5 +186,7 @@ exports.lightTheme = {
|
|
|
184
186
|
Watermark: styles_83.watermarkLight,
|
|
185
187
|
ToggleButton: styles_84.toggleButtonLight,
|
|
186
188
|
Flex: styles_86.flexLight,
|
|
187
|
-
Chat: styles_89.chatLight
|
|
189
|
+
Chat: styles_89.chatLight,
|
|
190
|
+
ModalFullscreen: styles_90.modalFullscreenLight,
|
|
191
|
+
Crop: styles_91.cropLight
|
|
188
192
|
};
|
|
@@ -3538,8 +3538,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3538
3538
|
to: string | boolean | HTMLElement;
|
|
3539
3539
|
show: boolean | undefined;
|
|
3540
3540
|
placement: FollowerPlacement;
|
|
3541
|
-
clearable: boolean;
|
|
3542
3541
|
defaultValue: number | null;
|
|
3542
|
+
clearable: boolean;
|
|
3543
3543
|
stateful: boolean;
|
|
3544
3544
|
use12Hours: boolean;
|
|
3545
3545
|
format: string;
|
|
@@ -4252,8 +4252,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4252
4252
|
readonly filter: Filter;
|
|
4253
4253
|
readonly disabled: boolean | undefined;
|
|
4254
4254
|
readonly virtualScroll: boolean;
|
|
4255
|
-
readonly filterable: boolean;
|
|
4256
4255
|
readonly defaultValue: OptionValue[] | null;
|
|
4256
|
+
readonly filterable: boolean;
|
|
4257
4257
|
readonly options: Option[];
|
|
4258
4258
|
readonly showSelected: boolean;
|
|
4259
4259
|
readonly sourceFilterable: boolean;
|
|
@@ -3077,9 +3077,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3077
3077
|
readonly checkable: boolean;
|
|
3078
3078
|
readonly placement: FollowerPlacement;
|
|
3079
3079
|
readonly defaultShow: boolean;
|
|
3080
|
+
readonly defaultValue: string | number | (string | number)[] | null;
|
|
3080
3081
|
readonly filterable: boolean;
|
|
3081
3082
|
readonly clearable: boolean;
|
|
3082
|
-
readonly defaultValue: string | number | (string | number)[] | null;
|
|
3083
3083
|
readonly options: TreeSelectOption[];
|
|
3084
3084
|
readonly clearFilterAfterSelect: boolean;
|
|
3085
3085
|
readonly consistentMenuWidth: boolean;
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.
|
|
1
|
+
declare const _default: "1.10.1";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as UVirtualList, virtualListProps } from './src/VirtualList';
|
|
2
2
|
export type { VirtualListInst, VirtualListProps } from './src/VirtualList';
|
|
@@ -3,7 +3,7 @@ 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.virtualListProps = exports.
|
|
6
|
+
exports.virtualListProps = exports.UVirtualList = void 0;
|
|
7
7
|
var VirtualList_1 = require("./src/VirtualList");
|
|
8
|
-
Object.defineProperty(exports, "
|
|
8
|
+
Object.defineProperty(exports, "UVirtualList", { enumerable: true, get: function () { return __importDefault(VirtualList_1).default; } });
|
|
9
9
|
Object.defineProperty(exports, "virtualListProps", { enumerable: true, get: function () { return VirtualList_1.virtualListProps; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uzum-tech/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.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",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"format": "pnpm run format:code && pnpm run format:md && pnpm run lint:fix",
|
|
25
25
|
"format:code": "prettier --write \"(src|demo)/**/*.(vue|js)\"",
|
|
26
26
|
"format:md": "prettier --write --parser markdown --prose-wrap never \"(src|demo)/**/*.md\"",
|
|
27
|
-
"test": "cross-env NODE_ENV=test jest
|
|
28
|
-
"test:single": "cross-env NODE_ENV=test jest --
|
|
29
|
-
"test:update": "cross-env NODE_ENV=test jest -u
|
|
30
|
-
"test:cov": "cross-env NODE_ENV=test NODE_OPTIONS=--unhandled-rejections=warn jest",
|
|
27
|
+
"test": "cross-env NODE_ENV=test jest",
|
|
28
|
+
"test:single": "cross-env NODE_ENV=test jest --testMatch=\"<rootDir>/src/list/tests/**.*\"",
|
|
29
|
+
"test:update": "cross-env NODE_ENV=test jest -u",
|
|
30
|
+
"test:cov": "cross-env NODE_ENV=test NODE_OPTIONS=--unhandled-rejections=warn jest --collectCoverage=true",
|
|
31
31
|
"test:watch": "cross-env NODE_ENV=test jest ---watch --verbose --coverage",
|
|
32
|
-
"test:umd": "jest --
|
|
32
|
+
"test:umd": "jest --testMatch=\"<rootDir>/umd-test/index.spec.js\"",
|
|
33
33
|
"gen-version": "node scripts/gen-version",
|
|
34
34
|
"gen-volar-dts": "esbuild scripts/gen-component-declaration.js --bundle --platform=node --tsconfig=tsconfig.esbuild.json | node",
|
|
35
35
|
"build:site:ts": "./scripts/pre-build-site/pre-build-site.sh && cross-env TUSIMPLE=true NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && ./scripts/post-build-site/post-build-site.sh",
|
|
@@ -173,6 +173,7 @@
|
|
|
173
173
|
"@types/lodash-es": "4.17.9",
|
|
174
174
|
"@vueuse/core": "13.3.0",
|
|
175
175
|
"async-validator": "4.2.5",
|
|
176
|
+
"cropperjs": "1.6.2",
|
|
176
177
|
"css-render": "0.15.14",
|
|
177
178
|
"csstype": "3.1.3",
|
|
178
179
|
"date-fns": "2.28.0",
|
package/volar.d.ts
CHANGED
|
@@ -150,6 +150,10 @@ declare module 'vue' {
|
|
|
150
150
|
UChatListItems: typeof import('@uzum-tech/ui')['UChatListItems']
|
|
151
151
|
UChatMessages: typeof import('@uzum-tech/ui')['UChatMessages']
|
|
152
152
|
UInfiniteScroll: typeof import('@uzum-tech/ui')['UInfiniteScroll']
|
|
153
|
+
UVirtualList: typeof import('@uzum-tech/ui')['UVirtualList']
|
|
154
|
+
UModalFullscreen: typeof import('@uzum-tech/ui')['UModalFullscreen']
|
|
155
|
+
UCrop: typeof import('@uzum-tech/ui')['UCrop']
|
|
156
|
+
UTagGroup: typeof import('@uzum-tech/ui')['UTagGroup']
|
|
153
157
|
}
|
|
154
158
|
}
|
|
155
159
|
export {}
|