@unicom-cloud/ui 0.8.107 → 0.8.108

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 (137) hide show
  1. package/ColorPicker.js +15 -14
  2. package/Constant.js +4 -0
  3. package/Copy.js +4 -3
  4. package/Countdown.js +25 -0
  5. package/Grid.js +8 -10
  6. package/LiquidFill.js +4 -3
  7. package/List.js +7 -6
  8. package/Marquee.js +4 -3
  9. package/PageHeader.js +3 -2
  10. package/QrCode.js +4 -3
  11. package/RowCol.js +8 -0
  12. package/Segmented.js +14 -4
  13. package/Statistic.js +5 -4
  14. package/Tour.js +4 -3
  15. package/Transfer.js +4 -2
  16. package/anchor/Link.js +1 -1
  17. package/avatar/Group.js +1 -1
  18. package/button/index.js +52 -51
  19. package/calendar/Lunar.js +21 -21
  20. package/cascader/base/node.js +22 -20
  21. package/cascader/base/store.js +10 -10
  22. package/cascader/util.js +29 -27
  23. package/color-picker/Mode.js +8 -7
  24. package/color-picker/hooks/useColorPicker.js +56 -55
  25. package/color-picker/index.js +54 -53
  26. package/color-picker/utils.js +58 -57
  27. package/components/common/empty/index.js +2 -2
  28. package/components/common/flex/index.js +64 -55
  29. package/components/common/flex/interface.js +6 -6
  30. package/components/common/hooks/useInterval.js +6 -6
  31. package/components/common/space/index.js +53 -53
  32. package/components/common/utils/dayjs.js +75 -62
  33. package/components/common/utils/toArray.js +7 -5
  34. package/constant/index.js +4 -0
  35. package/copy/index.js +2 -1
  36. package/countdown/index.js +113 -0
  37. package/countdown/interface.js +1 -0
  38. package/countdown/util.js +29 -0
  39. package/descriptions/index.js +26 -26
  40. package/dropdown/Button.js +1 -1
  41. package/flex/index.js +30 -29
  42. package/form/FormItem.js +126 -122
  43. package/grid/Grid.js +40 -41
  44. package/grid/Item.js +37 -37
  45. package/grid/context.js +2 -3
  46. package/grid/index.js +6 -8
  47. package/hooks/useResponsiveState.js +54 -0
  48. package/index.js +614 -610
  49. package/input/InputElement.js +25 -24
  50. package/layout/Sider.js +1 -1
  51. package/liquid-fill/index.js +4 -3
  52. package/list/Item.js +21 -21
  53. package/list/index.js +53 -52
  54. package/marquee/index.js +20 -19
  55. package/marquee-/index.js +4 -3
  56. package/mentions/util.js +9 -8
  57. package/package.json +1 -1
  58. package/page-header/index.js +57 -56
  59. package/pagination/Pagination.js +89 -92
  60. package/qr-code/index.js +4 -3
  61. package/radio/Group.js +1 -1
  62. package/row-col/Col-.js +88 -0
  63. package/row-col/Col.js +159 -0
  64. package/row-col/Row.js +73 -0
  65. package/row-col/context.js +5 -0
  66. package/row-col/index.js +11 -0
  67. package/row-col/interface.js +1 -0
  68. package/segmented/index.js +257 -206
  69. package/select/Select.js +191 -191
  70. package/select/util.js +50 -50
  71. package/space/index.js +15 -13
  72. package/statistic/index.js +56 -55
  73. package/statistic/interface.js +4 -1
  74. package/style.css +1 -1
  75. package/table/hook/useColumns.js +27 -26
  76. package/table/hook/useStickyClassNames.js +9 -8
  77. package/table/hook/useThResizable.js +4 -3
  78. package/table/th-resizable/index.js +11 -10
  79. package/table/thead/index.js +18 -16
  80. package/timeline/Item.js +1 -1
  81. package/tour/index.js +4 -3
  82. package/transfer/index.js +93 -91
  83. package/trigger/index.js +66 -66
  84. package/types/common/flex/index.d.ts +3 -9
  85. package/types/common/flex/interface.d.ts +15 -4
  86. package/types/common/space/index.d.ts +3 -5
  87. package/types/common/space/interface.d.ts +2 -0
  88. package/types/common/utils/dayjs.d.ts +3 -1
  89. package/types/pc/button/interface.d.ts +2 -2
  90. package/types/pc/config-provider/interface.d.ts +16 -11
  91. package/types/pc/constant/index.d.ts +1 -0
  92. package/types/pc/countdown/interface.d.ts +65 -0
  93. package/types/pc/countdown/util.d.ts +7 -0
  94. package/types/pc/flex/index.d.ts +8 -6
  95. package/types/pc/flex/interface.d.ts +3 -10
  96. package/types/pc/form/FormItem.d.ts +1 -1
  97. package/types/pc/form/interface.d.ts +1 -1
  98. package/types/pc/grid/Grid.d.ts +1 -2
  99. package/types/pc/grid/Item.d.ts +1 -2
  100. package/types/pc/grid/context.d.ts +0 -5
  101. package/types/pc/grid/index.d.ts +4 -6
  102. package/types/pc/grid/interface.d.ts +7 -125
  103. package/types/pc/hooks/useResponsiveState.d.ts +3 -0
  104. package/types/pc/index.d.ts +7 -3
  105. package/types/pc/list/interface.d.ts +2 -1
  106. package/types/pc/pagination/PageOption.d.ts +0 -1
  107. package/types/pc/pagination/interface.d.ts +5 -6
  108. package/types/pc/{grid → row-col}/Col-.d.ts +1 -1
  109. package/types/pc/{grid → row-col}/Col.d.ts +1 -2
  110. package/types/pc/{grid → row-col}/Row.d.ts +1 -2
  111. package/types/pc/row-col/context.d.ts +6 -0
  112. package/types/pc/row-col/index.d.ts +7 -0
  113. package/types/pc/row-col/interface.d.ts +112 -0
  114. package/types/pc/segmented/index.d.ts +3 -7
  115. package/types/pc/segmented/interface.d.ts +38 -5
  116. package/types/pc/space/index.d.ts +5 -7
  117. package/types/pc/space/interface.d.ts +3 -10
  118. package/types/pc/statistic/index.d.ts +1 -1
  119. package/types/pc/statistic/interface.d.ts +1 -49
  120. package/types/pc/utils/names.d.ts +121 -113
  121. package/types/pc/utils/responsiveObserve.d.ts +8 -8
  122. package/typography/Ellipsis.js +5 -4
  123. package/typography/Operations.js +4 -3
  124. package/utils/dayjs.js +13 -11
  125. package/utils/index.js +244 -242
  126. package/utils/names.js +15 -10
  127. package/utils/responsiveObserve.js +43 -36
  128. package/version/index.js +1 -1
  129. package/grid/Col-.js +0 -86
  130. package/grid/Col.js +0 -169
  131. package/grid/Row.js +0 -96
  132. package/grid/hook/useResponsiveState.js +0 -35
  133. package/statistic/Countdown.js +0 -56
  134. package/statistic/util.js +0 -33
  135. package/types/pc/grid/hook/useResponsiveState.d.ts +0 -2
  136. package/types/pc/statistic/util.d.ts +0 -1
  137. /package/types/pc/{statistic/Countdown.d.ts → countdown/index.d.ts} +0 -0
