@unicom-cloud/ui-common 0.1.54 → 0.1.56

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 (325) hide show
  1. package/.virtual/_rolldown/runtime.js +2 -3
  2. package/animation/Animation.js +2 -3
  3. package/animation/constants.js +2 -3
  4. package/animation/context.js +2 -3
  5. package/animation/index.js +2 -3
  6. package/animation/style/index.js +1 -1
  7. package/animation/utils.js +1 -1
  8. package/base/Base.js +2 -3
  9. package/base/constants.js +1 -1
  10. package/base/context.js +2 -3
  11. package/base/index.js +2 -3
  12. package/base/style/index.js +1 -1
  13. package/base/utils.js +1 -1
  14. package/border-beam/BorderBeam.js +2 -3
  15. package/border-beam/Effect.js +2 -3
  16. package/border-beam/constants.js +2 -3
  17. package/border-beam/context.js +2 -3
  18. package/border-beam/hooks/useBorderSize.js +2 -3
  19. package/border-beam/hooks/useChildDom.js +2 -3
  20. package/border-beam/index.js +2 -3
  21. package/border-beam/style/index.js +1 -1
  22. package/border-beam/utils.js +2 -3
  23. package/development/Development.js +2 -3
  24. package/development/constants.js +1 -1
  25. package/development/context.js +2 -3
  26. package/development/index.js +2 -3
  27. package/development/style/index.js +1 -1
  28. package/development/utils.js +1 -1
  29. package/empty/Empty.js +2 -3
  30. package/empty/constants.js +1 -1
  31. package/empty/context.js +2 -3
  32. package/empty/index.js +2 -3
  33. package/empty/style/index.js +1 -1
  34. package/empty/utils.js +1 -1
  35. package/flex/Flex.js +2 -3
  36. package/flex/FlexVertical.js +2 -3
  37. package/flex/constants.js +1 -1
  38. package/flex/context.js +2 -3
  39. package/flex/index.js +2 -3
  40. package/flex/style/index.js +1 -1
  41. package/flex/utils.js +2 -3
  42. package/grid/Grid.js +2 -3
  43. package/grid/Item.js +2 -3
  44. package/grid/constants.js +1 -1
  45. package/grid/context.js +2 -3
  46. package/grid/index.js +2 -3
  47. package/grid/style/index.js +1 -1
  48. package/grid/utils.js +2 -3
  49. package/higher-order/with-speech-synthesis/context.js +2 -3
  50. package/higher-order/with-speech-synthesis/index.js +2 -3
  51. package/higher-order/with-speech-synthesis/style/index.js +1 -1
  52. package/higher-order/with-speech-synthesis/withSpeechSynthesis.js +2 -3
  53. package/hoc/withContext.js +2 -3
  54. package/hooks/create-deep-compare-effect/index.js +2 -3
  55. package/hooks/create-update-effect/index.js +2 -3
  56. package/hooks/create-use-storage-state/index.js +2 -3
  57. package/hooks/index.js +1 -1
  58. package/hooks/use-async-effect/index.js +2 -3
  59. package/hooks/use-boolean/index.js +2 -3
  60. package/hooks/use-click-away/index.js +2 -3
  61. package/hooks/use-computed-state/index.js +2 -3
  62. package/hooks/use-controllable-value/index.js +2 -3
  63. package/hooks/use-cookie-state/index.js +2 -3
  64. package/hooks/use-count-down/index.js +2 -3
  65. package/hooks/use-counter/index.js +2 -3
  66. package/hooks/use-create/index.js +2 -3
  67. package/hooks/use-creation/index.js +3 -4
  68. package/hooks/use-debounce/index.js +2 -3
  69. package/hooks/use-debounce-effect/index.js +2 -3
  70. package/hooks/use-debounce-fn/index.js +2 -3
  71. package/hooks/use-deep-compare-effect/index.js +2 -3
  72. package/hooks/use-deep-compare-layout-effect/index.js +2 -3
  73. package/hooks/use-document-visibility/index.js +2 -3
  74. package/hooks/use-drag/index.js +2 -3
  75. package/hooks/use-drag-move/index.js +2 -3
  76. package/hooks/use-drop/index.js +2 -3
  77. package/hooks/use-effect-event/index.js +2 -3
  78. package/hooks/use-event/index.js +2 -3
  79. package/hooks/use-event-emitter/index.js +2 -3
  80. package/hooks/use-event-listener/index.js +2 -3
  81. package/hooks/use-event-target/index.js +2 -3
  82. package/hooks/use-external/index.js +2 -3
  83. package/hooks/use-favicon/index.js +2 -3
  84. package/hooks/use-focus-within/index.js +2 -3
  85. package/hooks/use-force-update/index.js +2 -3
  86. package/hooks/use-fullscreen/index.js +2 -3
  87. package/hooks/use-get-state/index.js +2 -3
  88. package/hooks/use-history-travel/index.js +2 -3
  89. package/hooks/use-hover/index.js +2 -3
  90. package/hooks/use-id/index.js +2 -3
  91. package/hooks/use-in-viewport/index.js +17 -18
  92. package/hooks/use-infinite-scroll/index.js +2 -3
  93. package/hooks/use-intersection-observer/index.js +2 -3
  94. package/hooks/use-intersection-observers/index.js +19 -20
  95. package/hooks/use-interval/index.js +2 -3
  96. package/hooks/use-is-first-render/index.js +2 -3
  97. package/hooks/use-isomorphic-layout-effect/index.js +2 -3
  98. package/hooks/use-key-press/index.js +2 -3
  99. package/hooks/use-keyboard-event/index.js +2 -3
  100. package/hooks/use-latest/index.js +2 -3
  101. package/hooks/use-listen-window-resize/index.js +2 -3
  102. package/hooks/use-local-storage-state/index.js +2 -3
  103. package/hooks/use-lock-fn/index.js +2 -3
  104. package/hooks/use-long-press/index.js +2 -3
  105. package/hooks/use-map/index.js +2 -3
  106. package/hooks/use-media/index.js +2 -3
  107. package/hooks/use-memo/index.js +2 -3
  108. package/hooks/use-memoized-fn/index.js +2 -3
  109. package/hooks/use-merge-component-props/index.js +22 -10
  110. package/hooks/use-merge-value/index.js +2 -3
  111. package/hooks/use-mobile/index.js +2 -3
  112. package/hooks/use-mount/index.js +2 -3
  113. package/hooks/use-mouse/index.js +2 -3
  114. package/hooks/use-mutation-observer/index.js +2 -3
  115. package/hooks/use-mutation-observers/index.js +19 -20
  116. package/hooks/use-network/index.js +2 -3
  117. package/hooks/use-online-status/index.js +2 -3
  118. package/hooks/use-overflow-hidden/index.js +2 -3
  119. package/hooks/use-override-ref/index.js +2 -3
  120. package/hooks/use-pagination/index.js +2 -3
  121. package/hooks/use-paste-file/index.d.ts +1 -1
  122. package/hooks/use-paste-file/index.js +3 -4
  123. package/hooks/use-paste-image/index.js +2 -3
  124. package/hooks/use-persist-callback/index.js +2 -3
  125. package/hooks/use-prefers-color-scheme-dark/index.js +2 -3
  126. package/hooks/use-previous/index.js +2 -3
  127. package/hooks/use-raf-interval/index.js +2 -3
  128. package/hooks/use-raf-state/index.js +2 -3
  129. package/hooks/use-raf-timeout/index.js +2 -3
  130. package/hooks/use-reactive/index.js +2 -3
  131. package/hooks/use-ref-latest/index.js +2 -3
  132. package/hooks/use-ref-map/index.js +2 -3
  133. package/hooks/use-refs/index.js +2 -3
  134. package/hooks/use-request/index.js +2 -3
  135. package/hooks/use-request/src/Fetch.js +2 -3
  136. package/hooks/use-request/src/plugins/useAutoRunPlugin.js +2 -3
  137. package/hooks/use-request/src/plugins/useCachePlugin.js +2 -3
  138. package/hooks/use-request/src/plugins/useDebouncePlugin.js +2 -3
  139. package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +2 -3
  140. package/hooks/use-request/src/plugins/usePollingPlugin.js +2 -3
  141. package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +2 -3
  142. package/hooks/use-request/src/plugins/useRetryPlugin.js +2 -3
  143. package/hooks/use-request/src/plugins/useThrottlePlugin.js +2 -3
  144. package/hooks/use-request/src/useRequest.js +2 -3
  145. package/hooks/use-request/src/useRequestImplement.js +2 -3
  146. package/hooks/use-request/src/utils/cache.js +2 -3
  147. package/hooks/use-request/src/utils/cachePromise.js +2 -3
  148. package/hooks/use-request/src/utils/cacheSubscribe.js +2 -3
  149. package/hooks/use-request/src/utils/isDocumentVisible.js +2 -3
  150. package/hooks/use-request/src/utils/isOnline.js +2 -3
  151. package/hooks/use-request/src/utils/limit.js +2 -3
  152. package/hooks/use-request/src/utils/subscribeFocus.js +2 -3
  153. package/hooks/use-request/src/utils/subscribeReVisible.js +2 -3
  154. package/hooks/use-reset-state/index.js +2 -3
  155. package/hooks/use-resize-observer/index.js +2 -3
  156. package/hooks/use-resize-observers/index.js +19 -20
  157. package/hooks/use-responsive/index.js +2 -3
  158. package/hooks/use-safe-state/index.js +2 -3
  159. package/hooks/use-scroll/index.js +2 -3
  160. package/hooks/use-selections/index.js +2 -3
  161. package/hooks/use-session-storage-state/index.js +2 -3
  162. package/hooks/use-set/index.js +2 -3
  163. package/hooks/use-set-state/index.js +2 -3
  164. package/hooks/use-size/index.js +2 -3
  165. package/hooks/use-state-callback/index.js +3 -4
  166. package/hooks/use-state-with-promise/index.js +2 -3
  167. package/hooks/use-sync-state/index.js +2 -3
  168. package/hooks/use-text-selection/index.js +2 -3
  169. package/hooks/use-theme/index.js +2 -3
  170. package/hooks/use-throttle/index.js +2 -3
  171. package/hooks/use-throttle-effect/index.js +2 -3
  172. package/hooks/use-throttle-fn/index.js +2 -3
  173. package/hooks/use-throttle-fn-with-raf/index.js +2 -3
  174. package/hooks/use-timeout/index.js +2 -3
  175. package/hooks/use-title/index.js +2 -3
  176. package/hooks/use-toggle/index.js +2 -3
  177. package/hooks/use-tracked-effect/index.js +2 -3
  178. package/hooks/use-unmount/index.js +2 -3
  179. package/hooks/use-unmounted-ref/index.js +2 -3
  180. package/hooks/use-update/index.js +2 -3
  181. package/hooks/use-update-effect/index.js +2 -3
  182. package/hooks/use-update-layout-effect/index.js +2 -3
  183. package/hooks/use-url-state/index.js +2 -3
  184. package/hooks/use-virtual-list/index.js +2 -3
  185. package/hooks/use-watch/index.js +2 -3
  186. package/hooks/use-web-socket/index.js +3 -4
  187. package/hooks/use-why-did-you-update/index.js +2 -3
  188. package/hooks/use-window-size/index.js +2 -3
  189. package/hooks/utils/createEffectWithTarget.js +3 -4
  190. package/hooks/utils/depsAreSame.js +2 -3
  191. package/hooks/utils/depsEqual.js +2 -3
  192. package/hooks/utils/domTarget.js +2 -3
  193. package/hooks/utils/getDocumentOrShadow.js +2 -3
  194. package/hooks/utils/index.js +2 -3
  195. package/hooks/utils/isAppleDevice.js +2 -3
  196. package/hooks/utils/isBrowser.js +2 -3
  197. package/hooks/utils/isDev.js +2 -3
  198. package/hooks/utils/rect.js +2 -3
  199. package/hooks/utils/useDeepCompareWithTarget.js +2 -3
  200. package/hooks/utils/useEffectWithTarget.js +2 -3
  201. package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +2 -3
  202. package/hooks/utils/useLayoutEffectWithTarget.js +2 -3
  203. package/icons/file/File.js +2 -3
  204. package/icons/file/context.js +2 -3
  205. package/icons/file/index.js +2 -3
  206. package/icons/file/style/index.js +1 -1
  207. package/index.js +554 -554
  208. package/morphicons/core/interpolate.js +2 -3
  209. package/morphicons/core/normalize.js +2 -3
  210. package/morphicons/core/parse.js +0 -1
  211. package/morphicons/core/plan.js +0 -1
  212. package/morphicons/core/resample.js +2 -3
  213. package/morphicons/core/serialize.js +2 -3
  214. package/morphicons/core/spring.js +2 -3
  215. package/morphicons/dom/index.js +2 -3
  216. package/morphicons/index.js +1 -1
  217. package/morphicons/react/index.js +3 -4
  218. package/package.json +1 -1
  219. package/progress/Progress.js +40 -41
  220. package/progress/constants.js +1 -1
  221. package/progress/context.js +1 -1
  222. package/progress/index.js +2 -3
  223. package/progress/style/index.js +1 -1
  224. package/progress/utils.js +1 -1
  225. package/resize-observer/Collection.js +2 -3
  226. package/resize-observer/ResizeObserver.js +2 -3
  227. package/resize-observer/SingleObserver.js +2 -3
  228. package/resize-observer/constants.js +1 -1
  229. package/resize-observer/context.js +2 -3
  230. package/resize-observer/index.js +2 -3
  231. package/resize-observer/observerUtil.js +2 -3
  232. package/resize-observer/style/index.js +1 -1
  233. package/resize-observer/utils.js +1 -1
  234. package/space/Space.js +2 -3
  235. package/space/SpaceVertical.js +2 -3
  236. package/space/constants.js +1 -1
  237. package/space/context.js +2 -3
  238. package/space/index.js +2 -3
  239. package/space/style/index.js +1 -1
  240. package/space/utils.js +1 -1
  241. package/suspense-fallback-test/SuspenseFallbackTest.js +2 -3
  242. package/suspense-fallback-test/constants.js +1 -1
  243. package/suspense-fallback-test/context.js +2 -3
  244. package/suspense-fallback-test/index.js +2 -3
  245. package/suspense-fallback-test/style/index.js +1 -1
  246. package/suspense-fallback-test/utils.js +1 -1
  247. package/test.js +2 -3
  248. package/timer/Timer.js +2 -3
  249. package/timer/constants.js +1 -1
  250. package/timer/context.js +2 -3
  251. package/timer/index.js +2 -3
  252. package/timer/style/index.js +1 -1
  253. package/timer/utils.js +1 -1
  254. package/transition/Transition.js +2 -3
  255. package/transition/TransitionCSS.js +2 -3
  256. package/transition/TransitionGroup.js +2 -3
  257. package/transition/TransitionStyle.js +2 -3
  258. package/transition/constants.js +2 -3
  259. package/transition/context.js +2 -3
  260. package/transition/index.js +2 -3
  261. package/transition/style/index.js +1 -1
  262. package/transition/utils.js +2 -3
  263. package/utils/call.d.ts +1 -0
  264. package/utils/call.js +3 -0
  265. package/utils/callbackOriginRef.js +2 -3
  266. package/utils/confetti.js +2 -3
  267. package/utils/constants.js +2 -3
  268. package/utils/copy.js +2 -3
  269. package/utils/createRoot.js +3 -4
  270. package/utils/css.js +1 -1
  271. package/utils/dayjs.js +1 -2
  272. package/utils/document.js +2 -3
  273. package/utils/dom.js +2 -3
  274. package/utils/file.js +1 -1
  275. package/utils/fillNBSP.js +2 -3
  276. package/utils/getCompatProp.js +2 -3
  277. package/utils/getElement.js +2 -3
  278. package/utils/getHighlightText.js +2 -3
  279. package/utils/getHotkeyHandler.js +2 -3
  280. package/utils/getPrefixCls.js +2 -3
  281. package/utils/getScrollBarHeight.js +2 -3
  282. package/utils/getScrollBarSize.js +2 -3
  283. package/utils/getScrollBarWidth.js +2 -3
  284. package/utils/getScrollParent.js +2 -3
  285. package/utils/getStringLength.js +2 -3
  286. package/utils/getUrlSearchParam.js +2 -3
  287. package/utils/index.d.ts +1 -1
  288. package/utils/index.js +268 -268
  289. package/utils/initAllLineClamp.js +2 -3
  290. package/utils/injectLineClamp.js +2 -3
  291. package/utils/intersectionObserver.js +2 -3
  292. package/utils/is.js +2 -3
  293. package/utils/keyboardCode.js +2 -3
  294. package/utils/lodash.d.ts +2 -1
  295. package/utils/lodash.js +16 -15
  296. package/utils/mergeProps.js +2 -3
  297. package/utils/mergedToString.js +2 -3
  298. package/utils/migrateLegacyProps.js +2 -3
  299. package/utils/mutationObserver.js +2 -3
  300. package/utils/names.js +2 -3
  301. package/utils/object.js +2 -3
  302. package/utils/omit.js +2 -3
  303. package/utils/pad.js +2 -3
  304. package/utils/pick.js +2 -3
  305. package/utils/react19Adapter.js +2 -3
  306. package/utils/reactNode.js +2 -3
  307. package/utils/ref.js +2 -3
  308. package/utils/resizeObserver.js +2 -3
  309. package/utils/scrollIntoViewIfNeeded.js +2 -3
  310. package/utils/scrollTo.js +2 -3
  311. package/utils/setDarkTheme.js +2 -3
  312. package/utils/setDir.js +2 -3
  313. package/utils/setPrimaryColor.js +2 -3
  314. package/utils/setTheme.js +2 -3
  315. package/utils/string.js +2 -3
  316. package/utils/style.js +2 -3
  317. package/utils/tinycolor.js +1 -1
  318. package/utils/toArray.js +2 -3
  319. package/utils/tunnel.js +2 -3
  320. package/utils/validate.d.ts +1 -1
  321. package/utils/validate.js +1 -1
  322. package/utils/warning.js +2 -3
  323. package/version/index.js +8 -9
  324. package/utils/callOrReturn.d.ts +0 -1
  325. package/utils/callOrReturn.js +0 -3
