assui 2.1.21 → 2.1.22

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/index.d.ts CHANGED
@@ -6,8 +6,8 @@ export type { ConditionInputProps } from './condition-input';
6
6
  export { default as ConditionInput } from './condition-input';
7
7
  export type { ConfigProviderProps } from './config-provider';
8
8
  export { default as ConfigProvider } from './config-provider';
9
- export { default as NumberFormat } from './number-format';
10
- export type { NumberFormatProps } from './number-format';
9
+ export { default as NumberFormatInput } from './number-format-input';
10
+ export type { NumberFormatInputProps } from './number-format-input';
11
11
  export type { CopyToClipboardProps } from './copy-to-clipboard';
12
12
  export { default as CopyToClipboard } from './copy-to-clipboard';
13
13
  export type { HighlightTextareaProps } from './highlight-textarea';
@@ -60,4 +60,5 @@ export type { LabelCustomizeRangePickerProps } from './label-customize-range-pic
60
60
  export { default as LabelCustomizeRangePicker } from './label-customize-range-picker';
61
61
  export type { RichTextEditorProps } from './rich-text-editor';
62
62
  export { default as RichTextEditor } from './rich-text-editor';
63
- export { default as beautifulDnd } from './beautiful-dnd';
63
+ export { default as BeautifulDnd } from './beautiful-dnd';
64
+ export { default as Resizable } from './resizable';
package/es/index.js CHANGED
@@ -2,7 +2,7 @@ export { default as ButtonDrawer } from './button-drawer';
2
2
  export { default as ButtonModal } from './button-modal';
3
3
  export { default as ConditionInput } from './condition-input';
4
4
  export { default as ConfigProvider } from './config-provider';
5
- export { default as NumberFormat } from './number-format';
5
+ export { default as NumberFormatInput } from './number-format-input';
6
6
  export { default as CopyToClipboard } from './copy-to-clipboard';
7
7
  export { default as HighlightTextarea } from './highlight-textarea';
8
8
  export { default as HighlightWords } from './highlight-words';
@@ -30,4 +30,5 @@ export { default as LabelConditionInput } from './label-condition-input';
30
30
  export { default as LabelTreeSelect } from './label-tree-select';
31
31
  export { default as LabelCustomizeRangePicker } from './label-customize-range-picker';
32
32
  export { default as RichTextEditor } from './rich-text-editor';
33
- export { default as beautifulDnd } from './beautiful-dnd';
33
+ export { default as BeautifulDnd } from './beautiful-dnd';
34
+ export { default as Resizable } from './resizable';
@@ -0,0 +1,4 @@
1
+ import NumberFormatInput from 'react-number-format';
2
+ import type { NumberFormatProps as ReactNumberFormatProps } from 'react-number-format';
3
+ export declare type NumberFormatInputProps = ReactNumberFormatProps;
4
+ export default NumberFormatInput;
@@ -0,0 +1,2 @@
1
+ import NumberFormatInput from 'react-number-format';
2
+ export default NumberFormatInput;
@@ -0,0 +1,4 @@
1
+ import { Resizable, ResizableBox } from 'react-resizable';
2
+ export type { Axis, ResizeHandle, ResizableState, DragCallbackData, ResizeCallbackData, ResizableProps, ResizableBoxState, ResizableBoxProps, } from 'react-resizable';
3
+ export { Resizable, ResizableBox };
4
+ export default Resizable;
@@ -0,0 +1,3 @@
1
+ import { Resizable, ResizableBox } from 'react-resizable';
2
+ export { Resizable, ResizableBox };
3
+ export default Resizable;
@@ -0,0 +1 @@
1
+ @import '~react-resizable/css/styles.css';
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1 @@
1
+ @import '~react-resizable/css/styles.css';
package/lib/index.d.ts CHANGED
@@ -6,8 +6,8 @@ export type { ConditionInputProps } from './condition-input';
6
6
  export { default as ConditionInput } from './condition-input';
7
7
  export type { ConfigProviderProps } from './config-provider';
8
8
  export { default as ConfigProvider } from './config-provider';
