@unicom-cloud/ui-common 0.1.52 → 0.1.54

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