package/utils/index.js CHANGED
@@ -1,68 +1,68 @@
1
- /* 潘启宝 2026-10-22 18:04:28 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-11-02 16:50:20 星期一 山东省济南市 */
2
2
  /* 世界因你而美丽 */
3
3
  import { __exportAll as ee, __reExport as e } from "../.virtual/_rolldown/runtime.js";
4
4
  import { object_exports as te } from "./object.js";
5
- import { callOrReturn as ne } from "./callOrReturn.js";
6
- import { assign as re, assignIn as ie, at as t, camelCase as n, capitalize as r, castArray as i, chain as a, chunk as o, clamp as s, clone as c, cloneDeep as l, cloneDeepWith as u, cloneWith as d, compact as f, curry as p, debounce as m, defaultTo as h, defaults as g, defaultsDeep as _, difference as v, escape as y, extend as b, findKey as x, first as S, flatten as C, flattenDeep as w, flow as T, get as E, groupBy as D, has as O, hasIn as k, intersection as A, invert as j, invertBy as M, invoke as N, kebabCase as P, last as F, mapKeys as I, mapValues as L, mean as R, memoize as z, merge as B, mergeWith as V, move as H, noop as U, omit as W, omitBy as G, orderBy as K, partition as q, pick as J, pickBy as Y, pullAll as ae, result as oe, sample as se, sampleSize as ce, set as le, setWith as ue, shuffle as de, snakeCase as fe, sortBy as pe, startCase as me, swap as he, throttle as ge, toPath as _e, toSwapped as ve, truncate as ye, union as be, uniq as xe, uniqBy as Se, uniqueId as Ce, unset as we, update as Te, updateWith as Ee, upperCase as De, upperFirst as Oe, without as ke, xor as Ae, zip as je } from "./lodash.js";
7
- import { isCompositeTypeElement as Me, isEmptyChildren as Ne, isEmptyReactNode as Pe, isReact18 as Fe, isReact19 as Ie, isReactClassComponent as Le, isReactComponent as Re, isReactComponentAndNotFragment as ze, isReactFunctionalComponent as Be, isServerRendering as Ve } from "./is.js";
8
- import { composeRef as He, fillRef as Ue, getNodeRef as We, getReactElementRef as Ge, supportNodeRef as Ke, supportRef as qe, useComposeRef as Je } from "./ref.js";
9
- import Ye from "./getElement.js";
10
- import { screenfull as Xe } from "./screenfull.js";
11
- import { canUseDOM as Ze, contains as Qe, findSingleChainDescendantByStyle as $e, focusAtEnd as et, forceReflow as X, getBody as tt, getBodyContainer as nt, getClientRects as rt, getDOM as it, getDocument as at, getDocumentElement as ot, getElementCoordinates as st, getElementOuterSize as ct, getHead as lt, getScrollElements as ut, getTextLineCount as Z, getTopLevelOverlayContainer as dt, isSingleLine as ft, off as pt, on as mt, parentContainsChildren as ht } from "./dom.js";
12
- import gt from "./mergeProps.js";
13
- import _t from "./migrateLegacyProps.js";
14
- import { callbackOriginRef as vt } from "./callbackOriginRef.js";
15
- import { caseName as yt } from "./caseName.js";
16
- import { className as bt, cls as xt, clsx as St, cs as Ct } from "./className.js";
17
- import { confetti as wt, fire as Tt } from "./confetti.js";
18
- import { CSS_VARIABLE_ELEMENT as Et, DAYJS_DEFAULT_FORMAT as Dt, DAYJS_DEFAULT_FORMAT_WITH_TIME as Ot, PREFIX_CLASS as kt, constants_exports as At } from "./constants.js";
5
+ import { call as ne, callWith as re } from "./call.js";
6
+ import { assign as ie, assignIn as t, at as n, camelCase as r, capitalize as i, castArray as a, chain as o, chunk as s, clamp as c, clone as l, cloneDeep as u, cloneDeepWith as d, cloneWith as f, compact as p, curry as m, debounce as h, defaultTo as g, defaults as _, defaultsDeep as v, difference as y, escape as b, extend as x, findKey as S, first as C, flatten as w, flattenDeep as T, flow as E, get as D, groupBy as O, has as k, hasIn as A, intersection as j, invert as M, invertBy as N, invoke as P, kebabCase as F, last as I, mapKeys as L, mapValues as R, mean as z, memoize as B, merge as V, mergeWith as H, move as U, noop as W, omit as G, omitBy as K, orderBy as q, partition as J, pick as Y, pickBy as ae, pullAll as oe, result as se, sample as ce, sampleSize as le, set as ue, setWith as de, shuffle as fe, snakeCase as pe, sortBy as me, startCase as he, swap as ge, throttle as _e, toPath as ve, toSwapped as ye, trim as be, truncate as xe, union as Se, uniq as Ce, uniqBy as we, uniqueId as Te, unset as Ee, update as De, updateWith as Oe, upperCase as ke, upperFirst as Ae, without as je, xor as Me, zip as Ne } from "./lodash.js";
7
+ import { isCompositeTypeElement as Pe, isEmptyChildren as Fe, isEmptyReactNode as Ie, isReact18 as Le, isReact19 as Re, isReactClassComponent as ze, isReactComponent as Be, isReactComponentAndNotFragment as Ve, isReactFunctionalComponent as He, isServerRendering as Ue } from "./is.js";
8
+ import { composeRef as We, fillRef as Ge, getNodeRef as Ke, getReactElementRef as qe, supportNodeRef as Je, supportRef as Ye, useComposeRef as Xe } from "./ref.js";
9
+ import Ze from "./getElement.js";
10
+ import { screenfull as Qe } from "./screenfull.js";
11
+ import { canUseDOM as $e, contains as et, findSingleChainDescendantByStyle as tt, focusAtEnd as nt, forceReflow as X, getBody as rt, getBodyContainer as it, getClientRects as at, getDOM as ot, getDocument as st, getDocumentElement as ct, getElementCoordinates as lt, getElementOuterSize as ut, getHead as dt, getScrollElements as ft, getTextLineCount as pt, getTopLevelOverlayContainer as mt, isSingleLine as Z, off as ht, on as gt, parentContainsChildren as _t } from "./dom.js";
12
+ import vt from "./mergeProps.js";
13
+ import yt from "./migrateLegacyProps.js";
14
+ import { callbackOriginRef as bt } from "./callbackOriginRef.js";
15
+ import { caseName as xt } from "./caseName.js";
16
+ import { className as St, cls as Ct, clsx as wt, cs as Tt } from "./className.js";
17
+ import { confetti as Et, fire as Dt } from "./confetti.js";
18
+ import { CSS_VARIABLE_ELEMENT as Ot, DAYJS_DEFAULT_FORMAT as kt, DAYJS_DEFAULT_FORMAT_WITH_TIME as At, PREFIX_CLASS as jt, constants_exports as Mt } from "./constants.js";
19
19
  import { clipboardCopy as Q } from "./copy.js";
