onekijs-ui 0.19.8 → 0.19.10
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/components/select/SelectService.d.ts +3 -3
- package/dist/index.js +0 -13
- package/dist/index.js.map +1 -1
- package/dist/index.module.js +0 -13
- package/dist/index.module.js.map +1 -1
- package/dist/styles/border.d.ts +1 -1
- package/dist/styles/flex.d.ts +1 -1
- package/dist/styles/size.d.ts +6 -6
- package/dist/styles/typography.d.ts +2 -2
- package/package.json +3 -3
- package/src/components/list/components/ListBodyComponent.tsx +0 -13
- package/src/components/table/components/FormTableComponent.tsx +1 -0
|
@@ -5,15 +5,15 @@ declare class SelectService<T = any, I extends SelectItem<T> = SelectItem<T>, S
|
|
|
5
5
|
protected lastCheckQuery: Query | undefined;
|
|
6
6
|
get defaultValue(): T | T[] | null | undefined;
|
|
7
7
|
get defaultValueLoading(): boolean | undefined;
|
|
8
|
-
check(): Generator<void | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<Generator<I[] | Generator<void | import("redux-saga/effects").
|
|
8
|
+
check(): Generator<void | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<Generator<I[] | Generator<void | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | import("redux-saga/effects").CancelEffect | CollectionFetcherResult<T> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>>> | import("redux-saga/effects").AllEffect<Generator<I[] | Generator<void | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | import("redux-saga/effects").CancelEffect | CollectionFetcherResult<T> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>> | import("redux-saga/effects").CallEffect<void>, void, (I | undefined)[]>;
|
|
9
9
|
setData(data: T[], query?: Query): void;
|
|
10
|
-
setDefaultValue(value: T | T[] | null | undefined): Generator<void | Generator<void | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<Generator<I[] | Generator<void | import("redux-saga/effects").
|
|
10
|
+
setDefaultValue(value: T | T[] | null | undefined): Generator<void | Generator<void | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<Generator<I[] | Generator<void | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | import("redux-saga/effects").CancelEffect | CollectionFetcherResult<T> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>>> | import("redux-saga/effects").AllEffect<Generator<I[] | Generator<void | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | import("redux-saga/effects").CancelEffect | CollectionFetcherResult<T> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>> | import("redux-saga/effects").CallEffect<void>, void, (I | undefined)[]>, void, unknown>;
|
|
11
11
|
setDefaultValueLoading(loading: boolean): void;
|
|
12
12
|
setItemWidth(_item: I, value: number): void;
|
|
13
13
|
setValue(value: null | T | T[]): void;
|
|
14
14
|
setUrl(url: string, query?: Query): void;
|
|
15
15
|
_buildItem(data: T | null | undefined, adaptee: unknown, context?: AnonymousObject): I;
|
|
16
|
-
_filterItem(item: I | undefined, query: Query, valid: boolean): Generator<I[] | Generator<void | import("redux-saga/effects").
|
|
16
|
+
_filterItem(item: I | undefined, query: Query, valid: boolean): Generator<I[] | Generator<void | import("redux-saga/effects").ForkEffect<Generator<void | import("redux-saga/effects").CallEffect<true>, void, unknown>> | import("redux-saga/effects").CancelEffect | CollectionFetcherResult<T> | Promise<CollectionFetcherResult<T> | undefined>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>;
|
|
17
17
|
_compareItem(a: I | undefined, b: I | undefined): boolean;
|
|
18
18
|
_setDefaultValue(value: T | T[] | null | undefined): void;
|
|
19
19
|
_setValidDefaultValue(value: T | T[] | null): void;
|
package/dist/index.js
CHANGED
|
@@ -5116,7 +5116,6 @@ const ListBodyComponent = ({ autoRefresh, bodyRef, className, follow, height, it
|
|
|
5116
5116
|
});
|
|
5117
5117
|
React.useEffect(() => {
|
|
5118
5118
|
const ref = parentRef ? parentRef : bodyRef;
|
|
5119
|
-
//console.log('parentRef', parentRef, 'ref', ref)
|
|
5120
5119
|
const atBottom = () => {
|
|
5121
5120
|
if (ref && ref.current) {
|
|
5122
5121
|
const sh = ref.current.scrollHeight;
|
|
@@ -5128,18 +5127,6 @@ const ListBodyComponent = ({ autoRefresh, bodyRef, className, follow, height, it
|
|
|
5128
5127
|
return false;
|
|
5129
5128
|
};
|
|
5130
5129
|
if (tail && scrollToIndex && totalSize && ref && ref.current) {
|
|
5131
|
-
// console.log(
|
|
5132
|
-
// 'scrollTop',
|
|
5133
|
-
// ref.current.scrollTop,
|
|
5134
|
-
// 'mouseRef',
|
|
5135
|
-
// mouseRef.current,
|
|
5136
|
-
// 'wheelRef',
|
|
5137
|
-
// wheelRef.current,
|
|
5138
|
-
// 'applyTail',
|
|
5139
|
-
// tailRef.current.applyTail,
|
|
5140
|
-
// 'atBottom',
|
|
5141
|
-
// atBottom(),
|
|
5142
|
-
// );
|
|
5143
5130
|
tailRef.current.lastScrollTop = ref.current.scrollTop;
|
|
5144
5131
|
if (!atBottom() && (mouseRef.current || wheelRef.current)) {
|
|
5145
5132
|
tailRef.current.applyTail = false;
|