@bbki.ng/components 2.6.16 → 4.0.0
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/dist/Button.d.ts +1 -0
- package/dist/_virtual/_commonjsHelpers.mjs +6 -0
- package/dist/_virtual/index.mjs +4 -0
- package/dist/_virtual/jsx-runtime.mjs +7 -0
- package/dist/_virtual/jsx-runtime2.mjs +4 -0
- package/dist/_virtual/react-jsx-runtime.development.mjs +4 -0
- package/dist/_virtual/react-jsx-runtime.production.min.mjs +4 -0
- package/dist/article/Article.d.ts +11 -0
- package/dist/article/Article.mjs +43 -0
- package/dist/blink-dot/BlinkDot.d.ts +5 -0
- package/dist/blink-dot/BlinkDot.mjs +20 -0
- package/dist/blur-cover/BlurCover.d.ts +6 -0
- package/dist/blur-cover/BlurCover.mjs +28 -0
- package/dist/breadcrumb/Breadcrumb.d.ts +9 -0
- package/dist/breadcrumb/Breadcrumb.mjs +35 -0
- package/dist/button/Button.d.ts +18 -0
- package/dist/button/Button.mjs +35 -0
- package/dist/canvas/Canvas.d.ts +23 -0
- package/dist/canvas/Canvas.mjs +85 -0
- package/dist/canvas/useRenderer.d.ts +10 -0
- package/dist/canvas/useRenderer.mjs +31 -0
- package/dist/context-menu/index.d.ts +27 -0
- package/dist/context-menu/index.mjs +131 -0
- package/dist/drop-image/DropImage.d.ts +25 -0
- package/dist/drop-image/DropImage.mjs +151 -0
- package/dist/drop-image/useDropImage.d.ts +19 -0
- package/dist/drop-image/useDropImage.mjs +67 -0
- package/dist/drop-image/utils.d.ts +2 -0
- package/dist/drop-image/utils.mjs +4 -0
- package/dist/drop-zone/DropZone.d.ts +9 -0
- package/dist/drop-zone/DropZone.mjs +44 -0
- package/dist/img/Gallery.d.ts +11 -0
- package/dist/img/Gallery.mjs +37 -0
- package/dist/img/Img.d.ts +3 -0
- package/dist/img/Img.mjs +80 -0
- package/dist/img/RandomRowsLayout.d.ts +9 -0
- package/dist/img/RandomRowsLayout.mjs +49 -0
- package/dist/img/types.d.ts +21 -0
- package/dist/img/types.mjs +4 -0
- package/dist/img/utils.d.ts +7 -0
- package/dist/img/utils.mjs +15 -0
- package/dist/index.d.ts +25 -380
- package/dist/index.mjs +79 -0
- package/dist/input/index.d.ts +3 -0
- package/dist/input/index.mjs +17 -0
- package/dist/label/index.d.ts +5 -0
- package/dist/label/index.mjs +17 -0
- package/dist/layout/layout.d.ts +7 -0
- package/dist/layout/layout.mjs +27 -0
- package/dist/link/Link.d.ts +17 -0
- package/dist/link/Link.mjs +83 -0
- package/dist/list/list.d.ts +23 -0
- package/dist/list/list.mjs +76 -0
- package/dist/loading-spiral/LoadingSpiral.d.ts +5 -0
- package/dist/loading-spiral/LoadingSpiral.mjs +37 -0
- package/dist/loading-spiral/constants.d.ts +6 -0
- package/dist/loading-spiral/constants.mjs +61 -0
- package/dist/loading-spiral/createOptions.d.ts +17 -0
- package/dist/loading-spiral/createOptions.mjs +30 -0
- package/dist/loading-spiral/createSettings.d.ts +16 -0
- package/dist/loading-spiral/createSettings.mjs +21 -0
- package/dist/loading-spiral/useCanvasRef.d.ts +4 -0
- package/dist/loading-spiral/utils.d.ts +1 -0
- package/dist/logo/Logo.d.ts +6 -0
- package/dist/logo/Logo.mjs +36 -0
- package/dist/nav/Nav.d.ts +10 -0
- package/dist/nav/Nav.mjs +27 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/extends.mjs +13 -0
- package/dist/node_modules/.pnpm/@floating-ui_core@1.6.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +519 -0
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.6.3/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +373 -0
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.0.8_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs +182 -0
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.1/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +108 -0
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.1/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +120 -0
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.0.1/node_modules/@radix-ui/primitive/dist/index.mjs +9 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.0.3_@types_react-dom@18.0.6_@types_react@18.0.15_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-arrow/dist/index.mjs +19 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.0.3_@types_react-dom@18.0.6_@types_react@18.0.15_react-dom_04e7d2b59cf7ec97f40d26a998d7601d/node_modules/@radix-ui/react-collection/dist/index.mjs +60 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.0.1_@types_react@18.0.15_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.mjs +16 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.0.15_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.mjs +25 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.1.5_@types_react-dom@18.0.6_@types_react@18.0.15_react-d_1ce4db5e792f73d797e22c043cc3d326/node_modules/@radix-ui/react-context-menu/dist/index.mjs +213 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.0.1_@types_react@18.0.15_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.mjs +88 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.0.1_@types_react@18.0.15_react@18.2.0/node_modules/@radix-ui/react-direction/dist/index.mjs +9 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.0.5_@types_react-dom@18.0.6_@types_react@18.0.15_re_0263a24376d55e4c2bb8fa2f75f1db3c/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs +136 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.0.1_@types_react@18.0.15_react@18.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.mjs +20 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.0.4_@types_react-dom@18.0.6_@types_react@18.0.15_react-do_a79d961df31bbecb3b2c94878dbb0724/node_modules/@radix-ui/react-focus-scope/dist/index.mjs +188 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.mjs +61 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.0.1_@types_react@18.0.15_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.mjs +18 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-label@2.1.1_@types_react-dom@18.0.6_@types_react@18.0.15_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-label/dist/index.mjs +20 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.0.6_@types_react-dom@18.0.6_@types_react@18.0.15_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-menu/dist/index.mjs +657 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.1.3_@types_react-dom@18.0.6_@types_react@18.0.15_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popper/dist/index.mjs +218 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.0.4_@types_react-dom@18.0.6_@types_react@18.0.15_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.mjs +14 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.0.1_@types_react-dom@18.0.6_@types_react@18.0.15_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.mjs +81 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@1.0.3_@types_react-dom@18.0.6_@types_react@18.0.15_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-primitive/dist/index.mjs +44 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.0.1_@types_react-dom@18.0.6_@types_react@18.0.15_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-primitive/dist/index.mjs +31 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.0.4_@types_react-dom@18.0.6_@types_react@18.0.15_react-d_69cf2e3e4b4e2c2fefdb8ea262543b5e/node_modules/@radix-ui/react-roving-focus/dist/index.mjs +199 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.0.15_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.mjs +53 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.1.1_@types_react@18.0.15_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.mjs +48 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.0.1_@types_react@18.0.15_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs +16 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.0.1_@types_react@18.0.15_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs +37 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.0.3_@types_react@18.0.15_react@18.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs +17 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.0.1_@types_react@18.0.15_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs +6 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.0.1_@types_react@18.0.15_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.mjs +37 -0
- package/dist/node_modules/.pnpm/aria-hidden@1.2.3/node_modules/aria-hidden/dist/es2015/index.mjs +49 -0
- package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs +6 -0
- package/dist/node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.mjs +40 -0
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs +23 -0
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.mjs +7 -0
- package/dist/node_modules/.pnpm/phenomenon@1.6.0/node_modules/phenomenon/dist/phenomenon.mjs +109 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.5_@types_react@18.0.15_react@18.2.0/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs +61 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.5_@types_react@18.0.15_react@18.2.0/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs +7 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.5_@types_react@18.0.15_react@18.2.0/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs +25 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.5.5_@types_react@18.0.15_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.mjs +17 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.5.5_@types_react@18.0.15_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs +116 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.5.5_@types_react@18.0.15_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/UI.mjs +46 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.5.5_@types_react@18.0.15_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs +16 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.5.5_@types_react@18.0.15_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs +62 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.5.5_@types_react@18.0.15_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/medium.mjs +5 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.5.5_@types_react@18.0.15_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs +7 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.1_@types_react@18.0.15_react@18.2.0/node_modules/react-style-singleton/dist/es2015/component.mjs +11 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.1_@types_react@18.0.15_react@18.2.0/node_modules/react-style-singleton/dist/es2015/hook.mjs +15 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.1_@types_react@18.0.15_react@18.2.0/node_modules/react-style-singleton/dist/es2015/singleton.mjs +30 -0
- package/dist/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.development.mjs +589 -0
- package/dist/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.production.min.mjs +32 -0
- package/dist/node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.mjs +8 -0
- package/dist/node_modules/.pnpm/tslib@2.4.1/node_modules/tslib/tslib.es6.mjs +29 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.1_@types_react@18.0.15_react@18.2.0/node_modules/use-callback-ref/dist/es2015/assignRef.mjs +6 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.1_@types_react@18.0.15_react@18.2.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs +26 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.1_@types_react@18.0.15_react@18.2.0/node_modules/use-callback-ref/dist/es2015/useRef.mjs +25 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.2_@types_react@18.0.15_react@18.2.0/node_modules/use-sidecar/dist/es2015/exports.mjs +21 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.2_@types_react@18.0.15_react@18.2.0/node_modules/use-sidecar/dist/es2015/medium.mjs +67 -0
- package/dist/page/Page.d.ts +28 -0
- package/dist/page/Page.mjs +67 -0
- package/dist/panel/Panel.d.ts +6 -0
- package/dist/panel/Panel.mjs +17 -0
- package/dist/pop-confirm/PopConfirm.d.ts +10 -0
- package/dist/pop-confirm/PopConfirm.mjs +40 -0
- package/dist/skeleton/Seleton.d.ts +23 -0
- package/dist/skeleton/Seleton.mjs +69 -0
- package/dist/spinner/Spinner.d.ts +7 -0
- package/dist/table/Table.d.ts +18 -0
- package/dist/table/Table.mjs +34 -0
- package/dist/tag/Tag.d.ts +10 -0
- package/dist/tag/Tag.mjs +33 -0
- package/package.json +22 -13
- package/dist/index.cjs +0 -1816
- package/dist/index.cjs.map +0 -1
- package/dist/index.css +0 -1821
- package/dist/index.css.map +0 -1
- package/dist/index.js +0 -1738
- package/dist/index.js.map +0 -1
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Article as t } from "./article/Article.mjs";
|
|
2
|
+
import { Button as n, ButtonType as x } from "./button/Button.mjs";
|
|
3
|
+
import { Logo as m } from "./logo/Logo.mjs";
|
|
4
|
+
import { Nav as f } from "./nav/Nav.mjs";
|
|
5
|
+
import { Link as a, LinkColor as l } from "./link/Link.mjs";
|
|
6
|
+
import { Tag as M, Tags as L } from "./tag/Tag.mjs";
|
|
7
|
+
import { Panel as k } from "./panel/Panel.mjs";
|
|
8
|
+
import { Error as S, ErrorBoundary as T, NotFound as b, Page as d } from "./page/Page.mjs";
|
|
9
|
+
import { Breadcrumb as B } from "./breadcrumb/Breadcrumb.mjs";
|
|
10
|
+
import { PopConfirm as y } from "./pop-confirm/PopConfirm.mjs";
|
|
11
|
+
import { Table as h } from "./table/Table.mjs";
|
|
12
|
+
import { ArticleSkeleton as D, LinkListSkeleton as G, Skeleton as A, SkeletonColor as E } from "./skeleton/Seleton.mjs";
|
|
13
|
+
import { DropImage as R } from "./drop-image/DropImage.mjs";
|
|
14
|
+
import { BlinkDot as Z } from "./blink-dot/BlinkDot.mjs";
|
|
15
|
+
import { ThreeColLayout as q } from "./layout/layout.mjs";
|
|
16
|
+
import { LinkList as z, List as H, TitledList as J } from "./list/list.mjs";
|
|
17
|
+
import { Img as O } from "./img/Img.mjs";
|
|
18
|
+
import { Gallery as U } from "./img/Gallery.mjs";
|
|
19
|
+
import { LoadingSpiral as W } from "./loading-spiral/LoadingSpiral.mjs";
|
|
20
|
+
import { DropZone as Y } from "./drop-zone/DropZone.mjs";
|
|
21
|
+
import { ContextMenu as $, ContextMenuCheckboxItem as oo, ContextMenuContent as eo, ContextMenuGroup as to, ContextMenuItem as ro, ContextMenuLabel as no, ContextMenuPortal as xo, ContextMenuRadioGroup as po, ContextMenuRadioItem as mo, ContextMenuSeparator as uo, ContextMenuShortcut as fo, ContextMenuSub as Co, ContextMenuSubContent as ao, ContextMenuSubTrigger as lo, ContextMenuTrigger as io } from "./context-menu/index.mjs";
|
|
22
|
+
import { Label as Lo } from "./label/index.mjs";
|
|
23
|
+
import { Input as ko } from "./input/index.mjs";
|
|
24
|
+
import { BlurCover as So } from "./blur-cover/BlurCover.mjs";
|
|
25
|
+
import { Canvas as bo } from "./canvas/Canvas.mjs";
|
|
26
|
+
import { ossProcessType as Bo } from "./img/types.mjs";
|
|
27
|
+
export {
|
|
28
|
+
t as Article,
|
|
29
|
+
D as ArticleSkeleton,
|
|
30
|
+
Z as BlinkDot,
|
|
31
|
+
So as BlurCover,
|
|
32
|
+
B as Breadcrumb,
|
|
33
|
+
n as Button,
|
|
34
|
+
x as ButtonType,
|
|
35
|
+
bo as Canvas,
|
|
36
|
+
$ as ContextMenu,
|
|
37
|
+
oo as ContextMenuCheckboxItem,
|
|
38
|
+
eo as ContextMenuContent,
|
|
39
|
+
to as ContextMenuGroup,
|
|
40
|
+
ro as ContextMenuItem,
|
|
41
|
+
no as ContextMenuLabel,
|
|
42
|
+
xo as ContextMenuPortal,
|
|
43
|
+
po as ContextMenuRadioGroup,
|
|
44
|
+
mo as ContextMenuRadioItem,
|
|
45
|
+
uo as ContextMenuSeparator,
|
|
46
|
+
fo as ContextMenuShortcut,
|
|
47
|
+
Co as ContextMenuSub,
|
|
48
|
+
ao as ContextMenuSubContent,
|
|
49
|
+
lo as ContextMenuSubTrigger,
|
|
50
|
+
io as ContextMenuTrigger,
|
|
51
|
+
R as DropImage,
|
|
52
|
+
Y as DropZone,
|
|
53
|
+
S as Error,
|
|
54
|
+
T as ErrorBoundary,
|
|
55
|
+
U as Gallery,
|
|
56
|
+
O as Img,
|
|
57
|
+
ko as Input,
|
|
58
|
+
Lo as Label,
|
|
59
|
+
a as Link,
|
|
60
|
+
l as LinkColor,
|
|
61
|
+
z as LinkList,
|
|
62
|
+
G as LinkListSkeleton,
|
|
63
|
+
H as List,
|
|
64
|
+
W as LoadingSpiral,
|
|
65
|
+
m as Logo,
|
|
66
|
+
f as Nav,
|
|
67
|
+
b as NotFound,
|
|
68
|
+
d as Page,
|
|
69
|
+
k as Panel,
|
|
70
|
+
y as PopConfirm,
|
|
71
|
+
A as Skeleton,
|
|
72
|
+
E as SkeletonColor,
|
|
73
|
+
h as Table,
|
|
74
|
+
M as Tag,
|
|
75
|
+
L as Tags,
|
|
76
|
+
q as ThreeColLayout,
|
|
77
|
+
J as TitledList,
|
|
78
|
+
Bo as ossProcessType
|
|
79
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const Input: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
3
|
+
export { Input };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
import d from "../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.mjs";
|
|
3
|
+
import { jsx as f } from "../_virtual/jsx-runtime.mjs";
|
|
4
|
+
const n = t.forwardRef(({
|
|
5
|
+
className: e,
|
|
6
|
+
type: r,
|
|
7
|
+
...o
|
|
8
|
+
}, i) => /* @__PURE__ */ f("input", {
|
|
9
|
+
type: r,
|
|
10
|
+
className: d("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", e),
|
|
11
|
+
ref: i,
|
|
12
|
+
...o
|
|
13
|
+
}));
|
|
14
|
+
n.displayName = "Input";
|
|
15
|
+
export {
|
|
16
|
+
n as Input
|
|
17
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
4
|
+
declare const Label: React.ForwardRefExoticComponent<Pick<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "hidden" | "className" | "form" | "slot" | "style" | "title" | "children" | "onClick" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "asChild" | "htmlFor"> & VariantProps<(props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
5
|
+
export { Label };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as m from "react";
|
|
2
|
+
import { Root as o } from "../node_modules/.pnpm/@radix-ui_react-label@2.1.1_@types_react-dom@18.0.6_@types_react@18.0.15_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-label/dist/index.mjs";
|
|
3
|
+
import { cva as t } from "../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs";
|
|
4
|
+
import i from "../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.mjs";
|
|
5
|
+
import { jsx as s } from "../_virtual/jsx-runtime.mjs";
|
|
6
|
+
const l = t("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), p = m.forwardRef(({
|
|
7
|
+
className: a,
|
|
8
|
+
...e
|
|
9
|
+
}, r) => /* @__PURE__ */ s(o, {
|
|
10
|
+
ref: r,
|
|
11
|
+
className: i(l(), a),
|
|
12
|
+
...e
|
|
13
|
+
}));
|
|
14
|
+
p.displayName = o.displayName;
|
|
15
|
+
export {
|
|
16
|
+
p as Label
|
|
17
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
export declare type threeColLayoutProps = {
|
|
3
|
+
leftRenderer?: () => ReactElement | null;
|
|
4
|
+
rightRenderer?: () => ReactElement | null;
|
|
5
|
+
middleRenderer?: () => ReactElement | null;
|
|
6
|
+
};
|
|
7
|
+
export declare const ThreeColLayout: (props: threeColLayoutProps) => JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import e from "../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.mjs";
|
|
2
|
+
import { jsxs as c, jsx as d } from "../_virtual/jsx-runtime.mjs";
|
|
3
|
+
const t = (s) => {
|
|
4
|
+
const {
|
|
5
|
+
leftRenderer: i,
|
|
6
|
+
middleRenderer: l,
|
|
7
|
+
rightRenderer: o
|
|
8
|
+
} = s, r = e("max-h-full overflow-auto xl:block! py-128");
|
|
9
|
+
return /* @__PURE__ */ c("div", {
|
|
10
|
+
className: "grid grid-cols-1 xl:grid-cols-3 gap-4 h-full w-full",
|
|
11
|
+
children: [/* @__PURE__ */ d("div", {
|
|
12
|
+
className: e("hidden", r),
|
|
13
|
+
children: i && i()
|
|
14
|
+
}), /* @__PURE__ */ d("div", {
|
|
15
|
+
className: e(r, "no-scrollbar p-16", "relative", {
|
|
16
|
+
hidden: !l
|
|
17
|
+
}),
|
|
18
|
+
children: l && l()
|
|
19
|
+
}), /* @__PURE__ */ d("div", {
|
|
20
|
+
className: e("hidden", r),
|
|
21
|
+
children: o && o()
|
|
22
|
+
})]
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
t as ThreeColLayout
|
|
27
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LinkProps as BaseLinkProps } from 'react-router-dom';
|
|
2
|
+
export declare enum LinkColor {
|
|
3
|
+
BLUE = "blue",
|
|
4
|
+
RED = "red",
|
|
5
|
+
GRAY = "gray"
|
|
6
|
+
}
|
|
7
|
+
export interface LinkProps extends BaseLinkProps {
|
|
8
|
+
to: string;
|
|
9
|
+
color?: LinkColor;
|
|
10
|
+
className?: string;
|
|
11
|
+
external?: boolean;
|
|
12
|
+
name?: any;
|
|
13
|
+
children?: any;
|
|
14
|
+
readonly?: boolean;
|
|
15
|
+
status?: "blink" | "still" | "hidden";
|
|
16
|
+
}
|
|
17
|
+
export declare const Link: (props: LinkProps) => JSX.Element;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import s from "../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.mjs";
|
|
2
|
+
import { Link as y } from "react-router-dom";
|
|
3
|
+
import { BlinkDot as l } from "../blink-dot/BlinkDot.mjs";
|
|
4
|
+
import { jsx as t, jsxs as c, Fragment as d } from "../_virtual/jsx-runtime.mjs";
|
|
5
|
+
var x = /* @__PURE__ */ ((e) => (e.BLUE = "blue", e.RED = "red", e.GRAY = "gray", e))(x || {});
|
|
6
|
+
const h = {
|
|
7
|
+
blue: "text-blue-600",
|
|
8
|
+
red: "text-red-500",
|
|
9
|
+
gray: "text-gray-400"
|
|
10
|
+
}, p = {
|
|
11
|
+
blue: "md:not-focus:hover:bg-blue-100 md:not-focus:hover:text-blue-600",
|
|
12
|
+
red: "md:not-focus:hover:bg-red-100 md:not-focus:hover:text-red-500",
|
|
13
|
+
gray: "md:not-focus:hover:bg-gray-100 md:not-focus:hover:text-gray-400"
|
|
14
|
+
}, N = {
|
|
15
|
+
blue: "focus:bg-blue-100",
|
|
16
|
+
red: "focus:bg-red-100",
|
|
17
|
+
gray: "focus:bg-gray-100"
|
|
18
|
+
}, R = (e) => {
|
|
19
|
+
const {
|
|
20
|
+
color: o = "blue",
|
|
21
|
+
external: u,
|
|
22
|
+
className: i,
|
|
23
|
+
children: r,
|
|
24
|
+
status: n,
|
|
25
|
+
readonly: m,
|
|
26
|
+
...f
|
|
27
|
+
} = e, a = s(
|
|
28
|
+
i,
|
|
29
|
+
"rounded-sm",
|
|
30
|
+
"no-underline!",
|
|
31
|
+
"inline-block",
|
|
32
|
+
"transition-colors",
|
|
33
|
+
"active:scale-[0.97]",
|
|
34
|
+
// "focus:text-white",
|
|
35
|
+
h[o],
|
|
36
|
+
p[o],
|
|
37
|
+
N[o]
|
|
38
|
+
);
|
|
39
|
+
if (u)
|
|
40
|
+
return /* @__PURE__ */ t("a", {
|
|
41
|
+
href: e.to,
|
|
42
|
+
className: a,
|
|
43
|
+
target: "_blank",
|
|
44
|
+
rel: "noreferrer",
|
|
45
|
+
style: {
|
|
46
|
+
padding: 4
|
|
47
|
+
},
|
|
48
|
+
children: r
|
|
49
|
+
});
|
|
50
|
+
if (m) {
|
|
51
|
+
const g = !/^[a-zA-Z~]+$/.test(r), b = s({
|
|
52
|
+
"relative top-[2px]": g
|
|
53
|
+
});
|
|
54
|
+
return /* @__PURE__ */ c(d, {
|
|
55
|
+
children: [/* @__PURE__ */ t("span", {
|
|
56
|
+
className: s("text-gray-400", b),
|
|
57
|
+
style: {
|
|
58
|
+
padding: 4
|
|
59
|
+
},
|
|
60
|
+
children: r
|
|
61
|
+
}), /* @__PURE__ */ t(l, {
|
|
62
|
+
status: n
|
|
63
|
+
})]
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
return /* @__PURE__ */ c(d, {
|
|
67
|
+
children: [/* @__PURE__ */ t(y, {
|
|
68
|
+
...f,
|
|
69
|
+
className: a,
|
|
70
|
+
style: {
|
|
71
|
+
padding: 4
|
|
72
|
+
},
|
|
73
|
+
children: r
|
|
74
|
+
}), /* @__PURE__ */ t(l, {
|
|
75
|
+
className: "-top-3 left-1",
|
|
76
|
+
status: n
|
|
77
|
+
})]
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
export {
|
|
81
|
+
R as Link,
|
|
82
|
+
x as LinkColor
|
|
83
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ReactElement, FunctionComponent, ReactNode } from 'react';
|
|
2
|
+
import { LinkProps } from '../link/Link';
|
|
3
|
+
export interface listProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
compact?: boolean;
|
|
6
|
+
items: any[];
|
|
7
|
+
itemRenderer: (itemProps: any, index: number) => ReactElement;
|
|
8
|
+
horizontal?: boolean;
|
|
9
|
+
footer?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export declare const List: FunctionComponent<listProps>;
|
|
12
|
+
export interface TitledListProps extends listProps {
|
|
13
|
+
title?: any;
|
|
14
|
+
description?: any;
|
|
15
|
+
footer?: ReactNode;
|
|
16
|
+
}
|
|
17
|
+
export declare const TitledList: FunctionComponent<TitledListProps>;
|
|
18
|
+
export interface LinkListProps extends Omit<listProps, "itemRenderer" | "items"> {
|
|
19
|
+
title?: string;
|
|
20
|
+
description?: any;
|
|
21
|
+
links: LinkProps[];
|
|
22
|
+
}
|
|
23
|
+
export declare const LinkList: (props: LinkListProps) => JSX.Element;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import a from "../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.mjs";
|
|
2
|
+
import { Link as f } from "../link/Link.mjs";
|
|
3
|
+
import { Article as h } from "../article/Article.mjs";
|
|
4
|
+
import { jsxs as k, jsx as e } from "../_virtual/jsx-runtime.mjs";
|
|
5
|
+
const p = (i) => {
|
|
6
|
+
const {
|
|
7
|
+
items: t,
|
|
8
|
+
itemRenderer: n,
|
|
9
|
+
className: s,
|
|
10
|
+
horizontal: r,
|
|
11
|
+
compact: d,
|
|
12
|
+
footer: o
|
|
13
|
+
} = i, c = d ? "" : r ? "mr-3" : "mb-16";
|
|
14
|
+
return /* @__PURE__ */ k("ul", {
|
|
15
|
+
className: a(s, "list-style-none", {
|
|
16
|
+
flex: r,
|
|
17
|
+
"items-center": r
|
|
18
|
+
}),
|
|
19
|
+
children: [t.map((l, m) => /* @__PURE__ */ e("li", {
|
|
20
|
+
className: a(c, "shrink-0", {
|
|
21
|
+
"my-0!": r
|
|
22
|
+
}),
|
|
23
|
+
children: n(l, m)
|
|
24
|
+
}, l.id || m)), o && /* @__PURE__ */ e("li", {
|
|
25
|
+
className: a(c, "shrink-0", {
|
|
26
|
+
"my-0!": r
|
|
27
|
+
}),
|
|
28
|
+
children: o
|
|
29
|
+
}, "footer")]
|
|
30
|
+
});
|
|
31
|
+
}, u = (i) => {
|
|
32
|
+
const {
|
|
33
|
+
title: t,
|
|
34
|
+
description: n,
|
|
35
|
+
...s
|
|
36
|
+
} = i;
|
|
37
|
+
return t ? /* @__PURE__ */ e(h, {
|
|
38
|
+
title: t,
|
|
39
|
+
description: n,
|
|
40
|
+
className: "w-fit",
|
|
41
|
+
children: /* @__PURE__ */ e(p, {
|
|
42
|
+
...s
|
|
43
|
+
})
|
|
44
|
+
}) : /* @__PURE__ */ e(p, {
|
|
45
|
+
...s
|
|
46
|
+
});
|
|
47
|
+
}, j = (i) => {
|
|
48
|
+
const {
|
|
49
|
+
title: t,
|
|
50
|
+
description: n,
|
|
51
|
+
links: s,
|
|
52
|
+
...r
|
|
53
|
+
} = i;
|
|
54
|
+
return /* @__PURE__ */ e(u, {
|
|
55
|
+
title: t,
|
|
56
|
+
description: n,
|
|
57
|
+
items: s,
|
|
58
|
+
itemRenderer: ({
|
|
59
|
+
name: o,
|
|
60
|
+
to: c,
|
|
61
|
+
external: l,
|
|
62
|
+
...m
|
|
63
|
+
}) => /* @__PURE__ */ e(f, {
|
|
64
|
+
to: c,
|
|
65
|
+
external: l,
|
|
66
|
+
...m,
|
|
67
|
+
children: o
|
|
68
|
+
}, o),
|
|
69
|
+
...r
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
export {
|
|
73
|
+
j as LinkList,
|
|
74
|
+
p as List,
|
|
75
|
+
u as TitledList
|
|
76
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import a from "../node_modules/.pnpm/phenomenon@1.6.0/node_modules/phenomenon/dist/phenomenon.mjs";
|
|
2
|
+
import o from "../node_modules/.pnpm/classnames@2.3.1/node_modules/classnames/index.mjs";
|
|
3
|
+
import { useRef as s, useEffect as i } from "react";
|
|
4
|
+
import { createSettings as m } from "./createSettings.mjs";
|
|
5
|
+
import { createOptions as c } from "./createOptions.mjs";
|
|
6
|
+
import { jsx as f } from "../_virtual/jsx-runtime.mjs";
|
|
7
|
+
const v = (t) => {
|
|
8
|
+
const {
|
|
9
|
+
className: r,
|
|
10
|
+
step: n
|
|
11
|
+
} = t || {}, e = s(null);
|
|
12
|
+
return i(() => {
|
|
13
|
+
if (!e.current)
|
|
14
|
+
return;
|
|
15
|
+
new a({
|
|
16
|
+
settings: m({
|
|
17
|
+
canvas: e.current,
|
|
18
|
+
step: n
|
|
19
|
+
}),
|
|
20
|
+
context: {
|
|
21
|
+
antialias: !0,
|
|
22
|
+
alpha: !0
|
|
23
|
+
}
|
|
24
|
+
}).add("spiral", c());
|
|
25
|
+
}, []), /* @__PURE__ */ f("canvas", {
|
|
26
|
+
style: {
|
|
27
|
+
maxWidth: 500,
|
|
28
|
+
maxHeight: 500,
|
|
29
|
+
imageRendering: "pixelated"
|
|
30
|
+
},
|
|
31
|
+
ref: e,
|
|
32
|
+
className: o("h-full w-full overflow-hidden flex justify-center items-center aspect-1", r)
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
v as LoadingSpiral
|
|
37
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare enum ATTR {
|
|
2
|
+
PERCENT = "aPercent",
|
|
3
|
+
POINT_SIZE = "aPointSize"
|
|
4
|
+
}
|
|
5
|
+
export declare const VERTEX_SHADER: string;
|
|
6
|
+
export declare const FRAGMENT_SHADER = "\n precision mediump float;\n uniform float uProgress;\n void main(){\n gl_FragColor = vec4(0.81, 0.83, 0.85, 1.0);\n }\n";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
var e = /* @__PURE__ */ ((t) => (t.PERCENT = "aPercent", t.POINT_SIZE = "aPointSize", t))(e || {});
|
|
2
|
+
const o = `
|
|
3
|
+
attribute float aPercent;
|
|
4
|
+
attribute float aPointSize;
|
|
5
|
+
|
|
6
|
+
uniform mat4 uProjectionMatrix;
|
|
7
|
+
uniform mat4 uModelMatrix;
|
|
8
|
+
uniform mat4 uViewMatrix;
|
|
9
|
+
uniform float uProgress;
|
|
10
|
+
|
|
11
|
+
varying vec3 vColor;
|
|
12
|
+
|
|
13
|
+
vec3 curve(float _percent) {
|
|
14
|
+
const float PI2 = 3.141592653589793 * 2.0;
|
|
15
|
+
const float _length = 0.3;
|
|
16
|
+
const float radius = 0.056;
|
|
17
|
+
float t = mod(_percent, 0.25) / 0.25;
|
|
18
|
+
t = mod(_percent, 0.25) - (2.0 * (1.0 - t) * t * -0.0185 + t * t * 0.25);
|
|
19
|
+
float x = _length * sin(PI2 * _percent);
|
|
20
|
+
float y = radius * cos(PI2 * 3.0 * _percent);
|
|
21
|
+
|
|
22
|
+
if (
|
|
23
|
+
floor(_percent / 0.25) == 0.0
|
|
24
|
+
|| floor(_percent / 0.25) == 2.0
|
|
25
|
+
) {
|
|
26
|
+
t = t * -1.0;
|
|
27
|
+
}
|
|
28
|
+
float z = radius * sin(PI2 * 2.0 * (_percent - t));
|
|
29
|
+
return vec3(x, y, z);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
mat4 rotateX(float _angle){
|
|
33
|
+
return mat4(
|
|
34
|
+
1.0, 0.0, 0.0, 0.0,
|
|
35
|
+
0.0, cos(_angle), -sin(_angle), 0.0,
|
|
36
|
+
0.0, sin(_angle), cos(_angle), 0.0,
|
|
37
|
+
0.0, 0.0, 0.0, 1.0
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
void main(){
|
|
42
|
+
gl_Position = uProjectionMatrix
|
|
43
|
+
* uModelMatrix
|
|
44
|
+
* uViewMatrix
|
|
45
|
+
* rotateX(uProgress)
|
|
46
|
+
* vec4(curve(aPercent), 1.0);
|
|
47
|
+
|
|
48
|
+
gl_PointSize = aPointSize;
|
|
49
|
+
}
|
|
50
|
+
`, r = `
|
|
51
|
+
precision mediump float;
|
|
52
|
+
uniform float uProgress;
|
|
53
|
+
void main(){
|
|
54
|
+
gl_FragColor = vec4(0.81, 0.83, 0.85, 1.0);
|
|
55
|
+
}
|
|
56
|
+
`;
|
|
57
|
+
export {
|
|
58
|
+
e as ATTR,
|
|
59
|
+
r as FRAGMENT_SHADER,
|
|
60
|
+
o as VERTEX_SHADER
|
|
61
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ATTR } from './constants';
|
|
2
|
+
export declare const createOptions: () => {
|
|
3
|
+
uniforms: {
|
|
4
|
+
uProgress: {
|
|
5
|
+
type: string;
|
|
6
|
+
value: number[];
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
attributes: {
|
|
10
|
+
name: ATTR;
|
|
11
|
+
data: (i: number, total: number) => number[];
|
|
12
|
+
size: number;
|
|
13
|
+
}[];
|
|
14
|
+
multiplier: number;
|
|
15
|
+
vertex: string;
|
|
16
|
+
fragment: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ATTR as e, FRAGMENT_SHADER as o, VERTEX_SHADER as a } from "./constants.mjs";
|
|
2
|
+
const m = () => {
|
|
3
|
+
const t = [
|
|
4
|
+
{
|
|
5
|
+
name: e.PERCENT,
|
|
6
|
+
data: (r, i) => [r / i],
|
|
7
|
+
size: 1
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
name: e.POINT_SIZE,
|
|
11
|
+
data: () => [window.devicePixelRatio * 1.3],
|
|
12
|
+
size: 1
|
|
13
|
+
}
|
|
14
|
+
];
|
|
15
|
+
return {
|
|
16
|
+
uniforms: {
|
|
17
|
+
uProgress: {
|
|
18
|
+
type: "float",
|
|
19
|
+
value: [0]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
attributes: t,
|
|
23
|
+
multiplier: 4e3,
|
|
24
|
+
vertex: a,
|
|
25
|
+
fragment: o
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export {
|
|
29
|
+
m as createOptions
|
|
30
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface ISettings {
|
|
2
|
+
canvas?: HTMLCanvasElement;
|
|
3
|
+
step?: number;
|
|
4
|
+
}
|
|
5
|
+
export declare const createSettings: (settings: ISettings) => {
|
|
6
|
+
uniforms: {
|
|
7
|
+
uProgress: {
|
|
8
|
+
type: string;
|
|
9
|
+
value: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
devicePixelRatio: number;
|
|
13
|
+
shouldRender: boolean;
|
|
14
|
+
canvas: HTMLCanvasElement | undefined;
|
|
15
|
+
onRender: (r: any) => void;
|
|
16
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const i = (e) => {
|
|
2
|
+
const { canvas: o, step: s = 0.09 } = e;
|
|
3
|
+
return {
|
|
4
|
+
uniforms: {
|
|
5
|
+
uProgress: {
|
|
6
|
+
type: "float",
|
|
7
|
+
value: 0
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
devicePixelRatio: window.devicePixelRatio,
|
|
11
|
+
shouldRender: !0,
|
|
12
|
+
canvas: o,
|
|
13
|
+
onRender: (t) => {
|
|
14
|
+
const { uProgress: n } = t.uniforms;
|
|
15
|
+
n.value += s;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
i as createSettings
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const rgba: (val: number[]) => number[];
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
import { jsxs as i, jsx as C } from "../_virtual/jsx-runtime.mjs";
|
|
3
|
+
const a = t.memo((l) => /* @__PURE__ */ i("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: "48",
|
|
6
|
+
height: "48",
|
|
7
|
+
viewBox: "0 0 48 48",
|
|
8
|
+
fill: "none",
|
|
9
|
+
onClick: l.onClick,
|
|
10
|
+
className: l.className,
|
|
11
|
+
children: [/* @__PURE__ */ C("path", {
|
|
12
|
+
d: "M29.1152 21.3106C32.0605 21.3106 34.4481 18.9101 34.4481 15.9489V24.6457C34.4481 25.7585 33.5508 26.6607 32.444 26.6607H15.1207C14.0138 26.6607 13.1166 25.7585 13.1166 24.6457V15.9489C13.1166 18.9101 15.5042 21.3106 18.4494 21.3106C21.3947 21.3106 23.7823 18.9101 23.7823 15.9489C23.7823 18.9101 26.17 21.3106 29.1152 21.3106Z",
|
|
13
|
+
fill: "#9CA3AF"
|
|
14
|
+
}), /* @__PURE__ */ C("path", {
|
|
15
|
+
d: "M23.7823 15.9373L23.7823 15.9489C23.7823 15.9451 23.7823 15.9412 23.7823 15.9373Z",
|
|
16
|
+
fill: "#9CA3AF"
|
|
17
|
+
}), /* @__PURE__ */ C("path", {
|
|
18
|
+
d: "M23.1143 28.004C23.1205 30.9598 25.5057 33.3541 28.4472 33.3541C31.3886 33.3541 33.7738 30.9598 33.7801 28.004H23.1143Z",
|
|
19
|
+
fill: "#9CA3AF"
|
|
20
|
+
}), /* @__PURE__ */ C("path", {
|
|
21
|
+
d: "M13.7846 28.004C13.7846 28.0079 13.7846 28.0117 13.7846 28.0156C13.7908 30.9714 16.1761 33.3657 19.1175 33.3657C22.0589 33.3657 24.4442 30.9714 24.4504 28.0156H13.7846V28.004Z",
|
|
22
|
+
fill: "#9CA3AF"
|
|
23
|
+
}), /* @__PURE__ */ C("path", {
|
|
24
|
+
d: "M14.4527 15.9373C14.4527 16.6792 13.8545 17.2806 13.1166 17.2806C12.3786 17.2806 11.7805 16.6792 11.7805 15.9373C11.7805 15.1954 12.3786 14.594 13.1166 14.594C13.8545 14.594 14.4527 15.1954 14.4527 15.9373Z",
|
|
25
|
+
fill: "#9CA3AF"
|
|
26
|
+
}), /* @__PURE__ */ C("path", {
|
|
27
|
+
d: "M25.1184 15.2657C25.1184 16.0076 24.5202 16.609 23.7823 16.609C23.0444 16.609 22.4462 16.0076 22.4462 15.2657C22.4462 14.5238 23.0444 13.9224 23.7823 13.9224C24.5202 13.9224 25.1184 14.5238 25.1184 15.2657Z",
|
|
28
|
+
fill: "#9CA3AF"
|
|
29
|
+
}), /* @__PURE__ */ C("path", {
|
|
30
|
+
d: "M35.7842 15.9373C35.7842 16.6792 35.186 17.2806 34.4481 17.2806C33.7102 17.2806 33.112 16.6792 33.112 15.9373C33.112 15.1954 33.7102 14.594 34.4481 14.594C35.186 14.594 35.7842 15.1954 35.7842 15.9373Z",
|
|
31
|
+
fill: "#9CA3AF"
|
|
32
|
+
})]
|
|
33
|
+
}), () => !0);
|
|
34
|
+
export {
|
|
35
|
+
a as Logo
|
|
36
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PathObj } from '../breadcrumb/Breadcrumb';
|
|
3
|
+
export declare type NavProps = {
|
|
4
|
+
paths: PathObj[];
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
mini?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
customLogo?: React.ReactNode;
|
|
9
|
+
};
|
|
10
|
+
export declare const Nav: (props: NavProps) => JSX.Element;
|