@ebscn/ui 1.0.1-beta.0 → 1.0.1-beta.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 (55) hide show
  1. package/cjs/components/alphabet-keyboard/alphabet-keyboard.d.ts +1 -1
  2. package/cjs/components/alphabet-keyboard/alphabet-keyboard.js +1 -1
  3. package/cjs/components/auto-center/auto-center.css +7 -0
  4. package/cjs/components/auto-center/auto-center.d.ts +6 -0
  5. package/cjs/components/auto-center/auto-center.js +18 -0
  6. package/cjs/components/auto-center/index.d.ts +4 -0
  7. package/cjs/components/auto-center/index.js +9 -0
  8. package/cjs/components/date-picker/date-picker-utils.d.ts +1 -1
  9. package/cjs/components/date-picker/date-picker.d.ts +1 -1
  10. package/cjs/components/date-picker/index.d.ts +1 -1
  11. package/cjs/components/date-range-picker/date-range-picker.d.ts +1 -1
  12. package/cjs/components/date-range-picker/index.d.ts +2 -2
  13. package/cjs/components/handRead/handRead.js +0 -6
  14. package/cjs/components/number-keyboard/number-keyboard.css +1 -1
  15. package/cjs/components/number-keyboard/number-keyboard.d.ts +2 -1
  16. package/cjs/components/number-keyboard/number-keyboard.js +2 -2
  17. package/cjs/components/picker/index.d.ts +2 -2
  18. package/cjs/components/picker/picker.d.ts +1 -1
  19. package/cjs/components/safe-area/index.d.ts +4 -0
  20. package/cjs/components/safe-area/index.js +9 -0
  21. package/cjs/components/safe-area/safe-area.css +11 -0
  22. package/cjs/components/safe-area/safe-area.d.ts +6 -0
  23. package/cjs/components/safe-area/safe-area.js +17 -0
  24. package/cjs/components/stock-count-keyboard/stock-count-keyboard.css +1 -1
  25. package/cjs/components/stock-keyboard/stock-keyboard.css +1 -1
  26. package/cjs/index.d.ts +4 -2
  27. package/cjs/index.js +21 -5
  28. package/es/components/alphabet-keyboard/alphabet-keyboard.d.ts +1 -1
  29. package/es/components/alphabet-keyboard/alphabet-keyboard.js +1 -1
  30. package/es/components/auto-center/auto-center.css +7 -0
  31. package/es/components/auto-center/auto-center.d.ts +6 -0
  32. package/es/components/auto-center/auto-center.js +10 -0
  33. package/es/components/auto-center/index.d.ts +4 -0
  34. package/es/components/auto-center/index.js +3 -0
  35. package/es/components/date-picker/date-picker-utils.d.ts +1 -1
  36. package/es/components/date-picker/date-picker.d.ts +1 -1
  37. package/es/components/date-picker/index.d.ts +1 -1
  38. package/es/components/date-range-picker/date-range-picker.d.ts +1 -1
  39. package/es/components/date-range-picker/index.d.ts +2 -2
  40. package/es/components/handRead/handRead.js +0 -6
  41. package/es/components/number-keyboard/number-keyboard.css +1 -1
  42. package/es/components/number-keyboard/number-keyboard.d.ts +2 -1
  43. package/es/components/number-keyboard/number-keyboard.js +2 -2
  44. package/es/components/picker/index.d.ts +2 -2
  45. package/es/components/picker/picker.d.ts +1 -1
  46. package/es/components/safe-area/index.d.ts +4 -0
  47. package/es/components/safe-area/index.js +3 -0
  48. package/es/components/safe-area/safe-area.css +11 -0
  49. package/es/components/safe-area/safe-area.d.ts +6 -0
  50. package/es/components/safe-area/safe-area.js +9 -0
  51. package/es/components/stock-count-keyboard/stock-count-keyboard.css +1 -1
  52. package/es/components/stock-keyboard/stock-keyboard.css +1 -1
  53. package/es/index.d.ts +4 -2
  54. package/es/index.js +5 -3
  55. package/package.json +1 -1
@@ -5,7 +5,7 @@ export type AlphabetKeyboardProps = {
5
5
  onInput: Function;
6
6
  onDelete: Function;
7
7
  onClose: Function;
8
- onChangeKeyBoard: Function;
8
+ onChangeKeyBoard?: Function;
9
9
  onConfirm: Function;
10
10
  } & NativeProps;
11
11
  export declare function AlphabetKeyboard(p: AlphabetKeyboardProps): JSX.Element;
@@ -66,7 +66,7 @@ function AlphabetKeyboard(p) {
66
66
  }