@@ -1,20 +1,20 @@
1
+ type SubscribeFunc = (screens: ScreenMap, breakpointChecked: Breakpoint | null, media: string | null) => void;
2
+ type MatchHandler = {
3
+ mql: MediaQueryList;
4
+ listener: (this: MediaQueryList, ev: MediaQueryListEvent) => void;
5
+ };
1
6
  export type Breakpoint = 'xxxl' | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
2
7
  export type BreakpointMap = Record<Breakpoint, string>;
3
8
  export type ScreenMap = Partial<Record<Breakpoint, boolean>>;
4
9
  export declare const responsiveArray: Breakpoint[];
5
10
  export declare const responsiveMap: BreakpointMap;
6
- type SubscribeFunc = (screens: ScreenMap, breakpointChecked: Breakpoint | null) => void;
7
- type MatchHandler = {
8
- mql: MediaQueryList;
9
- listener: (this: MediaQueryList, ev: MediaQueryListEvent) => void;
10
- };
11
11
  declare const responsiveObserve: {
12
12
  matchHandlers: Record<string, MatchHandler>;
13
- dispatch(pointMap: ScreenMap, breakpointChecked: Breakpoint | null): boolean;
13
+ register(): void;
14
+ unregister(): void;
14
15
  subscribe(func: SubscribeFunc): string;
15
16
  unsubscribe(token: string): void;
16
- unregister(): void;
17
- register(): void;
17
+ dispatch(pointMap: ScreenMap, breakpointChecked: Breakpoint | null, media: any): boolean;
18
18
  };
19
19
  export { responsiveObserve };
20
20
  export default responsiveObserve;
@@ -45,7 +45,7 @@ import "../dist/react-transition-group/chunk/CPfP7aNL.js";
45
45
  import "../dist/react-transition-group/src/TransitionGroup.js";
46
46
  import "../components/common/utils/reactDOM.js";
47
47
  import { resizeObserver as it } from "../components/common/utils/resizeObserver.js";
48
- import "uuid";
48
+ import "../utils/responsiveObserve.js";
49
49
  import "@unicom-cloud/utils/file/saveAs";
50
50
  import "@unicom-cloud/utils/screenfull";
51
51
  import "@unicom-cloud/utils/tinycolor";
@@ -56,6 +56,7 @@ import { throttleByRaf as nt } from "../components/common/utils/throttleByRaf.js
56
56
  import "react-is";
57
57
  import "@unicom-cloud/utils/tree";
58
58
  import { isPlainObject as b, isFunction as st } from "@unicom-cloud/utils/is";
59
+ import "uuid";
59
60
  import "../dist/validate/src/index.js";
60
61
  import "@unicom-cloud/utils/constant/keyboardCode";
61
62
  import lt from "../config-provider/context.js";
@@ -67,7 +68,7 @@ const pt = {
67
68
  const C = U(lt), N = Z(
68
69
  j,
69
70
  pt,
70
- C.componentConfig?.["Typography.Ellipsis"]
71
+ C.componentConfig?.TypographyEllipsis
71
72
  ), {
72
73
  className: A,
73
74
  style: L,
@@ -217,7 +218,7 @@ const pt = {
217
218
  I(),
218
219
  J()
219
220
  ] });
