@para-ui/core 4.0.41 → 4.0.43

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 (58) hide show
  1. package/Cascader/index.js +4 -5
  2. package/ComboSelect/index.js +5 -6
  3. package/CycleSelector/index.js +3 -6
  4. package/DatePicker/index.js +1 -4
  5. package/DragVerify/index.js +2 -2
  6. package/DynamicMultiBox/index.js +2 -3
  7. package/Form/index.js +3 -4
  8. package/FormItem/index.js +3 -4
  9. package/FunctionModal/index.js +2 -2
  10. package/Image/index.js +2 -3
  11. package/Message/index.js +2 -2
  12. package/Modal/index.js +3 -3
  13. package/Notification/index.js +3 -3
  14. package/Pagination/index.d.ts +4 -0
  15. package/Pagination/index.js +3 -2
  16. package/Progress/index.js +2 -2
  17. package/Prompt/index.js +2 -2
  18. package/README.md +10 -1
  19. package/Result/index.d.ts +25 -0
  20. package/Result/index.js +94 -0
  21. package/Select/index.js +5 -5
  22. package/Selector/index.js +3 -3
  23. package/SelectorPicker/index.js +3 -3
  24. package/Stepper/index.js +3 -3
  25. package/Table/index.js +43 -6
  26. package/Table/lang/en_US.d.ts +2 -0
  27. package/Table/lang/index.d.ts +4 -0
  28. package/Table/lang/zh_CN.d.ts +2 -0
  29. package/Tabs/index.js +4 -4
  30. package/Tag/index.js +55 -84
  31. package/TextEditor/index.js +3 -3
  32. package/TimePicker/index.js +1 -4
  33. package/Timeline/index.js +13 -20
  34. package/ToggleButton/index.js +1 -2
  35. package/Tree/index.js +3 -4
  36. package/Upload/index.js +4 -5
  37. package/_verture/{Portal-f9bedb3a.js → Portal-42560ff0.js} +1 -2
  38. package/_verture/{defineProperty-6f62bb2a.js → defineProperty-f0e15205.js} +10 -2
  39. package/_verture/{index-6016a7ed.js → index-3fcb421f.js} +2 -3
  40. package/_verture/{index-5b4ff3b2.js → index-5f0bfdcf.js} +1 -2
  41. package/index.d.ts +2 -0
  42. package/index.js +8 -8
  43. package/locale/en-US.d.ts +2 -0
  44. package/locale/index.d.ts +4 -0
  45. package/locale/index.js +6 -2
  46. package/locale/zh-CN.d.ts +2 -0
  47. package/package.json +1 -1
  48. package/umd/ComboSelect.js +1 -1
  49. package/umd/DynamicMultiBox.js +1 -1
  50. package/umd/Form.js +1 -1
  51. package/umd/FormItem.js +1 -1
  52. package/umd/Pagination.js +1 -1
  53. package/umd/Result.js +43 -0
  54. package/umd/Table.js +2 -2
  55. package/umd/locale.js +1 -1
  56. package/_verture/typeof-adeedc13.js +0 -11
  57. /package/_verture/{index-8a431cd6.js → index-4b1025fa.js} +0 -0
  58. /package/_verture/{modalContext-efa83b5c.js → modalContext-369509dd.js} +0 -0
@@ -1,10 +1,9 @@
1
1
  import { a as __rest } from './tslib.es6-f43aa41d.js';
2
2
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
3
- import { c as clsx, _ as _objectSpread2, r as reactIs, s as supportRef, u as useComposeRef, w as warning, a as _extends, b as _objectWithoutProperties, d as wrapperRaf, e as useEvent$2, f as useLayoutEffect$3, g as composeRef, K as KeyCode, h as fillRef, P as Portal, i as warningOnce, j as useMergedState$2, k as canUseDom$1, l as useMemo$1, n as noteOnce } from './Portal-f9bedb3a.js';
3
+ import { c as clsx, _ as _objectSpread2, r as reactIs, s as supportRef, u as useComposeRef, w as warning, a as _extends, b as _objectWithoutProperties, d as wrapperRaf, e as useEvent$2, f as useLayoutEffect$3, g as composeRef, K as KeyCode, h as fillRef, P as Portal, i as warningOnce, j as useMergedState$2, k as canUseDom$1, l as useMemo$1, n as noteOnce } from './Portal-42560ff0.js';
4
4
  import { _ as _toConsumableArray, a as _iterableToArray } from './toConsumableArray-c7a8028f.js';
