@unicom-cloud/ui-common 0.1.43 → 0.1.45

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 (319) hide show
  1. package/.virtual/_rolldown/runtime.js +1 -1
  2. package/animation/Animation.js +2 -2
  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 +21 -21
  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 +18 -18
  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 +17 -17
  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 +37 -36
  36. package/flex/constants.js +1 -1
  37. package/flex/context.js +1 -1
  38. package/flex/index.js +1 -1
  39. package/flex/interface.d.ts +3 -12
  40. package/flex/style/index.js +1 -1
  41. package/flex/utils.js +10 -10
  42. package/higher-order/index.js +1 -1
  43. package/higher-order/with-speech-synthesis/context.js +1 -1
  44. package/higher-order/with-speech-synthesis/index.js +1 -1
  45. package/higher-order/with-speech-synthesis/style/index.js +1 -1
  46. package/higher-order/with-speech-synthesis/withSpeechSynthesis.js +1 -1
  47. package/hoc/withContext.js +1 -1
  48. package/hooks/create-deep-compare-effect/index.js +1 -1
  49. package/hooks/create-update-effect/index.js +1 -1
  50. package/hooks/create-use-storage-state/index.js +1 -1
  51. package/hooks/index.js +1 -1
  52. package/hooks/use-async-effect/index.js +1 -1
  53. package/hooks/use-boolean/index.js +1 -1
  54. package/hooks/use-click-away/index.js +1 -1
  55. package/hooks/use-computed-state/index.js +1 -1
  56. package/hooks/use-controllable-value/index.js +16 -16
  57. package/hooks/use-cookie-state/index.js +1 -1
  58. package/hooks/use-count-down/index.js +1 -1
  59. package/hooks/use-counter/index.js +1 -1
  60. package/hooks/use-create/index.js +1 -1
  61. package/hooks/use-creation/index.js +1 -1
  62. package/hooks/use-debounce/index.js +1 -1
  63. package/hooks/use-debounce-effect/index.js +1 -1
  64. package/hooks/use-debounce-fn/index.js +1 -1
  65. package/hooks/use-deep-compare-effect/index.js +1 -1
  66. package/hooks/use-deep-compare-layout-effect/index.js +1 -1
  67. package/hooks/use-document-visibility/index.js +1 -1
  68. package/hooks/use-drag/index.js +1 -1
  69. package/hooks/use-drag-move/index.js +1 -1
  70. package/hooks/use-drop/index.js +1 -1
  71. package/hooks/use-effect-event/index.js +1 -1
  72. package/hooks/use-event/index.js +1 -1
  73. package/hooks/use-event-emitter/index.js +1 -1
  74. package/hooks/use-event-listener/index.js +1 -1
  75. package/hooks/use-event-target/index.js +1 -1
  76. package/hooks/use-external/index.js +1 -1
  77. package/hooks/use-favicon/index.js +1 -1
  78. package/hooks/use-focus-within/index.js +1 -1
  79. package/hooks/use-force-update/index.js +1 -1
  80. package/hooks/use-fullscreen/index.js +1 -1
  81. package/hooks/use-get-state/index.js +1 -1
  82. package/hooks/use-history-travel/index.js +1 -1
  83. package/hooks/use-hover/index.js +1 -1
  84. package/hooks/use-id/index.js +1 -1
  85. package/hooks/use-in-viewport/index.js +1 -1
  86. package/hooks/use-infinite-scroll/index.js +1 -1
  87. package/hooks/use-intersection-observer/index.js +1 -1
  88. package/hooks/use-intersection-observers/index.js +5 -6
  89. package/hooks/use-interval/index.js +1 -1
  90. package/hooks/use-is-first-render/index.js +1 -1
  91. package/hooks/use-isomorphic-layout-effect/index.js +1 -1
  92. package/hooks/use-key-press/index.js +1 -1
  93. package/hooks/use-keyboard-event/index.js +1 -1
  94. package/hooks/use-latest/index.js +1 -1
  95. package/hooks/use-listen-window-resize/index.js +1 -1
  96. package/hooks/use-local-storage-state/index.js +1 -1
  97. package/hooks/use-lock-fn/index.js +1 -1
  98. package/hooks/use-long-press/index.js +1 -1
  99. package/hooks/use-map/index.js +1 -1
  100. package/hooks/use-media/index.js +1 -1
  101. package/hooks/use-memo/index.js +1 -1
  102. package/hooks/use-memoized-fn/index.js +1 -1
  103. package/hooks/use-merge-props/index.js +1 -1
  104. package/hooks/use-merge-value/index.js +1 -1
  105. package/hooks/use-mobile/index.js +1 -1
  106. package/hooks/use-mount/index.js +1 -1
  107. package/hooks/use-mouse/index.js +1 -1
  108. package/hooks/use-move/index.js +1 -1
  109. package/hooks/use-mutation-observer/index.js +1 -1
  110. package/hooks/use-mutation-observers/index.js +5 -6
  111. package/hooks/use-network/index.js +1 -1
  112. package/hooks/use-online-status/index.js +1 -1
  113. package/hooks/use-overflow-hidden/index.js +1 -1
  114. package/hooks/use-override-ref/index.js +1 -1
  115. package/hooks/use-pagination/index.js +1 -1
  116. package/hooks/use-paste-image/index.js +1 -1
  117. package/hooks/use-persist-callback/index.js +1 -1
  118. package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
  119. package/hooks/use-previous/index.js +1 -1
  120. package/hooks/use-raf-interval/index.js +1 -1
  121. package/hooks/use-raf-state/index.js +1 -1
  122. package/hooks/use-raf-timeout/index.js +1 -1
  123. package/hooks/use-reactive/index.js +1 -1
  124. package/hooks/use-ref-latest/index.js +1 -1
  125. package/hooks/use-refs/index.js +1 -1
  126. package/hooks/use-request/index.js +1 -1
  127. package/hooks/use-request/src/Fetch.js +1 -1
  128. package/hooks/use-request/src/plugins/useAutoRunPlugin.js +1 -1
  129. package/hooks/use-request/src/plugins/useCachePlugin.js +2 -2
  130. package/hooks/use-request/src/plugins/useDebouncePlugin.js +1 -1
  131. package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +1 -1
  132. package/hooks/use-request/src/plugins/usePollingPlugin.js +1 -1
  133. package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +1 -1
  134. package/hooks/use-request/src/plugins/useRetryPlugin.js +1 -1
  135. package/hooks/use-request/src/plugins/useThrottlePlugin.js +1 -1
  136. package/hooks/use-request/src/useRequest.js +1 -1
  137. package/hooks/use-request/src/useRequestImplement.js +1 -1
  138. package/hooks/use-request/src/utils/cache.js +1 -1
  139. package/hooks/use-request/src/utils/cachePromise.js +1 -1
  140. package/hooks/use-request/src/utils/cacheSubscribe.js +1 -1
  141. package/hooks/use-request/src/utils/isDocumentVisible.js +1 -1
  142. package/hooks/use-request/src/utils/isOnline.js +1 -1
  143. package/hooks/use-request/src/utils/limit.js +1 -1
  144. package/hooks/use-request/src/utils/subscribeFocus.js +1 -1
  145. package/hooks/use-request/src/utils/subscribeReVisible.js +1 -1
  146. package/hooks/use-reset-state/index.js +1 -1
  147. package/hooks/use-resize-observer/index.js +1 -1
  148. package/hooks/use-resize-observers/index.js +5 -6
  149. package/hooks/use-responsive/index.js +1 -1
  150. package/hooks/use-safe-state/index.js +1 -1
  151. package/hooks/use-scroll/index.js +1 -1
  152. package/hooks/use-selections/index.js +1 -1
  153. package/hooks/use-session-storage-state/index.js +1 -1
  154. package/hooks/use-set/index.js +1 -1
  155. package/hooks/use-set-state/index.js +1 -1
  156. package/hooks/use-size/index.js +1 -1
  157. package/hooks/use-state-callback/index.js +1 -1
  158. package/hooks/use-state-with-promise/index.js +1 -1
  159. package/hooks/use-sync-state/index.js +1 -1
  160. package/hooks/use-text-selection/index.js +1 -1
  161. package/hooks/use-theme/index.js +1 -1
  162. package/hooks/use-throttle/index.js +1 -1
  163. package/hooks/use-throttle-effect/index.js +1 -1
  164. package/hooks/use-throttle-fn/index.js +1 -1
  165. package/hooks/use-throttle-fn-with-raf/index.js +1 -1
  166. package/hooks/use-timeout/index.js +1 -1
  167. package/hooks/use-title/index.js +1 -1
  168. package/hooks/use-toggle/index.js +1 -1
  169. package/hooks/use-tracked-effect/index.js +1 -1
  170. package/hooks/use-unmount/index.js +1 -1
  171. package/hooks/use-unmounted-ref/index.js +1 -1
  172. package/hooks/use-update/index.js +1 -1
  173. package/hooks/use-update-effect/index.js +1 -1
  174. package/hooks/use-update-layout-effect/index.js +1 -1
  175. package/hooks/use-url-state/index.js +1 -1
  176. package/hooks/use-virtual-list/index.js +1 -1
  177. package/hooks/use-watch/index.js +1 -1
  178. package/hooks/use-web-socket/index.js +2 -2
  179. package/hooks/use-why-did-you-update/index.js +1 -1
  180. package/hooks/use-window-size/index.js +1 -1
  181. package/hooks/utils/createEffectWithTarget.js +1 -1
  182. package/hooks/utils/depsAreSame.js +1 -1
  183. package/hooks/utils/depsEqual.js +1 -1
  184. package/hooks/utils/domTarget.js +1 -1
  185. package/hooks/utils/getDocumentOrShadow.js +1 -1
  186. package/hooks/utils/index.js +1 -1
  187. package/hooks/utils/isAppleDevice.js +1 -1
  188. package/hooks/utils/isBrowser.js +1 -1
  189. package/hooks/utils/isDev.js +1 -1
  190. package/hooks/utils/noop.d.ts +2 -2
  191. package/hooks/utils/rect.js +1 -1
  192. package/hooks/utils/useDeepCompareWithTarget.js +1 -1
  193. package/hooks/utils/useEffectWithTarget.js +1 -1
  194. package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +1 -1
  195. package/hooks/utils/useLayoutEffectWithTarget.js +1 -1
  196. package/icons/file/File.js +1 -1
  197. package/icons/file/context.js +1 -1
  198. package/icons/file/index.js +1 -1
  199. package/icons/file/style/index.js +1 -1
  200. package/index.js +475 -470
  201. package/package.json +1 -1
  202. package/progress/Progress.js +31 -33
  203. package/progress/constants.js +1 -1
  204. package/progress/index.js +1 -1
  205. package/progress/style/index.js +1 -1
  206. package/progress/utils.js +1 -1
  207. package/resize-observer/Collection.js +1 -1
  208. package/resize-observer/ResizeObserver.js +4 -4
  209. package/resize-observer/SingleObserver.js +10 -10
  210. package/resize-observer/constants.js +1 -1
  211. package/resize-observer/context.js +1 -1
  212. package/resize-observer/index.js +1 -1
  213. package/resize-observer/observerUtil.js +1 -1
  214. package/resize-observer/style/index.js +1 -1
  215. package/resize-observer/utils.js +1 -1
  216. package/space/Space.js +44 -48
  217. package/space/constants.js +1 -1
  218. package/space/context.js +1 -1
  219. package/space/index.js +1 -1
  220. package/space/interface.d.ts +2 -15
  221. package/space/style/index.js +1 -1
  222. package/space/utils.js +1 -1
  223. package/suspense-fallback-test/SuspenseFallbackTest.js +5 -4
  224. package/suspense-fallback-test/constants.js +1 -1
  225. package/suspense-fallback-test/context.js +1 -1
  226. package/suspense-fallback-test/index.js +1 -1
  227. package/suspense-fallback-test/style/index.js +1 -1
  228. package/suspense-fallback-test/utils.js +1 -1
  229. package/test.js +1 -1
  230. package/timer/Timer.js +15 -15
  231. package/timer/constants.js +1 -1
  232. package/timer/context.js +1 -1
  233. package/timer/index.js +1 -1
  234. package/timer/style/index.js +1 -1
  235. package/timer/utils.js +1 -1
  236. package/transition/Transition.js +32 -32
  237. package/transition/TransitionCSS.js +1 -1
  238. package/transition/TransitionGroup.js +1 -1
  239. package/transition/TransitionStyle.js +1 -1
  240. package/transition/constants.js +1 -1
  241. package/transition/context.js +1 -1
  242. package/transition/index.js +1 -1
  243. package/transition/style/index.js +1 -1
  244. package/transition/utils.js +1 -1
  245. package/typewriter/Typewriter.js +28 -28
  246. package/typewriter/constants.js +1 -1
  247. package/typewriter/context.js +1 -1
  248. package/typewriter/index.js +1 -1
  249. package/typewriter/style/index.js +1 -1
  250. package/typewriter/utils.js +1 -1
  251. package/utils/callOrReturn.js +1 -1
  252. package/utils/callbackOriginRef.js +1 -1
  253. package/utils/caseName.js +1 -1
  254. package/utils/className.js +1 -1
  255. package/utils/constants.d.ts +0 -1
  256. package/utils/constants.js +4 -5
  257. package/utils/copy.js +1 -1
  258. package/utils/css.js +1 -1
  259. package/utils/date.js +1 -1
  260. package/utils/dayjs.js +1 -1
  261. package/utils/document.js +1 -1
  262. package/utils/dom.d.ts +10 -0
  263. package/utils/dom.js +14 -3
  264. package/utils/emitter.js +1 -1
  265. package/utils/file.js +1 -1
  266. package/utils/fileRead.js +1 -1
  267. package/utils/fileToDataURL.js +1 -1
  268. package/utils/fillNBSP.js +1 -1
  269. package/utils/getElement.js +5 -5
  270. package/utils/getHighlightText.js +1 -1
  271. package/utils/getHotkeyHandler.js +1 -1
  272. package/utils/getScrollBarHeight.js +1 -1
  273. package/utils/getScrollBarSize.js +1 -1
  274. package/utils/getScrollBarWidth.js +1 -1
  275. package/utils/getScrollParent.js +1 -1
  276. package/utils/getStringLength.js +1 -1
  277. package/utils/include.js +1 -1
  278. package/utils/index.js +230 -225
  279. package/utils/initAllLineClamp.js +1 -1
  280. package/utils/intersectionObserver.js +1 -1
  281. package/utils/is.js +1 -1
  282. package/utils/keyboardCode.js +1 -1
  283. package/utils/lodash.d.ts +6 -1
  284. package/utils/lodash.js +64 -59
  285. package/utils/math.js +1 -1
  286. package/utils/mergeProps.js +1 -1
  287. package/utils/mergedToString.js +1 -1
  288. package/utils/mutationObserver.js +1 -1
  289. package/utils/names.js +1 -1
  290. package/utils/object.js +1 -1
  291. package/utils/omit.js +1 -1
  292. package/utils/pad.js +1 -1
  293. package/utils/pick.js +1 -1
  294. package/utils/pinyin.js +1 -1
  295. package/utils/react19Adapter.js +1 -1
  296. package/utils/reactNode.js +1 -1
  297. package/utils/ref.js +1 -1
  298. package/utils/resizeObserver.js +2 -2
  299. package/utils/saveAs.js +1 -1
  300. package/utils/screenfull.js +1 -1
  301. package/utils/scrollIntoViewIfNeeded.js +1 -1
  302. package/utils/scrollTo.js +1 -1
  303. package/utils/setCreateRoot.js +1 -1
  304. package/utils/setDarkTheme.js +1 -1
  305. package/utils/setDir.js +1 -1
  306. package/utils/setPrimaryColor.js +1 -1
  307. package/utils/setTheme.js +1 -1
  308. package/utils/string.js +1 -1
  309. package/utils/style.js +1 -1
  310. package/utils/tinycolor.js +1 -1
  311. package/utils/toArray.js +1 -1
  312. package/utils/tree.js +1 -1
  313. package/utils/tunnel.d.ts +2 -0
  314. package/utils/tunnel.js +45 -42
  315. package/utils/tween.js +1 -1
  316. package/utils/uuid.js +1 -1
  317. package/utils/validate.js +1 -1
  318. package/utils/warning.js +1 -1
  319. package/version/index.js +7 -7