220
- }, ge = Q(at);
221
+ }, ve = Q(at);
221
222
  export {
222
- ge as default
223
+ ve as default
223
224
  };
@@ -44,7 +44,7 @@ import "../dist/react-transition-group/src/SwitchTransition.js";
44
44
  import "../dist/react-transition-group/chunk/CPfP7aNL.js";
45
45
  import "../dist/react-transition-group/src/TransitionGroup.js";
46
46
  import "../components/common/utils/reactDOM.js";
47
- import "uuid";
47
+ import "../utils/responsiveObserve.js";
48
48
  import "@unicom-cloud/utils/file/saveAs";
49
49
  import "@unicom-cloud/utils/screenfull";
50
50
  import "@unicom-cloud/utils/tinycolor";
@@ -53,9 +53,10 @@ import "@unicom-cloud/utils/constant/ui.js";
53
53
  import "react-is";
54
54
  import "@unicom-cloud/utils/tree";
55
55
  import { isFunction as K } from "@unicom-cloud/utils/is";
56
+ import "uuid";
56
57
  import "../dist/validate/src/index.js";
57
58
  import "@unicom-cloud/utils/constant/keyboardCode";
58
- function Bo(u) {
59
+ function Do(u) {
59
60
  const {
60
61
  children: s,
61
62
  copyable: i,
@@ -121,5 +122,5 @@ function Bo(u) {
121
122
  ] });
122
123
  }
123
124
  export {
124
- Bo as default
125
+ Do as default
125
126
  };
package/utils/dayjs.js CHANGED
@@ -1,17 +1,19 @@
1
- import { dayjs as t, dayjs as o, getDayjsValue as s, getNow as i, getSortedDayjsArray as r, getTimeFormat as g, getValueWithTime as m, isDayjsArrayChange as y, isDayjsChange as d, isValidTimeString as j, methods as l, timezoneToOffset as n, toLocal as T, toTimezone as f } from "../components/common/utils/dayjs.js";
1
+ import { dayjs as t, dayjs as o, formatValue as i, getDayjsValue as s, getNow as m, getRealTime as r, getSortedDayjsArray as g, getTimeFormat as y, getValueWithTime as l, isDayjsArrayChange as d, isDayjsChange as j, isValidTimeString as T, methods as f, timezoneToOffset as n, toLocal as h, toTimezone as u } from "../components/common/utils/dayjs.js";
2
2
  export {
3
3
  t as dayjs,
4
4
  o as default,
5
+ i as formatValue,
5
6
  s as getDayjsValue,
6
- i as getNow,
7
- r as getSortedDayjsArray,
8
- g as getTimeFormat,
9
- m as getValueWithTime,
10
- y as isDayjsArrayChange,
11
- d as isDayjsChange,
12
- j as isValidTimeString,
13
- l as methods,
7
+ m as getNow,
8
+ r as getRealTime,
9
+ g as getSortedDayjsArray,
10
+ y as getTimeFormat,
11
+ l as getValueWithTime,
12
+ d as isDayjsArrayChange,
13
+ j as isDayjsChange,
14
+ T as isValidTimeString,
15
+ f as methods,
14
16
  n as timezoneToOffset,
15
- T as toLocal,
16
- f as toTimezone
17
+ h as toLocal,
18
+ u as toTimezone
17
19
  };
package/utils/index.js CHANGED
@@ -4,260 +4,262 @@ import { default as f } from "@unicom-cloud/utils/class-name";
4
4
  import { newArray as p, pickTriggerPropsFromRest as d } from "./constant.js";
5
5
  import { ContextHolderElement as x } from "./contextHolder.js";
6
6
  import { default as c, default as y } from "@unicom-cloud/utils/clipboard-copy";
7
- import { dayjs as S, getDayjsValue as R, getNow as C, getSortedDayjsArray as h, getTimeFormat as T, getValueWithTime as E, isDayjsArrayChange as b, isDayjsChange as N, isValidTimeString as A, methods as P, timezoneToOffset as D, toLocal as I, toTimezone as M } from "../components/common/utils/dayjs.js";
8
- import { contains as k, getScrollElements as v, isScrollElement as B, isServerRendering as w, off as V, on as F } from "../components/common/utils/dom.js";
9
- import { default as L } from "@unicom-cloud/utils/file/fileToURL";
10
- import { fillNBSP as _ } from "../components/common/utils/fillNBSP.js";
11
- import { getHighlightText as H } from "../components/common/utils/getHighlightText.js";
12
- import { getHotkeyHandler as q } from "../components/common/utils/getHotkeyHandler.js";
13
- import { getStringLength as K } from "../components/common/utils/getStringLength.js";
14
- import { include as Y } from "../components/common/utils/include.js";
7
+ import { dayjs as S, formatValue as R, getDayjsValue as C, getNow as h, getRealTime as T, getSortedDayjsArray as E, getTimeFormat as b, getValueWithTime as N, isDayjsArrayChange as A, isDayjsChange as P, isValidTimeString as D, methods as I, timezoneToOffset as M, toLocal as O, toTimezone as k } from "../components/common/utils/dayjs.js";
8
+ import { contains as B, getScrollElements as V, isScrollElement as w, isServerRendering as F, off as j, on as L } from "../components/common/utils/dom.js";
9
+ import { default as _ } from "@unicom-cloud/utils/file/fileToURL";
10
+ import { fillNBSP as H } from "../components/common/utils/fillNBSP.js";
11
+ import { getHighlightText as q } from "../components/common/utils/getHighlightText.js";
12
+ import { getHotkeyHandler as K } from "../components/common/utils/getHotkeyHandler.js";
13
+ import { getStringLength as Y } from "../components/common/utils/getStringLength.js";
14
+ import { include as X } from "../components/common/utils/include.js";
15
15
  import "lodash/isFunction";
