deepsea-components 5.18.5 → 5.18.7

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 (105) hide show
  1. package/README.md +23 -23
  2. package/dist/components/AutoFit.cjs +9 -5
  3. package/dist/components/AutoFit.d.ts +1 -1
  4. package/dist/components/AutoScroll.cjs +9 -5
  5. package/dist/components/AutoScroll.d.ts +2 -2
  6. package/dist/components/AutoSizeTextarea.cjs +9 -5
  7. package/dist/components/AutoSizeTextarea.d.ts +1 -1
  8. package/dist/components/CircleText.cjs +9 -5
  9. package/dist/components/CircleText.d.ts +1 -1
  10. package/dist/components/CopyButton.cjs +11 -10
  11. package/dist/components/CopyButton.d.ts +3 -3
  12. package/dist/components/CopyButton.js +2 -2
  13. package/dist/components/DraggableGrid.cjs +9 -5
  14. package/dist/components/DraggableGrid.d.ts +2 -2
  15. package/dist/components/DraggableGrid.module.cjs +9 -5
  16. package/dist/components/Echart.cjs +9 -5
  17. package/dist/components/Echart.d.ts +3 -3
  18. package/dist/components/Flow.cjs +9 -5
  19. package/dist/components/Flow.d.ts +1 -1
  20. package/dist/components/FormLabel.cjs +9 -5
  21. package/dist/components/FormLabel.d.ts +1 -1
  22. package/dist/components/HlsPlayer.cjs +9 -5
  23. package/dist/components/HlsPlayer.d.ts +1 -1
  24. package/dist/components/IconFileType.cjs +9 -5
  25. package/dist/components/IconFileType.d.ts +1 -1
  26. package/dist/components/InfiniteScroll.cjs +9 -5
  27. package/dist/components/InfiniteScroll.d.ts +1 -1
  28. package/dist/components/InputFile.cjs +9 -5
  29. package/dist/components/InputFile.d.ts +1 -1
  30. package/dist/components/InputFileButton.cjs +9 -5
  31. package/dist/components/InputFileButton.d.ts +2 -2
  32. package/dist/components/LoopSwiper.cjs +9 -5
  33. package/dist/components/LoopSwiper.d.ts +1 -1
  34. package/dist/components/ReadExcel.cjs +9 -5
  35. package/dist/components/ReadExcel.d.ts +1 -1
  36. package/dist/components/ReadSheet.cjs +9 -5
  37. package/dist/components/ReadSheet.d.ts +2 -2
  38. package/dist/components/Ring.cjs +9 -5
  39. package/dist/components/Ring.d.ts +1 -1
  40. package/dist/components/RtspPlayer.cjs +9 -5
  41. package/dist/components/RtspPlayer.d.ts +1 -1
  42. package/dist/components/Scroll.cjs +14 -9
  43. package/dist/components/Scroll.d.ts +1 -1
  44. package/dist/components/ScrollMask.cjs +9 -5
  45. package/dist/components/ScrollMask.d.ts +1 -1
  46. package/dist/components/ScrollMask.module.cjs +9 -5
  47. package/dist/components/SectionRing.cjs +9 -5
  48. package/dist/components/SectionRing.d.ts +1 -1
  49. package/dist/components/Skeleton.cjs +9 -5
  50. package/dist/components/Skeleton.d.ts +1 -1
  51. package/dist/components/Title.cjs +9 -5
  52. package/dist/components/Title.d.ts +1 -1
  53. package/dist/components/TransitionBox.cjs +9 -5
  54. package/dist/components/TransitionBox.d.ts +1 -1
  55. package/dist/components/TransitionNum.cjs +9 -5
  56. package/dist/components/TransitionNum.d.ts +1 -1
  57. package/dist/components/Trapezium.cjs +9 -5
  58. package/dist/components/Trapezium.d.ts +1 -1
  59. package/dist/components/Unify.cjs +9 -5
  60. package/dist/components/Unify.d.ts +1 -1
  61. package/dist/components/WriteExcel.cjs +9 -5
  62. package/dist/components/WriteExcel.d.ts +1 -1
  63. package/dist/components/WriteSheet.cjs +9 -5
  64. package/dist/components/WriteSheet.d.ts +2 -2
  65. package/dist/components/rtspPlayer/reader.cjs +12 -8
  66. package/dist/index.cjs +9 -5
  67. package/dist/utils/getReactVersion.cjs +9 -5
  68. package/dist/utils/index.cjs +14 -10
  69. package/dist/utils/index.d.ts +1 -1
  70. package/package.json +7 -7
  71. package/src/components/AutoFit.tsx +1 -1
  72. package/src/components/AutoScroll.tsx +3 -3
  73. package/src/components/AutoSizeTextarea.tsx +1 -1
  74. package/src/components/CircleText.tsx +81 -81
  75. package/src/components/CopyButton.tsx +4 -3
  76. package/src/components/DraggableGrid.tsx +3 -2
  77. package/src/components/Echart.tsx +63 -62
  78. package/src/components/Flow.tsx +5 -1
  79. package/src/components/FormLabel.tsx +1 -1
  80. package/src/components/HlsPlayer.tsx +1 -1
  81. package/src/components/IconFileType.tsx +1 -1
  82. package/src/components/InfiniteScroll.tsx +10 -1
  83. package/src/components/InputFile.tsx +3 -1
  84. package/src/components/InputFileButton.tsx +13 -13
  85. package/src/components/LoopSwiper.tsx +1 -1
  86. package/src/components/ReadExcel.tsx +13 -13
  87. package/src/components/ReadSheet.tsx +2 -2
  88. package/src/components/Ring.tsx +1 -1
  89. package/src/components/RtspPlayer.tsx +3 -4
  90. package/src/components/Scroll.tsx +12 -1
  91. package/src/components/ScrollMask.module.css +87 -87
  92. package/src/components/ScrollMask.tsx +1 -1
  93. package/src/components/SectionRing.tsx +2 -2
  94. package/src/components/Skeleton.tsx +1 -1
  95. package/src/components/Title.tsx +1 -1
  96. package/src/components/TransitionBox.tsx +1 -1
  97. package/src/components/TransitionNum.tsx +1 -1
  98. package/src/components/Trapezium.tsx +1 -1
  99. package/src/components/Unify.tsx +11 -1
  100. package/src/components/WriteExcel.tsx +13 -13
  101. package/src/components/WriteSheet.tsx +2 -2
  102. package/src/components/rtspPlayer/reader.ts +6 -9
  103. package/src/utils/getReactVersion.ts +7 -7
  104. package/src/utils/index.ts +33 -33
  105. package/tsconfig.json +6 -13