9
- export { default as NumberFormat } from './number-format';
10
- export type { NumberFormatProps } from './number-format';
9
+ export { default as NumberFormatInput } from './number-format-input';
10
+ export type { NumberFormatInputProps } from './number-format-input';
11
11
  export type { CopyToClipboardProps } from './copy-to-clipboard';
12
12
  export { default as CopyToClipboard } from './copy-to-clipboard';
13
13
  export type { HighlightTextareaProps } from './highlight-textarea';
@@ -60,4 +60,5 @@ export type { LabelCustomizeRangePickerProps } from './label-customize-range-pic
60
60
  export { default as LabelCustomizeRangePicker } from './label-customize-range-picker';
61
61
  export type { RichTextEditorProps } from './rich-text-editor';
62
62
  export { default as RichTextEditor } from './rich-text-editor';
63
- export { default as beautifulDnd } from './beautiful-dnd';
63
+ export { default as BeautifulDnd } from './beautiful-dnd';
64
+ export { default as Resizable } from './resizable';
package/lib/index.js CHANGED
@@ -9,7 +9,7 @@ var __importDefault = this && this.__importDefault || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", {
10
10
  value: true
11
11
  });
12
- exports.beautifulDnd = exports.RichTextEditor = exports.LabelCustomizeRangePicker = exports.LabelTreeSelect = exports.LabelConditionInput = exports.LabelNumberInput = exports.LabelAutoComplete = exports.LabelDatePicker = exports.LabelRangePicker = exports.LabelTextArea = exports.LabelSelect = exports.LabelInput = exports.TextInput = exports.TextArea = exports.SplitPane = exports.sortableHoc = exports.SingleImgUpload = exports.RcTransitionGroup = exports.RcQRcode = exports.RcEcharts = exports.StepNumberInput = exports.NumberInput = exports.RcMotion = exports.KeepTab = exports.ImgCrop = exports.HighlightWords = exports.HighlightTextarea = exports.CopyToClipboard = exports.NumberFormat = exports.ConfigProvider = exports.ConditionInput = exports.ButtonModal = exports.ButtonDrawer = void 0;
12
+ exports.Resizable = exports.BeautifulDnd = exports.RichTextEditor = exports.LabelCustomizeRangePicker = exports.LabelTreeSelect = exports.LabelConditionInput = exports.LabelNumberInput = exports.LabelAutoComplete = exports.LabelDatePicker = exports.LabelRangePicker = exports.LabelTextArea = exports.LabelSelect = exports.LabelInput = exports.TextInput = exports.TextArea = exports.SplitPane = exports.sortableHoc = exports.SingleImgUpload = exports.RcTransitionGroup = exports.RcQRcode = exports.RcEcharts = exports.StepNumberInput = exports.NumberInput = exports.RcMotion = exports.KeepTab = exports.ImgCrop = exports.HighlightWords = exports.HighlightTextarea = exports.CopyToClipboard = exports.NumberFormatInput = exports.ConfigProvider = exports.ConditionInput = exports.ButtonModal = exports.ButtonDrawer = void 0;
13
13
 
14
14
  var button_drawer_1 = require("./button-drawer");
15
15
 
@@ -47,12 +47,12 @@ Object.defineProperty(exports, "ConfigProvider", {
47
47
  }
48
48
  });
49
49
 
50
- var number_format_1 = require("./number-format");
50
+ var number_format_input_1 = require("./number-format-input");
51
51
 
