wimui 0.78.0 → 0.79.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.
Files changed (67) hide show
  1. package/README.ja.md +2 -2
  2. package/README.md +2 -2
  3. package/dist/components/ai/InteractiveGraph/InteractiveGraph.cjs +1 -1
  4. package/dist/components/ai/InteractiveGraph/InteractiveGraph.js +22 -37
  5. package/dist/components/ai/InteractiveGraph/interactive-graph.module.cjs +1 -1
  6. package/dist/components/ai/InteractiveGraph/interactive-graph.module.js +1 -1
  7. package/dist/components/data-display/DataGrid/DataGrid.cjs +1 -1
  8. package/dist/components/data-display/DataGrid/DataGrid.js +136 -111
  9. package/dist/components/data-display/DataGrid/useDataGridKeyboard.cjs +1 -1
  10. package/dist/components/data-display/DataGrid/useDataGridKeyboard.js +23 -23
  11. package/dist/components/data-display/NodeGraph/NodeGraph.cjs +1 -1
  12. package/dist/components/data-display/NodeGraph/NodeGraph.js +69 -66
  13. package/dist/components/data-display/NodeGraph/node-graph.module.cjs +1 -1
  14. package/dist/components/data-display/NodeGraph/node-graph.module.js +1 -1
  15. package/dist/components/form/Cascader/cascader.module.cjs +1 -1
  16. package/dist/components/form/Cascader/cascader.module.js +7 -6
  17. package/dist/components/form/OtpInput/OtpInput.cjs +1 -1
  18. package/dist/components/form/OtpInput/OtpInput.d.ts +5 -0
  19. package/dist/components/form/OtpInput/OtpInput.js +48 -41
  20. package/dist/components/form/SignaturePad/signature-pad.module.cjs +1 -1
  21. package/dist/components/form/SignaturePad/signature-pad.module.js +7 -6
  22. package/dist/components/form/Transfer/transfer.module.cjs +1 -1
  23. package/dist/components/form/Transfer/transfer.module.js +7 -6
  24. package/dist/components/form/TreeSelect/tree-select.module.cjs +1 -1
  25. package/dist/components/form/TreeSelect/tree-select.module.js +7 -6
  26. package/dist/llms/Alert.md +3 -1
  27. package/dist/llms/Anchor.md +1 -1
  28. package/dist/llms/AvatarGroup.md +1 -1
  29. package/dist/llms/Breadcrumb.md +1 -1
  30. package/dist/llms/CodeDiffViewer.md +2 -0
  31. package/dist/llms/Combobox.md +1 -1
  32. package/dist/llms/CommandPalette.md +1 -1
  33. package/dist/llms/CopyButton.md +1 -1
  34. package/dist/llms/Countdown.md +2 -0
  35. package/dist/llms/DatePicker.md +4 -0
  36. package/dist/llms/DateRangePicker.md +4 -0
  37. package/dist/llms/DescriptionList.md +2 -0
  38. package/dist/llms/EmptyState.md +1 -1
  39. package/dist/llms/Group.md +2 -0
  40. package/dist/llms/Highlight.md +2 -0
  41. package/dist/llms/InlineEdit.md +1 -1
  42. package/dist/llms/InputGroup.md +2 -0
  43. package/dist/llms/JsonViewer.md +2 -0
  44. package/dist/llms/Kbd.md +2 -0
  45. package/dist/llms/KeyboardShortcuts.md +4 -0
  46. package/dist/llms/LinkButton.md +2 -0
  47. package/dist/llms/List.md +1 -1
  48. package/dist/llms/NumberInput.md +1 -1
  49. package/dist/llms/OtpInput.md +1 -0
  50. package/dist/llms/Presence.md +2 -0
  51. package/dist/llms/ProgressRing.md +2 -0
  52. package/dist/llms/Rating.md +1 -1
  53. package/dist/llms/SegmentedControl.md +1 -1
  54. package/dist/llms/Stepper.md +1 -1
  55. package/dist/llms/Switch.md +2 -0
  56. package/dist/llms/Table.md +1 -1
  57. package/dist/llms/TagInput.md +1 -1
  58. package/dist/llms/ThemeToggle.md +2 -0
  59. package/dist/llms/Title.md +2 -0
  60. package/dist/llms/TreeView.md +1 -1
  61. package/dist/llms-full.txt +49 -34
  62. package/dist/llms.txt +47 -34
  63. package/dist/reset.css +1 -1
  64. package/dist/styles.css +1 -1
  65. package/dist/wimui.umd.css +1 -1
  66. package/dist/wimui.umd.js +1 -1
  67. package/package.json +20 -17
@@ -2,148 +2,151 @@
2
2
  import { useWimTranslation as e } from "../../../i18n/useWimTranslation.js";
3
3
  import { commonNs as t } from "../../../i18n/generated/common.js";
4
4
  import n from "../../../icon/plus.js";
5
- import r from "../../../icon/trash.js";
6
- import { Icon as i } from "../../media/Icon/Icon.js";
5
+ import ee from "../../../icon/trash.js";
6
+ import { Icon as r } from "../../media/Icon/Icon.js";
7
7
  /* empty css */
8
- import a from "./node-graph.module.js";
9
- import o, { useCallback as s, useEffect as c, useMemo as l, useRef as u, useState as d } from "react";
10
- import f from "classnames";
11
- import { jsx as p, jsxs as m } from "react/jsx-runtime";
12
- import { Background as h, BackgroundVariant as ee, Controls as te, MiniMap as ne, ReactFlow as re } from "@xyflow/react";
8
+ import i from "./node-graph.module.js";
9
+ import a, { useCallback as o, useEffect as s, useMemo as c, useRef as te, useState as l } from "react";
10
+ import u from "classnames";
11
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
12
+ import { Background as p, BackgroundVariant as m, Controls as ne, EdgeChangeset as re, MiniMap as ie, NodeChangeset as h, ReactFlow as ae } from "@xyflow/react";
13
13
  //#region src/components/data-display/NodeGraph/NodeGraph.tsx