67
67
  function onKeyPress(key) {
68
68
  switch (key) {
69
- case 'X':
69
+ case '×':
70
70
  return onDelete === null || onDelete === void 0 ? void 0 : onDelete();
71
71
  case '123':
72
72
  return onChangeKeyBoard === null || onChangeKeyBoard === void 0 ? void 0 : onChangeKeyBoard();
@@ -0,0 +1,7 @@
1
+ .ebscn-auto-center {
2
+ display: flex;
3
+ justify-content: center;
4
+ }
5
+ .ebscn-auto-center-content {
6
+ flex: 0 1 auto;
7
+ }
@@ -0,0 +1,6 @@
1
+ import type { FC, ReactNode } from 'react';
2
+ import { NativeProps } from '../../utils/native-props';
3
+ export type AutoCenterProps = {
4
+ children?: ReactNode;
5
+ } & NativeProps;
6
+ export declare const AutoCenter: FC<AutoCenterProps>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.AutoCenter = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _nativeProps = require("../../utils/native-props");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ var classPrefix = 'ebscn-auto-center';
11
+ var AutoCenter = function (props) {
12
+ return (0, _nativeProps.withNativeProps)(props, _react.default.createElement("div", {
13
+ className: classPrefix
14
+ }, _react.default.createElement("div", {
15
+ className: "".concat(classPrefix, "-content")
16
+ }, props.children)));
17
+ };
18
+ exports.AutoCenter = AutoCenter;
@@ -0,0 +1,4 @@
1
+ import './auto-center.less';
2
+ import { AutoCenter } from './auto-center';
3
+ export type { AutoCenterProps } from './auto-center';
4
+ export default AutoCenter;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ require("./auto-center.css");
8
+ var _autoCenter2 = require("./auto-center");
9
+ var _default = exports.default = _autoCenter2.AutoCenter;
@@ -7,4 +7,4 @@ export type DatePickerFilter = Partial<Record<Precision, (val: number, extend: {
7
7
  }) => boolean>>;
8
8
  export declare const convertDateToStringArray: (date: Date | undefined | null, precision: Precision) => string[];
9
9
  export declare const convertStringArrayToDate: <T extends string | number | null | undefined>(value: T[], precision: Precision) => Date;
10
- export declare const generateDatePickerColumns: (selected: string[], min: Date, max: Date, precision: Precision, renderLabel: RenderLabel, filter: DatePickerFilter | undefined, tillNow?: boolean) => import("../picker-view").PickerColumn[];
10
+ export declare const generateDatePickerColumns: (selected: string[], min: Date, max: Date, precision: Precision, renderLabel: RenderLabel, filter: DatePickerFilter | undefined, tillNow?: boolean) => import("../picker").PickerColumn[];
@@ -19,7 +19,7 @@ export type DatePickerProps = Pick<PickerProps, 'onCancel' | 'onClose' | 'closeO
19
19
  filter?: DatePickerFilter;
20
20
  tillNow?: boolean;
21
21
  } & NativeProps;
22
- export declare const DatePicker: React.ForwardRefExoticComponent<Pick<PickerProps, "style" | "title" | "visible" | "onClose" | "onClick" | "loading" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "onCancel" | "mouseWheel" | "loadingContent" | "closeOnMaskClick" | "confirmText" | "cancelText"> & {
22
+ export declare const DatePicker: React.ForwardRefExoticComponent<Pick<PickerProps, "style" | "title" | "visible" | "onClose" | "onClick" | "loading" | "mouseWheel" | "onCancel" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose" | "closeOnMaskClick" | "loadingContent" | "confirmText" | "cancelText"> & {
23
23
  value?: PickerDate | null | undefined;
24
24
  defaultValue?: PickerDate | null | undefined;
25
25
  onSelect?: ((value: PickerDate) => void) | undefined;
@@ -3,7 +3,7 @@ import './date-picker.less';
3
3
  import { prompt } from './prompt';
4
4
  export type { DatePickerProps, DatePickerRef } from './date-picker';
5
5
  export type { DatePickerFilter } from './date-picker-utils';
6
- declare const _default: import("react").ForwardRefExoticComponent<Pick<import("../picker").PickerProps, "style" | "title" | "visible" | "onClose" | "onClick" | "loading" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "onCancel" | "mouseWheel" | "loadingContent" | "closeOnMaskClick" | "confirmText" | "cancelText"> & {
6
+ declare const _default: import("react").ForwardRefExoticComponent<Pick<import("../picker").PickerProps, "style" | "title" | "visible" | "onClose" | "onClick" | "loading" | "mouseWheel" | "onCancel" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose" | "closeOnMaskClick" | "loadingContent" | "confirmText" | "cancelText"> & {
7
7
  value?: import("./util").PickerDate | null | undefined;
8
8
  defaultValue?: import("./util").PickerDate | null | undefined;
9
9
  onSelect?: ((value: import("./util").PickerDate) => void) | undefined;
@@ -70,7 +70,7 @@ export declare const DateRangePicker: React.MemoExoticComponent<React.ForwardRef
70
70
  label: string;
71
71
  value: [PickerDate, PickerDate];
72
72
  }[] | undefined;
73
- } & Pick<PopupProps, "onClick" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation"> & {
73
+ } & Pick<PopupProps, "onClick" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose"> & {
74
74
  className?: string | undefined;
75
75
  style?: (CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>) | undefined;
76
76
  tabIndex?: number | undefined;
@@ -33,7 +33,7 @@ declare const _default: import("react").NamedExoticComponent<{
33
33
  label: string;
34
34
  value: [Date, Date];
35
35
  }[] | undefined;
36
- } & Pick<import("../popup").PopupProps, "onClick" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation"> & {
36
+ } & Pick<import("../popup").PopupProps, "onClick" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose"> & {
37
37
  className?: string | undefined;
38
38
  style?: (import("react").CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>) | undefined;
39
39
  tabIndex?: number | undefined;
@@ -68,7 +68,7 @@ declare const _default: import("react").NamedExoticComponent<{
68
68
  label: string;
69
69
  value: [Date, Date];
70
70
  }[] | undefined;
71
- } & Pick<import("../popup").PopupProps, "onClick" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation"> & {
71
+ } & Pick<import("../popup").PopupProps, "onClick" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose"> & {
72
72
  className?: string | undefined;
73
73
  style?: (import("react").CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>) | undefined;
74
74
  tabIndex?: number | undefined;