package/utils/index.js CHANGED
@@ -1,65 +1,65 @@
1
- /* 潘启宝 2026-07-31 11:39:58 星期五 山东省济南市 */
1
+ /* 潘启宝 2026-08-08 11:09:06 星期六 山东省济南市 */
2
2
  import { __exportAll as ee, __reExport as e } from "../.virtual/_rolldown/runtime.js";
3
3
  import { is32Bit as te, isAllChinese as ne, isArguments as re, isArray as ie, isArrayAndNotEmpty as t, isArrayBuffer as n, isArrayEmpty as r, isArrayLike as i, isArrayLikeObject as a, isAscii as o, isAsyncFunction as s, isBase64 as c, isBigInt as l, isBlob as u, isBoolean as d, isBuffer as f, isChinese as p, isColorValue as m, isColorValue_ as h, isCompositeTypeElement as g, isDataURI as _, isDate as v, isDayjs as y, isElement as b, isEmail as x, isEmpty as S, isEmptyArray as C, isEmptyChildren as w, isEmptyObject as T, isEmptyReactNode as E, isEmptyString as D, isEmptyValue as O, isEqual as k, isEqualWith as A, isError as j, isEventTarget as M, isExist as N, isFalse as P, isFile as F, isFinite as I, isFullWidth as L, isFunction as R, isHSL as z, isHalfWidth as B, isHash as V, isHexColor as H, isIMEI as U, isIP as W, isIPRange as G, isIdentityCard as K, isInteger as q, isJSON as J, isJSON_String as Y, isJWT as ae, isLength as oe, isMACAddress as se, isMD5 as ce, isMap as le, isMatch as ue, isMatchWith as de, isMimeType as fe, isMobilePhone as pe, isMobilePhoneLocales as me, isNaN as he, isNative as ge, isNil as _e, isNonNullable as ve, isNotFound as ye, isNull as be, isNullOrUndefined as xe, isNumber as Se, isNumberOrString as Ce, isObject as we, isObjectLike as Te, isPlainObject as Ee, isPort as De, isPresent as Oe, isPrimitive as ke, isPromise as Ae, isReact18 as je, isReact19 as Me, isReactClassComponent as Ne, isReactComponent as Pe, isReactComponentAndNotFragment as Fe, isReactFunctionalComponent as Ie, isReadableStream as Le, isRegExp as Re, isRgbColor as ze, isSafeInteger as Be, isSemVer as Ve, isServerRendering as He, isSet as Ue, isSlug as We, isSparseArray as Ge, isString as Ke, isStringAndExist as qe, isStringOrNumber as Je, isStrongPassword as Ye, isSymbol as Xe, isThenable as Ze, isTrue as Qe, isTypedArray as $e, isURL as et, isUUID as tt, isUndefined as nt, isUndefinedOrNull as rt, isVariableWidth as it, isWeakMap as at, isWeakSet as ot, isWindow as st, isZero as ct, is_exports as lt } from "./is.js";
