@uzum-tech/ui 0.1.1 → 0.1.2
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 +18 -24
- package/dist/index.prod.js +1 -1
- package/es/_internal/icons/ChevronDownOutline.d.ts +2 -0
- package/es/_internal/icons/ChevronDownOutline.js +8 -0
- package/es/_internal/icons/index.d.ts +1 -0
- package/es/_internal/icons/index.js +1 -0
- package/es/_internal/icons/replaceable.js +1 -1
- package/es/_mixins/use-theme.js +1 -1
- package/es/anchor/src/BaseAnchor.js +1 -1
- package/es/carousel/src/CarouselItem.js +1 -1
- package/es/config-provider/src/ConfigProvider.js +1 -1
- package/es/data-table/src/TableParts/Cell.js +1 -1
- package/es/date-picker/src/panel/panelMonth.js +1 -1
- package/es/date-picker/src/panel/panelYear.js +1 -1
- package/es/element/src/Element.js +1 -1
- package/es/form/src/FormItem.js +1 -1
- package/es/form/src/utils.js +1 -1
- package/es/global-style/src/GlobalStyle.js +1 -1
- package/es/image/src/ImagePreview.js +1 -1
- package/es/locales/utils/index.js +1 -1
- package/es/log/src/Log.js +1 -1
- package/es/number-animation/src/NumberAnimation.js +1 -1
- package/es/popover/src/styles/index.cssr.js +1 -1
- package/es/tabs/src/Tabs.js +1 -1
- package/es/theme-editor/src/ThemeEditor.js +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/icons/ChevronDownOutline.d.ts +2 -0
- package/lib/_internal/icons/ChevronDownOutline.js +10 -0
- package/lib/_internal/icons/index.d.ts +1 -0
- package/lib/_internal/icons/index.js +3 -1
- package/lib/date-picker/src/panel/panelMonth.js +2 -2
- package/lib/date-picker/src/panel/panelYear.js +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { h, defineComponent } from 'vue';
|
|
2
|
+
export default defineComponent({
|
|
3
|
+
name: 'ChevronDownOutline',
|
|
4
|
+
render() {
|
|
5
|
+
return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" },
|
|
6
|
+
h("path", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "48", d: "M112 184l144 144 144-144" })));
|
|
7
|
+
}
|
|
8
|
+
});
|
|
@@ -7,6 +7,7 @@ export { default as DateIcon } from './Date';
|
|
|
7
7
|
export { default as CheckmarkIcon } from './Checkmark';
|
|
8
8
|
export { default as ChevronLeftIcon } from './ChevronLeft';
|
|
9
9
|
export { default as ChevronRightIcon } from './ChevronRight';
|
|
10
|
+
export { default as ChevronDownOutline } from './ChevronDownOutline';
|
|
10
11
|
export { default as CloseIcon } from './Close';
|
|
11
12
|
export { default as EyeIcon } from './Eye';
|
|
12
13
|
export { default as EyeOffIcon } from './EyeOff';
|
|
@@ -7,6 +7,7 @@ export { default as DateIcon } from './Date';
|
|
|
7
7
|
export { default as CheckmarkIcon } from './Checkmark';
|
|
8
8
|
export { default as ChevronLeftIcon } from './ChevronLeft';
|
|
9
9
|
export { default as ChevronRightIcon } from './ChevronRight';
|
|
10
|
+
export { default as ChevronDownOutline } from './ChevronDownOutline';
|
|
10
11
|
export { default as CloseIcon } from './Close';
|
|
11
12
|
export { default as EyeIcon } from './Eye';
|
|
12
13
|
export { default as EyeOffIcon } from './EyeOff';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { upperFirst } from 'lodash
|
|
1
|
+
import { upperFirst } from 'lodash';
|
|
2
2
|
import { defineComponent, inject } from 'vue';
|
|
3
3
|
import { configProviderInjectionKey } from '../../config-provider/src/context';
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
package/es/_mixins/use-theme.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/consistent-type-assertions */
|
|
2
2
|
import { inject, computed, onBeforeMount } from 'vue';
|
|
3
|
-
import { merge } from 'lodash
|
|
3
|
+
import { merge } from 'lodash';
|
|
4
4
|
import { useSsrAdapter } from '@css-render/vue3-ssr';
|
|
5
5
|
import globalStyle from '../_styles/global/index.cssr';
|
|
6
6
|
import { configProviderInjectionKey } from '../config-provider/src/context';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, defineComponent, h, nextTick, onBeforeUnmount, onMounted, provide, ref, toRef, watch } from 'vue';
|
|
2
|
-
import { throttle } from 'lodash
|
|
2
|
+
import { throttle } from 'lodash';
|
|
3
3
|
import { unwrapElement } from 'seemly';
|
|
4
4
|
import { onFontsReady } from 'vooks';
|
|
5
5
|
import { UScrollbar } from '../../_internal';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, defineComponent, computed, ref, onMounted, onBeforeUnmount } from 'vue';
|
|
2
|
-
import { camelCase } from 'lodash
|
|
2
|
+
import { camelCase } from 'lodash';
|
|
3
3
|
import { useConfig } from '../../_mixins';
|
|
4
4
|
import { useCarouselContext } from './CarouselContext';
|
|
5
5
|
const CarouselItemName = 'CarouselItem';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, inject, computed, defineComponent, provide, markRaw } from 'vue';
|
|
2
2
|
import { useMemo } from 'vooks';
|
|
3
|
-
import { merge } from 'lodash
|
|
3
|
+
import { merge } from 'lodash';
|
|
4
4
|
import { hash } from 'css-render';
|
|
5
5
|
import { warn } from '../../_utils';
|
|
6
6
|
import { defaultClsPrefix } from '../../_mixins';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, defineComponent, Transition, ref, computed } from 'vue';
|
|
2
2
|
import PanelMonthContent from './panelMonthContent';
|
|
3
|
-
import { ChevronDownOutline } from '
|
|
3
|
+
import { ChevronDownOutline } from '../../../_internal/icons';
|
|
4
4
|
import { UBaseIcon } from '../../../_internal';
|
|
5
5
|
export default defineComponent({
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, defineComponent, Transition, ref, computed } from 'vue';
|
|
2
2
|
import PanelYearContent from './panelYearContent';
|
|
3
3
|
import { UBaseIcon } from '../../../_internal';
|
|
4
|
-
import { ChevronDownOutline } from '
|
|
4
|
+
import { ChevronDownOutline } from '../../../_internal/icons';
|
|
5
5
|
export default defineComponent({
|
|
6
6
|
props: {
|
|
7
7
|
panelActive: Boolean,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, h, defineComponent } from 'vue';
|
|
2
|
-
import { kebabCase } from 'lodash
|
|
2
|
+
import { kebabCase } from 'lodash';
|
|
3
3
|
import { useConfig, useTheme, useThemeClass } from '../../_mixins';
|
|
4
4
|
import { elementLight } from '../styles';
|
|
5
5
|
export const elementProps = Object.assign(Object.assign({}, useTheme.props), { tag: {
|
package/es/form/src/FormItem.js
CHANGED
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import { h, defineComponent, computed, toRef, ref, provide, inject, watch, Transition, onMounted } from 'vue';
|
|
11
11
|
import Schema from 'async-validator';
|
|
12
|
-
import { get } from 'lodash
|
|
12
|
+
import { get } from 'lodash';
|
|
13
13
|
import { createId } from 'seemly';
|
|
14
14
|
import { formItemInjectionKey } from '../../_mixins/use-form-item';
|
|
15
15
|
import { useConfig, useTheme, useThemeClass } from '../../_mixins';
|
package/es/form/src/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, watchEffect, onBeforeMount, onUnmounted, inject } from 'vue';
|
|
2
|
-
import { merge } from 'lodash
|
|
2
|
+
import { merge } from 'lodash';
|
|
3
3
|
import { warn } from '../../_utils';
|
|
4
4
|
import { commonLight } from '../../_styles/common';
|
|
5
5
|
import { configProviderInjectionKey } from '../../config-provider/src/context';
|
|
@@ -4,7 +4,7 @@ import { useIsMounted } from 'vooks';
|
|
|
4
4
|
import { LazyTeleport } from 'vueuc';
|
|
5
5
|
import { on, off } from 'evtd';
|
|
6
6
|
import { beforeNextFrameOnce } from 'seemly';
|
|
7
|
-
import { kebabCase } from 'lodash
|
|
7
|
+
import { kebabCase } from 'lodash';
|
|
8
8
|
import { download } from '../../upload/src/utils';
|
|
9
9
|
import { RotateClockwiseIcon, RotateCounterclockwiseIcon, ZoomInIcon, ZoomOutIcon, ResizeSmallIcon } from '../../_internal/icons';
|
|
10
10
|
import { useConfig, useLocale, useTheme, useThemeClass } from '../../_mixins';
|
package/es/log/src/Log.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Transition, defineComponent, computed, provide, nextTick, ref, toRef } from 'vue';
|
|
2
|
-
import { throttle } from 'lodash
|
|
2
|
+
import { throttle } from 'lodash';
|
|
3
3
|
import { useTheme, useHljs, useConfig, useThemeClass } from '../../_mixins';
|
|
4
4
|
import { warn } from '../../_utils';
|
|
5
5
|
import { UScrollbar } from '../../_internal';
|
package/es/tabs/src/Tabs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, ref, defineComponent, computed, provide, watch, toRef, nextTick, withDirectives, vShow, watchEffect, cloneVNode, TransitionGroup } from 'vue';
|
|
2
2
|
import { VResizeObserver, VXScroll } from 'vueuc';
|
|
3
|
-
import { throttle } from 'lodash
|
|
3
|
+
import { throttle } from 'lodash';
|
|
4
4
|
import { useCompitable, onFontsReady, useMergedState } from 'vooks';
|
|
5
5
|
import { useConfig, useTheme, useThemeClass } from '../../_mixins';
|
|
6
6
|
import { createKey, call, flatten, warnOnce, resolveWrappedSlot } from '../../_utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, computed, defineComponent, ref, Fragment, toRaw, watch, inject } from 'vue';
|
|
2
|
-
import { cloneDeep, merge } from 'lodash
|
|
2
|
+
import { cloneDeep, merge } from 'lodash';
|
|
3
3
|
import { configProviderInjectionKey } from '../../config-provider/src/context';
|
|
4
4
|
import { lightTheme } from '../../themes/light';
|
|
5
5
|
import { UConfigProvider } from '../../config-provider';
|
package/es/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.1.
|
|
1
|
+
declare const _default: "0.1.2";
|
|
2
2
|
export default _default;
|
package/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '0.1.
|
|
1
|
+
export default '0.1.2';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const vue_1 = require("vue");
|
|
4
|
+
exports.default = (0, vue_1.defineComponent)({
|
|
5
|
+
name: 'ChevronDownOutline',
|
|
6
|
+
render() {
|
|
7
|
+
return ((0, vue_1.h)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" },
|
|
8
|
+
(0, vue_1.h)("path", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "48", d: "M112 184l144 144 144-144" })));
|
|
9
|
+
}
|
|
10
|
+
});
|
|
@@ -7,6 +7,7 @@ export { default as DateIcon } from './Date';
|
|
|
7
7
|
export { default as CheckmarkIcon } from './Checkmark';
|
|
8
8
|
export { default as ChevronLeftIcon } from './ChevronLeft';
|
|
9
9
|
export { default as ChevronRightIcon } from './ChevronRight';
|
|
10
|
+
export { default as ChevronDownOutline } from './ChevronDownOutline';
|
|
10
11
|
export { default as CloseIcon } from './Close';
|
|
11
12
|
export { default as EyeIcon } from './Eye';
|
|
12
13
|
export { default as EyeOffIcon } from './EyeOff';
|
|
@@ -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.ResizeSmallIcon = exports.PhotoIcon = exports.FileIcon = exports.ZoomOutIcon = exports.ZoomInIcon = exports.RotateCounterclockwiseIcon = exports.RotateClockwiseIcon = exports.ArrowBackIcon = exports.RetryIcon = exports.ToIcon = exports.ChevronDownFilledIcon = exports.ClearIcon = exports.ChevronDownIcon = exports.CancelIcon = exports.WarningIcon = exports.TimeIcon = exports.SwitcherIcon = exports.SuccessIcon = exports.SearchIcon = exports.RemoveIcon = exports.MoreIcon = exports.InfoIcon = exports.ForwardIcon = exports.FilterIcon = exports.FastForwardIcon = exports.FastBackwardIcon = exports.ErrorIcon = exports.EmptyIcon = exports.DownloadIcon = exports.TrashIcon = exports.EyeOffIcon = exports.EyeIcon = exports.CloseIcon = exports.ChevronRightIcon = exports.ChevronLeftIcon = exports.CheckmarkIcon = exports.DateIcon = exports.BackwardIcon = exports.AttachIcon = exports.ArrowUpIcon = exports.ArrowDownIcon = exports.AddIcon = void 0;
|
|
6
|
+
exports.ResizeSmallIcon = exports.PhotoIcon = exports.FileIcon = exports.ZoomOutIcon = exports.ZoomInIcon = exports.RotateCounterclockwiseIcon = exports.RotateClockwiseIcon = exports.ArrowBackIcon = exports.RetryIcon = exports.ToIcon = exports.ChevronDownFilledIcon = exports.ClearIcon = exports.ChevronDownIcon = exports.CancelIcon = exports.WarningIcon = exports.TimeIcon = exports.SwitcherIcon = exports.SuccessIcon = exports.SearchIcon = exports.RemoveIcon = exports.MoreIcon = exports.InfoIcon = exports.ForwardIcon = exports.FilterIcon = exports.FastForwardIcon = exports.FastBackwardIcon = exports.ErrorIcon = exports.EmptyIcon = exports.DownloadIcon = exports.TrashIcon = exports.EyeOffIcon = exports.EyeIcon = exports.CloseIcon = exports.ChevronDownOutline = exports.ChevronRightIcon = exports.ChevronLeftIcon = exports.CheckmarkIcon = exports.DateIcon = exports.BackwardIcon = exports.AttachIcon = exports.ArrowUpIcon = exports.ArrowDownIcon = exports.AddIcon = void 0;
|
|
7
7
|
var Add_1 = require("./Add");
|
|
8
8
|
Object.defineProperty(exports, "AddIcon", { enumerable: true, get: function () { return __importDefault(Add_1).default; } });
|
|
9
9
|
var ArrowDown_1 = require("./ArrowDown");
|
|
@@ -22,6 +22,8 @@ var ChevronLeft_1 = require("./ChevronLeft");
|
|
|
22
22
|
Object.defineProperty(exports, "ChevronLeftIcon", { enumerable: true, get: function () { return __importDefault(ChevronLeft_1).default; } });
|
|
23
23
|
var ChevronRight_1 = require("./ChevronRight");
|
|
24
24
|
Object.defineProperty(exports, "ChevronRightIcon", { enumerable: true, get: function () { return __importDefault(ChevronRight_1).default; } });
|
|
25
|
+
var ChevronDownOutline_1 = require("./ChevronDownOutline");
|
|
26
|
+
Object.defineProperty(exports, "ChevronDownOutline", { enumerable: true, get: function () { return __importDefault(ChevronDownOutline_1).default; } });
|
|
25
27
|
var Close_1 = require("./Close");
|
|
26
28
|
Object.defineProperty(exports, "CloseIcon", { enumerable: true, get: function () { return __importDefault(Close_1).default; } });
|
|
27
29
|
var Eye_1 = require("./Eye");
|
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const vue_1 = require("vue");
|
|
7
7
|
const panelMonthContent_1 = __importDefault(require("./panelMonthContent"));
|
|
8
|
-
const
|
|
8
|
+
const icons_1 = require("../../../_internal/icons");
|
|
9
9
|
const _internal_1 = require("../../../_internal");
|
|
10
10
|
exports.default = (0, vue_1.defineComponent)({
|
|
11
11
|
props: {
|
|
@@ -61,7 +61,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
61
61
|
], onClick: this.handleHeaderClick },
|
|
62
62
|
this.calendarMonth,
|
|
63
63
|
(0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix: mergedClsPrefix }, {
|
|
64
|
-
default: () => (0, vue_1.h)(
|
|
64
|
+
default: () => (0, vue_1.h)(icons_1.ChevronDownOutline, null)
|
|
65
65
|
})),
|
|
66
66
|
(0, vue_1.h)(vue_1.Transition, { name: "fade-in-scale-up-transition", appear: true }, {
|
|
67
67
|
default: () => this.show ? ((0, vue_1.h)(panelMonthContent_1.default, { ref: "monthPanelRef", onUpdateValue: this.handleUpdateValue, key: "month", useAsQuickJump: true, value: this.value })) : null
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const vue_1 = require("vue");
|
|
7
7
|
const panelYearContent_1 = __importDefault(require("./panelYearContent"));
|
|
8
8
|
const _internal_1 = require("../../../_internal");
|
|
9
|
-
const
|
|
9
|
+
const icons_1 = require("../../../_internal/icons");
|
|
10
10
|
exports.default = (0, vue_1.defineComponent)({
|
|
11
11
|
props: {
|
|
12
12
|
panelActive: Boolean,
|
|
@@ -61,7 +61,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
61
61
|
], onClick: this.handleHeaderClick },
|
|
62
62
|
this.calendarYear,
|
|
63
63
|
(0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix: mergedClsPrefix }, {
|
|
64
|
-
default: () => (0, vue_1.h)(
|
|
64
|
+
default: () => (0, vue_1.h)(icons_1.ChevronDownOutline, null)
|
|
65
65
|
})),
|
|
66
66
|
(0, vue_1.h)(vue_1.Transition, { name: "fade-in-scale-up-transition", appear: true }, {
|
|
67
67
|
default: () => this.show ? ((0, vue_1.h)(panelYearContent_1.default, { ref: "monthPanelRef", onUpdateValue: this.handleUpdateValue, key: "month", useAsQuickJump: true, value: this.value })) : null
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.1.
|
|
1
|
+
declare const _default: "0.1.2";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
package/web-types.json
CHANGED