assui 3.1.73 → 3.1.75

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 (87) hide show
  1. package/es/area-text/index.d.ts +1 -1
  2. package/es/beautiful-dnd/style/index.d.ts +0 -1
  3. package/es/button-drawer/index.d.ts +1 -1
  4. package/es/client-only/index.d.ts +1 -1
  5. package/es/client-only/style/index.d.ts +0 -1
  6. package/es/color-select/index.d.ts +1 -1
  7. package/es/complex-val-select/index.d.ts +4 -4
  8. package/es/complex-val-select/index.js +1 -3
  9. package/es/condition-input/parse2RegexOption.d.ts +1 -1
  10. package/es/condition-select-input/index.d.ts +2 -2
  11. package/es/config-provider/context.d.ts +0 -1
  12. package/es/config-provider/index.d.ts +1 -1
  13. package/es/config-provider/style/index.d.ts +0 -1
  14. package/es/highlight-textarea/extractSpansOfClasses.d.ts +0 -1
  15. package/es/highlight-textarea/types.d.ts +11 -11
  16. package/es/highlight-words/style/index.d.ts +0 -1
  17. package/es/img-crop/getCroppedImg.js +3 -7
  18. package/es/img-crop/index.js +3 -7
  19. package/es/json-editor/index.d.ts +1 -1
  20. package/es/label-condition-select-input/index.d.ts +2 -2
  21. package/es/label-customize-range-picker/defaultRadioList.d.ts +2 -2
  22. package/es/label-customize-range-picker/index.d.ts +1 -1
  23. package/es/label-range-number/index.d.ts +1 -1
  24. package/es/messages/index.d.ts +3 -3
  25. package/es/multipart-upload/parse2RegexOption.d.ts +1 -1
  26. package/es/number-format-input/index.d.ts +1 -1
  27. package/es/number-input/index.d.ts +1 -1
  28. package/es/rc-echart/core.d.ts +1 -1
  29. package/es/rc-echart/index.d.ts +1 -1
  30. package/es/rc-echart/style/index.d.ts +0 -1
  31. package/es/rc-motion/style/index.d.ts +0 -1
  32. package/es/rc-qrcode/style/index.d.ts +0 -1
  33. package/es/rc-qrcode/useQrcode.d.ts +1 -1
  34. package/es/rc-transition-group/style/index.d.ts +0 -1
  35. package/es/rich-text-editor/index.d.ts +1 -1
  36. package/es/single-img-upload/index.js +3 -7
  37. package/es/sortable-hoc/style/index.d.ts +0 -1
  38. package/es/split-pane/index.d.ts +1 -1
  39. package/es/text-input/index.d.ts +1 -1
  40. package/lib/area-text/index.d.ts +1 -1
  41. package/lib/beautiful-dnd/style/index.d.ts +0 -1
  42. package/lib/button-drawer/index.d.ts +1 -1
  43. package/lib/client-only/index.d.ts +1 -1
  44. package/lib/client-only/style/index.d.ts +0 -1
  45. package/lib/color-select/index.d.ts +1 -1
  46. package/lib/complex-val-select/index.d.ts +4 -4
  47. package/lib/complex-val-select/index.js +1 -3
  48. package/lib/condition-input/parse2RegexOption.d.ts +1 -1
  49. package/lib/condition-select-input/index.d.ts +2 -2
  50. package/lib/condition-select-input/index.js +2 -2
  51. package/lib/config-provider/context.d.ts +0 -1
  52. package/lib/config-provider/index.d.ts +1 -1
  53. package/lib/config-provider/style/index.d.ts +0 -1
  54. package/lib/flex/utils/gapSize.js +2 -3
  55. package/lib/highlight-textarea/extractSpansOfClasses.d.ts +0 -1
  56. package/lib/highlight-textarea/extractSpansOfClasses.js +2 -2
  57. package/lib/highlight-textarea/getRanges.js +1 -1
  58. package/lib/highlight-textarea/getType.js +2 -2
  59. package/lib/highlight-textarea/types.d.ts +11 -11
  60. package/lib/highlight-words/style/index.d.ts +0 -1
  61. package/lib/img-crop/getCroppedImg.js +3 -7
  62. package/lib/img-crop/index.js +3 -7
  63. package/lib/json-editor/index.d.ts +1 -1
  64. package/lib/label-condition-select-input/index.d.ts +2 -2
  65. package/lib/label-condition-select-input/index.js +2 -2
  66. package/lib/label-customize-range-picker/defaultRadioList.d.ts +2 -2
  67. package/lib/label-customize-range-picker/defaultRadioList.js +1 -1
  68. package/lib/label-customize-range-picker/index.d.ts +1 -1
  69. package/lib/label-range-number/index.d.ts +1 -1
  70. package/lib/messages/index.d.ts +3 -3
  71. package/lib/messages/index.js +3 -3
  72. package/lib/multipart-upload/parse2RegexOption.d.ts +1 -1
  73. package/lib/number-format-input/index.d.ts +1 -1
  74. package/lib/number-input/index.d.ts +1 -1
  75. package/lib/rc-echart/core.d.ts +1 -1
  76. package/lib/rc-echart/index.d.ts +1 -1
  77. package/lib/rc-echart/style/index.d.ts +0 -1
  78. package/lib/rc-motion/style/index.d.ts +0 -1
  79. package/lib/rc-qrcode/style/index.d.ts +0 -1
  80. package/lib/rc-qrcode/useQrcode.d.ts +1 -1
  81. package/lib/rc-transition-group/style/index.d.ts +0 -1
  82. package/lib/rich-text-editor/index.d.ts +1 -1
  83. package/lib/single-img-upload/index.js +3 -7
  84. package/lib/sortable-hoc/style/index.d.ts +0 -1
  85. package/lib/split-pane/index.d.ts +1 -1
  86. package/lib/text-input/index.d.ts +1 -1
  87. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type AreaTextProps = {
2
+ export type AreaTextProps = {
3
3
  className?: string;
4
4
  value?: string;
5
5
  };
@@ -1 +0,0 @@
1
-
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { DrawerProps } from 'antd/lib/drawer';
3
- export declare type DrawerAction = {
3
+ export type DrawerAction = {
4
4
  close: () => void;
5
5
  open: () => void;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- declare type ClientOnlyProps = {
2
+ type ClientOnlyProps = {
3
3
  /** 需要渲染的元素 */
4
4
  children: React.ReactElement;
5
5
  };
@@ -1 +0,0 @@
1
-
@@ -1,7 +1,7 @@
1
1
  import type { SketchPickerProps } from 'react-color';
2
2
  import React from 'react';
3
3
  import type { TriggerProps } from 'rc-trigger';
4
- export declare type ColorSelectProps = {
4
+ export type ColorSelectProps = {
5
5
  value?: {
6
6
  hex?: string;
7
7
  rgb?: string;
@@ -1,15 +1,15 @@
1
1
  import * as React from 'react';
2
- import type { BaseOptionType, SelectProps } from 'antd/lib/select';
2
+ import type { DefaultOptionType, SelectProps } from 'antd/lib/select';
3
3
  declare const Option: import("rc-select/lib/Option").OptionFC;
4
4
  export { Option };
5
- export declare type ComplexValSelectValueType = string | number | any[] | Record<string, any> | null | undefined;
6
- export interface ComplexValSelectOptionType extends Omit<BaseOptionType, 'value' | 'children' | 'options'> {
5
+ export type ComplexValSelectValueType = string | number | any[] | Record<string, any> | null | undefined;
6
+ export interface ComplexValSelectOptionType extends Omit<DefaultOptionType, 'value' | 'children' | 'options'> {
7
7
  value?: ComplexValSelectValueType;
8
8
  children?: ComplexValSelectOptionType[];
9
9
  options?: Omit<ComplexValSelectOptionType, 'children' | 'options'>[];
10
10
  }
11
11
  /** 判断optionsValue是否是引用类型 */
12
- export declare const isReferenceTypeOption: (options?: ComplexValSelectOptionType[] | undefined) => boolean;
12
+ export declare const isReferenceTypeOption: (options?: ComplexValSelectOptionType[]) => boolean;
13
13
  export interface ComplexValSelectProps<T> extends Omit<SelectProps, 'value' | 'onChange' | 'options'> {
14
14
  value?: T;
15
15
  onChange?: (val: T, opt?: ComplexValSelectOptionType[]) => void;
@@ -79,7 +79,6 @@ var ComplexValSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
79
79
  value = _a[0],
80
80
  setValue = _a[1];
81
81
  var options = props.options,
82
- onChange = props.onChange,
83
82
  onSelect = props.onSelect;
84
83
  var selectRef = React.useRef(null);
85
84
  React.useImperativeHandle(ref, function () {
@@ -90,8 +89,7 @@ var ComplexValSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
90
89
  var finalOptions = isReferenceTypeVal ? formatOptions(options) : options;
91
90
  var handleChange = function handleChange(val) {
92
91
  var nextVal = val && isReferenceTypeVal ? JSON.parse(val) : val;
93
- setValue(nextVal);
94
- onChange === null || onChange === void 0 ? void 0 : onChange(nextVal, options);
92
+ setValue(nextVal, options);
95
93
  };
96
94
  var handleSelect = function handleSelect(val) {
97
95
  var nextVal = val && isReferenceTypeVal ? JSON.parse(val) : val;
@@ -2,7 +2,7 @@ export interface RegexOptionType {
2
2
  isValid: boolean;
3
3
  replacement: string;
4
4
  }
5
- declare type regexParamsType = RegExp | string | {
5
+ type regexParamsType = RegExp | string | {
6
6
  pattern: RegExp;
7
7
  replacement?: string;
8
8
  };
@@ -9,8 +9,8 @@ export declare enum EntryTypeEnum {
9
9
  FIRST_ENTRY = "firstEntry",
10
10
  SECOND_ENTRY = "secondEntry"
11
11
  }
12
- export declare type ChangedEntryType = typeof EntryTypeEnum[keyof typeof EntryTypeEnum];
13
- declare type SelectOptionsType = {
12
+ export type ChangedEntryType = typeof EntryTypeEnum[keyof typeof EntryTypeEnum];
13
+ type SelectOptionsType = {
14
14
  value: ComplexValSelectValueType;
15
15
  label: string;
16
16
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { LangType } from '../messages';
3
2
  declare const LocaleContext: import("react").Context<LangType>;
4
3
  export default LocaleContext;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type LocaleType = 'en-US' | 'zh-CN' | 'zh-TW' | 'bg' | 'cs' | 'de' | 'es' | 'fr' | 'fi' | 'it' | 'id' | 'ja' | 'ko' | 'nl' | 'nb-NO' | 'ru' | 'sv' | 'pt' | 'ar' | 'th' | 'ro' | 'vi' | 'ug';
2
+ export type LocaleType = 'en-US' | 'zh-CN' | 'zh-TW' | 'bg' | 'cs' | 'de' | 'es' | 'fr' | 'fi' | 'it' | 'id' | 'ja' | 'ko' | 'nl' | 'nb-NO' | 'ru' | 'sv' | 'pt' | 'ar' | 'th' | 'ro' | 'vi' | 'ug';
3
3
  export interface ConfigProviderProps {
4
4
  children?: React.ReactNode;
5
5
  locale: LocaleType;
@@ -1 +0,0 @@
1
-
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { RangesType } from './types';
3
2
  declare class Span {
4
3
  beginIndex: number;
@@ -1,16 +1,16 @@
1
- export declare type StringType = string;
2
- export declare type NumberArrayType = number[];
3
- export declare type RegExpType = RegExp;
4
- export declare type FuncType = (input: string) => string;
5
- export declare type HighlightInstanceType = StringType | NumberArrayType | RegExpType | FuncType;
6
- export declare type AdmixArrayType = HighlightInstanceType[];
7
- export declare type ObjectType = {
1
+ export type StringType = string;
2
+ export type NumberArrayType = number[];
3
+ export type RegExpType = RegExp;
4
+ export type FuncType = (input: string) => string;
5
+ export type HighlightInstanceType = StringType | NumberArrayType | RegExpType | FuncType;
6
+ export type AdmixArrayType = HighlightInstanceType[];
7
+ export type ObjectType = {
8
8
  highlight: HighlightInstanceType;
9
9
  className?: string;
10
10
  };
11
- export declare type CustomArrayArrayType = ObjectType[];
12
- export declare type RangesType = (number | {
11
+ export type CustomArrayArrayType = ObjectType[];
12
+ export type RangesType = (number | {
13
13
  className?: string;
14
14
  })[][];
15
- export declare type HighlightType = StringType | NumberArrayType | RegExpType | FuncType | HighlightInstanceType | AdmixArrayType | ObjectType | CustomArrayArrayType;
16
- export declare type TypeList = 'falsely' | 'range' | 'array' | 'regexp' | 'custom' | 'other' | 'function' | 'string';
15
+ export type HighlightType = StringType | NumberArrayType | RegExpType | FuncType | HighlightInstanceType | AdmixArrayType | ObjectType | CustomArrayArrayType;
16
+ export type TypeList = 'falsely' | 'range' | 'array' | 'regexp' | 'custom' | 'other' | 'function' | 'string';
@@ -1 +0,0 @@
1
-
@@ -38,12 +38,8 @@ var __generator = this && this.__generator || function (thisArg, body) {
38
38
  f,
39
39
  y,
40
40
  t,
41
- g;
42
- return g = {
43
- next: verb(0),
44
- "throw": verb(1),
45
- "return": verb(2)
46
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
41
+ g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
42
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function () {
47
43
  return this;
48
44
  }), g;
49
45
  function verb(n) {
@@ -53,7 +49,7 @@ var __generator = this && this.__generator || function (thisArg, body) {
53
49
  }
54
50
  function step(op) {
55
51
  if (f) throw new TypeError("Generator is already executing.");
56
- while (_) {
52
+ while (g && (g = 0, op[0] && (_ = 0)), _) {
57
53
  try {
58
54
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
59
55
  if (y = 0, t) op = [op[0] & 2, t.value];
@@ -50,12 +50,8 @@ var __generator = this && this.__generator || function (thisArg, body) {
50
50
  f,
51
51
  y,
52
52
  t,
53
- g;
54
- return g = {
55
- next: verb(0),
56
- "throw": verb(1),
57
- "return": verb(2)
58
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
53
+ g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
54
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function () {
59
55
  return this;
60
56
  }), g;
61
57
  function verb(n) {
@@ -65,7 +61,7 @@ var __generator = this && this.__generator || function (thisArg, body) {
65
61
  }
66
62
  function step(op) {
67
63
  if (f) throw new TypeError("Generator is already executing.");
68
- while (_) {
64
+ while (g && (g = 0, op[0] && (_ = 0)), _) {
69
65
  try {
70
66
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
71
67
  if (y = 0, t) op = [op[0] & 2, t.value];
@@ -1,6 +1,6 @@
1
1
  import type { JSONEditorOptions } from 'jsoneditor';
2
2
  import React from 'react';
3
- export declare type JSONEditorProps = {
3
+ export type JSONEditorProps = {
4
4
  className?: string;
5
5
  options?: JSONEditorOptions;
6
6
  onChange?: (value: string) => void;
@@ -9,8 +9,8 @@ export declare enum EntryTypeEnum {
9
9
  FIRST_ENTRY = "firstEntry",
10
10
  SECOND_ENTRY = "secondEntry"
11
11
  }
12
- export declare type ChangedEntryType = typeof EntryTypeEnum[keyof typeof EntryTypeEnum];
13
- declare type SelectOptionsType = {
12
+ export type ChangedEntryType = typeof EntryTypeEnum[keyof typeof EntryTypeEnum];
13
+ type SelectOptionsType = {
14
14
  value: number;
15
15
  label: string;
16
16
  };
@@ -18,12 +18,12 @@ export declare enum dateTypeEnum {
18
18
  YEAR = 15,
19
19
  ALL = 16
20
20
  }
21
- export declare type RadioListType = {
21
+ export type RadioListType = {
22
22
  key: string | number | dateTypeEnum;
23
23
  text: string;
24
24
  value: [Moment, Moment];
25
25
  };
26
- declare type GetDefaultRadioListPropsType = {
26
+ type GetDefaultRadioListPropsType = {
27
27
  messages: LangType;
28
28
  timeOffset?: number;
29
29
  /** 自然日期 */
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { Moment } from 'moment';
3
3
  import type { dateTypeEnum } from './defaultRadioList';
4
4
  import type { LabelRangePickerProps } from '../label-range-picker';
5
- export declare type RadioListType = {
5
+ export type RadioListType = {
6
6
  key: string | number | dateTypeEnum;
7
7
  text: string;
8
8
  value: [Moment, Moment];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { NumberInputProps } from '../number-input';
3
- export declare type RangeNumberValue = {
3
+ export type RangeNumberValue = {
4
4
  startInterval?: number | string;
5
5
  endInterval?: number | string;
6
6
  };
@@ -1,4 +1,4 @@
1
- export declare type LabelCustomizeRangePickerType = {
1
+ export type LabelCustomizeRangePickerType = {
2
2
  customTime: string;
3
3
  toDay: string;
4
4
  yesterDay: string;
@@ -17,14 +17,14 @@ export declare type LabelCustomizeRangePickerType = {
17
17
  year: string;
18
18
  all: string;
19
19
  };
20
- export declare type Global = {
20
+ export type Global = {
21
21
  placeholder: string;
22
22
  };
23
23
  export declare enum langTypeEnum {
24
24
  labelCustomizeRangePicker = "labelCustomizeRangePicker",
25
25
  global = "global"
26
26
  }
27
- export declare type LangType = {
27
+ export type LangType = {
28
28
  [langTypeEnum.labelCustomizeRangePicker]: LabelCustomizeRangePickerType;
29
29
  [langTypeEnum.global]: Global;
30
30
  };
@@ -2,7 +2,7 @@ export interface RegexOptionType {
2
2
  isValid: boolean;
3
3
  replacement: string;
4
4
  }
5
- declare type regexParamsType = RegExp | string | {
5
+ type regexParamsType = RegExp | string | {
6
6
  pattern: RegExp;
7
7
  replacement?: string;
8
8
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { NumberFormatProps as ReactNumberFormatProps } from 'react-number-format';
3
- export declare type NumberFormatInputProps = ReactNumberFormatProps;
3
+ export type NumberFormatInputProps = ReactNumberFormatProps;
4
4
  declare const NumberFormatInput: React.FC<NumberFormatInputProps>;
5
5
  export default NumberFormatInput;
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import type { InputProps } from 'antd/lib/input';
3
3
  import * as dataTypeEnum from './const/dataTypeEnum';
4
4
  import * as numberTypeEnum from './const/numberType';
5
- export declare type NumberInputValueType = string | number;
5
+ export type NumberInputValueType = string | number;
6
6
  export interface NumberInputProps extends Omit<InputProps, 'onChange' | 'onBlur'> {
7
7
  /** 输入框的内容 */
8
8
  value?: NumberInputValueType;
@@ -1,5 +1,5 @@
1
1
  import type { EChartsOption } from 'echarts';
2
- export declare type Opts = {
2
+ export type Opts = {
3
3
  devicePixelRatio?: number;
4
4
  renderer?: 'canvas' | 'svg';
5
5
  width?: number | null | undefined | 'auto';
@@ -1,5 +1,5 @@
1
1
  import * as echarts from 'echarts';
2
- export declare type Opts = {
2
+ export type Opts = {
3
3
  devicePixelRatio?: number;
4
4
  renderer?: 'canvas' | 'svg';
5
5
  width?: number | null | undefined | 'auto';
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1,4 +1,4 @@
1
1
  import type { QRCodeToDataURLOptions, QRCodeSegment } from 'qrcode';
2
- declare type ValueTypes = string | QRCodeSegment[];
2
+ type ValueTypes = string | QRCodeSegment[];
3
3
  export declare const useQRCode: (value: ValueTypes, options?: QRCodeToDataURLOptions) => string;
4
4
  export default useQRCode;
@@ -28,7 +28,7 @@ import 'tinymce/plugins/autoresize';
28
28
  import 'tinymce/plugins/emoticons';
29
29
  import 'tinymce/plugins/importcss';
30
30
  import 'tinymce/plugins/pagebreak';
31
- export declare type RichTextEditorProps = IAllProps;
31
+ export type RichTextEditorProps = IAllProps;
32
32
  declare const defaultPlugins: string[];
33
33
  declare const defaultToolbar: string;
34
34
  declare const RichTextEditor: (props: IAllProps) => JSX.Element;
@@ -50,12 +50,8 @@ var __generator = this && this.__generator || function (thisArg, body) {
50
50
  f,
51
51
  y,
52
52
  t,
53
- g;
54
- return g = {
55
- next: verb(0),
56
- "throw": verb(1),
57
- "return": verb(2)
58
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
53
+ g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
54
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function () {
59
55
  return this;
60
56
  }), g;
61
57
  function verb(n) {
@@ -65,7 +61,7 @@ var __generator = this && this.__generator || function (thisArg, body) {
65
61
  }
66
62
  function step(op) {
67
63
  if (f) throw new TypeError("Generator is already executing.");
68
- while (_) {
64
+ while (g && (g = 0, op[0] && (_ = 0)), _) {
69
65
  try {
70
66
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
71
67
  if (y = 0, t) op = [op[0] & 2, t.value];
@@ -1 +0,0 @@
1
-
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  /** 只做描述 */
3
- export declare type SplitPaneProps = {
3
+ export type SplitPaneProps = {
4
4
  /**
5
5
  * 是否允许拖动
6
6
  * @default true
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { ConditionInputProps } from '../condition-input';
3
- export declare type TextInputProps = ConditionInputProps;
3
+ export type TextInputProps = ConditionInputProps;
4
4
  declare const TextInput: React.ForwardRefExoticComponent<ConditionInputProps & React.RefAttributes<unknown>>;
5
5
  export default TextInput;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type AreaTextProps = {
2
+ export type AreaTextProps = {
3
3
  className?: string;
4
4
  value?: string;
5
5
  };
@@ -1 +0,0 @@
1
-
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { DrawerProps } from 'antd/lib/drawer';
3
- export declare type DrawerAction = {
3
+ export type DrawerAction = {
4
4
  close: () => void;
5
5
  open: () => void;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- declare type ClientOnlyProps = {
2
+ type ClientOnlyProps = {
3
3
  /** 需要渲染的元素 */
4
4
  children: React.ReactElement;
5
5
  };
@@ -1 +0,0 @@
1
-
@@ -1,7 +1,7 @@
1
1
  import type { SketchPickerProps } from 'react-color';
2
2
  import React from 'react';
3
3
  import type { TriggerProps } from 'rc-trigger';
4
- export declare type ColorSelectProps = {
4
+ export type ColorSelectProps = {
5
5
  value?: {
6
6
  hex?: string;
7
7
  rgb?: string;
@@ -1,15 +1,15 @@
1
1
  import * as React from 'react';
2
- import type { BaseOptionType, SelectProps } from 'antd/lib/select';
2
+ import type { DefaultOptionType, SelectProps } from 'antd/lib/select';
3
3
  declare const Option: import("rc-select/lib/Option").OptionFC;
4
4
  export { Option };
5
- export declare type ComplexValSelectValueType = string | number | any[] | Record<string, any> | null | undefined;
6
- export interface ComplexValSelectOptionType extends Omit<BaseOptionType, 'value' | 'children' | 'options'> {
5
+ export type ComplexValSelectValueType = string | number | any[] | Record<string, any> | null | undefined;
6
+ export interface ComplexValSelectOptionType extends Omit<DefaultOptionType, 'value' | 'children' | 'options'> {
7
7
  value?: ComplexValSelectValueType;
8
8
  children?: ComplexValSelectOptionType[];
9
9
  options?: Omit<ComplexValSelectOptionType, 'children' | 'options'>[];
10
10
  }
11
11
  /** 判断optionsValue是否是引用类型 */
12
- export declare const isReferenceTypeOption: (options?: ComplexValSelectOptionType[] | undefined) => boolean;
12
+ export declare const isReferenceTypeOption: (options?: ComplexValSelectOptionType[]) => boolean;
13
13
  export interface ComplexValSelectProps<T> extends Omit<SelectProps, 'value' | 'onChange' | 'options'> {
14
14
  value?: T;
15
15
  onChange?: (val: T, opt?: ComplexValSelectOptionType[]) => void;
@@ -124,7 +124,6 @@ var ComplexValSelect = React.forwardRef(function (props, ref) {
124
124
  value = _a[0],
125
125
  setValue = _a[1];
126
126
  var options = props.options,
127
- onChange = props.onChange,
128
127
  onSelect = props.onSelect;
129
128
  var selectRef = React.useRef(null);
130
129
  React.useImperativeHandle(ref, function () {
@@ -135,8 +134,7 @@ var ComplexValSelect = React.forwardRef(function (props, ref) {
135
134
  var finalOptions = isReferenceTypeVal ? formatOptions(options) : options;
136
135
  var handleChange = function handleChange(val) {
137
136
  var nextVal = val && isReferenceTypeVal ? JSON.parse(val) : val;
138
- setValue(nextVal);
139
- onChange === null || onChange === void 0 ? void 0 : onChange(nextVal, options);
137
+ setValue(nextVal, options);
140
138
  };
141
139
  var handleSelect = function handleSelect(val) {
142
140
  var nextVal = val && isReferenceTypeVal ? JSON.parse(val) : val;
@@ -2,7 +2,7 @@ export interface RegexOptionType {
2
2
  isValid: boolean;
3
3
  replacement: string;
4
4
  }
5
- declare type regexParamsType = RegExp | string | {
5
+ type regexParamsType = RegExp | string | {
6
6
  pattern: RegExp;
7
7
  replacement?: string;
8
8
  };
@@ -9,8 +9,8 @@ export declare enum EntryTypeEnum {
9
9
  FIRST_ENTRY = "firstEntry",
10
10
  SECOND_ENTRY = "secondEntry"
11
11
  }
12
- export declare type ChangedEntryType = typeof EntryTypeEnum[keyof typeof EntryTypeEnum];
13
- declare type SelectOptionsType = {
12
+ export type ChangedEntryType = typeof EntryTypeEnum[keyof typeof EntryTypeEnum];
13
+ type SelectOptionsType = {
14
14
  value: ComplexValSelectValueType;
15
15
  label: string;
16
16
  };
@@ -89,12 +89,12 @@ var InputTypeEnum;
89
89
  (function (InputTypeEnum) {
90
90
  InputTypeEnum["CONDITION_INPUT"] = "conditionInput";
91
91
  InputTypeEnum["SELECT"] = "select";
92
- })(InputTypeEnum = exports.InputTypeEnum || (exports.InputTypeEnum = {}));
92
+ })(InputTypeEnum || (exports.InputTypeEnum = InputTypeEnum = {}));
93
93
  var EntryTypeEnum;
94
94
  (function (EntryTypeEnum) {
95
95
  EntryTypeEnum["FIRST_ENTRY"] = "firstEntry";
96
96
  EntryTypeEnum["SECOND_ENTRY"] = "secondEntry";
97
- })(EntryTypeEnum = exports.EntryTypeEnum || (exports.EntryTypeEnum = {}));
97
+ })(EntryTypeEnum || (exports.EntryTypeEnum = EntryTypeEnum = {}));
98
98
  /** 找所有的子代选项 */
99
99
  var findAllSubSelectItems = function findAllSubSelectItems(dataSource, key) {
100
100
  var _a, _b;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { LangType } from '../messages';
3
2
  declare const LocaleContext: import("react").Context<LangType>;
4
3
  export default LocaleContext;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type LocaleType = 'en-US' | 'zh-CN' | 'zh-TW' | 'bg' | 'cs' | 'de' | 'es' | 'fr' | 'fi' | 'it' | 'id' | 'ja' | 'ko' | 'nl' | 'nb-NO' | 'ru' | 'sv' | 'pt' | 'ar' | 'th' | 'ro' | 'vi' | 'ug';
2
+ export type LocaleType = 'en-US' | 'zh-CN' | 'zh-TW' | 'bg' | 'cs' | 'de' | 'es' | 'fr' | 'fi' | 'it' | 'id' | 'ja' | 'ko' | 'nl' | 'nb-NO' | 'ru' | 'sv' | 'pt' | 'ar' | 'th' | 'ro' | 'vi' | 'ug';
3
3
  export interface ConfigProviderProps {
4
4
  children?: React.ReactNode;
5
5
  locale: LocaleType;
@@ -1 +0,0 @@
1
-
@@ -3,8 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.isPresetSize = void 0;
6
+ exports.isPresetSize = isPresetSize;
7
7
  function isPresetSize(size) {
8
8
  return ['small', 'middle', 'large'].includes(size);
9
- }
10
- exports.isPresetSize = isPresetSize;
9
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { RangesType } from './types';
3
2
  declare class Span {
4
3
  beginIndex: number;
@@ -41,6 +41,7 @@ var __importDefault = this && this.__importDefault || function (mod) {
41
41
  Object.defineProperty(exports, "__esModule", {
42
42
  value: true
43
43
  });
44
+ exports["default"] = extractSpansOfClasses;
44
45
  /* eslint-disable no-plusplus */
45
46
  var react_1 = __importDefault(require("react"));
46
47
  var Span = /** @class */function () {
@@ -150,5 +151,4 @@ function extractSpansOfClasses(value, ranges) {
150
151
  }
151
152
  });
152
153
  return spans;
153
- }
154
- exports["default"] = extractSpansOfClasses;
154
+ }
@@ -41,6 +41,7 @@ var __importDefault = this && this.__importDefault || function (mod) {
41
41
  Object.defineProperty(exports, "__esModule", {
42
42
  value: true
43
43
  });
44
+ exports["default"] = getRanges;
44
45
  /* eslint-disable no-param-reassign */
45
46
  /* eslint-disable @typescript-eslint/no-use-before-define */
46
47
  /* eslint-disable no-cond-assign */
@@ -69,7 +70,6 @@ function getRanges(input, highlight) {
69
70
  }
70
71
  return [];
71
72
  }
72
- exports["default"] = getRanges;
73
73
  function getArrayRanges(input, arr) {
74
74
  // const ranges: RangesType = arr.map(getRanges.bind(this, input));
75
75
  var ranges = arr.map(function (highlight) {
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ exports["default"] = getType;
6
7
  function getType(instance) {
7
8
  var type = typeof instance;
8
9
  if (!instance) {
@@ -25,5 +26,4 @@ function getType(instance) {
25
26
  return type;
26
27
  }
27
28
  return 'other';
28
- }
29
- exports["default"] = getType;
29
+ }
@@ -1,16 +1,16 @@
1
- export declare type StringType = string;
2
- export declare type NumberArrayType = number[];
3
- export declare type RegExpType = RegExp;
4
- export declare type FuncType = (input: string) => string;
5
- export declare type HighlightInstanceType = StringType | NumberArrayType | RegExpType | FuncType;
6
- export declare type AdmixArrayType = HighlightInstanceType[];
7
- export declare type ObjectType = {
1
+ export type StringType = string;
2
+ export type NumberArrayType = number[];
3
+ export type RegExpType = RegExp;
4
+ export type FuncType = (input: string) => string;
5
+ export type HighlightInstanceType = StringType | NumberArrayType | RegExpType | FuncType;
6
+ export type AdmixArrayType = HighlightInstanceType[];
7
+ export type ObjectType = {
8
8
  highlight: HighlightInstanceType;
9
9
  className?: string;
10
10
  };
11
- export declare type CustomArrayArrayType = ObjectType[];
12
- export declare type RangesType = (number | {
11
+ export type CustomArrayArrayType = ObjectType[];
12
+ export type RangesType = (number | {
13
13
  className?: string;
14
14
  })[][];
15
- export declare type HighlightType = StringType | NumberArrayType | RegExpType | FuncType | HighlightInstanceType | AdmixArrayType | ObjectType | CustomArrayArrayType;
16
- export declare type TypeList = 'falsely' | 'range' | 'array' | 'regexp' | 'custom' | 'other' | 'function' | 'string';
15
+ export type HighlightType = StringType | NumberArrayType | RegExpType | FuncType | HighlightInstanceType | AdmixArrayType | ObjectType | CustomArrayArrayType;
16
+ export type TypeList = 'falsely' | 'range' | 'array' | 'regexp' | 'custom' | 'other' | 'function' | 'string';
@@ -1 +0,0 @@
1
-
@@ -40,12 +40,8 @@ var __generator = this && this.__generator || function (thisArg, body) {
40
40
  f,
41
41
  y,
42
42
  t,
43
- g;
44
- return g = {
45
- next: verb(0),
46
- "throw": verb(1),
47
- "return": verb(2)
48
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
43
+ g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
44
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function () {
49
45
  return this;
50
46
  }), g;
51
47
  function verb(n) {
@@ -55,7 +51,7 @@ var __generator = this && this.__generator || function (thisArg, body) {
55
51
  }
56
52
  function step(op) {
57
53
  if (f) throw new TypeError("Generator is already executing.");
58
- while (_) {
54
+ while (g && (g = 0, op[0] && (_ = 0)), _) {
59
55
  try {
60
56
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
61
57
  if (y = 0, t) op = [op[0] & 2, t.value];
@@ -85,12 +85,8 @@ var __generator = this && this.__generator || function (thisArg, body) {
85
85
  f,
86
86
  y,
87
87
  t,
88
- g;
89
- return g = {
90
- next: verb(0),
91
- "throw": verb(1),
92
- "return": verb(2)
93
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
88
+ g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
89
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function () {
94
90
  return this;
95
91
  }), g;
96
92
  function verb(n) {
@@ -100,7 +96,7 @@ var __generator = this && this.__generator || function (thisArg, body) {
100
96
  }
101
97
  function step(op) {
102
98
  if (f) throw new TypeError("Generator is already executing.");
103
- while (_) {
99
+ while (g && (g = 0, op[0] && (_ = 0)), _) {
104
100
  try {
105
101
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
106
102
  if (y = 0, t) op = [op[0] & 2, t.value];
@@ -1,6 +1,6 @@
1
1
  import type { JSONEditorOptions } from 'jsoneditor';
2
2
  import React from 'react';
3
- export declare type JSONEditorProps = {
3
+ export type JSONEditorProps = {
4
4
  className?: string;
5
5
  options?: JSONEditorOptions;
6
6
  onChange?: (value: string) => void;
@@ -9,8 +9,8 @@ export declare enum EntryTypeEnum {
9
9
  FIRST_ENTRY = "firstEntry",
10
10
  SECOND_ENTRY = "secondEntry"
11
11
  }
12
- export declare type ChangedEntryType = typeof EntryTypeEnum[keyof typeof EntryTypeEnum];
13
- declare type SelectOptionsType = {
12
+ export type ChangedEntryType = typeof EntryTypeEnum[keyof typeof EntryTypeEnum];
13
+ type SelectOptionsType = {
14
14
  value: number;
15
15
  label: string;
16
16
  };
@@ -89,12 +89,12 @@ var InputTypeEnum;
89
89
  (function (InputTypeEnum) {
90
90
  InputTypeEnum["CONDITION_INPUT"] = "conditionInput";
91
91
  InputTypeEnum["SELECT"] = "select";
92
- })(InputTypeEnum = exports.InputTypeEnum || (exports.InputTypeEnum = {}));
92
+ })(InputTypeEnum || (exports.InputTypeEnum = InputTypeEnum = {}));
93
93
  var EntryTypeEnum;
94
94
  (function (EntryTypeEnum) {
95
95
  EntryTypeEnum["FIRST_ENTRY"] = "firstEntry";
96
96
  EntryTypeEnum["SECOND_ENTRY"] = "secondEntry";
97
- })(EntryTypeEnum = exports.EntryTypeEnum || (exports.EntryTypeEnum = {}));
97
+ })(EntryTypeEnum || (exports.EntryTypeEnum = EntryTypeEnum = {}));
98
98
  /** 找所有的子代选项 */
99
99
  var findAllSubSelectItems = function findAllSubSelectItems(dataSource, key) {
100
100
  var _a, _b;
@@ -18,12 +18,12 @@ export declare enum dateTypeEnum {
18
18
  YEAR = 15,
19
19
  ALL = 16
20
20
  }
21
- export declare type RadioListType = {
21
+ export type RadioListType = {
22
22
  key: string | number | dateTypeEnum;
23
23
  text: string;
24
24
  value: [Moment, Moment];
25
25
  };
26
- declare type GetDefaultRadioListPropsType = {
26
+ type GetDefaultRadioListPropsType = {
27
27
  messages: LangType;
28
28
  timeOffset?: number;
29
29
  /** 自然日期 */
@@ -96,7 +96,7 @@ var dateTypeEnum;
96
96
  dateTypeEnum[dateTypeEnum["BEFORE_365_DAY"] = 14] = "BEFORE_365_DAY";
97
97
  dateTypeEnum[dateTypeEnum["YEAR"] = 15] = "YEAR";
98
98
  dateTypeEnum[dateTypeEnum["ALL"] = 16] = "ALL";
99
- })(dateTypeEnum = exports.dateTypeEnum || (exports.dateTypeEnum = {}));
99
+ })(dateTypeEnum || (exports.dateTypeEnum = dateTypeEnum = {}));
100
100
  var getDefaultRadioList = function getDefaultRadioList(_a) {
101
101
  var messages = _a.messages,
102
102
  timeOffset = _a.timeOffset,
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { Moment } from 'moment';
3
3
  import type { dateTypeEnum } from './defaultRadioList';
4
4
  import type { LabelRangePickerProps } from '../label-range-picker';
5
- export declare type RadioListType = {
5
+ export type RadioListType = {
6
6
  key: string | number | dateTypeEnum;
7
7
  text: string;
8
8
  value: [Moment, Moment];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { NumberInputProps } from '../number-input';
3
- export declare type RangeNumberValue = {
3
+ export type RangeNumberValue = {
4
4
  startInterval?: number | string;
5
5
  endInterval?: number | string;
6
6
  };
@@ -1,4 +1,4 @@
1
- export declare type LabelCustomizeRangePickerType = {
1
+ export type LabelCustomizeRangePickerType = {
2
2
  customTime: string;
3
3
  toDay: string;
4
4
  yesterDay: string;
@@ -17,14 +17,14 @@ export declare type LabelCustomizeRangePickerType = {
17
17
  year: string;
18
18
  all: string;
19
19
  };
20
- export declare type Global = {
20
+ export type Global = {
21
21
  placeholder: string;
22
22
  };
23
23
  export declare enum langTypeEnum {
24
24
  labelCustomizeRangePicker = "labelCustomizeRangePicker",
25
25
  global = "global"
26
26
  }
27
- export declare type LangType = {
27
+ export type LangType = {
28
28
  [langTypeEnum.labelCustomizeRangePicker]: LabelCustomizeRangePickerType;
29
29
  [langTypeEnum.global]: Global;
30
30
  };
@@ -4,12 +4,12 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.langTypeEnum = void 0;
7
+ exports["default"] = formatMessage;
7
8
  var langTypeEnum;
8
9
  (function (langTypeEnum) {
9
10
  langTypeEnum["labelCustomizeRangePicker"] = "labelCustomizeRangePicker";
10
11
  langTypeEnum["global"] = "global";
11
- })(langTypeEnum = exports.langTypeEnum || (exports.langTypeEnum = {}));
12
+ })(langTypeEnum || (exports.langTypeEnum = langTypeEnum = {}));
12
13
  function formatMessage(message, displayName, key) {
13
14
  return message[displayName][key];
14
- }
15
- exports["default"] = formatMessage;
15
+ }
@@ -2,7 +2,7 @@ export interface RegexOptionType {
2
2
  isValid: boolean;
3
3
  replacement: string;
4
4
  }
5
- declare type regexParamsType = RegExp | string | {
5
+ type regexParamsType = RegExp | string | {
6
6
  pattern: RegExp;
7
7
  replacement?: string;
8
8
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { NumberFormatProps as ReactNumberFormatProps } from 'react-number-format';
3
- export declare type NumberFormatInputProps = ReactNumberFormatProps;
3
+ export type NumberFormatInputProps = ReactNumberFormatProps;
4
4
  declare const NumberFormatInput: React.FC<NumberFormatInputProps>;
5
5
  export default NumberFormatInput;
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import type { InputProps } from 'antd/lib/input';
3
3
  import * as dataTypeEnum from './const/dataTypeEnum';
4
4
  import * as numberTypeEnum from './const/numberType';
5
- export declare type NumberInputValueType = string | number;
5
+ export type NumberInputValueType = string | number;
6
6
  export interface NumberInputProps extends Omit<InputProps, 'onChange' | 'onBlur'> {
7
7
  /** 输入框的内容 */
8
8
  value?: NumberInputValueType;
@@ -1,5 +1,5 @@
1
1
  import type { EChartsOption } from 'echarts';
2
- export declare type Opts = {
2
+ export type Opts = {
3
3
  devicePixelRatio?: number;
4
4
  renderer?: 'canvas' | 'svg';
5
5
  width?: number | null | undefined | 'auto';
@@ -1,5 +1,5 @@
1
1
  import * as echarts from 'echarts';
2
- export declare type Opts = {
2
+ export type Opts = {
3
3
  devicePixelRatio?: number;
4
4
  renderer?: 'canvas' | 'svg';
5
5
  width?: number | null | undefined | 'auto';
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
@@ -1,4 +1,4 @@
1
1
  import type { QRCodeToDataURLOptions, QRCodeSegment } from 'qrcode';
2
- declare type ValueTypes = string | QRCodeSegment[];
2
+ type ValueTypes = string | QRCodeSegment[];
3
3
  export declare const useQRCode: (value: ValueTypes, options?: QRCodeToDataURLOptions) => string;
4
4
  export default useQRCode;
@@ -28,7 +28,7 @@ import 'tinymce/plugins/autoresize';
28
28
  import 'tinymce/plugins/emoticons';
29
29
  import 'tinymce/plugins/importcss';
30
30
  import 'tinymce/plugins/pagebreak';
31
- export declare type RichTextEditorProps = IAllProps;
31
+ export type RichTextEditorProps = IAllProps;
32
32
  declare const defaultPlugins: string[];
33
33
  declare const defaultToolbar: string;
34
34
  declare const RichTextEditor: (props: IAllProps) => JSX.Element;
@@ -85,12 +85,8 @@ var __generator = this && this.__generator || function (thisArg, body) {
85
85
  f,
86
86
  y,
87
87
  t,
88
- g;
89
- return g = {
90
- next: verb(0),
91
- "throw": verb(1),
92
- "return": verb(2)
93
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
88
+ g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
89
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function () {
94
90
  return this;
95
91
  }), g;
96
92
  function verb(n) {
@@ -100,7 +96,7 @@ var __generator = this && this.__generator || function (thisArg, body) {
100
96
  }
101
97
  function step(op) {
102
98
  if (f) throw new TypeError("Generator is already executing.");
103
- while (_) {
99
+ while (g && (g = 0, op[0] && (_ = 0)), _) {
104
100
  try {
105
101
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
106
102
  if (y = 0, t) op = [op[0] & 2, t.value];
@@ -1 +0,0 @@
1
-
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  /** 只做描述 */
3
- export declare type SplitPaneProps = {
3
+ export type SplitPaneProps = {
4
4
  /**
5
5
  * 是否允许拖动
6
6
  * @default true
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { ConditionInputProps } from '../condition-input';
3
- export declare type TextInputProps = ConditionInputProps;
3
+ export type TextInputProps = ConditionInputProps;
4
4
  declare const TextInput: React.ForwardRefExoticComponent<ConditionInputProps & React.RefAttributes<unknown>>;
5
5
  export default TextInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "3.1.73",
3
+ "version": "3.1.75",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -80,5 +80,5 @@
80
80
  "node": ">=10.0.0"
81
81
  },
82
82
  "license": "MIT",
83
- "gitHead": "c4c76a74045ef87b12675f1b7f16ac56cbbdd18a"
83
+ "gitHead": "0590be516d766f9d0ef2c5d56aaff1eb4d3a8b2e"
84
84
  }