@unicom-cloud/ui 0.8.101 → 0.8.102

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 (122) hide show
  1. package/Badge.js +7 -54
  2. package/Copy.js +5 -4
  3. package/LiquidFill.js +5 -4
  4. package/List.js +1 -1
  5. package/Marquee.js +5 -4
  6. package/QrCode.js +5 -4
  7. package/Tooltip.js +3 -4
  8. package/Tour.js +5 -4
  9. package/anchor/Anchor.js +12 -12
  10. package/anchor/util.js +10 -10
  11. package/back-top/index.js +7 -7
  12. package/badge/index.js +109 -162
  13. package/card/index.js +63 -43
  14. package/color-picker/InputHex.js +3 -4
  15. package/color-picker/InputRgb.js +7 -8
  16. package/color-picker/Palette.js +3 -4
  17. package/color-picker/Panel.js +3 -4
  18. package/color-picker/colors.js +5 -5
  19. package/color-picker/hooks/useColorPicker.js +3 -4
  20. package/color-picker/utils.js +14 -15
  21. package/components/common/utils/PqbCSSTransition.js +1 -1
  22. package/components/common/utils/constant.js +6 -3
  23. package/components/common/utils/reactDOM.js +6 -4
  24. package/components/common/utils/{scrollIntoView.js → scrollIntoViewIfNeeded.js} +1 -1
  25. package/components/common/utils/setPrimaryColor.js +18 -18
  26. package/components/common/utils/setTheme.js +8 -9
  27. package/copy/index.js +3 -2
  28. package/dist/scroll-into-view-if-needed/compute/index.js +126 -0
  29. package/dist/scroll-into-view-if-needed/smooth/index.js +70 -0
  30. package/dist/scroll-into-view-if-needed/src/index.js +19 -19
  31. package/form/FormItem.js +69 -65
  32. package/form/context.js +6 -7
  33. package/grid/Col-.js +86 -0
  34. package/grid/Col.js +156 -73
  35. package/grid/Grid.js +71 -67
  36. package/grid/Row.js +3 -3
  37. package/grid/index.js +13 -13
  38. package/index.js +639 -662
  39. package/input/Textarea.js +1 -1
  40. package/input/autoSizeTextAreaHeight.js +7 -7
  41. package/liquid-fill/index.js +5 -4
  42. package/list/index.js +1 -1
  43. package/marquee/index.js +5 -4
  44. package/menu/Item.js +9 -9
  45. package/package.json +1 -1
  46. package/qr-code/index.js +5 -4
  47. package/splitter/SplitBar.js +81 -79
  48. package/splitter/Splitter.js +70 -78
  49. package/splitter/hooks/useResizable.js +9 -18
  50. package/splitter/hooks/useResize.js +10 -10
  51. package/splitter/hooks/useSizes.js +28 -28
  52. package/statistic/index.js +10 -10
  53. package/style.css +1 -1
  54. package/table/Table.js +369 -370
  55. package/table/hook/useThResizable.js +5 -4
  56. package/table/th-resizable/index.js +12 -11
  57. package/time-picker/util.js +8 -8
  58. package/tooltip/index.js +1 -2
  59. package/tour/index.js +5 -4
  60. package/tree/NodeList.js +1 -1
  61. package/types/common/utils/constant.d.ts +1 -0
  62. package/types/common/utils/scrollIntoViewIfNeeded.d.ts +4 -0
  63. package/types/common/utils/tree.d.ts +1 -0
  64. package/types/common/utils/tween.d.ts +1 -0
  65. package/types/pc/anchor/util.d.ts +1 -1
  66. package/types/pc/badge/interface.d.ts +2 -0
  67. package/types/pc/card/interface.d.ts +8 -0
  68. package/types/pc/color-picker/hooks/useColorPicker.d.ts +7 -2
  69. package/types/pc/color-picker/utils.d.ts +6 -1
  70. package/types/pc/form/FormItem.d.ts +1 -1
  71. package/types/pc/grid/Col-.d.ts +4 -0
  72. package/types/pc/grid/Col.d.ts +3 -2
  73. package/types/pc/grid/Grid.d.ts +2 -2
  74. package/types/pc/grid/Item.d.ts +3 -3
  75. package/types/pc/grid/Row.d.ts +2 -2
  76. package/types/pc/grid/hook/useResponsiveState.d.ts +2 -2
  77. package/types/pc/grid/interface.d.ts +13 -7
  78. package/types/pc/splitter/SplitBar.d.ts +0 -1
  79. package/types/pc/splitter/hooks/useResizable.d.ts +0 -1
  80. package/types/pc/splitter/hooks/useResize.d.ts +1 -2
  81. package/types/pc/splitter/interface.d.ts +0 -8
  82. package/types/pc/tour/index.d.ts +1 -1
  83. package/types/pc/upload/interface.d.ts +1 -0
  84. package/types/pc/utils/constant.d.ts +1 -2
  85. package/types/pc/utils/dayjs.d.ts +2 -1
  86. package/types/pc/utils/index.d.ts +2 -5
  87. package/types/pc/utils/scrollIntoViewIfNeeded.d.ts +3 -0
  88. package/types/pc/utils/tree.d.ts +2 -1
  89. package/types/pc/utils/tween.d.ts +1 -1
  90. package/typography/Ellipsis.js +5 -4
  91. package/typography/Operations.js +5 -4
  92. package/upload/request.js +12 -13
  93. package/upload/request_.js +2 -3
  94. package/utils/constant.js +5 -5
  95. package/utils/dayjs.js +13 -12
  96. package/utils/index.js +261 -284
  97. package/utils/scrollIntoViewIfNeeded.js +12 -0
  98. package/utils/tree.js +11 -9
  99. package/utils/tween.js +5 -5
  100. package/version/index.js +1 -1
  101. package/components/common/utils/convertToDurationBasedOnTimeUnits.js +0 -6
  102. package/dist/compute-scroll-into-view/src/index.js +0 -126
  103. package/dist/tinycolor/chunk/BOzCVdr0.js +0 -182
  104. package/dist/tinycolor/customize/index.js +0 -12
  105. package/dist/tinycolor/src/conversion.js +0 -143
  106. package/dist/tinycolor/src/css-color-names.js +0 -153
  107. package/dist/tinycolor/src/format-input.js +0 -77
  108. package/dist/tinycolor/src/index.js +0 -388
  109. package/dist/tinycolor/src/util.js +0 -32
  110. package/types/common/utils/convertToDurationBasedOnTimeUnits.d.ts +0 -3
  111. package/types/common/utils/scrollIntoView.d.ts +0 -4
  112. package/types/common/utils/tinycolor.d.ts +0 -1
  113. package/types/pc/utils/color.d.ts +0 -1
  114. package/types/pc/utils/computeScrollIntoView.d.ts +0 -1
  115. package/types/pc/utils/convertToDurationBasedOnTimeUnits.d.ts +0 -3
  116. package/types/pc/utils/scrollIntoView.d.ts +0 -3
  117. package/types/pc/utils/tinycolor.d.ts +0 -1
  118. package/utils/color.js +0 -4
  119. package/utils/computeScrollIntoView.js +0 -6
  120. package/utils/convertToDurationBasedOnTimeUnits.js +0 -6
  121. package/utils/scrollIntoView.js +0 -6
  122. package/utils/tinycolor.js +0 -29
