@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.
Files changed (220) hide show
  1. package/dist/fui.min.css +1 -1
  2. package/es/alert/index.d.ts +3 -3
  3. package/es/anchor/index.d.ts +3 -3
  4. package/es/badge/index.d.ts +2 -2
  5. package/es/badge/index.js +1 -1
  6. package/es/breadcrumb/Breadcrumb.d.ts +3 -3
  7. package/es/breadcrumb/BreadcrumbItem.d.ts +3 -3
  8. package/es/breadcrumb/BreadcrumbSeparator.d.ts +3 -4
  9. package/es/button/button.d.ts +2 -2
  10. package/es/calendar/locale/uz_UZ.d.ts +2 -0
  11. package/es/calendar/locale/uz_UZ.js +2 -0
  12. package/es/card/style/index-pure.less +1 -0
  13. package/es/card/style/index.css +1 -0
  14. package/es/checkbox/index.d.ts +2 -2
  15. package/es/collapse/Collapse.d.ts +3 -3
  16. package/es/date-picker/generatePicker/generateRangePicker.js +2 -2
  17. package/es/date-picker/generatePicker/generateSinglePicker.js +3 -3
  18. package/es/date-picker/locale/uz_UZ.d.ts +3 -0
  19. package/es/date-picker/locale/uz_UZ.js +21 -0
  20. package/es/divider/style/index-pure.less +1 -5
  21. package/es/divider/style/index.css +1 -5
  22. package/es/drawer/index.js +1 -1
  23. package/es/dropdown/dropdown-button.d.ts +2 -3
  24. package/es/dropdown/dropdown.d.ts +5 -3
  25. package/es/dropdown/dropdown.js +4 -2
  26. package/es/dropdown/style/index-pure.less +1 -1
  27. package/es/dropdown/style/index.css +12 -6
  28. package/es/empty/index.d.ts +3 -3
  29. package/es/form/FormItem/index.d.ts +3 -3
  30. package/es/form/index.d.ts +3 -3
  31. package/es/grid/row.js +4 -0
  32. package/es/input/index.d.ts +2 -2
  33. package/es/input/style/affix.less +1 -1
  34. package/es/input/style/index.css +1 -1
  35. package/es/layout/index.d.ts +3 -3
  36. package/es/locale/pt_BR.js +1 -0
  37. package/es/locale/uz_UZ.d.ts +3 -0
  38. package/es/locale/uz_UZ.js +128 -0
  39. package/es/locale-provider/uz_UZ.d.ts +2 -0
  40. package/es/locale-provider/uz_UZ.js +2 -0
  41. package/es/mentions/index.d.ts +3 -3
  42. package/es/menu/style/index-pure.less +1 -0
  43. package/es/menu/style/index.css +1 -0
  44. package/es/message/index.d.ts +5 -5
  45. package/es/pagination/Select.d.ts +4 -4
  46. package/es/popover/style/index-pure.less +0 -1
  47. package/es/popover/style/index.css +0 -1
  48. package/es/radio/index.d.ts +2 -2
  49. package/es/result/index.d.ts +4 -4
  50. package/es/segmented/index.d.ts +1 -1
  51. package/es/skeleton/Skeleton.d.ts +3 -4
  52. package/es/space/index.d.ts +2 -2
  53. package/es/statistic/Countdown.d.ts +1 -1
  54. package/es/statistic/Statistic.d.ts +3 -3
  55. package/es/steps/index.d.ts +3 -3
  56. package/es/steps/style/index.css +22 -5
  57. package/es/steps/style/progress.less +17 -4
  58. package/es/steps/style/rtl.less +20 -4
  59. package/es/steps/style/vertical.less +2 -2
  60. package/es/style/theme.less +0 -2
  61. package/es/switch/index.d.ts +1 -2
  62. package/es/table/Table.d.ts +3 -3
  63. package/es/table/hooks/useSorter.js +1 -1
  64. package/es/time-picker/index.js +4 -3
  65. package/es/time-picker/locale/uz_UZ.d.ts +3 -0
  66. package/es/time-picker/locale/uz_UZ.js +5 -0
  67. package/es/timeline/Timeline.d.ts +3 -3
  68. package/es/tree-select/index.d.ts +3 -3
  69. package/es/upload/index.d.ts +3 -3
  70. package/es/version/version.d.ts +1 -1
  71. package/es/version/version.js +1 -1
  72. package/lib/_util/transButton.js +1 -3
  73. package/lib/affix/index.js +1 -3
  74. package/lib/alert/index.d.ts +3 -3
  75. package/lib/alert/index.js +1 -3
  76. package/lib/anchor/index.d.ts +3 -3
  77. package/lib/avatar/avatar.js +1 -3
  78. package/lib/badge/ScrollNumber.js +1 -3
  79. package/lib/badge/index.d.ts +2 -2
  80. package/lib/badge/index.js +2 -4
  81. package/lib/breadcrumb/Breadcrumb.d.ts +3 -3
  82. package/lib/breadcrumb/Breadcrumb.js +1 -3
  83. package/lib/breadcrumb/BreadcrumbItem.d.ts +3 -3
  84. package/lib/breadcrumb/BreadcrumbItem.js +1 -3
  85. package/lib/breadcrumb/BreadcrumbSeparator.d.ts +3 -4
  86. package/lib/button/button-group.js +1 -3
  87. package/lib/button/button.d.ts +2 -2
  88. package/lib/button/button.js +1 -3
  89. package/lib/calendar/locale/uz_UZ.d.ts +2 -0
  90. package/lib/calendar/locale/uz_UZ.js +13 -0
  91. package/lib/card/Card.js +1 -3
  92. package/lib/card/Grid.js +1 -3
  93. package/lib/card/Meta.js +1 -3
  94. package/lib/card/style/index-pure.less +1 -0
  95. package/lib/card/style/index.css +1 -0
  96. package/lib/carousel/index.js +1 -3
  97. package/lib/cascader/index.js +1 -3
  98. package/lib/checkbox/Checkbox.js +1 -3
  99. package/lib/checkbox/Group.js +1 -3
  100. package/lib/checkbox/index.d.ts +2 -2
  101. package/lib/collapse/Collapse.d.ts +3 -3
  102. package/lib/comment/index.js +1 -3
  103. package/lib/date-picker/generatePicker/generateRangePicker.js +3 -5
  104. package/lib/date-picker/generatePicker/generateSinglePicker.js +4 -6
  105. package/lib/date-picker/locale/uz_UZ.d.ts +3 -0
  106. package/lib/date-picker/locale/uz_UZ.js +34 -0
  107. package/lib/divider/index.js +1 -3
  108. package/lib/divider/style/index-pure.less +1 -5
  109. package/lib/divider/style/index.css +1 -5
  110. package/lib/drawer/index.js +2 -4
  111. package/lib/dropdown/dropdown-button.d.ts +2 -3
  112. package/lib/dropdown/dropdown-button.js +1 -3
  113. package/lib/dropdown/dropdown.d.ts +5 -3
  114. package/lib/dropdown/dropdown.js +4 -2
  115. package/lib/dropdown/style/index-pure.less +1 -1
  116. package/lib/dropdown/style/index.css +12 -6
  117. package/lib/empty/index.d.ts +3 -3
  118. package/lib/empty/index.js +1 -3
  119. package/lib/form/Form.js +1 -3
  120. package/lib/form/FormItem/ItemHolder.js +1 -3
  121. package/lib/form/FormItem/index.d.ts +3 -3
  122. package/lib/form/FormItemLabel.js +1 -3
  123. package/lib/form/FormList.js +1 -3
  124. package/lib/form/index.d.ts +3 -3
  125. package/lib/grid/col.js +1 -3
  126. package/lib/grid/row.js +5 -3
  127. package/lib/image/PreviewGroup.js +1 -3
  128. package/lib/image/index.js +1 -3
  129. package/lib/input/Input.js +1 -3
  130. package/lib/input/Password.js +1 -3
  131. package/lib/input/Search.js +1 -3
  132. package/lib/input/TextArea.js +1 -3
  133. package/lib/input/index.d.ts +2 -2
  134. package/lib/input/style/affix.less +1 -1
  135. package/lib/input/style/index.css +1 -1
  136. package/lib/input-number/index.js +1 -3
  137. package/lib/layout/Sider.js +1 -3
  138. package/lib/layout/index.d.ts +3 -3
  139. package/lib/layout/layout.js +1 -3
  140. package/lib/list/Item.js +1 -3
  141. package/lib/list/index.js +1 -3
  142. package/lib/locale/pt_BR.js +1 -0
  143. package/lib/locale/uz_UZ.d.ts +3 -0
  144. package/lib/locale/uz_UZ.js +143 -0
  145. package/lib/locale-provider/uz_UZ.d.ts +2 -0
  146. package/lib/locale-provider/uz_UZ.js +13 -0
  147. package/lib/mentions/index.d.ts +3 -3
  148. package/lib/mentions/index.js +1 -3
  149. package/lib/menu/MenuDivider.js +1 -3
  150. package/lib/menu/MenuItem.js +1 -3
  151. package/lib/menu/OverrideContext.js +1 -3
  152. package/lib/menu/hooks/useItems.js +1 -3
  153. package/lib/menu/index.js +1 -3
  154. package/lib/menu/style/index-pure.less +1 -0
  155. package/lib/menu/style/index.css +1 -0
  156. package/lib/message/index.d.ts +5 -5
  157. package/lib/modal/Modal.js +1 -3
  158. package/lib/modal/confirm.js +1 -3
  159. package/lib/notification/index.js +7 -9
  160. package/lib/pagination/Pagination.js +1 -3
  161. package/lib/pagination/Select.d.ts +4 -4
  162. package/lib/popconfirm/index.js +1 -3
  163. package/lib/popover/index.js +1 -3
  164. package/lib/popover/style/index-pure.less +0 -1
  165. package/lib/popover/style/index.css +0 -1
  166. package/lib/progress/Line.js +1 -3
  167. package/lib/progress/progress.js +1 -3
  168. package/lib/radio/index.d.ts +2 -2
  169. package/lib/radio/radio.js +1 -3
  170. package/lib/radio/radioButton.js +1 -3
  171. package/lib/rate/index.js +1 -3
  172. package/lib/result/index.d.ts +4 -4
  173. package/lib/segmented/index.d.ts +1 -1
  174. package/lib/segmented/index.js +1 -3
  175. package/lib/select/index.js +1 -3
  176. package/lib/skeleton/Skeleton.d.ts +3 -4
  177. package/lib/slider/index.js +1 -3
  178. package/lib/space/Compact.js +1 -3
  179. package/lib/space/index.d.ts +2 -2
  180. package/lib/space/index.js +1 -3
  181. package/lib/spin/index.js +1 -3
  182. package/lib/statistic/Countdown.d.ts +1 -1
  183. package/lib/statistic/Statistic.d.ts +3 -3
  184. package/lib/steps/index.d.ts +3 -3
  185. package/lib/steps/index.js +1 -3
  186. package/lib/steps/style/index.css +22 -5
  187. package/lib/steps/style/progress.less +17 -4
  188. package/lib/steps/style/rtl.less +20 -4
  189. package/lib/steps/style/vertical.less +2 -2
  190. package/lib/style/theme.less +0 -2
  191. package/lib/switch/index.d.ts +1 -2
  192. package/lib/switch/index.js +1 -3
  193. package/lib/table/Table.d.ts +3 -3
  194. package/lib/table/hooks/usePagination.js +1 -3
  195. package/lib/table/hooks/useSorter.js +1 -1
  196. package/lib/tabs/hooks/useLegacyItems.js +1 -3
  197. package/lib/tabs/index.js +1 -3
  198. package/lib/tag/CheckableTag.js +1 -3
  199. package/lib/tag/index.js +1 -3
  200. package/lib/time-picker/index.js +5 -6
  201. package/lib/time-picker/locale/uz_UZ.d.ts +3 -0
  202. package/lib/time-picker/locale/uz_UZ.js +12 -0
  203. package/lib/timeline/Timeline.d.ts +3 -3
  204. package/lib/timeline/Timeline.js +1 -3
  205. package/lib/timeline/TimelineItem.js +1 -3
  206. package/lib/tooltip/index.js +1 -3
  207. package/lib/tree/DirectoryTree.js +1 -3
  208. package/lib/tree-select/index.d.ts +3 -3
  209. package/lib/tree-select/index.js +1 -3
  210. package/lib/typography/Base/index.js +1 -3
  211. package/lib/typography/Link.js +1 -3
  212. package/lib/typography/Text.js +1 -3
  213. package/lib/typography/Title.js +1 -3
  214. package/lib/typography/Typography.js +1 -3
  215. package/lib/upload/Dragger.js +1 -3
  216. package/lib/upload/Upload.js +61 -63
  217. package/lib/upload/index.d.ts +3 -3
  218. package/lib/version/version.d.ts +1 -1
  219. package/lib/version/version.js +1 -1
  220. package/package.json +2 -2