16
- import { default as X } from "lodash/throttle";
16
+ import { default as $ } from "lodash/throttle";
17
17
  import * as t from "./is.js";
18
- import { default as $ } from "lodash/camelCase";
19
- import { default as te } from "lodash/capitalize";
20
- import { default as oe } from "lodash/cloneDeep";
21
- import { default as se } from "lodash/debounce";
22
- import { default as me } from "lodash/get";
23
- import { default as le } from "lodash/has";
24
- import { default as de } from "lodash/kebabCase";
25
- import { default as xe } from "lodash/merge";
26
- import { default as ce } from "lodash/mergeWith";
27
- import { default as ge } from "lodash/set";
28
- import { default as Re } from "lodash/setWith";
29
- import { default as he } from "lodash/snakeCase";
30
- import { default as Ee } from "lodash/startCase";
31
- import { default as Ne } from "lodash/uniq";
32
- import { default as Pe } from "lodash/upperFirst";
33
- import { div as Ie, default as Me, minus as Oe, plus as ke, times as ve } from "@unicom-cloud/utils/math";
34
- import { mergedToString as we } from "../components/common/utils/mergedToString.js";
35
- import { mergeProps as Fe } from "../components/common/utils/mergeProps.js";
36
- import { COMPONENT_NAMES as Le } from "./names.js";
37
- import { omit as _e } from "../components/common/utils/omit.js";
38
- import { padEnd as He, padStart as Ue } from "../components/common/utils/pad.js";
39
- import { pick as Ge, pickDataAttributes as Ke } from "../components/common/utils/pick.js";
40
- import { PqbCSSTransition as Ye } from "../components/common/utils/PqbCSSTransition.js";
41
- import { callbackOriginRef as Xe, findDOMNode_ as Ze } from "../components/common/utils/reactDOM.js";
42
- import { default as et } from "../dist/react-transition-group/src/CSSTransition.js";
43
- import { default as rt } from "../dist/react-transition-group/src/ReplaceTransition.js";
44
- import { default as at } from "../dist/react-transition-group/src/SwitchTransition.js";
45
- import { T as it } from "../dist/react-transition-group/chunk/CPfP7aNL.js";
46
- import { default as ft, default as lt } from "../dist/react-transition-group/src/TransitionGroup.js";
47
- import { responsiveArray as dt, responsiveMap as nt, responsiveObserve as xt } from "./responsiveObserve.js";
48
- import { default as ct } from "@unicom-cloud/utils/file/saveAs";
49
- import { default as gt } from "@unicom-cloud/utils/screenfull";
50
- import { scrollIntoView as Rt } from "../components/common/utils/scrollIntoViewIfNeeded.js";
51
- import { removeDarkTheme as ht, setDarkTheme as Tt } from "./setDarkTheme.js";
52
- import { setPrimaryColor as bt } from "./setPrimaryColor.js";
53
- import { setTheme as At } from "./setTheme.js";
54
- import { fixedWidth as Dt, getStyle as It, setTransformStyle as Mt } from "../components/common/utils/style.js";
55
- import { throttleByRaf as kt } from "../components/common/utils/throttleByRaf.js";
56
- import { toArray as Bt } from "../components/common/utils/toArray.js";
57
- import { findNodeBy as Vt, getChildWithParentBy as Ft, getItemBy as jt, getItemBy2 as Lt, getItemBy3 as Wt, getItemByID as _t, getLabelFromDictionaryByValue as zt, searchTree as Ht, default as Ut } from "@unicom-cloud/utils/tree";
58
- import { Tween as Gt } from "../dist/tween/src/tween.js";
59
- import { default as Jt } from "../dist/tween/src/easing.js";
60
- import { v4 as Qt, v4 as Xt } from "uuid";
61
- import { Schema as $t, default as er } from "../dist/validate/src/index.js";
62
- import { d as rr } from "../dist/validate/chunk/BXTR2LmP.js";
63
- import { warning as ar } from "../components/common/utils/warning.js";
18
+ import { default as te } from "lodash/camelCase";
19
+ import { default as oe } from "lodash/capitalize";
20
+ import { default as se } from "lodash/cloneDeep";
21
+ import { default as me } from "lodash/debounce";
22
+ import { default as le } from "lodash/get";
23
+ import { default as de } from "lodash/has";
24
+ import { default as xe } from "lodash/kebabCase";
25
+ import { default as ce } from "lodash/merge";
26
+ import { default as ge } from "lodash/mergeWith";
27
+ import { default as Re } from "lodash/set";
28
+ import { default as he } from "lodash/setWith";
29
+ import { default as Ee } from "lodash/snakeCase";
30
+ import { default as Ne } from "lodash/startCase";
31
+ import { default as Pe } from "lodash/uniq";
32
+ import { default as Ie } from "lodash/upperFirst";
33
+ import { div as Oe, default as ke, minus as ve, plus as Be, times as Ve } from "@unicom-cloud/utils/math";
34
+ import { mergedToString as Fe } from "../components/common/utils/mergedToString.js";
35
+ import { mergeProps as Le } from "../components/common/utils/mergeProps.js";
36
+ import { COMPONENT_NAMES as _e } from "./names.js";
37
+ import { omit as He } from "../components/common/utils/omit.js";
38
+ import { padEnd as qe, padStart as Ge } from "../components/common/utils/pad.js";
39
+ import { pick as Je, pickDataAttributes as Ye } from "../components/common/utils/pick.js";
40
+ import { PqbCSSTransition as Xe } from "../components/common/utils/PqbCSSTransition.js";
41
+ import { callbackOriginRef as $e, findDOMNode_ as et } from "../components/common/utils/reactDOM.js";
42
+ import { default as rt } from "../dist/react-transition-group/src/CSSTransition.js";
43
+ import { default as at } from "../dist/react-transition-group/src/ReplaceTransition.js";
44
+ import { default as it } from "../dist/react-transition-group/src/SwitchTransition.js";
45
+ import { T as ft } from "../dist/react-transition-group/chunk/CPfP7aNL.js";
46
+ import { default as pt, default as dt } from "../dist/react-transition-group/src/TransitionGroup.js";
47
+ import { responsiveArray as xt, responsiveMap as ut, responsiveObserve as ct } from "./responsiveObserve.js";
48
+ import { default as gt } from "@unicom-cloud/utils/file/saveAs";
49
+ import { default as Rt } from "@unicom-cloud/utils/screenfull";
50
+ import { scrollIntoView as ht } from "../components/common/utils/scrollIntoViewIfNeeded.js";
51
+ import { removeDarkTheme as Et, setDarkTheme as bt } from "./setDarkTheme.js";
52
+ import { setPrimaryColor as At } from "./setPrimaryColor.js";
53
+ import { setTheme as Dt } from "./setTheme.js";
54
+ import { fixedWidth as Mt, getStyle as Ot, setTransformStyle as kt } from "../components/common/utils/style.js";
55
+ import { throttleByRaf as Bt } from "../components/common/utils/throttleByRaf.js";
56
+ import { toArray as wt } from "../components/common/utils/toArray.js";
57
+ import { findNodeBy as jt, getChildWithParentBy as Lt, getItemBy as Wt, getItemBy2 as _t, getItemBy3 as zt, getItemByID as Ht, getLabelFromDictionaryByValue as Ut, searchTree as qt, default as Gt } from "@unicom-cloud/utils/tree";
58
+ import { Tween as Jt } from "../dist/tween/src/tween.js";
59
+ import { default as Qt } from "../dist/tween/src/easing.js";
60
+ import { v4 as Zt, v4 as $t } from "uuid";
61
+ import { Schema as tr, default as rr } from "../dist/validate/src/index.js";
62
+ import { d as ar } from "../dist/validate/chunk/BXTR2LmP.js";
63
+ import { warning as ir } from "../components/common/utils/warning.js";
64
64
  import * as r from "@unicom-cloud/utils/constant/keyboardCode";