package/utils/index.js CHANGED
@@ -1,287 +1,264 @@
1
- import { default as s } from "@unicom-cloud/utils/case-name";
2
- import { default as m } from "@unicom-cloud/utils/class-name";
3
- import { cmykToRgb as p, convertDecimalToHex as l, convertHexToDecimal as n, hslToRgb as d, hsvToRgb as x, numberInputToObject as u, parseIntFromHex as c, rgbToCmyk as g, rgbToHex as y, rgbToHsl as T, rgbToHsv as S, rgbToRgb as R, rgbaToArgbHex as b, rgbaToHex as C } from "../dist/tinycolor/src/conversion.js";
4
- import { names as E } from "../dist/tinycolor/src/css-color-names.js";
5
- import { inputToRGB as N, isValidCSSUnit as v, stringInputToObject as D } from "../dist/tinycolor/src/format-input.js";
6
- import { compareColorByRange as O } from "../dist/tinycolor/customize/index.js";
7
- import { TinyColor as P } from "../dist/tinycolor/src/index.js";
8
- import { a as B } from "../dist/tinycolor/chunk/BOzCVdr0.js";
9
- import { compute as V, compute as j } from "../dist/compute-scroll-into-view/src/index.js";
10
- import { newArray as H, pickTriggerPropsFromRest as L } from "./constant.js";
11
- import { ContextHolderElement as _ } from "./contextHolder.js";
12
- import { convertToDurationBasedOnTimeUnits as z } from "@unicom-cloud/utils/dayjs";
13
- import { default as G, default as K } from "@unicom-cloud/utils/clipboard-copy";
14
- import { dayjs as Y, getDayjsValue as Q, getNow as X, getSortedDayjsArray as Z, getTimeFormat as $, getValueWithTime as ee, isDayjsArrayChange as re, isDayjsChange as te, isValidTimeString as oe, methods as ae, timezoneToOffset as se, toLocal as ie, toTimezone as me } from "../components/common/utils/dayjs.js";
15
- import { contains as pe, getScrollElements as le, isScrollElement as ne, isServerRendering as de, off as xe, on as ue } from "../components/common/utils/dom.js";
16
- import { default as ge } from "@unicom-cloud/utils/file/fileToURL";
17
- import { fillNBSP as Te } from "../components/common/utils/fillNBSP.js";
18
- import { getHighlightText as Re } from "../components/common/utils/getHighlightText.js";
19
- import { getHotkeyHandler as Ce } from "../components/common/utils/getHotkeyHandler.js";
20
- import { getStringLength as Ee } from "../components/common/utils/getStringLength.js";
21
- import { include as Ne } from "../components/common/utils/include.js";
1
+ export * from "@unicom-cloud/utils/date";
2
+ import { default as i } from "@unicom-cloud/utils/case-name";
3
+ import { default as f } from "@unicom-cloud/utils/class-name";
4
+ import { newArray as p, pickTriggerPropsFromRest as n } from "./constant.js";
5
+ import { ContextHolderElement as x } from "./contextHolder.js";
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 M, timezoneToOffset as P, toLocal as D, toTimezone as I } 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";
22
15
  import "lodash/isFunction";