5
- import { t as toPropertyKey, _ as _defineProperty } from './defineProperty-6f62bb2a.js';
5
+ import { _ as _typeof$1, t as toPropertyKey, a as _defineProperty } from './defineProperty-f0e15205.js';
6
6
  import { _ as _slicedToArray, a as _arrayWithHoles, b as _unsupportedIterableToArray, c as _nonIterableRest } from './slicedToArray-75fa4188.js';
7
- import { _ as _typeof$1 } from './typeof-adeedc13.js';
8
7
  import * as React$4 from 'react';
9
8
  import React__default, { useState as useState$1, useMemo, useCallback, useRef, useEffect } from 'react';
10
9
  import ReactDOM, { unstable_batchedUpdates, flushSync } from 'react-dom';
@@ -1,5 +1,5 @@
1
1
  import { _ as _toConsumableArray } from './toConsumableArray-c7a8028f.js';
2
- import { _ as _defineProperty } from './defineProperty-6f62bb2a.js';
2
+ import { _ as _typeof, a as _defineProperty } from './defineProperty-f0e15205.js';
3
3
  import { _ as _slicedToArray } from './slicedToArray-75fa4188.js';
4
4
  import { r as regenerator } from './index-8ac46bd9.js';
5
5
  import { a as __rest, _ as __awaiter } from './tslib.es6-f43aa41d.js';
@@ -7,7 +7,6 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
7
7
  import React__default, { isValidElement, cloneElement, useRef, useState, useImperativeHandle, useEffect, useMemo } from 'react';
8
8
  import RcTree from 'rc-tree';
9
9
  import clsx from 'clsx';
10
- import { _ as _typeof } from './typeof-adeedc13.js';
11
10
  import LoadingOutlined from '@para-ui/icons/LoadingF';
12
11
  import FileOutlined from '@para-ui/icons/Document';
13
12
  import SolidArrowDown from '@para-ui/icons/DownTriangleF';
package/index.d.ts CHANGED
@@ -124,6 +124,8 @@ export { default as RadioGroup } from './RadioGroup';
124
124
  export * from './RadioGroup';
125
125
  export { default as RangeInput } from './RangeInput';
126
126
  export * from './RangeInput';
127
+ export { default as Result } from './Result';
128
+ export * from './Result';
127
129
  export { default as Search } from './Search';
128
130
  export * from './Search';
129
131
  export { default as Select } from './Select';
package/index.js CHANGED
@@ -9,7 +9,7 @@ export { Button } from './Button/index.js';
9
9
  export { ButtonGroup } from './ButtonGroup/index.js';
10
10
  export { Card } from './Card/index.js';
11
11
  export { Carousel } from './Carousel/index.js';
12
- export { C as Cascader } from './_verture/index-6016a7ed.js';
12
+ export { C as Cascader } from './_verture/index-3fcb421f.js';
13
13
  export { Checkbox } from './Checkbox/index.js';
14
14
  export { CheckboxGroup } from './CheckboxGroup/index.js';
15
15
  export { Collapse } from './Collapse/index.js';
@@ -30,8 +30,8 @@ export { D as Dropdown } from './_verture/index-bde7aabe.js';
30
30
  export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
31
31
  export { default as Empty } from './Empty/index.js';
32
32
  export { default as Form } from './Form/index.js';
33
- export { F as FormItem } from './_verture/index-8a431cd6.js';
34
- export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-efa83b5c.js';
33
+ export { F as FormItem } from './_verture/index-4b1025fa.js';
34
+ export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-369509dd.js';
35
35
  export { G as GlobalContext, c as changeConfirmLocale, g as getConfirmLocale } from './_verture/index-ca413216.js';
36
36
  export { default as Help } from './Help/index.js';
37
37
  export { default as HelperText } from './HelperText/index.js';
@@ -61,6 +61,7 @@ export { QuickReply, QuickReplyCode } from './QuickReply/index.js';
61
61
  export { Radio } from './Radio/index.js';
62
62
  export { RadioGroup } from './RadioGroup/index.js';
63
63
  export { RangeInput } from './RangeInput/index.js';
64
+ export { Result } from './Result/index.js';
64
65
  export { Search } from './Search/index.js';
65
66
  export { default as Select } from './Select/index.js';
66
67
  export { SelectInput } from './SelectInput/index.js';
@@ -83,7 +84,7 @@ export { Title } from './Title/index.js';
83
84
  export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
84
85
  export { Tooltip } from './Tooltip/index.js';
85
86
  export { SSortablejs, Transfer } from './Transfer/index.js';