20
- import { createRoot as jt, render as Mt, setCreateRoot as Nt } from "./createRoot.js";
20
+ import { createRoot as Nt, render as Pt, setCreateRoot as Ft } from "./createRoot.js";
21
21
  import "./css.js";
22
- import { convertTime as Pt, convertToDurationBasedOnTimeUnits as Ft, dateFormat as It, dayjsFormat as Lt } from "./date.js";
23
- import { dayjs as Rt } from "./dayjs.js";
24
- import { document_exports as zt } from "./document.js";
25
- import { Emitter as Bt } from "./emitter.js";
22
+ import { convertTime as It, convertToDurationBasedOnTimeUnits as Lt, dateFormat as Rt, dayjsFormat as zt } from "./date.js";
23
+ import { dayjs as Bt } from "./dayjs.js";
24
+ import { document_exports as Vt } from "./document.js";
25
+ import { Emitter as Ht } from "./emitter.js";
26
26
  import "./file.js";
27
- import { fileRead as Vt } from "./fileRead.js";
28
- import { fileToDataURL as Ht } from "./fileToDataURL.js";
29
- import Ut from "./fillNBSP.js";
30
- import Wt from "./getCompatProp.js";
31
- import Gt from "./getHighlightText.js";
32
- import Kt from "./getHotkeyHandler.js";
33
- import qt from "./getPrefixCls.js";
34
- import Jt from "./getScrollBarSize.js";
35
- import Yt from "./getScrollBarHeight.js";
36
- import Xt from "./getScrollBarWidth.js";
27
+ import { fileRead as Ut } from "./fileRead.js";
28
+ import { fileToDataURL as Wt } from "./fileToDataURL.js";
29
+ import Gt from "./fillNBSP.js";
30
+ import Kt from "./getCompatProp.js";
31
+ import qt from "./getHighlightText.js";
32
+ import Jt from "./getHotkeyHandler.js";
33
+ import Yt from "./getPrefixCls.js";
34
+ import Xt from "./getScrollBarSize.js";
35
+ import Zt from "./getScrollBarHeight.js";
36
+ import Qt from "./getScrollBarWidth.js";
37
37
  import "./getScrollParent.js";