23
- import { default as De } from "lodash/throttle";
24
- import * as r from "./is.js";
25
- import { default as Oe } from "lodash/camelCase";
26
- import { default as Pe } from "lodash/capitalize";
27
- import { default as Be } from "lodash/cloneDeep";
28
- import { default as Ve } from "lodash/debounce";
29
- import { default as Fe } from "lodash/get";
30
- import { default as Le } from "lodash/has";
31
- import { default as _e } from "lodash/kebabCase";
32
- import { default as ze } from "lodash/merge";
33
- import { default as Ge } from "lodash/mergeWith";
34
- import { default as Je } from "lodash/set";
35
- import { default as Qe } from "lodash/setWith";
36
- import { default as Ze } from "lodash/snakeCase";
37
- import { default as er } from "lodash/startCase";
38
- import { default as tr } from "lodash/uniq";
39
- import { default as ar } from "lodash/upperFirst";
40
- import { div as ir, default as mr, minus as fr, plus as pr, times as lr } from "@unicom-cloud/utils/math";
41
- import { mergedToString as dr } from "../components/common/utils/mergedToString.js";
42
- import { mergeProps as ur } from "../components/common/utils/mergeProps.js";
43
- import { COMPONENT_NAMES as gr } from "./names.js";
44
- import { omit as Tr } from "../components/common/utils/omit.js";
45
- import { padEnd as Rr, padStart as br } from "../components/common/utils/pad.js";
46
- import { pick as hr, pickDataAttributes as Er } from "../components/common/utils/pick.js";
47
- import { PqbCSSTransition as Nr } from "../components/common/utils/PqbCSSTransition.js";
48
- import { callbackOriginRef as Dr, findDOMNode_ as Mr } from "../components/common/utils/reactDOM.js";
49
- import { default as Ir } from "../dist/react-transition-group/src/CSSTransition.js";
50
- import { default as kr } from "../dist/react-transition-group/src/ReplaceTransition.js";
51
- import { default as wr } from "../dist/react-transition-group/src/SwitchTransition.js";
52
- import { T as jr } from "../dist/react-transition-group/chunk/CPfP7aNL.js";
53
- import { default as Hr, default as Lr } from "../dist/react-transition-group/src/TransitionGroup.js";
54
- import { responsiveArray as _r, responsiveMap as Ur, responsiveObserve as zr } from "./responsiveObserve.js";
55
- import { default as Gr } from "@unicom-cloud/utils/file/saveAs";
56
- import { default as Jr } from "@unicom-cloud/utils/screenfull";
57
- import { scrollIntoView as Qr, scrollIntoView as Xr } from "../components/common/utils/scrollIntoView.js";
58
- import { removeDarkTheme as $r, setDarkTheme as et } from "./setDarkTheme.js";
59
- import { setPrimaryColor as tt } from "./setPrimaryColor.js";
60
- import { setTheme as at } from "./setTheme.js";
61
- import { fixedWidth as it, getStyle as mt, setTransformStyle as ft } from "../components/common/utils/style.js";
62
- import { throttleByRaf as lt } from "../components/common/utils/throttleByRaf.js";
63
- import { toArray as dt } from "../components/common/utils/toArray.js";
64
- import { findNodeBy as ut, getChildWithParentBy as ct, getItemBy as gt, getItemBy2 as yt, getItemBy3 as Tt, getItemByID as St, getLabelFromDictionaryByValue as Rt } from "@unicom-cloud/utils/tree";
65
- import { Tween as Ct } from "../dist/tween/src/tween.js";
66
- import { default as Et } from "../dist/tween/src/easing.js";
67
- import { v4 as Nt, v4 as vt } from "uuid";
68
- import { Schema as Mt, default as Ot } from "../dist/validate/src/index.js";
69
- import { d as Pt } from "../dist/validate/chunk/BXTR2LmP.js";
70
- import { warning as Bt } from "../components/common/utils/warning.js";
71
- import * as t from "@unicom-cloud/utils/constant/keyboardCode";
72
- import { UI_PC_KEY as Vt, UI_PC_THEME_DARK_CLASS_NAME as jt } from "@unicom-cloud/utils/constant/ui";
73
- import { NOOP as Ht } from "../components/common/utils/constant.js";
74
- import { isArguments as Wt, isArray as _t, isArrayBuffer as Ut, isArrayLike as zt, isArrayLikeObject as qt, isBlob as Gt, isBoolean as Kt, isBuffer as Jt, isColor as Yt, isColor2 as Qt, isDate as Xt, isElement as Zt, isEmpty as $t, isEmptyArray as eo, isEmptyObject as ro, isEmptyValue as to, isEqual as oo, isEqualWith as ao, isError as so, isFile as io, isFinite as mo, isFunction as fo, isInteger as po, isJSON as lo, isLength as no, isMap as xo, isMatch as uo, isMatchWith as co, isNaN as go, isNative as yo, isNil as To, isNull as So, isNumber as Ro, isObject as bo, isObjectLike as Co, isPlainObject as ho, isPromise as Eo, isReadableByteStreamControllerSupported as Ao, isReadableStream as No, isReadableStreamDefaultControllerSupported as vo, isReadableStreamSupported as Do, isReadableStreamSymbolAsyncIteratorSupported as Mo, isRegExp as Oo, isSafeInteger as Io, isSet as Po, isString as ko, isSymbol as Bo, isTypedArray as wo, isUndefined as Vo, isValidColor as jo, isWeakMap as Fo, isWeakSet as Ho } from "@unicom-cloud/utils/is";
75
- import { isClassComponent as Wo, isDOMElement as _o, isDayjs as Uo, isEmptyReactNode as zo, isExist as qo, isForwardRefReact as Go, isNullOrUndefined as Ko, isReact18 as Jo, isReact19 as Yo, isReactComponent as Qo, isSupportRef as Xo, isWindow as Zo, supportRef as $o } from "../components/common/utils/is.js";
76
- import { isAsyncMode as ra, isConcurrentMode as ta, isContextConsumer as oa, isContextProvider as aa, isElement as sa, isForwardRef as ia, isFragment as ma, isLazy as fa, isMemo as pa, isPortal as la, isProfiler as na, isStrictMode as da, isSuspense as xa, isValidElementType as ua } from "react-is";
16
+ import { default as X } from "lodash/throttle";
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 ne } 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 Me } from "lodash/upperFirst";
33
+ import { div as De, default as Ie, 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 nt, responsiveMap as dt, 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 Pt, getStyle as Dt, setTransformStyle as It } 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";
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 nr, isArray as dr, 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 Mr, isEqualWith as Pr, isError as Dr, isFile as Ir, 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, isDayjs as xo, isEmptyReactNode as uo, isExist as co, isForwardRefReact as yo, isNullOrUndefined as go, isReact18 as So, isReact19 as Ro, isReactComponent as Co, isSupportRef as ho, isWindow as To, supportRef as Eo } from "../components/common/utils/is.js";
69
+ import { isAsyncMode as No, isConcurrentMode as Ao, isContextConsumer as Mo, isContextProvider as Po, isElement as Do, isForwardRef as Io, isFragment as Oo, isLazy as ko, isMemo as vo, isPortal as Bo, isProfiler as wo, isStrictMode as Vo, isSuspense as Fo, isValidElementType as jo } from "react-is";
70
+ import { compute as Wo } from "../dist/scroll-into-view-if-needed/compute/index.js";
71
+ import { default as zo } from "../dist/scroll-into-view-if-needed/src/index.js";
72
+ import { default as Uo, default as qo } from "../dist/scroll-into-view-if-needed/smooth/index.js";
77
73
  export {
78
- gr as COMPONENT_NAMES,
79
- Ir as CSSTransition,
80
- _ as ContextHolderElement,
81
- Pt as DefaultValidateMessage,
82
- Ht as NOOP,
83
- Nr as PqbCSSTransition,
84
- kr as ReplaceTransition,
85
- Mt as Schema,
86
- wr as SwitchTransition,
87
- P as TinyColor,
88
- jr as Transition,
89
- Hr as TransitionGroup,
90
- Vt as UI_PC_KEY,
91
- jt as UI_PC_THEME_DARK_CLASS_NAME,
92
- Dr as callbackOriginRef,
93
- Oe as camelCase,
94
- Pe as capitalize,
95
- s as caseName,
96
- m as className,
97
- G as clipboardCopy,
98
- Be as cloneDeep,
99
- p as cmykToRgb,
100
- B as color,
101
- E as colorNames,
102
- O as compareColorByRange,
103
- V as compute,
104
- j as computeScrollIntoView,
105
- pe as contains,
106
- l as convertDecimalToHex,
107
- n as convertHexToDecimal,
108
- z as convertToDurationBasedOnTimeUnits,
109
- K as copy,
110
- Y as dayjs,
111
- Ve as debounce,
112
- ir as div,
113
- Et as easing,
114
- ge as fileToURL,
115
- Te as fillNBSP,
116
- Mr as findDOMNode_,
117
- ut as findNodeBy,
118
- it as fixedWidth,
119
- Fe as get,
120
- ct as getChildWithParentBy,
121
- Q as getDayjsValue,
122
- Re as getHighlightText,
123
- Ce as getHotkeyHandler,
124
- gt as getItemBy,
125
- yt as getItemBy2,
126
- Tt as getItemBy3,
127
- St as getItemByID,
128
- Rt as getLabelFromDictionaryByValue,
129
- X as getNow,
130
- le as getScrollElements,
131
- Z as getSortedDayjsArray,
132
- Ee as getStringLength,
133
- mt as getStyle,
134
- $ as getTimeFormat,
135
- ee as getValueWithTime,
136
- Le as has,
137
- d as hslToRgb,
138
- x as hsvToRgb,
139
- Ne as include,
140
- N as inputToRGB,
141
- r as is,
142
- Wt as isArguments,
143
- _t as isArray,
144
- Ut as isArrayBuffer,
145
- zt as isArrayLike,
146
- qt as isArrayLikeObject,
147
- Gt as isBlob,
148
- Kt as isBoolean,
149
- Jt as isBuffer,
150
- Wo as isClassComponent,
151
- Yt as isColor,
152
- Qt as isColor2,
153
- _o as isDOMElement,
154
- Xt as isDate,
155
- Uo as isDayjs,
156
- re as isDayjsArrayChange,
157
- te as isDayjsChange,
158
- Zt as isElement,
159
- $t as isEmpty,
160
- eo as isEmptyArray,
161
- ro as isEmptyObject,
162
- zo as isEmptyReactNode,
163
- to as isEmptyValue,
164
- oo as isEqual,
165
- ao as isEqualWith,
166
- so as isError,
167
- qo as isExist,
168
- io as isFile,
169
- mo as isFinite,
170
- Go as isForwardRefReact,
171
- fo as isFunction,
172
- po as isInteger,
173
- lo as isJSON,
174
- no as isLength,
175
- xo as isMap,
176
- uo as isMatch,
177
- co as isMatchWith,
178
- go as isNaN,
179
- yo as isNative,
180
- To as isNil,
181
- So as isNull,
182
- Ko as isNullOrUndefined,
183
- Ro as isNumber,
184
- bo as isObject,
185
- Co as isObjectLike,
186
- ho as isPlainObject,
187
- Eo as isPromise,
188
- Jo as isReact18,
189
- Yo as isReact19,
190
- ra as isReactAsyncMode,
191
- Qo as isReactComponent,
192
- ta as isReactConcurrentMode,
193
- oa as isReactContextConsumer,
194
- aa as isReactContextProvider,
195
- sa as isReactElement,
196
- ia as isReactForwardRef,
197
- ma as isReactFragment,
198
- fa as isReactLazy,
199
- pa as isReactMemo,
200
- la as isReactPortal,
201
- na as isReactProfiler,
202
- da as isReactStrictMode,
203
- xa as isReactSuspense,
204
- ua as isReactValidElementType,
205
- Ao as isReadableByteStreamControllerSupported,
206
- No as isReadableStream,
207
- vo as isReadableStreamDefaultControllerSupported,
208
- Do as isReadableStreamSupported,
209
- Mo as isReadableStreamSymbolAsyncIteratorSupported,
210
- Oo as isRegExp,
211
- Io as isSafeInteger,
212
- ne as isScrollElement,
213
- de as isServerRendering,
214
- Po as isSet,
215
- ko as isString,
216
- Xo as isSupportRef,
217
- Bo as isSymbol,
218
- wo as isTypedArray,
219
- Vo as isUndefined,
220
- v as isValidCSSUnit,
221
- jo as isValidColor,
222
- oe as isValidTimeString,
223
- Fo as isWeakMap,
224
- Ho as isWeakSet,
225
- Zo as isWindow,
226
- _e as kebabCase,
227
- t as keyboardCode,
228
- mr as math,
229
- ze as merge,
230
- ur as mergeProps,
231
- Ge as mergeWith,
232
- dr as mergedToString,
233
- ae as methods,
234
- fr as minus,
235
- H as newArray,
236
- u as numberInputToObject,
237
- xe as off,
238
- Tr as omit,
239
- ue as on,
240
- Rr as padEnd,
241
- br as padStart,
242
- c as parseIntFromHex,
243
- hr as pick,
244
- Er as pickDataAttributes,
245
- L as pickTriggerPropsFromRest,
246
- pr as plus,
247
- Lr as reactTransitionGroup,
248
- $r as removeDarkTheme,
249
- _r as responsiveArray,
250
- Ur as responsiveMap,
251
- zr as responsiveObserve,
252
- g as rgbToCmyk,
253
- y as rgbToHex,
254
- T as rgbToHsl,
255
- S as rgbToHsv,
256
- R as rgbToRgb,
257
- b as rgbaToArgbHex,
258
- C as rgbaToHex,
259
- Gr as saveAs,
260
- Jr as screenfull,
261
- Qr as scrollIntoView,
262
- Xr as scrollIntoViewIfNeeded,
263
- Je as set,
264
- et as setDarkTheme,
265
- tt as setPrimaryColor,
266
- at as setTheme,
267
- ft as setTransformStyle,
268
- Qe as setWith,
269
- Ze as snakeCase,
270
- er as startCase,
271
- D as stringInputToObject,
272
- $o as supportRef,
273
- De as throttle,
274
- lt as throttleByRaf,
275
- lr as times,
276
- se as timezoneToOffset,
277
- dt as toArray,
278
- ie as toLocal,
279
- me as toTimezone,
280
- Ct as tween,
281
- tr as uniq,
282
- ar as upperFirst,
283
- Nt as uuid,
284
- vt as uuidv4,
285
- Ot as validate,
286
- Bt as warning
74
+ Le as COMPONENT_NAMES,
75
+ et as CSSTransition,
76
+ x as ContextHolderElement,
77
+ rr as DefaultValidateMessage,
78
+ ir as NOOP,
79
+ Ye as PqbCSSTransition,
80
+ rt as ReplaceTransition,
81
+ $t as Schema,
82
+ at as SwitchTransition,
83
+ it as Transition,
84
+ ft as TransitionGroup,
85
+ Gt as Tween,
86
+ fr as UI_PC_KEY,
87
+ lr as UI_PC_THEME_DARK_CLASS_NAME,
88
+ Xe as callbackOriginRef,
89
+ $ as camelCase,
90
+ te as capitalize,
91
+ i as caseName,
92
+ f as className,
93
+ c as clipboardCopy,
94
+ oe as cloneDeep,
95
+ Wo as compute,
96
+ k as contains,
97
+ y as copy,
98
+ S as dayjs,
99
+ se as debounce,
100
+ De as div,
101
+ Jt as easing,
102
+ L as fileToURL,
103
+ _ as fillNBSP,
104
+ Ze as findDOMNode_,
105
+ Vt as findNodeBy,
106
+ Pt as fixedWidth,
107
+ me as get,
108
+ Ft as getChildWithParentBy,
109
+ R as getDayjsValue,
110
+ H as getHighlightText,
111
+ q as getHotkeyHandler,
112
+ jt as getItemBy,
113
+ Lt as getItemBy2,
114
+ Wt as getItemBy3,
115
+ _t as getItemByID,
116
+ zt as getLabelFromDictionaryByValue,
117
+ C as getNow,
118
+ v as getScrollElements,
119
+ h as getSortedDayjsArray,
120
+ K as getStringLength,
121
+ Dt as getStyle,
122
+ T as getTimeFormat,
123
+ E as getValueWithTime,
124
+ le as has,
125
+ Y as include,
126
+ t as is,
127
+ nr as isArguments,
128
+ dr as isArray,
129
+ xr as isArrayBuffer,
130
+ ur as isArrayLike,
131
+ cr as isArrayLikeObject,
132
+ yr as isBlob,
133
+ gr as isBoolean,
134
+ Sr as isBuffer,
135
+ po as isClassComponent,
136
+ Rr as isColor,
137
+ Cr as isColor2,
138
+ no as isDOMElement,
139
+ hr as isDate,
140
+ xo as isDayjs,
141
+ b as isDayjsArrayChange,
142
+ N as isDayjsChange,
143
+ Tr as isElement,
144
+ Er as isEmpty,
145
+ br as isEmptyArray,
146
+ Nr as isEmptyObject,
147
+ uo as isEmptyReactNode,
148
+ Ar as isEmptyValue,
149
+ Mr as isEqual,
150
+ Pr as isEqualWith,
151
+ Dr as isError,
152
+ co as isExist,
153
+ Ir as isFile,
154
+ Or as isFinite,
155
+ yo as isForwardRefReact,
156
+ kr as isFunction,
157
+ vr as isInteger,
158
+ Br as isJSON,
159
+ wr as isLength,
160
+ Vr as isMap,
161
+ Fr as isMatch,
162
+ jr as isMatchWith,
163
+ Lr as isNaN,
164
+ Wr as isNative,
165
+ _r as isNil,
166
+ zr as isNull,
167
+ go as isNullOrUndefined,
168
+ Hr as isNumber,
169
+ Ur as isObject,
170
+ qr as isObjectLike,
171
+ Gr as isPlainObject,
172
+ Kr as isPromise,
173
+ So as isReact18,
174
+ Ro as isReact19,
175
+ No as isReactAsyncMode,
176
+ Co as isReactComponent,
177
+ Ao as isReactConcurrentMode,
178
+ Mo as isReactContextConsumer,
179
+ Po as isReactContextProvider,
180
+ Do as isReactElement,
181
+ Io as isReactForwardRef,
182
+ Oo as isReactFragment,
183
+ ko as isReactLazy,
184
+ vo as isReactMemo,
185
+ Bo as isReactPortal,
186
+ wo as isReactProfiler,
187
+ Vo as isReactStrictMode,
188
+ Fo as isReactSuspense,
189
+ jo as isReactValidElementType,
190
+ Jr as isReadableByteStreamControllerSupported,
191
+ Yr as isReadableStream,
192
+ Qr as isReadableStreamDefaultControllerSupported,
193
+ Xr as isReadableStreamSupported,
194
+ Zr as isReadableStreamSymbolAsyncIteratorSupported,
195
+ $r as isRegExp,
196
+ eo as isSafeInteger,
197
+ B as isScrollElement,
198
+ w as isServerRendering,
199
+ to as isSet,
200
+ ro as isString,
201
+ ho as isSupportRef,
202
+ oo as isSymbol,
203
+ ao as isTypedArray,
204
+ so as isUndefined,
205
+ io as isValidColor,
206
+ A as isValidTimeString,
207
+ mo as isWeakMap,
208
+ fo as isWeakSet,
209
+ To as isWindow,
210
+ ne as kebabCase,
211
+ r as keyboardCode,
212
+ Ie as math,
213
+ xe as merge,
214
+ Fe as mergeProps,
215
+ ce as mergeWith,
216
+ we as mergedToString,
217
+ M as methods,
218
+ Oe as minus,
219
+ p as newArray,
220
+ V as off,
221
+ _e as omit,
222
+ F as on,
223
+ He as padEnd,
224
+ Ue as padStart,
225
+ Ge as pick,
226
+ Ke as pickDataAttributes,
227
+ n as pickTriggerPropsFromRest,
228
+ ke as plus,
229
+ lt as reactTransitionGroup,
230
+ ht as removeDarkTheme,
231
+ nt as responsiveArray,
232
+ dt as responsiveMap,
233
+ xt as responsiveObserve,
234
+ ct as saveAs,
235
+ gt as screenfull,
236
+ Rt as scrollIntoView,
237
+ zo as scrollIntoViewIfNeeded,
238
+ Uo as scrollIntoViewIfNeededSmooth,
239
+ Ht as searchTree,
240
+ ge as set,
241
+ Tt as setDarkTheme,
242
+ bt as setPrimaryColor,
243
+ At as setTheme,
244
+ It as setTransformStyle,
245
+ Re as setWith,
246
+ qo as smoothScrollIntoViewIfNeeded,
247
+ he as snakeCase,
248
+ Ee as startCase,
249
+ Eo as supportRef,
250
+ X as throttle,
251
+ kt as throttleByRaf,
252
+ ve as times,
253
+ P as timezoneToOffset,
254
+ Bt as toArray,
255
+ D as toLocal,
256
+ I as toTimezone,
257
+ Ut as tree,
258
+ Ne as uniq,
259
+ Me as upperFirst,
260
+ Qt as uuid,
261
+ Xt as uuidv4,
262
+ er as validate,
263
+ ar as warning
287
264
  };
