@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
|
+
// \0rolldown/runtime.js
|
|
4
4
|
var e = Object.defineProperty, t = Object.getOwnPropertyDescriptor, n = Object.getOwnPropertyNames, r = Object.prototype.hasOwnProperty, i = (t, n) => {
|
|
5
5
|
let r = {};
|
|
6
6
|
for (var i in t) e(r, i, {
|
|
@@ -15,7 +15,6 @@ var e = Object.defineProperty, t = Object.getOwnPropertyDescriptor, n = Object.g
|
|
|
15
15
|
});
|
|
16
16
|
return i;
|
|
17
17
|
}, o = (e, t, n) => (a(e, t, "default"), n && a(n, t, "default"));
|
|
18
|
-
//#endregion
|
|
19
18
|
export { i as __exportAll, o as __reExport };
|
|
20
19
|
/* 欲穷千里目,更上一层楼 */
|
|
21
20
|
/* 独立思考,明辨是非 */
|
package/animation/Animation.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import e from "../hooks/use-create/index.js";
|
|
4
4
|
import t from "../hooks/use-update-effect/index.js";
|
|
@@ -13,7 +13,7 @@ import u, { PropsContext as d, defaultProps as f } from "./context.js";
|
|
|
13
13
|
import { forwardRef as p, isValidElement as m, useContext as h, useEffect as g, useImperativeHandle as _, useLayoutEffect as v, useRef as y, useTransition as b } from "react";
|
|
14
14
|
import { isFunction as x } from "@unicom-cloud/utils/is";
|
|
15
15
|
import { jsx as S } from "react/jsx-runtime";
|
|
16
|
-
|
|
16
|
+
// components/common/animation/Animation.tsx
|
|
17
17
|
var { setTimeout: C, clearTimeout: w, requestAnimationFrame: T, cancelAnimationFrame: E } = window;
|
|
18
18
|
function D(l, p) {
|
|
19
19
|
let C = h(d), w = c("animation"), T = n({}, l, C, f), { style: E, className: D, children: O, name: k, onStart: A, onEnd: j, onIteration: M } = T;
|
|
@@ -59,7 +59,6 @@ function D(l, p) {
|
|
|
59
59
|
return V;
|
|
60
60
|
}
|
|
61
61
|
var O = Object.assign(p(D), { ...l });
|
|
62
|
-
//#endregion
|
|
63
62
|
export { O as default };
|
|
64
63
|
/* 欲穷千里目,更上一层楼 */
|
|
65
64
|
/* 独立思考,明辨是非 */
|
package/animation/constants.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
|
-
|
|
3
|
+
// components/common/animation/constants.ts
|
|
4
4
|
var e = /* @__PURE__ */ "back-in-down.back-in-left.back-in-right.back-in-up.back-out-down.back-out-left.back-out-right.back-out-up.bounce.bounce-in.bounce-in-down.bounce-in-left.bounce-in-right.bounce-in-up.bounce-out.bounce-out-down.bounce-out-left.bounce-out-right.bounce-out-up.flash.pulse.rubber-band.shake.shake-x.shake-y.head-shake.swing.tada.wobble.jello.heart-beat.fade-in.fade-in-down.fade-in-down-big.fade-in-left.fade-in-left-big.fade-in-right.fade-in-right-big.fade-in-up.fade-in-up-big.fade-in-top-left.fade-in-top-right.fade-in-bottom-left.fade-in-bottom-right.fade-out.fade-out-down.fade-out-down-big.fade-out-left.fade-out-left-big.fade-out-right.fade-out-right-big.fade-out-up.fade-out-up-big.fade-out-top-left.fade-out-top-right.fade-out-bottom-right.fade-out-bottom-left.flip.flip-in-x.flip-in-y.flip-out-x.flip-out-y.light-speed-in-right.light-speed-in-left.light-speed-out-right.light-speed-out-left.rotate-in.rotate-in-down-left.rotate-in-down-right.rotate-in-up-left.rotate-in-up-right.rotate-out.rotate-out-down-left.rotate-out-down-right.rotate-out-up-left.rotate-out-up-right.hinge.jack-in-the-box.roll-in.roll-out.zoom-in.zoom-in-down.zoom-in-left.zoom-in-right.zoom-in-up.zoom-out.zoom-out-down.zoom-out-left.zoom-out-right.zoom-out-up.slide-in-down.slide-in-left.slide-in-right.slide-in-up.slide-out-down.slide-out-left.slide-out-right.slide-out-up".split(".");
|
|
5
5
|
Object.freeze(e);
|
|
6
|
-
//#endregion
|
|
7
6
|
export { e as ANIMATION_NAMES };
|
|
8
7
|
/* 欲穷千里目,更上一层楼 */
|
|
9
8
|
/* 独立思考,明辨是非 */
|
package/animation/context.js
CHANGED
|
@@ -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/animation/context.ts
|
|
5
5
|
var t = {}, n = e({}), r = e({});
|
|
6
|
-
//#endregion
|
|
7
6
|
export { n as PropsContext, r as default, t as defaultProps };
|
|
8
7
|
/* 欲穷千里目,更上一层楼 */
|
|
9
8
|
/* 独立思考,明辨是非 */
|
package/animation/index.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { COMPONENT_INFO_ANIMATION as e } from "../utils/names.js";
|
|
4
4
|
import "./style/index.js";
|
|
5
5
|
import { PropsContext as t } from "./context.js";
|
|
6
6
|
import n from "./Animation.js";
|
|
7
7
|
import { ANIMATION_NAMES as r } from "./constants.js";
|
|
8
|
-
|
|
8
|
+
// components/common/animation/index.ts
|
|
9
9
|
var i = Object.assign(n, {
|
|
10
10
|
...e,
|
|
11
11
|
PropsContext: t
|
|
12
12
|
});
|
|
13
|
-
//#endregion
|
|
14
13
|
export { r as ANIMATION_NAMES, i as default };
|
|
15
14
|
/* 欲穷千里目,更上一层楼 */
|
|
16
15
|
/* 独立思考,明辨是非 */
|
package/animation/style/index.js
CHANGED
package/animation/utils.js
CHANGED
package/base/Base.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
|
-
|
|
3
|
+
// components/common/base/Base.tsx
|
|
4
4
|
function e(e) {}
|
|
5
|
-
//#endregion
|
|
6
5
|
export { e as default };
|
|
7
6
|
/* 欲穷千里目,更上一层楼 */
|
|
8
7
|
/* 独立思考,明辨是非 */
|
package/base/constants.js
CHANGED
package/base/context.js
CHANGED
|
@@ -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/base/context.ts
|
|
5
5
|
var t = {}, n = e({});
|
|
6
|
-
//#endregion
|
|
7
6
|
export { n as PropsContext, t as defaultProps };
|
|
8
7
|
/* 欲穷千里目,更上一层楼 */
|
|
9
8
|
/* 独立思考,明辨是非 */
|
package/base/index.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import "./style/index.js";
|
|
4
4
|
import e from "./Base.js";
|
|
5
5
|
import { PropsContext as t } from "./context.js";
|
|
6
|
-
|
|
6
|
+
// components/common/base/index.ts
|
|
7
7
|
var n = Object.assign(e, { PropsContext: t });
|
|
8
|
-
//#endregion
|
|
9
8
|
export { n as default };
|
|
10
9
|
/* 欲穷千里目,更上一层楼 */
|
|
11
10
|
/* 独立思考,明辨是非 */
|
package/base/style/index.js
CHANGED
package/base/utils.js
CHANGED
|
@@ -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/className.js";
|
|
@@ -14,7 +14,7 @@ import { getBorderBeamGradient as d } from "./utils.js";
|
|
|
14
14
|
import { forwardRef as f, useContext as p, useImperativeHandle as m, useMemo as h, useRef as g } from "react";
|
|
15
15
|
import { cssUnit as _ } from "@unicom-cloud/utils/css";
|
|
16
16
|
import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
17
|
-
|
|
17
|
+
// components/common/border-beam/BorderBeam.tsx
|
|
18
18
|
function x(r, f) {
|
|
19
19
|
let x = p(s), { className: S, style: C, children: w, color: T, gradientType: E, outset: D, duration: O, lineWidth: k, size: A, ...j } = e({
|
|
20
20
|
internalProps: r,
|
|
@@ -48,7 +48,6 @@ function x(r, f) {
|
|
|
48
48
|
})] });
|
|
49
49
|
}
|
|
50
50
|
var S = Object.assign(f(x), { ...r });
|
|
51
|
-
//#endregion
|
|
52
51
|
export { S as default };
|
|
53
52
|
/* 欲穷千里目,更上一层楼 */
|
|
54
53
|
/* 独立思考,明辨是非 */
|
package/border-beam/Effect.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import e from "../utils/className.js";
|
|
4
4
|
import { forwardRef as t } from "react";
|
|
5
5
|
import { createPortal as n } from "react-dom";
|
|
6
6
|
import { jsx as r } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// components/common/border-beam/Effect.tsx
|
|
8
8
|
var i = (e) => typeof HTMLElement < "u" && e instanceof HTMLElement, a = t((t, n) => {
|
|
9
9
|
let { prefixCls: i, className: a, ...o } = t;
|
|
10
10
|
return /* @__PURE__ */ r("div", {
|
|
@@ -21,7 +21,6 @@ var i = (e) => typeof HTMLElement < "u" && e instanceof HTMLElement, a = t((t, n
|
|
|
21
21
|
...c
|
|
22
22
|
}), s);
|
|
23
23
|
});
|
|
24
|
-
//#endregion
|
|
25
24
|
export { o as default };
|
|
26
25
|
/* 欲穷千里目,更上一层楼 */
|
|
27
26
|
/* 独立思考,明辨是非 */
|
package/border-beam/constants.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { UI_COMMON_PREFIX as e, UI_MOBILE_PREFIX as t, UI_PC_PREFIX as n } from "@unicom-cloud/utils/constants/ui";
|
|
4
|
-
|
|
4
|
+
// components/common/border-beam/constants.ts
|
|
5
5
|
function r(r) {
|
|
6
6
|
return `rgb(var(--${e}-${r},var(--${n}-${r},var(--${t}-${r}))))`;
|
|
7
7
|
}
|
|
@@ -127,7 +127,6 @@ var i = [
|
|
|
127
127
|
]
|
|
128
128
|
}
|
|
129
129
|
];
|
|
130
|
-
//#endregion
|
|
131
130
|
export { i as GRADIENT_PRESETS };
|
|
132
131
|
/* 欲穷千里目,更上一层楼 */
|
|
133
132
|
/* 独立思考,明辨是非 */
|
package/border-beam/context.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { GRADIENT_PRESETS as e } from "./constants.js";
|
|
4
4
|
import { createContext as t } from "react";
|
|
5
|
-
|
|
5
|
+
// components/common/border-beam/context.ts
|
|
6
6
|
var n = {
|
|
7
7
|
gradientType: e[0].key,
|
|
8
8
|
duration: 7,
|
|
9
9
|
lineWidth: 1,
|
|
10
10
|
size: 100
|
|
11
11
|
}, r = t({});
|
|
12
|
-
//#endregion
|
|
13
12
|
export { r as PropsContext, n as defaultProps };
|
|
14
13
|
/* 欲穷千里目,更上一层楼 */
|
|
15
14
|
/* 独立思考,明辨是非 */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { useEffect as e, useState as t } from "react";
|
|
4
|
-
|
|
4
|
+
// components/common/border-beam/hooks/useBorderSize.ts
|
|
5
5
|
var n = {
|
|
6
6
|
borderWidth: [
|
|
7
7
|
0,
|
|
@@ -32,7 +32,6 @@ var n = {
|
|
|
32
32
|
});
|
|
33
33
|
}, [i]), a;
|
|
34
34
|
};
|
|
35
|
-
//#endregion
|
|
36
35
|
export { i as default };
|
|
37
36
|
/* 欲穷千里目,更上一层楼 */
|
|
38
37
|
/* 独立思考,明辨是非 */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { getNodeRef as e, supportRef as t, useComposeRef as n } from "../../utils/ref.js";
|
|
4
4
|
import { getDOM as r } from "../../utils/dom.js";
|
|
5
5
|
import "../../utils/index.js";
|
|
6
6
|
import { cloneElement as i } from "../../utils/reactNode.js";
|
|
7
7
|
import { isValidElement as a, useCallback as o, useState as s } from "react";
|
|
8
|
-
|
|
8
|
+
// components/common/border-beam/hooks/useChildDom.ts
|
|
9
9
|
var c = (c) => {
|
|
10
10
|
let [l, u] = s(null), d = a(c) ? c : null, f = o((e) => {
|
|
11
11
|
let t = r(e);
|
|
@@ -13,7 +13,6 @@ var c = (c) => {
|
|
|
13
13
|
}, []), p = n(e(d), f);
|
|
14
14
|
return t(d) ? [i(d, { ref: p }), l] : [c, l];
|
|
15
15
|
};
|
|
16
|
-
//#endregion
|
|
17
16
|
export { c as default };
|
|
18
17
|
/* 欲穷千里目,更上一层楼 */
|
|
19
18
|
/* 独立思考,明辨是非 */
|
package/border-beam/index.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { COMPONENT_INFO_BORDER_BEAM as e } from "../utils/names.js";
|
|
4
4
|
import { GRADIENT_PRESETS as t } from "./constants.js";
|
|
5
5
|
import { PropsContext as n } from "./context.js";
|
|
6
6
|
import r from "./BorderBeam.js";
|
|
7
7
|
import "./style/index.js";
|
|
8
|
-
|
|
8
|
+
// components/common/border-beam/index.ts
|
|
9
9
|
var i = Object.assign(r, {
|
|
10
10
|
...e,
|
|
11
11
|
PropsContext: n
|
|
12
12
|
});
|
|
13
|
-
//#endregion
|
|
14
13
|
export { t as BORDER_BEAM_GRADIENT_PRESETS, i as default };
|
|
15
14
|
/* 欲穷千里目,更上一层楼 */
|
|
16
15
|
/* 独立思考,明辨是非 */
|
package/border-beam/utils.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { isString as e } from "@unicom-cloud/utils/is";
|
|
4
|
-
|
|
4
|
+
// components/common/border-beam/utils.ts
|
|
5
5
|
var t = 6, n = 70, r = (...e) => `linear-gradient(to left, ${e.join(", ")}, transparent)`, i = (t) => e(t) ? [{
|
|
6
6
|
color: t,
|
|
7
7
|
percent: 0
|
|
@@ -18,7 +18,6 @@ var t = 6, n = 70, r = (...e) => `linear-gradient(to left, ${e.join(", ")}, tran
|
|
|
18
18
|
let t = s(i(e));
|
|
19
19
|
return t.length ? r(...t.map((e) => `${e.color} ${e.percent}%`)) : void 0;
|
|
20
20
|
};
|
|
21
|
-
//#endregion
|
|
22
21
|
export { t as DEFAULT_BORDER_BEAM_DURATION, n as MAX_BEAM_COLOR_STOP_PERCENT, c as getBorderBeamGradient };
|
|
23
22
|
/* 欲穷千里目,更上一层楼 */
|
|
24
23
|
/* 独立思考,明辨是非 */
|
|
@@ -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/getPrefixCls.js";
|
|
@@ -9,7 +9,7 @@ import { forwardRef as a, useContext as o, useImperativeHandle as s, useMemo as
|
|
|
9
9
|
import u from "@unicom-cloud/utils/class-name";
|
|
10
10
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
11
11
|
import p from "@unicom-cloud/icons/IconFluentHourglassNotDone";
|
|
12
|
-
|
|
12
|
+
// components/common/development/Development.tsx
|
|
13
13
|
function m(n, a) {
|
|
14
14
|
let m = o(r), { url: h, imgClassName: g, icon: _, iconClassName: v, label: y = "等待开发", tip: b = y, labelClassName: x, style: S, className: C } = e({
|
|
15
15
|
internalProps: n,
|
|
@@ -40,7 +40,6 @@ function m(n, a) {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
var h = Object.assign(a(m), { ...n });
|
|
43
|
-
//#endregion
|
|
44
43
|
export { h as default };
|
|
45
44
|
/* 欲穷千里目,更上一层楼 */
|
|
46
45
|
/* 独立思考,明辨是非 */
|
package/development/constants.js
CHANGED
package/development/context.js
CHANGED
|
@@ -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/development/context.ts
|
|
5
5
|
var t = {}, n = e({});
|
|
6
|
-
//#endregion
|
|
7
6
|
export { n as PropsContext, t as defaultProps };
|
|
8
7
|
/* 欲穷千里目,更上一层楼 */
|
|
9
8
|
/* 独立思考,明辨是非 */
|
package/development/index.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { COMPONENT_INFO_DEVELOPMENT as e } from "../utils/names.js";
|
|
4
4
|
import "./style/index.js";
|
|
5
5
|
import { PropsContext as t } from "./context.js";
|
|
6
6
|
import n from "./Development.js";
|
|
7
|
-
|
|
7
|
+
// components/common/development/index.ts
|
|
8
8
|
var r = Object.assign(n, {
|
|
9
9
|
...e,
|
|
10
10
|
PropsContext: t
|
|
11
11
|
});
|
|
12
|
-
//#endregion
|
|
13
12
|
export { r as default };
|
|
14
13
|
/* 欲穷千里目,更上一层楼 */
|
|
15
14
|
/* 独立思考,明辨是非 */
|
package/development/utils.js
CHANGED
package/empty/Empty.js
CHANGED
|
@@ -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/className.js";
|
|
@@ -10,7 +10,7 @@ import { forwardRef as s, memo as c, useContext as l, useImperativeHandle as u,
|
|
|
10
10
|
import { isString as f } from "@unicom-cloud/utils/is";
|
|
11
11
|
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
12
12
|
import h from "@unicom-cloud/icons/IconUiEmpty";
|
|
13
|
-
|
|
13
|
+
// components/common/empty/Empty.tsx
|
|
14
14
|
function g(r, s) {
|
|
15
15
|
let c = l(i), { style: g, className: _, description: v = "无数据", icon: y, imgSrc: b, prefixCls: x, ...S } = e({
|
|
16
16
|
internalProps: r,
|
|
@@ -45,7 +45,6 @@ function g(r, s) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
var _ = Object.assign(c(s(g)), { ...r });
|
|
48
|
-
//#endregion
|
|
49
48
|
export { _ as default };
|
|
50
49
|
/* 欲穷千里目,更上一层楼 */
|
|
51
50
|
/* 独立思考,明辨是非 */
|
package/empty/constants.js
CHANGED
package/empty/context.js
CHANGED
|
@@ -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/empty/context.ts
|
|
5
5
|
var t = {}, n = e({});
|
|
6
|
-
//#endregion
|
|
7
6
|
export { n as PropsContext, t as defaultProps };
|
|
8
7
|
/* 欲穷千里目,更上一层楼 */
|
|
9
8
|
/* 独立思考,明辨是非 */
|
package/empty/index.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { COMPONENT_INFO_EMPTY as e } from "../utils/names.js";
|
|
4
4
|
import "./style/index.js";
|
|
5
5
|
import { PropsContext as t } from "./context.js";
|
|
6
6
|
import n from "./Empty.js";
|
|
7
|
-
|
|
7
|
+
// components/common/empty/index.ts
|
|
8
8
|
var r = Object.assign(n, {
|
|
9
9
|
...e,
|
|
10
10
|
PropsContext: t
|
|
11
11
|
});
|
|
12
|
-
//#endregion
|
|
13
12
|
export { r as default };
|
|
14
13
|
/* 欲穷千里目,更上一层楼 */
|
|
15
14
|
/* 独立思考,明辨是非 */
|
package/empty/style/index.js
CHANGED
package/empty/utils.js
CHANGED
package/flex/Flex.js
CHANGED
|
@@ -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/className.js";
|
|
@@ -9,7 +9,7 @@ import { parseGap as o } from "./utils.js";
|
|
|
9
9
|
import { forwardRef as s, useContext as c, useImperativeHandle as l, useRef as u } from "react";
|
|
10
10
|
import { isBoolean as d, isExist as f, isTrue as p } from "@unicom-cloud/utils/is";
|
|
11
11
|
import { jsx as m } from "react/jsx-runtime";
|
|
12
|
-
|
|
12
|
+
// components/common/flex/Flex.tsx
|
|
13
13
|
function h(r, s) {
|
|
14
14
|
let h = c(i), g = e({
|
|
15
15
|
internalProps: r,
|
|
@@ -20,32 +20,33 @@ function h(r, s) {
|
|
|
20
20
|
justifyContent: "justify",
|
|
21
21
|
alignItems: "align"
|
|
22
22
|
}
|
|
23
|
-
}), { className: _, style: v, gap: y, rowGap: b, columnGap: x, children: S,
|
|
23
|
+
}), { className: _, style: v, gap: y, rowGap: b, columnGap: x, children: S, vertical: C, direction: w, justifyContent: T, justifyItems: E, alignItems: D, alignContent: O, component: k = "div", wrap: A, rtl: j, inline: M, flow: N, center: P, ...F } = g, I = w;
|
|
24
|
+
C && (I ??= "column");
|
|
25
|
+
let L = n("flex"), R = { display: M ? "inline-flex" : "flex" };
|
|
24
26
|
if ("wrap" in g) {
|
|
25
|
-
let e =
|
|
26
|
-
e = d(e) ? e ? "wrap" : "nowrap" :
|
|
27
|
+
let e = A;
|
|
28
|
+
e = d(e) ? e ? "wrap" : "nowrap" : A, R.flexWrap = e;
|
|
27
29
|
}
|
|
28
|
-
p(
|
|
30
|
+
p(P) && (R.justifyContent = R.alignItems = "center"), f(E) && (R.justifyItems = E), f(T) && (R.justifyContent = T), f(D) && (R.alignItems = D), f(O) && (R.alignContent = O), f(I) && (R.flexDirection = I), f(N) && (R.flexFlow = N), Object.assign(R, o({
|
|
29
31
|
gap: y,
|
|
30
32
|
rowGap: b,
|
|
31
33
|
columnGap: x
|
|
32
34
|
}), v);
|
|
33
|
-
let
|
|
35
|
+
let z = u(null);
|
|
34
36
|
return l(s, () => ({ getRootElement() {
|
|
35
|
-
return
|
|
36
|
-
} })), /* @__PURE__ */ m(
|
|
37
|
-
ref:
|
|
38
|
-
style: { ...
|
|
39
|
-
className: t(
|
|
40
|
-
[`${
|
|
41
|
-
[`${
|
|
42
|
-
}, !!
|
|
43
|
-
...
|
|
37
|
+
return z.current;
|
|
38
|
+
} })), /* @__PURE__ */ m(k, {
|
|
39
|
+
ref: z,
|
|
40
|
+
style: { ...R },
|
|
41
|
+
className: t(L, {
|
|
42
|
+
[`${L}-rtl`]: j,
|
|
43
|
+
[`${L}-inline`]: M
|
|
44
|
+
}, !!I && `${L}-flex-direction-${I}`, !!T && `${L}-justify-content-${T}`, !!D && `${L}-align-items-${D}`, _),
|
|
45
|
+
...F,
|
|
44
46
|
children: S
|
|
45
47
|
});
|
|
46
48
|
}
|
|
47
49
|
var g = Object.assign(s(h), { ...r });
|
|
48
|
-
//#endregion
|
|
49
50
|
export { g as default };
|
|
50
51
|
/* 欲穷千里目,更上一层楼 */
|
|
51
52
|
/* 独立思考,明辨是非 */
|
package/flex/FlexVertical.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { COMPONENT_INFO_FLEX_VERTICAL as e } from "../utils/names.js";
|
|
4
4
|
import t from "./Flex.js";
|
|
5
5
|
import { forwardRef as n } from "react";
|
|
6
6
|
import { jsx as r } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// components/common/flex/FlexVertical.tsx
|
|
8
8
|
var i = Object.assign(n((e, n) => {
|
|
9
9
|
let { direction: i = "column", ...a } = e;
|
|
10
10
|
return /* @__PURE__ */ r(t, {
|
|
@@ -13,7 +13,6 @@ var i = Object.assign(n((e, n) => {
|
|
|
13
13
|
direction: i
|
|
14
14
|
});
|
|
15
15
|
}), { ...e });
|
|
16
|
-
//#endregion
|
|
17
16
|
export { i as default };
|
|
18
17
|
/* 欲穷千里目,更上一层楼 */
|
|
19
18
|
/* 独立思考,明辨是非 */
|
package/flex/constants.js
CHANGED
package/flex/context.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { createContext as e } from "react";
|
|
4
|
-
|
|
4
|
+
// components/common/flex/context.ts
|
|
5
5
|
var t = {
|
|
6
6
|
component: "div",
|
|
7
7
|
gap: "small"
|
|
8
8
|
}, n = e({});
|
|
9
|
-
//#endregion
|
|
10
9
|
export { n as PropsContext, t as defaultProps };
|
|
11
10
|
/* 欲穷千里目,更上一层楼 */
|
|
12
11
|
/* 独立思考,明辨是非 */
|
package/flex/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-10-
|
|
1
|
+
/* 潘启宝 2026-10-29 16:11:51 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { COMPONENT_INFO_FLEX as e } from "../utils/names.js";
|
|
4
4
|
import "./style/index.js";
|
|
@@ -6,13 +6,12 @@ import { PropsContext as t } from "./context.js";
|
|
|
6
6
|
import { GAP_SIZE_MAP as n, parseGap as r } from "./utils.js";
|
|
7
7
|
import i from "./Flex.js";
|
|
8
8
|
import a from "./FlexVertical.js";
|
|
9
|
-
|
|
9
|
+
// components/common/flex/index.ts
|
|
10
10
|
var o = Object.assign(i, {
|
|
11
11
|
...e,
|
|
12
12
|
PropsContext: t,
|
|
13
13
|
Vertical: a
|
|
14
14
|
});
|
|
15
|
-
//#endregion
|
|
16
15
|
export { n as FLEX_GAP_SIZE_MAP, a as FlexVertical, o as default, r as flexParseGap };
|
|
17
16
|
/* 欲穷千里目,更上一层楼 */
|
|
18
17
|
/* 独立思考,明辨是非 */
|