38
- import Zt from "./getStringLength.js";
39
- import Qt, { getQueryParam as $t } from "./getUrlSearchParam.js";
40
- import { uuid as en, uuidv4 as tn } from "./uuid.js";
41
- import nn from "./initAllLineClamp.js";
42
- import rn from "./intersectionObserver.js";
43
- import { div as an, math as on, minus as sn, plus as cn, times as ln } from "./math.js";
44
- import un from "./mergedToString.js";
45
- import dn from "./mutationObserver.js";
38
+ import $t from "./getStringLength.js";
39
+ import en, { getQueryParam as tn } from "./getUrlSearchParam.js";
40
+ import { uuid as nn, uuidv4 as rn } from "./uuid.js";
41
+ import an from "./initAllLineClamp.js";
42
+ import on from "./intersectionObserver.js";
43
+ import { div as sn, math as cn, minus as ln, plus as un, times as dn } from "./math.js";
44
+ import fn from "./mergedToString.js";
45
+ import pn from "./mutationObserver.js";
46
46
  import "./omit.js";
47
- import { padEnd as fn, padStart as pn } from "./pad.js";
48
- import { pickAttributesByPrefixes as mn, pickDataAriaAttributes as hn } from "./pick.js";
49
- import gn from "./resizeObserver.js";
50
- import { saveAs as _n } from "./saveAs.js";
51
- import vn from "./scrollIntoViewIfNeeded.js";
52
- import yn, { removeDarkTheme as bn } from "./setDarkTheme.js";
53
- import xn from "./setDir.js";
54
- import Sn from "./setPrimaryColor.js";
55
- import Cn from "./setTheme.js";
56
- import { HYPHEN as wn, replaceEmptyWithHyphen as Tn } from "./string.js";
57
- import { fixedWidth as En, getStyle as Dn, setTransformStyle as On } from "./style.js";
58
- import { tinycolor as kn } from "./tinycolor.js";
59
- import An from "./toArray.js";
60
- import { findNodeBy as jn, getChildWithParentBy as Mn, getItemBy as Nn, getItemByID as Pn, getLabelFromDictionaryByValue as Fn, searchTree as In, tree as Ln } from "./tree.js";
61
- import Rn from "./tunnel.js";
62
- import { Validator as zn, ValidatorArray as Bn, ValidatorBase as Vn, ValidatorBoolean as Hn, ValidatorCustom as Un, ValidatorNumber as Wn, ValidatorObject as Gn, ValidatorSchema as Kn, ValidatorString as qn, ValidatorType as Jn, validatorLocale as Yn } from "./validate.js";
63
- import Xn from "./warning.js";
64
- import { keyboardCode as Zn } from "./keyboardCode.js";
65
- import { COMPONENT_NAMES as Qn } from "./names.js";
47
+ import { padEnd as mn, padStart as hn } from "./pad.js";
48
+ import { pickAttributesByPrefixes as gn, pickDataAriaAttributes as _n } from "./pick.js";
49
+ import vn from "./resizeObserver.js";
50
+ import { saveAs as yn } from "./saveAs.js";
51
+ import bn from "./scrollIntoViewIfNeeded.js";
52
+ import xn, { removeDarkTheme as Sn } from "./setDarkTheme.js";
53
+ import Cn from "./setDir.js";
54
+ import wn from "./setPrimaryColor.js";
55
+ import Tn from "./setTheme.js";
56
+ import { HYPHEN as En, replaceEmptyWithHyphen as Dn } from "./string.js";
57
+ import { fixedWidth as On, getStyle as kn, setTransformStyle as An } from "./style.js";
58
+ import { tinycolor as jn } from "./tinycolor.js";
59
+ import Mn from "./toArray.js";
60
+ import { findNodeBy as Nn, getChildWithParentBy as Pn, getItemBy as Fn, getItemByID as In, getLabelFromDictionaryByValue as Ln, searchTree as Rn, tree as zn } from "./tree.js";
61
+ import Bn from "./tunnel.js";
62
+ import { Validator as Vn, ValidatorArray as Hn, ValidatorBase as Un, ValidatorBoolean as Wn, ValidatorCustom as Gn, ValidatorNumber as Kn, ValidatorObject as qn, ValidatorSchema as Jn, ValidatorString as Yn, ValidatorType as Xn } from "./validate.js";
63
+ import Zn from "./warning.js";
64
+ import { keyboardCode as Qn } from "./keyboardCode.js";
65
+ import { COMPONENT_NAMES as $n } from "./names.js";
66
66
  export * from "@unicom-cloud/utils/is";