@@ -0,0 +1,12 @@
1
+ import { scrollIntoView as o } from "../components/common/utils/scrollIntoViewIfNeeded.js";
2
+ import { compute as l } from "../dist/scroll-into-view-if-needed/compute/index.js";
3
+ import { default as d } from "../dist/scroll-into-view-if-needed/src/index.js";
4
+ import { default as m, default as s } from "../dist/scroll-into-view-if-needed/smooth/index.js";
5
+ export {
6
+ l as compute,
7
+ o as default,
8
+ o as scrollIntoView,
9
+ d as scrollIntoViewIfNeeded,
10
+ m as scrollIntoViewIfNeededSmooth,
11
+ s as smoothScrollIntoViewIfNeeded
12
+ };
package/utils/tree.js CHANGED
@@ -1,11 +1,13 @@
1
- import { default as y, findNodeBy as B, getChildWithParentBy as g, getItemBy as m, getItemBy2 as a, getItemBy3 as i, getItemByID as o, getLabelFromDictionaryByValue as r } from "@unicom-cloud/utils/tree";
1
+ import { default as a, findNodeBy as r, getChildWithParentBy as y, getItemBy as B, getItemBy2 as g, getItemBy3 as m, getItemByID as d, getLabelFromDictionaryByValue as i, searchTree as l, default as o } from "@unicom-cloud/utils/tree";
2
2
  export {
3
- y as default,
4
- B as findNodeBy,
5
- g as getChildWithParentBy,
6
- m as getItemBy,
7
- a as getItemBy2,
8
- i as getItemBy3,
9
- o as getItemByID,
10
- r as getLabelFromDictionaryByValue
3
+ a as default,
4
+ r as findNodeBy,
5
+ y as getChildWithParentBy,
6
+ B as getItemBy,
7
+ g as getItemBy2,
8
+ m as getItemBy3,
9
+ d as getItemByID,
10
+ i as getLabelFromDictionaryByValue,
11
+ l as searchTree,
12
+ o as tree
11
13
  };
package/utils/tween.js CHANGED
@@ -1,7 +1,7 @@
1
- import { Tween as t, Tween as f } from "../dist/tween/src/tween.js";
2
- import { default as o } from "../dist/tween/src/easing.js";
1
+ import { Tween as f, Tween as o } from "../dist/tween/src/tween.js";
2
+ import { default as t } from "../dist/tween/src/easing.js";
3
3
  export {
4
- t as default,
5
- o as easing,
6
- f as tween
4
+ f as Tween,
5
+ o as default,
6
+ t as easing
7
7
  };
package/version/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const I = "2025-07-08 09:46:15", t = "1751939175851", E = "2.66.0";
1
+ const I = "2025-07-14 11:22:21", t = "1752463341138", E = "2.66.0";
2
2
  export {
3
3
  E as VERSION,
4
4
  I as VERSION_BUILD_DATE,
@@ -1,6 +0,0 @@
1
- import "@unicom-cloud/utils/dayjs";
2
- import { convertToDurationBasedOnTimeUnits as i, convertToDurationBasedOnTimeUnits as r } from "@unicom-cloud/utils/dayjs";
3
- export {
4
- i as convertToDurationBasedOnTimeUnits,
5
- r as default
6
- };