@uzum-tech/ui 1.9.0 → 1.10.0
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 +5789 -1014
- 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/index.d.ts +1 -1
- package/es/chat/src/Chat.d.ts +233 -11
- package/es/chat/src/Chat.js +73 -22
- package/es/chat/src/ChatParts/ChatAttachment.js +14 -12
- package/es/chat/src/ChatParts/MainArea.d.ts +1 -0
- package/es/chat/src/ChatParts/MainArea.js +95 -57
- package/es/chat/src/ChatParts/Sidebar.d.ts +920 -0
- package/es/chat/src/ChatParts/Sidebar.js +63 -12
- package/es/chat/src/interface.d.ts +24 -3
- package/es/chat/src/styles/index.cssr.js +13 -2
- 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/DatePicker.d.ts +1308 -43
- package/es/date-picker/src/DatePicker.js +54 -29
- package/es/date-picker/src/interface.d.ts +1 -0
- package/es/date-picker/src/panel/date.d.ts +141 -0
- package/es/date-picker/src/panel/daterange.d.ts +141 -0
- package/es/date-picker/src/panel/datetime.d.ts +141 -0
- package/es/date-picker/src/panel/datetimerange.d.ts +141 -0
- package/es/date-picker/src/panel/panelMonth.d.ts +283 -1
- package/es/date-picker/src/panel/panelMonthContent.d.ts +141 -0
- package/es/date-picker/src/panel/panelYear.d.ts +283 -1
- package/es/date-picker/src/panel/panelYearContent.d.ts +141 -0
- package/es/date-picker/src/panel/use-calendar.d.ts +141 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +141 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +141 -0
- package/es/date-picker/styles/dark.js +3 -1
- package/es/date-picker/styles/light.d.ts +123 -0
- package/es/date-picker/styles/light.js +3 -1
- package/es/descriptions/src/Descriptions.d.ts +30 -0
- package/es/descriptions/src/Descriptions.js +18 -10
- 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.js +3 -6
- 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/locales/common/arDZ.js +2 -0
- package/es/locales/common/deDE.js +2 -0
- package/es/locales/common/enGB.js +2 -0
- package/es/locales/common/enUS.d.ts +2 -0
- package/es/locales/common/enUS.js +2 -0
- package/es/locales/common/eo.js +2 -0
- package/es/locales/common/esAR.js +2 -0
- package/es/locales/common/faIR.js +2 -0
- package/es/locales/common/frFR.js +2 -0
- package/es/locales/common/idID.js +2 -0
- package/es/locales/common/itIT.js +2 -0
- package/es/locales/common/jaJP.js +2 -0
- package/es/locales/common/koKR.js +2 -0
- package/es/locales/common/nbNO.js +2 -0
- package/es/locales/common/nlNL.js +2 -0
- package/es/locales/common/plPL.js +2 -0
- package/es/locales/common/ptBR.js +2 -0
- package/es/locales/common/ruRU.js +2 -0
- package/es/locales/common/skSK.js +2 -0
- package/es/locales/common/svSE.js +2 -0
- package/es/locales/common/thTH.js +2 -0
- package/es/locales/common/trTR.js +2 -0
- package/es/locales/common/ukUA.js +2 -0
- package/es/locales/common/viVN.js +2 -0
- package/es/locales/common/zhCN.js +2 -0
- package/es/locales/common/zhTW.js +2 -0
- 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/index.d.ts +1 -1
- package/lib/chat/src/Chat.d.ts +233 -11
- package/lib/chat/src/Chat.js +73 -22
- package/lib/chat/src/ChatParts/ChatAttachment.js +14 -12
- package/lib/chat/src/ChatParts/MainArea.d.ts +1 -0
- package/lib/chat/src/ChatParts/MainArea.js +94 -56
- package/lib/chat/src/ChatParts/Sidebar.d.ts +920 -0
- package/lib/chat/src/ChatParts/Sidebar.js +62 -11
- package/lib/chat/src/interface.d.ts +24 -3
- package/lib/chat/src/styles/index.cssr.js +13 -2
- 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/DatePicker.d.ts +1308 -43
- package/lib/date-picker/src/DatePicker.js +53 -28
- package/lib/date-picker/src/interface.d.ts +1 -0
- package/lib/date-picker/src/panel/date.d.ts +141 -0
- package/lib/date-picker/src/panel/daterange.d.ts +141 -0
- package/lib/date-picker/src/panel/datetime.d.ts +141 -0
- package/lib/date-picker/src/panel/datetimerange.d.ts +141 -0
- package/lib/date-picker/src/panel/panelMonth.d.ts +283 -1
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +141 -0
- package/lib/date-picker/src/panel/panelYear.d.ts +283 -1
- package/lib/date-picker/src/panel/panelYearContent.d.ts +141 -0
- package/lib/date-picker/src/panel/use-calendar.d.ts +141 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +141 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +141 -0
- package/lib/date-picker/styles/dark.js +3 -1
- package/lib/date-picker/styles/light.d.ts +123 -0
- package/lib/date-picker/styles/light.js +3 -1
- package/lib/descriptions/src/Descriptions.d.ts +30 -0
- package/lib/descriptions/src/Descriptions.js +18 -10
- 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.js +3 -6
- 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/locales/common/arDZ.js +2 -0
- package/lib/locales/common/deDE.js +2 -0
- package/lib/locales/common/enGB.js +2 -0
- package/lib/locales/common/enUS.d.ts +2 -0
- package/lib/locales/common/enUS.js +2 -0
- package/lib/locales/common/eo.js +2 -0
- package/lib/locales/common/esAR.js +2 -0
- package/lib/locales/common/faIR.js +2 -0
- package/lib/locales/common/frFR.js +2 -0
- package/lib/locales/common/idID.js +2 -0
- package/lib/locales/common/itIT.js +2 -0
- package/lib/locales/common/jaJP.js +2 -0
- package/lib/locales/common/koKR.js +2 -0
- package/lib/locales/common/nbNO.js +2 -0
- package/lib/locales/common/nlNL.js +2 -0
- package/lib/locales/common/plPL.js +2 -0
- package/lib/locales/common/ptBR.js +2 -0
- package/lib/locales/common/ruRU.js +2 -0
- package/lib/locales/common/skSK.js +2 -0
- package/lib/locales/common/svSE.js +2 -0
- package/lib/locales/common/thTH.js +2 -0
- package/lib/locales/common/trTR.js +2 -0
- package/lib/locales/common/ukUA.js +2 -0
- package/lib/locales/common/viVN.js +2 -0
- package/lib/locales/common/zhCN.js +2 -0
- package/lib/locales/common/zhTW.js +2 -0
- 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 +4 -3
- package/volar.d.ts +4 -0
- package/web-types.json +472 -4
|
@@ -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.0";
|
|
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.0",
|
|
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.
|
|
163
|
-
"vue-tsc": "
|
|
162
|
+
"vue-router": "4.6.0",
|
|
163
|
+
"vue-tsc": "3.1.1"
|
|
164
164
|
},
|
|
165
165
|
"peerDependencies": {
|
|
166
166
|
"vue": "^3.0.0"
|
|
@@ -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 {}
|