package/README.md CHANGED
@@ -1,23 +1,23 @@
1
- # deepsea-components
2
-
3
- [![NPM version](https://img.shields.io/npm/v/deepsea-components.svg?style=flat)](https://npmjs.org/package/deepsea-components)
4
- [![NPM downloads](http://img.shields.io/npm/dm/deepsea-components.svg?style=flat)](https://npmjs.org/package/deepsea-components)
5
-
6
- ## Install
7
-
8
- ```bash
9
- $ yarn install
10
- ```
11
-
12
- ```bash
13
- $ npm run dev
14
- $ npm run build
15
- ```
16
-
17
- ## Options
18
-
19
- TODO
20
-
21
- ## LICENSE
22
-
23
- MIT
1
+ # deepsea-components
2
+
3
+ [![NPM version](https://img.shields.io/npm/v/deepsea-components.svg?style=flat)](https://npmjs.org/package/deepsea-components)
4
+ [![NPM downloads](http://img.shields.io/npm/dm/deepsea-components.svg?style=flat)](https://npmjs.org/package/deepsea-components)
5
+
6
+ ## Install
7
+
8
+ ```bash
9
+ $ yarn install
10
+ ```
11
+
12
+ ```bash
13
+ $ npm run dev
14
+ $ npm run build
15
+ ```
16
+
17
+ ## Options
18
+
19
+ TODO
20
+
21
+ ## LICENSE
22
+
23
+ MIT
@@ -2,11 +2,15 @@
2
2
  "use client";
3
3
  var __webpack_require__ = {};
4
4
  (()=>{
5
- __webpack_require__.d = (exports1, definition)=>{
6
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
- enumerable: true,
8
- get: definition[key]
9
- });
5
+ __webpack_require__.d = (exports1, getters, values)=>{
6
+ var define = (defs, kind)=>{
7
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
8
+ enumerable: true,
9
+ [kind]: defs[key]
10
+ });
11
+ };
12
+ define(getters, "get");
13
+ define(values, "value");
10
14
  };
11
15
  })();
12
16
  (()=>{
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from "react";
1
+ import { type HTMLAttributes } from "react";
2
2
  export interface AutoFitProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /** 设计稿宽度,默认 1920 */
4
4
  width?: number;
@@ -2,11 +2,15 @@
2
2
  "use client";
3
3
  var __webpack_require__ = {};
4
4
  (()=>{
5
- __webpack_require__.d = (exports1, definition)=>{
6
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
- enumerable: true,
8
- get: definition[key]
9
- });
5
+ __webpack_require__.d = (exports1, getters, values)=>{
6
+ var define = (defs, kind)=>{
7
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
8
+ enumerable: true,
9
+ [kind]: defs[key]
10
+ });
11
+ };
12
+ define(getters, "get");
13
+ define(values, "value");
10
14
  };
11
15
  })();
12
16
  (()=>{
@@ -1,5 +1,5 @@
1
- import { CSSProperties, FC } from "react";
2
- import { ScrollProps } from "./Scroll";
1
+ import { type CSSProperties, type FC } from "react";
2
+ import { type ScrollProps } from "./Scroll";
3
3
  export interface AutoScrollProps extends ScrollProps {
4
4
  /** 轮播元素的个数 */
5
5
  count: number;
@@ -2,11 +2,15 @@
2
2
  "use client";
3
3
  var __webpack_require__ = {};
4
4
  (()=>{
5
- __webpack_require__.d = (exports1, definition)=>{
6
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
- enumerable: true,
8
- get: definition[key]
9
- });
5
+ __webpack_require__.d = (exports1, getters, values)=>{
6
+ var define = (defs, kind)=>{
7
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
8
+ enumerable: true,
9
+ [kind]: defs[key]
10
+ });
11
+ };
12
+ define(getters, "get");
13
+ define(values, "value");
10
14
  };
11
15
  })();
12
16
  (()=>{
@@ -1,4 +1,4 @@
1
- import { TextareaHTMLAttributes } from "react";
1
+ import { type TextareaHTMLAttributes } from "react";
2
2
  /**
3
3
  * 自适应高度的文本域
4
4
  */
@@ -2,11 +2,15 @@
2
2
  "use client";
3
3
  var __webpack_require__ = {};
4
4
  (()=>{
5
- __webpack_require__.d = (exports1, definition)=>{
6
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
- enumerable: true,
8
- get: definition[key]
9
- });
5
+ __webpack_require__.d = (exports1, getters, values)=>{
6
+ var define = (defs, kind)=>{
7
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
8
+ enumerable: true,
9
+ [kind]: defs[key]
10
+ });
11
+ };
12
+ define(getters, "get");
13
+ define(values, "value");
10
14
  };
11
15
  })();
12
16
  (()=>{
@@ -1,4 +1,4 @@
1
- import { FC, HTMLAttributes } from "react";
1
+ import { type FC, type HTMLAttributes } from "react";
2
2
  export interface CircleTextProps extends Omit<HTMLAttributes<HTMLSpanElement>, "children"> {
3
3
  /** 每一个方块的宽度 */
4
4
  width: number;
@@ -11,11 +11,15 @@ var __webpack_require__ = {};
11
11
  };
12
12
  })();
13
13
  (()=>{
14
- __webpack_require__.d = (exports1, definition)=>{
15
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
16
- enumerable: true,
17
- get: definition[key]
18
- });
14
+ __webpack_require__.d = (exports1, getters, values)=>{
15
+ var define = (defs, kind)=>{
16
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
17
+ enumerable: true,
18
+ [kind]: defs[key]
19
+ });
20
+ };
21
+ define(getters, "get");
22
+ define(values, "value");
19
23
  };
20
24
  })();