4
4
  import { object_exports as ut } from "./object.js";
5
- import { assign as dt, assignIn as ft, at as pt, camelCase as mt, capitalize as ht, castArray as gt, chain as _t, chunk as vt, clone as yt, cloneDeep as bt, cloneDeepWith as xt, cloneWith as St, compact as Ct, curry as wt, debounce as Tt, defaultTo as Et, defaults as Dt, defaultsDeep as Ot, difference as kt, escape as At, findKey as jt, flatten as Mt, flattenDeep as Nt, flow as Pt, get as Ft, groupBy as It, has as Lt, intersection as Rt, invert as zt, invertBy as Bt, kebabCase as Vt, mean as Ht, memoize as Ut, merge as Wt, mergeWith as Gt, move as Kt, noop as qt, omit as Jt, omitBy as Yt, orderBy as Xt, partition as Zt, pick as Qt, pickBy as $t, pullAll as en, result as tn, sample as nn, sampleSize as rn, set as an, setWith as on, shuffle as X, snakeCase as sn, sortBy as cn, startCase as ln, throttle as un, toPath as dn, truncate as fn, union as pn, uniq as mn, uniqueId as hn, unset as gn, update as _n, updateWith as vn, upperCase as yn, upperFirst as bn, without as xn, xor as Sn, zip as Cn } from "./lodash.js";
6
- import { composeRef as wn, fillRef as Tn, getNodeRef as En, getReactElementRef as Dn, supportNodeRef as On, supportRef as kn, useComposeRef as An } from "./ref.js";
7
- import jn from "./getElement.js";
8
- import { screenfull as Mn } from "./screenfull.js";
9
- import { canUseDOM as Nn, contains as Pn, focusAtEnd as Fn, forceReflow as Z, getBody as In, getBodyContainer as Ln, getDOM as Rn, getDocument as zn, getDocumentElement as Bn, getElementCoordinates as Vn, getHead as Hn, getScrollElements as Un, getTopLevelOverlayContainer as Wn, off as Gn, on as Kn, parentContainsChildren as qn } from "./dom.js";
10
- import { CSS_VARIABLE_ELEMENT as Jn, DAYJS_DEFAULT_FORMAT as Yn, DAYJS_DEFAULT_FORMAT_WITH_TIME as Xn, NOOP as Zn, PREFIX_CLASS as Qn, UI_PC_KEY as $n, UI_PC_THEME_DARK_CLASS_NAME as er } from "./constants.js";
11
- import tr from "./mergeProps.js";
12
- import { callbackOriginRef as nr } from "./callbackOriginRef.js";
13
- import { callOrReturn as rr } from "./callOrReturn.js";
14
- import { caseName as ir } from "./caseName.js";
15
- import { className as ar, cs as or } from "./className.js";
5
+ import { assign as dt, assignIn as ft, at as pt, camelCase as mt, capitalize as ht, castArray as gt, chain as _t, chunk as vt, clamp as yt, clone as bt, cloneDeep as xt, cloneDeepWith as St, cloneWith as Ct, compact as wt, curry as Tt, debounce as Et, defaultTo as Dt, defaults as Ot, defaultsDeep as kt, difference as At, escape as jt, findKey as Mt, flatten as Nt, flattenDeep as Pt, flow as Ft, get as It, groupBy as Lt, has as Rt, hasIn as zt, intersection as Bt, invert as Vt, invertBy as Ht, invoke as Ut, kebabCase as Wt, mapKeys as Gt, mapValues as Kt, mean as qt, memoize as Jt, merge as Yt, mergeWith as Xt, move as Zt, noop as Qt, omit as $t, omitBy as en, orderBy as tn, partition as nn, pick as rn, pickBy as an, pullAll as on, result as X, sample as sn, sampleSize as cn, set as ln, setWith as un, shuffle as dn, snakeCase as fn, sortBy as pn, startCase as mn, throttle as hn, toPath as gn, truncate as _n, union as vn, uniq as yn, uniqueId as bn, unset as xn, update as Sn, updateWith as Cn, upperCase as wn, upperFirst as Tn, without as En, xor as Dn, zip as On } from "./lodash.js";
6
+ import { composeRef as kn, fillRef as An, getNodeRef as jn, getReactElementRef as Mn, supportNodeRef as Nn, supportRef as Pn, useComposeRef as Fn } from "./ref.js";
7
+ import In from "./getElement.js";
8
+ import { screenfull as Ln } from "./screenfull.js";
9
+ import { canUseDOM as Rn, contains as zn, focusAtEnd as Bn, forceReflow as Z, getBody as Vn, getBodyContainer as Hn, getDOM as Un, getDocument as Wn, getDocumentElement as Gn, getElementCoordinates as Kn, getElementOuterSize as qn, getHead as Jn, getScrollElements as Yn, getTopLevelOverlayContainer as Xn, off as Zn, on as Qn, parentContainsChildren as $n } from "./dom.js";
10
+ import er from "./mergeProps.js";
11
+ import { callbackOriginRef as tr } from "./callbackOriginRef.js";
12
+ import { callOrReturn as nr } from "./callOrReturn.js";
13
+ import { caseName as rr } from "./caseName.js";
14
+ import { className as ir, cs as ar } from "./className.js";
15
+ import { CSS_VARIABLE_ELEMENT as or, DAYJS_DEFAULT_FORMAT as sr, DAYJS_DEFAULT_FORMAT_WITH_TIME as cr, PREFIX_CLASS as lr, UI_PC_KEY as ur, UI_PC_THEME_DARK_CLASS_NAME as dr } from "./constants.js";
16
16
  import { clipboardCopy as Q } from "./copy.js";