14
- var g = ["Backspace", "Delete"], _ = 180, v = 80;
15
- function ie(e) {
14
+ var oe = ["Backspace", "Delete"], g = 180, _ = 80;
15
+ function v(e) {
16
16
  let t = 1, n = new Set(e.map((e) => e.id));
17
17
  for (; n.has(`node-${t}`);) t += 1;
18
18
  return `node-${t}`;
19
19
  }
20
20
  function y(e) {
21
21
  if (e.length === 0) return {
22
- x: v,
23
- y: v
22
+ x: _,
23
+ y: _
24
24
  };
25
- let t = Math.max(...e.map((e) => e.position.x)), n = e[e.length - 1]?.position.y ?? v;
25
+ let t = Math.max(...e.map((e) => e.position.x)), n = e[e.length - 1]?.position.y ?? _;
26
26
  return {
27
- x: t + _,
27
+ x: t + g,
28
28
  y: n
29
29
  };
30
30
  }
31
- var b = o.forwardRef(({ nodes: o, edges: _, onNodesChange: v, onEdgesChange: b, onConnect: x, nodeTypes: S, edgeTypes: C, nodesDraggable: w = !0, nodesConnectable: ae = !0, deleteKeyCode: T, showMiniMap: oe = !1, showControls: E = !0, backgroundVariant: D = ee.Dots, fitView: O = !0, fitViewOptions: k, defaultEdgeOptions: A, className: j, "aria-label": M, ...N }, P) => {
32
- let { t: F } = e(t), I = M ?? F("nodeGraph.label"), L = F("nodeGraph.add_node"), R = F("nodeGraph.node_name"), z = F("nodeGraph.new_node"), B = F("a11y.delete"), V = T === void 0 ? [...g] : T, H = V != null, [U, W] = d(!1), [G, K] = d(""), q = u(null), J = l(() => o.filter((e) => e.selected), [o]), Y = l(() => _.filter((e) => e.selected), [_]), X = J.length > 0 || Y.length > 0, Z = G.trim(), se = V == null ? void 0 : Array.isArray(V) ? V.join(" ") : V;
33
- c(() => {
31
+ var b = a.forwardRef(({ nodes: a, edges: g, onNodesChange: _, onEdgesChange: b, onConnect: se, nodeTypes: x, edgeTypes: S, nodesDraggable: C = !0, nodesConnectable: w = !0, deleteKeyCode: T, showMiniMap: ce = !1, showControls: E = !0, backgroundVariant: D = m.Dots, fitView: O = !0, fitViewOptions: k, defaultEdgeOptions: A, className: j, "aria-label": M, ...N }, P) => {
32
+ let { t: F } = e(t), I = M ?? F("nodeGraph.label"), L = F("nodeGraph.add_node"), R = F("nodeGraph.node_name"), z = F("nodeGraph.new_node"), B = F("a11y.delete"), V = T === void 0 ? [...oe] : T, H = V != null, [U, W] = l(!1), [G, K] = l(""), q = te(null), J = c(() => a.filter((e) => e.selected), [a]), Y = c(() => g.filter((e) => e.selected), [g]), X = J.length > 0 || Y.length > 0, Z = G.trim(), le = V == null ? void 0 : Array.isArray(V) ? V.join(" ") : V;
33
+ s(() => {
34
34
  U && q.current?.focus();
35
35
  }, [U]);
36
- let Q = s(() => {
37
- H && Z && (v([{
36
+ let Q = o(() => {
37
+ if (!H || !Z) return;
38
+ let e = v(a);
39
+ _(new h([{
38
40
  type: "add",
41
+ id: e,
39
42
  item: {
40
- id: ie(o),
41
- position: y(o),
43
+ id: e,
44
+ position: y(a),
42
45
  data: { label: Z }
43
46
  }
44
- }]), W(!1), K(""));
47
+ }])), W(!1), K("");
45
48
  }, [
46
49
  H,
47
50
  Z,
48
- o,
49
- v
50
- ]), ce = s(() => {
51
+ a,
52
+ _
53
+ ]), ue = o(() => {
51
54
  H && (U ? Q() : W(!0));
52
55
  }, [
53
56
  H,
54
57
  U,
55
58
  Q
56
- ]), le = s((e) => {
59
+ ]), de = o((e) => {
57
60
  e.stopPropagation(), e.key === "Enter" && (e.preventDefault(), Q()), e.key === "Escape" && (e.preventDefault(), W(!1), K(""));
58
- }, [Q]), ue = s(() => {
61
+ }, [Q]), fe = o(() => {
59
62
  if (!H || !X) return;
60
63
  let e = new Set(J.map((e) => e.id)), t = new Set(Y.map((e) => e.id));
61
- for (let n of _) (e.has(n.source) || e.has(n.target)) && t.add(n.id);
62
- t.size > 0 && b([...t].map((e) => ({
64
+ for (let n of g) (e.has(n.source) || e.has(n.target)) && t.add(n.id);
65
+ t.size > 0 && b(new re([...t].map((e) => ({
63
66
  type: "remove",
64
67
  id: e
65
- }))), e.size > 0 && v([...e].map((e) => ({
68
+ })))), e.size > 0 && _(new h([...e].map((e) => ({
66
69
  type: "remove",
67
70
  id: e
68
- })));
71
+ }))));
69
72
  }, [
70
73
  H,
71
74
  X,
72
75
  J,
73
76
  Y,
74
- _,
77
+ g,
75
78
  b,
76
- v
77
- ]), $ = s((e) => {
79
+ _
80
+ ]), $ = o((e) => {
78
81
  e.stopPropagation();
79
82
  }, []);
80
- return /* @__PURE__ */ m("div", {
83
+ return /* @__PURE__ */ f("div", {
81
84
  ref: P,
82
- className: f("wim-node-graph", a.root, j),
85
+ className: u("wim-node-graph", i.root, j),
83
86
  role: "region",
84
87
  "aria-label": I,
85
88
  ...N,
86
- children: [/* @__PURE__ */ m(re, {
87
- nodes: o,
88
- edges: _,
89
- onNodesChange: v,
89
+ children: [/* @__PURE__ */ f(ae, {
90
+ nodes: a,
91
+ edges: g,
92
+ onNodesChange: _,
90
93
  onEdgesChange: b,
91
- onConnect: x,
92
- nodeTypes: S,
93
- edgeTypes: C,
94
- nodesDraggable: w,
95
- nodesConnectable: ae,
94
+ onConnect: se,
95
+ nodeTypes: x,
96
+ edgeTypes: S,
97
+ nodesDraggable: C,
98
+ nodesConnectable: w,
96
99
  deleteKeyCode: V,
97
100
  fitView: O,
98
101
  fitViewOptions: k,
99
102
  defaultEdgeOptions: A,
100
- className: a.flow,
103
+ className: i.flow,
101
104
  children: [
102
- /* @__PURE__ */ p(h, {
105
+ /* @__PURE__ */ d(p, {
103
106
  variant: D,
104
- className: a.background
107
+ className: i.background
105
108
  }),
106
- E && /* @__PURE__ */ p(te, { className: a.controls }),
107
- oe && /* @__PURE__ */ p(ne, { className: a.miniMap })
109
+ E && /* @__PURE__ */ d(ne, { className: i.controls }),
110
+ ce && /* @__PURE__ */ d(ie, { className: i.miniMap })
108
111
  ]
109
- }), H && /* @__PURE__ */ m("div", {
110
- className: a.tools,
111
- children: [U && /* @__PURE__ */ p("input", {
112
+ }), H && /* @__PURE__ */ f("div", {
113
+ className: i.tools,
114
+ children: [U && /* @__PURE__ */ d("input", {
112
115
  ref: q,
113
- className: f("nodrag", "nopan", a.name),
116
+ className: u("nodrag", "nopan", i.name),
114
117
  value: G,
115
118
  onChange: (e) => K(e.target.value),
116
- onKeyDown: le,
119
+ onKeyDown: de,
117
120
  onPointerDown: $,
118
121
  onMouseDown: $,
119
122
  "aria-label": R,
120
123
  placeholder: z
121
- }), /* @__PURE__ */ m("div", {
122
- className: a.toolRow,
123
- children: [/* @__PURE__ */ m("button", {
124
+ }), /* @__PURE__ */ f("div", {
125
+ className: i.toolRow,
126
+ children: [/* @__PURE__ */ f("button", {
124
127
  type: "button",
125
- className: f("nodrag", "nopan", a.tool),
128
+ className: u("nodrag", "nopan", i.tool),
126
129
  disabled: U && !Z,
127
- onClick: ce,
130
+ onClick: ue,
128
131
  onPointerDown: $,
129
132
  onMouseDown: $,
130
133
  "aria-label": L,
131
134
  "aria-expanded": U,
132
- children: [/* @__PURE__ */ p(i, {
135
+ children: [/* @__PURE__ */ d(r, {
133
136
  component: n,
134
137
  size: "sm"
135
138
  }), L]
136
- }), /* @__PURE__ */ m("button", {
139
+ }), /* @__PURE__ */ f("button", {
137
140
  type: "button",
138
- className: f("nodrag", "nopan", a.tool),
141
+ className: u("nodrag", "nopan", i.tool),
139
142
  disabled: !X,
140
- onClick: ue,
143
+ onClick: fe,
141
144
  onPointerDown: $,
142
145
  onMouseDown: $,
143
146
  "aria-label": B,
144
- "aria-keyshortcuts": se,
145
- children: [/* @__PURE__ */ p(i, {
146
- component: r,
147
+ "aria-keyshortcuts": le,
148
+ children: [/* @__PURE__ */ d(r, {
149
+ component: ee,
147
150
  size: "sm"
148
151
  }), B]
149
152
  })]
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- var e=`_root_115rc_3`,t=`_tools_115rc_21`,n=`_toolRow_115rc_32`,r=`_name_115rc_36`,i=`_tool_115rc_21`,a=`_flow_115rc_94`,o=`_background_115rc_94`,s=`_controls_115rc_95`,c=`_miniMap_115rc_95`,l={root:e,tools:t,toolRow:n,name:r,tool:i,flow:a,background:o,controls:s,miniMap:c};exports.background=o,exports.controls=s,exports.default=l,exports.flow=a,exports.miniMap=c,exports.name=r,exports.root=e,exports.tool=i,exports.toolRow=n,exports.tools=t;
2
+ var e=`_root_1brv9_3`,t=`_tools_1brv9_21`,n=`_toolRow_1brv9_32`,r=`_name_1brv9_36`,i=`_tool_1brv9_21`,a=`_flow_1brv9_94`,o=`_background_1brv9_94`,s=`_controls_1brv9_95`,c=`_miniMap_1brv9_95`,l={root:e,tools:t,toolRow:n,name:r,tool:i,flow:a,background:o,controls:s,miniMap:c};exports.background=o,exports.controls=s,exports.default=l,exports.flow=a,exports.miniMap=c,exports.name=r,exports.root=e,exports.tool=i,exports.toolRow=n,exports.tools=t;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  //#region src/components/data-display/NodeGraph/node-graph.module.scss
3
- var e = "_root_115rc_3", t = "_tools_115rc_21", n = "_toolRow_115rc_32", r = "_name_115rc_36", i = "_tool_115rc_21", a = "_flow_115rc_94", o = "_background_115rc_94", s = "_controls_115rc_95", c = "_miniMap_115rc_95", l = {
3
+ var e = "_root_1brv9_3", t = "_tools_1brv9_21", n = "_toolRow_1brv9_32", r = "_name_1brv9_36", i = "_tool_1brv9_21", a = "_flow_1brv9_94", o = "_background_1brv9_94", s = "_controls_1brv9_95", c = "_miniMap_1brv9_95", l = {
4
4
  root: e,
5
5
  tools: t,
6
6
  toolRow: n,
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- var e=`_root_llj5q_325`,t=`_label_llj5q_330`,n=`_trigger_llj5q_337`,r=`_disabled_llj5q_350`,i=`_open_llj5q_356`,a=`_value_llj5q_364`,o=`_placeholder_llj5q_365`,s=`_icon_llj5q_368`,c=`_clear_llj5q_388`,l=`_dropdown_llj5q_400`,u=`_menu_llj5q_430`,d=`_menuItem_llj5q_459`,f=`_active_llj5q_459`,p=`_selected_llj5q_467`,m={"wim-docs-container":`_wim-docs-container_llj5q_87`,"wim-t":`_wim-t_llj5q_292`,"react-flow":`_react-flow_llj5q_315`,"react-flow__edges":`_react-flow__edges_llj5q_316`,"react-flow__connectionline":`_react-flow__connectionline_llj5q_317`,root:e,label:t,trigger:n,disabled:r,open:i,value:a,placeholder:o,icon:s,clear:c,dropdown:l,menu:u,menuItem:d,active:f,selected:p};exports.active=f,exports.clear=c,exports.default=m,exports.disabled=r,exports.dropdown=l,exports.icon=s,exports.label=t,exports.menu=u,exports.menuItem=d,exports.open=i,exports.placeholder=o,exports.root=e,exports.selected=p,exports.trigger=n,exports.value=a;
2
+ var e=`_root_1rnyk_333`,t=`_label_1rnyk_338`,n=`_trigger_1rnyk_345`,r=`_disabled_1rnyk_358`,i=`_open_1rnyk_364`,a=`_value_1rnyk_372`,o=`_placeholder_1rnyk_373`,s=`_icon_1rnyk_376`,c=`_clear_1rnyk_396`,l=`_dropdown_1rnyk_408`,u=`_menu_1rnyk_438`,d=`_menuItem_1rnyk_467`,f=`_active_1rnyk_467`,p=`_selected_1rnyk_475`,m={"wim-docs-container":`_wim-docs-container_1rnyk_87`,"wim-t":`_wim-t_1rnyk_292`,"react-flow":`_react-flow_1rnyk_315`,"react-flow__edges":`_react-flow__edges_1rnyk_316`,"react-flow__connectionline":`_react-flow__connectionline_1rnyk_317`,"react-flow__background":`_react-flow__background_1rnyk_326`,root:e,label:t,trigger:n,disabled:r,open:i,value:a,placeholder:o,icon:s,clear:c,dropdown:l,menu:u,menuItem:d,active:f,selected:p};exports.active=f,exports.clear=c,exports.default=m,exports.disabled=r,exports.dropdown=l,exports.icon=s,exports.label=t,exports.menu=u,exports.menuItem=d,exports.open=i,exports.placeholder=o,exports.root=e,exports.selected=p,exports.trigger=n,exports.value=a;
@@ -1,11 +1,12 @@
1
1
  "use client";
2
2
  //#region src/components/form/Cascader/cascader.module.scss
3
- var e = "_root_llj5q_325", t = "_label_llj5q_330", n = "_trigger_llj5q_337", r = "_disabled_llj5q_350", i = "_open_llj5q_356", a = "_value_llj5q_364", o = "_placeholder_llj5q_365", s = "_icon_llj5q_368", c = "_clear_llj5q_388", l = "_dropdown_llj5q_400", u = "_menu_llj5q_430", d = "_menuItem_llj5q_459", f = "_active_llj5q_459", p = "_selected_llj5q_467", m = {
4
- "wim-docs-container": "_wim-docs-container_llj5q_87",
5
- "wim-t": "_wim-t_llj5q_292",
6
- "react-flow": "_react-flow_llj5q_315",
7
- "react-flow__edges": "_react-flow__edges_llj5q_316",
8
- "react-flow__connectionline": "_react-flow__connectionline_llj5q_317",
3
+ var e = "_root_1rnyk_333", t = "_label_1rnyk_338", n = "_trigger_1rnyk_345", r = "_disabled_1rnyk_358", i = "_open_1rnyk_364", a = "_value_1rnyk_372", o = "_placeholder_1rnyk_373", s = "_icon_1rnyk_376", c = "_clear_1rnyk_396", l = "_dropdown_1rnyk_408", u = "_menu_1rnyk_438", d = "_menuItem_1rnyk_467", f = "_active_1rnyk_467", p = "_selected_1rnyk_475", m = {
4
+ "wim-docs-container": "_wim-docs-container_1rnyk_87",
5
+ "wim-t": "_wim-t_1rnyk_292",
6
+ "react-flow": "_react-flow_1rnyk_315",
7
+ "react-flow__edges": "_react-flow__edges_1rnyk_316",
8
+ "react-flow__connectionline": "_react-flow__connectionline_1rnyk_317",
9
+ "react-flow__background": "_react-flow__background_1rnyk_326",
9
10
  root: e,
10
11
  label: t,
11
12
  trigger: n,
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../node_modules/@radix-ui/react-slot/dist/index.cjs"),n=require("../FieldTemplate/FieldTemplate.cjs"),r=require("./otp-input.module.cjs");let i=require("react");i=e.__toESM(i,1);let a=require("classnames");a=e.__toESM(a,1);let o=require("react/jsx-runtime");var s=(e,t)=>{let n=e.split(``).slice(0,t);return Array(t).fill(``).map((e,t)=>n[t]??``)},c=(0,i.forwardRef)(({length:e=6,value:c=``,onChange:l,disabled:u=!1,error:d,required:f,label:p,layout:m,className:h,labels:g={},asChild:_=!1,fullWidth:v=!1,children:y,"aria-label":b,"aria-labelledby":x,"aria-describedby":S,...C},w)=>{let{digitAriaLabel:T=e=>`Digit ${e}`}=g,[E,D]=(0,i.useState)(()=>s(c,e)),[O,k]=(0,i.useState)(c),A=(0,i.useRef)([]),j=`wim-otp-input-${(0,i.useId)()}`,M=p?`${j}-label`:void 0,N=d?`${j}-error`:void 0,P=M??x,F=[S,N].filter(Boolean).join(` `)||void 0;c!==O&&(k(c),D(s(c,e)));let I=e=>{let t=e.join(``);l&&l(t)},L=(t,n)=>{let r=t.target.value.slice(-1),i=[...E];i[n]=r,D(i),I(i),r&&n<e-1&&A.current[n+1]?.focus()},R=(t,n)=>{if(t.key===`Backspace`){if(!E[n]&&n>0){let e=[...E];e[n-1]=``,D(e),I(e),A.current[n-1]?.focus()}else if(E[n]){let e=[...E];e[n]=``,D(e),I(e)}}else t.key===`ArrowLeft`&&n>0?(t.preventDefault(),A.current[n-1]?.focus()):t.key===`ArrowRight`&&n<e-1&&(t.preventDefault(),A.current[n+1]?.focus())},z=t=>{t.preventDefault();let n=t.clipboardData.getData(`text`).slice(0,e).split(``),r=[...E];n.forEach((t,n)=>{n<e&&(r[n]=t)}),D(r),I(r);let i=Math.min(n.length,e-1);A.current[i]?.focus()},B=_?t.Root:`div`;return(0,o.jsx)(n.FieldTemplate,{label:p,error:d,required:f,layout:m,labelId:M,htmlFor:j,errorId:N,className:(0,a.default)(h,v&&r.default.fullWidth),children:(0,o.jsxs)(B,{className:(0,a.default)(`wim-otp-input`,r.default.root,v&&r.default.fullWidth),ref:w,...C,children:[(0,o.jsx)(`div`,{className:(0,a.default)(r.default.container,u&&r.default.disabled),role:`group`,"aria-labelledby":P,"aria-label":P?void 0:b,"data-testid":`otp-input-container`,"data-disabled":u,children:Array.from({length:e}).map((e,t)=>(0,o.jsx)(`input`,{id:t===0?j:void 0,ref:e=>{A.current[t]=e},"data-testid":`otp-input`,className:(0,a.default)(r.default.input,d&&r.default.danger,u&&r.default.disabled),type:`text`,maxLength:1,value:E[t],onChange:e=>L(e,t),onKeyDown:e=>R(e,t),onPaste:z,disabled:u,"aria-label":T(t+1),"aria-invalid":d?`true`:`false`,"aria-describedby":F,"aria-required":f?`true`:void 0},t))}),(0,o.jsx)(t.Slottable,{children:y})]})})});c.displayName=`OtpInput`,exports.OtpInput=c,exports.default=c;
2
+ const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../node_modules/@radix-ui/react-slot/dist/index.cjs"),n=require("../FieldTemplate/FieldTemplate.cjs"),r=require("./otp-input.module.cjs");let i=require("react");i=e.__toESM(i,1);let a=require("classnames");a=e.__toESM(a,1);let o=require("react/jsx-runtime");var s=(e,t)=>{let n=e.split(``).slice(0,t);return Array(t).fill(``).map((e,t)=>n[t]??``)},c=(0,i.forwardRef)(({length:e=6,value:c=``,onChange:l,disabled:u=!1,error:d,required:f,label:p,layout:m,className:h,labels:g={},asChild:_=!1,fullWidth:v=!1,inputMode:y=`numeric`,children:b,"aria-label":x,"aria-labelledby":S,"aria-describedby":C,...w},T)=>{let{digitAriaLabel:E=e=>`Digit ${e}`}=g,[D,O]=(0,i.useState)(()=>s(c,e)),[k,A]=(0,i.useState)(c),j=(0,i.useRef)([]),M=`wim-otp-input-${(0,i.useId)()}`,N=p?`${M}-label`:void 0,P=d?`${M}-error`:void 0,F=N??S,I=[C,P].filter(Boolean).join(` `)||void 0;c!==k&&(A(c),O(s(c,e)));let L=e=>{let t=e.join(``);l&&l(t)},R=(t,n)=>{let r=t.target.value,i=D[n],a=i&&r.startsWith(i)?r.slice(i.length):i&&r.endsWith(i)?r.slice(0,-i.length):r;if(a.length>1){B(n,a);return}let o=r.slice(-1),s=[...D];s[n]=o,O(s),L(s),o&&n<e-1&&j.current[n+1]?.focus()},z=(t,n)=>{if(t.key===`Backspace`){if(!D[n]&&n>0){let e=[...D];e[n-1]=``,O(e),L(e),j.current[n-1]?.focus()}else if(D[n]){let e=[...D];e[n]=``,O(e),L(e)}}else t.key===`ArrowLeft`&&n>0?(t.preventDefault(),j.current[n-1]?.focus()):t.key===`ArrowRight`&&n<e-1&&(t.preventDefault(),j.current[n+1]?.focus())},B=(t,n)=>{let r=n.slice(0,e-t).split(``),i=[...D];r.forEach((e,n)=>{i[t+n]=e}),O(i),L(i);let a=Math.min(t+r.length,e-1);j.current[a]?.focus()},V=e=>{e.preventDefault(),B(0,e.clipboardData.getData(`text`))},H=_?t.Root:`div`;return(0,o.jsx)(n.FieldTemplate,{label:p,error:d,required:f,layout:m,labelId:N,htmlFor:M,errorId:P,className:(0,a.default)(h,v&&r.default.fullWidth),children:(0,o.jsxs)(H,{className:(0,a.default)(`wim-otp-input`,r.default.root,v&&r.default.fullWidth),ref:T,...w,children:[(0,o.jsx)(`div`,{className:(0,a.default)(r.default.container,u&&r.default.disabled),role:`group`,"aria-labelledby":F,"aria-label":F?void 0:x,"data-testid":`otp-input-container`,"data-disabled":u,children:Array.from({length:e}).map((e,t)=>(0,o.jsx)(`input`,{id:t===0?M:void 0,ref:e=>{j.current[t]=e},"data-testid":`otp-input`,className:(0,a.default)(r.default.input,d&&r.default.danger,u&&r.default.disabled),type:`text`,autoComplete:t===0?`one-time-code`:`off`,inputMode:y,value:D[t],onChange:e=>R(e,t),onKeyDown:e=>z(e,t),onPaste:V,disabled:u,"aria-label":E(t+1),"aria-invalid":d?`true`:`false`,"aria-describedby":I,"aria-required":f?`true`:void 0},t))}),(0,o.jsx)(t.Slottable,{children:b})]})})});c.displayName=`OtpInput`,exports.OtpInput=c,exports.default=c;
@@ -39,6 +39,11 @@ export interface OtpInputProps extends Omit<React.ComponentPropsWithoutRef<"div"
39
39
  asChild?: boolean;
40
40
  /** Whether to take full width of parent */
41
41
  fullWidth?: boolean;
42
+ /**
43
+ * Keyboard shown on touch devices. Use `"text"` for codes that contain letters.
44
+ * @default "numeric"
45
+ */
46
+ inputMode?: "numeric" | "text";
42
47
  }
43
48
  /**
44
49
  * Component for entering an OTP (one-time password).
@@ -9,74 +9,81 @@ import { jsx as l, jsxs as u } from "react/jsx-runtime";
9
9
  var d = (e, t) => {
10
10
  let n = e.split("").slice(0, t);
11
11
  return Array(t).fill("").map((e, t) => n[t] ?? "");
12
- }, f = i(({ length: i = 6, value: f = "", onChange: p, disabled: m = !1, error: h, required: g, label: _, layout: v, className: y, labels: b = {}, asChild: x = !1, fullWidth: S = !1, children: C, "aria-label": w, "aria-labelledby": T, "aria-describedby": E, ...D }, O) => {
13
- let { digitAriaLabel: k = (e) => `Digit ${e}` } = b, [A, j] = s(() => d(f, i)), [M, N] = s(f), P = o([]), F = `wim-otp-input-${a()}`, I = _ ? `${F}-label` : void 0, L = h ? `${F}-error` : void 0, R = I ?? T, z = [E, L].filter(Boolean).join(" ") || void 0;
14
- f !== M && (N(f), j(d(f, i)));
15
- let B = (e) => {
12
+ }, f = i(({ length: i = 6, value: f = "", onChange: p, disabled: m = !1, error: h, required: g, label: _, layout: v, className: y, labels: b = {}, asChild: x = !1, fullWidth: S = !1, inputMode: C = "numeric", children: w, "aria-label": T, "aria-labelledby": E, "aria-describedby": D, ...O }, k) => {
13
+ let { digitAriaLabel: A = (e) => `Digit ${e}` } = b, [j, M] = s(() => d(f, i)), [N, P] = s(f), F = o([]), I = `wim-otp-input-${a()}`, L = _ ? `${I}-label` : void 0, R = h ? `${I}-error` : void 0, z = L ?? E, B = [D, R].filter(Boolean).join(" ") || void 0;
14
+ f !== N && (P(f), M(d(f, i)));
15
+ let V = (e) => {
16
16
  let t = e.join("");
17
17
  p && p(t);
18
- }, V = (e, t) => {
19
- let n = e.target.value.slice(-1), r = [...A];
20
- r[t] = n, j(r), B(r), n && t < i - 1 && P.current[t + 1]?.focus();
21
18
  }, H = (e, t) => {
19
+ let n = e.target.value, r = j[t], a = r && n.startsWith(r) ? n.slice(r.length) : r && n.endsWith(r) ? n.slice(0, -r.length) : n;
20
+ if (a.length > 1) {
21
+ W(t, a);
22
+ return;
23
+ }
24
+ let o = n.slice(-1), s = [...j];
25
+ s[t] = o, M(s), V(s), o && t < i - 1 && F.current[t + 1]?.focus();
26
+ }, U = (e, t) => {
22
27
  if (e.key === "Backspace") {
23
- if (!A[t] && t > 0) {
24
- let e = [...A];
25
- e[t - 1] = "", j(e), B(e), P.current[t - 1]?.focus();
26
- } else if (A[t]) {
27
- let e = [...A];
28
- e[t] = "", j(e), B(e);
28
+ if (!j[t] && t > 0) {
29
+ let e = [...j];
30
+ e[t - 1] = "", M(e), V(e), F.current[t - 1]?.focus();
31
+ } else if (j[t]) {
32
+ let e = [...j];
33
+ e[t] = "", M(e), V(e);
29
34
  }
30
- } else e.key === "ArrowLeft" && t > 0 ? (e.preventDefault(), P.current[t - 1]?.focus()) : e.key === "ArrowRight" && t < i - 1 && (e.preventDefault(), P.current[t + 1]?.focus());
31
- }, U = (e) => {
32
- e.preventDefault();
33
- let t = e.clipboardData.getData("text").slice(0, i).split(""), n = [...A];
34
- t.forEach((e, t) => {
35
- t < i && (n[t] = e);
36
- }), j(n), B(n);
37
- let r = Math.min(t.length, i - 1);
38
- P.current[r]?.focus();
39
- }, W = x ? e : "div";
35
+ } else e.key === "ArrowLeft" && t > 0 ? (e.preventDefault(), F.current[t - 1]?.focus()) : e.key === "ArrowRight" && t < i - 1 && (e.preventDefault(), F.current[t + 1]?.focus());
36
+ }, W = (e, t) => {
37
+ let n = t.slice(0, i - e).split(""), r = [...j];
38
+ n.forEach((t, n) => {
39
+ r[e + n] = t;
40
+ }), M(r), V(r);
41
+ let a = Math.min(e + n.length, i - 1);
42
+ F.current[a]?.focus();
43
+ }, G = (e) => {
44
+ e.preventDefault(), W(0, e.clipboardData.getData("text"));
45
+ }, K = x ? e : "div";
40
46
  return /* @__PURE__ */ l(n, {
41
47
  label: _,
42
48
  error: h,
43
49
  required: g,
44
50
  layout: v,
45
- labelId: I,
46
- htmlFor: F,
47
- errorId: L,
51
+ labelId: L,
52
+ htmlFor: I,
53
+ errorId: R,
48
54
  className: c(y, S && r.fullWidth),
49
- children: /* @__PURE__ */ u(W, {
55
+ children: /* @__PURE__ */ u(K, {
50
56
  className: c("wim-otp-input", r.root, S && r.fullWidth),
51
- ref: O,
52
- ...D,
57
+ ref: k,
58
+ ...O,
53
59
  children: [/* @__PURE__ */ l("div", {
54
60
  className: c(r.container, m && r.disabled),
55
61
  role: "group",
56
- "aria-labelledby": R,
57
- "aria-label": R ? void 0 : w,
62
+ "aria-labelledby": z,
63
+ "aria-label": z ? void 0 : T,
58
64
  "data-testid": "otp-input-container",
59
65
  "data-disabled": m,
60
66
  children: Array.from({ length: i }).map((e, t) => /* @__PURE__ */ l("input", {
61
- id: t === 0 ? F : void 0,
67
+ id: t === 0 ? I : void 0,
62
68
  ref: (e) => {
63
- P.current[t] = e;
69
+ F.current[t] = e;
64
70
  },
65
71
  "data-testid": "otp-input",
66
72
  className: c(r.input, h && r.danger, m && r.disabled),
67
73
  type: "text",
68
- maxLength: 1,
69
- value: A[t],
70
- onChange: (e) => V(e, t),
71
- onKeyDown: (e) => H(e, t),
72
- onPaste: U,
74
+ autoComplete: t === 0 ? "one-time-code" : "off",
75
+ inputMode: C,
76
+ value: j[t],
77
+ onChange: (e) => H(e, t),
78
+ onKeyDown: (e) => U(e, t),
79
+ onPaste: G,
73
80
  disabled: m,
74
- "aria-label": k(t + 1),
81
+ "aria-label": A(t + 1),
75
82
  "aria-invalid": h ? "true" : "false",
76
- "aria-describedby": z,
83
+ "aria-describedby": B,
77
84
  "aria-required": g ? "true" : void 0
78
85
  }, t))
79
- }), /* @__PURE__ */ l(t, { children: C })]
86
+ }), /* @__PURE__ */ l(t, { children: w })]
80
87
  })
81
88
  });
82
89
  });
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- var e=`_root_xo0ij_337`,t=`_disabled_xo0ij_355`,n=`_canvasContainer_xo0ij_359`,r=`_danger_xo0ij_328`,i=`_canvas_xo0ij_359`,a=`_footer_xo0ij_383`,o={"wim-docs-container":`_wim-docs-container_xo0ij_87`,"wim-t":`_wim-t_xo0ij_292`,"react-flow":`_react-flow_xo0ij_315`,"react-flow__edges":`_react-flow__edges_xo0ij_316`,"react-flow__connectionline":`_react-flow__connectionline_xo0ij_317`,root:e,disabled:t,canvasContainer:n,danger:r,canvas:i,footer:a};exports.canvas=i,exports.canvasContainer=n,exports.danger=r,exports.default=o,exports.disabled=t,exports.footer=a,exports.root=e;
2
+ var e=`_root_cqhmc_345`,t=`_disabled_cqhmc_363`,n=`_canvasContainer_cqhmc_367`,r=`_danger_cqhmc_336`,i=`_canvas_cqhmc_367`,a=`_footer_cqhmc_391`,o={"wim-docs-container":`_wim-docs-container_cqhmc_87`,"wim-t":`_wim-t_cqhmc_292`,"react-flow":`_react-flow_cqhmc_315`,"react-flow__edges":`_react-flow__edges_cqhmc_316`,"react-flow__connectionline":`_react-flow__connectionline_cqhmc_317`,"react-flow__background":`_react-flow__background_cqhmc_326`,root:e,disabled:t,canvasContainer:n,danger:r,canvas:i,footer:a};exports.canvas=i,exports.canvasContainer=n,exports.danger=r,exports.default=o,exports.disabled=t,exports.footer=a,exports.root=e;
@@ -1,11 +1,12 @@
1
1
  "use client";
2
2
  //#region src/components/form/SignaturePad/signature-pad.module.scss
3
- var e = "_root_xo0ij_337", t = "_disabled_xo0ij_355", n = "_canvasContainer_xo0ij_359", r = "_danger_xo0ij_328", i = "_canvas_xo0ij_359", a = "_footer_xo0ij_383", o = {
4
- "wim-docs-container": "_wim-docs-container_xo0ij_87",
5
- "wim-t": "_wim-t_xo0ij_292",
6
- "react-flow": "_react-flow_xo0ij_315",
7
- "react-flow__edges": "_react-flow__edges_xo0ij_316",
8
- "react-flow__connectionline": "_react-flow__connectionline_xo0ij_317",
3
+ var e = "_root_cqhmc_345", t = "_disabled_cqhmc_363", n = "_canvasContainer_cqhmc_367", r = "_danger_cqhmc_336", i = "_canvas_cqhmc_367", a = "_footer_cqhmc_391", o = {
4
+ "wim-docs-container": "_wim-docs-container_cqhmc_87",
5
+ "wim-t": "_wim-t_cqhmc_292",
6
+ "react-flow": "_react-flow_cqhmc_315",
7
+ "react-flow__edges": "_react-flow__edges_cqhmc_316",
8
+ "react-flow__connectionline": "_react-flow__connectionline_cqhmc_317",
9
+ "react-flow__background": "_react-flow__background_cqhmc_326",
9
10
  root: e,
10
11
  disabled: t,
11
12
  canvasContainer: n,
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- var e=`_container_160k2_355`,t=`_root_160k2_364`,n=`_list_160k2_383`,r=`_header_160k2_411`,i=`_headerTitle_160k2_426`,a=`_disabled_160k2_432`,o=`_headerCount_160k2_441`,s=`_body_160k2_451`,c=`_itemList_160k2_491`,l=`_item_160k2_491`,u=`_checkboxVisual_160k2_503`,d=`_checked_160k2_529`,f=`_active_160k2_545`,p=`_operation_160k2_557`,m=`_button_160k2_569`,h=`_empty_160k2_576`,g={"wim-docs-container":`_wim-docs-container_160k2_87`,"wim-t":`_wim-t_160k2_292`,"react-flow":`_react-flow_160k2_315`,"react-flow__edges":`_react-flow__edges_160k2_316`,"react-flow__connectionline":`_react-flow__connectionline_160k2_317`,container:e,root:t,list:n,header:r,headerTitle:i,disabled:a,headerCount:o,body:s,itemList:c,item:l,checkboxVisual:u,checked:d,active:f,operation:p,button:m,empty:h};exports.active=f,exports.body=s,exports.button=m,exports.checkboxVisual=u,exports.checked=d,exports.container=e,exports.default=g,exports.disabled=a,exports.empty=h,exports.header=r,exports.headerCount=o,exports.headerTitle=i,exports.item=l,exports.itemList=c,exports.list=n,exports.operation=p,exports.root=t;
2
+ var e=`_container_1pc97_363`,t=`_root_1pc97_372`,n=`_list_1pc97_391`,r=`_header_1pc97_419`,i=`_headerTitle_1pc97_434`,a=`_disabled_1pc97_440`,o=`_headerCount_1pc97_449`,s=`_body_1pc97_459`,c=`_itemList_1pc97_499`,l=`_item_1pc97_499`,u=`_checkboxVisual_1pc97_511`,d=`_checked_1pc97_537`,f=`_active_1pc97_553`,p=`_operation_1pc97_565`,m=`_button_1pc97_577`,h=`_empty_1pc97_584`,g={"wim-docs-container":`_wim-docs-container_1pc97_87`,"wim-t":`_wim-t_1pc97_292`,"react-flow":`_react-flow_1pc97_315`,"react-flow__edges":`_react-flow__edges_1pc97_316`,"react-flow__connectionline":`_react-flow__connectionline_1pc97_317`,"react-flow__background":`_react-flow__background_1pc97_326`,container:e,root:t,list:n,header:r,headerTitle:i,disabled:a,headerCount:o,body:s,itemList:c,item:l,checkboxVisual:u,checked:d,active:f,operation:p,button:m,empty:h};exports.active=f,exports.body=s,exports.button=m,exports.checkboxVisual=u,exports.checked=d,exports.container=e,exports.default=g,exports.disabled=a,exports.empty=h,exports.header=r,exports.headerCount=o,exports.headerTitle=i,exports.item=l,exports.itemList=c,exports.list=n,exports.operation=p,exports.root=t;
@@ -1,11 +1,12 @@
1
1
  "use client";
2
2
  //#region src/components/form/Transfer/transfer.module.scss
3
- var e = "_container_160k2_355", t = "_root_160k2_364", n = "_list_160k2_383", r = "_header_160k2_411", i = "_headerTitle_160k2_426", a = "_disabled_160k2_432", o = "_headerCount_160k2_441", s = "_body_160k2_451", c = "_itemList_160k2_491", l = "_item_160k2_491", u = "_checkboxVisual_160k2_503", d = "_checked_160k2_529", f = "_active_160k2_545", p = "_operation_160k2_557", m = "_button_160k2_569", h = "_empty_160k2_576", g = {
4
- "wim-docs-container": "_wim-docs-container_160k2_87",
5
- "wim-t": "_wim-t_160k2_292",
6
- "react-flow": "_react-flow_160k2_315",
7
- "react-flow__edges": "_react-flow__edges_160k2_316",
8
- "react-flow__connectionline": "_react-flow__connectionline_160k2_317",
3
+ var e = "_container_1pc97_363", t = "_root_1pc97_372", n = "_list_1pc97_391", r = "_header_1pc97_419", i = "_headerTitle_1pc97_434", a = "_disabled_1pc97_440", o = "_headerCount_1pc97_449", s = "_body_1pc97_459", c = "_itemList_1pc97_499", l = "_item_1pc97_499", u = "_checkboxVisual_1pc97_511", d = "_checked_1pc97_537", f = "_active_1pc97_553", p = "_operation_1pc97_565", m = "_button_1pc97_577", h = "_empty_1pc97_584", g = {
4
+ "wim-docs-container": "_wim-docs-container_1pc97_87",
5
+ "wim-t": "_wim-t_1pc97_292",
6
+ "react-flow": "_react-flow_1pc97_315",
7
+ "react-flow__edges": "_react-flow__edges_1pc97_316",
8
+ "react-flow__connectionline": "_react-flow__connectionline_1pc97_317",
9
+ "react-flow__background": "_react-flow__background_1pc97_326",
9
10
  container: e,
10
11
  root: t,
11
12
  list: n,
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- var e=`_container_10nea_324`,t=`_root_10nea_334`,n=`_fullWidth_10nea_347`,r=`_label_10nea_351`,i=`_trigger_10nea_358`,a=`_disabled_10nea_371`,o=`_open_10nea_383`,s=`_value_10nea_391`,c=`_placeholder_10nea_392`,l=`_icon_10nea_395`,u=`_clear_10nea_415`,d=`_dropdown_10nea_427`,f=`_treeView_10nea_457`,p=`_treeViewItem_10nea_465`,m=`_treeViewSearch_10nea_468`,h={"wim-docs-container":`_wim-docs-container_10nea_87`,"wim-t":`_wim-t_10nea_292`,"react-flow":`_react-flow_10nea_315`,"react-flow__edges":`_react-flow__edges_10nea_316`,"react-flow__connectionline":`_react-flow__connectionline_10nea_317`,container:e,root:t,fullWidth:n,label:r,trigger:i,disabled:a,open:o,value:s,placeholder:c,icon:l,clear:u,dropdown:d,treeView:f,treeViewItem:p,treeViewSearch:m};exports.clear=u,exports.container=e,exports.default=h,exports.disabled=a,exports.dropdown=d,exports.fullWidth=n,exports.icon=l,exports.label=r,exports.open=o,exports.placeholder=c,exports.root=t,exports.treeView=f,exports.treeViewItem=p,exports.treeViewSearch=m,exports.trigger=i,exports.value=s;
2
+ var e=`_container_1sjj9_332`,t=`_root_1sjj9_342`,n=`_fullWidth_1sjj9_355`,r=`_label_1sjj9_359`,i=`_trigger_1sjj9_366`,a=`_disabled_1sjj9_379`,o=`_open_1sjj9_391`,s=`_value_1sjj9_399`,c=`_placeholder_1sjj9_400`,l=`_icon_1sjj9_403`,u=`_clear_1sjj9_423`,d=`_dropdown_1sjj9_435`,f=`_treeView_1sjj9_465`,p=`_treeViewItem_1sjj9_473`,m=`_treeViewSearch_1sjj9_476`,h={"wim-docs-container":`_wim-docs-container_1sjj9_87`,"wim-t":`_wim-t_1sjj9_292`,"react-flow":`_react-flow_1sjj9_315`,"react-flow__edges":`_react-flow__edges_1sjj9_316`,"react-flow__connectionline":`_react-flow__connectionline_1sjj9_317`,"react-flow__background":`_react-flow__background_1sjj9_326`,container:e,root:t,fullWidth:n,label:r,trigger:i,disabled:a,open:o,value:s,placeholder:c,icon:l,clear:u,dropdown:d,treeView:f,treeViewItem:p,treeViewSearch:m};exports.clear=u,exports.container=e,exports.default=h,exports.disabled=a,exports.dropdown=d,exports.fullWidth=n,exports.icon=l,exports.label=r,exports.open=o,exports.placeholder=c,exports.root=t,exports.treeView=f,exports.treeViewItem=p,exports.treeViewSearch=m,exports.trigger=i,exports.value=s;
@@ -1,11 +1,12 @@
1
1
  "use client";
2
2
  //#region src/components/form/TreeSelect/tree-select.module.scss
3
- var e = "_container_10nea_324", t = "_root_10nea_334", n = "_fullWidth_10nea_347", r = "_label_10nea_351", i = "_trigger_10nea_358", a = "_disabled_10nea_371", o = "_open_10nea_383", s = "_value_10nea_391", c = "_placeholder_10nea_392", l = "_icon_10nea_395", u = "_clear_10nea_415", d = "_dropdown_10nea_427", f = "_treeView_10nea_457", p = "_treeViewItem_10nea_465", m = "_treeViewSearch_10nea_468", h = {
4
- "wim-docs-container": "_wim-docs-container_10nea_87",
5
- "wim-t": "_wim-t_10nea_292",
6
- "react-flow": "_react-flow_10nea_315",
7
- "react-flow__edges": "_react-flow__edges_10nea_316",
8
- "react-flow__connectionline": "_react-flow__connectionline_10nea_317",
3
+ var e = "_container_1sjj9_332", t = "_root_1sjj9_342", n = "_fullWidth_1sjj9_355", r = "_label_1sjj9_359", i = "_trigger_1sjj9_366", a = "_disabled_1sjj9_379", o = "_open_1sjj9_391", s = "_value_1sjj9_399", c = "_placeholder_1sjj9_400", l = "_icon_1sjj9_403", u = "_clear_1sjj9_423", d = "_dropdown_1sjj9_435", f = "_treeView_1sjj9_465", p = "_treeViewItem_1sjj9_473", m = "_treeViewSearch_1sjj9_476", h = {
4
+ "wim-docs-container": "_wim-docs-container_1sjj9_87",
5
+ "wim-t": "_wim-t_1sjj9_292",
6
+ "react-flow": "_react-flow_1sjj9_315",
7
+ "react-flow__edges": "_react-flow__edges_1sjj9_316",
8
+ "react-flow__connectionline": "_react-flow__connectionline_1sjj9_317",
9
+ "react-flow__background": "_react-flow__background_1sjj9_326",
9
10
  container: e,
10
11
  root: t,
11
12
  fullWidth: n,
@@ -2,7 +2,9 @@
2
2
 
3
3
  > Important messages
4
4
 
5
- Also known as: Message Bar
5
+ Also known as: Message Bar, Callout
6
+
7
+ ⚠️ Not the same as elsewhere: In Fluent UI v8, a "Callout" is a popup anchored to an element — that is `Popover` here. WIM's `Alert` matches Blueprint's Callout: an inline message in the page flow.
6
8
 
7
9
  ## Import
8
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Smooth scroll links
4
4
 
5
- Also known as: Scrollspy, Table of Contents, TableOfContents
5
+ Also known as: Scrollspy, Table of Contents, TableOfContents, TOC
6
6
 
7
7
  ## Import
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Stacked avatars
4
4
 
5
- Also known as: Face Pile
5
+ Also known as: Face Pile, Avatar Circles
6
6
 
7
7
  ## Import
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Location trace
4
4
 
5
- Also known as: Path Bar, Path Control
5
+ Also known as: Path Bar, Path Control, Breadcrumbs
6
6
 
7
7
  ## Import
8
8
 
@@ -2,6 +2,8 @@
2
2
 
3
3
  > Displays code changes as a side-by-side or unified diff, with line-level highlighting and Apply/Reject actions.
4
4
 
5
+ Also known as: Code Comparison
6
+
5
7
  ## Import
6
8
 
7
9
  ```ts
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Select with search
4
4
 
5
- Also known as: Autocomplete, Auto Complete
5
+ Also known as: Autocomplete, Auto Complete, Suggest
6
6
 
7
7
  ## Import
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Cmd+K search overlay
4
4
 
5
- Also known as: Command Bar, Quick Open
5
+ Also known as: Command Bar, Quick Open, Omnibar, Command
6
6
 
7
7
  ## Import
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Copy to clipboard
4
4
 
5
- Also known as: Copy
5
+ Also known as: Copy, Clipboard
6
6
 
7
7
  ## Import
8
8
 
@@ -2,6 +2,8 @@
2
2
 
3
3
  > Display the remaining time until a target moment as a live ticking timer, for sale deadlines, OTP resend waits, and maintenance notices.
4
4
 
5
+ Also known as: Timer
6
+
5
7
  ## Import
6
8
 
7
9
  ```ts
@@ -2,6 +2,10 @@
2
2
 
3
3
  > Date selection
4
4
 
5
+ Also known as: Date Input
6
+
7
+ ⚠️ Not the same as elsewhere: In Blueprint, a "DatePicker" is the calendar panel shown inline — that is `Calendar` here. WIM's `DatePicker` is a text field that opens a calendar, which Blueprint calls DateInput.
8
+
5
9
  ## Import
6
10
 
7
11
  ```ts