21
25
  (()=>{
@@ -34,8 +38,7 @@ var __webpack_require__ = {};
34
38
  var __webpack_exports__ = {};
35
39
  __webpack_require__.r(__webpack_exports__);
36
40
  __webpack_require__.d(__webpack_exports__, {
37
- CopyButton: ()=>CopyButton,
38
- Event: ()=>external_clipboard_namespaceObject.Event
41
+ CopyButton: ()=>CopyButton
39
42
  });
40
43
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
41
44
  const external_react_namespaceObject = require("react");
@@ -69,10 +72,8 @@ const CopyButton = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)(
69
72
  });
70
73
  });
71
74
  exports.CopyButton = __webpack_exports__.CopyButton;
72
- exports.Event = __webpack_exports__.Event;
73
75
  for(var __rspack_i in __webpack_exports__)if (-1 === [
74
- "CopyButton",
75
- "Event"
76
+ "CopyButton"
76
77
  ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
77
78
  Object.defineProperty(exports, '__esModule', {
78
79
  value: true
@@ -1,6 +1,6 @@
1
- import { ComponentPropsWithoutRef } from "react";
2
- import { Event } from "clipboard";
3
- export { Event } from "clipboard";
1
+ import { type ComponentPropsWithoutRef } from "react";
2
+ import { type Event } from "clipboard";
3
+ export type { Event } from "clipboard";
4
4
  export type CopyButtonProps = ComponentPropsWithoutRef<"button"> & {
5
5
  text?: string;
6
6
  onCopySuccess?: (e: Event) => void;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { forwardRef, useEffect, useImperativeHandle, useRef } from "react";
4
- import clipboard_0, { Event } from "clipboard";
4
+ import clipboard_0 from "clipboard";
5
5
  import { useLatest } from "soda-hooks";
6
6
  const CopyButton = /*#__PURE__*/ forwardRef((props, ref)=>{
7
7
  const { text, onCopySuccess: _onCoptSuccess, onCopyError: _onCopyError, ...rest } = props;
@@ -29,4 +29,4 @@ const CopyButton = /*#__PURE__*/ forwardRef((props, ref)=>{
29
29
  "data-clipboard-text": text
30
30
  });
31
31
  });
32
- export { CopyButton, Event };
32
+ export { CopyButton };
@@ -10,11 +10,15 @@ var __webpack_require__ = {};
10
10
  };
11
11
  })();
12
12
  (()=>{
13
- __webpack_require__.d = (exports1, definition)=>{
14
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
15
- enumerable: true,
16
- get: definition[key]
17
- });
13
+ __webpack_require__.d = (exports1, getters, values)=>{
14
+ var define = (defs, kind)=>{
15
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
16
+ enumerable: true,
17
+ [kind]: defs[key]
18
+ });
19
+ };
20
+ define(getters, "get");
21
+ define(values, "value");
18
22
  };
19
23
  })();