17
17
  import "./css.js";
18
- import { convertTime as sr, convertToDurationBasedOnTimeUnits as cr, dateFormat as lr, dayjsFormat as ur } from "./date.js";
19
- import { dayjs as dr } from "./dayjs.js";
20
- import { document_exports as fr } from "./document.js";
21
- import { Emitter as pr } from "./emitter.js";
18
+ import { convertTime as fr, convertToDurationBasedOnTimeUnits as pr, dateFormat as mr, dayjsFormat as hr } from "./date.js";
19
+ import { dayjs as gr } from "./dayjs.js";
20
+ import { document_exports as _r } from "./document.js";
21
+ import { Emitter as vr } from "./emitter.js";
22
22
  import "./file.js";
23
- import { fileRead as mr } from "./fileRead.js";
24
- import { fileToDataURL as hr } from "./fileToDataURL.js";
25
- import gr from "./fillNBSP.js";
26
- import _r from "./getHighlightText.js";
27
- import vr from "./getHotkeyHandler.js";
28
- import yr from "./getScrollBarSize.js";
29
- import br from "./getScrollBarHeight.js";
30
- import xr from "./getScrollBarWidth.js";
23
+ import { fileRead as yr } from "./fileRead.js";
24
+ import { fileToDataURL as br } from "./fileToDataURL.js";
25
+ import xr from "./fillNBSP.js";
26
+ import Sr from "./getHighlightText.js";
27
+ import Cr from "./getHotkeyHandler.js";
28
+ import wr from "./getScrollBarSize.js";
29
+ import Tr from "./getScrollBarHeight.js";
30
+ import Er from "./getScrollBarWidth.js";
31
31
  import "./getScrollParent.js";
32
- import Sr from "./getStringLength.js";
33
- import Cr from "./include.js";
34
- import { uuid as wr, uuidv4 as Tr } from "./uuid.js";
35
- import Er from "./initAllLineClamp.js";
36
- import Dr from "./intersectionObserver.js";
37
- import { div as Or, math as kr, minus as Ar, plus as jr, times as Mr } from "./math.js";
38
- import Nr from "./mergedToString.js";
39
- import Pr from "./mutationObserver.js";
32
+ import Dr from "./getStringLength.js";
33
+ import Or from "./include.js";
34
+ import { uuid as kr, uuidv4 as Ar } from "./uuid.js";
35
+ import jr from "./initAllLineClamp.js";
36
+ import Mr from "./intersectionObserver.js";
37
+ import { div as Nr, math as Pr, minus as Fr, plus as Ir, times as Lr } from "./math.js";
38
+ import Rr from "./mergedToString.js";
39
+ import zr from "./mutationObserver.js";
40
40
  import "./omit.js";
41
- import { padEnd as Fr, padStart as Ir } from "./pad.js";
42
- import { pickDataAttributes as Lr } from "./pick.js";
43
- import Rr from "./resizeObserver.js";
44
- import { saveAs as zr } from "./saveAs.js";
45
- import Br from "./scrollIntoViewIfNeeded.js";
46
- import Vr, { render as Hr } from "./setCreateRoot.js";
47
- import Ur, { removeDarkTheme as Wr } from "./setDarkTheme.js";
48
- import Gr from "./setDir.js";
49
- import Kr from "./setPrimaryColor.js";
50
- import qr from "./setTheme.js";
51
- import { HYPHEN as Jr, replaceEmptyWithHyphen as Yr } from "./string.js";
52
- import { fixedWidth as Xr, getStyle as Zr, setTransformStyle as Qr } from "./style.js";
53
- import { tinycolor as $r } from "./tinycolor.js";
54
- import ei from "./toArray.js";
55
- import { findNodeBy as ti, getChildWithParentBy as ni, getItemBy as ri, getItemByID as ii, getLabelFromDictionaryByValue as ai, searchTree as oi, tree as si } from "./tree.js";
56
- import ci from "./tunnel.js";
57
- import { Tween as li, easing as ui } from "./tween.js";
58
- import { PqbValidator as di, Validator as fi, ValidatorArray as pi, ValidatorBase as mi, ValidatorBoolean as hi, ValidatorCustom as gi, ValidatorNumber as _i, ValidatorObject as vi, ValidatorSchema as yi, ValidatorString as bi, ValidatorType as xi, validatorLocale as Si } from "./validate.js";
59
- import Ci from "./warning.js";
60
- import { pinyin_exports as wi } from "./pinyin.js";
61
- import { keyboardCode as Ti } from "./keyboardCode.js";
62
- import { COMPONENT_NAMES as Ei } from "./names.js";
41
+ import { padEnd as Br, padStart as Vr } from "./pad.js";
42
+ import { pickDataAttributes as Hr } from "./pick.js";
43
+ import Ur from "./resizeObserver.js";
44
+ import { saveAs as Wr } from "./saveAs.js";
45
+ import Gr from "./scrollIntoViewIfNeeded.js";
46
+ import Kr, { render as qr } from "./setCreateRoot.js";
47
+ import Jr, { removeDarkTheme as Yr } from "./setDarkTheme.js";
48
+ import Xr from "./setDir.js";
49
+ import Zr from "./setPrimaryColor.js";
50
+ import Qr from "./setTheme.js";
51
+ import { HYPHEN as $r, replaceEmptyWithHyphen as ei } from "./string.js";
52
+ import { fixedWidth as ti, getStyle as ni, setTransformStyle as ri } from "./style.js";
53
+ import { tinycolor as ii } from "./tinycolor.js";
54
+ import ai from "./toArray.js";
55
+ import { findNodeBy as oi, getChildWithParentBy as si, getItemBy as ci, getItemByID as li, getLabelFromDictionaryByValue as ui, searchTree as di, tree as fi } from "./tree.js";
56
+ import pi from "./tunnel.js";
57
+ import { Tween as mi, easing as hi } from "./tween.js";
58
+ import { PqbValidator as gi, Validator as _i, ValidatorArray as vi, ValidatorBase as yi, ValidatorBoolean as bi, ValidatorCustom as xi, ValidatorNumber as Si, ValidatorObject as Ci, ValidatorSchema as wi, ValidatorString as Ti, ValidatorType as Ei, validatorLocale as Di } from "./validate.js";
59
+ import Oi from "./warning.js";
60
+ import { pinyin_exports as ki } from "./pinyin.js";
61
+ import { keyboardCode as Ai } from "./keyboardCode.js";
62
+ import { COMPONENT_NAMES as ji } from "./names.js";
63
63
  export * from "@unicom-cloud/utils/is";
64
64
  export * from "@unicom-cloud/utils/object";
65
65
  export * from "@unicom-cloud/utils/css";
@@ -68,109 +68,112 @@ export * from "@unicom-cloud/utils/file";
68
68
  export * from "@unicom-cloud/utils/tinycolor";
69
69
  //#region components/common/utils/index.ts