67
67
  export * from "@unicom-cloud/utils/object";
68
68
  export * from "@unicom-cloud/utils/css";
@@ -70,222 +70,222 @@ export * from "@unicom-cloud/utils/constants/ui";
70
70
  export * from "@unicom-cloud/utils/document";
71
71
  export * from "@unicom-cloud/utils/file";
72
72
  export * from "@unicom-cloud/utils/tinycolor";
73
- //#region components/common/utils/index.ts
73
+ // components/common/utils/index.ts
74
74
  var $ = /* @__PURE__ */ ee({
75
- COMPONENT_NAMES: () => Qn,
76
- CSS_VARIABLE_ELEMENT: () => Et,
77
- DAYJS_DEFAULT_FORMAT: () => Dt,
78
- DAYJS_DEFAULT_FORMAT_WITH_TIME: () => Ot,
79
- Emitter: () => Bt,
80
- HYPHEN: () => wn,
81
- PREFIX_CLASS: () => kt,
82
- Validator: () => zn,
83
- ValidatorArray: () => Bn,
84
- ValidatorBase: () => Vn,
85
- ValidatorBoolean: () => Hn,
86
- ValidatorCustom: () => Un,
87
- ValidatorNumber: () => Wn,
88
- ValidatorObject: () => Gn,
89
- ValidatorSchema: () => Kn,
90
- ValidatorString: () => qn,
91
- ValidatorType: () => Jn,
92
- assign: () => re,
93
- assignIn: () => ie,
94
- at: () => t,
95
- callOrReturn: () => ne,
96
- callbackOriginRef: () => vt,
97
- camelCase: () => n,
98
- canUseDOM: () => Ze,
99
- capitalize: () => r,
100
- caseName: () => yt,
101
- castArray: () => i,
102
- chain: () => a,
103
- chunk: () => o,
104
- clamp: () => s,
105
- className: () => bt,
75
+ COMPONENT_NAMES: () => $n,
76
+ CSS_VARIABLE_ELEMENT: () => Ot,
77
+ DAYJS_DEFAULT_FORMAT: () => kt,
78
+ DAYJS_DEFAULT_FORMAT_WITH_TIME: () => At,
79
+ Emitter: () => Ht,
80
+ HYPHEN: () => En,
81
+ PREFIX_CLASS: () => jt,
82
+ Validator: () => Vn,
83
+ ValidatorArray: () => Hn,
84
+ ValidatorBase: () => Un,
85
+ ValidatorBoolean: () => Wn,
86
+ ValidatorCustom: () => Gn,
87
+ ValidatorNumber: () => Kn,
88
+ ValidatorObject: () => qn,
89
+ ValidatorSchema: () => Jn,
90
+ ValidatorString: () => Yn,
91
+ ValidatorType: () => Xn,
92
+ assign: () => ie,
93
+ assignIn: () => t,
94
+ at: () => n,
95
+ call: () => ne,
96
+ callWith: () => re,
97
+ callbackOriginRef: () => bt,
98
+ camelCase: () => r,
99
+ canUseDOM: () => $e,
100
+ capitalize: () => i,
101
+ caseName: () => xt,
102
+ castArray: () => a,
103
+ chain: () => o,
104
+ chunk: () => s,
105
+ clamp: () => c,
106
+ className: () => St,
106
107
  clipboardCopy: () => Q,
107
- clone: () => c,
108
- cloneDeep: () => l,
109
- cloneDeepWith: () => u,
110
- cloneWith: () => d,
111
- cls: () => xt,
112
- clsx: () => St,
113
- compact: () => f,
114
- composeRef: () => He,
115
- confetti: () => wt,
116
- contains: () => Qe,
117
- convertTime: () => Pt,
118
- convertToDurationBasedOnTimeUnits: () => Ft,
108
+ clone: () => l,
109
+ cloneDeep: () => u,
110
+ cloneDeepWith: () => d,
111
+ cloneWith: () => f,
112
+ cls: () => Ct,
113
+ clsx: () => wt,
114
+ compact: () => p,
115
+ composeRef: () => We,
116
+ confetti: () => Et,
117
+ contains: () => et,
118
+ convertTime: () => It,
119
+ convertToDurationBasedOnTimeUnits: () => Lt,
119
120
  copy: () => Q,
120
- createRoot: () => jt,
121
- cs: () => Ct,
122
- curry: () => p,
123
- dateFormat: () => It,
124
- dayjs: () => Rt,
125
- dayjsFormat: () => Lt,
126
- debounce: () => m,
127
- defaultTo: () => h,
128
- defaults: () => g,
129
- defaultsDeep: () => _,
130
- difference: () => v,
131
- div: () => an,
132
- escape: () => y,
133
- extend: () => b,
134
- fileRead: () => Vt,
135
- fileToDataURL: () => Ht,
136
- fillNBSP: () => Ut,
137
- fillRef: () => Ue,
138
- findKey: () => x,
139
- findNodeBy: () => jn,
140
- findSingleChainDescendantByStyle: () => $e,
141
- fire: () => Tt,
142
- first: () => S,
143
- fixedWidth: () => En,
144
- flatten: () => C,
145
- flattenDeep: () => w,
146
- flow: () => T,
147
- focusAtEnd: () => et,
121
+ createRoot: () => Nt,
122
+ cs: () => Tt,
123
+ curry: () => m,
124
+ dateFormat: () => Rt,
125
+ dayjs: () => Bt,
126
+ dayjsFormat: () => zt,
127
+ debounce: () => h,
128
+ defaultTo: () => g,
129
+ defaults: () => _,
130
+ defaultsDeep: () => v,
131
+ difference: () => y,
132
+ div: () => sn,
133
+ escape: () => b,
134
+ extend: () => x,
135
+ fileRead: () => Ut,
136
+ fileToDataURL: () => Wt,
137
+ fillNBSP: () => Gt,
138
+ fillRef: () => Ge,
139
+ findKey: () => S,
140
+ findNodeBy: () => Nn,
141
+ findSingleChainDescendantByStyle: () => tt,
142
+ fire: () => Dt,
143
+ first: () => C,
144
+ fixedWidth: () => On,
145
+ flatten: () => w,
146
+ flattenDeep: () => T,
147
+ flow: () => E,
148
+ focusAtEnd: () => nt,
148
149
  forceReflow: () => X,
149
- get: () => E,
150
- getBody: () => tt,
151
- getBodyContainer: () => nt,
152
- getChildWithParentBy: () => Mn,
153
- getClientRects: () => rt,
154
- getCompatProp: () => Wt,
155
- getDOM: () => it,
156
- getDocument: () => at,
157
- getDocumentElement: () => ot,
158
- getElement: () => Ye,
159
- getElementCoordinates: () => st,
160
- getElementOuterSize: () => ct,
161
- getHead: () => lt,
162
- getHighlightText: () => Gt,
163
- getHotkeyHandler: () => Kt,
164
- getItemBy: () => Nn,
165
- getItemByID: () => Pn,
166
- getLabelFromDictionaryByValue: () => Fn,
167
- getNodeRef: () => We,
168
- getPrefixCls: () => qt,
169
- getQueryParam: () => $t,
170
- getReactElementRef: () => Ge,
171
- getScrollBarHeight: () => Yt,
172
- getScrollBarSize: () => Jt,
173
- getScrollBarWidth: () => Xt,
174
- getScrollElements: () => ut,
175
- getStringLength: () => Zt,
176
- getStyle: () => Dn,
177
- getTextLineCount: () => Z,
178
- getTopLevelOverlayContainer: () => dt,
179
- getUrlSearchParam: () => Qt,
180
- groupBy: () => D,
181
- has: () => O,
182
- hasIn: () => k,
183
- initAllLineClamp: () => nn,
184
- intersection: () => A,
185
- intersectionObserver: () => rn,
186
- invert: () => j,
187
- invertBy: () => M,
188
- invoke: () => N,
189
- isCompositeTypeElement: () => Me,
190
- isEmptyChildren: () => Ne,
191
- isEmptyReactNode: () => Pe,
192
- isReact18: () => Fe,
193
- isReact19: () => Ie,
194
- isReactClassComponent: () => Le,
195
- isReactComponent: () => Re,
196
- isReactComponentAndNotFragment: () => ze,
197
- isReactFunctionalComponent: () => Be,
198
- isServerRendering: () => Ve,
199
- isSingleLine: () => ft,
200
- kebabCase: () => P,
201
- keyboardCode: () => Zn,
202
- last: () => F,
203
- mapKeys: () => I,
204
- mapValues: () => L,
205
- math: () => on,
206
- mean: () => R,
207
- memoize: () => z,
208
- merge: () => B,
209
- mergeProps: () => gt,
210
- mergeWith: () => V,
211
- mergedToString: () => un,
212
- migrateLegacyProps: () => _t,
213
- minus: () => sn,
214
- move: () => H,
215
- mutationObserver: () => dn,
216
- noop: () => U,
217
- off: () => pt,
218
- omit: () => W,
219
- omitBy: () => G,
220
- on: () => mt,
221
- orderBy: () => K,
222
- padEnd: () => fn,
223
- padStart: () => pn,
224
- parentContainsChildren: () => ht,
225
- partition: () => q,
226
- pick: () => J,
227
- pickAttributesByPrefixes: () => mn,
228
- pickBy: () => Y,
229
- pickDataAriaAttributes: () => hn,
230
- plus: () => cn,
231
- pullAll: () => ae,
150
+ get: () => D,
151
+ getBody: () => rt,
152
+ getBodyContainer: () => it,
153
+ getChildWithParentBy: () => Pn,
154
+ getClientRects: () => at,
155
+ getCompatProp: () => Kt,
156
+ getDOM: () => ot,
157
+ getDocument: () => st,
158
+ getDocumentElement: () => ct,
159
+ getElement: () => Ze,
160
+ getElementCoordinates: () => lt,
161
+ getElementOuterSize: () => ut,
162
+ getHead: () => dt,
163
+ getHighlightText: () => qt,
164
+ getHotkeyHandler: () => Jt,
165
+ getItemBy: () => Fn,
166
+ getItemByID: () => In,
167
+ getLabelFromDictionaryByValue: () => Ln,
168
+ getNodeRef: () => Ke,
169
+ getPrefixCls: () => Yt,
170
+ getQueryParam: () => tn,
171
+ getReactElementRef: () => qe,
172
+ getScrollBarHeight: () => Zt,
173
+ getScrollBarSize: () => Xt,
174
+ getScrollBarWidth: () => Qt,
175
+ getScrollElements: () => ft,
176
+ getStringLength: () => $t,
177
+ getStyle: () => kn,
178
+ getTextLineCount: () => pt,
179
+ getTopLevelOverlayContainer: () => mt,
180
+ getUrlSearchParam: () => en,
181
+ groupBy: () => O,
182
+ has: () => k,
183
+ hasIn: () => A,
184
+ initAllLineClamp: () => an,
185
+ intersection: () => j,
186
+ intersectionObserver: () => on,
187
+ invert: () => M,
188
+ invertBy: () => N,
189
+ invoke: () => P,
190
+ isCompositeTypeElement: () => Pe,
191
+ isEmptyChildren: () => Fe,
192
+ isEmptyReactNode: () => Ie,
193
+ isReact18: () => Le,
194
+ isReact19: () => Re,
195
+ isReactClassComponent: () => ze,
196
+ isReactComponent: () => Be,
197
+ isReactComponentAndNotFragment: () => Ve,
198
+ isReactFunctionalComponent: () => He,
199
+ isServerRendering: () => Ue,
200
+ isSingleLine: () => Z,
201
+ kebabCase: () => F,
202
+ keyboardCode: () => Qn,
203
+ last: () => I,
204
+ mapKeys: () => L,
205
+ mapValues: () => R,
206
+ math: () => cn,
207
+ mean: () => z,
208
+ memoize: () => B,
209
+ merge: () => V,
210
+ mergeProps: () => vt,
211
+ mergeWith: () => H,
212
+ mergedToString: () => fn,
213
+ migrateLegacyProps: () => yt,
214
+ minus: () => ln,
215
+ move: () => U,
216
+ mutationObserver: () => pn,
217
+ noop: () => W,
218
+ off: () => ht,
219
+ omit: () => G,
220
+ omitBy: () => K,
221
+ on: () => gt,
222
+ orderBy: () => q,
223
+ padEnd: () => mn,
224
+ padStart: () => hn,
225
+ parentContainsChildren: () => _t,
226
+ partition: () => J,
227
+ pick: () => Y,
228
+ pickAttributesByPrefixes: () => gn,
229
+ pickBy: () => ae,
230
+ pickDataAriaAttributes: () => _n,
231
+ plus: () => un,
232
+ pullAll: () => oe,
232
233
  reflow: () => X,
233
- removeDarkTheme: () => bn,
234
- render: () => Mt,
235
- replaceEmptyWithHyphen: () => Tn,
236
- resizeObserver: () => gn,
237
- result: () => oe,
238
- sample: () => se,
239
- sampleSize: () => ce,
240
- saveAs: () => _n,
241
- screenfull: () => Xe,
242
- scrollIntoViewIfNeeded: () => vn,
243
- searchTree: () => In,
244
- set: () => le,
245
- setCreateRoot: () => Nt,
246
- setDarkTheme: () => yn,
247
- setDir: () => xn,
248
- setPrimaryColor: () => Sn,
249
- setTheme: () => Cn,
250
- setTransformStyle: () => On,
251
- setWith: () => ue,
252
- shuffle: () => de,
253
- snakeCase: () => fe,
254
- sortBy: () => pe,
255
- startCase: () => me,
256
- supportNodeRef: () => Ke,
257
- supportRef: () => qe,
258
- swap: () => he,
259
- throttle: () => ge,
260
- times: () => ln,
261
- tinycolor: () => kn,
262
- toArray: () => An,
263
- toPath: () => _e,
264
- toSwapped: () => ve,
265
- tree: () => Ln,
266
- truncate: () => ye,
267
- tunnel: () => Rn,
268
- union: () => be,
269
- uniq: () => xe,
270
- uniqBy: () => Se,
271
- uniqueId: () => Ce,
272
- unset: () => we,
273
- update: () => Te,
274
- updateWith: () => Ee,
275
- upperCase: () => De,
276
- upperFirst: () => Oe,
277
- useComposeRef: () => Je,
278
- uuid: () => en,
279
- uuidv4: () => tn,
280
- validatorLocale: () => Yn,
281
- warning: () => Xn,
282
- without: () => ke,
283
- xor: () => Ae,
284
- zip: () => je
234
+ removeDarkTheme: () => Sn,
235
+ render: () => Pt,
236
+ replaceEmptyWithHyphen: () => Dn,
237
+ resizeObserver: () => vn,
238
+ result: () => se,
239
+ sample: () => ce,
240
+ sampleSize: () => le,
241
+ saveAs: () => yn,
242
+ screenfull: () => Qe,
243
+ scrollIntoViewIfNeeded: () => bn,
244
+ searchTree: () => Rn,
245
+ set: () => ue,
246
+ setCreateRoot: () => Ft,
247
+ setDarkTheme: () => xn,
248
+ setDir: () => Cn,
249
+ setPrimaryColor: () => wn,
250
+ setTheme: () => Tn,
251
+ setTransformStyle: () => An,
252
+ setWith: () => de,
253
+ shuffle: () => fe,
254
+ snakeCase: () => pe,
255
+ sortBy: () => me,
256
+ startCase: () => he,
257
+ supportNodeRef: () => Je,
258
+ supportRef: () => Ye,
259
+ swap: () => ge,
260
+ throttle: () => _e,
261
+ times: () => dn,
262
+ tinycolor: () => jn,
263
+ toArray: () => Mn,
264
+ toPath: () => ve,
265
+ toSwapped: () => ye,
266
+ tree: () => zn,
267
+ trim: () => be,
268
+ truncate: () => xe,
269
+ tunnel: () => Bn,
270
+ union: () => Se,
271
+ uniq: () => Ce,
272
+ uniqBy: () => we,
273
+ uniqueId: () => Te,
274
+ unset: () => Ee,
275
+ update: () => De,
276
+ updateWith: () => Oe,
277
+ upperCase: () => ke,
278
+ upperFirst: () => Ae,
279
+ useComposeRef: () => Xe,
280
+ uuid: () => nn,
281
+ uuidv4: () => rn,
282
+ warning: () => Zn,
283
+ without: () => je,
284
+ xor: () => Me,
285
+ zip: () => Ne
285
286
  });