20
24
  (()=>{
@@ -1,5 +1,5 @@
1
- import { ComponentProps, CSSProperties, Key, ReactNode } from "react";
2
- import { DragMoveEvents } from "soda-hooks";
1
+ import { type ComponentProps, type CSSProperties, type Key, type ReactNode } from "react";
2
+ import { type DragMoveEvents } from "soda-hooks";
3
3
  export type MustBeReactNode<T> = false extends (T extends ReactNode ? true : false) ? false : true;
4
4
  export type MustBeReactKey<T> = false extends (T extends Key ? true : false) ? false : true;
5
5
  export type DraggableGridClassName = string | ((status: ContainerStatus) => string);
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  var __webpack_require__ = {};
3
3
  (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
4
+ __webpack_require__.d = (exports1, getters, values)=>{
5
+ var define = (defs, kind)=>{
6
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
+ enumerable: true,
8
+ [kind]: defs[key]
9
+ });
10
+ };
11
+ define(getters, "get");
12
+ define(values, "value");
9
13
  };
10
14
  })();
11
15
  (()=>{
@@ -11,11 +11,15 @@ var __webpack_require__ = {};
11
11
  };
12
12
  })();
13
13
  (()=>{
14
- __webpack_require__.d = (exports1, definition)=>{
15
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
16
- enumerable: true,
17
- get: definition[key]
18
- });
14
+ __webpack_require__.d = (exports1, getters, values)=>{
15
+ var define = (defs, kind)=>{
16
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
17
+ enumerable: true,
18
+ [kind]: defs[key]
19
+ });
20
+ };
21
+ define(getters, "get");
22
+ define(values, "value");
19
23
  };
