@sheinx/base 3.4.4-beta.12 → 3.4.4-beta.13
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/cjs/pagination/pagination-size-list.d.ts.map +1 -1
- package/cjs/pagination/pagination-size-list.js +9 -1
- package/cjs/pagination/pagination-size-list.type.d.ts +1 -1
- package/cjs/pagination/pagination-size-list.type.d.ts.map +1 -1
- package/cjs/pagination/pagination.d.ts.map +1 -1
- package/cjs/pagination/pagination.js +3 -1
- package/cjs/pagination/pagination.type.d.ts +14 -0
- package/cjs/pagination/pagination.type.d.ts.map +1 -1
- package/esm/pagination/pagination-size-list.d.ts.map +1 -1
- package/esm/pagination/pagination-size-list.js +9 -1
- package/esm/pagination/pagination-size-list.type.d.ts +1 -1
- package/esm/pagination/pagination-size-list.type.d.ts.map +1 -1
- package/esm/pagination/pagination.d.ts.map +1 -1
- package/esm/pagination/pagination.js +3 -1
- package/esm/pagination/pagination.type.d.ts +14 -0
- package/esm/pagination/pagination.type.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination-size-list.d.ts","sourceRoot":"","sources":["pagination-size-list.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAGtE,QAAA,MAAM,kBAAkB,UAAW,uBAAuB,
|
|
1
|
+
{"version":3,"file":"pagination-size-list.d.ts","sourceRoot":"","sources":["pagination-size-list.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAGtE,QAAA,MAAM,kBAAkB,UAAW,uBAAuB,gBA4CzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -17,10 +17,16 @@ var PaginationSizeList = function PaginationSizeList(props) {
|
|
|
17
17
|
pageSizeList = _props$pageSizeList === void 0 ? [10, 20, 30, 50, 100] : _props$pageSizeList,
|
|
18
18
|
text = props.text,
|
|
19
19
|
size = props.size,
|
|
20
|
+
select = props.select,
|
|
20
21
|
pageSize = props.pageSize,
|
|
21
22
|
onChange = props.onChange;
|
|
22
23
|
var paginationStyle = jssStyle === null || jssStyle === void 0 || (_jssStyle$pagination = jssStyle.pagination) === null || _jssStyle$pagination === void 0 ? void 0 : _jssStyle$pagination.call(jssStyle);
|
|
23
24
|
var rootClasses = (0, _classnames.default)(paginationStyle === null || paginationStyle === void 0 ? void 0 : paginationStyle.section, paginationStyle === null || paginationStyle === void 0 ? void 0 : paginationStyle.sizeList);
|
|
25
|
+
var _ref = select || {},
|
|
26
|
+
absolute = _ref.absolute,
|
|
27
|
+
position = _ref.position,
|
|
28
|
+
zIndex = _ref.zIndex;
|
|
29
|
+
console.log('position', position);
|
|
24
30
|
var handleChange = function handleChange(pageSize) {
|
|
25
31
|
var start = (current - 1) * props.pageSize + 1;
|
|
26
32
|
onChange(Math.ceil(start / pageSize), pageSize);
|
|
@@ -30,7 +36,9 @@ var PaginationSizeList = function PaginationSizeList(props) {
|
|
|
30
36
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_select.default, {
|
|
31
37
|
jssStyle: jssStyle,
|
|
32
38
|
disabled: disabled,
|
|
33
|
-
|
|
39
|
+
zIndex: zIndex || undefined,
|
|
40
|
+
absolute: absolute || true,
|
|
41
|
+
position: position || undefined,
|
|
34
42
|
autoAdapt: true,
|
|
35
43
|
keygen: true,
|
|
36
44
|
size: size,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PaginationJssStyle, PaginationProps, TextParams } from './pagination.type';
|
|
2
|
-
export interface PaginationSizeListProps extends Pick<PaginationProps, 'pageSizeList' | 'size' | 'disabled'> {
|
|
2
|
+
export interface PaginationSizeListProps extends Pick<PaginationProps, 'pageSizeList' | 'size' | 'disabled' | 'select'> {
|
|
3
3
|
jssStyle?: PaginationJssStyle;
|
|
4
4
|
current: number;
|
|
5
5
|
total: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination-size-list.type.d.ts","sourceRoot":"","sources":["pagination-size-list.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpF,MAAM,WAAW,uBACf,SAAQ,IAAI,CAAC,eAAe,EAAE,cAAc,GAAG,MAAM,GAAG,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"pagination-size-list.type.d.ts","sourceRoot":"","sources":["pagination-size-list.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpF,MAAM,WAAW,uBACf,SAAQ,IAAI,CAAC,eAAe,EAAE,cAAc,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC9E,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["pagination.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,UAAW,eAAe,
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["pagination.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,UAAW,eAAe,gBA4IzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -44,7 +44,8 @@ var Pagination = function Pagination(props) {
|
|
|
44
44
|
_props$text = props.text,
|
|
45
45
|
text = _props$text === void 0 ? {} : _props$text,
|
|
46
46
|
pageSizeList = props.pageSizeList,
|
|
47
|
-
style = props.style
|
|
47
|
+
style = props.style,
|
|
48
|
+
select = props.select;
|
|
48
49
|
var _usePagination = (0, _hooks.usePagination)({
|
|
49
50
|
total: total,
|
|
50
51
|
span: span,
|
|
@@ -109,6 +110,7 @@ var Pagination = function Pagination(props) {
|
|
|
109
110
|
total: props.total || 0,
|
|
110
111
|
text: text,
|
|
111
112
|
size: size,
|
|
113
|
+
select: select,
|
|
112
114
|
current: current || 0,
|
|
113
115
|
pageSize: pageSize,
|
|
114
116
|
pageSizeList: pageSizeList,
|
|
@@ -3,6 +3,7 @@ import { ButtonClasses } from '../button/button.type';
|
|
|
3
3
|
import { SelectClasses } from '../select/select.type';
|
|
4
4
|
import { InputClasses } from '../input/input.type';
|
|
5
5
|
import { CommonType } from '../common/type';
|
|
6
|
+
import { AbsoluteListProps } from '../absolute-list/absolute-list.type';
|
|
6
7
|
export type AlignType = 'left' | 'center' | 'right';
|
|
7
8
|
export type LayoutType = ('links' | 'list' | 'jumper' | 'simple' | ((props: PaginationProps) => React.ReactNode))[];
|
|
8
9
|
export interface PaginationJssStyle {
|
|
@@ -11,6 +12,14 @@ export interface PaginationJssStyle {
|
|
|
11
12
|
button?: () => ButtonClasses;
|
|
12
13
|
pagination?: () => PaginationClasses;
|
|
13
14
|
}
|
|
15
|
+
export interface SelectProps extends Pick<AbsoluteListProps, 'absolute' | 'zIndex'> {
|
|
16
|
+
/**
|
|
17
|
+
* @en Set Position can control the different position of DatePicker
|
|
18
|
+
* @cn 弹出框位置
|
|
19
|
+
* @default auto
|
|
20
|
+
*/
|
|
21
|
+
position?: 'auto' | 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
|
|
22
|
+
}
|
|
14
23
|
export interface PaginationClasses {
|
|
15
24
|
pagination: string;
|
|
16
25
|
section: string;
|
|
@@ -110,5 +119,10 @@ export interface PaginationProps extends Pick<CommonType, 'style' | 'className'
|
|
|
110
119
|
*/
|
|
111
120
|
simple?: boolean;
|
|
112
121
|
jssStyle?: PaginationJssStyle;
|
|
122
|
+
/**
|
|
123
|
+
* @en Configuration of Select component in Pagination, currently supports absolute, position and zIndex, same as Select
|
|
124
|
+
* @cn 分页器有关 Select 组件的配置,目前支持 absolute、position 和 zIndex,类型同 Select
|
|
125
|
+
*/
|
|
126
|
+
select?: SelectProps;
|
|
113
127
|
}
|
|
114
128
|
//# sourceMappingURL=pagination.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.type.d.ts","sourceRoot":"","sources":["pagination.type.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"pagination.type.d.ts","sourceRoot":"","sources":["pagination.type.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpD,MAAM,MAAM,UAAU,GAAG,CACrB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,CAAC,CAAC,KAAK,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,CAAC,CAChD,EAAE,CAAC;AAEJ,MAAM,WAAW,kBAAkB;IACjC,K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;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7E;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B;;;OAGG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination-size-list.d.ts","sourceRoot":"","sources":["pagination-size-list.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAGtE,QAAA,MAAM,kBAAkB,UAAW,uBAAuB,
|
|
1
|
+
{"version":3,"file":"pagination-size-list.d.ts","sourceRoot":"","sources":["pagination-size-list.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAGtE,QAAA,MAAM,kBAAkB,UAAW,uBAAuB,gBA4CzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -10,10 +10,16 @@ var PaginationSizeList = function PaginationSizeList(props) {
|
|
|
10
10
|
pageSizeList = _props$pageSizeList === void 0 ? [10, 20, 30, 50, 100] : _props$pageSizeList,
|
|
11
11
|
text = props.text,
|
|
12
12
|
size = props.size,
|
|
13
|
+
select = props.select,
|
|
13
14
|
pageSize = props.pageSize,
|
|
14
15
|
onChange = props.onChange;
|
|
15
16
|
var paginationStyle = jssStyle === null || jssStyle === void 0 || (_jssStyle$pagination = jssStyle.pagination) === null || _jssStyle$pagination === void 0 ? void 0 : _jssStyle$pagination.call(jssStyle);
|
|
16
17
|
var rootClasses = classNames(paginationStyle === null || paginationStyle === void 0 ? void 0 : paginationStyle.section, paginationStyle === null || paginationStyle === void 0 ? void 0 : paginationStyle.sizeList);
|
|
18
|
+
var _ref = select || {},
|
|
19
|
+
absolute = _ref.absolute,
|
|
20
|
+
position = _ref.position,
|
|
21
|
+
zIndex = _ref.zIndex;
|
|
22
|
+
console.log('position', position);
|
|
17
23
|
var handleChange = function handleChange(pageSize) {
|
|
18
24
|
var start = (current - 1) * props.pageSize + 1;
|
|
19
25
|
onChange(Math.ceil(start / pageSize), pageSize);
|
|
@@ -23,7 +29,9 @@ var PaginationSizeList = function PaginationSizeList(props) {
|
|
|
23
29
|
children: /*#__PURE__*/_jsx(Select, {
|
|
24
30
|
jssStyle: jssStyle,
|
|
25
31
|
disabled: disabled,
|
|
26
|
-
|
|
32
|
+
zIndex: zIndex || undefined,
|
|
33
|
+
absolute: absolute || true,
|
|
34
|
+
position: position || undefined,
|
|
27
35
|
autoAdapt: true,
|
|
28
36
|
keygen: true,
|
|
29
37
|
size: size,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PaginationJssStyle, PaginationProps, TextParams } from './pagination.type';
|
|
2
|
-
export interface PaginationSizeListProps extends Pick<PaginationProps, 'pageSizeList' | 'size' | 'disabled'> {
|
|
2
|
+
export interface PaginationSizeListProps extends Pick<PaginationProps, 'pageSizeList' | 'size' | 'disabled' | 'select'> {
|
|
3
3
|
jssStyle?: PaginationJssStyle;
|
|
4
4
|
current: number;
|
|
5
5
|
total: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination-size-list.type.d.ts","sourceRoot":"","sources":["pagination-size-list.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpF,MAAM,WAAW,uBACf,SAAQ,IAAI,CAAC,eAAe,EAAE,cAAc,GAAG,MAAM,GAAG,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"pagination-size-list.type.d.ts","sourceRoot":"","sources":["pagination-size-list.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpF,MAAM,WAAW,uBACf,SAAQ,IAAI,CAAC,eAAe,EAAE,cAAc,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC9E,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["pagination.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,UAAW,eAAe,
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["pagination.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,UAAW,eAAe,gBA4IzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -37,7 +37,8 @@ var Pagination = function Pagination(props) {
|
|
|
37
37
|
_props$text = props.text,
|
|
38
38
|
text = _props$text === void 0 ? {} : _props$text,
|
|
39
39
|
pageSizeList = props.pageSizeList,
|
|
40
|
-
style = props.style
|
|
40
|
+
style = props.style,
|
|
41
|
+
select = props.select;
|
|
41
42
|
var _usePagination = usePagination({
|
|
42
43
|
total: total,
|
|
43
44
|
span: span,
|
|
@@ -102,6 +103,7 @@ var Pagination = function Pagination(props) {
|
|
|
102
103
|
total: props.total || 0,
|
|
103
104
|
text: text,
|
|
104
105
|
size: size,
|
|
106
|
+
select: select,
|
|
105
107
|
current: current || 0,
|
|
106
108
|
pageSize: pageSize,
|
|
107
109
|
pageSizeList: pageSizeList,
|
|
@@ -3,6 +3,7 @@ import { ButtonClasses } from '../button/button.type';
|
|
|
3
3
|
import { SelectClasses } from '../select/select.type';
|
|
4
4
|
import { InputClasses } from '../input/input.type';
|
|
5
5
|
import { CommonType } from '../common/type';
|
|
6
|
+
import { AbsoluteListProps } from '../absolute-list/absolute-list.type';
|
|
6
7
|
export type AlignType = 'left' | 'center' | 'right';
|
|
7
8
|
export type LayoutType = ('links' | 'list' | 'jumper' | 'simple' | ((props: PaginationProps) => React.ReactNode))[];
|
|
8
9
|
export interface PaginationJssStyle {
|
|
@@ -11,6 +12,14 @@ export interface PaginationJssStyle {
|
|
|
11
12
|
button?: () => ButtonClasses;
|
|
12
13
|
pagination?: () => PaginationClasses;
|
|
13
14
|
}
|
|
15
|
+
export interface SelectProps extends Pick<AbsoluteListProps, 'absolute' | 'zIndex'> {
|
|
16
|
+
/**
|
|
17
|
+
* @en Set Position can control the different position of DatePicker
|
|
18
|
+
* @cn 弹出框位置
|
|
19
|
+
* @default auto
|
|
20
|
+
*/
|
|
21
|
+
position?: 'auto' | 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
|
|
22
|
+
}
|
|
14
23
|
export interface PaginationClasses {
|
|
15
24
|
pagination: string;
|
|
16
25
|
section: string;
|
|
@@ -110,5 +119,10 @@ export interface PaginationProps extends Pick<CommonType, 'style' | 'className'
|
|
|
110
119
|
*/
|
|
111
120
|
simple?: boolean;
|
|
112
121
|
jssStyle?: PaginationJssStyle;
|
|
122
|
+
/**
|
|
123
|
+
* @en Configuration of Select component in Pagination, currently supports absolute, position and zIndex, same as Select
|
|
124
|
+
* @cn 分页器有关 Select 组件的配置,目前支持 absolute、position 和 zIndex,类型同 Select
|
|
125
|
+
*/
|
|
126
|
+
select?: SelectProps;
|
|
113
127
|
}
|
|
114
128
|
//# sourceMappingURL=pagination.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.type.d.ts","sourceRoot":"","sources":["pagination.type.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"pagination.type.d.ts","sourceRoot":"","sources":["pagination.type.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpD,MAAM,MAAM,UAAU,GAAG,CACrB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,CAAC,CAAC,KAAK,EAAE,eAAe,KAAK,KAAK,CAAC,SAAS,CAAC,CAChD,EAA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ACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7E;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B;;;OAGG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/base",
|
|
3
|
-
"version": "3.4.4-beta.
|
|
3
|
+
"version": "3.4.4-beta.13",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"module": "./esm/index.js",
|
|
11
11
|
"typings": "./cjs/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@sheinx/hooks": "3.4.4-beta.
|
|
13
|
+
"@sheinx/hooks": "3.4.4-beta.13",
|
|
14
14
|
"immer": "^10.0.0",
|
|
15
15
|
"classnames": "^2.0.0",
|
|
16
16
|
"@shined/reactive": "^0.1.3-alpha.0"
|