@unicom-cloud/ui-common 0.1.53 → 0.1.55
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.
- package/.virtual/_rolldown/runtime.js +2 -3
- package/animation/Animation.js +2 -3
- package/animation/constants.js +2 -3
- package/animation/context.js +2 -3
- package/animation/index.js +2 -3
- package/animation/style/index.js +1 -1
- package/animation/utils.js +1 -1
- package/base/Base.js +2 -3
- package/base/constants.js +1 -1
- package/base/context.js +2 -3
- package/base/index.js +2 -3
- package/base/style/index.js +1 -1
- package/base/utils.js +1 -1
- package/border-beam/BorderBeam.js +2 -3
- package/border-beam/Effect.js +2 -3
- package/border-beam/constants.js +2 -3
- package/border-beam/context.js +2 -3
- package/border-beam/hooks/useBorderSize.js +2 -3
- package/border-beam/hooks/useChildDom.js +2 -3
- package/border-beam/index.js +2 -3
- package/border-beam/style/index.js +1 -1
- package/border-beam/utils.js +2 -3
- package/development/Development.js +2 -3
- package/development/constants.js +1 -1
- package/development/context.js +2 -3
- package/development/index.js +2 -3
- package/development/style/index.js +1 -1
- package/development/utils.js +1 -1
- package/empty/Empty.js +2 -3
- package/empty/constants.js +1 -1
- package/empty/context.js +2 -3
- package/empty/index.js +2 -3
- package/empty/style/index.js +1 -1
- package/empty/utils.js +1 -1
- package/flex/Flex.js +18 -17
- package/flex/FlexVertical.js +2 -3
- package/flex/constants.js +1 -1
- package/flex/context.js +2 -3
- package/flex/index.js +2 -3
- package/flex/style/index.js +1 -1
- package/flex/utils.js +2 -3
- package/grid/Grid.js +2 -3
- package/grid/Item.js +2 -3
- package/grid/constants.js +1 -1
- package/grid/context.js +2 -3
- package/grid/index.js +2 -3
- package/grid/style/index.js +1 -1
- package/grid/utils.js +2 -3
- package/higher-order/index.js +1 -4
- package/higher-order/with-speech-synthesis/context.js +2 -3
- package/higher-order/with-speech-synthesis/index.js +2 -3
- package/higher-order/with-speech-synthesis/style/index.js +1 -1
- package/higher-order/with-speech-synthesis/withSpeechSynthesis.js +2 -3
- package/hoc/withContext.js +2 -3
- package/hooks/create-deep-compare-effect/index.js +2 -3
- package/hooks/create-update-effect/index.js +2 -3
- package/hooks/create-use-storage-state/index.js +2 -3
- package/hooks/index.d.ts +1 -0
- package/hooks/index.js +14 -13
- package/hooks/use-async-effect/index.js +2 -3
- package/hooks/use-boolean/index.js +2 -3
- package/hooks/use-click-away/index.js +2 -3
- package/hooks/use-computed-state/index.js +2 -3
- package/hooks/use-controllable-value/index.js +2 -3
- package/hooks/use-cookie-state/index.js +2 -3
- package/hooks/use-count-down/index.js +2 -3
- package/hooks/use-counter/index.js +2 -3
- package/hooks/use-create/index.js +2 -3
- package/hooks/use-creation/index.js +3 -4
- package/hooks/use-debounce/index.js +2 -3
- package/hooks/use-debounce-effect/index.js +2 -3
- package/hooks/use-debounce-fn/index.js +2 -3
- package/hooks/use-deep-compare-effect/index.js +2 -3
- package/hooks/use-deep-compare-layout-effect/index.js +2 -3
- package/hooks/use-document-visibility/index.js +2 -3
- package/hooks/use-drag/index.js +2 -3
- package/hooks/use-drag-move/index.js +2 -3
- package/hooks/use-drop/index.js +3 -14
- package/hooks/use-effect-event/index.js +2 -3
- package/hooks/use-event/index.js +2 -3
- package/hooks/use-event-emitter/index.js +2 -3
- package/hooks/use-event-listener/index.js +2 -3
- package/hooks/use-event-target/index.js +2 -3
- package/hooks/use-external/index.js +2 -3
- package/hooks/use-favicon/index.js +2 -3
- package/hooks/use-focus-within/index.js +2 -3
- package/hooks/use-force-update/index.js +2 -3
- package/hooks/use-fullscreen/index.js +5 -15
- package/hooks/use-get-state/index.js +2 -3
- package/hooks/use-history-travel/index.js +2 -3
- package/hooks/use-hover/index.js +2 -3
- package/hooks/use-id/index.js +2 -3
- package/hooks/use-in-viewport/index.js +17 -18
- package/hooks/use-infinite-scroll/index.js +2 -3
- package/hooks/use-intersection-observer/index.js +2 -3
- package/hooks/use-intersection-observers/index.js +19 -20
- package/hooks/use-interval/index.js +2 -3
- package/hooks/use-is-first-render/index.js +2 -3
- package/hooks/use-isomorphic-layout-effect/index.js +2 -3
- package/hooks/use-key-press/index.js +2 -3
- package/hooks/use-keyboard-event/index.js +2 -3
- package/hooks/use-latest/index.js +2 -3
- package/hooks/use-listen-window-resize/index.js +2 -3
- package/hooks/use-local-storage-state/index.js +2 -3
- package/hooks/use-lock-fn/index.js +2 -3
- package/hooks/use-long-press/index.js +2 -3
- package/hooks/use-map/index.js +2 -3
- package/hooks/use-media/index.js +2 -3
- package/hooks/use-memo/index.js +2 -3
- package/hooks/use-memoized-fn/index.js +2 -3
- package/hooks/use-merge-component-props/index.js +2 -3
- package/hooks/use-merge-value/index.js +2 -3
- package/hooks/use-mobile/index.js +2 -3
- package/hooks/use-mount/index.js +2 -3
- package/hooks/use-mouse/index.js +2 -3
- package/hooks/use-move/index.js +1 -4
- package/hooks/use-mutation-observer/index.js +2 -3
- package/hooks/use-mutation-observers/index.js +19 -20
- package/hooks/use-network/index.js +2 -3
- package/hooks/use-online-status/index.js +2 -3
- package/hooks/use-overflow-hidden/index.js +2 -3
- package/hooks/use-override-ref/index.js +2 -3
- package/hooks/use-pagination/index.js +2 -3
- package/hooks/use-paste-file/index.d.ts +10 -0
- package/hooks/use-paste-file/index.js +29 -0
- package/hooks/use-paste-image/index.d.ts +2 -3
- package/hooks/use-paste-image/index.js +8 -20
- package/hooks/use-persist-callback/index.js +2 -3
- package/hooks/use-prefers-color-scheme-dark/index.js +2 -3
- package/hooks/use-previous/index.js +2 -3
- package/hooks/use-raf-interval/index.js +2 -3
- package/hooks/use-raf-state/index.js +2 -3
- package/hooks/use-raf-timeout/index.js +2 -3
- package/hooks/use-reactive/index.js +2 -3
- package/hooks/use-ref-latest/index.js +2 -3
- package/hooks/use-ref-map/index.js +2 -3
- package/hooks/use-refs/index.js +2 -3
- package/hooks/use-request/index.js +2 -3
- package/hooks/use-request/src/Fetch.js +2 -3
- package/hooks/use-request/src/plugins/useAutoRunPlugin.js +2 -3
- package/hooks/use-request/src/plugins/useCachePlugin.js +3 -4
- package/hooks/use-request/src/plugins/useDebouncePlugin.js +2 -3
- package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +2 -3
- package/hooks/use-request/src/plugins/usePollingPlugin.js +2 -3
- package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +2 -3
- package/hooks/use-request/src/plugins/useRetryPlugin.js +2 -3
- package/hooks/use-request/src/plugins/useThrottlePlugin.js +2 -3
- package/hooks/use-request/src/useRequest.js +2 -3
- package/hooks/use-request/src/useRequestImplement.js +2 -3
- package/hooks/use-request/src/utils/cache.js +2 -3
- package/hooks/use-request/src/utils/cachePromise.js +2 -3
- package/hooks/use-request/src/utils/cacheSubscribe.js +2 -3
- package/hooks/use-request/src/utils/isDocumentVisible.js +2 -3
- package/hooks/use-request/src/utils/isOnline.js +2 -3
- package/hooks/use-request/src/utils/limit.js +2 -3
- package/hooks/use-request/src/utils/subscribeFocus.js +2 -3
- package/hooks/use-request/src/utils/subscribeReVisible.js +2 -3
- package/hooks/use-reset-state/index.js +2 -3
- package/hooks/use-resize-observer/index.js +2 -3
- package/hooks/use-resize-observers/index.js +19 -20
- package/hooks/use-responsive/index.js +2 -3
- package/hooks/use-safe-state/index.js +2 -3
- package/hooks/use-scroll/index.js +2 -3
- package/hooks/use-selections/index.js +2 -3
- package/hooks/use-session-storage-state/index.js +2 -3
- package/hooks/use-set/index.js +2 -3
- package/hooks/use-set-state/index.js +2 -3
- package/hooks/use-size/index.js +2 -3
- package/hooks/use-state-callback/index.js +11 -12
- package/hooks/use-state-with-promise/index.js +2 -3
- package/hooks/use-sync-state/index.js +2 -3
- package/hooks/use-text-selection/index.js +2 -3
- package/hooks/use-theme/index.js +2 -3
- package/hooks/use-throttle/index.js +2 -3
- package/hooks/use-throttle-effect/index.js +2 -3
- package/hooks/use-throttle-fn/index.js +2 -3
- package/hooks/use-throttle-fn-with-raf/index.js +2 -3
- package/hooks/use-timeout/index.js +2 -3
- package/hooks/use-title/index.js +2 -3
- package/hooks/use-toggle/index.js +2 -3
- package/hooks/use-tracked-effect/index.js +2 -3
- package/hooks/use-unmount/index.js +2 -3
- package/hooks/use-unmounted-ref/index.js +2 -3
- package/hooks/use-update/index.js +2 -3
- package/hooks/use-update-effect/index.js +2 -3
- package/hooks/use-update-layout-effect/index.js +2 -3
- package/hooks/use-url-state/index.js +2 -3
- package/hooks/use-virtual-list/index.js +3 -8
- package/hooks/use-watch/index.js +2 -3
- package/hooks/use-web-socket/index.js +3 -4
- package/hooks/use-why-did-you-update/index.js +2 -3
- package/hooks/use-window-size/index.js +2 -3
- package/hooks/utils/createEffectWithTarget.js +3 -8
- package/hooks/utils/depsAreSame.js +2 -3
- package/hooks/utils/depsEqual.js +2 -3
- package/hooks/utils/domTarget.js +2 -3
- package/hooks/utils/getDocumentOrShadow.js +2 -3
- package/hooks/utils/index.js +2 -3
- package/hooks/utils/isAppleDevice.js +2 -3
- package/hooks/utils/isBrowser.js +2 -3
- package/hooks/utils/isDev.js +2 -3
- package/hooks/utils/rect.js +2 -3
- package/hooks/utils/useDeepCompareWithTarget.js +2 -3
- package/hooks/utils/useEffectWithTarget.js +2 -3
- package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +2 -3
- package/hooks/utils/useLayoutEffectWithTarget.js +2 -3
- package/icons/file/File.js +2 -3
- package/icons/file/context.js +2 -3
- package/icons/file/index.js +2 -3
- package/icons/file/style/index.js +1 -1
- package/index.js +554 -557
- package/morphicons/core/interpolate.js +2 -3
- package/morphicons/core/normalize.js +2 -3
- package/morphicons/core/parse.js +0 -1
- package/morphicons/core/plan.js +4 -11
- package/morphicons/core/resample.js +2 -3
- package/morphicons/core/serialize.js +2 -3
- package/morphicons/core/spring.js +2 -3
- package/morphicons/dom/index.js +2 -3
- package/morphicons/index.js +1 -1
- package/morphicons/react/index.js +3 -4
- package/package.json +1 -1
- package/progress/Progress.js +40 -41
- package/progress/constants.js +1 -1
- package/progress/context.js +1 -1
- package/progress/index.js +2 -3
- package/progress/style/index.js +1 -1
- package/progress/utils.js +1 -1
- package/resize-observer/Collection.js +2 -3
- package/resize-observer/ResizeObserver.js +2 -3
- package/resize-observer/SingleObserver.js +2 -3
- package/resize-observer/constants.js +1 -1
- package/resize-observer/context.js +2 -3
- package/resize-observer/index.js +2 -3
- package/resize-observer/observerUtil.js +2 -3
- package/resize-observer/style/index.js +1 -1
- package/resize-observer/utils.js +1 -1
- package/space/Space.js +42 -42
- package/space/SpaceVertical.js +7 -7
- package/space/constants.js +1 -1
- package/space/context.js +7 -7
- package/space/index.js +2 -3
- package/space/style/index.js +1 -1
- package/space/utils.js +1 -1
- package/suspense-fallback-test/SuspenseFallbackTest.js +2 -3
- package/suspense-fallback-test/constants.js +1 -1
- package/suspense-fallback-test/context.js +2 -3
- package/suspense-fallback-test/index.js +2 -3
- package/suspense-fallback-test/style/index.js +1 -1
- package/suspense-fallback-test/utils.js +1 -1
- package/test.js +2 -3
- package/timer/Timer.js +2 -3
- package/timer/constants.js +1 -1
- package/timer/context.js +2 -3
- package/timer/index.js +2 -3
- package/timer/style/index.js +1 -1
- package/timer/utils.js +1 -1
- package/transition/Transition.js +2 -3
- package/transition/TransitionCSS.js +2 -3
- package/transition/TransitionGroup.js +2 -3
- package/transition/TransitionStyle.js +2 -3
- package/transition/constants.js +2 -3
- package/transition/context.js +2 -3
- package/transition/index.js +2 -3
- package/transition/style/index.js +1 -1
- package/transition/utils.js +2 -3
- package/utils/call.d.ts +1 -0
- package/utils/call.js +3 -0
- package/utils/callbackOriginRef.js +2 -3
- package/utils/caseName.js +1 -4
- package/utils/className.js +1 -4
- package/utils/confetti.js +3 -4
- package/utils/constants.js +2 -3
- package/utils/copy.js +2 -3
- package/utils/createRoot.js +16 -17
- package/utils/css.js +1 -1
- package/utils/date.js +1 -4
- package/utils/dayjs.js +12 -12
- package/utils/document.js +2 -3
- package/utils/dom.js +2 -3
- package/utils/emitter.js +1 -4
- package/utils/file.js +1 -1
- package/utils/fileRead.js +1 -4
- package/utils/fileToDataURL.js +1 -4
- package/utils/fillNBSP.js +2 -3
- package/utils/getCompatProp.js +2 -3
- package/utils/getElement.js +14 -15
- package/utils/getHighlightText.js +2 -3
- package/utils/getHotkeyHandler.js +2 -3
- package/utils/getPrefixCls.js +2 -3
- package/utils/getScrollBarHeight.js +2 -3
- package/utils/getScrollBarSize.js +2 -3
- package/utils/getScrollBarWidth.js +2 -3
- package/utils/getScrollParent.js +2 -3
- package/utils/getStringLength.js +2 -3
- package/utils/getUrlSearchParam.js +2 -3
- package/utils/index.d.ts +1 -3
- package/utils/index.js +268 -273
- package/utils/initAllLineClamp.js +2 -3
- package/utils/injectLineClamp.js +2 -3
- package/utils/intersectionObserver.js +2 -3
- package/utils/is.js +2 -3
- package/utils/keyboardCode.js +2 -3
- package/utils/lodash.d.ts +2 -1
- package/utils/lodash.js +12 -11
- package/utils/math.js +1 -4
- package/utils/mergeProps.js +2 -3
- package/utils/mergedToString.js +2 -3
- package/utils/migrateLegacyProps.js +2 -3
- package/utils/mutationObserver.js +2 -3
- package/utils/names.js +22 -3
- package/utils/object.js +2 -3
- package/utils/omit.js +2 -3
- package/utils/pad.js +2 -3
- package/utils/pick.js +2 -3
- package/utils/pinyin.js +1 -4
- package/utils/react19Adapter.js +2 -3
- package/utils/reactNode.js +2 -3
- package/utils/ref.js +2 -3
- package/utils/resizeObserver.js +2 -3
- package/utils/saveAs.js +1 -4
- package/utils/screenfull.js +1 -4
- package/utils/scrollIntoViewIfNeeded.js +2 -3
- package/utils/scrollTo.js +2 -3
- package/utils/setDarkTheme.js +2 -3
- package/utils/setDir.js +2 -3
- package/utils/setPrimaryColor.js +2 -3
- package/utils/setTheme.js +2 -3
- package/utils/string.js +2 -3
- package/utils/style.js +2 -3
- package/utils/tinycolor.js +2 -3
- package/utils/toArray.js +2 -3
- package/utils/tree.js +1 -4
- package/utils/tunnel.js +2 -3
- package/utils/uuid.js +1 -4
- package/utils/validate.d.ts +2 -2
- package/utils/validate.js +1 -4
- package/utils/warning.js +2 -3
- package/version/index.js +11 -12
- package/utils/callOrReturn.d.ts +0 -1
- package/utils/callOrReturn.js +0 -6
- package/utils/include.d.ts +0 -3
- package/utils/include.js +0 -13
- package/utils/tween.d.ts +0 -1
- package/utils/tween.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
|
-
|
|
3
|
+
// components/common/morphicons/core/interpolate.ts
|
|
4
4
|
function e(e) {
|
|
5
5
|
return e.items.map(() => new Float64Array(2 * e.n));
|
|
6
6
|
}
|
|
@@ -23,7 +23,6 @@ function n(e, t, n) {
|
|
|
23
23
|
for (let e = 0; e < o; e++) a[2 * e] = i.a[2 * e] + (i.bO[2 * e] - i.a[2 * e]) * t, a[2 * e + 1] = i.a[2 * e + 1] + (i.bO[2 * e + 1] - i.a[2 * e + 1]) * t;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
//#endregion
|
|
27
26
|
export { e as allocOutputs, n as interpLinear, t as interpPolar };
|
|
28
27
|
/* 欲穷千里目,更上一层楼 */
|
|
29
28
|
/* 独立思考,明辨是非 */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { parsePath as e } from "./parse.js";
|
|
4
4
|
import { cubicsToPathD as t } from "./serialize.js";
|
|
5
|
-
|
|
5
|
+
// components/common/morphicons/core/normalize.ts
|
|
6
6
|
var n = 4 / 3 * Math.tan(Math.PI / 8), r = 2 * Math.PI;
|
|
7
7
|
function i(e, t) {
|
|
8
8
|
let n = [e, t], i = e, a = t, o = (e, t, r, o, s, c) => {
|
|
@@ -160,7 +160,6 @@ function p(e, n, r = 24) {
|
|
|
160
160
|
for (let { pts: e } of p) for (let t = 0; t < e.length; t += 2) e[t] = e[t] * c + l, e[t + 1] = e[t + 1] * c + u;
|
|
161
161
|
return t(p);
|
|
162
162
|
}
|
|
163
|
-
//#endregion
|
|
164
163
|
export { n as KAPPA, p as fitIcon, d as iconToCubics };
|
|
165
164
|
/* 欲穷千里目,更上一层楼 */
|
|
166
165
|
/* 独立思考,明辨是非 */
|
package/morphicons/core/parse.js
CHANGED
package/morphicons/core/plan.js
CHANGED
|
@@ -86,11 +86,8 @@ function s(e) {
|
|
|
86
86
|
}
|
|
87
87
|
let n = Array.from({ length: t }, (e, t) => t), r = n.slice(), i = Infinity, a = (n, o, s) => {
|
|
88
88
|
if (!(s >= i)) {
|
|
89
|
-
if (o === t)
|
|
90
|
-
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
for (let r = o; r < t; r++) [n[o], n[r]] = [n[r], n[o]], a(n, o + 1, s + e[o][n[o]]), [n[o], n[r]] = [n[r], n[o]];
|
|
89
|
+
if (o === t) i = s, r = n.slice();
|
|
90
|
+
else for (let r = o; r < t; r++) [n[o], n[r]] = [n[r], n[o]], a(n, o + 1, s + e[o][n[o]]), [n[o], n[r]] = [n[r], n[o]];
|
|
94
91
|
}
|
|
95
92
|
};
|
|
96
93
|
return a(n, 0, 0), r;
|
|
@@ -118,11 +115,8 @@ function c(e) {
|
|
|
118
115
|
}
|
|
119
116
|
let r = null, i = Infinity, a = Array(t), o = Array(n).fill(0), s = (c, l, u) => {
|
|
120
117
|
if (!(l >= i || n - u > t - c)) {
|
|
121
|
-
if (c === t)
|
|
122
|
-
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
for (let t = 0; t < n; t++) a[c] = t, o[t]++, s(c + 1, l + e[c][t], u + +(o[t] === 1)), o[t]--;
|
|
118
|
+
if (c === t) i = l, r = a.slice();
|
|
119
|
+
else for (let t = 0; t < n; t++) a[c] = t, o[t]++, s(c + 1, l + e[c][t], u + +(o[t] === 1)), o[t]--;
|
|
126
120
|
}
|
|
127
121
|
};
|
|
128
122
|
if (s(0, 0, 0), !r) throw Error("morphicons: no valid surjection (B < S)");
|
|
@@ -192,7 +186,6 @@ function u(e, t) {
|
|
|
192
186
|
n: f
|
|
193
187
|
};
|
|
194
188
|
}
|
|
195
|
-
//#endregion
|
|
196
189
|
export { a as alignPair, u as buildPlan, e as centroid, t as polyLen, i as procrustes, n as reversePts, r as rotatePts };
|
|
197
190
|
/* 欲穷千里目,更上一层楼 */
|
|
198
191
|
/* 独立思考,明辨是非 */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { iconToCubics as e } from "./normalize.js";
|
|
4
|
-
|
|
4
|
+
// components/common/morphicons/core/resample.ts
|
|
5
5
|
var t = Math.PI / 8, n = [
|
|
6
6
|
.18343464249564978,
|
|
7
7
|
.525532409916329,
|
|
@@ -126,7 +126,6 @@ function d(t, n = 64) {
|
|
|
126
126
|
closed: e.closed
|
|
127
127
|
}));
|
|
128
128
|
}
|
|
129
|
-
//#endregion
|
|
130
129
|
export { t as CORNER_THRESHOLD, c as detectCorners, d as resampleIcon, u as resamplePath };
|
|
131
130
|
/* 欲穷千里目,更上一层楼 */
|
|
132
131
|
/* 独立思考,明辨是非 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
|
-
|
|
3
|
+
// components/common/morphicons/core/serialize.ts
|
|
4
4
|
function e(e) {
|
|
5
5
|
return String(Math.round(e * 100) / 100);
|
|
6
6
|
}
|
|
@@ -26,7 +26,6 @@ function r(e) {
|
|
|
26
26
|
}
|
|
27
27
|
return t;
|
|
28
28
|
}
|
|
29
|
-
//#endregion
|
|
30
29
|
export { r as cubicsToPathD, t as serialize };
|
|
31
30
|
/* 欲穷千里目,更上一层楼 */
|
|
32
31
|
/* 独立思考,明辨是非 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
|
-
|
|
3
|
+
// components/common/morphicons/core/spring.ts
|
|
4
4
|
var e = class {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.x = 1, this.v = 0, this.k = 250, this.c = 24;
|
|
@@ -33,7 +33,6 @@ var e = class {
|
|
|
33
33
|
c: 14
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
-
//#endregion
|
|
37
36
|
export { t as SPRING_PRESETS, e as Spring };
|
|
38
37
|
/* 欲穷千里目,更上一层楼 */
|
|
39
38
|
/* 独立思考,明辨是非 */
|
package/morphicons/dom/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { allocOutputs as e, interpPolar as t } from "../core/interpolate.js";
|
|
4
4
|
import { cubicsToPathD as n, serialize as r } from "../core/serialize.js";
|
|
@@ -6,7 +6,7 @@ import { iconToCubics as i } from "../core/normalize.js";
|
|
|
6
6
|
import { buildPlan as a } from "../core/plan.js";
|
|
7
7
|
import { resampleIcon as o } from "../core/resample.js";
|
|
8
8
|
import { SPRING_PRESETS as s, Spring as c } from "../core/spring.js";
|
|
9
|
-
|
|
9
|
+
// components/common/morphicons/dom/index.ts
|
|
10
10
|
var l = /* @__PURE__ */ new Set(), u = 0, d = -1;
|
|
11
11
|
function f(e) {
|
|
12
12
|
let t = d < 0 ? 0 : Math.min(Math.max((e - d) / 1e3, 0), .1);
|
|
@@ -105,7 +105,6 @@ function S(n, i, o) {
|
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
|
-
//#endregion
|
|
109
108
|
export { y as canonicalD, S as createMorph };
|
|
110
109
|
/* 欲穷千里目,更上一层楼 */
|
|
111
110
|
/* 独立思考,明辨是非 */
|
package/morphicons/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { allocOutputs as e, interpLinear as t, interpPolar as n } from "./core/interpolate.js";
|
|
4
4
|
import { cubicsToPathD as r, serialize as i } from "./core/serialize.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { allocOutputs as e, interpPolar as t } from "../core/interpolate.js";
|
|
4
4
|
import { serialize as n } from "../core/serialize.js";
|
|
@@ -7,7 +7,7 @@ import { resampleIcon as i } from "../core/resample.js";
|
|
|
7
7
|
import { canonicalD as a, createMorph as o } from "../dom/index.js";
|
|
8
8
|
import { forwardRef as s, useCallback as c, useEffect as l, useImperativeHandle as u, useLayoutEffect as d, useRef as f, useState as p } from "react";
|
|
9
9
|
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
10
|
-
|
|
10
|
+
// components/common/morphicons/react/index.tsx
|
|
11
11
|
var g = typeof document > "u" ? l : d;
|
|
12
12
|
function _(o, s, c) {
|
|
13
13
|
if (c <= 0) return a(o);
|
|
@@ -59,7 +59,7 @@ var v = s(function(e, t) {
|
|
|
59
59
|
let e = k.current ?? L(r);
|
|
60
60
|
if (!e) return;
|
|
61
61
|
let t = s ?? 0;
|
|
62
|
-
|
|
62
|
+
I.current && I.current[0] === r && I.current[1] === i || (I.current = [r, i], F.current = !1), t <= 0 ? (e.set(r), F.current = !1) : t >= 1 ? (e.set(i), F.current = !1) : (F.current ||= (e.set(r), !0), e.seek(i, t));
|
|
63
63
|
}, [
|
|
64
64
|
T,
|
|
65
65
|
r,
|
|
@@ -98,7 +98,6 @@ var v = s(function(e, t) {
|
|
|
98
98
|
})]
|
|
99
99
|
});
|
|
100
100
|
});
|
|
101
|
-
//#endregion
|
|
102
101
|
export { v as MorphIcon };
|
|
103
102
|
/* 欲穷千里目,更上一层楼 */
|
|
104
103
|
/* 独立思考,明辨是非 */
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@unicom-cloud/ui-common","version":"0.1.
|
|
1
|
+
{"name":"@unicom-cloud/ui-common","version":"0.1.55","dependencies":{"@unicom-cloud/utils":"^0.1.0","@unicom-cloud/icons":"^0.1.0","react-compiler-runtime":"^1.0.0"},"peerDependencies":{"dayjs":"^1.11.23","lodash":"^4.18.1","react":"^18.3.1","react-dom":"^18.3.1","react-is":"^18.3.1"},"type":"module","types":"./index.d.ts","main":"./index.js","bin":{"ui":"./test.js"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
|
package/progress/Progress.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { clamp as e } from "../utils/lodash.js";
|
|
4
4
|
import { getBody as t } from "../utils/dom.js";
|
|
5
5
|
import n from "../utils/getPrefixCls.js";
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
var
|
|
6
|
+
import { isArrayAndNotEmpty as r, isNumber as i, isUndefined as a } from "@unicom-cloud/utils/is";
|
|
7
|
+
// components/common/progress/Progress.ts
|
|
8
|
+
var o = {
|
|
9
9
|
status: null,
|
|
10
10
|
settings: {
|
|
11
11
|
parent: t(),
|
|
@@ -19,73 +19,72 @@ var a = {
|
|
|
19
19
|
trickleSpeed: 227
|
|
20
20
|
},
|
|
21
21
|
configure(e) {
|
|
22
|
-
return Object.assign(
|
|
22
|
+
return Object.assign(o.settings, e), o;
|
|
23
23
|
},
|
|
24
24
|
set(t) {
|
|
25
|
-
let n =
|
|
26
|
-
t = e(t,
|
|
27
|
-
let r =
|
|
28
|
-
return r.offsetWidth,
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
let n = o.isStarted();
|
|
26
|
+
t = e(t, o.settings.minimum, 1), o.status = t === 1 ? null : t;
|
|
27
|
+
let r = o.render(!n), i = o.settings.speed;
|
|
28
|
+
return r.offsetWidth, f(function(e) {
|
|
29
|
+
p(o.settings.bar, c(t, i)), t === 1 ? (r.offsetWidth, setTimeout(function() {
|
|
30
|
+
o.remove(), e();
|
|
31
31
|
}, i)) : setTimeout(e, i);
|
|
32
|
-
}),
|
|
32
|
+
}), o;
|
|
33
33
|
},
|
|
34
34
|
isStarted() {
|
|
35
|
-
return
|
|
35
|
+
return i(o.status);
|
|
36
36
|
},
|
|
37
37
|
start() {
|
|
38
|
-
return
|
|
38
|
+
return o.status || o.set(0), o.settings.trickle && l(), o;
|
|
39
39
|
},
|
|
40
40
|
done(e) {
|
|
41
|
-
return e ||
|
|
41
|
+
return e || o.status ? o.inc(.3 + .5 * Math.random()).set(1) : o;
|
|
42
42
|
},
|
|
43
43
|
inc(t) {
|
|
44
|
-
let n =
|
|
45
|
-
if (!n) return
|
|
46
|
-
if (!(n > 1)) return
|
|
44
|
+
let n = o.status;
|
|
45
|
+
if (!n) return o.start();
|
|
46
|
+
if (!(n > 1)) return i(t) || (n >= 0 && n < .2 && (t = .1), n >= .2 && n < .5 && (t = .04), n >= .5 && n < .8 && (t = .02), n >= .8 && n < .99 && (t = .005)), t ??= 7e-4, n = e(n + t, 0, .994), o.set(n);
|
|
47
47
|
},
|
|
48
48
|
trickle() {
|
|
49
|
-
return
|
|
49
|
+
return o.inc();
|
|
50
50
|
},
|
|
51
51
|
render(e) {
|
|
52
|
-
if (
|
|
53
|
-
|
|
54
|
-
let t = e ? "-100" : o
|
|
55
|
-
return
|
|
52
|
+
if (o.settings.parent.contains(o.settings.progress)) return o.settings.progress;
|
|
53
|
+
o.settings.progress.hasAttribute("class"), o.settings.bar.hasAttribute("class"), o.settings.progress.setAttribute("class", n("progress")), o.settings.bar.setAttribute("class", n("progress-bar")), o.settings.progress.contains(o.settings.bar) || o.settings.progress.append(o.settings.bar);
|
|
54
|
+
let t = e ? "-100" : s(o.status || 0);
|
|
55
|
+
return p(o.settings.bar, c(0, t)), o.settings.parent.append(o.settings.progress), o.settings.progress;
|
|
56
56
|
},
|
|
57
57
|
remove() {
|
|
58
|
-
|
|
58
|
+
o.settings.progress.remove();
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
|
-
function
|
|
61
|
+
function s(e) {
|
|
62
62
|
return (-1 + e) * 100;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function c(e, t, n = o.settings.easing) {
|
|
65
65
|
return {
|
|
66
|
-
transform: `translate(${
|
|
66
|
+
transform: `translate(${s(e)}%,0)`,
|
|
67
67
|
transition: `transform ${t}ms ${n}`
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function l() {
|
|
71
71
|
setTimeout(() => {
|
|
72
|
-
|
|
73
|
-
},
|
|
72
|
+
o.status && (o.trickle(), l());
|
|
73
|
+
}, o.settings.trickleSpeed);
|
|
74
74
|
}
|
|
75
|
-
var
|
|
76
|
-
function
|
|
77
|
-
let e =
|
|
78
|
-
e && e(
|
|
75
|
+
var u = [];
|
|
76
|
+
function d() {
|
|
77
|
+
let e = u.shift();
|
|
78
|
+
e && e(d);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
|
|
80
|
+
function f(e) {
|
|
81
|
+
u.push(e), r(u) && d();
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
Object.entries(t).forEach(([t, n], r,
|
|
85
|
-
|
|
83
|
+
function p(e, t) {
|
|
84
|
+
Object.entries(t).forEach(([t, n], r, i) => {
|
|
85
|
+
a(n) || (e.style[t] = n);
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
-
|
|
89
|
-
export { a as default };
|
|
88
|
+
export { o as default };
|
|
90
89
|
/* 欲穷千里目,更上一层楼 */
|
|
91
90
|
/* 独立思考,明辨是非 */
|
package/progress/constants.js
CHANGED
package/progress/context.js
CHANGED
package/progress/index.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import "./style/index.js";
|
|
4
4
|
import e from "./Progress.js";
|
|
5
|
-
|
|
5
|
+
// components/common/progress/index.ts
|
|
6
6
|
var t = e;
|
|
7
|
-
//#endregion
|
|
8
7
|
export { t as default };
|
|
9
8
|
/* 欲穷千里目,更上一层楼 */
|
|
10
9
|
/* 独立思考,明辨是非 */
|
package/progress/style/index.js
CHANGED
package/progress/utils.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { CollectionContext as e } from "./context.js";
|
|
4
4
|
import { useCallback as t, useContext as n, useRef as r } from "react";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// components/common/resize-observer/Collection.tsx
|
|
7
7
|
function a({ children: a, onBatchResize: o }) {
|
|
8
8
|
let s = r(0), c = r([]), l = n(e), u = t((e, t, n) => {
|
|
9
9
|
s.current += 1;
|
|
@@ -21,7 +21,6 @@ function a({ children: a, onBatchResize: o }) {
|
|
|
21
21
|
children: a
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
24
|
export { a as Collection };
|
|
26
25
|
/* 欲穷千里目,更上一层楼 */
|
|
27
26
|
/* 独立思考,明辨是非 */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import e from "../hooks/use-merge-component-props/index.js";
|
|
4
4
|
import t from "../utils/toArray.js";
|
|
@@ -9,7 +9,7 @@ import { Collection as a } from "./Collection.js";
|
|
|
9
9
|
import o from "./SingleObserver.js";
|
|
10
10
|
import { createElement as s, forwardRef as c, useContext as l } from "react";
|
|
11
11
|
import { isFunction as u } from "@unicom-cloud/utils/is";
|
|
12
|
-
|
|
12
|
+
// components/common/resize-observer/ResizeObserver.tsx
|
|
13
13
|
function d(n, a) {
|
|
14
14
|
let c = l(r), d = e({
|
|
15
15
|
internalProps: n,
|
|
@@ -27,7 +27,6 @@ function d(n, a) {
|
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
var f = Object.assign(c(d), { ...n });
|
|
30
|
-
//#endregion
|
|
31
30
|
export { a as Collection, f as default };
|
|
32
31
|
/* 欲穷千里目,更上一层楼 */
|
|
33
32
|
/* 独立思考,明辨是非 */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { getReactElementRef as e, supportRef as t, useComposeRef as n } from "../utils/ref.js";
|
|
4
4
|
import { getDOM as r } from "../utils/dom.js";
|
|
@@ -6,7 +6,7 @@ import { CollectionContext as i } from "./context.js";
|
|
|
6
6
|
import { observe as a, unobserve as o } from "./observerUtil.js";
|
|
7
7
|
import { cloneElement as s, forwardRef as c, isValidElement as l, useCallback as u, useContext as d, useEffect as f, useImperativeHandle as p, useRef as m } from "react";
|
|
8
8
|
import { isFunction as h } from "@unicom-cloud/utils/is";
|
|
9
|
-
|
|
9
|
+
// components/common/resize-observer/SingleObserver.tsx
|
|
10
10
|
function g(c, g) {
|
|
11
11
|
let { children: _, disabled: v } = c, y = m(null), b = d(i), x = h(_), S = x ? _(y) : _, C = m({
|
|
12
12
|
width: -1,
|
|
@@ -47,7 +47,6 @@ function g(c, g) {
|
|
|
47
47
|
}
|
|
48
48
|
var _ = c(g);
|
|
49
49
|
_.displayName = "SingleObserver";
|
|
50
|
-
//#endregion
|
|
51
50
|
export { _ as default };
|
|
52
51
|
/* 欲穷千里目,更上一层楼 */
|
|
53
52
|
/* 独立思考,明辨是非 */
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { createContext as e } from "react";
|
|
4
|
-
|
|
4
|
+
// components/common/resize-observer/context.ts
|
|
5
5
|
var t = e(null), n = {}, r = e({});
|
|
6
|
-
//#endregion
|
|
7
6
|
export { t as CollectionContext, r as PropsContext, n as defaultProps };
|
|
8
7
|
/* 欲穷千里目,更上一层楼 */
|
|
9
8
|
/* 独立思考,明辨是非 */
|
package/resize-observer/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { COMPONENT_INFO_RESIZE_OBSERVER as e } from "../utils/names.js";
|
|
4
4
|
import { PropsContext as t } from "./context.js";
|
|
@@ -6,14 +6,13 @@ import { Collection as n } from "./Collection.js";
|
|
|
6
6
|
import r from "./SingleObserver.js";
|
|
7
7
|
import i from "./ResizeObserver.js";
|
|
8
8
|
import "./style/index.js";
|
|
9
|
-
|
|
9
|
+
// components/common/resize-observer/index.ts
|
|
10
10
|
var a = Object.assign(i, {
|
|
11
11
|
...e,
|
|
12
12
|
PropsContext: t,
|
|
13
13
|
Collection: n,
|
|
14
14
|
SingleObserver: r
|
|
15
15
|
});
|
|
16
|
-
//#endregion
|
|
17
16
|
export { n as Collection, a as default };
|
|
18
17
|
/* 欲穷千里目,更上一层楼 */
|
|
19
18
|
/* 独立思考,明辨是非 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
|
-
|
|
3
|
+
// components/common/resize-observer/observerUtil.ts
|
|
4
4
|
var e = /* @__PURE__ */ new Map();
|
|
5
5
|
function t(t) {
|
|
6
6
|
t.forEach((t) => {
|
|
@@ -18,7 +18,6 @@ function i(t, n) {
|
|
|
18
18
|
function a(t, n) {
|
|
19
19
|
e.has(t) && (e.get(t).delete(n), e.get(t).size || (r().unobserve(t), e.delete(t)));
|
|
20
20
|
}
|
|
21
|
-
//#endregion
|
|
22
21
|
export { i as observe, a as unobserve };
|
|
23
22
|
/* 欲穷千里目,更上一层楼 */
|
|
24
23
|
/* 独立思考,明辨是非 */
|
package/resize-observer/utils.js
CHANGED
package/space/Space.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { getDOM as e } from "../utils/dom.js";
|
|
4
4
|
import t from "../hooks/use-merge-component-props/index.js";
|
|
@@ -10,12 +10,13 @@ import { PropsContext as o, defaultProps as s } from "./context.js";
|
|
|
10
10
|
import c from "../flex/index.js";
|
|
11
11
|
import { Fragment as l, forwardRef as u, useContext as d, useImperativeHandle as f, useRef as p } from "react";
|
|
12
12
|
import { isPresent as m, isUndefined as h } from "@unicom-cloud/utils/is";
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
import { HORIZONTAL as g, VERTICAL as _ } from "@unicom-cloud/utils/constants/string";
|
|
14
|
+
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
15
|
+
// components/common/space/Space.tsx
|
|
16
|
+
function b(a, u) {
|
|
17
|
+
let b = d(o), { className: x, style: S, children: C, direction: w, justifyContent: T, alignItems: E, wrap: D, separator: O, rtl: k, inline: A, ...j } = t({
|
|
17
18
|
internalProps: a,
|
|
18
|
-
contextProps:
|
|
19
|
+
contextProps: b,
|
|
19
20
|
globalProps: {},
|
|
20
21
|
defaultProps: s,
|
|
21
22
|
legacyProps: {
|
|
@@ -23,54 +24,53 @@ function v(a, u) {
|
|
|
23
24
|
justifyContent: "justify",
|
|
24
25
|
alignItems: "align"
|
|
25
26
|
}
|
|
26
|
-
}),
|
|
27
|
-
|
|
27
|
+
}), M = E, N = [
|
|
28
|
+
g,
|
|
28
29
|
"row-reverse",
|
|
29
30
|
"row"
|
|
30
|
-
].includes(
|
|
31
|
+
].includes(w);
|
|
31
32
|
[
|
|
32
|
-
|
|
33
|
+
_,
|
|
33
34
|
"column-reverse",
|
|
34
35
|
"column"
|
|
35
|
-
].includes(
|
|
36
|
-
let
|
|
36
|
+
].includes(w);
|
|
37
|
+
let P = {
|
|
37
38
|
horizontal: "row",
|
|
38
39
|
vertical: "column"
|
|
39
|
-
}[
|
|
40
|
-
h(
|
|
41
|
-
let
|
|
42
|
-
[`${
|
|
43
|
-
[`${
|
|
44
|
-
[`${
|
|
45
|
-
[`${
|
|
46
|
-
},
|
|
40
|
+
}[w] ?? w;
|
|
41
|
+
h(M) && (M = N ? "center" : void 0);
|
|
42
|
+
let F = r("space"), I = n(F, {
|
|
43
|
+
[`${F}-${w}`]: w,
|
|
44
|
+
[`${F}-justify-content-${T}`]: T,
|
|
45
|
+
[`${F}-align-items-${M}`]: M,
|
|
46
|
+
[`${F}-rtl`]: k
|
|
47
|
+
}, D ? `${F}-wrap` : `${F}-no-wrap`, x), L = i(C), R = p(null);
|
|
47
48
|
return f(u, () => ({ getRootElement() {
|
|
48
|
-
return e(
|
|
49
|
-
} })), /* @__PURE__ */
|
|
50
|
-
ref:
|
|
51
|
-
style:
|
|
52
|
-
className:
|
|
53
|
-
wrap:
|
|
54
|
-
justifyContent:
|
|
55
|
-
alignItems:
|
|
56
|
-
direction:
|
|
57
|
-
rtl:
|
|
58
|
-
inline:
|
|
59
|
-
...
|
|
60
|
-
children:
|
|
61
|
-
let n = e?.key ?? t, r = m(
|
|
62
|
-
return /* @__PURE__ */
|
|
63
|
-
className: `${
|
|
64
|
-
children:
|
|
65
|
-
}), /* @__PURE__ */
|
|
66
|
-
className: `${
|
|
49
|
+
return e(R);
|
|
50
|
+
} })), /* @__PURE__ */ v(c, {
|
|
51
|
+
ref: R,
|
|
52
|
+
style: S,
|
|
53
|
+
className: I,
|
|
54
|
+
wrap: D,
|
|
55
|
+
justifyContent: T,
|
|
56
|
+
alignItems: M,
|
|
57
|
+
direction: P,
|
|
58
|
+
rtl: k,
|
|
59
|
+
inline: A,
|
|
60
|
+
...j,
|
|
61
|
+
children: L.map((e, t) => {
|
|
62
|
+
let n = e?.key ?? t, r = m(O) && t > 0;
|
|
63
|
+
return /* @__PURE__ */ y(l, { children: [r && /* @__PURE__ */ v("div", {
|
|
64
|
+
className: `${F}-item-separator`,
|
|
65
|
+
children: O
|
|
66
|
+
}), /* @__PURE__ */ v("div", {
|
|
67
|
+
className: `${F}-item`,
|
|
67
68
|
children: e
|
|
68
69
|
})] }, n);
|
|
69
70
|
})
|
|
70
71
|
});
|
|
71
72
|
}
|
|
72
|
-
var
|
|
73
|
-
|
|
74
|
-
export { y as default };
|
|
73
|
+
var x = Object.assign(u(b), { ...a });
|
|
74
|
+
export { x as default };
|
|
75
75
|
/* 欲穷千里目,更上一层楼 */
|
|
76
76
|
/* 独立思考,明辨是非 */
|