65
- import { NOOP as ir } from "../components/common/utils/constant.js";
66
- import { UI_PC_KEY as fr, UI_PC_THEME_DARK_CLASS_NAME as lr } from "@unicom-cloud/utils/constant/ui";
67
- import { isArguments as dr, isArray as nr, isArrayBuffer as xr, isArrayLike as ur, isArrayLikeObject as cr, isBlob as yr, isBoolean as gr, isBuffer as Sr, isColor as Rr, isColor2 as Cr, isDate as hr, isElement as Tr, isEmpty as Er, isEmptyArray as br, isEmptyObject as Nr, isEmptyValue as Ar, isEqual as Pr, isEqualWith as Dr, isError as Ir, isFile as Mr, isFinite as Or, isFunction as kr, isInteger as vr, isJSON as Br, isLength as wr, isMap as Vr, isMatch as Fr, isMatchWith as jr, isNaN as Lr, isNative as Wr, isNil as _r, isNull as zr, isNumber as Hr, isObject as Ur, isObjectLike as qr, isPlainObject as Gr, isPromise as Kr, isReadableByteStreamControllerSupported as Jr, isReadableStream as Yr, isReadableStreamDefaultControllerSupported as Qr, isReadableStreamSupported as Xr, isReadableStreamSymbolAsyncIteratorSupported as Zr, isRegExp as $r, isSafeInteger as eo, isSet as to, isString as ro, isSymbol as oo, isTypedArray as ao, isUndefined as so, isValidColor as io, isWeakMap as mo, isWeakSet as fo } from "@unicom-cloud/utils/is";
68
- import { isClassComponent as po, isDOMElement as no, isEmptyReactNode as xo, isExist as uo, isForwardRefReact as co, isNullOrUndefined as yo, isReact18 as go, isReact19 as So, isReactComponent as Ro, isSupportRef as Co, isWindow as ho, supportRef as To } from "../components/common/utils/is.js";
69
- import { isDayjs as bo } from "dayjs";
70
- import { isContextConsumer as Ao, isContextProvider as Po, isElement as Do, isForwardRef as Io, isFragment as Mo, isLazy as Oo, isMemo as ko, isPortal as vo, isProfiler as Bo, isStrictMode as wo, isSuspense as Vo, isValidElementType as Fo } from "react-is";
71
- import { compute as Lo } from "../dist/scroll-into-view-if-needed/compute/index.js";
72
- import { default as _o } from "../dist/scroll-into-view-if-needed/src/index.js";
73
- import { default as Ho, default as Uo } from "../dist/scroll-into-view-if-needed/smooth/index.js";
65
+ import { NOOP as fr } from "../components/common/utils/constant.js";
66
+ import { UI_PC_KEY as pr, UI_PC_THEME_DARK_CLASS_NAME as dr } from "@unicom-cloud/utils/constant/ui";
67
+ import { isArguments as xr, isArray as ur, isArrayBuffer as cr, isArrayLike as yr, isArrayLikeObject as gr, isBlob as Sr, isBoolean as Rr, isBuffer as Cr, isColor as hr, isColor2 as Tr, isDate as Er, isElement as br, isEmpty as Nr, isEmptyArray as Ar, isEmptyObject as Pr, isEmptyValue as Dr, isEqual as Ir, isEqualWith as Mr, isError as Or, isFile as kr, isFinite as vr, isFunction as Br, isInteger as Vr, isJSON as wr, isLength as Fr, isMap as jr, isMatch as Lr, isMatchWith as Wr, isNaN as _r, isNative as zr, isNil as Hr, isNull as Ur, isNumber as qr, isObject as Gr, isObjectLike as Kr, isPlainObject as Jr, isPromise as Yr, isReadableByteStreamControllerSupported as Qr, isReadableStream as Xr, isReadableStreamDefaultControllerSupported as Zr, isReadableStreamSupported as $r, isReadableStreamSymbolAsyncIteratorSupported as eo, isRegExp as to, isSafeInteger as ro, isSet as oo, isString as ao, isSymbol as so, isTypedArray as io, isUndefined as mo, isValidColor as fo, isWeakMap as lo, isWeakSet as po } from "@unicom-cloud/utils/is";
68
+ import { isClassComponent as xo, isDOMElement as uo, isEmptyReactNode as co, isExist as yo, isForwardRefReact as go, isNullOrUndefined as So, isReact18 as Ro, isReact19 as Co, isReactComponent as ho, isSupportRef as To, isWindow as Eo, supportRef as bo } from "../components/common/utils/is.js";
69
+ import { isDayjs as Ao } from "dayjs";
70
+ import { isContextConsumer as Do, isContextProvider as Io, isElement as Mo, isForwardRef as Oo, isFragment as ko, isLazy as vo, isMemo as Bo, isPortal as Vo, isProfiler as wo, isStrictMode as Fo, isSuspense as jo, isValidElementType as Lo } from "react-is";
71
+ import { compute as _o } from "../dist/scroll-into-view-if-needed/compute/index.js";
72
+ import { default as Ho } from "../dist/scroll-into-view-if-needed/src/index.js";
73
+ import { default as qo, default as Go } from "../dist/scroll-into-view-if-needed/smooth/index.js";
74
74
  export {
75
- Le as COMPONENT_NAMES,
76
- et as CSSTransition,
75
+ _e as COMPONENT_NAMES,
76
+ rt as CSSTransition,
77
77
  x as ContextHolderElement,
78
- rr as DefaultValidateMessage,
79
- ir as NOOP,
80
- Ye as PqbCSSTransition,
81
- rt as ReplaceTransition,
82
- $t as Schema,
83
- at as SwitchTransition,
84
- it as Transition,
85
- ft as TransitionGroup,
86
- Gt as Tween,
87
- fr as UI_PC_KEY,
88
- lr as UI_PC_THEME_DARK_CLASS_NAME,
89
- Xe as callbackOriginRef,
90
- $ as camelCase,
91
- te as capitalize,
78
+ ar as DefaultValidateMessage,
79
+ fr as NOOP,
80
+ Xe as PqbCSSTransition,
81
+ at as ReplaceTransition,
82
+ tr as Schema,
83
+ it as SwitchTransition,
84
+ ft as Transition,
85
+ pt as TransitionGroup,
86
+ Jt as Tween,
87
+ pr as UI_PC_KEY,
88
+ dr as UI_PC_THEME_DARK_CLASS_NAME,
89
+ $e as callbackOriginRef,
90
+ te as camelCase,
91
+ oe as capitalize,
92
92
  i as caseName,
93
93
  f as className,
94
94
  c as clipboardCopy,
95
- oe as cloneDeep,
96
- Lo as compute,
97
- k as contains,
95
+ se as cloneDeep,
96
+ _o as compute,
97
+ B as contains,
98
98
  y as copy,
99
99
  S as dayjs,
100
- se as debounce,
101
- Ie as div,
102
- Jt as easing,
103
- L as fileToURL,
104
- _ as fillNBSP,
105
- Ze as findDOMNode_,
106
- Vt as findNodeBy,
107
- Dt as fixedWidth,
108
- me as get,
109
- Ft as getChildWithParentBy,
110
- R as getDayjsValue,
111
- H as getHighlightText,
112
- q as getHotkeyHandler,
113
- jt as getItemBy,
114
- Lt as getItemBy2,
115
- Wt as getItemBy3,
116
- _t as getItemByID,
117
- zt as getLabelFromDictionaryByValue,
118
- C as getNow,
119
- v as getScrollElements,
120
- h as getSortedDayjsArray,
121
- K as getStringLength,
122
- It as getStyle,
123
- T as getTimeFormat,
124
- E as getValueWithTime,
125
- le as has,
126
- Y as include,
100
+ me as debounce,
101
+ Oe as div,
102
+ Qt as easing,
103
+ _ as fileToURL,
104
+ H as fillNBSP,
105
+ et as findDOMNode_,
106
+ jt as findNodeBy,
107
+ Mt as fixedWidth,
108
+ R as formatValue,
109
+ le as get,
110
+ Lt as getChildWithParentBy,
111
+ C as getDayjsValue,
112
+ q as getHighlightText,
113
+ K as getHotkeyHandler,
114
+ Wt as getItemBy,
115
+ _t as getItemBy2,
116
+ zt as getItemBy3,
117
+ Ht as getItemByID,
118
+ Ut as getLabelFromDictionaryByValue,
119
+ h as getNow,
120
+ T as getRealTime,
121
+ V as getScrollElements,
122
+ E as getSortedDayjsArray,
123
+ Y as getStringLength,
124
+ Ot as getStyle,
125
+ b as getTimeFormat,
126
+ N as getValueWithTime,
127
+ de as has,
128
+ X as include,
127
129
  t as is,
128
- dr as isArguments,
129
- nr as isArray,
130
- xr as isArrayBuffer,
131
- ur as isArrayLike,
132
- cr as isArrayLikeObject,
133
- yr as isBlob,
134
- gr as isBoolean,
135
- Sr as isBuffer,
136
- po as isClassComponent,
137
- Rr as isColor,
138
- Cr as isColor2,
139
- no as isDOMElement,
140
- hr as isDate,
141
- bo as isDayjs,
142
- b as isDayjsArrayChange,
143
- N as isDayjsChange,
144
- Tr as isElement,
145
- Er as isEmpty,
146
- br as isEmptyArray,
147
- Nr as isEmptyObject,
148
- xo as isEmptyReactNode,
149
- Ar as isEmptyValue,
150
- Pr as isEqual,
151
- Dr as isEqualWith,
152
- Ir as isError,
153
- uo as isExist,
154
- Mr as isFile,
155
- Or as isFinite,
156
- co as isForwardRefReact,
157
- kr as isFunction,
158
- vr as isInteger,
159
- Br as isJSON,
160
- wr as isLength,
161
- Vr as isMap,
162
- Fr as isMatch,
163
- jr as isMatchWith,
164
- Lr as isNaN,
165
- Wr as isNative,
166
- _r as isNil,
167
- zr as isNull,
168
- yo as isNullOrUndefined,
169
- Hr as isNumber,
170
- Ur as isObject,
171
- qr as isObjectLike,
172
- Gr as isPlainObject,
173
- Kr as isPromise,
174
- go as isReact18,
175
- So as isReact19,
176
- Ro as isReactComponent,
177
- Ao as isReactContextConsumer,
178
- Po as isReactContextProvider,
179
- Do as isReactElement,
180
- Io as isReactForwardRef,
181
- Mo as isReactFragment,
182
- Oo as isReactLazy,
183
- ko as isReactMemo,
184
- vo as isReactPortal,
185
- Bo as isReactProfiler,
186
- wo as isReactStrictMode,
187
- Vo as isReactSuspense,
188
- Fo as isReactValidElementType,
189
- Jr as isReadableByteStreamControllerSupported,
190
- Yr as isReadableStream,
191
- Qr as isReadableStreamDefaultControllerSupported,
192
- Xr as isReadableStreamSupported,
193
- Zr as isReadableStreamSymbolAsyncIteratorSupported,
194
- $r as isRegExp,
195
- eo as isSafeInteger,
196
- B as isScrollElement,
197
- w as isServerRendering,
198
- to as isSet,
199
- ro as isString,
200
- Co as isSupportRef,
201
- oo as isSymbol,
202
- ao as isTypedArray,
203
- so as isUndefined,
204
- io as isValidColor,
205
- A as isValidTimeString,
206
- mo as isWeakMap,
207
- fo as isWeakSet,
208
- ho as isWindow,
209
- de as kebabCase,
130
+ xr as isArguments,
131
+ ur as isArray,
132
+ cr as isArrayBuffer,
133
+ yr as isArrayLike,
134
+ gr as isArrayLikeObject,
135
+ Sr as isBlob,
136
+ Rr as isBoolean,
137
+ Cr as isBuffer,
138
+ xo as isClassComponent,
139
+ hr as isColor,
140
+ Tr as isColor2,
141
+ uo as isDOMElement,
142
+ Er as isDate,
143
+ Ao as isDayjs,
144
+ A as isDayjsArrayChange,
145
+ P as isDayjsChange,
146
+ br as isElement,
147
+ Nr as isEmpty,
148
+ Ar as isEmptyArray,
149
+ Pr as isEmptyObject,
150
+ co as isEmptyReactNode,
151
+ Dr as isEmptyValue,
152
+ Ir as isEqual,
153
+ Mr as isEqualWith,
154
+ Or as isError,
155
+ yo as isExist,
156
+ kr as isFile,
157
+ vr as isFinite,
158
+ go as isForwardRefReact,
159
+ Br as isFunction,
160
+ Vr as isInteger,
161
+ wr as isJSON,
162
+ Fr as isLength,
163
+ jr as isMap,
164
+ Lr as isMatch,
165
+ Wr as isMatchWith,
166
+ _r as isNaN,
167
+ zr as isNative,
168
+ Hr as isNil,
169
+ Ur as isNull,
170
+ So as isNullOrUndefined,
171
+ qr as isNumber,
172
+ Gr as isObject,
173
+ Kr as isObjectLike,
174
+ Jr as isPlainObject,
175
+ Yr as isPromise,
176
+ Ro as isReact18,
177
+ Co as isReact19,
178
+ ho as isReactComponent,
179
+ Do as isReactContextConsumer,
180
+ Io as isReactContextProvider,
181
+ Mo as isReactElement,
182
+ Oo as isReactForwardRef,
183
+ ko as isReactFragment,
184
+ vo as isReactLazy,
185
+ Bo as isReactMemo,
186
+ Vo as isReactPortal,
187
+ wo as isReactProfiler,
188
+ Fo as isReactStrictMode,
189
+ jo as isReactSuspense,
190
+ Lo as isReactValidElementType,
191
+ Qr as isReadableByteStreamControllerSupported,
192
+ Xr as isReadableStream,
193
+ Zr as isReadableStreamDefaultControllerSupported,
194
+ $r as isReadableStreamSupported,
195
+ eo as isReadableStreamSymbolAsyncIteratorSupported,
196
+ to as isRegExp,
197
+ ro as isSafeInteger,
198
+ w as isScrollElement,
199
+ F as isServerRendering,
200
+ oo as isSet,
201
+ ao as isString,
202
+ To as isSupportRef,
203
+ so as isSymbol,
204
+ io as isTypedArray,
205
+ mo as isUndefined,
206
+ fo as isValidColor,
207
+ D as isValidTimeString,
208
+ lo as isWeakMap,
209
+ po as isWeakSet,
210
+ Eo as isWindow,
211
+ xe as kebabCase,
210
212
  r as keyboardCode,
211
- Me as math,
212
- xe as merge,
213
- Fe as mergeProps,
214
- ce as mergeWith,
215
- we as mergedToString,
216
- P as methods,
217
- Oe as minus,
213
+ ke as math,
214
+ ce as merge,
215
+ Le as mergeProps,
216
+ ge as mergeWith,
217
+ Fe as mergedToString,
218
+ I as methods,
219
+ ve as minus,
218
220
  p as newArray,
219
- V as off,
220
- _e as omit,
221
- F as on,
222
- He as padEnd,
223
- Ue as padStart,
224
- Ge as pick,
225
- Ke as pickDataAttributes,
221
+ j as off,
222
+ He as omit,
223
+ L as on,
224
+ qe as padEnd,
225
+ Ge as padStart,
226
+ Je as pick,
227
+ Ye as pickDataAttributes,
226
228
  d as pickTriggerPropsFromRest,
227
- ke as plus,
228
- lt as reactTransitionGroup,
229
- ht as removeDarkTheme,
230
- dt as responsiveArray,
231
- nt as responsiveMap,
232
- xt as responsiveObserve,
233
- ct as saveAs,
234
- gt as screenfull,
235
- Rt as scrollIntoView,
236
- _o as scrollIntoViewIfNeeded,
237
- Ho as scrollIntoViewIfNeededSmooth,
238
- Ht as searchTree,
239
- ge as set,
240
- Tt as setDarkTheme,
241
- bt as setPrimaryColor,
242
- At as setTheme,
243
- Mt as setTransformStyle,
244
- Re as setWith,
245
- Uo as smoothScrollIntoViewIfNeeded,
246
- he as snakeCase,
247
- Ee as startCase,
248
- To as supportRef,
249
- X as throttle,
250
- kt as throttleByRaf,
251
- ve as times,
252
- D as timezoneToOffset,
253
- Bt as toArray,
254
- I as toLocal,
255
- M as toTimezone,
256
- Ut as tree,
257
- Ne as uniq,
258
- Pe as upperFirst,
259
- Qt as uuid,
260
- Xt as uuidv4,
261
- er as validate,
262
- ar as warning
229
+ Be as plus,
230
+ dt as reactTransitionGroup,
231
+ Et as removeDarkTheme,
232
+ xt as responsiveArray,
233
+ ut as responsiveMap,
234
+ ct as responsiveObserve,
235
+ gt as saveAs,
236
+ Rt as screenfull,
237
+ ht as scrollIntoView,
238
+ Ho as scrollIntoViewIfNeeded,
239
+ qo as scrollIntoViewIfNeededSmooth,
240
+ qt as searchTree,
241
+ Re as set,
242
+ bt as setDarkTheme,
243
+ At as setPrimaryColor,
244
+ Dt as setTheme,
245
+ kt as setTransformStyle,
246
+ he as setWith,
247
+ Go as smoothScrollIntoViewIfNeeded,
248
+ Ee as snakeCase,
249
+ Ne as startCase,
250
+ bo as supportRef,
251
+ $ as throttle,
252
+ Bt as throttleByRaf,
253
+ Ve as times,
254
+ M as timezoneToOffset,
255
+ wt as toArray,
256
+ O as toLocal,
257
+ k as toTimezone,
258
+ Gt as tree,
259
+ Pe as uniq,
260
+ Ie as upperFirst,
261
+ Zt as uuid,
262
+ $t as uuidv4,
263
+ rr as validate,
264
+ ir as warning
263
265
  };