@lemon-fe/components 1.3.8 → 1.3.9
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/es/data-grid/index.d.ts +1 -1
- package/es/filter/index.js +5 -1
- package/es/modal/index.d.ts +1 -1
- package/package.json +2 -2
package/es/data-grid/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ declare const Editors: {
|
|
|
17
17
|
Text: React.ForwardRefExoticComponent<import("ag-grid-community").ICellEditorParams<any, any, any> & import("./typings").TextEditorParams<any> & React.RefAttributes<import("ag-grid-react").ICellEditorReactComp>>;
|
|
18
18
|
Date: React.ForwardRefExoticComponent<import("ag-grid-community").ICellEditorParams<any, any, any> & import("./typings").DateEditorParams<any> & React.RefAttributes<import("ag-grid-react").ICellEditorReactComp>>;
|
|
19
19
|
Number: React.ForwardRefExoticComponent<import("ag-grid-community").ICellEditorParams<any, any, any> & import("./typings").NumberEditorParams<any> & React.RefAttributes<import("ag-grid-react").ICellEditorReactComp>>;
|
|
20
|
-
Select: React.ForwardRefExoticComponent<import("ag-grid-community").ICellEditorParams<any, any, any> & Pick<import("antd").SelectProps<any, import("antd/lib/select").BaseOptionType>, "disabled" | "
|
|
20
|
+
Select: React.ForwardRefExoticComponent<import("ag-grid-community").ICellEditorParams<any, any, any> & Pick<import("antd").SelectProps<any, import("antd/lib/select").BaseOptionType>, "disabled" | "allowClear" | "mode" | "showSearch" | "optionFilterProp" | "options" | "virtual" | "listHeight"> & {
|
|
21
21
|
fieldNames?: {
|
|
22
22
|
label: string;
|
|
23
23
|
value: string;
|
package/es/filter/index.js
CHANGED
|
@@ -81,6 +81,7 @@ var getStorageData = function getData(storageKey) {
|
|
|
81
81
|
return null;
|
|
82
82
|
};
|
|
83
83
|
var setStorageData = function setData(storageKey, data, action) {
|
|
84
|
+
console.log(action);
|
|
84
85
|
localStorage.setItem("filter-storage-".concat(storageKey), JSON.stringify(data));
|
|
85
86
|
};
|
|
86
87
|
var DEFAULT_TAB_ALIAS = '$$default';
|
|
@@ -290,7 +291,10 @@ function Filter(originalProps) {
|
|
|
290
291
|
break;
|
|
291
292
|
case 13:
|
|
292
293
|
if (storageKey) {
|
|
293
|
-
setStorageData(storageKey, searches,
|
|
294
|
+
setStorageData(storageKey, searches, {
|
|
295
|
+
type: action,
|
|
296
|
+
target: target
|
|
297
|
+
});
|
|
294
298
|
}
|
|
295
299
|
case 14:
|
|
296
300
|
case "end":
|
package/es/modal/index.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ declare const Modal: Pick<React.FC<AntdModalProps> & import("antd/lib/modal/conf
|
|
|
12
12
|
useModal: typeof import("antd/lib/modal/useModal").default;
|
|
13
13
|
destroyAll: () => void;
|
|
14
14
|
config: typeof import("antd/lib/modal/confirm").modalGlobalConfig;
|
|
15
|
-
}, "
|
|
15
|
+
}, "warning" | "error" | "success" | "info" | "warn" | "confirm" | "useModal" | "destroyAll" | "config"> & typeof LemonModal;
|
|
16
16
|
export default Modal;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"registry": "https://registry.npmjs.org"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "7656e6f471ff70026e3f2b550b122d06d9495ae0"
|
|
62
62
|
}
|