@@ -221,7 +221,7 @@
221
221
  background-color: @item-hover-bg;
222
222
  }
223
223
 
224
- &-disabled {
224
+ &&-disabled {
225
225
  color: @disabled-color;
226
226
  cursor: not-allowed;
227
227
 
@@ -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,
@@ -12,9 +12,9 @@ export interface EmptyProps {
12
12
  description?: React.ReactNode;
13
13
  children?: React.ReactNode;
14
14
  }
15
- interface EmptyType extends React.FC<EmptyProps> {
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: EmptyType;
18
+ };
19
+ declare const Empty: CompoundedComponent;
20
20
  export default Empty;
@@ -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
- interface FormItemInterface extends InternalFormItemType {
31
+ type CompoundedComponent = InternalFormItemType & {
32
32
  useStatus: typeof useFormItemStatus;
33
- }
34
- declare const FormItem: FormItemInterface;
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]];
@@ -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]];
@@ -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
- interface FormInterface extends InternalFormType {
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: FormInterface;
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]];
@@ -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]];
@@ -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]];
@@ -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]];
@@ -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]];
@@ -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]];
@@ -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
- interface CompoundedComponent extends React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>> {
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;
@@ -24,7 +24,7 @@
24
24
 
25
25
  &-disabled {
26
26
  .@{ant-prefix}-input[disabled] {
27
- background: transparent;
27
+ background: rgba(255, 255, 255, 0);
28
28
  }
29
29
  }
30
30
 
@@ -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: transparent;
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]];
@@ -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]];
@@ -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
- interface LayoutType extends InternalLayoutType {
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: LayoutType;
11
+ };
12
+ declare const Layout: CompoundedComponent;
13
13
  export default Layout;
@@ -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]];
@@ -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,3 @@
1
+ import type { Locale } from '../locale-provider';
2
+ declare const localeValues: Locale;
3
+ export default localeValues;
@@ -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,2 @@
1
+ import locale from '../locale/uz_UZ';
2
+ export default locale;
@@ -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;
@@ -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, } from 'rc-mentions/lib/Mentions';
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
- interface CompoundedComponent extends React.ForwardRefExoticComponent<MentionProps & React.RefAttributes<MentionsRef>> {
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;
@@ -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]];
@@ -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]];
@@ -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]];