@@ -48,7 +48,6 @@ function HandRead(props) {
48
48
  (0, _react.useLayoutEffect)(function () {
49
49
  if (container.current && !PDF_SCALE.current) {
50
50
  PDF_SCALE.current = container.current.clientWidth / PDF_WIDTH;
51
- console.log(PDF_SCALE);
52
51
  forceUpdate();
53
52
  }
54
53
  }, [container.current]);
@@ -57,7 +56,6 @@ function HandRead(props) {
57
56
  }
58
57
  function handleOnMouseDown() {}
59
58
  function handleOnStop(item, e) {
60
- console.log(e, '--e--');
61
59
  var stopClientX = e.changedTouches[0].clientX;
62
60
  // const { mandatoryReading } = this.props.data;
63
61
  var dragDistance = stopClientX + 10; // 拖拽的距离
@@ -100,7 +98,6 @@ function HandRead(props) {
100
98
  if (isAllSure()) {
101
99
  forceUpdate();
102
100
  done && done(documentJson.fileId);
103
- console.log("指读完毕");
104
101
  return;
105
102
  }
106
103
  var nextRecordIndex = 0;
@@ -129,7 +126,6 @@ function HandRead(props) {
129
126
  if (--index < 0) {
130
127
  break;
131
128
  } else {
132
- console.log(index);
133
129
  if (!mandatoryReading[index].hasRead) {
134
130
  setCurrentSign(index);
135
131
  setCurrentPageNum(mandatoryReading[index].pageNo);
@@ -140,7 +136,6 @@ function HandRead(props) {
140
136
  }
141
137
  // 获取图片地址
142
138
  var getImageList = function (baseUrl, maxPages) {
143
- console.log(baseUrl, '--baseUrl-');
144
139
  var arr = [];
145
140
  if (!baseUrl) return arr;
146
141
  if (!maxPages) return arr;
@@ -180,7 +175,6 @@ function HandRead(props) {
180
175
  },
181
176
  onClick: function () {
182
177
  setCurrentSign(index);
183
- console.log(index);
184
178
  }
185
179
  }, _react.default.createElement(_reactDraggable.default, {
186
180
  handle: ".handle",
@@ -70,7 +70,7 @@
70
70
  color: var(--ebscn-color-background);
71
71
  }
72
72
  @supports (bottom: env(safe-area-inset-bottom)) or (constant(safe-area-inset-bottom)) {
73
- .keyboard {
73
+ .ebscn-number-keyboard {
74
74
  height: calc(216px + env(safe-area-inset-bottom));
75
75
  height: calc(216px + constant(safe-area-inset-bottom));
76
76
  }
@@ -2,9 +2,10 @@
2
2
  import { NativeProps } from '../../utils/native-props';
3
3
  export type NumberKeyboardProps = {
4
4
  types?: 'fullKeyboard' | 'numberKeyboard' | 'numberKeyboardWithDot';
5
+ type?: 'fullKeyboard' | 'numberKeyboard' | 'numberKeyboardWithDot';
5
6
  visible?: boolean;
6
7
  onInput: Function;
7
- onChangeKeyBoard: Function;
8
+ onChangeKeyBoard?: Function;
8
9
  onDelete: Function;
9
10
  onClose: Function;
10
11
  onClean: Function;
@@ -25,8 +25,8 @@ function NumberKeyboard(p) {
25
25
  onChangeKeyBoard = props.onChangeKeyBoard,
26
26
  onClose = props.onClose,
27
27
  onClean = props.onClean,
28
- onConfirm = props.onConfirm,
29
- types = props.types;
28
+ onConfirm = props.onConfirm;
29
+ var types = props.types || props.type;
30
30
  var keys = types == 'numberKeyboard' ? [1, 2, 3, 'X', 4, 5, 6, '清除', 7, 8, 9, '隐藏', '', 0, '', '确定'] : types == 'fullKeyboard' ? [1, 2, 3, 'X', 4, 5, 6, '清除', 7, 8, 9, '隐藏', 'ABC', 0, '.', '确定'] : [1, 2, 3, 'X', 4, 5, 6, '清除', 7, 8, 9, '隐藏', '', 0, '.', '确定'];
31
31
  var hideTimer = (0, _react.useRef)(null);
32
32
  var appearTimer = (0, _react.useRef)(null);
@@ -23,7 +23,7 @@ declare const _default: import("react").NamedExoticComponent<{
23
23
  mouseWheel?: boolean | undefined;
24
24
  popupClassName?: string | undefined;
25
25
  popupStyle?: import("react").CSSProperties | undefined;
26
- } & Pick<import("../popup").PopupProps, "onClick" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation"> & {
26
+ } & Pick<import("../popup").PopupProps, "onClick" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose"> & {
27
27
  className?: string | undefined;
28
28
  style?: (import("react").CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>) | undefined;
29
29
  tabIndex?: number | undefined;
@@ -48,7 +48,7 @@ declare const _default: import("react").NamedExoticComponent<{
48
48
  mouseWheel?: boolean | undefined;
49
49
  popupClassName?: string | undefined;
50
50
  popupStyle?: import("react").CSSProperties | undefined;
51
- } & Pick<import("../popup").PopupProps, "onClick" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation"> & {
51
+ } & Pick<import("../popup").PopupProps, "onClick" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose"> & {
52
52
  className?: string | undefined;
53
53
  style?: (import("react").CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>) | undefined;
54
54
  tabIndex?: number | undefined;
@@ -50,7 +50,7 @@ export declare const Picker: React.MemoExoticComponent<React.ForwardRefExoticCom
50
50
  mouseWheel?: boolean | undefined;
51
51
  popupClassName?: string | undefined;
52
52
  popupStyle?: CSSProperties | undefined;
53
- } & Pick<PopupProps, "onClick" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation"> & {
53
+ } & Pick<PopupProps, "onClick" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose"> & {
54
54
  className?: string | undefined;
55
55
  style?: (CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>) | undefined;
56
56
  tabIndex?: number | undefined;
@@ -0,0 +1,4 @@
1
+ import './safe-area.less';
2
+ import { SafeArea } from './safe-area';
3
+ export type { SafeAreaProps } from './safe-area';
4
+ export default SafeArea;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ require("./safe-area.css");
8
+ var _safeArea2 = require("./safe-area");
9
+ var _default = exports.default = _safeArea2.SafeArea;
@@ -0,0 +1,11 @@
1
+ .ebscn-safe-area {
2
+ --multiple: var(--ebscn-safe-area-multiple, 1);
3
+ display: block;
4
+ width: 100%;
5
+ }
6
+ .ebscn-safe-area-position-top {
7
+ padding-top: calc(env(safe-area-inset-top) * var(--multiple));
8
+ }
9
+ .ebscn-safe-area-position-bottom {
10
+ padding-bottom: calc(env(safe-area-inset-bottom) * var(--multiple));
11
+ }
@@ -0,0 +1,6 @@
1
+ import type { FC } from 'react';
2
+ import { NativeProps } from '../../utils/native-props';
3
+ export type SafeAreaProps = {
4
+ position: 'top' | 'bottom';
5
+ } & NativeProps;
6
+ export declare const SafeArea: FC<SafeAreaProps>;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SafeArea = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _nativeProps = require("../../utils/native-props");
9
+ var _classnames = _interopRequireDefault(require("classnames"));
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+ var classPrefix = 'ebscn-safe-area';
12
+ var SafeArea = function (props) {
13
+ return (0, _nativeProps.withNativeProps)(props, _react.default.createElement("div", {
14
+ className: (0, _classnames.default)(classPrefix, "".concat(classPrefix, "-position-").concat(props.position))
15
+ }));
16
+ };
17
+ exports.SafeArea = SafeArea;
@@ -67,7 +67,7 @@
67
67
  color: var(--ebscn-color-background);
68
68
  }
69
69
  @supports (bottom: env(safe-area-inset-bottom)) or (constant(safe-area-inset-bottom)) {
70
- .keyboard {
70
+ .ebscn-stock-count-keyboard {
71
71
  height: calc(216px + env(safe-area-inset-bottom));
72
72
  height: calc(216px + constant(safe-area-inset-bottom));
73
73
  }
@@ -104,7 +104,7 @@
104
104
  background: #CACBD0;
105
105
  }
106
106
  @supports (bottom: env(safe-area-inset-bottom)) or (constant(safe-area-inset-bottom)) {
107
- .keyboard {
107
+ .ebscn-stock-keyboard {
108
108
  height: calc(216px + env(safe-area-inset-bottom));
109
109
  height: calc(216px + constant(safe-area-inset-bottom));
110
110
  }
package/cjs/index.d.ts CHANGED
@@ -1,10 +1,13 @@
1
1
  import './global';
2
2
  export { default as AlphabetKeyboard } from './components/alphabet-keyboard';
3
+ export { default as AutoCenter } from './components/auto-center';
3
4
  export { Button, SelectorButton } from './components/button';
4
5
  export { default as Card } from './components/card';
5
6
  export { default as Checkbox } from './components/checkbox';
7
+ export { default as DateRangePicker } from './components/date-range-picker';
6
8
  export { default as Divider } from './components/divider';
7
9
  export { default as Grid } from './components/grid';
10
+ export { default as HandRead } from './components/handRead';
8
11
  export { default as Header } from './components/header';
9
12
  export * from './components/icons';
10
13
  export { default as ImageViewer } from './components/imageViewer';
@@ -21,6 +24,7 @@ export { default as ProSelector } from './components/pro-selector';
21
24
  export { default as Protocal } from './components/protocol';
22
25
  export { default as PullToRefresh } from './components/pull-to-refresh';
23
26
  export { default as Radio } from './components/radio';
27
+ export { default as SafeArea } from './components/safe-area';
24
28
  export { default as Search } from './components/search';
25
29
  export { default as Selector } from './components/selector';
26
30
  export { default as Skeleton } from './components/skeleton';
@@ -33,5 +37,3 @@ export { default as Switch } from './components/switch';
33
37
  export { default as Tabs } from './components/tabs';
34
38
  export { default as Tip } from './components/tip';
35
39
  export { default as ToastLoading } from './components/toastLoading';
36
- export { default as DateRangePicker } from './components/date-range-picker';
37
- export { default as HandRead } from './components/handRead';
package/cjs/index.js CHANGED
@@ -5,12 +5,15 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  var _exportNames = {
7
7
  AlphabetKeyboard: true,
8
+ AutoCenter: true,
8
9
  Button: true,
9
10
  SelectorButton: true,
10
11
  Card: true,
11
12
  Checkbox: true,
13
+ DateRangePicker: true,
12
14
  Divider: true,
13
15
  Grid: true,
16
+ HandRead: true,
14
17
  Header: true,
15
18
  ImageViewer: true,
16
19
  MarketTag: true,
@@ -27,6 +30,7 @@ var _exportNames = {
27
30
  Protocal: true,
28
31
  PullToRefresh: true,
29
32
  Radio: true,
33
+ SafeArea: true,
30
34
  Search: true,
31
35
  Selector: true,
32
36
  Skeleton: true,
@@ -38,9 +42,7 @@ var _exportNames = {
38
42
  Switch: true,
39
43
  Tabs: true,
40
44
  Tip: true,
41
- ToastLoading: true,
42
- DateRangePicker: true,
43
- HandRead: true
45
+ ToastLoading: true
44
46
  };
45
47
  Object.defineProperty(exports, "AlphabetKeyboard", {
46
48
  enumerable: true,
@@ -48,6 +50,12 @@ Object.defineProperty(exports, "AlphabetKeyboard", {
48
50
  return _alphabetKeyboard.default;
49
51
  }
50
52
  });
53
+ Object.defineProperty(exports, "AutoCenter", {
54
+ enumerable: true,
55
+ get: function () {
56
+ return _autoCenter.default;
57
+ }
58
+ });
51
59
  Object.defineProperty(exports, "Button", {
52
60
  enumerable: true,
53
61
  get: function () {
@@ -186,6 +194,12 @@ Object.defineProperty(exports, "Radio", {
186
194
  return _radio.default;
187
195
  }
188
196
  });
197
+ Object.defineProperty(exports, "SafeArea", {
198
+ enumerable: true,
199
+ get: function () {
200
+ return _safeArea.default;
201
+ }
202
+ });
189
203
  Object.defineProperty(exports, "Search", {
190
204
  enumerable: true,
191
205
  get: function () {
@@ -266,11 +280,14 @@ Object.defineProperty(exports, "ToastLoading", {
266
280
  });
267
281
  require("./global");
268
282
  var _alphabetKeyboard = _interopRequireDefault(require("./components/alphabet-keyboard"));
283
+ var _autoCenter = _interopRequireDefault(require("./components/auto-center"));
269
284
  var _button = require("./components/button");
270
285
  var _card = _interopRequireDefault(require("./components/card"));
271
286
  var _checkbox = _interopRequireDefault(require("./components/checkbox"));
287
+ var _dateRangePicker = _interopRequireDefault(require("./components/date-range-picker"));
272
288
  var _divider = _interopRequireDefault(require("./components/divider"));
273
289
  var _grid = _interopRequireDefault(require("./components/grid"));
290
+ var _handRead = _interopRequireDefault(require("./components/handRead"));
274
291
  var _header = _interopRequireDefault(require("./components/header"));
275
292
  var _icons = require("./components/icons");
276
293
  Object.keys(_icons).forEach(function (key) {
@@ -298,6 +315,7 @@ var _proSelector = _interopRequireDefault(require("./components/pro-selector"));
298
315
  var _protocol = _interopRequireDefault(require("./components/protocol"));
299
316
  var _pullToRefresh = _interopRequireDefault(require("./components/pull-to-refresh"));
300
317
  var _radio = _interopRequireDefault(require("./components/radio"));
318
+ var _safeArea = _interopRequireDefault(require("./components/safe-area"));
301
319
  var _search = _interopRequireDefault(require("./components/search"));
302
320
  var _selector = _interopRequireDefault(require("./components/selector"));
303
321
  var _skeleton = _interopRequireDefault(require("./components/skeleton"));
@@ -310,6 +328,4 @@ var _switch = _interopRequireDefault(require("./components/switch"));
310
328
  var _tabs = _interopRequireDefault(require("./components/tabs"));
311
329
  var _tip = _interopRequireDefault(require("./components/tip"));
312
330
  var _toastLoading = _interopRequireDefault(require("./components/toastLoading"));
313
- var _dateRangePicker = _interopRequireDefault(require("./components/date-range-picker"));
314
- var _handRead = _interopRequireDefault(require("./components/handRead"));
315
331
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -5,7 +5,7 @@ export type AlphabetKeyboardProps = {
5
5
  onInput: Function;
6
6
  onDelete: Function;
7
7
  onClose: Function;
8
- onChangeKeyBoard: Function;
8
+ onChangeKeyBoard?: Function;
9
9
  onConfirm: Function;
10
10
  } & NativeProps;
11
11
  export declare function AlphabetKeyboard(p: AlphabetKeyboardProps): JSX.Element;
@@ -59,7 +59,7 @@ export function AlphabetKeyboard(p) {
59
59
  }
60
60
  function onKeyPress(key) {
61
61
  switch (key) {
62
- case 'X':
62
+ case '×':
63
63
  return onDelete === null || onDelete === void 0 ? void 0 : onDelete();
64
64
  case '123':
65
65
  return onChangeKeyBoard === null || onChangeKeyBoard === void 0 ? void 0 : onChangeKeyBoard();
@@ -0,0 +1,7 @@
1
+ .ebscn-auto-center {
2
+ display: flex;
3
+ justify-content: center;
4
+ }
5
+ .ebscn-auto-center-content {
6
+ flex: 0 1 auto;
7
+ }
@@ -0,0 +1,6 @@
1
+ import type { FC, ReactNode } from 'react';
2
+ import { NativeProps } from '../../utils/native-props';
3
+ export type AutoCenterProps = {
4
+ children?: ReactNode;
5
+ } & NativeProps;
6
+ export declare const AutoCenter: FC<AutoCenterProps>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { withNativeProps } from '../../utils/native-props';
3
+ var classPrefix = 'ebscn-auto-center';
4
+ export var AutoCenter = function (props) {
5
+ return withNativeProps(props, React.createElement("div", {
6
+ className: classPrefix
7
+ }, React.createElement("div", {
8
+ className: "".concat(classPrefix, "-content")
9
+ }, props.children)));
10
+ };
@@ -0,0 +1,4 @@
1
+ import './auto-center.less';
2
+ import { AutoCenter } from './auto-center';
3
+ export type { AutoCenterProps } from './auto-center';
4
+ export default AutoCenter;
@@ -0,0 +1,3 @@
1
+ import "./auto-center.css";
2
+ import { AutoCenter } from './auto-center';
3
+ export default AutoCenter;
@@ -7,4 +7,4 @@ export type DatePickerFilter = Partial<Record<Precision, (val: number, extend: {
7
7
  }) => boolean>>;
8
8
  export declare const convertDateToStringArray: (date: Date | undefined | null, precision: Precision) => string[];
9
9
  export declare const convertStringArrayToDate: <T extends string | number | null | undefined>(value: T[], precision: Precision) => Date;
10
- export declare const generateDatePickerColumns: (selected: string[], min: Date, max: Date, precision: Precision, renderLabel: RenderLabel, filter: DatePickerFilter | undefined, tillNow?: boolean) => import("../picker-view").PickerColumn[];
10
+ export declare const generateDatePickerColumns: (selected: string[], min: Date, max: Date, precision: Precision, renderLabel: RenderLabel, filter: DatePickerFilter | undefined, tillNow?: boolean) => import("../picker").PickerColumn[];
@@ -19,7 +19,7 @@ export type DatePickerProps = Pick<PickerProps, 'onCancel' | 'onClose' | 'closeO
19
19
  filter?: DatePickerFilter;
20
20
  tillNow?: boolean;
21
21
  } & NativeProps;
22
- export declare const DatePicker: React.ForwardRefExoticComponent<Pick<PickerProps, "style" | "title" | "visible" | "onClose" | "onClick" | "loading" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "onCancel" | "mouseWheel" | "loadingContent" | "closeOnMaskClick" | "confirmText" | "cancelText"> & {
22
+ export declare const DatePicker: React.ForwardRefExoticComponent<Pick<PickerProps, "style" | "title" | "visible" | "onClose" | "onClick" | "loading" | "mouseWheel" | "onCancel" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose" | "closeOnMaskClick" | "loadingContent" | "confirmText" | "cancelText"> & {
23
23
  value?: PickerDate | null | undefined;
24
24
  defaultValue?: PickerDate | null | undefined;
25
25
  onSelect?: ((value: PickerDate) => void) | undefined;
@@ -3,7 +3,7 @@ import './date-picker.less';
3
3
  import { prompt } from './prompt';
4
4
  export type { DatePickerProps, DatePickerRef } from './date-picker';
5
5
  export type { DatePickerFilter } from './date-picker-utils';
6
- declare const _default: import("react").ForwardRefExoticComponent<Pick<import("../picker").PickerProps, "style" | "title" | "visible" | "onClose" | "onClick" | "loading" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "onCancel" | "mouseWheel" | "loadingContent" | "closeOnMaskClick" | "confirmText" | "cancelText"> & {
6
+ declare const _default: import("react").ForwardRefExoticComponent<Pick<import("../picker").PickerProps, "style" | "title" | "visible" | "onClose" | "onClick" | "loading" | "mouseWheel" | "onCancel" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose" | "closeOnMaskClick" | "loadingContent" | "confirmText" | "cancelText"> & {
7
7
  value?: import("./util").PickerDate | null | undefined;
8
8
  defaultValue?: import("./util").PickerDate | null | undefined;
9
9
  onSelect?: ((value: import("./util").PickerDate) => void) | undefined;
@@ -70,7 +70,7 @@ export declare const DateRangePicker: React.MemoExoticComponent<React.ForwardRef
70
70
  label: string;
71
71
  value: [PickerDate, PickerDate];
72
72
  }[] | undefined;
73
- } & Pick<PopupProps, "onClick" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation"> & {
73
+ } & Pick<PopupProps, "onClick" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose"> & {
74
74
  className?: string | undefined;
75
75
  style?: (CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>) | undefined;
76
76
  tabIndex?: number | undefined;
@@ -33,7 +33,7 @@ declare const _default: import("react").NamedExoticComponent<{
33
33
  label: string;
34
34
  value: [Date, Date];
35
35
  }[] | undefined;
36
- } & Pick<import("../popup").PopupProps, "onClick" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation"> & {
36
+ } & Pick<import("../popup").PopupProps, "onClick" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose"> & {
37
37
  className?: string | undefined;
38
38
  style?: (import("react").CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>) | undefined;
39
39
  tabIndex?: number | undefined;
@@ -68,7 +68,7 @@ declare const _default: import("react").NamedExoticComponent<{
68
68
  label: string;
69
69
  value: [Date, Date];
70
70
  }[] | undefined;
71
- } & Pick<import("../popup").PopupProps, "onClick" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation"> & {
71
+ } & Pick<import("../popup").PopupProps, "onClick" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose"> & {
72
72
  className?: string | undefined;
73
73
  style?: (import("react").CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>) | undefined;
74
74
  tabIndex?: number | undefined;
@@ -39,7 +39,6 @@ function HandRead(props) {
39
39
  useLayoutEffect(function () {
40
40
  if (container.current && !PDF_SCALE.current) {
41
41
  PDF_SCALE.current = container.current.clientWidth / PDF_WIDTH;
42
- console.log(PDF_SCALE);
43
42
  forceUpdate();
44
43
  }
45
44
  }, [container.current]);
@@ -48,7 +47,6 @@ function HandRead(props) {
48
47
  }
49
48
  function handleOnMouseDown() {}
50
49
  function handleOnStop(item, e) {
51
- console.log(e, '--e--');
52
50
  var stopClientX = e.changedTouches[0].clientX;
53
51
  // const { mandatoryReading } = this.props.data;
54
52
  var dragDistance = stopClientX + 10; // 拖拽的距离
@@ -91,7 +89,6 @@ function HandRead(props) {
91
89
  if (isAllSure()) {
92
90
  forceUpdate();
93
91
  done && done(documentJson.fileId);
94
- console.log("指读完毕");
95
92
  return;
96
93
  }
97
94
  var nextRecordIndex = 0;
@@ -120,7 +117,6 @@ function HandRead(props) {
120
117
  if (--index < 0) {
121
118
  break;
122
119
  } else {
123
- console.log(index);
124
120
  if (!mandatoryReading[index].hasRead) {
125
121
  setCurrentSign(index);
126
122
  setCurrentPageNum(mandatoryReading[index].pageNo);
@@ -131,7 +127,6 @@ function HandRead(props) {
131
127
  }
132
128
  // 获取图片地址
133
129
  var getImageList = function (baseUrl, maxPages) {
134
- console.log(baseUrl, '--baseUrl-');
135
130
  var arr = [];
136
131
  if (!baseUrl) return arr;
137
132
  if (!maxPages) return arr;
@@ -171,7 +166,6 @@ function HandRead(props) {
171
166
  },
172
167
  onClick: function () {
173
168
  setCurrentSign(index);
174
- console.log(index);
175
169
  }
176
170
  }, React.createElement(Draggable, {
177
171
  handle: ".handle",
@@ -70,7 +70,7 @@
70
70
  color: var(--ebscn-color-background);
71
71
  }
72
72
  @supports (bottom: env(safe-area-inset-bottom)) or (constant(safe-area-inset-bottom)) {
73
- .keyboard {
73
+ .ebscn-number-keyboard {
74
74
  height: calc(216px + env(safe-area-inset-bottom));
75
75
  height: calc(216px + constant(safe-area-inset-bottom));
76
76
  }
@@ -2,9 +2,10 @@
2
2
  import { NativeProps } from '../../utils/native-props';
3
3
  export type NumberKeyboardProps = {
4
4
  types?: 'fullKeyboard' | 'numberKeyboard' | 'numberKeyboardWithDot';
5
+ type?: 'fullKeyboard' | 'numberKeyboard' | 'numberKeyboardWithDot';
5
6
  visible?: boolean;
6
7
  onInput: Function;
7
- onChangeKeyBoard: Function;
8
+ onChangeKeyBoard?: Function;
8
9
  onDelete: Function;
9
10
  onClose: Function;
10
11
  onClean: Function;
@@ -17,8 +17,8 @@ export function NumberKeyboard(p) {
17
17
  onChangeKeyBoard = props.onChangeKeyBoard,
18
18
  onClose = props.onClose,
19
19
  onClean = props.onClean,
20
- onConfirm = props.onConfirm,
21
- types = props.types;
20
+ onConfirm = props.onConfirm;
21
+ var types = props.types || props.type;
22
22
  var keys = types == 'numberKeyboard' ? [1, 2, 3, 'X', 4, 5, 6, '清除', 7, 8, 9, '隐藏', '', 0, '', '确定'] : types == 'fullKeyboard' ? [1, 2, 3, 'X', 4, 5, 6, '清除', 7, 8, 9, '隐藏', 'ABC', 0, '.', '确定'] : [1, 2, 3, 'X', 4, 5, 6, '清除', 7, 8, 9, '隐藏', '', 0, '.', '确定'];
23
23
  var hideTimer = useRef(null);
24
24
  var appearTimer = useRef(null);
@@ -23,7 +23,7 @@ declare const _default: import("react").NamedExoticComponent<{
23
23
  mouseWheel?: boolean | undefined;
24
24
  popupClassName?: string | undefined;
25
25
  popupStyle?: import("react").CSSProperties | undefined;
26
- } & Pick<import("../popup").PopupProps, "onClick" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation"> & {
26
+ } & Pick<import("../popup").PopupProps, "onClick" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose"> & {
27
27
  className?: string | undefined;
28
28
  style?: (import("react").CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>) | undefined;
29
29
  tabIndex?: number | undefined;
@@ -48,7 +48,7 @@ declare const _default: import("react").NamedExoticComponent<{
48
48
  mouseWheel?: boolean | undefined;
49
49
  popupClassName?: string | undefined;
50
50
  popupStyle?: import("react").CSSProperties | undefined;
51
- } & Pick<import("../popup").PopupProps, "onClick" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation"> & {
51
+ } & Pick<import("../popup").PopupProps, "onClick" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose"> & {
52
52
  className?: string | undefined;
53
53
  style?: (import("react").CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>) | undefined;
54
54
  tabIndex?: number | undefined;
@@ -50,7 +50,7 @@ export declare const Picker: React.MemoExoticComponent<React.ForwardRefExoticCom
50
50
  mouseWheel?: boolean | undefined;
51
51
  popupClassName?: string | undefined;
52
52
  popupStyle?: CSSProperties | undefined;
53
- } & Pick<PopupProps, "onClick" | "destroyOnClose" | "forceRender" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation"> & {
53
+ } & Pick<PopupProps, "onClick" | "getContainer" | "afterShow" | "afterClose" | "stopPropagation" | "forceRender" | "destroyOnClose"> & {
54
54
  className?: string | undefined;
55
55
  style?: (CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>) | undefined;
56
56
  tabIndex?: number | undefined;
@@ -0,0 +1,4 @@
1
+ import './safe-area.less';
2
+ import { SafeArea } from './safe-area';
3
+ export type { SafeAreaProps } from './safe-area';
4
+ export default SafeArea;
@@ -0,0 +1,3 @@
1
+ import "./safe-area.css";
2
+ import { SafeArea } from './safe-area';
3
+ export default SafeArea;
@@ -0,0 +1,11 @@
1
+ .ebscn-safe-area {
2
+ --multiple: var(--ebscn-safe-area-multiple, 1);
3
+ display: block;
4
+ width: 100%;
5
+ }
6
+ .ebscn-safe-area-position-top {
7
+ padding-top: calc(env(safe-area-inset-top) * var(--multiple));
8
+ }
9
+ .ebscn-safe-area-position-bottom {
10
+ padding-bottom: calc(env(safe-area-inset-bottom) * var(--multiple));
11
+ }
@@ -0,0 +1,6 @@
1
+ import type { FC } from 'react';
2
+ import { NativeProps } from '../../utils/native-props';
3
+ export type SafeAreaProps = {
4
+ position: 'top' | 'bottom';
5
+ } & NativeProps;
6
+ export declare const SafeArea: FC<SafeAreaProps>;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { withNativeProps } from '../../utils/native-props';
3
+ import classNames from 'classnames';
4
+ var classPrefix = 'ebscn-safe-area';
5
+ export var SafeArea = function (props) {
6
+ return withNativeProps(props, React.createElement("div", {
7
+ className: classNames(classPrefix, "".concat(classPrefix, "-position-").concat(props.position))
8
+ }));
9
+ };
@@ -67,7 +67,7 @@
67
67
  color: var(--ebscn-color-background);
68
68
  }
69
69
  @supports (bottom: env(safe-area-inset-bottom)) or (constant(safe-area-inset-bottom)) {
70
- .keyboard {
70
+ .ebscn-stock-count-keyboard {
71
71
  height: calc(216px + env(safe-area-inset-bottom));
72
72
  height: calc(216px + constant(safe-area-inset-bottom));
73
73
  }
@@ -104,7 +104,7 @@
104
104
  background: #CACBD0;
105
105
  }
106
106
  @supports (bottom: env(safe-area-inset-bottom)) or (constant(safe-area-inset-bottom)) {
107
- .keyboard {
107
+ .ebscn-stock-keyboard {
108
108
  height: calc(216px + env(safe-area-inset-bottom));
109
109
  height: calc(216px + constant(safe-area-inset-bottom));
110
110
  }
package/es/index.d.ts CHANGED
@@ -1,10 +1,13 @@
1
1
  import './global';
2
2
  export { default as AlphabetKeyboard } from './components/alphabet-keyboard';
3
+ export { default as AutoCenter } from './components/auto-center';
3
4
  export { Button, SelectorButton } from './components/button';
4
5
  export { default as Card } from './components/card';
5
6
  export { default as Checkbox } from './components/checkbox';
7
+ export { default as DateRangePicker } from './components/date-range-picker';
6
8
  export { default as Divider } from './components/divider';
7
9
  export { default as Grid } from './components/grid';
10
+ export { default as HandRead } from './components/handRead';
8
11
  export { default as Header } from './components/header';
9
12
  export * from './components/icons';
10
13
  export { default as ImageViewer } from './components/imageViewer';
@@ -21,6 +24,7 @@ export { default as ProSelector } from './components/pro-selector';
21
24
  export { default as Protocal } from './components/protocol';
22
25
  export { default as PullToRefresh } from './components/pull-to-refresh';
23
26
  export { default as Radio } from './components/radio';
27
+ export { default as SafeArea } from './components/safe-area';
24
28
  export { default as Search } from './components/search';
25
29
  export { default as Selector } from './components/selector';
26
30
  export { default as Skeleton } from './components/skeleton';
@@ -33,5 +37,3 @@ export { default as Switch } from './components/switch';
33
37
  export { default as Tabs } from './components/tabs';
34
38
  export { default as Tip } from './components/tip';
35
39
  export { default as ToastLoading } from './components/toastLoading';
36
- export { default as DateRangePicker } from './components/date-range-picker';
37
- export { default as HandRead } from './components/handRead';
package/es/index.js CHANGED
@@ -1,10 +1,13 @@
1
1
  import './global';
2
2
  export { default as AlphabetKeyboard } from './components/alphabet-keyboard';
3
+ export { default as AutoCenter } from './components/auto-center';
3
4
  export { Button, SelectorButton } from './components/button';
4
5
  export { default as Card } from './components/card';
5
6
  export { default as Checkbox } from './components/checkbox';
7
+ export { default as DateRangePicker } from './components/date-range-picker';
6
8
  export { default as Divider } from './components/divider';
7
9
  export { default as Grid } from './components/grid';
10
+ export { default as HandRead } from './components/handRead';
8
11
  export { default as Header } from './components/header';
9
12
  export * from './components/icons';
10
13
  export { default as ImageViewer } from './components/imageViewer';
@@ -21,6 +24,7 @@ export { default as ProSelector } from './components/pro-selector';
21
24
  export { default as Protocal } from './components/protocol';
22
25
  export { default as PullToRefresh } from './components/pull-to-refresh';
23
26
  export { default as Radio } from './components/radio';
27
+ export { default as SafeArea } from './components/safe-area';
24
28
  export { default as Search } from './components/search';
25
29
  export { default as Selector } from './components/selector';
26
30
  export { default as Skeleton } from './components/skeleton';
@@ -32,6 +36,4 @@ export { default as Swiper } from './components/swiper';
32
36
  export { default as Switch } from './components/switch';
33
37
  export { default as Tabs } from './components/tabs';
34
38
  export { default as Tip } from './components/tip';
35
- export { default as ToastLoading } from './components/toastLoading';
36
- export { default as DateRangePicker } from './components/date-range-picker';
37
- export { default as HandRead } from './components/handRead';
39
+ export { default as ToastLoading } from './components/toastLoading';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebscn/ui",
3
- "version": "1.0.1-beta.0",
3
+ "version": "1.0.1-beta.2",
4
4
  "description": "ebscn react library",
5
5
  "module": "./es/index.js",
6
6
  "types": "./es/index.d.ts",