20
24
  })();
21
25
  (()=>{
@@ -1,6 +1,6 @@
1
- import { ComponentProps, FC, ReactNode, Ref } from "react";
2
- import { AngleAxisComponentOption, AriaComponentOption, AxisPointerComponentOption, BarSeriesOption, BoxplotSeriesOption, BrushComponentOption, CalendarComponentOption, CandlestickSeriesOption, ChordSeriesOption, ComposeOption, ContinousVisualMapComponentOption, CustomSeriesOption, DatasetComponentOption, DataZoomComponentOption, ECharts, EChartsInitOpts, EffectScatterSeriesOption, FunnelSeriesOption, GaugeSeriesOption, GeoComponentOption, GraphicComponentOption, GraphSeriesOption, GridComponentOption, HeatmapSeriesOption, InsideDataZoomComponentOption, LegendComponentOption, LineSeriesOption, LinesSeriesOption, MapSeriesOption, MarkAreaComponentOption, MarkLineComponentOption, MarkPointComponentOption, MatrixComponentOption, ParallelSeriesOption, PictorialBarSeriesOption, PiecewiseVisualMapComponentOption, PieSeriesOption, PlainLegendComponentOption, PolarComponentOption, RadarComponentOption, RadarSeriesOption, RadiusAxisComponentOption, SankeySeriesOption, ScatterSeriesOption, ScrollableLegendComponentOption, SeriesOption, SingleAxisComponentOption, SliderDataZoomComponentOption, SunburstSeriesOption, ThemeRiverSeriesOption, ThumbnailComponentOption, TimelineComponentOption, TitleComponentOption, ToolboxComponentOption, TooltipComponentOption, TreemapSeriesOption, TreeSeriesOption, VisualMapComponentOption, XAXisComponentOption, YAXisComponentOption } from "echarts";
3
- import { ECBasicOption } from "echarts/types/src/util/types.js";
1
+ import { type ComponentProps, type FC, type ReactNode, type Ref } from "react";
2
+ import { type AngleAxisComponentOption, type AriaComponentOption, type AxisPointerComponentOption, type BarSeriesOption, type BoxplotSeriesOption, type BrushComponentOption, type CalendarComponentOption, type CandlestickSeriesOption, type ChordSeriesOption, type ComposeOption, type ContinousVisualMapComponentOption, type CustomSeriesOption, type DatasetComponentOption, type DataZoomComponentOption, type ECharts, type EChartsInitOpts, type EffectScatterSeriesOption, type FunnelSeriesOption, type GaugeSeriesOption, type GeoComponentOption, type GraphicComponentOption, type GraphSeriesOption, type GridComponentOption, type HeatmapSeriesOption, type InsideDataZoomComponentOption, type LegendComponentOption, type LineSeriesOption, type LinesSeriesOption, type MapSeriesOption, type MarkAreaComponentOption, type MarkLineComponentOption, type MarkPointComponentOption, type MatrixComponentOption, type ParallelSeriesOption, type PictorialBarSeriesOption, type PiecewiseVisualMapComponentOption, type PieSeriesOption, type PlainLegendComponentOption, type PolarComponentOption, type RadarComponentOption, type RadarSeriesOption, type RadiusAxisComponentOption, type SankeySeriesOption, type ScatterSeriesOption, type ScrollableLegendComponentOption, type SeriesOption, type SingleAxisComponentOption, type SliderDataZoomComponentOption, type SunburstSeriesOption, type ThemeRiverSeriesOption, type ThumbnailComponentOption, type TimelineComponentOption, type TitleComponentOption, type ToolboxComponentOption, type TooltipComponentOption, type TreemapSeriesOption, type TreeSeriesOption, type VisualMapComponentOption, type XAXisComponentOption, type YAXisComponentOption } from "echarts";
3
+ import type { ECBasicOption } from "echarts/types/src/util/types.js";
4
4
  export type ChartOption<T extends SeriesOption = never> = ComposeOption<T | DatasetComponentOption | GridComponentOption | LegendComponentOption | TitleComponentOption | TooltipComponentOption | AxisPointerComponentOption | GeoComponentOption | MarkLineComponentOption | MarkPointComponentOption | MarkAreaComponentOption | DataZoomComponentOption | AriaComponentOption | BrushComponentOption | PolarComponentOption | RadarComponentOption | XAXisComponentOption | YAXisComponentOption | MatrixComponentOption | GraphicComponentOption | ToolboxComponentOption | CalendarComponentOption | TimelineComponentOption | AngleAxisComponentOption | RadiusAxisComponentOption | SingleAxisComponentOption | VisualMapComponentOption | ThumbnailComponentOption | PlainLegendComponentOption | InsideDataZoomComponentOption | SliderDataZoomComponentOption | PiecewiseVisualMapComponentOption | ContinousVisualMapComponentOption | ScrollableLegendComponentOption>;
5
5
  export type BarOption = ChartOption<BarSeriesOption>;
6
6
  export type BoxplotOption = ChartOption<BoxplotSeriesOption>;
@@ -2,11 +2,15 @@
2
2
  "use client";
3
3
  var __webpack_require__ = {};
4
4
  (()=>{
5
- __webpack_require__.d = (exports1, definition)=>{
6
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
- enumerable: true,
8
- get: definition[key]
9
- });
5
+ __webpack_require__.d = (exports1, getters, values)=>{
6
+ var define = (defs, kind)=>{
7
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
8
+ enumerable: true,
9
+ [kind]: defs[key]
10
+ });
11
+ };
12
+ define(getters, "get");
13
+ define(values, "value");
10
14
  };
11
15
  })();