86
- export { T as Tree } from './_verture/index-5b4ff3b2.js';
87
+ export { T as Tree } from './_verture/index-5f0bfdcf.js';
87
88
  export { default as Upload } from './Upload/index.js';
88
89
  export { default as Utils, getDateYYYYMMddHHMM, isObject, pixelReplacement } from './Utils/index.js';
89
90
  export { default as locale } from './locale/index.js';
@@ -110,11 +111,10 @@ import '@para-ui/icons/LoadingF';
110
111
  import 'react-slick';
111
112
  import '@para-ui/icons/RightCircleF';
112
113
  import '@para-ui/icons/LeftCircleF';
113
- import './_verture/Portal-f9bedb3a.js';
114
+ import './_verture/Portal-42560ff0.js';
114
115
  import './_verture/slicedToArray-75fa4188.js';
115
- import './_verture/typeof-adeedc13.js';
116
+ import './_verture/defineProperty-f0e15205.js';
116
117
  import './_verture/toConsumableArray-c7a8028f.js';
117
- import './_verture/defineProperty-6f62bb2a.js';
118
118
  import 'rc-motion';
119
119
  import './_verture/typeof-6ec38efd.js';
120
120
  import 'rc-tree/lib/utils/conductUtil';
@@ -179,6 +179,7 @@ import '@para-ui/icons/Plus';
179
179
  import '@para-ui/icons/EditOutline';
180
180
  import '@para-ui/icons/Message';
181
181
  import '@para-ui/icons/Set';
182
+ import '@para-ui/icons/Loading';
182
183
  import './_verture/index-8ac46bd9.js';
183
184
  import 'rc-slider';
184
185
  import './_verture/tinycolor-ece3542d.js';
@@ -208,6 +209,5 @@ import '@para-ui/icons/Document';
208
209
  import '@para-ui/icons/EditFile';
209
210
  import '@para-ui/icons/MoreCircle';
210
211
  import 'rc-upload';
211
- import '@para-ui/icons/Loading';
212
212
  import '@para-ui/icons/Photo';
213
213
  import 'react-easy-crop';
package/locale/en-US.d.ts CHANGED
@@ -269,6 +269,8 @@ declare const _default: {
269
269
  selectNum: string;
270
270
  selectAll: string;
271
271
  dragSort: string;
272
+ noHomePageEmpty: string;
273
+ returnPrevPage: string;
272
274
  };
273
275
  Tabs: {
274
276
  confirmDelete: string;
package/locale/index.d.ts CHANGED
@@ -270,6 +270,8 @@ declare const _default: {
270
270
  selectNum: string;
271
271
  selectAll: string;
272
272
  dragSort: string;
273
+ noHomePageEmpty: string;
274
+ returnPrevPage: string;
273
275
  };
274
276
  Tabs: {
275
277
  confirmDelete: string;
@@ -576,6 +578,8 @@ declare const _default: {
576
578
  selectNum: string;
577
579
  selectAll: string;
578
580
  dragSort: string;
581
+ noHomePageEmpty: string;
582
+ returnPrevPage: string;
579
583
  };
580
584
  Tabs: {
581
585
  confirmDelete: string;
package/locale/index.js CHANGED
@@ -268,7 +268,9 @@ var enUS = {
268
268
  "refresh": "Refresh",
269
269
  "selectNum": "Selected {num} items",
270
270
  "selectAll": "Select All",
271
- "dragSort": "Drag Sort"
271
+ "dragSort": "Drag Sort",
272
+ "noHomePageEmpty": "There is no data on this page",
273
+ "returnPrevPage": "Return to previous page"
272
274
  },
273
275
  "Tabs": {
274
276
  "confirmDelete": "Are you sure delete?"
@@ -575,7 +577,9 @@ var zhCN = {
575
577
  "refresh": "刷新",
576
578
  "selectNum": "已选{num}项",
577
579
  "selectAll": "全选",
578
- "dragSort": "拖动排序"
580
+ "dragSort": "拖动排序",
581
+ "noHomePageEmpty": "当前页面无数据",
582
+ "returnPrevPage": "返回上一页"
579
583
  },
580
584
  "Tabs": {
581
585
  "confirmDelete": "确定删除吗?"
package/locale/zh-CN.d.ts CHANGED
@@ -269,6 +269,8 @@ declare const _default: {
269
269
  selectNum: string;
270
270
  selectAll: string;
271
271
  dragSort: string;
272
+ noHomePageEmpty: string;
273
+ returnPrevPage: string;
272
274
  };
273
275
  Tabs: {
274
276
  confirmDelete: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "4.0.41",
4
+ "version": "4.0.43",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",