@fle-ui/next 2.0.1 → 2.0.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/fui.min.css +1 -1
- package/es/alert/index.d.ts +3 -3
- package/es/anchor/index.d.ts +3 -3
- package/es/badge/index.d.ts +2 -2
- package/es/badge/index.js +1 -1
- package/es/breadcrumb/Breadcrumb.d.ts +3 -3
- package/es/breadcrumb/BreadcrumbItem.d.ts +3 -3
- package/es/breadcrumb/BreadcrumbSeparator.d.ts +3 -4
- package/es/button/button.d.ts +2 -2
- package/es/calendar/locale/uz_UZ.d.ts +2 -0
- package/es/calendar/locale/uz_UZ.js +2 -0
- package/es/card/style/index-pure.less +1 -0
- package/es/card/style/index.css +1 -0
- package/es/checkbox/index.d.ts +2 -2
- package/es/collapse/Collapse.d.ts +3 -3
- package/es/date-picker/generatePicker/generateRangePicker.js +2 -2
- package/es/date-picker/generatePicker/generateSinglePicker.js +3 -3
- package/es/date-picker/locale/uz_UZ.d.ts +3 -0
- package/es/date-picker/locale/uz_UZ.js +21 -0
- package/es/divider/style/index-pure.less +1 -5
- package/es/divider/style/index.css +1 -5
- package/es/drawer/index.js +1 -1
- package/es/dropdown/dropdown-button.d.ts +2 -3
- package/es/dropdown/dropdown.d.ts +5 -3
- package/es/dropdown/dropdown.js +4 -2
- package/es/dropdown/style/index-pure.less +1 -1
- package/es/dropdown/style/index.css +12 -6
- package/es/empty/index.d.ts +3 -3
- package/es/form/FormItem/index.d.ts +3 -3
- package/es/form/index.d.ts +3 -3
- package/es/grid/row.js +4 -0
- package/es/input/index.d.ts +2 -2
- package/es/input/style/affix.less +1 -1
- package/es/input/style/index.css +1 -1
- package/es/layout/index.d.ts +3 -3
- package/es/locale/pt_BR.js +1 -0
- package/es/locale/uz_UZ.d.ts +3 -0
- package/es/locale/uz_UZ.js +128 -0
- package/es/locale-provider/uz_UZ.d.ts +2 -0
- package/es/locale-provider/uz_UZ.js +2 -0
- package/es/mentions/index.d.ts +3 -3
- package/es/menu/style/index-pure.less +1 -0
- package/es/menu/style/index.css +1 -0
- package/es/message/index.d.ts +5 -5
- package/es/pagination/Select.d.ts +4 -4
- package/es/popover/style/index-pure.less +0 -1
- package/es/popover/style/index.css +0 -1
- package/es/radio/index.d.ts +2 -2
- package/es/result/index.d.ts +4 -4
- package/es/segmented/index.d.ts +1 -1
- package/es/skeleton/Skeleton.d.ts +3 -4
- package/es/space/index.d.ts +2 -2
- package/es/statistic/Countdown.d.ts +1 -1
- package/es/statistic/Statistic.d.ts +3 -3
- package/es/steps/index.d.ts +3 -3
- package/es/steps/style/index.css +22 -5
- package/es/steps/style/progress.less +17 -4
- package/es/steps/style/rtl.less +20 -4
- package/es/steps/style/vertical.less +2 -2
- package/es/style/theme.less +0 -2
- package/es/switch/index.d.ts +1 -2
- package/es/table/Table.d.ts +3 -3
- package/es/table/hooks/useSorter.js +1 -1
- package/es/time-picker/index.js +4 -3
- package/es/time-picker/locale/uz_UZ.d.ts +3 -0
- package/es/time-picker/locale/uz_UZ.js +5 -0
- package/es/timeline/Timeline.d.ts +3 -3
- package/es/tree-select/index.d.ts +3 -3
- package/es/upload/index.d.ts +3 -3
- package/es/version/version.d.ts +1 -1
- package/es/version/version.js +1 -1
- package/lib/_util/transButton.js +1 -3
- package/lib/affix/index.js +1 -3
- package/lib/alert/index.d.ts +3 -3
- package/lib/alert/index.js +1 -3
- package/lib/anchor/index.d.ts +3 -3
- package/lib/avatar/avatar.js +1 -3
- package/lib/badge/ScrollNumber.js +1 -3
- package/lib/badge/index.d.ts +2 -2
- package/lib/badge/index.js +2 -4
- package/lib/breadcrumb/Breadcrumb.d.ts +3 -3
- package/lib/breadcrumb/Breadcrumb.js +1 -3
- package/lib/breadcrumb/BreadcrumbItem.d.ts +3 -3
- package/lib/breadcrumb/BreadcrumbItem.js +1 -3
- package/lib/breadcrumb/BreadcrumbSeparator.d.ts +3 -4
- package/lib/button/button-group.js +1 -3
- package/lib/button/button.d.ts +2 -2
- package/lib/button/button.js +1 -3
- package/lib/calendar/locale/uz_UZ.d.ts +2 -0
- package/lib/calendar/locale/uz_UZ.js +13 -0
- package/lib/card/Card.js +1 -3
- package/lib/card/Grid.js +1 -3
- package/lib/card/Meta.js +1 -3
- package/lib/card/style/index-pure.less +1 -0
- package/lib/card/style/index.css +1 -0
- package/lib/carousel/index.js +1 -3
- package/lib/cascader/index.js +1 -3
- package/lib/checkbox/Checkbox.js +1 -3
- package/lib/checkbox/Group.js +1 -3
- package/lib/checkbox/index.d.ts +2 -2
- package/lib/collapse/Collapse.d.ts +3 -3
- package/lib/comment/index.js +1 -3
- package/lib/date-picker/generatePicker/generateRangePicker.js +3 -5
- package/lib/date-picker/generatePicker/generateSinglePicker.js +4 -6
- package/lib/date-picker/locale/uz_UZ.d.ts +3 -0
- package/lib/date-picker/locale/uz_UZ.js +34 -0
- package/lib/divider/index.js +1 -3
- package/lib/divider/style/index-pure.less +1 -5
- package/lib/divider/style/index.css +1 -5
- package/lib/drawer/index.js +2 -4
- package/lib/dropdown/dropdown-button.d.ts +2 -3
- package/lib/dropdown/dropdown-button.js +1 -3
- package/lib/dropdown/dropdown.d.ts +5 -3
- package/lib/dropdown/dropdown.js +4 -2
- package/lib/dropdown/style/index-pure.less +1 -1
- package/lib/dropdown/style/index.css +12 -6
- package/lib/empty/index.d.ts +3 -3
- package/lib/empty/index.js +1 -3
- package/lib/form/Form.js +1 -3
- package/lib/form/FormItem/ItemHolder.js +1 -3
- package/lib/form/FormItem/index.d.ts +3 -3
- package/lib/form/FormItemLabel.js +1 -3
- package/lib/form/FormList.js +1 -3
- package/lib/form/index.d.ts +3 -3
- package/lib/grid/col.js +1 -3
- package/lib/grid/row.js +5 -3
- package/lib/image/PreviewGroup.js +1 -3
- package/lib/image/index.js +1 -3
- package/lib/input/Input.js +1 -3
- package/lib/input/Password.js +1 -3
- package/lib/input/Search.js +1 -3
- package/lib/input/TextArea.js +1 -3
- package/lib/input/index.d.ts +2 -2
- package/lib/input/style/affix.less +1 -1
- package/lib/input/style/index.css +1 -1
- package/lib/input-number/index.js +1 -3
- package/lib/layout/Sider.js +1 -3
- package/lib/layout/index.d.ts +3 -3
- package/lib/layout/layout.js +1 -3
- package/lib/list/Item.js +1 -3
- package/lib/list/index.js +1 -3
- package/lib/locale/pt_BR.js +1 -0
- package/lib/locale/uz_UZ.d.ts +3 -0
- package/lib/locale/uz_UZ.js +143 -0
- package/lib/locale-provider/uz_UZ.d.ts +2 -0
- package/lib/locale-provider/uz_UZ.js +13 -0
- package/lib/mentions/index.d.ts +3 -3
- package/lib/mentions/index.js +1 -3
- package/lib/menu/MenuDivider.js +1 -3
- package/lib/menu/MenuItem.js +1 -3
- package/lib/menu/OverrideContext.js +1 -3
- package/lib/menu/hooks/useItems.js +1 -3
- package/lib/menu/index.js +1 -3
- package/lib/menu/style/index-pure.less +1 -0
- package/lib/menu/style/index.css +1 -0
- package/lib/message/index.d.ts +5 -5
- package/lib/modal/Modal.js +1 -3
- package/lib/modal/confirm.js +1 -3
- package/lib/notification/index.js +7 -9
- package/lib/pagination/Pagination.js +1 -3
- package/lib/pagination/Select.d.ts +4 -4
- package/lib/popconfirm/index.js +1 -3
- package/lib/popover/index.js +1 -3
- package/lib/popover/style/index-pure.less +0 -1
- package/lib/popover/style/index.css +0 -1
- package/lib/progress/Line.js +1 -3
- package/lib/progress/progress.js +1 -3
- package/lib/radio/index.d.ts +2 -2
- package/lib/radio/radio.js +1 -3
- package/lib/radio/radioButton.js +1 -3
- package/lib/rate/index.js +1 -3
- package/lib/result/index.d.ts +4 -4
- package/lib/segmented/index.d.ts +1 -1
- package/lib/segmented/index.js +1 -3
- package/lib/select/index.js +1 -3
- package/lib/skeleton/Skeleton.d.ts +3 -4
- package/lib/slider/index.js +1 -3
- package/lib/space/Compact.js +1 -3
- package/lib/space/index.d.ts +2 -2
- package/lib/space/index.js +1 -3
- package/lib/spin/index.js +1 -3
- package/lib/statistic/Countdown.d.ts +1 -1
- package/lib/statistic/Statistic.d.ts +3 -3
- package/lib/steps/index.d.ts +3 -3
- package/lib/steps/index.js +1 -3
- package/lib/steps/style/index.css +22 -5
- package/lib/steps/style/progress.less +17 -4
- package/lib/steps/style/rtl.less +20 -4
- package/lib/steps/style/vertical.less +2 -2
- package/lib/style/theme.less +0 -2
- package/lib/switch/index.d.ts +1 -2
- package/lib/switch/index.js +1 -3
- package/lib/table/Table.d.ts +3 -3
- package/lib/table/hooks/usePagination.js +1 -3
- package/lib/table/hooks/useSorter.js +1 -1
- package/lib/tabs/hooks/useLegacyItems.js +1 -3
- package/lib/tabs/index.js +1 -3
- package/lib/tag/CheckableTag.js +1 -3
- package/lib/tag/index.js +1 -3
- package/lib/time-picker/index.js +5 -6
- package/lib/time-picker/locale/uz_UZ.d.ts +3 -0
- package/lib/time-picker/locale/uz_UZ.js +12 -0
- package/lib/timeline/Timeline.d.ts +3 -3
- package/lib/timeline/Timeline.js +1 -3
- package/lib/timeline/TimelineItem.js +1 -3
- package/lib/tooltip/index.js +1 -3
- package/lib/tree/DirectoryTree.js +1 -3
- package/lib/tree-select/index.d.ts +3 -3
- package/lib/tree-select/index.js +1 -3
- package/lib/typography/Base/index.js +1 -3
- package/lib/typography/Link.js +1 -3
- package/lib/typography/Text.js +1 -3
- package/lib/typography/Title.js +1 -3
- package/lib/typography/Typography.js +1 -3
- package/lib/upload/Dragger.js +1 -3
- package/lib/upload/Upload.js +61 -63
- package/lib/upload/index.d.ts +3 -3
- package/lib/version/version.d.ts +1 -1
- package/lib/version/version.js +1 -1
- package/package.json +2 -2
|
@@ -205,19 +205,25 @@
|
|
|
205
205
|
.ant-dropdown-menu-submenu-title.ant-dropdown-menu-submenu-title-active {
|
|
206
206
|
background-color: #f5f5f5;
|
|
207
207
|
}
|
|
208
|
-
.ant-dropdown-menu-item-disabled,
|
|
209
|
-
.ant-dropdown-menu-submenu-title-disabled
|
|
208
|
+
.ant-dropdown-menu-item.ant-dropdown-menu-item-disabled,
|
|
209
|
+
.ant-dropdown-menu-item.ant-dropdown-menu-submenu-title-disabled,
|
|
210
|
+
.ant-dropdown-menu-submenu-title.ant-dropdown-menu-item-disabled,
|
|
211
|
+
.ant-dropdown-menu-submenu-title.ant-dropdown-menu-submenu-title-disabled {
|
|
210
212
|
color: rgba(0, 0, 0, 0.25);
|
|
211
213
|
cursor: not-allowed;
|
|
212
214
|
}
|
|
213
|
-
.ant-dropdown-menu-item-disabled:hover,
|
|
214
|
-
.ant-dropdown-menu-submenu-title-disabled:hover
|
|
215
|
+
.ant-dropdown-menu-item.ant-dropdown-menu-item-disabled:hover,
|
|
216
|
+
.ant-dropdown-menu-item.ant-dropdown-menu-submenu-title-disabled:hover,
|
|
217
|
+
.ant-dropdown-menu-submenu-title.ant-dropdown-menu-item-disabled:hover,
|
|
218
|
+
.ant-dropdown-menu-submenu-title.ant-dropdown-menu-submenu-title-disabled:hover {
|
|
215
219
|
color: rgba(0, 0, 0, 0.25);
|
|
216
220
|
background-color: #fff;
|
|
217
221
|
cursor: not-allowed;
|
|
218
222
|
}
|
|
219
|
-
.ant-dropdown-menu-item-disabled a,
|
|
220
|
-
.ant-dropdown-menu-submenu-title-disabled a
|
|
223
|
+
.ant-dropdown-menu-item.ant-dropdown-menu-item-disabled a,
|
|
224
|
+
.ant-dropdown-menu-item.ant-dropdown-menu-submenu-title-disabled a,
|
|
225
|
+
.ant-dropdown-menu-submenu-title.ant-dropdown-menu-item-disabled a,
|
|
226
|
+
.ant-dropdown-menu-submenu-title.ant-dropdown-menu-submenu-title-disabled a {
|
|
221
227
|
pointer-events: none;
|
|
222
228
|
}
|
|
223
229
|
.ant-dropdown-menu-item-divider,
|
package/lib/empty/index.d.ts
CHANGED
|
@@ -12,9 +12,9 @@ export interface EmptyProps {
|
|
|
12
12
|
description?: React.ReactNode;
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
type CompoundedComponent = React.FC<EmptyProps> & {
|
|
16
16
|
PRESENTED_IMAGE_DEFAULT: React.ReactNode;
|
|
17
17
|
PRESENTED_IMAGE_SIMPLE: React.ReactNode;
|
|
18
|
-
}
|
|
19
|
-
declare const Empty:
|
|
18
|
+
};
|
|
19
|
+
declare const Empty: CompoundedComponent;
|
|
20
20
|
export default Empty;
|
package/lib/empty/index.js
CHANGED
|
@@ -28,9 +28,7 @@ var _simple = _interopRequireDefault(require("./simple"));
|
|
|
28
28
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
29
29
|
var t = {};
|
|
30
30
|
|
|
31
|
-
for (var p in s)
|
|
32
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
33
|
-
}
|
|
31
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
34
32
|
|
|
35
33
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
36
34
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/form/Form.js
CHANGED
|
@@ -54,9 +54,7 @@ var _useForm3 = _interopRequireDefault(require("./hooks/useForm"));
|
|
|
54
54
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
55
55
|
var t = {};
|
|
56
56
|
|
|
57
|
-
for (var p in s)
|
|
58
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
59
|
-
}
|
|
57
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
60
58
|
|
|
61
59
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
62
60
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
@@ -44,9 +44,7 @@ var _useDebounce = _interopRequireDefault(require("../hooks/useDebounce"));
|
|
|
44
44
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
45
45
|
var t = {};
|
|
46
46
|
|
|
47
|
-
for (var p in s)
|
|
48
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
49
|
-
}
|
|
47
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
50
48
|
|
|
51
49
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
52
50
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
@@ -28,8 +28,8 @@ export interface FormItemProps<Values = any> extends FormItemLabelProps, FormIte
|
|
|
28
28
|
}
|
|
29
29
|
declare function InternalFormItem<Values = any>(props: FormItemProps<Values>): React.ReactElement;
|
|
30
30
|
type InternalFormItemType = typeof InternalFormItem;
|
|
31
|
-
|
|
31
|
+
type CompoundedComponent = InternalFormItemType & {
|
|
32
32
|
useStatus: typeof useFormItemStatus;
|
|
33
|
-
}
|
|
34
|
-
declare const FormItem:
|
|
33
|
+
};
|
|
34
|
+
declare const FormItem: CompoundedComponent;
|
|
35
35
|
export default FormItem;
|
|
@@ -36,9 +36,7 @@ var _context = require("./context");
|
|
|
36
36
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
37
37
|
var t = {};
|
|
38
38
|
|
|
39
|
-
for (var p in s)
|
|
40
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
41
|
-
}
|
|
39
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
42
40
|
|
|
43
41
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
42
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/form/FormList.js
CHANGED
|
@@ -24,9 +24,7 @@ var _context = require("./context");
|
|
|
24
24
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
25
25
|
var t = {};
|
|
26
26
|
|
|
27
|
-
for (var p in s)
|
|
28
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
29
|
-
}
|
|
27
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
30
28
|
|
|
31
29
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
32
30
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/form/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import Item, { FormItemProps } from './FormItem';
|
|
|
6
6
|
import List, { FormListFieldData, FormListOperation, FormListProps } from './FormList';
|
|
7
7
|
import useFormInstance from './hooks/useFormInstance';
|
|
8
8
|
type InternalFormType = typeof InternalForm;
|
|
9
|
-
|
|
9
|
+
type CompoundedComponent = InternalFormType & {
|
|
10
10
|
useForm: typeof useForm;
|
|
11
11
|
useFormInstance: typeof useFormInstance;
|
|
12
12
|
useWatch: typeof useWatch;
|
|
@@ -16,7 +16,7 @@ interface FormInterface extends InternalFormType {
|
|
|
16
16
|
Provider: typeof FormProvider;
|
|
17
17
|
/** @deprecated Only for warning usage. Do not use. */
|
|
18
18
|
create: () => void;
|
|
19
|
-
}
|
|
20
|
-
declare const Form:
|
|
19
|
+
};
|
|
20
|
+
declare const Form: CompoundedComponent;
|
|
21
21
|
export { FormInstance, FormProps, FormItemProps, ErrorListProps, Rule, RuleObject, RuleRender, FormListProps, FormListFieldData, FormListOperation, };
|
|
22
22
|
export default Form;
|
package/lib/grid/col.js
CHANGED
|
@@ -26,9 +26,7 @@ var _RowContext = _interopRequireDefault(require("./RowContext"));
|
|
|
26
26
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
27
27
|
var t = {};
|
|
28
28
|
|
|
29
|
-
for (var p in s)
|
|
30
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
31
|
-
}
|
|
29
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
32
30
|
|
|
33
31
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
32
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/grid/row.js
CHANGED
|
@@ -34,9 +34,7 @@ var _RowContext = _interopRequireDefault(require("./RowContext"));
|
|
|
34
34
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
35
35
|
var t = {};
|
|
36
36
|
|
|
37
|
-
for (var p in s)
|
|
38
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
39
|
-
}
|
|
37
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
40
38
|
|
|
41
39
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
40
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
@@ -54,6 +52,10 @@ function useMergePropByScreen(oriProp, screen) {
|
|
|
54
52
|
setProp = _React$useState2[1];
|
|
55
53
|
|
|
56
54
|
var clacMergeAlignOrJustify = function clacMergeAlignOrJustify() {
|
|
55
|
+
if (typeof oriProp === 'string') {
|
|
56
|
+
setProp(oriProp);
|
|
57
|
+
}
|
|
58
|
+
|
|
57
59
|
if ((0, _typeof2["default"])(oriProp) !== 'object') {
|
|
58
60
|
return;
|
|
59
61
|
}
|
|
@@ -38,9 +38,7 @@ var _motion = require("../_util/motion");
|
|
|
38
38
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
39
39
|
var t = {};
|
|
40
40
|
|
|
41
|
-
for (var p in s)
|
|
42
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
43
|
-
}
|
|
41
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
44
42
|
|
|
45
43
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
46
44
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/image/index.js
CHANGED
|
@@ -30,9 +30,7 @@ var _PreviewGroup = _interopRequireWildcard(require("./PreviewGroup"));
|
|
|
30
30
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
31
31
|
var t = {};
|
|
32
32
|
|
|
33
|
-
for (var p in s)
|
|
34
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
35
|
-
}
|
|
33
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
36
34
|
|
|
37
35
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
38
36
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/input/Input.js
CHANGED
|
@@ -49,9 +49,7 @@ var _utils = require("./utils");
|
|
|
49
49
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
50
50
|
var t = {};
|
|
51
51
|
|
|
52
|
-
for (var p in s)
|
|
53
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
54
|
-
}
|
|
52
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
55
53
|
|
|
56
54
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
57
55
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/input/Password.js
CHANGED
|
@@ -38,9 +38,7 @@ var _Input = _interopRequireDefault(require("./Input"));
|
|
|
38
38
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
39
39
|
var t = {};
|
|
40
40
|
|
|
41
|
-
for (var p in s)
|
|
42
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
43
|
-
}
|
|
41
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
44
42
|
|
|
45
43
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
46
44
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/input/Search.js
CHANGED
|
@@ -36,9 +36,7 @@ var _Input = _interopRequireDefault(require("./Input"));
|
|
|
36
36
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
37
37
|
var t = {};
|
|
38
38
|
|
|
39
|
-
for (var p in s)
|
|
40
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
41
|
-
}
|
|
39
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
42
40
|
|
|
43
41
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
42
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/input/TextArea.js
CHANGED
|
@@ -46,9 +46,7 @@ var _Input = require("./Input");
|
|
|
46
46
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
47
47
|
var t = {};
|
|
48
48
|
|
|
49
|
-
for (var p in s)
|
|
50
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
51
|
-
}
|
|
49
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
52
50
|
|
|
53
51
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
54
52
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/input/index.d.ts
CHANGED
|
@@ -9,11 +9,11 @@ export { InputProps, InputRef } from './Input';
|
|
|
9
9
|
export { PasswordProps } from './Password';
|
|
10
10
|
export { SearchProps } from './Search';
|
|
11
11
|
export { TextAreaProps } from './TextArea';
|
|
12
|
-
|
|
12
|
+
type CompoundedComponent = React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>> & {
|
|
13
13
|
Group: typeof Group;
|
|
14
14
|
Search: typeof Search;
|
|
15
15
|
TextArea: typeof TextArea;
|
|
16
16
|
Password: typeof Password;
|
|
17
|
-
}
|
|
17
|
+
};
|
|
18
18
|
declare const Input: CompoundedComponent;
|
|
19
19
|
export default Input;
|
|
@@ -133,7 +133,7 @@ textarea.ant-input-affix-wrapper {
|
|
|
133
133
|
z-index: 1;
|
|
134
134
|
}
|
|
135
135
|
.ant-input-affix-wrapper-disabled .ant-input[disabled] {
|
|
136
|
-
background:
|
|
136
|
+
background: rgba(255, 255, 255, 0);
|
|
137
137
|
}
|
|
138
138
|
.ant-input-affix-wrapper > .ant-input {
|
|
139
139
|
font-size: inherit;
|
|
@@ -44,9 +44,7 @@ var _statusUtils = require("../_util/statusUtils");
|
|
|
44
44
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
45
45
|
var t = {};
|
|
46
46
|
|
|
47
|
-
for (var p in s)
|
|
48
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
49
|
-
}
|
|
47
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
50
48
|
|
|
51
49
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
52
50
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/layout/Sider.js
CHANGED
|
@@ -36,9 +36,7 @@ var _layout = require("./layout");
|
|
|
36
36
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
37
37
|
var t = {};
|
|
38
38
|
|
|
39
|
-
for (var p in s)
|
|
40
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
41
|
-
}
|
|
39
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
42
40
|
|
|
43
41
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
42
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/layout/index.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ import Sider from './Sider';
|
|
|
3
3
|
export { BasicProps as LayoutProps } from './layout';
|
|
4
4
|
export { SiderProps } from './Sider';
|
|
5
5
|
type InternalLayoutType = typeof InternalLayout;
|
|
6
|
-
|
|
6
|
+
type CompoundedComponent = InternalLayoutType & {
|
|
7
7
|
Header: typeof Header;
|
|
8
8
|
Footer: typeof Footer;
|
|
9
9
|
Content: typeof Content;
|
|
10
10
|
Sider: typeof Sider;
|
|
11
|
-
}
|
|
12
|
-
declare const Layout:
|
|
11
|
+
};
|
|
12
|
+
declare const Layout: CompoundedComponent;
|
|
13
13
|
export default Layout;
|
package/lib/layout/layout.js
CHANGED
|
@@ -26,9 +26,7 @@ var _configProvider = require("../config-provider");
|
|
|
26
26
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
27
27
|
var t = {};
|
|
28
28
|
|
|
29
|
-
for (var p in s)
|
|
30
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
31
|
-
}
|
|
29
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
32
30
|
|
|
33
31
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
32
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/list/Item.js
CHANGED
|
@@ -28,9 +28,7 @@ var _index = require("./index");
|
|
|
28
28
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
29
29
|
var t = {};
|
|
30
30
|
|
|
31
|
-
for (var p in s)
|
|
32
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
33
|
-
}
|
|
31
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
34
32
|
|
|
35
33
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
36
34
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/list/index.js
CHANGED
|
@@ -42,9 +42,7 @@ var _Item = _interopRequireDefault(require("./Item"));
|
|
|
42
42
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
43
43
|
var t = {};
|
|
44
44
|
|
|
45
|
-
for (var p in s)
|
|
46
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
47
|
-
}
|
|
45
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
48
46
|
|
|
49
47
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
50
48
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/locale/pt_BR.js
CHANGED
|
@@ -32,6 +32,7 @@ var localeValues = {
|
|
|
32
32
|
filterConfirm: 'OK',
|
|
33
33
|
filterReset: 'Resetar',
|
|
34
34
|
filterEmptyText: 'Sem filtros',
|
|
35
|
+
filterCheckall: 'Selecionar todos os items',
|
|
35
36
|
emptyText: 'Sem conteúdo',
|
|
36
37
|
selectAll: 'Selecionar página atual',
|
|
37
38
|
selectInvert: 'Inverter seleção',
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _uz_UZ = _interopRequireDefault(require("rc-pagination/lib/locale/uz_UZ"));
|
|
11
|
+
|
|
12
|
+
var _uz_UZ2 = _interopRequireDefault(require("../calendar/locale/uz_UZ"));
|
|
13
|
+
|
|
14
|
+
var _uz_UZ3 = _interopRequireDefault(require("../date-picker/locale/uz_UZ"));
|
|
15
|
+
|
|
16
|
+
var _uz_UZ4 = _interopRequireDefault(require("../time-picker/locale/uz_UZ"));
|
|
17
|
+
/* eslint-disable no-template-curly-in-string */
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
var typeTemplate = '${label} ${type}-ning usulidan emas';
|
|
21
|
+
var localeValues = {
|
|
22
|
+
locale: 'uz',
|
|
23
|
+
Pagination: _uz_UZ["default"],
|
|
24
|
+
DatePicker: _uz_UZ3["default"],
|
|
25
|
+
TimePicker: _uz_UZ4["default"],
|
|
26
|
+
Calendar: _uz_UZ2["default"],
|
|
27
|
+
global: {
|
|
28
|
+
placeholder: 'Iltimos tanlang'
|
|
29
|
+
},
|
|
30
|
+
Table: {
|
|
31
|
+
filterTitle: 'Filtr',
|
|
32
|
+
filterConfirm: 'OK',
|
|
33
|
+
filterReset: 'Qayta tiklash',
|
|
34
|
+
filterEmptyText: 'Filtrsiz',
|
|
35
|
+
emptyText: "Ma'lumot yo'q",
|
|
36
|
+
selectAll: 'Hammasini tanlash',
|
|
37
|
+
selectInvert: 'Tanlovni kiritish',
|
|
38
|
+
selectNone: "Ma'lumotni ochirib tashlash",
|
|
39
|
+
selectionAll: "Ma'lumotning hammasini tanlash",
|
|
40
|
+
sortTitle: 'Saralash',
|
|
41
|
+
expand: 'Satirni kengaytirish',
|
|
42
|
+
collapse: 'Satirni qisqartirish',
|
|
43
|
+
triggerDesc: 'Kamayib borish tartibida saralashni bosing',
|
|
44
|
+
triggerAsc: "Ko'payib borish tartibida saralashni bosing",
|
|
45
|
+
cancelSort: 'Saralashni yakunlash uchun bosing'
|
|
46
|
+
},
|
|
47
|
+
Modal: {
|
|
48
|
+
okText: 'OK',
|
|
49
|
+
cancelText: 'Bekor qilish',
|
|
50
|
+
justOkText: 'OK'
|
|
51
|
+
},
|
|
52
|
+
Popconfirm: {
|
|
53
|
+
okText: 'OK',
|
|
54
|
+
cancelText: 'Bekor qilish'
|
|
55
|
+
},
|
|
56
|
+
Transfer: {
|
|
57
|
+
titles: ['', ''],
|
|
58
|
+
searchPlaceholder: 'Qidirish',
|
|
59
|
+
itemUnit: 'elem.',
|
|
60
|
+
itemsUnit: 'elem.',
|
|
61
|
+
remove: "O'chirish",
|
|
62
|
+
selectAll: "Ma'lumotning hammasini tanlash",
|
|
63
|
+
selectCurrent: 'Joriy sahifani tanlang',
|
|
64
|
+
selectInvert: "Kamayib borish tartibida ko'rsatish",
|
|
65
|
+
removeAll: "Ma'lumotning hammasini ochirish",
|
|
66
|
+
removeCurrent: 'Joriy sahifani ochirish'
|
|
67
|
+
},
|
|
68
|
+
Upload: {
|
|
69
|
+
uploading: 'Yuklash...',
|
|
70
|
+
removeFile: 'Faylni ochirish',
|
|
71
|
+
uploadError: 'Yuklashda xatolik yuz berdi',
|
|
72
|
+
previewFile: "Faylni oldindan ko'rib chiqish",
|
|
73
|
+
downloadFile: 'Faylni yuklash'
|
|
74
|
+
},
|
|
75
|
+
Empty: {
|
|
76
|
+
description: "Ma'lumot yo'q"
|
|
77
|
+
},
|
|
78
|
+
Icon: {
|
|
79
|
+
icon: 'belgi'
|
|
80
|
+
},
|
|
81
|
+
Text: {
|
|
82
|
+
edit: 'Tahrirlash',
|
|
83
|
+
copy: "Kopiya qilish'",
|
|
84
|
+
copied: 'Kopiya qilingan',
|
|
85
|
+
expand: 'Ochish'
|
|
86
|
+
},
|
|
87
|
+
PageHeader: {
|
|
88
|
+
back: 'Orqaga'
|
|
89
|
+
},
|
|
90
|
+
Form: {
|
|
91
|
+
defaultValidateMessages: {
|
|
92
|
+
"default": 'Maydonni tekshirish xatosi ${label}',
|
|
93
|
+
required: 'Iltimos, ${label} kiriting',
|
|
94
|
+
"enum": "${label} [${enum}] dan biri bo'lishi kerak",
|
|
95
|
+
whitespace: "${label} bo'sh bo'la olmaydi",
|
|
96
|
+
date: {
|
|
97
|
+
format: "${label} noto'g'ri sana ko'rinishi",
|
|
98
|
+
parse: '${label} sanaga aylanmadi',
|
|
99
|
+
invalid: "${label} noto'g'ri sana hisoblanadi"
|
|
100
|
+
},
|
|
101
|
+
types: {
|
|
102
|
+
string: typeTemplate,
|
|
103
|
+
method: typeTemplate,
|
|
104
|
+
array: typeTemplate,
|
|
105
|
+
object: typeTemplate,
|
|
106
|
+
number: typeTemplate,
|
|
107
|
+
date: typeTemplate,
|
|
108
|
+
"boolean": typeTemplate,
|
|
109
|
+
integer: typeTemplate,
|
|
110
|
+
"float": typeTemplate,
|
|
111
|
+
regexp: typeTemplate,
|
|
112
|
+
email: typeTemplate,
|
|
113
|
+
url: typeTemplate,
|
|
114
|
+
hex: typeTemplate
|
|
115
|
+
},
|
|
116
|
+
string: {
|
|
117
|
+
len: "${label} ${len} belgilar bo'lishi kerak",
|
|
118
|
+
min: "${label} ${min} belgilaridan katta yoki teng bo'lishi kerak",
|
|
119
|
+
max: "${label} ${max} belgilaridan kam yoki teng bo'lishi kerak",
|
|
120
|
+
range: "${label} uzunligi ${min} - ${max} belgilar orasida bo'lishi kerak"
|
|
121
|
+
},
|
|
122
|
+
number: {
|
|
123
|
+
len: "${label} ${len}ga teng bo'lishi kerak",
|
|
124
|
+
min: "${label} ${min} dan katta yoki teng bo'lishi kerak",
|
|
125
|
+
max: "${label} ${max} dan kam yoki unga teng bo'lishi kerak"
|
|
126
|
+
},
|
|
127
|
+
array: {
|
|
128
|
+
len: "${label} elementlari soni ${len} ga teng bo'lishi kerak",
|
|
129
|
+
min: "${label} elementlari soni ${min} dan katta yoki teng bo'lishi kerak",
|
|
130
|
+
max: "${label} elementlari soni ${max} dan kam yoki unga teng bo'lishi kerak",
|
|
131
|
+
range: "${label} elementlari soni ${min} va ${max} orasida bo'lishi kerak"
|
|
132
|
+
},
|
|
133
|
+
pattern: {
|
|
134
|
+
mismatch: '${label} ${pattern} naqshga mos kelmaydi'
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
Image: {
|
|
139
|
+
preview: "Oldindan ko'rish"
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
var _default = localeValues;
|
|
143
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _uz_UZ = _interopRequireDefault(require("../locale/uz_UZ"));
|
|
11
|
+
|
|
12
|
+
var _default = _uz_UZ["default"];
|
|
13
|
+
exports["default"] = _default;
|
package/lib/mentions/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import type { InputStatus } from '../_util/statusUtils';
|
|
4
4
|
export declare const Option: React.FC<import("rc-mentions/lib/Option").OptionProps>;
|
|
5
5
|
export type MentionPlacement = 'top' | 'bottom';
|
|
6
|
-
export type { DataDrivenOptionProps as MentionsOptionProps
|
|
6
|
+
export type { DataDrivenOptionProps as MentionsOptionProps } from 'rc-mentions/lib/Mentions';
|
|
7
7
|
export interface OptionProps {
|
|
8
8
|
value: string;
|
|
9
9
|
children: React.ReactNode;
|
|
@@ -27,9 +27,9 @@ interface MentionsEntity {
|
|
|
27
27
|
prefix: string;
|
|
28
28
|
value: string;
|
|
29
29
|
}
|
|
30
|
-
|
|
30
|
+
type CompoundedComponent = React.ForwardRefExoticComponent<MentionProps & React.RefAttributes<MentionsRef>> & {
|
|
31
31
|
Option: typeof Option;
|
|
32
32
|
getMentions: (value: string, config?: MentionsConfig) => MentionsEntity[];
|
|
33
|
-
}
|
|
33
|
+
};
|
|
34
34
|
declare const Mentions: CompoundedComponent;
|
|
35
35
|
export default Mentions;
|
package/lib/mentions/index.js
CHANGED
|
@@ -38,9 +38,7 @@ var _warning = _interopRequireDefault(require("../_util/warning"));
|
|
|
38
38
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
39
39
|
var t = {};
|
|
40
40
|
|
|
41
|
-
for (var p in s)
|
|
42
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
43
|
-
}
|
|
41
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
44
42
|
|
|
45
43
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
46
44
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/menu/MenuDivider.js
CHANGED
|
@@ -24,9 +24,7 @@ var _configProvider = require("../config-provider");
|
|
|
24
24
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
25
25
|
var t = {};
|
|
26
26
|
|
|
27
|
-
for (var p in s)
|
|
28
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
29
|
-
}
|
|
27
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
30
28
|
|
|
31
29
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
32
30
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
package/lib/menu/MenuItem.js
CHANGED
|
@@ -40,9 +40,7 @@ var _MenuContext = _interopRequireDefault(require("./MenuContext"));
|
|
|
40
40
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
41
41
|
var t = {};
|
|
42
42
|
|
|
43
|
-
for (var p in s)
|
|
44
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
45
|
-
}
|
|
43
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
46
44
|
|
|
47
45
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
48
46
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
@@ -16,9 +16,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
16
16
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
17
17
|
var t = {};
|
|
18
18
|
|
|
19
|
-
for (var p in s)
|
|
20
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
21
|
-
}
|
|
19
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
22
20
|
|
|
23
21
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
24
22
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
@@ -26,9 +26,7 @@ var _SubMenu = _interopRequireDefault(require("../SubMenu"));
|
|
|
26
26
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
27
27
|
var t = {};
|
|
28
28
|
|
|
29
|
-
for (var p in s)
|
|
30
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
31
|
-
}
|
|
29
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
32
30
|
|
|
33
31
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
32
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|