wimui 0.15.0 → 0.17.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/NOTICE +85 -0
- package/README.ja.md +2 -0
- package/README.md +2 -0
- package/dist/components/_internal/FeedbackIcon.cjs +1 -1
- package/dist/components/_internal/FeedbackIcon.js +17 -16
- package/dist/components/ai/ChatUI/chat-ui.module.cjs +1 -1
- package/dist/components/ai/ChatUI/chat-ui.module.js +2 -2
- package/dist/components/ai/CodeBlock/code-block.module.cjs +1 -1
- package/dist/components/ai/CodeBlock/code-block.module.js +1 -1
- package/dist/components/ai/Terminal/Terminal.cjs +1 -1
- package/dist/components/ai/Terminal/Terminal.js +1 -1
- package/dist/components/ai/Terminal/terminal.module.cjs +1 -1
- package/dist/components/ai/Terminal/terminal.module.js +1 -1
- package/dist/components/data-display/Badge/badge.module.cjs +1 -1
- package/dist/components/data-display/Badge/badge.module.js +1 -1
- package/dist/components/data-display/Card/card.module.cjs +1 -1
- package/dist/components/data-display/Card/card.module.js +15 -15
- package/dist/components/data-display/Chip/chip.module.cjs +1 -1
- package/dist/components/data-display/Chip/chip.module.js +2 -2
- package/dist/components/data-display/DataGrid/DataGrid.cjs +1 -1
- package/dist/components/data-display/DataGrid/DataGrid.d.ts +20 -0
- package/dist/components/data-display/DataGrid/DataGrid.js +4 -1
- package/dist/components/data-display/Stats/Stats.cjs +1 -1
- package/dist/components/data-display/Stats/Stats.js +46 -38
- package/dist/components/data-display/Tag/tag.module.cjs +1 -1
- package/dist/components/data-display/Tag/tag.module.js +1 -1
- package/dist/components/data-display/Timeline/timeline.module.cjs +1 -1
- package/dist/components/data-display/Timeline/timeline.module.js +6 -6
- package/dist/components/feedback/Alert/alert.module.cjs +1 -1
- package/dist/components/feedback/Alert/alert.module.js +2 -2
- package/dist/components/feedback/ErrorBoundary/ErrorBoundary.cjs +1 -1
- package/dist/components/feedback/ErrorBoundary/ErrorBoundary.js +2 -2
- package/dist/components/feedback/LoadingOverlay/LoadingOverlay.cjs +1 -1
- package/dist/components/feedback/LoadingOverlay/LoadingOverlay.d.ts +10 -0
- package/dist/components/feedback/LoadingOverlay/LoadingOverlay.js +4 -9
- package/dist/components/feedback/Toast/toast.module.cjs +1 -1
- package/dist/components/feedback/Toast/toast.module.js +8 -8
- package/dist/components/form/Cascader/cascader.module.cjs +1 -1
- package/dist/components/form/Cascader/cascader.module.js +6 -6
- package/dist/components/form/RichTextEditor/RichTextEditor.cjs +1 -1
- package/dist/components/form/RichTextEditor/RichTextEditor.js +248 -421
- package/dist/components/form/SignaturePad/signature-pad.module.cjs +1 -1
- package/dist/components/form/SignaturePad/signature-pad.module.js +6 -6
- package/dist/components/form/Transfer/transfer.module.cjs +1 -1
- package/dist/components/form/Transfer/transfer.module.js +6 -6
- package/dist/components/form/TreeSelect/tree-select.module.cjs +1 -1
- package/dist/components/form/TreeSelect/tree-select.module.js +6 -6
- package/dist/components/layout/Dashboard/Dashboard.cjs +1 -1
- package/dist/components/layout/Dashboard/Dashboard.js +1 -1
- package/dist/components/layout/Transition/Transition.cjs +1 -1
- package/dist/components/layout/Transition/Transition.js +24 -46
- package/dist/components/media/Gallery/Gallery.cjs +1 -1
- package/dist/components/media/Gallery/Gallery.js +1 -1
- package/dist/components/media/Lightbox/Lightbox.cjs +1 -1
- package/dist/components/media/Lightbox/Lightbox.d.ts +4 -0
- package/dist/components/media/Lightbox/Lightbox.js +23 -22
- package/dist/components/navigation/TabBar/TabBar.d.ts +12 -1
- package/dist/components/navigation/TabBar/tab-bar.module.cjs +1 -1
- package/dist/components/navigation/TabBar/tab-bar.module.js +1 -1
- package/dist/components/overlay/BottomSheet/BottomSheet.cjs +1 -1
- package/dist/components/overlay/BottomSheet/BottomSheet.js +1 -8
- package/dist/components/overlay/BottomSheet/bottom-sheet.module.cjs +1 -1
- package/dist/components/overlay/BottomSheet/bottom-sheet.module.js +8 -10
- package/dist/components/overlay/HoverCard/HoverCard.cjs +1 -1
- package/dist/components/overlay/HoverCard/HoverCard.js +55 -60
- package/dist/components/overlay/Popover/Popover.cjs +1 -1
- package/dist/components/overlay/Popover/Popover.js +2 -3
- package/dist/components/typography/Code/code.module.cjs +1 -1
- package/dist/components/typography/Code/code.module.js +1 -1
- package/dist/i18n/generated/keys.d.ts +1 -1
- package/dist/i18n/generated/resources.cjs +1 -1
- package/dist/i18n/generated/resources.js +9 -3
- package/dist/icon/alert-triangle.cjs +2 -0
- package/dist/icon/alert-triangle.js +31 -0
- package/dist/icon/align-justify.cjs +1 -1
- package/dist/icon/align-justify.js +14 -8
- package/dist/icon/arrow-down.cjs +2 -0
- package/dist/icon/arrow-down.js +22 -0
- package/dist/icon/arrow-left.cjs +2 -0
- package/dist/icon/arrow-left.js +22 -0
- package/dist/icon/arrow-right.cjs +2 -0
- package/dist/icon/arrow-right.js +22 -0
- package/dist/icon/arrow-up.cjs +2 -0
- package/dist/icon/arrow-up.js +22 -0
- package/dist/icon/bell.cjs +1 -1
- package/dist/icon/bell.js +0 -2
- package/dist/icon/bold.cjs +2 -0
- package/dist/icon/bold.js +17 -0
- package/dist/icon/chart.cjs +1 -1
- package/dist/icon/chart.js +0 -2
- package/dist/icon/close-small.cjs +1 -1
- package/dist/icon/close-small.js +21 -11
- package/dist/icon/columns.cjs +1 -1
- package/dist/icon/columns.js +5 -17
- package/dist/icon/credit-card.cjs +1 -1
- package/dist/icon/credit-card.js +0 -2
- package/dist/icon/document.cjs +1 -1
- package/dist/icon/document.js +1 -6
- package/dist/icon/eraser.cjs +2 -0
- package/dist/icon/eraser.js +17 -0
- package/dist/icon/external-link.cjs +1 -1
- package/dist/icon/external-link.js +0 -2
- package/dist/icon/grid.cjs +1 -1
- package/dist/icon/grid.js +36 -36
- package/dist/icon/grip-vertical.cjs +1 -1
- package/dist/icon/grip-vertical.js +0 -2
- package/dist/icon/home.cjs +1 -1
- package/dist/icon/home.js +1 -3
- package/dist/icon/hourglass.cjs +1 -1
- package/dist/icon/hourglass.js +6 -1
- package/dist/icon/index.cjs +1 -1
- package/dist/icon/index.d.ts +29 -1
- package/dist/icon/index.js +176 -148
- package/dist/icon/italic.cjs +2 -0
- package/dist/icon/italic.js +36 -0
- package/dist/icon/link.cjs +2 -0
- package/dist/icon/link.js +17 -0
- package/dist/icon/list-ordered.cjs +2 -0
- package/dist/icon/list-ordered.js +24 -0
- package/dist/icon/list.cjs +2 -0
- package/dist/icon/list.js +54 -0
- package/dist/icon/loading.cjs +1 -1
- package/dist/icon/loading.js +7 -16
- package/dist/icon/maximize.cjs +1 -1
- package/dist/icon/maximize.js +2 -4
- package/dist/icon/menu.cjs +1 -1
- package/dist/icon/menu.js +4 -4
- package/dist/icon/minimize.cjs +1 -1
- package/dist/icon/minimize.js +0 -2
- package/dist/icon/paperclip.cjs +1 -1
- package/dist/icon/paperclip.js +1 -3
- package/dist/icon/phone.cjs +1 -1
- package/dist/icon/phone.js +1 -1
- package/dist/icon/pip.cjs +1 -1
- package/dist/icon/pip.js +15 -31
- package/dist/icon/project.cjs +1 -1
- package/dist/icon/project.js +1 -3
- package/dist/icon/repeat.cjs +1 -1
- package/dist/icon/repeat.js +4 -6
- package/dist/icon/send.cjs +1 -1
- package/dist/icon/send.js +6 -3
- package/dist/icon/settings.cjs +1 -1
- package/dist/icon/settings.js +2 -4
- package/dist/icon/shuffle.cjs +1 -1
- package/dist/icon/shuffle.js +0 -2
- package/dist/icon/skip-back.cjs +1 -1
- package/dist/icon/skip-back.js +0 -2
- package/dist/icon/skip-forward.cjs +1 -1
- package/dist/icon/skip-forward.js +1 -3
- package/dist/icon/square.cjs +1 -1
- package/dist/icon/square.js +13 -9
- package/dist/icon/star.cjs +1 -1
- package/dist/icon/star.js +0 -2
- package/dist/icon/strikethrough.cjs +2 -0
- package/dist/icon/strikethrough.js +26 -0
- package/dist/icon/thumb-down.cjs +1 -1
- package/dist/icon/thumb-down.js +1 -1
- package/dist/icon/underline.cjs +2 -0
- package/dist/icon/underline.js +22 -0
- package/dist/icon/unlink.cjs +2 -0
- package/dist/icon/unlink.js +44 -0
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +90 -76
- package/dist/index.cjs +1 -1
- package/dist/index.js +257 -243
- package/dist/llms-full.txt +21 -2
- package/dist/llms.txt +1 -1
- package/dist/locales/en/components.json +3 -1
- package/dist/locales/ja/components.json +3 -1
- package/dist/locales/pt/components.json +3 -1
- package/dist/reset.css +1 -1
- package/dist/styles.css +2 -2
- package/dist/wimui.umd.css +1 -1
- package/dist/wimui.umd.js +5 -5
- package/package.json +24 -17
package/NOTICE
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
wimui
|
|
2
|
+
Copyright (c) 2025 takeshi sakuma
|
|
3
|
+
|
|
4
|
+
This product includes third-party material listed below.
|
|
5
|
+
|
|
6
|
+
The icon set in `src/icon/` (shipped compiled into `dist/`) is substantially
|
|
7
|
+
derived from Feather and Lucide, and is used under their licences, reproduced
|
|
8
|
+
in full below.
|
|
9
|
+
|
|
10
|
+
Provenance was established on 2026-08-05 by comparing all 88 shipped icons
|
|
11
|
+
against feather-icons 4.29.2, lucide-static 1.28.0, heroicons 2.2.0,
|
|
12
|
+
bootstrap-icons 1.13.1 and @tabler/icons 3.46.0, and then against the whole of
|
|
13
|
+
@iconify/json 2.2.509 — 236 icon sets, 328,420 icons. Matching is on normalised
|
|
14
|
+
path data rather than on file name, since many icons are shipped here under a
|
|
15
|
+
different name (for example `close` = Feather `x`, `email` = `mail`, `spinner`
|
|
16
|
+
= `loader`, `refresh` = `refresh-cw`, `trash` = `trash-2`, `mute` = `volume-x`,
|
|
17
|
+
`volume` = `volume-2`, `info-circle` = `info`, `thumb-up` = `thumbs-up`,
|
|
18
|
+
`loading` = Lucide `loader-circle`).
|
|
19
|
+
|
|
20
|
+
- 70 icons are identical to a Feather icon.
|
|
21
|
+
- 12 icons are identical to a Lucide icon (`eraser`, `grip-vertical`,
|
|
22
|
+
`hourglass`, `list-ordered`, `loading`, `maximize`, `minimize`, `project`,
|
|
23
|
+
`repeat`, `square`, `strikethrough`, `unlink`).
|
|
24
|
+
- `pdf` is derived from Feather's `file` family — 58 of its 180 path
|
|
25
|
+
characters are identical to `file-minus`, and the fold is `file-text`'s —
|
|
26
|
+
with the P/D/F lettering added here.
|
|
27
|
+
- 5 icons (`chart`, `grid`, `pip`, `skip-back`, `skip-forward`) match no icon
|
|
28
|
+
in any of the 328,420 compared, and share no path fragment with them beyond
|
|
29
|
+
the idioms any 24px arc has in common. No third-party attribution is known
|
|
30
|
+
to be owed for them. `grid` was added to this repository on 2026-07-31 and
|
|
31
|
+
changed from outline to solid on 2026-08-04; `skip-forward` was produced
|
|
32
|
+
here by mirroring `skip-back`.
|
|
33
|
+
|
|
34
|
+
Both licences are reproduced in full below.
|
|
35
|
+
|
|
36
|
+
This breakdown is checked on every audit run — see `scripts/icon-provenance.json`
|
|
37
|
+
and `npm run check:icons:provenance`. If an icon is added or changed so that its
|
|
38
|
+
provenance no longer matches that file, the build fails and this notice has to be
|
|
39
|
+
brought back in line.
|
|
40
|
+
|
|
41
|
+
--------------------------------------------------------------------------------
|
|
42
|
+
Feather — https://github.com/feathericons/feather
|
|
43
|
+
--------------------------------------------------------------------------------
|
|
44
|
+
|
|
45
|
+
The MIT License (MIT)
|
|
46
|
+
|
|
47
|
+
Copyright (c) 2013-2023 Cole Bemis
|
|
48
|
+
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
50
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
51
|
+
in the Software without restriction, including without limitation the rights
|
|
52
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
53
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
54
|
+
furnished to do so, subject to the following conditions:
|
|
55
|
+
|
|
56
|
+
The above copyright notice and this permission notice shall be included in all
|
|
57
|
+
copies or substantial portions of the Software.
|
|
58
|
+
|
|
59
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
60
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
61
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
62
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
63
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
64
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
65
|
+
SOFTWARE.
|
|
66
|
+
|
|
67
|
+
--------------------------------------------------------------------------------
|
|
68
|
+
Lucide — https://github.com/lucide-icons/lucide
|
|
69
|
+
--------------------------------------------------------------------------------
|
|
70
|
+
|
|
71
|
+
ISC License
|
|
72
|
+
|
|
73
|
+
Copyright (c) 2026 Lucide Icons and Contributors
|
|
74
|
+
|
|
75
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
76
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
77
|
+
copyright notice and this permission notice appear in all copies.
|
|
78
|
+
|
|
79
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
80
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
81
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
82
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
83
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
84
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
85
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
package/README.ja.md
CHANGED
|
@@ -177,6 +177,8 @@ import "wimui/icons"; // 全アイコン(約 30KB minify / 5KB gzip)を登
|
|
|
177
177
|
|
|
178
178
|
文字列指定を使わなければ `wimui/icons` の読み込みは不要で、アイコンはバンドルに含まれません。
|
|
179
179
|
|
|
180
|
+
アイコンセットは大部分が [Feather](https://github.com/feathericons/feather)(MIT)と [Lucide](https://github.com/lucide-icons/lucide)(ISC)に由来し、パッケージに同梱される [`NOTICE`](./NOTICE) に表示しています。出所は自己申告ではなく、[Iconify](https://github.com/iconify/icon-sets) の 236 セット・328,420 個とパスデータで照合して確かめており、アイコンの追加・変更で `NOTICE` の記述とずれると `npm run check:icons:provenance` がビルドを止めます。
|
|
181
|
+
|
|
180
182
|
## 多言語化(i18n)
|
|
181
183
|
|
|
182
184
|
セットアップなしで英語表示で動作します(コンポーネントが使用する翻訳キーのみを en / ja / pt で内蔵)。**i18next / react-i18next などの依存は不要**です。表示言語を切り替えるには:
|
package/README.md
CHANGED
|
@@ -175,6 +175,8 @@ import "wimui/icons"; // registers all icons (~30KB minified / 5KB gzip)
|
|
|
175
175
|
|
|
176
176
|
If you never use string-based specification, you don't need to import `wimui/icons`, and the icons are not included in your bundle.
|
|
177
177
|
|
|
178
|
+
The icon set is largely derived from [Feather](https://github.com/feathericons/feather) (MIT) and [Lucide](https://github.com/lucide-icons/lucide) (ISC), attributed in [`NOTICE`](./NOTICE), which ships with the package. Provenance is not taken on trust: every shipped icon is matched by path data against 236 icon sets (328,420 icons) from [Iconify](https://github.com/iconify/icon-sets), and `npm run check:icons:provenance` fails the build if an icon is added or changed so that `NOTICE` no longer describes it.
|
|
179
|
+
|
|
178
180
|
## Internationalization (i18n)
|
|
179
181
|
|
|
180
182
|
Works out of the box in English with no setup (only the translation keys used by components are bundled for en / ja / pt). **No dependency on `i18next` / `react-i18next`** is required. To switch the display language:
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("../../icon/alert-circle.cjs"),n=require("../../icon/
|
|
2
|
+
const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("../../icon/alert-circle.cjs"),n=require("../../icon/alert-triangle.cjs"),r=require("../../icon/check.cjs"),i=require("../../icon/circle.cjs"),a=require("../../icon/info-circle.cjs"),o=require("../media/Icon/Icon.cjs");let s=require("react");s=e.__toESM(s,1);let c=require("react/jsx-runtime");var l=({intent:e=`info`,icon:t,size:n=`sm`,className:r,color:a})=>t&&s.default.isValidElement(t)?(0,c.jsx)(c.Fragment,{children:t}):t===!1?null:(0,c.jsx)(o.Icon,{component:u[e]??i.default,size:n,className:r,color:a}),u={success:r.default,danger:t.default,warning:n.default,info:a.default};exports.FeedbackIcon=l;
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import e from "../../icon/alert-circle.js";
|
|
3
|
-
import t from "../../icon/
|
|
4
|
-
import n from "../../icon/
|
|
5
|
-
import r from "../../icon/
|
|
6
|
-
import
|
|
7
|
-
import a from "
|
|
8
|
-
import
|
|
3
|
+
import t from "../../icon/alert-triangle.js";
|
|
4
|
+
import n from "../../icon/check.js";
|
|
5
|
+
import r from "../../icon/circle.js";
|
|
6
|
+
import i from "../../icon/info-circle.js";
|
|
7
|
+
import { Icon as a } from "../media/Icon/Icon.js";
|
|
8
|
+
import o from "react";
|
|
9
|
+
import { Fragment as s, jsx as c } from "react/jsx-runtime";
|
|
9
10
|
//#region src/components/_internal/FeedbackIcon.tsx
|
|
10
|
-
var
|
|
11
|
-
component:
|
|
12
|
-
size:
|
|
13
|
-
className:
|
|
14
|
-
color:
|
|
15
|
-
}),
|
|
16
|
-
success:
|
|
11
|
+
var l = ({ intent: e = "info", icon: t, size: n = "sm", className: i, color: l }) => t && o.isValidElement(t) ? /* @__PURE__ */ c(s, { children: t }) : t === !1 ? null : /* @__PURE__ */ c(a, {
|
|
12
|
+
component: u[e] ?? r,
|
|
13
|
+
size: n,
|
|
14
|
+
className: i,
|
|
15
|
+
color: l
|
|
16
|
+
}), u = {
|
|
17
|
+
success: n,
|
|
17
18
|
danger: e,
|
|
18
|
-
warning:
|
|
19
|
-
info:
|
|
19
|
+
warning: t,
|
|
20
|
+
info: i
|
|
20
21
|
};
|
|
21
22
|
//#endregion
|
|
22
|
-
export {
|
|
23
|
+
export { l as FeedbackIcon };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_container_u2tvr_3`,t=`_messageList_u2tvr_19`,n=`_message_u2tvr_19`,r=`_left_u2tvr_51`,i=`_right_u2tvr_56`,a=`_contentWrapper_u2tvr_61`,o=`_primary_u2tvr_64`,s=`_secondary_u2tvr_67`,c=`_messageAvatar_u2tvr_70`,l=`_sender_u2tvr_79`,u=`_bubble_u2tvr_84`,d=`_typing_u2tvr_95`,f=`_typingDot_u2tvr_102`,p=`_actions_u2tvr_126`,m=`_hoverOnly_u2tvr_133`,h=`_hasAvatar_u2tvr_151`,g=`_timestamp_u2tvr_191`,_=`_inputArea_u2tvr_196`,v=`_fieldContainer_u2tvr_209`,y=`_field_u2tvr_209`,b=`_sendButton_u2tvr_244`,x=`_attachButton_u2tvr_271`,S=`_avatar_u2tvr_293`,C=`_sm_u2tvr_303`,w=`_md_u2tvr_308`,T=`_lg_u2tvr_313`,E=`_s1_u2tvr_321`,D=`_s3_u2tvr_324`,O=`_s5_u2tvr_327`,k=`_s7_u2tvr_330`,A=`_s10_u2tvr_333`,j=`_s12_u2tvr_336`,M=`_s14_u2tvr_339`,N=`_s16_u2tvr_342`,P=`_s18_u2tvr_345`,F=`_s20_u2tvr_348`,I=`_s22_u2tvr_351`,L=`_s24_u2tvr_354`,R=`_image_u2tvr_357`,z=`_fallback_u2tvr_362`,B={container:e,messageList:t,message:n,left:r,right:i,contentWrapper:a,primary:o,secondary:s,messageAvatar:c,sender:l,bubble:u,typing:d,typingDot:f,"chat-typing":`_chat-typing_u2tvr_1`,actions:p,hoverOnly:m,hasAvatar:h,timestamp:g,inputArea:_,fieldContainer:v,field:y,sendButton:b,attachButton:x,avatar:S,sm:C,md:w,lg:T,s1:E,s3:D,s5:O,s7:k,s10:A,s12:j,s14:M,s16:N,s18:P,s20:F,s22:I,s24:L,image:R,fallback:z};exports.actions=p,exports.attachButton=x,exports.avatar=S,exports.bubble=u,exports.container=e,exports.contentWrapper=a,exports.default=B,exports.fallback=z,exports.field=y,exports.fieldContainer=v,exports.hasAvatar=h,exports.hoverOnly=m,exports.image=R,exports.inputArea=_,exports.left=r,exports.lg=T,exports.md=w,exports.message=n,exports.messageAvatar=c,exports.messageList=t,exports.primary=o,exports.right=i,exports.s1=E,exports.s10=A,exports.s12=j,exports.s14=M,exports.s16=N,exports.s18=P,exports.s20=F,exports.s22=I,exports.s24=L,exports.s3=D,exports.s5=O,exports.s7=k,exports.secondary=s,exports.sendButton=b,exports.sender=l,exports.sm=C,exports.timestamp=g,exports.typing=d,exports.typingDot=f;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/ai/ChatUI/chat-ui.module.scss
|
|
3
|
-
var e = "
|
|
3
|
+
var e = "_container_u2tvr_3", t = "_messageList_u2tvr_19", n = "_message_u2tvr_19", r = "_left_u2tvr_51", i = "_right_u2tvr_56", a = "_contentWrapper_u2tvr_61", o = "_primary_u2tvr_64", s = "_secondary_u2tvr_67", c = "_messageAvatar_u2tvr_70", l = "_sender_u2tvr_79", u = "_bubble_u2tvr_84", d = "_typing_u2tvr_95", f = "_typingDot_u2tvr_102", p = "_actions_u2tvr_126", m = "_hoverOnly_u2tvr_133", h = "_hasAvatar_u2tvr_151", g = "_timestamp_u2tvr_191", _ = "_inputArea_u2tvr_196", v = "_fieldContainer_u2tvr_209", y = "_field_u2tvr_209", b = "_sendButton_u2tvr_244", x = "_attachButton_u2tvr_271", S = "_avatar_u2tvr_293", C = "_sm_u2tvr_303", w = "_md_u2tvr_308", T = "_lg_u2tvr_313", E = "_s1_u2tvr_321", D = "_s3_u2tvr_324", O = "_s5_u2tvr_327", k = "_s7_u2tvr_330", A = "_s10_u2tvr_333", j = "_s12_u2tvr_336", M = "_s14_u2tvr_339", N = "_s16_u2tvr_342", P = "_s18_u2tvr_345", F = "_s20_u2tvr_348", I = "_s22_u2tvr_351", L = "_s24_u2tvr_354", R = "_image_u2tvr_357", z = "_fallback_u2tvr_362", B = {
|
|
4
4
|
container: e,
|
|
5
5
|
messageList: t,
|
|
6
6
|
message: n,
|
|
@@ -14,7 +14,7 @@ var e = "_container_1ycre_3", t = "_messageList_1ycre_19", n = "_message_1ycre_1
|
|
|
14
14
|
bubble: u,
|
|
15
15
|
typing: d,
|
|
16
16
|
typingDot: f,
|
|
17
|
-
"chat-typing": "_chat-
|
|
17
|
+
"chat-typing": "_chat-typing_u2tvr_1",
|
|
18
18
|
actions: p,
|
|
19
19
|
hoverOnly: m,
|
|
20
20
|
hasAvatar: h,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_root_1xu4g_29`,t=`_header_1xu4g_47`,n=`_lang_1xu4g_55`,r=`_headerActions_1xu4g_68`,i=`_iconButton_1xu4g_73`,a=`_copied_1xu4g_94`,o=`_chevron_1xu4g_100`,s=`_chevronUp_1xu4g_103`,c=`_body_1xu4g_106`,l=`_collapsed_1xu4g_109`,u=`_pre_1xu4g_39`,d=`_code_1xu4g_150`,f=`_line_1xu4g_153`,p=`_lineNumber_1xu4g_156`,m=`_lineContent_1xu4g_165`,h={root:e,header:t,lang:n,headerActions:r,iconButton:i,copied:a,chevron:o,chevronUp:s,body:c,collapsed:l,pre:u,code:d,line:f,lineNumber:p,lineContent:m};exports.body=c,exports.chevron=o,exports.chevronUp=s,exports.code=d,exports.collapsed=l,exports.copied=a,exports.default=h,exports.header=t,exports.headerActions=r,exports.iconButton=i,exports.lang=n,exports.line=f,exports.lineContent=m,exports.lineNumber=p,exports.pre=u,exports.root=e;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/ai/CodeBlock/code-block.module.scss
|
|
3
|
-
var e = "
|
|
3
|
+
var e = "_root_1xu4g_29", t = "_header_1xu4g_47", n = "_lang_1xu4g_55", r = "_headerActions_1xu4g_68", i = "_iconButton_1xu4g_73", a = "_copied_1xu4g_94", o = "_chevron_1xu4g_100", s = "_chevronUp_1xu4g_103", c = "_body_1xu4g_106", l = "_collapsed_1xu4g_109", u = "_pre_1xu4g_39", d = "_code_1xu4g_150", f = "_line_1xu4g_153", p = "_lineNumber_1xu4g_156", m = "_lineContent_1xu4g_165", h = {
|
|
4
4
|
root: e,
|
|
5
5
|
header: t,
|
|
6
6
|
lang: n,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../i18n/useWimTranslation.cjs"),n=require("../../../icon/check.cjs"),r=require("../../../icon/close
|
|
2
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../i18n/useWimTranslation.cjs"),n=require("../../../icon/check.cjs"),r=require("../../../icon/close.cjs"),i=require("../../../icon/copy.cjs"),a=require("../../media/Icon/Icon.cjs"),o=require("./terminal.module.cjs");let s=require("react");s=e.__toESM(s,1);let c=require("classnames");c=e.__toESM(c,1);let l=require("react/jsx-runtime");var u={30:`#2d2d2d`,31:`#e06c75`,32:`#98c379`,33:`#e5c07b`,34:`#61afef`,35:`#c678dd`,36:`#56b6c2`,37:`#abb2bf`,90:`#9aa1ab`,91:`#e06c75`,92:`#98c379`,93:`#e5c07b`,94:`#61afef`,95:`#c678dd`,96:`#56b6c2`,97:`#ffffff`};function d(e){let t=RegExp(`\x1B\\[([0-9;]*)m`,`g`),n=[],r=0,i={},a=0;for(let o of e.matchAll(t)){o.index>r&&n.push((0,l.jsx)(`span`,{style:{color:i.color,fontWeight:i.bold?`bold`:void 0},children:e.slice(r,o.index)},a++));let t=o[1]?o[1].split(`;`).map(Number):[0],s={...i};for(let e of t)e===0?Object.assign(s,{color:void 0,bold:void 0}):e===1?s.bold=!0:u[e]&&(s.color=u[e]);i=s,r=o.index+o[0].length}return r<e.length&&n.push((0,l.jsx)(`span`,{style:{color:i.color,fontWeight:i.bold?`bold`:void 0},children:e.slice(r)},a++)),n.length===1?n[0]:(0,l.jsx)(l.Fragment,{children:n})}var f=s.default.forwardRef(({lines:e=[],title:u,height:f,autoScroll:p=!0,prompt:m=`$`,showCopy:h=!0,onClear:g,className:_,style:v,...y},b)=>{let{t:x}=t.useWimTranslation(`form`),[S,C]=s.default.useState(!1),w=(0,s.useRef)(null);(0,s.useEffect)(()=>{p&&w.current&&(w.current.scrollTop=w.current.scrollHeight)},[e,p]);let T=(0,s.useCallback)(async()=>{let t=e.map(e=>e.type===`input`?`${m} ${e.content}`:e.content).join(`
|
|
3
3
|
`);try{await navigator.clipboard.writeText(t),C(!0),setTimeout(()=>C(!1),2e3)}catch{}},[e,m]);return(0,l.jsxs)(`div`,{ref:b,"data-theme":`dark`,className:(0,c.default)(`wim-terminal`,o.default.root,_),style:{...f==null?{}:{height:f},...v},...y,children:[(0,l.jsxs)(`div`,{className:o.default.titleBar,children:[(0,l.jsx)(`span`,{className:o.default.dot,"data-color":`red`,"aria-hidden":`true`}),(0,l.jsx)(`span`,{className:o.default.dot,"data-color":`yellow`,"aria-hidden":`true`}),(0,l.jsx)(`span`,{className:o.default.dot,"data-color":`green`,"aria-hidden":`true`}),u&&(0,l.jsx)(`span`,{className:o.default.titleText,children:u}),(0,l.jsxs)(`div`,{className:o.default.titleActions,children:[h&&(0,l.jsx)(`button`,{type:`button`,className:(0,c.default)(o.default.titleBtn,S&&o.default.copied),onClick:T,"aria-label":x(S?`terminal.copied_label`:`terminal.copy_label`),children:(0,l.jsx)(a.Icon,{component:S?n.default:i.default,size:`sm`})}),g&&(0,l.jsx)(`button`,{type:`button`,className:o.default.titleBtn,onClick:g,"aria-label":x(`terminal.clear_label`),children:(0,l.jsx)(a.Icon,{component:r.default,size:`sm`})})]})]}),(0,l.jsx)(`div`,{ref:w,className:o.default.body,role:`log`,"aria-live":`polite`,"aria-label":u,tabIndex:0,children:e.map((e,t)=>(0,l.jsxs)(`div`,{className:(0,c.default)(o.default.line,e.type&&o.default[e.type]),children:[e.type===`input`&&(0,l.jsx)(`span`,{className:o.default.prompt,"aria-hidden":`true`,children:m}),(0,l.jsx)(`span`,{className:o.default.content,children:d(e.content)})]},e.id??t))})]})});f.displayName=`Terminal`,exports.Terminal=f;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useWimTranslation as e } from "../../../i18n/useWimTranslation.js";
|
|
3
3
|
import t from "../../../icon/check.js";
|
|
4
|
-
import n from "../../../icon/close
|
|
4
|
+
import n from "../../../icon/close.js";
|
|
5
5
|
import r from "../../../icon/copy.js";
|
|
6
6
|
import { Icon as i } from "../../media/Icon/Icon.js";
|
|
7
7
|
import a from "./terminal.module.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_root_1si8m_35`,t=`_titleBar_1si8m_48`,n=`_dot_1si8m_57`,r=`_titleText_1si8m_73`,i=`_titleActions_1si8m_89`,a=`_titleBtn_1si8m_95`,o=`_copied_1si8m_116`,s=`_body_1si8m_123`,c=`_line_1si8m_138`,l=`_prompt_1si8m_144`,u=`_content_1si8m_149`,d=`_input_1si8m_156`,f=`_output_1si8m_159`,p=`_error_1si8m_162`,m=`_info_1si8m_168`,h={root:e,titleBar:t,dot:n,titleText:r,titleActions:i,titleBtn:a,copied:o,body:s,line:c,prompt:l,content:u,input:d,output:f,error:p,info:m};exports.body=s,exports.content=u,exports.copied=o,exports.default=h,exports.dot=n,exports.error=p,exports.info=m,exports.input=d,exports.line=c,exports.output=f,exports.prompt=l,exports.root=e,exports.titleActions=i,exports.titleBar=t,exports.titleBtn=a,exports.titleText=r;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/ai/Terminal/terminal.module.scss
|
|
3
|
-
var e = "
|
|
3
|
+
var e = "_root_1si8m_35", t = "_titleBar_1si8m_48", n = "_dot_1si8m_57", r = "_titleText_1si8m_73", i = "_titleActions_1si8m_89", a = "_titleBtn_1si8m_95", o = "_copied_1si8m_116", s = "_body_1si8m_123", c = "_line_1si8m_138", l = "_prompt_1si8m_144", u = "_content_1si8m_149", d = "_input_1si8m_156", f = "_output_1si8m_159", p = "_error_1si8m_162", m = "_info_1si8m_168", h = {
|
|
4
4
|
root: e,
|
|
5
5
|
titleBar: t,
|
|
6
6
|
dot: n,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_root_t2qyn_2`,t=`_sm_t2qyn_15`,n=`_iconOnly_t2qyn_23`,r=`_md_t2qyn_30`,i=`_lg_t2qyn_45`,a=`_primary_t2qyn_60`,o=`_solid_t2qyn_60`,s=`_outline_t2qyn_66`,c=`_subtle_t2qyn_71`,l=`_secondary_t2qyn_79`,u=`_success_t2qyn_98`,d=`_warning_t2qyn_117`,f=`_danger_t2qyn_136`,p=`_info_t2qyn_155`,m=`_neutral_t2qyn_174`,h=`_interactive_t2qyn_193`,g=`_icon_t2qyn_23`,_={root:e,sm:t,iconOnly:n,md:r,lg:i,primary:a,solid:o,outline:s,subtle:c,secondary:l,success:u,warning:d,danger:f,info:p,neutral:m,interactive:h,icon:g};exports.danger=f,exports.default=_,exports.icon=g,exports.iconOnly=n,exports.info=p,exports.interactive=h,exports.lg=i,exports.md=r,exports.neutral=m,exports.outline=s,exports.primary=a,exports.root=e,exports.secondary=l,exports.sm=t,exports.solid=o,exports.subtle=c,exports.success=u,exports.warning=d;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/data-display/Badge/badge.module.scss
|
|
3
|
-
var e = "
|
|
3
|
+
var e = "_root_t2qyn_2", t = "_sm_t2qyn_15", n = "_iconOnly_t2qyn_23", r = "_md_t2qyn_30", i = "_lg_t2qyn_45", a = "_primary_t2qyn_60", o = "_solid_t2qyn_60", s = "_outline_t2qyn_66", c = "_subtle_t2qyn_71", l = "_secondary_t2qyn_79", u = "_success_t2qyn_98", d = "_warning_t2qyn_117", f = "_danger_t2qyn_136", p = "_info_t2qyn_155", m = "_neutral_t2qyn_174", h = "_interactive_t2qyn_193", g = "_icon_t2qyn_23", _ = {
|
|
4
4
|
root: e,
|
|
5
5
|
sm: t,
|
|
6
6
|
iconOnly: n,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_root_m9pq3_3`,t=`_elevated_m9pq3_14`,n=`_interactive_m9pq3_18`,r=`_outline_m9pq3_22`,i=`_flat_m9pq3_29`,a=`_glass_m9pq3_37`,o=`_header_m9pq3_59`,s=`_body_m9pq3_59`,c=`_footer_m9pq3_59`,l={root:e,elevated:t,interactive:n,outline:r,flat:i,glass:a,"padding-none":`_padding-none_m9pq3_56`,header:o,body:s,footer:c,"padding-xs":`_padding-xs_m9pq3_62`,"padding-sm":`_padding-sm_m9pq3_68`,"padding-md":`_padding-md_m9pq3_74`,"padding-lg":`_padding-lg_m9pq3_80`,"padding-xl":`_padding-xl_m9pq3_100`,"padding-2xl":`_padding-2xl_m9pq3_106`,"padding-3xl":`_padding-3xl_m9pq3_112`,"radius-none":`_radius-none_m9pq3_121`,"radius-sm":`_radius-sm_m9pq3_124`,"radius-md":`_radius-md_m9pq3_127`,"radius-lg":`_radius-lg_m9pq3_130`,"radius-xl":`_radius-xl_m9pq3_133`,"radius-2xl":`_radius-2xl_m9pq3_136`};exports.body=s,exports.default=l,exports.elevated=t,exports.flat=i,exports.footer=c,exports.glass=a,exports.header=o,exports.interactive=n,exports.outline=r,exports.root=e;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/data-display/Card/card.module.scss
|
|
3
|
-
var e = "
|
|
3
|
+
var e = "_root_m9pq3_3", t = "_elevated_m9pq3_14", n = "_interactive_m9pq3_18", r = "_outline_m9pq3_22", i = "_flat_m9pq3_29", a = "_glass_m9pq3_37", o = "_header_m9pq3_59", s = "_body_m9pq3_59", c = "_footer_m9pq3_59", l = {
|
|
4
4
|
root: e,
|
|
5
5
|
elevated: t,
|
|
6
6
|
interactive: n,
|
|
7
7
|
outline: r,
|
|
8
8
|
flat: i,
|
|
9
9
|
glass: a,
|
|
10
|
-
"padding-none": "_padding-
|
|
10
|
+
"padding-none": "_padding-none_m9pq3_56",
|
|
11
11
|
header: o,
|
|
12
12
|
body: s,
|
|
13
13
|
footer: c,
|
|
14
|
-
"padding-xs": "_padding-
|
|
15
|
-
"padding-sm": "_padding-
|
|
16
|
-
"padding-md": "_padding-
|
|
17
|
-
"padding-lg": "_padding-
|
|
18
|
-
"padding-xl": "_padding-
|
|
19
|
-
"padding-2xl": "_padding-
|
|
20
|
-
"padding-3xl": "_padding-
|
|
21
|
-
"radius-none": "_radius-
|
|
22
|
-
"radius-sm": "_radius-
|
|
23
|
-
"radius-md": "_radius-
|
|
24
|
-
"radius-lg": "_radius-
|
|
25
|
-
"radius-xl": "_radius-
|
|
26
|
-
"radius-2xl": "_radius-
|
|
14
|
+
"padding-xs": "_padding-xs_m9pq3_62",
|
|
15
|
+
"padding-sm": "_padding-sm_m9pq3_68",
|
|
16
|
+
"padding-md": "_padding-md_m9pq3_74",
|
|
17
|
+
"padding-lg": "_padding-lg_m9pq3_80",
|
|
18
|
+
"padding-xl": "_padding-xl_m9pq3_100",
|
|
19
|
+
"padding-2xl": "_padding-2xl_m9pq3_106",
|
|
20
|
+
"padding-3xl": "_padding-3xl_m9pq3_112",
|
|
21
|
+
"radius-none": "_radius-none_m9pq3_121",
|
|
22
|
+
"radius-sm": "_radius-sm_m9pq3_124",
|
|
23
|
+
"radius-md": "_radius-md_m9pq3_127",
|
|
24
|
+
"radius-lg": "_radius-lg_m9pq3_130",
|
|
25
|
+
"radius-xl": "_radius-xl_m9pq3_133",
|
|
26
|
+
"radius-2xl": "_radius-2xl_m9pq3_136"
|
|
27
27
|
};
|
|
28
28
|
//#endregion
|
|
29
29
|
export { s as body, l as default, t as elevated, i as flat, c as footer, a as glass, o as header, n as interactive, r as outline, e as root };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_root_1ugo3_2`,t=`_md_1ugo3_19`,n=`_avatar_1ugo3_26`,r=`_sm_1ugo3_31`,i=`_lg_1ugo3_43`,a=`_clickable_1ugo3_55`,o=`_primary_1ugo3_66`,s=`_solid_1ugo3_66`,c=`_outline_1ugo3_72`,l=`_subtle_1ugo3_77`,u=`_secondary_1ugo3_85`,d=`_success_1ugo3_104`,f=`_warning_1ugo3_123`,p=`_danger_1ugo3_142`,m=`_info_1ugo3_161`,h=`_neutral_1ugo3_180`,g=`_selected_1ugo3_199`,_=`_disabled_1ugo3_202`,v=`_label_1ugo3_226`,y=`_icon_1ugo3_231`,b={root:e,md:t,avatar:n,sm:r,lg:i,clickable:a,primary:o,solid:s,outline:c,subtle:l,secondary:u,success:d,warning:f,danger:p,info:m,neutral:h,selected:g,disabled:_,delete:`_delete_1ugo3_210`,label:v,icon:y};exports.avatar=n,exports.clickable=a,exports.danger=p,exports.default=b,exports.disabled=_,exports.icon=y,exports.info=m,exports.label=v,exports.lg=i,exports.md=t,exports.neutral=h,exports.outline=c,exports.primary=o,exports.root=e,exports.secondary=u,exports.selected=g,exports.sm=r,exports.solid=s,exports.subtle=l,exports.success=d,exports.warning=f;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/data-display/Chip/chip.module.scss
|
|
3
|
-
var e = "
|
|
3
|
+
var e = "_root_1ugo3_2", t = "_md_1ugo3_19", n = "_avatar_1ugo3_26", r = "_sm_1ugo3_31", i = "_lg_1ugo3_43", a = "_clickable_1ugo3_55", o = "_primary_1ugo3_66", s = "_solid_1ugo3_66", c = "_outline_1ugo3_72", l = "_subtle_1ugo3_77", u = "_secondary_1ugo3_85", d = "_success_1ugo3_104", f = "_warning_1ugo3_123", p = "_danger_1ugo3_142", m = "_info_1ugo3_161", h = "_neutral_1ugo3_180", g = "_selected_1ugo3_199", _ = "_disabled_1ugo3_202", v = "_label_1ugo3_226", y = "_icon_1ugo3_231", b = {
|
|
4
4
|
root: e,
|
|
5
5
|
md: t,
|
|
6
6
|
avatar: n,
|
|
@@ -19,7 +19,7 @@ var e = "_root_opd80_2", t = "_md_opd80_19", n = "_avatar_opd80_24", r = "_sm_op
|
|
|
19
19
|
neutral: h,
|
|
20
20
|
selected: g,
|
|
21
21
|
disabled: _,
|
|
22
|
-
delete: "
|
|
22
|
+
delete: "_delete_1ugo3_210",
|
|
23
23
|
label: v,
|
|
24
24
|
icon: y
|
|
25
25
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../i18n/useWimTranslation.cjs"),n=require("../../form/Checkbox/Checkbox.cjs"),r=require("../../navigation/Pagination/Pagination.cjs"),i=require("../Table/Table.cjs"),a=require("./useFixedColumns.cjs"),o=require("./useDataGridKeyboard.cjs"),s=require("./useInfiniteScroll.cjs"),c=require("./datagrid.module.cjs");let l=require("react");l=e.__toESM(l,1);let u=require("classnames");u=e.__toESM(u,1);let d=require("react/jsx-runtime");function f({columns:e,data:f,rowKey:p=`id`,loading:m=!1,striped:h=!1,bordered:g=!1,hoverable:_=!0,stickyHeader:v=!0,height:y,maxHeight:b,emptyMessage:x,mobileCard:S=!1,selection:C,selectedRowKeys:w,onSelectionChange:T,sortConfig:E,onSortChange:D,pagination:O,infiniteScroll:k,className:A,ariaLabel:j}){let{t:M}=t.useWimTranslation(`common`),N=m!==!1&&m!==void 0,P=m===!0||m===`blocking`,F=(0,l.useMemo)(()=>C?C===!0?{type:`checkbox`,selectedRowKeys:w??[],onChange:(e,t)=>{T?.(e,t)}}:C:null,[C,w,T]),{fixedLeftOffsets:I,fixedRightOffsets:L}=a.useFixedColumns(e,!!F),R=(e,t=!1)=>{let n=I[e];if(n)return{stickyLeft:!0,leftOffset:n.offset,stickyZIndex:t?1e3+n.zIndex:n.zIndex,className:(0,u.default)(c.default.cellFixed,n.isLast&&c.default.cellFixedLeftLast)};let r=L[e];return r?{stickyRight:!0,rightOffset:r.offset,stickyZIndex:t?1e3+r.zIndex:r.zIndex,className:(0,u.default)(c.default.cellFixed,r.isFirst&&c.default.cellFixedRightFirst)}:{}},z=(0,l.useCallback)(e=>typeof p==`function`?p(e):e[p],[p]),B=(0,l.useMemo)(()=>!F||f.length===0?!1:f.every(e=>F.selectedRowKeys.includes(z(e))),[f,F,z]),V=(0,l.useMemo)(()=>F?!B&&f.some(e=>F.selectedRowKeys.includes(z(e))):!1,[f,F,B,z]),H=e=>{if(!F)return;let t=e.target.checked,n=t?f.map(z):[],r=t?f:[];F.onChange(n,r)},U=(e,t)=>{if(!F)return;let n=t.target.checked,r=z(e),i=n?[...F.selectedRowKeys,r]:F.selectedRowKeys.filter(e=>e!==r),a=f.filter(e=>i.includes(z(e)));F.onChange(i,a)},{focusedCell:W,handleKeyDown:G,containerRef:K}=o.useDataGridKeyboard(e,f,!!F),{loaderRef:q}=s.useInfiniteScroll(k),J=e.length+ +!!F;return(0,d.jsxs)(`div`,{className:(0,u.default)(`wim-data-grid`,c.default.root,P&&c.default.loading,S===`md`?c.default.mobileCardMd:S&&c.default.mobileCard,A),"aria-busy":N||void 0,children:[(0,d.jsxs)(`div`,{className:c.default.container,style:{height:y,maxHeight:b},inert:P||void 0,children:[(0,d.jsxs)(i.Table,{ref:K,onKeyDown:G,tabIndex:0,role:`grid`,"aria-label":j??M(`a11y.data_grid`),"aria-rowcount":f.length+1,"aria-colcount":J,striped:h,bordered:g,hoverable:_,stickyHeader:v,mobileCard:S,fullWidth:!0,className:(0,u.default)(`wim-table`,c.default.table),containerClassName:c.default.tableContainer,children:[(0,d.jsx)(i.Table.Header,{children:(0,d.jsxs)(i.Table.Row,{children:[F&&(0,d.jsx)(i.Table.Head,{role:`columnheader`,selection:!0,stickyLeft:!0,leftOffset:0,stickyZIndex:1150,"data-row":-1,"data-col":-1,"aria-label":M(`a11y.select_all_rows`),tabIndex:W.row===-1&&W.col===-1?0:-1,children:(F.type??`checkbox`)===`checkbox`&&(0,d.jsx)(n.Checkbox,{checked:B,indeterminate:V,onChange:H,"aria-label":M(`a11y.select_all_rows`)})}),e.map((e,t)=>{let n=R(e.key,!0);return(0,d.jsx)(i.Table.Head,{role:`columnheader`,style:{width:e.width,minWidth:e.width},sortable:e.sortable,sortDirection:E?.key===e.key?E.direction:`none`,onSort:()=>{if(!e.sortable||!D)return;let t=E?.key===e.key?E.direction===`asc`?`desc`:E.direction===`desc`?`none`:`asc`:`asc`;D(e.key,t)},...n,tabIndex:W.row===-1&&W.col===(F?t+1:t)?0:-1,"data-row":-1,"data-col":F?t+1:t,children:e.title},e.key)})]})}),(0,d.jsx)(i.Table.Body,{children:f.map((t,r)=>{let a=z(t),o=F?.selectedRowKeys.includes(a);return(0,d.jsxs)(i.Table.Row,{selected:o,children:[F&&(0,d.jsx)(i.Table.Cell,{role:`gridcell`,selection:!0,stickyLeft:!0,leftOffset:0,stickyZIndex:150,"data-row":r,"data-col":-1,tabIndex:W.row===r&&W.col===-1?0:-1,children:(0,d.jsx)(n.Checkbox,{checked:o,onChange:e=>U(t,e),"aria-label":M(`a11y.select_row`)})}),e.map((e,n)=>{let a=R(e.key,!1),o=t[e.dataIndex??e.key];return(0,d.jsx)(i.Table.Cell,{role:`gridcell`,label:typeof e.title==`string`?e.title:void 0,...a,"data-row":r,"data-col":F?n+1:n,tabIndex:W.row===r&&W.col===(F?n+1:n)?0:-1,children:e.render?e.render(o,t,r):o},e.key)})]},a)})})]}),f.length===0&&x&&(0,d.jsx)(`div`,{role:`status`,className:c.default.empty,children:x}),k?.hasMore&&(0,d.jsx)(`div`,{ref:q,className:c.default.loader,children:k.hasMore&&M(`dataGrid.loading_more`)})]}),O&&(0,d.jsxs)(`div`,{className:c.default.footer,inert:P||void 0,children:[(0,d.jsxs)(`div`,{className:c.default.info,children:[M(`dataGrid.displaying`,{shown:f.length,total:O.total}),F?.selectedRowKeys&&F.selectedRowKeys.length>0&&(0,d.jsx)(`span`,{className:c.default.selectionInfo,children:M(`dataGrid.rows_selected`,{selected:F.selectedRowKeys.length})})]}),(0,d.jsx)(`div`,{className:c.default.pagination,children:(0,d.jsx)(r.Pagination,{className:c.default.paginationContent,current:O.current,total:O.total,pageSize:O.pageSize,onChange:O.onChange})})]})]})}exports.DataGrid=f;
|
|
2
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../i18n/useWimTranslation.cjs"),n=require("../../form/Checkbox/Checkbox.cjs"),r=require("../../navigation/Pagination/Pagination.cjs"),i=require("../Table/Table.cjs"),a=require("./useFixedColumns.cjs"),o=require("./useDataGridKeyboard.cjs"),s=require("./useInfiniteScroll.cjs"),c=require("./datagrid.module.cjs");let l=require("react");l=e.__toESM(l,1);let u=require("classnames");u=e.__toESM(u,1);let d=require("react/jsx-runtime");function f({columns:e,data:f,rowKey:p=`id`,loading:m=!1,striped:h=!1,bordered:g=!1,hoverable:_=!0,stickyHeader:v=!0,height:y,maxHeight:b,emptyMessage:x,mobileCard:S=!1,selection:C,selectedRowKeys:w,onSelectionChange:T,sortConfig:E,onSortChange:D,pagination:O,infiniteScroll:k,className:A,ariaLabel:j}){let{t:M}=t.useWimTranslation(`common`),N=m!==!1&&m!==void 0,P=m===!0||m===`blocking`,F=(0,l.useMemo)(()=>C?C===!0?{type:`checkbox`,selectedRowKeys:w??[],onChange:(e,t)=>{T?.(e,t)}}:C:null,[C,w,T]),{fixedLeftOffsets:I,fixedRightOffsets:L}=a.useFixedColumns(e,!!F),R=(e,t=!1)=>{let n=I[e];if(n)return{stickyLeft:!0,leftOffset:n.offset,stickyZIndex:t?1e3+n.zIndex:n.zIndex,className:(0,u.default)(c.default.cellFixed,n.isLast&&c.default.cellFixedLeftLast)};let r=L[e];return r?{stickyRight:!0,rightOffset:r.offset,stickyZIndex:t?1e3+r.zIndex:r.zIndex,className:(0,u.default)(c.default.cellFixed,r.isFirst&&c.default.cellFixedRightFirst)}:{}},z=(0,l.useCallback)(e=>typeof p==`function`?p(e):e[p],[p]),B=(0,l.useMemo)(()=>!F||f.length===0?!1:f.every(e=>F.selectedRowKeys.includes(z(e))),[f,F,z]),V=(0,l.useMemo)(()=>F?!B&&f.some(e=>F.selectedRowKeys.includes(z(e))):!1,[f,F,B,z]),H=e=>{if(!F)return;let t=e.target.checked,n=t?f.map(z):[],r=t?f:[];F.onChange(n,r)},U=(e,t)=>{if(!F)return;let n=t.target.checked,r=z(e),i=n?[...F.selectedRowKeys,r]:F.selectedRowKeys.filter(e=>e!==r),a=f.filter(e=>i.includes(z(e)));F.onChange(i,a)},{focusedCell:W,handleKeyDown:G,containerRef:K}=o.useDataGridKeyboard(e,f,!!F),{loaderRef:q}=s.useInfiniteScroll(k),J=e.length+ +!!F;return(0,d.jsxs)(`div`,{className:(0,u.default)(`wim-data-grid`,c.default.root,P&&c.default.loading,S===`md`?c.default.mobileCardMd:S&&c.default.mobileCard,A),"aria-busy":N||void 0,children:[(0,d.jsxs)(`div`,{className:c.default.container,style:{height:y,maxHeight:b},inert:P||void 0,children:[(0,d.jsxs)(i.Table,{ref:K,onKeyDown:G,tabIndex:0,role:`grid`,"aria-label":j??M(`a11y.data_grid`),"aria-rowcount":f.length+1,"aria-colcount":J,striped:h,bordered:g,hoverable:_,stickyHeader:v,mobileCard:S,fullWidth:!0,className:(0,u.default)(`wim-table`,c.default.table),containerClassName:c.default.tableContainer,children:[(0,d.jsx)(i.Table.Header,{children:(0,d.jsxs)(i.Table.Row,{children:[F&&(0,d.jsx)(i.Table.Head,{role:`columnheader`,selection:!0,stickyLeft:!0,leftOffset:0,stickyZIndex:1150,"data-row":-1,"data-col":-1,"aria-label":M(`a11y.select_all_rows`),tabIndex:W.row===-1&&W.col===-1?0:-1,children:(F.type??`checkbox`)===`checkbox`&&(0,d.jsx)(n.Checkbox,{checked:B,indeterminate:V,onChange:H,"aria-label":M(`a11y.select_all_rows`)})}),e.map((e,t)=>{let n=R(e.key,!0);return(0,d.jsx)(i.Table.Head,{role:`columnheader`,style:{width:e.width,minWidth:e.width},sortable:e.sortable,sortDirection:E?.key===e.key?E.direction:`none`,onSort:()=>{if(!e.sortable||!D)return;let t=E?.key===e.key?E.direction===`asc`?`desc`:E.direction===`desc`?`none`:`asc`:`asc`;D(e.key,t)},...n,tabIndex:W.row===-1&&W.col===(F?t+1:t)?0:-1,"data-row":-1,"data-col":F?t+1:t,children:e.title},e.key)})]})}),(0,d.jsx)(i.Table.Body,{children:f.map((t,r)=>{let a=z(t),o=F?.selectedRowKeys.includes(a);return(0,d.jsxs)(i.Table.Row,{selected:o,children:[F&&(0,d.jsx)(i.Table.Cell,{role:`gridcell`,selection:!0,stickyLeft:!0,leftOffset:0,stickyZIndex:150,"data-row":r,"data-col":-1,tabIndex:W.row===r&&W.col===-1?0:-1,children:(0,d.jsx)(n.Checkbox,{checked:o,onChange:e=>U(t,e),"aria-label":M(`a11y.select_row`)})}),e.map((e,n)=>{let a=R(e.key,!1),o=t[e.dataIndex??e.key];return(0,d.jsx)(i.Table.Cell,{role:`gridcell`,label:typeof e.title==`string`?e.title:void 0,...a,"data-row":r,"data-col":F?n+1:n,tabIndex:W.row===r&&W.col===(F?n+1:n)?0:-1,children:e.maxWidth==null?e.render?e.render(o,t,r):o:(0,d.jsx)(`div`,{style:{maxWidth:e.maxWidth},children:e.render?e.render(o,t,r):o})},e.key)})]},a)})})]}),f.length===0&&x&&(0,d.jsx)(`div`,{role:`status`,className:c.default.empty,children:x}),k?.hasMore&&(0,d.jsx)(`div`,{ref:q,className:c.default.loader,children:k.hasMore&&M(`dataGrid.loading_more`)})]}),O&&(0,d.jsxs)(`div`,{className:c.default.footer,inert:P||void 0,children:[(0,d.jsxs)(`div`,{className:c.default.info,children:[M(`dataGrid.displaying`,{shown:f.length,total:O.total}),F?.selectedRowKeys&&F.selectedRowKeys.length>0&&(0,d.jsx)(`span`,{className:c.default.selectionInfo,children:M(`dataGrid.rows_selected`,{selected:F.selectedRowKeys.length})})]}),(0,d.jsx)(`div`,{className:c.default.pagination,children:(0,d.jsx)(r.Pagination,{className:c.default.paginationContent,current:O.current,total:O.total,pageSize:O.pageSize,onChange:O.onChange})})]})]})}exports.DataGrid=f;
|
|
@@ -4,7 +4,27 @@ export type DataGridColumn<T> = {
|
|
|
4
4
|
/** If provided, read cell value from this field instead of `key` */
|
|
5
5
|
dataIndex?: string;
|
|
6
6
|
title: React.ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Column width. This is a **floor, not a cap** — the table is
|
|
9
|
+
* `table-layout: auto`, so a column never renders narrower than this but
|
|
10
|
+
* grows past it when the content asks for room or when the table has
|
|
11
|
+
* spare width to hand out. Use `maxWidth` when the content has to stop.
|
|
12
|
+
*/
|
|
7
13
|
width?: string | number;
|
|
14
|
+
/**
|
|
15
|
+
* Stop the cell's content at this width. Long values are clipped here
|
|
16
|
+
* instead of pushing the column wider and starving its neighbours (T85),
|
|
17
|
+
* and this is what makes `Text truncate` produce an ellipsis inside a
|
|
18
|
+
* cell (T86).
|
|
19
|
+
*
|
|
20
|
+
* **This caps the content, not the column.** The table still distributes
|
|
21
|
+
* spare width, so a column can be drawn wider than `maxWidth` with the
|
|
22
|
+
* content stopping early — at 1280px a `maxWidth: 200` column measured
|
|
23
|
+
* 523px wide with 303px of empty space to the right of the ellipsis
|
|
24
|
+
* (T93). Set it to the width the text should stop at, not to the width
|
|
25
|
+
* you want the column to be.
|
|
26
|
+
*/
|
|
27
|
+
maxWidth?: string | number;
|
|
8
28
|
sortable?: boolean;
|
|
9
29
|
fixed?: "left" | "right";
|
|
10
30
|
render?: (value: unknown, record: T, index: number) => React.ReactNode;
|
|
@@ -146,7 +146,10 @@ function p({ columns: p, data: m, rowKey: h = "id", loading: g = !1, striped: _
|
|
|
146
146
|
"data-row": n,
|
|
147
147
|
"data-col": L ? i + 1 : i,
|
|
148
148
|
tabIndex: K.row === n && K.col === (L ? i + 1 : i) ? 0 : -1,
|
|
149
|
-
children: t.render ? t.render(o, e, n) : o
|
|
149
|
+
children: t.maxWidth == null ? t.render ? t.render(o, e, n) : o : /* @__PURE__ */ d("div", {
|
|
150
|
+
style: { maxWidth: t.maxWidth },
|
|
151
|
+
children: t.render ? t.render(o, e, n) : o
|
|
152
|
+
})
|
|
150
153
|
}, t.key);
|
|
151
154
|
})]
|
|
152
155
|
}, i);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../Card/Card.cjs"),
|
|
2
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../icon/arrow-down.cjs"),n=require("../../../icon/arrow-right.cjs"),r=require("../../../icon/arrow-up.cjs"),i=require("../../media/Icon/Icon.cjs"),a=require("../Card/Card.cjs"),o=require("./stats.module.cjs");let s=require("react");s=e.__toESM(s,1);let c=require("classnames");c=e.__toESM(c,1);let l=require("react/jsx-runtime");var u={up:r.default,down:t.default,neutral:n.default},d=({variant:e=`elevated`,className:t,children:n,...r})=>(0,l.jsx)(a.Card,{variant:e,className:(0,c.default)(`wim-stats`,o.default.root,t),padding:`none`,...r,children:(0,l.jsx)(`div`,{className:o.default.inner,children:n})}),f=({className:e,children:t,...n})=>(0,l.jsx)(`div`,{className:(0,c.default)(o.default.label,e),...n,children:t}),p=({className:e,children:t,...n})=>(0,l.jsx)(`div`,{className:(0,c.default)(o.default.value,e),...n,children:t}),m=({className:e,children:t,...n})=>(0,l.jsx)(`div`,{className:(0,c.default)(o.default.description,e),...n,children:t}),h=({direction:e=`up`,className:t,children:n,...r})=>(0,l.jsxs)(`div`,{className:(0,c.default)(o.default.trend,o.default[e],t),...r,children:[(0,l.jsx)(`span`,{className:o.default.trendIcon,"aria-hidden":`true`,children:(0,l.jsx)(i.Icon,{component:u[e],size:`sm`})}),(0,l.jsx)(`span`,{className:o.default.trendValue,children:n})]});d.displayName=`Stats`,f.displayName=`Stats.Label`,p.displayName=`Stats.Value`,m.displayName=`Stats.Description`,h.displayName=`Stats.Trend`,d.Label=f,d.Value=p,d.Description=m,d.Trend=h,exports.Stats=d,exports.default=d,exports.StatsDescription=m,exports.StatsLabel=f,exports.StatsTrend=h,exports.StatsValue=p;
|
|
@@ -1,46 +1,54 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import t from "
|
|
2
|
+
import e from "../../../icon/arrow-down.js";
|
|
3
|
+
import t from "../../../icon/arrow-right.js";
|
|
4
|
+
import n from "../../../icon/arrow-up.js";
|
|
5
|
+
import { Icon as r } from "../../media/Icon/Icon.js";
|
|
6
|
+
import { Card as i } from "../Card/Card.js";
|
|
7
|
+
import a from "./stats.module.js";
|
|
4
8
|
import "react";
|
|
5
|
-
import
|
|
6
|
-
import { jsx as
|
|
9
|
+
import o from "classnames";
|
|
10
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
7
11
|
//#region src/components/data-display/Stats/Stats.tsx
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
var l = {
|
|
13
|
+
up: n,
|
|
14
|
+
down: e,
|
|
15
|
+
neutral: t
|
|
16
|
+
}, u = ({ variant: e = "elevated", className: t, children: n, ...r }) => /* @__PURE__ */ s(i, {
|
|
17
|
+
variant: e,
|
|
18
|
+
className: o("wim-stats", a.root, t),
|
|
11
19
|
padding: "none",
|
|
12
|
-
...
|
|
13
|
-
children: /* @__PURE__ */
|
|
14
|
-
className:
|
|
15
|
-
children:
|
|
20
|
+
...r,
|
|
21
|
+
children: /* @__PURE__ */ s("div", {
|
|
22
|
+
className: a.inner,
|
|
23
|
+
children: n
|
|
16
24
|
})
|
|
17
|
-
}),
|
|
18
|
-
className:
|
|
19
|
-
...
|
|
20
|
-
children:
|
|
21
|
-
}),
|
|
22
|
-
className:
|
|
23
|
-
...
|
|
24
|
-
children:
|
|
25
|
-
}),
|
|
26
|
-
className:
|
|
27
|
-
...
|
|
28
|
-
children:
|
|
29
|
-
}),
|
|
30
|
-
className:
|
|
31
|
-
...
|
|
32
|
-
children: [/* @__PURE__ */
|
|
33
|
-
className:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
e
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}), /* @__PURE__ */
|
|
40
|
-
className:
|
|
41
|
-
children:
|
|
25
|
+
}), d = ({ className: e, children: t, ...n }) => /* @__PURE__ */ s("div", {
|
|
26
|
+
className: o(a.label, e),
|
|
27
|
+
...n,
|
|
28
|
+
children: t
|
|
29
|
+
}), f = ({ className: e, children: t, ...n }) => /* @__PURE__ */ s("div", {
|
|
30
|
+
className: o(a.value, e),
|
|
31
|
+
...n,
|
|
32
|
+
children: t
|
|
33
|
+
}), p = ({ className: e, children: t, ...n }) => /* @__PURE__ */ s("div", {
|
|
34
|
+
className: o(a.description, e),
|
|
35
|
+
...n,
|
|
36
|
+
children: t
|
|
37
|
+
}), m = ({ direction: e = "up", className: t, children: n, ...i }) => /* @__PURE__ */ c("div", {
|
|
38
|
+
className: o(a.trend, a[e], t),
|
|
39
|
+
...i,
|
|
40
|
+
children: [/* @__PURE__ */ s("span", {
|
|
41
|
+
className: a.trendIcon,
|
|
42
|
+
"aria-hidden": "true",
|
|
43
|
+
children: /* @__PURE__ */ s(r, {
|
|
44
|
+
component: l[e],
|
|
45
|
+
size: "sm"
|
|
46
|
+
})
|
|
47
|
+
}), /* @__PURE__ */ s("span", {
|
|
48
|
+
className: a.trendValue,
|
|
49
|
+
children: n
|
|
42
50
|
})]
|
|
43
51
|
});
|
|
44
|
-
|
|
52
|
+
u.displayName = "Stats", d.displayName = "Stats.Label", f.displayName = "Stats.Value", p.displayName = "Stats.Description", m.displayName = "Stats.Trend", u.Label = d, u.Value = f, u.Description = p, u.Trend = m;
|
|
45
53
|
//#endregion
|
|
46
|
-
export {
|
|
54
|
+
export { u as Stats, u as default, p as StatsDescription, d as StatsLabel, m as StatsTrend, f as StatsValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_root_cnulh_2`,t=`_md_cnulh_14`,n=`_sm_cnulh_20`,r=`_lg_cnulh_26`,i=`_primary_cnulh_32`,a=`_solid_cnulh_32`,o=`_outline_cnulh_38`,s=`_subtle_cnulh_43`,c=`_secondary_cnulh_51`,l=`_success_cnulh_70`,u=`_warning_cnulh_89`,d=`_danger_cnulh_108`,f=`_info_cnulh_127`,p=`_neutral_cnulh_146`,m=`_disabled_cnulh_165`,h=`_closeButton_cnulh_173`,g=`_interactive_cnulh_176`,_=`_icon_cnulh_188`,v={root:e,md:t,sm:n,lg:r,primary:i,solid:a,outline:o,subtle:s,secondary:c,success:l,warning:u,danger:d,info:f,neutral:p,disabled:m,closeButton:h,interactive:g,icon:_};exports.closeButton=h,exports.danger=d,exports.default=v,exports.disabled=m,exports.icon=_,exports.info=f,exports.interactive=g,exports.lg=r,exports.md=t,exports.neutral=p,exports.outline=o,exports.primary=i,exports.root=e,exports.secondary=c,exports.sm=n,exports.solid=a,exports.subtle=s,exports.success=l,exports.warning=u;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/data-display/Tag/tag.module.scss
|
|
3
|
-
var e = "
|
|
3
|
+
var e = "_root_cnulh_2", t = "_md_cnulh_14", n = "_sm_cnulh_20", r = "_lg_cnulh_26", i = "_primary_cnulh_32", a = "_solid_cnulh_32", o = "_outline_cnulh_38", s = "_subtle_cnulh_43", c = "_secondary_cnulh_51", l = "_success_cnulh_70", u = "_warning_cnulh_89", d = "_danger_cnulh_108", f = "_info_cnulh_127", p = "_neutral_cnulh_146", m = "_disabled_cnulh_165", h = "_closeButton_cnulh_173", g = "_interactive_cnulh_176", _ = "_icon_cnulh_188", v = {
|
|
4
4
|
root: e,
|
|
5
5
|
md: t,
|
|
6
6
|
sm: n,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_root_x5cp1_3`,t=`_left_x5cp1_11`,n=`_right_x5cp1_14`,r=`_alternate_x5cp1_17`,i=`_item_x5cp1_20`,a=`_connector_x5cp1_33`,o=`_content_x5cp1_45`,s=`_oppositeContent_x5cp1_48`,c=`_separator_x5cp1_60`,l=`_point_x5cp1_71`,u=`_primary_x5cp1_86`,d=`_secondary_x5cp1_89`,f=`_danger_x5cp1_92`,p=`_success_x5cp1_95`,m=`_icon_x5cp1_98`,h={root:e,left:t,right:n,alternate:r,item:i,connector:a,content:o,oppositeContent:s,separator:c,point:l,primary:u,secondary:d,danger:f,success:p,icon:m};exports.alternate=r,exports.connector=a,exports.content=o,exports.danger=f,exports.default=h,exports.icon=m,exports.item=i,exports.left=t,exports.oppositeContent=s,exports.point=l,exports.primary=u,exports.right=n,exports.root=e,exports.secondary=d,exports.separator=c,exports.success=p;
|