12
16
  (()=>{
@@ -1,4 +1,4 @@
1
- import { CSSProperties, HTMLAttributes, Key, ReactNode, Ref } from "react";
1
+ import { type CSSProperties, type HTMLAttributes, type Key, type ReactNode, type Ref } from "react";
2
2
  export interface FlowSizeData {
3
3
  /** 容器宽度 */
4
4
  width: number;
@@ -2,11 +2,15 @@
2
2
  "use client";
3
3
  var __webpack_require__ = {};
4
4
  (()=>{
5
- __webpack_require__.d = (exports1, definition)=>{
6
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
- enumerable: true,
8
- get: definition[key]
9
- });
5
+ __webpack_require__.d = (exports1, getters, values)=>{
6
+ var define = (defs, kind)=>{
7
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
8
+ enumerable: true,
9
+ [kind]: defs[key]
10
+ });
11
+ };
12
+ define(getters, "get");
13
+ define(values, "value");
10
14
  };
11
15
  })();
12
16
  (()=>{
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef, FC, ReactNode } from "react";
1
+ import { type ComponentPropsWithoutRef, type FC, type ReactNode } from "react";
2
2
  export interface FormLabelConfig {
3
3
  /**
4
4
  * Label 的宽度.
@@ -11,11 +11,15 @@ var __webpack_require__ = {};
11
11
  };
12
12
  })();
13
13
  (()=>{
14
- __webpack_require__.d = (exports1, definition)=>{
15
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
16
- enumerable: true,
17
- get: definition[key]
18
- });
14
+ __webpack_require__.d = (exports1, getters, values)=>{
15
+ var define = (defs, kind)=>{
16
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
17
+ enumerable: true,
18
+ [kind]: defs[key]
19
+ });
20
+ };
21
+ define(getters, "get");
22
+ define(values, "value");
19
23
  };
20
24
  })();
21
25
  (()=>{
@@ -1,4 +1,4 @@
1
- import { ComponentProps, FC } from "react";
1
+ import { type ComponentProps, type FC } from "react";
2
2
  export interface HlsPlayerProps extends Omit<ComponentProps<"video">, "src" | "children"> {
3
3
  src: string;
4
4
  }
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  var __webpack_require__ = {};
3
3
  (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
4
+ __webpack_require__.d = (exports1, getters, values)=>{
5
+ var define = (defs, kind)=>{
6
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
+ enumerable: true,
8
+ [kind]: defs[key]
9
+ });
10
+ };
11
+ define(getters, "get");
12
+ define(values, "value");
9
13
  };
10
14
  })();
11
15
  (()=>{
@@ -1,4 +1,4 @@
1
- import { ComponentProps, FC } from "react";
1
+ import type { ComponentProps, FC } from "react";
2
2
  export declare const IconFileTypeBase: FC<ComponentProps<"svg">>;
3
3
  export interface IconFileTypePagePropsBase {
4
4
  /**
@@ -2,11 +2,15 @@
2
2
  "use client";
3
3
  var __webpack_require__ = {};
4
4
  (()=>{
5
- __webpack_require__.d = (exports1, definition)=>{
6
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
- enumerable: true,
8
- get: definition[key]
9
- });
5
+ __webpack_require__.d = (exports1, getters, values)=>{
6
+ var define = (defs, kind)=>{
7
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
8
+ enumerable: true,
9
+ [kind]: defs[key]
10
+ });
11
+ };
12
+ define(getters, "get");
13
+ define(values, "value");
10
14
  };
11
15
  })();
12
16
  (()=>{
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef, CSSProperties } from "react";
1
+ import { type ComponentPropsWithoutRef, type CSSProperties } from "react";
2
2
  export type InfiniteScrollProps = ComponentPropsWithoutRef<"div"> & {
3
3
  /**
4
4
  * 滚动的方向
@@ -2,11 +2,15 @@
2
2
  "use client";
3
3
  var __webpack_require__ = {};
4
4
  (()=>{
5
- __webpack_require__.d = (exports1, definition)=>{
6
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
- enumerable: true,
8
- get: definition[key]
9
- });
5
+ __webpack_require__.d = (exports1, getters, values)=>{
6
+ var define = (defs, kind)=>{
7
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
8
+ enumerable: true,
9
+ [kind]: defs[key]
10
+ });
11
+ };
12
+ define(getters, "get");
13
+ define(values, "value");
10
14
  };
11
15
  })();
12
16
  (()=>{
@@ -1,4 +1,4 @@
1
- import { ComponentProps, ReactNode } from "react";
1
+ import { type ComponentProps, type ReactNode } from "react";
2
2
  export interface InputFileDataTypeMap {
3
3
  base64: string;
4
4
  text: string;
@@ -2,11 +2,15 @@
2
2
  "use client";
3
3
  var __webpack_require__ = {};
4
4
  (()=>{
5
- __webpack_require__.d = (exports1, definition)=>{
6
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
- enumerable: true,
8
- get: definition[key]
9
- });
5
+ __webpack_require__.d = (exports1, getters, values)=>{
6
+ var define = (defs, kind)=>{
7
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
8
+ enumerable: true,
9
+ [kind]: defs[key]
10
+ });
11
+ };
12
+ define(getters, "get");
13
+ define(values, "value");
10
14
  };
11
15
  })();
12
16
  (()=>{
@@ -1,5 +1,5 @@
1
- import { ComponentProps, JSX, JSXElementConstructor } from "react";
2
- import { InputFileBaseProps, InputFileDataType, InputFileExtraProps } from "./InputFile";
1
+ import { type ComponentProps, type JSX, type JSXElementConstructor } from "react";
2
+ import { type InputFileBaseProps, type InputFileDataType, type InputFileExtraProps } from "./InputFile";
3
3
  export type InputFileButtonProps<Multiple extends boolean = false, Type extends InputFileDataType = "file", AS extends keyof JSX.IntrinsicElements | JSXElementConstructor<any> = "button"> = Omit<ComponentProps<AS>, "as" | "type" | "disabled"> & InputFileExtraProps<Multiple, Type> & {
4
4
  disabled?: boolean;
5
5
  inputProps?: Omit<InputFileBaseProps, "accept">;
@@ -2,11 +2,15 @@
2
2
  "use client";
3
3
  var __webpack_require__ = {};
4
4
  (()=>{
5
- __webpack_require__.d = (exports1, definition)=>{
6
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
- enumerable: true,
8
- get: definition[key]
9
- });
5
+ __webpack_require__.d = (exports1, getters, values)=>{
6
+ var define = (defs, kind)=>{
7
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
8
+ enumerable: true,
9
+ [kind]: defs[key]
10
+ });
11
+ };
12
+ define(getters, "get");
13
+ define(values, "value");
10
14
  };
11
15
  })();
12
16
  (()=>{
@@ -1,4 +1,4 @@
1
- import { ComponentProps, FC } from "react";
1
+ import { type ComponentProps, type FC } from "react";
2
2
  export interface LoopSwiperClassNames {
3
3
  root?: string;
4
4
  container?: string;
@@ -2,11 +2,15 @@
2
2
  "use client";
3
3
  var __webpack_require__ = {};
4
4
  (()=>{
5
- __webpack_require__.d = (exports1, definition)=>{
6
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
- enumerable: true,
8
- get: definition[key]
9
- });
5
+ __webpack_require__.d = (exports1, getters, values)=>{
6
+ var define = (defs, kind)=>{
7
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
8
+ enumerable: true,
9
+ [kind]: defs[key]
10
+ });
11
+ };
12
+ define(getters, "get");
13
+ define(values, "value");
10
14
  };
11
15
  })();
12
16
  (()=>{
@@ -1,4 +1,4 @@
1
- import { ReadSheet, ReadSheetProps } from "./ReadSheet";
1
+ import { type ReadSheetProps, ReadSheet } from "./ReadSheet";
2
2
  /**
3
3
  * @deprecated 请使用 ReadSheetProps 代替
4
4
  */
@@ -2,11 +2,15 @@
2
2
  "use client";
3
3
  var __webpack_require__ = {};
4
4
  (()=>{
5
- __webpack_require__.d = (exports1, definition)=>{
6
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
- enumerable: true,
8
- get: definition[key]
9
- });
5
+ __webpack_require__.d = (exports1, getters, values)=>{
6
+ var define = (defs, kind)=>{
7
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
8
+ enumerable: true,
9
+ [kind]: defs[key]
10
+ });
11
+ };
12
+ define(getters, "get");
13
+ define(values, "value");
10
14
  };
11
15
  })();
12
16
  (()=>{
@@ -1,5 +1,5 @@
1
- import { WorkBookData, WorkSheetData } from "deepsea-tools";
2
- import { InputFileProps } from "./InputFile";
1
+ import { type WorkBookData, type WorkSheetData } from "deepsea-tools";
2
+ import { type InputFileProps } from "./InputFile";
3
3
  export interface ReadSheetProps<Sheet = WorkSheetData> extends Omit<InputFileProps<false, "arrayBuffer">, "multiple" | "accept" | "type" | "onValueChange"> {
4
4
  onValueChange?: (data: WorkBookData<Sheet>) => void;
5
5
  }