286
- import * as $n from "@unicom-cloud/utils/is";
287
- e($, $n), e($, At), e($, zt), e($, te);
288
- //#endregion
289
- export { Qn as COMPONENT_NAMES, Et as CSS_VARIABLE_ELEMENT, Dt as DAYJS_DEFAULT_FORMAT, Ot as DAYJS_DEFAULT_FORMAT_WITH_TIME, Bt as Emitter, wn as HYPHEN, kt as PREFIX_CLASS, zn as Validator, Bn as ValidatorArray, Vn as ValidatorBase, Hn as ValidatorBoolean, Un as ValidatorCustom, Wn as ValidatorNumber, Gn as ValidatorObject, Kn as ValidatorSchema, qn as ValidatorString, Jn as ValidatorType, re as assign, ie as assignIn, t as at, ne as callOrReturn, vt as callbackOriginRef, n as camelCase, Ze as canUseDOM, r as capitalize, yt as caseName, i as castArray, a as chain, o as chunk, s as clamp, bt as className, Q as clipboardCopy, Q as copy, c as clone, l as cloneDeep, u as cloneDeepWith, d as cloneWith, xt as cls, St as clsx, f as compact, He as composeRef, wt as confetti, Qe as contains, Pt as convertTime, Ft as convertToDurationBasedOnTimeUnits, jt as createRoot, Ct as cs, p as curry, It as dateFormat, Rt as dayjs, Lt as dayjsFormat, m as debounce, h as defaultTo, g as defaults, _ as defaultsDeep, v as difference, an as div, y as escape, b as extend, Vt as fileRead, Ht as fileToDataURL, Ut as fillNBSP, Ue as fillRef, x as findKey, jn as findNodeBy, $e as findSingleChainDescendantByStyle, Tt as fire, S as first, En as fixedWidth, C as flatten, w as flattenDeep, T as flow, et as focusAtEnd, X as forceReflow, X as reflow, E as get, tt as getBody, nt as getBodyContainer, Mn as getChildWithParentBy, rt as getClientRects, Wt as getCompatProp, it as getDOM, at as getDocument, ot as getDocumentElement, Ye as getElement, st as getElementCoordinates, ct as getElementOuterSize, lt as getHead, Gt as getHighlightText, Kt as getHotkeyHandler, Nn as getItemBy, Pn as getItemByID, Fn as getLabelFromDictionaryByValue, We as getNodeRef, qt as getPrefixCls, $t as getQueryParam, Ge as getReactElementRef, Yt as getScrollBarHeight, Jt as getScrollBarSize, Xt as getScrollBarWidth, ut as getScrollElements, Zt as getStringLength, Dn as getStyle, Z as getTextLineCount, dt as getTopLevelOverlayContainer, Qt as getUrlSearchParam, D as groupBy, O as has, k as hasIn, nn as initAllLineClamp, A as intersection, rn as intersectionObserver, j as invert, M as invertBy, N as invoke, Me as isCompositeTypeElement, Ne as isEmptyChildren, Pe as isEmptyReactNode, Fe as isReact18, Ie as isReact19, Le as isReactClassComponent, Re as isReactComponent, ze as isReactComponentAndNotFragment, Be as isReactFunctionalComponent, Ve as isServerRendering, ft as isSingleLine, P as kebabCase, Zn as keyboardCode, F as last, I as mapKeys, L as mapValues, on as math, R as mean, z as memoize, B as merge, gt as mergeProps, V as mergeWith, un as mergedToString, _t as migrateLegacyProps, sn as minus, H as move, dn as mutationObserver, U as noop, pt as off, W as omit, G as omitBy, mt as on, K as orderBy, fn as padEnd, pn as padStart, ht as parentContainsChildren, q as partition, J as pick, mn as pickAttributesByPrefixes, Y as pickBy, hn as pickDataAriaAttributes, cn as plus, ae as pullAll, bn as removeDarkTheme, Mt as render, Tn as replaceEmptyWithHyphen, gn as resizeObserver, oe as result, se as sample, ce as sampleSize, _n as saveAs, Xe as screenfull, vn as scrollIntoViewIfNeeded, In as searchTree, le as set, Nt as setCreateRoot, yn as setDarkTheme, xn as setDir, Sn as setPrimaryColor, Cn as setTheme, On as setTransformStyle, ue as setWith, de as shuffle, fe as snakeCase, pe as sortBy, me as startCase, Ke as supportNodeRef, qe as supportRef, he as swap, ge as throttle, ln as times, kn as tinycolor, An as toArray, _e as toPath, ve as toSwapped, Ln as tree, ye as truncate, Rn as tunnel, be as union, xe as uniq, Se as uniqBy, Ce as uniqueId, we as unset, Te as update, Ee as updateWith, De as upperCase, Oe as upperFirst, Je as useComposeRef, $ as utils_exports, en as uuid, tn as uuidv4, Yn as validatorLocale, Xn as warning, ke as without, Ae as xor, je as zip };
287
+ import * as er from "@unicom-cloud/utils/is";
288
+ e($, er), e($, Mt), e($, Vt), e($, te);
289
+ export { $n as COMPONENT_NAMES, Ot as CSS_VARIABLE_ELEMENT, kt as DAYJS_DEFAULT_FORMAT, At as DAYJS_DEFAULT_FORMAT_WITH_TIME, Ht as Emitter, En as HYPHEN, jt as PREFIX_CLASS, Vn as Validator, Hn as ValidatorArray, Un as ValidatorBase, Wn as ValidatorBoolean, Gn as ValidatorCustom, Kn as ValidatorNumber, qn as ValidatorObject, Jn as ValidatorSchema, Yn as ValidatorString, Xn as ValidatorType, ie as assign, t as assignIn, n as at, ne as call, re as callWith, bt as callbackOriginRef, r as camelCase, $e as canUseDOM, i as capitalize, xt as caseName, a as castArray, o as chain, s as chunk, c as clamp, St as className, Q as clipboardCopy, Q as copy, l as clone, u as cloneDeep, d as cloneDeepWith, f as cloneWith, Ct as cls, wt as clsx, p as compact, We as composeRef, Et as confetti, et as contains, It as convertTime, Lt as convertToDurationBasedOnTimeUnits, Nt as createRoot, Tt as cs, m as curry, Rt as dateFormat, Bt as dayjs, zt as dayjsFormat, h as debounce, g as defaultTo, _ as defaults, v as defaultsDeep, y as difference, sn as div, b as escape, x as extend, Ut as fileRead, Wt as fileToDataURL, Gt as fillNBSP, Ge as fillRef, S as findKey, Nn as findNodeBy, tt as findSingleChainDescendantByStyle, Dt as fire, C as first, On as fixedWidth, w as flatten, T as flattenDeep, E as flow, nt as focusAtEnd, X as forceReflow, X as reflow, D as get, rt as getBody, it as getBodyContainer, Pn as getChildWithParentBy, at as getClientRects, Kt as getCompatProp, ot as getDOM, st as getDocument, ct as getDocumentElement, Ze as getElement, lt as getElementCoordinates, ut as getElementOuterSize, dt as getHead, qt as getHighlightText, Jt as getHotkeyHandler, Fn as getItemBy, In as getItemByID, Ln as getLabelFromDictionaryByValue, Ke as getNodeRef, Yt as getPrefixCls, tn as getQueryParam, qe as getReactElementRef, Zt as getScrollBarHeight, Xt as getScrollBarSize, Qt as getScrollBarWidth, ft as getScrollElements, $t as getStringLength, kn as getStyle, pt as getTextLineCount, mt as getTopLevelOverlayContainer, en as getUrlSearchParam, O as groupBy, k as has, A as hasIn, an as initAllLineClamp, j as intersection, on as intersectionObserver, M as invert, N as invertBy, P as invoke, Pe as isCompositeTypeElement, Fe as isEmptyChildren, Ie as isEmptyReactNode, Le as isReact18, Re as isReact19, ze as isReactClassComponent, Be as isReactComponent, Ve as isReactComponentAndNotFragment, He as isReactFunctionalComponent, Ue as isServerRendering, Z as isSingleLine, F as kebabCase, Qn as keyboardCode, I as last, L as mapKeys, R as mapValues, cn as math, z as mean, B as memoize, V as merge, vt as mergeProps, H as mergeWith, fn as mergedToString, yt as migrateLegacyProps, ln as minus, U as move, pn as mutationObserver, W as noop, ht as off, G as omit, K as omitBy, gt as on, q as orderBy, mn as padEnd, hn as padStart, _t as parentContainsChildren, J as partition, Y as pick, gn as pickAttributesByPrefixes, ae as pickBy, _n as pickDataAriaAttributes, un as plus, oe as pullAll, Sn as removeDarkTheme, Pt as render, Dn as replaceEmptyWithHyphen, vn as resizeObserver, se as result, ce as sample, le as sampleSize, yn as saveAs, Qe as screenfull, bn as scrollIntoViewIfNeeded, Rn as searchTree, ue as set, Ft as setCreateRoot, xn as setDarkTheme, Cn as setDir, wn as setPrimaryColor, Tn as setTheme, An as setTransformStyle, de as setWith, fe as shuffle, pe as snakeCase, me as sortBy, he as startCase, Je as supportNodeRef, Ye as supportRef, ge as swap, _e as throttle, dn as times, jn as tinycolor, Mn as toArray, ve as toPath, ye as toSwapped, zn as tree, be as trim, xe as truncate, Bn as tunnel, Se as union, Ce as uniq, we as uniqBy, Te as uniqueId, Ee as unset, De as update, Oe as updateWith, ke as upperCase, Ae as upperFirst, Xe as useComposeRef, $ as utils_exports, nn as uuid, rn as uuidv4, Zn as warning, je as without, Me as xor, Ne as zip };
290
290
  /* 欲穷千里目,更上一层楼 */
