linkmore-design 1.0.57 → 1.0.60
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/CardTable/LmCardTable.d.ts +1 -0
- package/dist/CardTable/fns/index.d.ts +1 -0
- package/dist/Empty/demos/custom.d.ts +2 -0
- package/dist/Empty/empty.d.ts +2 -0
- package/dist/Empty/index.d.ts +18 -3
- package/dist/Empty/simple.d.ts +2 -0
- package/dist/Form/container.d.ts +8 -0
- package/dist/Form/demos/error-tip.d.ts +2 -0
- package/dist/Form/demos/responsive.d.ts +2 -0
- package/dist/Form/index.d.ts +10 -2
- package/dist/LmEditTable/demos/sinleEdit.d.ts +2 -0
- package/dist/LmFilter/customFilter/index.d.ts +3 -1
- package/dist/LmFilter/filterFns/index.d.ts +4 -1
- package/dist/LmFilter/utils.d.ts +1 -1
- package/dist/index.umd.js +498 -208
- package/dist/index.umd.min.js +6 -6
- package/es/CardTable/LmCardTable.js +4 -1
- package/es/CardTable/body/TableBodyCell.js +10 -5
- package/es/CardTable/card/PictureTextRow.js +8 -3
- package/es/CardTable/fns/index.js +29 -2
- package/es/CardTable/style/index.css +8 -1
- package/es/CardTable/table/TableRoot.js +46 -13
- package/es/CustomTableOption/cardSort.js +0 -3
- package/es/CustomTableOption/columnsSort.js +2 -4
- package/es/CustomTableOption/filterSort.js +0 -3
- package/es/CustomTableOption/index.js +2 -2
- package/es/Dropdown/index.js +2 -2
- package/es/Dropdown/style/index.css +19 -1
- package/es/Empty/empty.d.ts +2 -0
- package/es/Empty/empty.js +55 -0
- package/es/Empty/index.d.ts +18 -3
- package/es/Empty/index.js +100 -1
- package/es/Empty/simple.d.ts +2 -0
- package/es/Empty/simple.js +36 -0
- package/es/Empty/style/index.css +44 -0
- package/es/Form/container.d.ts +8 -0
- package/es/Form/container.js +97 -0
- package/es/Form/index.d.ts +10 -2
- package/es/Form/index.js +30 -2
- package/es/Form/style/index.css +116 -0
- package/es/IconFont/index.js +1 -1
- package/es/LmEditTable/EditTable.js +47 -17
- package/es/LmFilter/Controls/index.js +32 -2
- package/es/LmFilter/LmFilter.js +1 -1
- package/es/LmFilter/baseFilter/index.js +2 -1
- package/es/LmFilter/complexFilter/drawer.js +33 -32
- package/es/LmFilter/components/CascaderFilter.js +35 -35
- package/es/LmFilter/components/CheckboxFilter.js +13 -21
- package/es/LmFilter/components/DateFilter.js +53 -29
- package/es/LmFilter/components/DropdownFIlter.js +51 -22
- package/es/LmFilter/components/SelectFilter.js +2 -3
- package/es/LmFilter/components/index.js +5 -61
- package/es/LmFilter/customFilter/index.js +3 -2
- package/es/LmFilter/filterFns/index.js +65 -25
- package/es/LmFilter/style/style.css +2 -1
- package/es/LmFilter/utils.js +63 -14
- package/es/LmFilter/wrapper/Filter.js +6 -3
- package/es/LmFilter/wrapper/FilterRoot.js +29 -22
- package/es/LmTable/Table.js +8 -6
- package/lib/CardTable/LmCardTable.js +4 -1
- package/lib/CardTable/body/TableBodyCell.js +10 -5
- package/lib/CardTable/card/PictureTextRow.js +8 -3
- package/lib/CardTable/fns/index.js +29 -2
- package/lib/CardTable/style/index.css +8 -1
- package/lib/CardTable/table/TableRoot.js +46 -13
- package/lib/CustomTableOption/cardSort.js +0 -3
- package/lib/CustomTableOption/columnsSort.js +2 -4
- package/lib/CustomTableOption/filterSort.js +0 -3
- package/lib/CustomTableOption/index.js +2 -2
- package/lib/Dropdown/index.js +2 -2
- package/lib/Dropdown/style/index.css +19 -1
- package/lib/Empty/empty.d.ts +2 -0
- package/lib/Empty/empty.js +66 -0
- package/lib/Empty/index.d.ts +18 -3
- package/lib/Empty/index.js +107 -1
- package/lib/Empty/simple.d.ts +2 -0
- package/lib/Empty/simple.js +47 -0
- package/lib/Empty/style/index.css +44 -0
- package/lib/Form/container.d.ts +8 -0
- package/lib/Form/container.js +112 -0
- package/lib/Form/index.d.ts +10 -2
- package/lib/Form/index.js +30 -2
- package/lib/Form/style/index.css +116 -0
- package/lib/IconFont/index.js +1 -1
- package/lib/LmEditTable/EditTable.js +47 -17
- package/lib/LmFilter/Controls/index.js +32 -2
- package/lib/LmFilter/LmFilter.js +1 -1
- package/lib/LmFilter/baseFilter/index.js +2 -1
- package/lib/LmFilter/complexFilter/drawer.js +33 -32
- package/lib/LmFilter/components/CascaderFilter.js +35 -35
- package/lib/LmFilter/components/CheckboxFilter.js +13 -21
- package/lib/LmFilter/components/DateFilter.js +53 -29
- package/lib/LmFilter/components/DropdownFIlter.js +51 -22
- package/lib/LmFilter/components/SelectFilter.js +2 -3
- package/lib/LmFilter/components/index.js +5 -61
- package/lib/LmFilter/customFilter/index.js +3 -2
- package/lib/LmFilter/filterFns/index.js +65 -25
- package/lib/LmFilter/style/style.css +2 -1
- package/lib/LmFilter/utils.js +63 -14
- package/lib/LmFilter/wrapper/Filter.js +6 -3
- package/lib/LmFilter/wrapper/FilterRoot.js +29 -22
- package/lib/LmTable/Table.js +8 -6
- package/package.json +1 -1
package/dist/Empty/index.d.ts
CHANGED
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface TransferLocale {
|
|
3
|
+
description: string;
|
|
4
|
+
}
|
|
5
|
+
export interface EmptyProps {
|
|
6
|
+
prefixCls?: string;
|
|
4
7
|
className?: string;
|
|
5
8
|
style?: React.CSSProperties;
|
|
9
|
+
/** @since 3.16.0 */
|
|
10
|
+
imageStyle?: React.CSSProperties;
|
|
11
|
+
image?: React.ReactNode;
|
|
12
|
+
description?: React.ReactNode;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
title: string | React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
interface EmptyType extends React.FC<EmptyProps> {
|
|
17
|
+
PRESENTED_IMAGE_DEFAULT: React.ReactNode;
|
|
18
|
+
PRESENTED_IMAGE_SIMPLE: React.ReactNode;
|
|
19
|
+
AntdEmpty: React.ReactNode;
|
|
6
20
|
}
|
|
21
|
+
declare const Empty: EmptyType;
|
|
7
22
|
export default Empty;
|
package/dist/Form/index.d.ts
CHANGED
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Form as AntdForm, FormInstance, FormProps, List } from 'antd';
|
|
2
|
+
import { Form as AntdForm, FormInstance, FormProps, List, FormItemProps } from 'antd';
|
|
3
3
|
import useFormInstance from 'antd/lib/form/hooks/useFormInstance';
|
|
4
4
|
import { FormProvider } from 'antd/lib/form/context';
|
|
5
5
|
import { useForm, useWatch } from 'antd/lib/form/Form';
|
|
6
|
+
export interface LmFormProps extends FormProps {
|
|
7
|
+
responsive?: Boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface LmFormItemProps extends FormItemProps {
|
|
10
|
+
useStatus: any;
|
|
11
|
+
errorPlacement?: string;
|
|
12
|
+
}
|
|
6
13
|
declare const Reform: <Values = any>(props: FormProps<Values> & {
|
|
7
14
|
children?: React.ReactNode;
|
|
8
15
|
} & {
|
|
9
16
|
ref?: React.Ref<FormInstance<Values>>;
|
|
10
17
|
}) => React.ReactElement;
|
|
18
|
+
declare const LMFormItem: (props: LmFormItemProps) => JSX.Element;
|
|
11
19
|
declare type InternalFormType = typeof Reform;
|
|
12
20
|
interface FormInterface extends InternalFormType {
|
|
13
21
|
useForm: typeof useForm;
|
|
14
22
|
useFormInstance: typeof useFormInstance;
|
|
15
23
|
useWatch: typeof useWatch;
|
|
16
|
-
Item: typeof
|
|
24
|
+
Item: typeof LMFormItem;
|
|
17
25
|
List: typeof List;
|
|
18
26
|
ErrorList: typeof AntdForm.ErrorList;
|
|
19
27
|
Provider: typeof FormProvider;
|
|
@@ -4,9 +4,12 @@ declare function CoreOptions({ state, dispatch, props }: {
|
|
|
4
4
|
dispatch: any;
|
|
5
5
|
props: any;
|
|
6
6
|
}): {
|
|
7
|
-
|
|
7
|
+
getState: () => any;
|
|
8
|
+
getBasicFilter: () => any;
|
|
8
9
|
getFilterValue: ({ field, type }: {
|
|
9
10
|
field: any;
|
|
10
11
|
type: any;
|
|
11
12
|
}) => any;
|
|
13
|
+
setFilterValue: (item: any, field: any) => void;
|
|
14
|
+
setLocalization: (localization?: any) => void;
|
|
12
15
|
};
|
package/dist/LmFilter/utils.d.ts
CHANGED