70
70
  var $ = /* @__PURE__ */ ee({
71
- COMPONENT_NAMES: () => Ei,
72
- CSS_VARIABLE_ELEMENT: () => Jn,
73
- DAYJS_DEFAULT_FORMAT: () => Yn,
74
- DAYJS_DEFAULT_FORMAT_WITH_TIME: () => Xn,
75
- Emitter: () => pr,
76
- HYPHEN: () => Jr,
77
- NOOP: () => Zn,
78
- PREFIX_CLASS: () => Qn,
79
- PqbValidator: () => di,
80
- Tween: () => li,
81
- UI_PC_KEY: () => $n,
82
- UI_PC_THEME_DARK_CLASS_NAME: () => er,
83
- Validator: () => fi,
84
- ValidatorArray: () => pi,
85
- ValidatorBase: () => mi,
86
- ValidatorBoolean: () => hi,
87
- ValidatorCustom: () => gi,
88
- ValidatorNumber: () => _i,
89
- ValidatorObject: () => vi,
90
- ValidatorSchema: () => yi,
91
- ValidatorString: () => bi,
92
- ValidatorType: () => xi,
71
+ COMPONENT_NAMES: () => ji,
72
+ CSS_VARIABLE_ELEMENT: () => or,
73
+ DAYJS_DEFAULT_FORMAT: () => sr,
74
+ DAYJS_DEFAULT_FORMAT_WITH_TIME: () => cr,
75
+ Emitter: () => vr,
76
+ HYPHEN: () => $r,
77
+ PREFIX_CLASS: () => lr,
78
+ PqbValidator: () => gi,
79
+ Tween: () => mi,
80
+ UI_PC_KEY: () => ur,
81
+ UI_PC_THEME_DARK_CLASS_NAME: () => dr,
82
+ Validator: () => _i,
83
+ ValidatorArray: () => vi,
84
+ ValidatorBase: () => yi,
85
+ ValidatorBoolean: () => bi,
86
+ ValidatorCustom: () => xi,
87
+ ValidatorNumber: () => Si,
88
+ ValidatorObject: () => Ci,
89
+ ValidatorSchema: () => wi,
90
+ ValidatorString: () => Ti,
91
+ ValidatorType: () => Ei,
93
92
  assign: () => dt,
94
93
  assignIn: () => ft,
95
94
  at: () => pt,
96
- callOrReturn: () => rr,
97
- callbackOriginRef: () => nr,
95
+ callOrReturn: () => nr,
96
+ callbackOriginRef: () => tr,
98
97
  camelCase: () => mt,
99
- canUseDOM: () => Nn,
98
+ canUseDOM: () => Rn,
100
99
  capitalize: () => ht,
101
- caseName: () => ir,
100
+ caseName: () => rr,
102
101
  castArray: () => gt,
103
102
  chain: () => _t,
104
103
  chunk: () => vt,
105
- className: () => ar,
104
+ clamp: () => yt,
105
+ className: () => ir,
106
106
  clipboardCopy: () => Q,
107
- clone: () => yt,
108
- cloneDeep: () => bt,
109
- cloneDeepWith: () => xt,
110
- cloneWith: () => St,
111
- compact: () => Ct,
112
- composeRef: () => wn,
113
- contains: () => Pn,
114
- convertTime: () => sr,
115
- convertToDurationBasedOnTimeUnits: () => cr,
107
+ clone: () => bt,
108
+ cloneDeep: () => xt,
109
+ cloneDeepWith: () => St,
110
+ cloneWith: () => Ct,
111
+ compact: () => wt,
112
+ composeRef: () => kn,
113
+ contains: () => zn,
114
+ convertTime: () => fr,
115
+ convertToDurationBasedOnTimeUnits: () => pr,
116
116
  copy: () => Q,
117
- cs: () => or,
118
- curry: () => wt,
119
- dateFormat: () => lr,
120
- dayjs: () => dr,
121
- dayjsFormat: () => ur,
122
- debounce: () => Tt,
123
- defaultTo: () => Et,
124
- defaults: () => Dt,
125
- defaultsDeep: () => Ot,
126
- difference: () => kt,
127
- div: () => Or,
128
- easing: () => ui,
129
- escape: () => At,
130
- fileRead: () => mr,
131
- fileToDataURL: () => hr,
132
- fillNBSP: () => gr,
133
- fillRef: () => Tn,
134
- findKey: () => jt,
135
- findNodeBy: () => ti,
136
- fixedWidth: () => Xr,
137
- flatten: () => Mt,
138
- flattenDeep: () => Nt,
139
- flow: () => Pt,
140
- focusAtEnd: () => Fn,
117
+ cs: () => ar,
118
+ curry: () => Tt,
119
+ dateFormat: () => mr,
120
+ dayjs: () => gr,
121
+ dayjsFormat: () => hr,
122
+ debounce: () => Et,
123
+ defaultTo: () => Dt,
124
+ defaults: () => Ot,
125
+ defaultsDeep: () => kt,
126
+ difference: () => At,
127
+ div: () => Nr,
128
+ easing: () => hi,
129
+ escape: () => jt,
130
+ fileRead: () => yr,
131
+ fileToDataURL: () => br,
132
+ fillNBSP: () => xr,
133
+ fillRef: () => An,
134
+ findKey: () => Mt,
135
+ findNodeBy: () => oi,
136
+ fixedWidth: () => ti,
137
+ flatten: () => Nt,
138
+ flattenDeep: () => Pt,
139
+ flow: () => Ft,
140
+ focusAtEnd: () => Bn,
141
141
  forceReflow: () => Z,
142
- get: () => Ft,
143
- getBody: () => In,
144
- getBodyContainer: () => Ln,
145
- getChildWithParentBy: () => ni,
146
- getDOM: () => Rn,
147
- getDocument: () => zn,
148
- getDocumentElement: () => Bn,
149
- getElement: () => jn,
150
- getElementCoordinates: () => Vn,
151
- getHead: () => Hn,
152
- getHighlightText: () => _r,
153
- getHotkeyHandler: () => vr,
154
- getItemBy: () => ri,
155
- getItemByID: () => ii,
156
- getLabelFromDictionaryByValue: () => ai,
157
- getNodeRef: () => En,
158
- getReactElementRef: () => Dn,
159
- getScrollBarHeight: () => br,
160
- getScrollBarSize: () => yr,
161
- getScrollBarWidth: () => xr,
162
- getScrollElements: () => Un,
163
- getStringLength: () => Sr,
164
- getStyle: () => Zr,
165
- getTopLevelOverlayContainer: () => Wn,
166
- groupBy: () => It,
167
- has: () => Lt,
168
- include: () => Cr,
169
- initAllLineClamp: () => Er,
170
- intersection: () => Rt,
171
- intersectionObserver: () => Dr,
172
- invert: () => zt,
173
- invertBy: () => Bt,
142
+ get: () => It,
143
+ getBody: () => Vn,
144
+ getBodyContainer: () => Hn,
145
+ getChildWithParentBy: () => si,
146
+ getDOM: () => Un,
147
+ getDocument: () => Wn,
148
+ getDocumentElement: () => Gn,
149
+ getElement: () => In,
150
+ getElementCoordinates: () => Kn,
151
+ getElementOuterSize: () => qn,
152
+ getHead: () => Jn,
153
+ getHighlightText: () => Sr,
154
+ getHotkeyHandler: () => Cr,
155
+ getItemBy: () => ci,
156
+ getItemByID: () => li,
157
+ getLabelFromDictionaryByValue: () => ui,
158
+ getNodeRef: () => jn,
159
+ getReactElementRef: () => Mn,
160
+ getScrollBarHeight: () => Tr,
161
+ getScrollBarSize: () => wr,
162
+ getScrollBarWidth: () => Er,
163
+ getScrollElements: () => Yn,
164
+ getStringLength: () => Dr,
165
+ getStyle: () => ni,
166
+ getTopLevelOverlayContainer: () => Xn,
167
+ groupBy: () => Lt,
168
+ has: () => Rt,
169
+ hasIn: () => zt,
170
+ include: () => Or,
171
+ initAllLineClamp: () => jr,
172
+ intersection: () => Bt,
173
+ intersectionObserver: () => Mr,
174
+ invert: () => Vt,
175
+ invertBy: () => Ht,
176
+ invoke: () => Ut,
174
177
  is32Bit: () => te,
175
178
  isAllChinese: () => ne,
176
179
  isArguments: () => re,
@@ -282,86 +285,88 @@ var $ = /* @__PURE__ */ ee({
282
285
  isWeakSet: () => ot,
283
286
  isWindow: () => st,
284
287
  isZero: () => ct,
285
- kebabCase: () => Vt,
286
- keyboardCode: () => Ti,
287
- math: () => kr,
288
- mean: () => Ht,
289
- memoize: () => Ut,
290
- merge: () => Wt,
291
- mergeProps: () => tr,
292
- mergeWith: () => Gt,
293
- mergedToString: () => Nr,
294
- minus: () => Ar,
295
- move: () => Kt,
296
- mutationObserver: () => Pr,
297
- noop: () => qt,
298
- off: () => Gn,
299
- omit: () => Jt,
300
- omitBy: () => Yt,
301
- on: () => Kn,
302
- orderBy: () => Xt,
303
- padEnd: () => Fr,
304
- padStart: () => Ir,
305
- parentContainsChildren: () => qn,
306
- partition: () => Zt,
307
- pick: () => Qt,
308
- pickBy: () => $t,
309
- pickDataAttributes: () => Lr,
310
- pinyin: () => wi,
311
- plus: () => jr,
312
- pullAll: () => en,
288
+ kebabCase: () => Wt,
289
+ keyboardCode: () => Ai,
290
+ mapKeys: () => Gt,
291
+ mapValues: () => Kt,
292
+ math: () => Pr,
293
+ mean: () => qt,
294
+ memoize: () => Jt,
295
+ merge: () => Yt,
296
+ mergeProps: () => er,
297
+ mergeWith: () => Xt,
298
+ mergedToString: () => Rr,
299
+ minus: () => Fr,
300
+ move: () => Zt,
301
+ mutationObserver: () => zr,
302
+ noop: () => Qt,
303
+ off: () => Zn,
304
+ omit: () => $t,
305
+ omitBy: () => en,
306
+ on: () => Qn,
307
+ orderBy: () => tn,
308
+ padEnd: () => Br,
309
+ padStart: () => Vr,
310
+ parentContainsChildren: () => $n,
311
+ partition: () => nn,
312
+ pick: () => rn,
313
+ pickBy: () => an,
314
+ pickDataAttributes: () => Hr,
315
+ pinyin: () => ki,
316
+ plus: () => Ir,
317
+ pullAll: () => on,
313
318
  reflow: () => Z,
314
- removeDarkTheme: () => Wr,
315
- render: () => Hr,
316
- replaceEmptyWithHyphen: () => Yr,
317
- resizeObserver: () => Rr,
318
- result: () => tn,
319
- sample: () => nn,
320
- sampleSize: () => rn,
321
- saveAs: () => zr,
322
- screenfull: () => Mn,
323
- scrollIntoViewIfNeeded: () => Br,
324
- searchTree: () => oi,
325
- set: () => an,
326
- setCreateRoot: () => Vr,
327
- setDarkTheme: () => Ur,
328
- setDir: () => Gr,
329
- setPrimaryColor: () => Kr,
330
- setTheme: () => qr,
331
- setTransformStyle: () => Qr,
332
- setWith: () => on,
333
- shuffle: () => X,
334
- snakeCase: () => sn,
335
- sortBy: () => cn,
336
- startCase: () => ln,
337
- supportNodeRef: () => On,
338
- supportRef: () => kn,
339
- throttle: () => un,
340
- times: () => Mr,
341
- tinycolor: () => $r,
342
- toArray: () => ei,
343
- toPath: () => dn,
344
- tree: () => si,
345
- truncate: () => fn,
346
- tunnel: () => ci,
347
- union: () => pn,
348
- uniq: () => mn,
349
- uniqueId: () => hn,
350
- unset: () => gn,
351
- update: () => _n,
352
- updateWith: () => vn,
353
- upperCase: () => yn,
354
- upperFirst: () => bn,
355
- useComposeRef: () => An,
356
- uuid: () => wr,
357
- uuidv4: () => Tr,
358
- validatorLocale: () => Si,
359
- warning: () => Ci,
360
- without: () => xn,
361
- xor: () => Sn,
362
- zip: () => Cn
319
+ removeDarkTheme: () => Yr,
320
+ render: () => qr,
321
+ replaceEmptyWithHyphen: () => ei,
322
+ resizeObserver: () => Ur,
323
+ result: () => X,
324
+ sample: () => sn,
325
+ sampleSize: () => cn,
326
+ saveAs: () => Wr,
327
+ screenfull: () => Ln,
328
+ scrollIntoViewIfNeeded: () => Gr,
329
+ searchTree: () => di,
330
+ set: () => ln,
331
+ setCreateRoot: () => Kr,
332
+ setDarkTheme: () => Jr,
333
+ setDir: () => Xr,
334
+ setPrimaryColor: () => Zr,
335
+ setTheme: () => Qr,
336
+ setTransformStyle: () => ri,
337
+ setWith: () => un,
338
+ shuffle: () => dn,
339
+ snakeCase: () => fn,
340
+ sortBy: () => pn,
341
+ startCase: () => mn,
342
+ supportNodeRef: () => Nn,
343
+ supportRef: () => Pn,
344
+ throttle: () => hn,
345
+ times: () => Lr,
346
+ tinycolor: () => ii,
347
+ toArray: () => ai,
348
+ toPath: () => gn,
349
+ tree: () => fi,
350
+ truncate: () => _n,
351
+ tunnel: () => pi,
352
+ union: () => vn,
353
+ uniq: () => yn,
354
+ uniqueId: () => bn,
355
+ unset: () => xn,
356
+ update: () => Sn,
357
+ updateWith: () => Cn,
358
+ upperCase: () => wn,
359
+ upperFirst: () => Tn,
360
+ useComposeRef: () => Fn,
361
+ uuid: () => kr,
362
+ uuidv4: () => Ar,
363
+ validatorLocale: () => Di,
364
+ warning: () => Oi,
365
+ without: () => En,
366
+ xor: () => Dn,
367
+ zip: () => On
363
368
  });
364
- e($, fr), e($, lt), e($, ut);
369
+ e($, _r), e($, lt), e($, ut);
365
370
  //#endregion
366
- export { Ei as COMPONENT_NAMES, Jn as CSS_VARIABLE_ELEMENT, Yn as DAYJS_DEFAULT_FORMAT, Xn as DAYJS_DEFAULT_FORMAT_WITH_TIME, pr as Emitter, Jr as HYPHEN, Zn as NOOP, Qn as PREFIX_CLASS, di as PqbValidator, li as Tween, $n as UI_PC_KEY, er as UI_PC_THEME_DARK_CLASS_NAME, fi as Validator, pi as ValidatorArray, mi as ValidatorBase, hi as ValidatorBoolean, gi as ValidatorCustom, _i as ValidatorNumber, vi as ValidatorObject, yi as ValidatorSchema, bi as ValidatorString, xi as ValidatorType, dt as assign, ft as assignIn, pt as at, rr as callOrReturn, nr as callbackOriginRef, mt as camelCase, Nn as canUseDOM, ht as capitalize, ir as caseName, gt as castArray, _t as chain, vt as chunk, ar as className, Q as clipboardCopy, Q as copy, yt as clone, bt as cloneDeep, xt as cloneDeepWith, St as cloneWith, Ct as compact, wn as composeRef, Pn as contains, sr as convertTime, cr as convertToDurationBasedOnTimeUnits, or as cs, wt as curry, lr as dateFormat, dr as dayjs, ur as dayjsFormat, Tt as debounce, Et as defaultTo, Dt as defaults, Ot as defaultsDeep, kt as difference, Or as div, ui as easing, At as escape, mr as fileRead, hr as fileToDataURL, gr as fillNBSP, Tn as fillRef, jt as findKey, ti as findNodeBy, Xr as fixedWidth, Mt as flatten, Nt as flattenDeep, Pt as flow, Fn as focusAtEnd, Z as forceReflow, Z as reflow, Ft as get, In as getBody, Ln as getBodyContainer, ni as getChildWithParentBy, Rn as getDOM, zn as getDocument, Bn as getDocumentElement, jn as getElement, Vn as getElementCoordinates, Hn as getHead, _r as getHighlightText, vr as getHotkeyHandler, ri as getItemBy, ii as getItemByID, ai as getLabelFromDictionaryByValue, En as getNodeRef, Dn as getReactElementRef, br as getScrollBarHeight, yr as getScrollBarSize, xr as getScrollBarWidth, Un as getScrollElements, Sr as getStringLength, Zr as getStyle, Wn as getTopLevelOverlayContainer, It as groupBy, Lt as has, Cr as include, Er as initAllLineClamp, Rt as intersection, Dr as intersectionObserver, zt as invert, Bt as invertBy, te as is32Bit, ne as isAllChinese, re as isArguments, ie as isArray, t as isArrayAndNotEmpty, n as isArrayBuffer, r as isArrayEmpty, i as isArrayLike, a as isArrayLikeObject, o as isAscii, s as isAsyncFunction, c as isBase64, l as isBigInt, u as isBlob, d as isBoolean, f as isBuffer, p as isChinese, m as isColorValue, h as isColorValue_, g as isCompositeTypeElement, _ as isDataURI, v as isDate, y as isDayjs, b as isElement, x as isEmail, S as isEmpty, C as isEmptyArray, w as isEmptyChildren, T as isEmptyObject, E as isEmptyReactNode, D as isEmptyString, O as isEmptyValue, k as isEqual, A as isEqualWith, j as isError, M as isEventTarget, N as isExist, P as isFalse, F as isFile, I as isFinite, L as isFullWidth, R as isFunction, z as isHSL, B as isHalfWidth, V as isHash, H as isHexColor, U as isIMEI, W as isIP, G as isIPRange, K as isIdentityCard, q as isInteger, J as isJSON, Y as isJSON_String, ae as isJWT, oe as isLength, se as isMACAddress, ce as isMD5, le as isMap, ue as isMatch, de as isMatchWith, fe as isMimeType, pe as isMobilePhone, me as isMobilePhoneLocales, he as isNaN, ge as isNative, _e as isNil, ve as isNonNullable, ye as isNotFound, be as isNull, xe as isNullOrUndefined, Se as isNumber, Ce as isNumberOrString, we as isObject, Te as isObjectLike, Ee as isPlainObject, De as isPort, Oe as isPresent, ke as isPrimitive, Ae as isPromise, je as isReact18, Me as isReact19, Ne as isReactClassComponent, Pe as isReactComponent, Fe as isReactComponentAndNotFragment, Ie as isReactFunctionalComponent, Le as isReadableStream, Re as isRegExp, ze as isRgbColor, Be as isSafeInteger, Ve as isSemVer, He as isServerRendering, Ue as isSet, We as isSlug, Ge as isSparseArray, Ke as isString, qe as isStringAndExist, Je as isStringOrNumber, Ye as isStrongPassword, Xe as isSymbol, Ze as isThenable, Qe as isTrue, $e as isTypedArray, et as isURL, tt as isUUID, nt as isUndefined, rt as isUndefinedOrNull, it as isVariableWidth, at as isWeakMap, ot as isWeakSet, st as isWindow, ct as isZero, Vt as kebabCase, Ti as keyboardCode, kr as math, Ht as mean, Ut as memoize, Wt as merge, tr as mergeProps, Gt as mergeWith, Nr as mergedToString, Ar as minus, Kt as move, Pr as mutationObserver, qt as noop, Gn as off, Jt as omit, Yt as omitBy, Kn as on, Xt as orderBy, Fr as padEnd, Ir as padStart, qn as parentContainsChildren, Zt as partition, Qt as pick, $t as pickBy, Lr as pickDataAttributes, wi as pinyin, jr as plus, en as pullAll, Wr as removeDarkTheme, Hr as render, Yr as replaceEmptyWithHyphen, Rr as resizeObserver, tn as result, nn as sample, rn as sampleSize, zr as saveAs, Mn as screenfull, Br as scrollIntoViewIfNeeded, oi as searchTree, an as set, Vr as setCreateRoot, Ur as setDarkTheme, Gr as setDir, Kr as setPrimaryColor, qr as setTheme, Qr as setTransformStyle, on as setWith, X as shuffle, sn as snakeCase, cn as sortBy, ln as startCase, On as supportNodeRef, kn as supportRef, un as throttle, Mr as times, $r as tinycolor, ei as toArray, dn as toPath, si as tree, fn as truncate, ci as tunnel, pn as union, mn as uniq, hn as uniqueId, gn as unset, _n as update, vn as updateWith, yn as upperCase, bn as upperFirst, An as useComposeRef, $ as utils_exports, wr as uuid, Tr as uuidv4, Si as validatorLocale, Ci as warning, xn as without, Sn as xor, Cn as zip };
371
+ export { ji as COMPONENT_NAMES, or as CSS_VARIABLE_ELEMENT, sr as DAYJS_DEFAULT_FORMAT, cr as DAYJS_DEFAULT_FORMAT_WITH_TIME, vr as Emitter, $r as HYPHEN, lr as PREFIX_CLASS, gi as PqbValidator, mi as Tween, ur as UI_PC_KEY, dr as UI_PC_THEME_DARK_CLASS_NAME, _i as Validator, vi as ValidatorArray, yi as ValidatorBase, bi as ValidatorBoolean, xi as ValidatorCustom, Si as ValidatorNumber, Ci as ValidatorObject, wi as ValidatorSchema, Ti as ValidatorString, Ei as ValidatorType, dt as assign, ft as assignIn, pt as at, nr as callOrReturn, tr as callbackOriginRef, mt as camelCase, Rn as canUseDOM, ht as capitalize, rr as caseName, gt as castArray, _t as chain, vt as chunk, yt as clamp, ir as className, Q as clipboardCopy, Q as copy, bt as clone, xt as cloneDeep, St as cloneDeepWith, Ct as cloneWith, wt as compact, kn as composeRef, zn as contains, fr as convertTime, pr as convertToDurationBasedOnTimeUnits, ar as cs, Tt as curry, mr as dateFormat, gr as dayjs, hr as dayjsFormat, Et as debounce, Dt as defaultTo, Ot as defaults, kt as defaultsDeep, At as difference, Nr as div, hi as easing, jt as escape, yr as fileRead, br as fileToDataURL, xr as fillNBSP, An as fillRef, Mt as findKey, oi as findNodeBy, ti as fixedWidth, Nt as flatten, Pt as flattenDeep, Ft as flow, Bn as focusAtEnd, Z as forceReflow, Z as reflow, It as get, Vn as getBody, Hn as getBodyContainer, si as getChildWithParentBy, Un as getDOM, Wn as getDocument, Gn as getDocumentElement, In as getElement, Kn as getElementCoordinates, qn as getElementOuterSize, Jn as getHead, Sr as getHighlightText, Cr as getHotkeyHandler, ci as getItemBy, li as getItemByID, ui as getLabelFromDictionaryByValue, jn as getNodeRef, Mn as getReactElementRef, Tr as getScrollBarHeight, wr as getScrollBarSize, Er as getScrollBarWidth, Yn as getScrollElements, Dr as getStringLength, ni as getStyle, Xn as getTopLevelOverlayContainer, Lt as groupBy, Rt as has, zt as hasIn, Or as include, jr as initAllLineClamp, Bt as intersection, Mr as intersectionObserver, Vt as invert, Ht as invertBy, Ut as invoke, te as is32Bit, ne as isAllChinese, re as isArguments, ie as isArray, t as isArrayAndNotEmpty, n as isArrayBuffer, r as isArrayEmpty, i as isArrayLike, a as isArrayLikeObject, o as isAscii, s as isAsyncFunction, c as isBase64, l as isBigInt, u as isBlob, d as isBoolean, f as isBuffer, p as isChinese, m as isColorValue, h as isColorValue_, g as isCompositeTypeElement, _ as isDataURI, v as isDate, y as isDayjs, b as isElement, x as isEmail, S as isEmpty, C as isEmptyArray, w as isEmptyChildren, T as isEmptyObject, E as isEmptyReactNode, D as isEmptyString, O as isEmptyValue, k as isEqual, A as isEqualWith, j as isError, M as isEventTarget, N as isExist, P as isFalse, F as isFile, I as isFinite, L as isFullWidth, R as isFunction, z as isHSL, B as isHalfWidth, V as isHash, H as isHexColor, U as isIMEI, W as isIP, G as isIPRange, K as isIdentityCard, q as isInteger, J as isJSON, Y as isJSON_String, ae as isJWT, oe as isLength, se as isMACAddress, ce as isMD5, le as isMap, ue as isMatch, de as isMatchWith, fe as isMimeType, pe as isMobilePhone, me as isMobilePhoneLocales, he as isNaN, ge as isNative, _e as isNil, ve as isNonNullable, ye as isNotFound, be as isNull, xe as isNullOrUndefined, Se as isNumber, Ce as isNumberOrString, we as isObject, Te as isObjectLike, Ee as isPlainObject, De as isPort, Oe as isPresent, ke as isPrimitive, Ae as isPromise, je as isReact18, Me as isReact19, Ne as isReactClassComponent, Pe as isReactComponent, Fe as isReactComponentAndNotFragment, Ie as isReactFunctionalComponent, Le as isReadableStream, Re as isRegExp, ze as isRgbColor, Be as isSafeInteger, Ve as isSemVer, He as isServerRendering, Ue as isSet, We as isSlug, Ge as isSparseArray, Ke as isString, qe as isStringAndExist, Je as isStringOrNumber, Ye as isStrongPassword, Xe as isSymbol, Ze as isThenable, Qe as isTrue, $e as isTypedArray, et as isURL, tt as isUUID, nt as isUndefined, rt as isUndefinedOrNull, it as isVariableWidth, at as isWeakMap, ot as isWeakSet, st as isWindow, ct as isZero, Wt as kebabCase, Ai as keyboardCode, Gt as mapKeys, Kt as mapValues, Pr as math, qt as mean, Jt as memoize, Yt as merge, er as mergeProps, Xt as mergeWith, Rr as mergedToString, Fr as minus, Zt as move, zr as mutationObserver, Qt as noop, Zn as off, $t as omit, en as omitBy, Qn as on, tn as orderBy, Br as padEnd, Vr as padStart, $n as parentContainsChildren, nn as partition, rn as pick, an as pickBy, Hr as pickDataAttributes, ki as pinyin, Ir as plus, on as pullAll, Yr as removeDarkTheme, qr as render, ei as replaceEmptyWithHyphen, Ur as resizeObserver, X as result, sn as sample, cn as sampleSize, Wr as saveAs, Ln as screenfull, Gr as scrollIntoViewIfNeeded, di as searchTree, ln as set, Kr as setCreateRoot, Jr as setDarkTheme, Xr as setDir, Zr as setPrimaryColor, Qr as setTheme, ri as setTransformStyle, un as setWith, dn as shuffle, fn as snakeCase, pn as sortBy, mn as startCase, Nn as supportNodeRef, Pn as supportRef, hn as throttle, Lr as times, ii as tinycolor, ai as toArray, gn as toPath, fi as tree, _n as truncate, pi as tunnel, vn as union, yn as uniq, bn as uniqueId, xn as unset, Sn as update, Cn as updateWith, wn as upperCase, Tn as upperFirst, Fn as useComposeRef, $ as utils_exports, kr as uuid, Ar as uuidv4, Di as validatorLocale, Oi as warning, En as without, Dn as xor, On as zip };
367
372
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-07-31 11:39:58 星期五 山东省济南市 */
1
+ /* 潘启宝 2026-08-08 11:09:06 星期六 山东省济南市 */
2
2
  import { getHead as e } from "./dom.js";
3
3
  import { uuid as t } from "./uuid.js";
4
4
  import { UI_COMMON_PREFIX as n } from "@unicom-cloud/utils/constants/ui";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-07-31 11:39:58 星期五 山东省济南市 */
1
+ /* 潘启宝 2026-08-08 11:09:06 星期六 山东省济南市 */
2
2
  import { isFunction as e } from "./is.js";
3
3
  import t from "lodash/throttle";
4
4
  //#region components/common/utils/intersectionObserver.ts
package/utils/is.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-07-31 11:39:58 星期五 山东省济南市 */
1
+ /* 潘启宝 2026-08-08 11:09:06 星期六 山东省济南市 */
2
2
  import { __exportAll as e, __reExport as t } from "../.virtual/_rolldown/runtime.js";
3
3
  import n, { isValidElement as r } from "react";
4
4
  import { isBrowser as i } from "@unicom-cloud/utils/constants/platform";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-07-31 11:39:58 星期五 山东省济南市 */
1
+ /* 潘启宝 2026-08-08 11:09:06 星期六 山东省济南市 */
2
2
  import * as e from "@unicom-cloud/utils/constants/keyboardCode";
3
3
  export * from "@unicom-cloud/utils/constants/keyboardCode";
4
4
  //#region components/common/utils/keyboardCode.ts
package/utils/lodash.d.ts CHANGED
@@ -7,6 +7,7 @@ import capitalize from 'lodash/capitalize';
7
7
  import castArray from 'lodash/castArray';
8
8
  import chain from 'lodash/chain';
9
9
  import chunk from 'lodash/chunk';
10
+ import clamp from 'lodash/clamp';
10
11
  import clone from 'lodash/clone';
11
12
  import cloneDeep from 'lodash/cloneDeep';
12
13
  import cloneDeepWith from 'lodash/cloneDeepWith';
@@ -26,10 +27,14 @@ import flow from 'lodash/flow';
26
27
  import get from 'lodash/get';
27
28
  import groupBy from 'lodash/groupBy';
28
29
  import has from 'lodash/has';
30
+ import hasIn from 'lodash/hasIn';
29
31
  import intersection from 'lodash/intersection';
30
32
  import invert from 'lodash/invert';
31
33
  import invertBy from 'lodash/invertBy';
34
+ import invoke from 'lodash/invoke';
32
35
  import kebabCase from 'lodash/kebabCase';
36
+ import mapKeys from 'lodash/mapKeys';
37
+ import mapValues from 'lodash/mapValues';
33
38
  import mean from 'lodash/mean';
34
39
  import memoize from 'lodash/memoize';
35
40
  import merge from 'lodash/merge';
@@ -65,4 +70,4 @@ import upperFirst from 'lodash/upperFirst';
65
70
  import without from 'lodash/without';
66
71
  import xor from 'lodash/xor';
67
72
  import zip from 'lodash/zip';
68
- export { assign, assignIn, at, camelCase, capitalize, castArray, chain, chunk, clone, cloneDeep, cloneDeepWith, cloneWith, compact, curry, debounce, defaults, defaultsDeep, defaultTo, difference, escape, findKey, flatten, flattenDeep, flow, get, groupBy, has, intersection, invert, invertBy, kebabCase, mean, memoize, merge, mergeWith, move, noop, omit, omitBy, orderBy, partition, pick, pickBy, pullAll, result, sample, sampleSize, set, setWith, shuffle, snakeCase, sortBy, startCase, throttle, toPath, truncate, union, uniq, uniqueId, unset, update, updateWith, upperCase, upperFirst, without, xor, zip, };
73
+ export { assign, assignIn, at, camelCase, capitalize, castArray, chain, chunk, clamp, clone, cloneDeep, cloneDeepWith, cloneWith, compact, curry, debounce, defaults, defaultsDeep, defaultTo, difference, escape, findKey, flatten, flattenDeep, flow, get, groupBy, has, hasIn, intersection, invert, invertBy, invoke, kebabCase, mapKeys, mapValues, mean, memoize, merge, mergeWith, move, noop, omit, omitBy, orderBy, partition, pick, pickBy, pullAll, result, sample, sampleSize, set, setWith, shuffle, snakeCase, sortBy, startCase, throttle, toPath, truncate, union, uniq, uniqueId, unset, update, updateWith, upperCase, upperFirst, without, xor, zip, };