291
291
  /* 独立思考,明辨是非 */
@@ -1,9 +1,9 @@
1
- /* 潘启宝 2026-10-22 18:04:28 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-11-02 16:50:20 星期一 山东省济南市 */
2
2
  /* 世界因你而美丽 */
3
3
  import { getHead as e } from "./dom.js";
4
4
  import { uuid as t } from "./uuid.js";
5
5
  import { UI_COMMON_PREFIX as n } from "@unicom-cloud/utils/constants/ui";
6
- //#region components/common/utils/initAllLineClamp.ts
6
+ // components/common/utils/initAllLineClamp.ts
7
7
  var r;
8
8
  function i(i = 999, a = n) {
9
9
  if (r ||= t(), document.getElementById(r)) return;
@@ -13,7 +13,6 @@ function i(i = 999, a = n) {
13
13
  for (let e = 1; e <= i; e++) s += `.${a}-line-clamp-${e}{display:-webkit-box;display:-moz-box;display:flex;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;;-webkit-line-clamp:${e};line-clamp:${e}}`;
14
14
  o.textContent = s, e().appendChild(o);
15
15
  }
16
- //#endregion
17
16
  export { i as default, i as initAllLineClamp };
18
17
  /* 欲穷千里目,更上一层楼 */
19
18
  /* 独立思考,明辨是非 */
@@ -1,7 +1,7 @@
1
- /* 潘启宝 2026-10-22 18:04:28 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-11-02 16:50:20 星期一 山东省济南市 */
2
2
  /* 世界因你而美丽 */
3
3
  import { constants_exports as e } from "./constants.js";
4
- //#region components/common/utils/injectLineClamp.js
4
+ // components/common/utils/injectLineClamp.js
5
5
  function t(t = e.UI_COMMON_PREFIX) {
6
6
  let n = document.createElement("style");
7
7
  document.head.appendChild(n);
@@ -18,7 +18,6 @@ function t(t = e.UI_COMMON_PREFIX) {
18
18
  }`, r.cssRules.length);
19
19
  };
20
20
  }
21
- //#endregion
22
21
  export { t as default };
23
22
  /* 欲穷千里目,更上一层楼 */
24
23
  /* 独立思考,明辨是非 */
@@ -1,8 +1,8 @@
1
- /* 潘启宝 2026-10-22 18:04:28 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-11-02 16:50:20 星期一 山东省济南市 */
2
2
  /* 世界因你而美丽 */
3
3
  import { isExist as e, isFunction as t } from "@unicom-cloud/utils/is";
4
4
  import n from "lodash/throttle";
5
- //#region components/common/utils/intersectionObserver.ts
5
+ // components/common/utils/intersectionObserver.ts
6
6
  function r(r, i) {
7
7
  let a = [].concat(r).filter(e);
8
8
  if (!(a.length && t(i))) return () => {};
@@ -17,7 +17,6 @@ function r(r, i) {
17
17
  }), s.disconnect(), o.cancel();
18
18
  };
19
19
  }
20
- //#endregion
21
20
  export { r as default, r as intersectionObserver };
22
21
  /* 欲穷千里目,更上一层楼 */
23
22
  /* 独立思考,明辨是非 */