52
- Object.defineProperty(exports, "NumberFormat", {
52
+ Object.defineProperty(exports, "NumberFormatInput", {
53
53
  enumerable: true,
54
54
  get: function get() {
55
- return __importDefault(number_format_1)["default"];
55
+ return __importDefault(number_format_input_1)["default"];
56
56
  }
57
57
  });
58
58
 
@@ -301,9 +301,18 @@ Object.defineProperty(exports, "RichTextEditor", {
301
301
 
302
302
  var beautiful_dnd_1 = require("./beautiful-dnd");
303
303
 
304
- Object.defineProperty(exports, "beautifulDnd", {
304
+ Object.defineProperty(exports, "BeautifulDnd", {
305
305
  enumerable: true,
306
306
  get: function get() {
307
307
  return __importDefault(beautiful_dnd_1)["default"];
308
308
  }
309
+ });
310
+
311
+ var resizable_1 = require("./resizable");
312
+
313
+ Object.defineProperty(exports, "Resizable", {
314
+ enumerable: true,
315
+ get: function get() {
316
+ return __importDefault(resizable_1)["default"];
317
+ }
309
318
  });
@@ -0,0 +1,4 @@
1
+ import NumberFormatInput from 'react-number-format';
2
+ import type { NumberFormatProps as ReactNumberFormatProps } from 'react-number-format';
3
+ export declare type NumberFormatInputProps = ReactNumberFormatProps;
4
+ export default NumberFormatInput;
@@ -0,0 +1,4 @@
1
+ import { Resizable, ResizableBox } from 'react-resizable';
2
+ export type { Axis, ResizeHandle, ResizableState, DragCallbackData, ResizeCallbackData, ResizableProps, ResizableBoxState, ResizableBoxProps, } from 'react-resizable';
3
+ export { Resizable, ResizableBox };
4
+ export default Resizable;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ResizableBox = exports.Resizable = void 0;
7
+
8
+ var react_resizable_1 = require("react-resizable");
9
+
10
+ Object.defineProperty(exports, "Resizable", {
11
+ enumerable: true,
12
+ get: function get() {
13
+ return react_resizable_1.Resizable;
14
+ }
15
+ });
16
+ Object.defineProperty(exports, "ResizableBox", {
17
+ enumerable: true,
18
+ get: function get() {
19
+ return react_resizable_1.ResizableBox;
20
+ }
21
+ });
22
+ exports["default"] = react_resizable_1.Resizable;
@@ -0,0 +1 @@
1
+ @import '~react-resizable/css/styles.css';
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ require("./index.less");
@@ -0,0 +1 @@
1
+ @import '~react-resizable/css/styles.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "2.1.21",
3
+ "version": "2.1.22",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -33,8 +33,9 @@
33
33
  "@ahooksjs/use-url-state": "^2.5.8",
34
34
  "@tinymce/tinymce-react": "^4.0.0",
35
35
  "@types/react-beautiful-dnd": "^13.1.2",
36
+ "@types/react-resizable": "^3.0.0",
36
37
  "a-icons": "^1.0.71",
37
- "aa-utils": "^2.0.25",
38
+ "aa-utils": "^2.0.26",
38
39
  "ahooks": "^3.0.8",
39
40
  "bignumber.js": "^9.0.1",
40
41
  "copy-to-clipboard": "^3.3.1",
@@ -45,6 +46,7 @@
45
46
  "react-beautiful-dnd": "^13.1.0",
46
47
  "react-easy-crop": "^3.5.2",
47
48
  "react-highlight-words": "^0.17.0",
49
+ "react-resizable": "^3.0.4",
48
50
  "react-sortable-hoc": "^2.0.0",
49
51
  "react-split-pane": "^0.1.92",
50
52
  "react-transition-group": "^4.4.2",
@@ -70,5 +72,5 @@
70
72
  "node": ">=10.0.0"
71
73
  },
72
74
  "license": "MIT",
73
- "gitHead": "dc14748328f7a1cd7db2b84c8819c163299a8475"
75
+ "gitHead": "5b28a4e946a26ee10734447b59f24ee2645b1c1a"
74
76
  }
@@ -1,4 +0,0 @@
1
- import NumberFormat from 'react-number-format';
2
- import type { NumberFormatProps as ReactNumberFormatProps } from 'react-number-format';
3
- export declare type NumberFormatProps = ReactNumberFormatProps;
4
- export default NumberFormat;
@@ -1,2 +0,0 @@
1
- import NumberFormat from 'react-number-format';
2
- export default NumberFormat;
@@ -1,4 +0,0 @@
1
- import NumberFormat from 'react-number-format';
2
- import type { NumberFormatProps as ReactNumberFormatProps } from 'react-number-format';
3
- export declare type NumberFormatProps = ReactNumberFormatProps;
4
- export default NumberFormat;