@sia.soul/sia-react-ui 0.1.88 → 0.1.90

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.
@@ -332,7 +332,7 @@ function useFloatingPlaceholder({ mode, placeholder, filled, active = false }) {
332
332
  }
333
333
 
334
334
  // src/components/RichTextEditor.tsx
335
- var import_react12 = require("react");
335
+ var import_react13 = require("react");
336
336
  var import_dompurify = __toESM(require("dompurify"), 1);
337
337
  var import_core = require("@tiptap/core");
338
338
  var import_starter_kit = __toESM(require("@tiptap/starter-kit"), 1);
@@ -404,10 +404,10 @@ var Button = (0, import_react3.forwardRef)(function Button2({
404
404
  });
405
405
 
406
406
  // src/components/Dropdown.tsx
407
- var import_react7 = require("react");
407
+ var import_react8 = require("react");
408
408
 
409
409
  // src/components/Icon.tsx
410
- var import_react4 = require("react");
410
+ var import_react5 = require("react");
411
411
 
412
412
  // src/components/IconCatalog.tsx
413
413
  var import_jsx_runtime5 = require("react/jsx-runtime");
@@ -892,327 +892,602 @@ var extendedIconPaths = {
892
892
  ] })
893
893
  };
894
894
 
895
- // src/components/Icon.tsx
895
+ // src/components/iconBounds.ts
896
+ var outlineIconBounds = {
897
+ "activity": [3, 6, 18, 13],
898
+ "align-center": [4, 6, 16, 12],
899
+ "align-justify": [4, 6, 16, 12],
900
+ "align-left": [4, 6, 16, 12],
901
+ "align-right": [4, 6, 16, 12],
902
+ "appstore": [3, 3, 18, 18],
903
+ "area-chart": [3, 5, 18, 15],
904
+ "arrow-down": [5, 3, 14, 18],
905
+ "arrow-left": [3, 5, 18, 14],
906
+ "arrow-right": [3, 5, 18, 14],
907
+ "arrow-up": [5, 3, 14, 18],
908
+ "bank": [3, 3, 18, 18],
909
+ "bar-chart": [3, 4, 18, 17],
910
+ "barcode": [4, 5, 16, 14],
911
+ "bell": [3, 3, 18, 18],
912
+ "bold": [7, 4, 11, 16],
913
+ "book": [4, 3, 16, 19],
914
+ "branches": [4, 3, 16, 18],
915
+ "bug": [5, 5, 14, 15],
916
+ "bulb": [5.000001, 2.255438, 14.000001, 18.744562],
917
+ "calculator": [5, 2, 14, 20],
918
+ "calendar": [3, 3, 18, 18],
919
+ "camera": [3, 4, 18, 16],
920
+ "car": [3, 4, 18, 16],
921
+ "check": [4, 6.5, 16, 11],
922
+ "chevron-down": [5, 8.5, 14, 7],
923
+ "chevron-left": [8.5, 5, 7, 14],
924
+ "chevron-right": [8.5, 5, 7, 14],
925
+ "chevron-up": [5, 8.5, 14, 7],
926
+ "circle-check": [3, 3, 18, 18],
927
+ "circle-close": [3, 3, 18, 18],
928
+ "circle-minus": [3, 3, 18, 18],
929
+ "circle-plus": [3, 3, 18, 18],
930
+ "clipboard": [5, 3, 14, 18],
931
+ "clipboard-check": [5, 3, 14, 18],
932
+ "clock": [3, 3, 18, 18],
933
+ "close": [5, 5, 14, 14],
934
+ "cloud": [1.267807, 5.290112, 20.99, 13.79396],
935
+ "cloud-download": [1.100703, 5.621803, 21.657103, 15.378197],
936
+ "cloud-upload": [1.100703, 5.621803, 21.657103, 15.378197],
937
+ "code": [3, 6, 18, 12],
938
+ "coffee": [4, 3, 18, 17],
939
+ "columns": [3, 4, 18, 16],
940
+ "comments": [3, 4, 18, 17],
941
+ "compass": [3, 3, 18, 18],
942
+ "component": [4, 4, 16, 16],
943
+ "copy": [4, 4, 16, 16],
944
+ "corner-up-left": [4, 5, 16, 14],
945
+ "corner-up-right": [4, 5, 16, 14],
946
+ "database": [4, 2, 16, 20],
947
+ "desktop": [3, 3, 18, 18],
948
+ "double-left": [5, 5, 14, 14],
949
+ "double-right": [5, 5, 14, 14],
950
+ "download": [4, 3, 16, 17],
951
+ "edit": [4, 4.171572, 16, 15.828428],
952
+ "eraser": [4, 5, 17, 15],
953
+ "expand": [4, 4, 16, 16],
954
+ "experiment": [3.720577, 3, 16.558847, 19.019615],
955
+ "external-link": [3, 4, 17, 17],
956
+ "eye": [2.5, 6, 19, 12],
957
+ "eye-off": [2.5, 3, 19, 18],
958
+ "fast-backward": [4, 6, 16, 12],
959
+ "fast-forward": [4, 6, 16, 12],
960
+ "file": [6, 3, 12, 18],
961
+ "file-check": [6, 3, 12, 18],
962
+ "file-plus": [6, 3, 12, 18],
963
+ "file-spreadsheet": [6, 3, 12, 18],
964
+ "file-warning": [6, 3, 12, 18],
965
+ "filter": [3, 5, 18, 16],
966
+ "flip-horizontal": [3, 3, 18, 18],
967
+ "flip-vertical": [3, 3, 18, 18],
968
+ "folder": [3, 6, 18, 13],
969
+ "folder-plus": [3, 6, 18, 13],
970
+ "frown": [3, 3, 18, 18],
971
+ "fullscreen": [4, 4, 16, 16],
972
+ "fullscreen-exit": [4, 4, 16, 16],
973
+ "game-backpack": [4, 1.5, 16, 19.5],
974
+ "game-cultivator": [7, 2, 10, 19],
975
+ "game-elixir-jar": [5, 3, 14, 18],
976
+ "game-flame": [4.5, 2.5, 15.000168, 19.950167],
977
+ "game-gem": [4, 4, 16, 17],
978
+ "game-herb": [4, 5.488038, 16, 15.511962],
979
+ "game-ingot": [3, 6, 18, 13.5],
980
+ "game-meditate": [4, 3, 16, 18],
981
+ "game-necklace": [5, 4, 14, 16],
982
+ "game-pants": [6, 3, 12, 18],
983
+ "game-pendant": [5, 4, 14, 16.6],
984
+ "game-pill": [4.510922, 4.522434, 14.966641, 14.966642],
985
+ "game-potion": [4.370614, 3, 15.258771, 18.002394],
986
+ "game-qi": [3, 3, 18, 18],
987
+ "game-robe": [4.5, 4, 15, 17],
988
+ "game-soul-elixir": [2.5, 2.5, 19, 19],
989
+ "game-spirit-wolf": [4, 4.2, 16.025938, 16.5],
990
+ "game-sword": [4, 3.5, 15.5, 16.5],
991
+ "game-swordsman": [7, 2.5, 12.900002, 18.5],
992
+ "gift": [3, 3.17335, 18, 17.826651],
993
+ "github": [3.699682, 3.977686, 16.600634, 18.022314],
994
+ "heart": [1.584567, 4.178144, 20.83729, 16.821857],
995
+ "help-circle": [3, 3, 18, 18],
996
+ "highlighter": [3, 4, 16, 16],
997
+ "home": [3.5, 4, 17, 16],
998
+ "image": [3, 4, 18, 16],
999
+ "info": [3, 3, 18, 18],
1000
+ "italic": [6, 4, 12, 16],
1001
+ "key": [4, 4, 15, 15],
1002
+ "laptop": [3, 5, 18, 14],
1003
+ "line-chart": [3, 5, 18, 15],
1004
+ "link": [-0.034671, 4.964466, 24.070208, 14.070206],
1005
+ "list-ordered": [4, 5, 17, 15],
1006
+ "list-unordered": [4, 5.5, 17, 13],
1007
+ "loader": [3, 3, 18, 18],
1008
+ "location": [5, 2, 14, 20],
1009
+ "lock": [4, 3, 16, 18],
1010
+ "login": [5, 5, 12, 14],
1011
+ "logout": [7, 5, 12, 14],
1012
+ "mail": [3, 5, 18, 14],
1013
+ "meh": [3, 3, 18, 18],
1014
+ "menu": [4, 6, 16, 12],
1015
+ "menu-fold": [4, 6, 16, 12],
1016
+ "menu-unfold": [4, 6, 16, 12],
1017
+ "message": [4, 4, 16, 17],
1018
+ "microphone": [5, 3, 14, 18],
1019
+ "minus": [4, 12, 16, 0],
1020
+ "mobile": [7, 2, 10, 20],
1021
+ "moon": [3.717114, 4, 16.282887, 16.282888],
1022
+ "more-horizontal": [5, 12, 14.1, 0],
1023
+ "more-vertical": [12, 5, 0, 14.1],
1024
+ "move": [3, 3, 18, 18],
1025
+ "notepad-file": [3.375, 1.875, 17.25, 20.25],
1026
+ "notepad-folder": [1.875, 2.25, 20.2875, 19.5],
1027
+ "notepad-virtual-folder": [0.75, 0.75, 22.5, 22.5],
1028
+ "paperclip": [1.136039, 3, 21.106602, 18.86396],
1029
+ "partition": [4, 1, 16, 20],
1030
+ "pause": [3, 3, 18, 18],
1031
+ "phone": [4.161916, 3.5, 16.338085, 16.338085],
1032
+ "pie-chart": [2, 3, 18.5, 18],
1033
+ "pin": [6.5, 3, 11, 18],
1034
+ "pin-off": [3, 3, 18, 18],
1035
+ "play": [3, 3, 18, 18],
1036
+ "plus": [4, 4, 16, 16],
1037
+ "power": [4, 3, 16.000002, 16.744997],
1038
+ "printer": [4, 3, 16, 18],
1039
+ "puzzle": [3, 3, 18, 18],
1040
+ "qr-code": [3, 3, 18, 18],
1041
+ "question": [3, 3, 18, 18],
1042
+ "redo": [4, 7, 17, 12],
1043
+ "refresh": [3.999998, 3.999709, 16.000002, 16.000002],
1044
+ "rocket": [3, 3, 18, 18],
1045
+ "rotate-left": [4, 3, 15.416197, 17],
1046
+ "rotate-right": [4.583802, 3, 15.416199, 17],
1047
+ "rows": [3, 4, 18, 16],
1048
+ "save": [4, 3, 16, 18],
1049
+ "scan": [3, 3, 18, 18],
1050
+ "scissors": [3, 4, 17, 16],
1051
+ "search": [4, 4, 17, 17],
1052
+ "send": [3, 3, 18, 18],
1053
+ "server": [3, 4, 18, 16],
1054
+ "settings": [4, 4, 16, 16],
1055
+ "share": [3, 2, 18, 20],
1056
+ "shield": [4, 3, 16, 19],
1057
+ "shield-check": [4, 3, 16, 19],
1058
+ "shop": [3, 4, 18, 17],
1059
+ "shopping-bag": [4, 3, 16, 18],
1060
+ "shopping-cart": [3, 4, 17, 17],
1061
+ "shrink": [5, 4, 14, 16],
1062
+ "smile": [3, 3, 18, 18],
1063
+ "sort-ascending": [3.5, 5, 17.5, 14],
1064
+ "sort-descending": [3.5, 5, 17.5, 14],
1065
+ "speaker-muted": [4, 6.4, 16.5, 11.200001],
1066
+ "speaker-wave": [4, 6.4, 12.343426, 11.200001],
1067
+ "square-check": [3, 3, 18, 18],
1068
+ "square-close": [3, 3, 18, 18],
1069
+ "square-minus": [3, 3, 18, 18],
1070
+ "square-plus": [3, 3, 18, 18],
1071
+ "star": [3, 3, 18, 17.200001],
1072
+ "step-backward": [6, 5, 12, 14],
1073
+ "step-forward": [6, 5, 12, 14],
1074
+ "stop": [3, 3, 18, 18],
1075
+ "strikethrough": [5, 4, 14, 16],
1076
+ "sun": [2.5, 2.5, 19, 19],
1077
+ "swap-horizontal": [4, 4, 16, 16],
1078
+ "swap-vertical": [4, 4, 16, 16],
1079
+ "tab-plus": [3, 4, 18, 16],
1080
+ "table": [3, 4, 18, 16],
1081
+ "tablet": [5, 2, 14, 20],
1082
+ "tag": [3, 4, 18, 17],
1083
+ "tags": [3, 4, 18, 17],
1084
+ "target": [3, 3, 18, 18],
1085
+ "tilde": [3, 9.214088, 18, 4.785912],
1086
+ "token": [2.5, 2.5, 19, 19],
1087
+ "tool": [4.870828, 2.816625, 16.750492, 16.804695],
1088
+ "trash": [4, 3, 16, 18],
1089
+ "trending-down": [4, 7, 16, 9],
1090
+ "trending-up": [4, 8, 16, 9],
1091
+ "trophy": [3.997966, 4, 16.004068, 16],
1092
+ "truck": [3, 5, 18, 16],
1093
+ "underline": [5, 4, 14, 17],
1094
+ "undo": [3, 7, 17, 12],
1095
+ "unlock": [4, 2.935554, 16, 18.064445],
1096
+ "upload": [4, 4, 16, 16],
1097
+ "user": [4.5, 4, 15, 17],
1098
+ "user-minus": [3, 4, 19.5, 17],
1099
+ "user-plus": [3, 4, 19.5, 17],
1100
+ "users": [2.8, 4.5, 18.300001, 15.5],
1101
+ "vertical-align-bottom": [4, 4, 16, 16],
1102
+ "vertical-align-middle": [4, 4, 16, 16],
1103
+ "vertical-align-top": [4, 4, 16, 16],
1104
+ "video": [3, 5, 18, 14],
1105
+ "volume-off": [4, 6, 18, 12],
1106
+ "volume-up": [4, 6, 16.690525, 12],
1107
+ "wallet": [3, 5, 18, 15],
1108
+ "warning": [2.33137, 3.153565, 19.337257, 17.847614],
1109
+ "wifi": [3, 5.723805, 18, 15.376196],
1110
+ "zoom-in": [4, 4, 17, 17],
1111
+ "zoom-out": [4, 4, 17, 17]
1112
+ };
1113
+ var filledIconBounds = {
1114
+ "bell": [3, 2.499593, 18, 19.423376],
1115
+ "book": [3, 1, 18, 22],
1116
+ "calendar": [2.5, 2.5, 19, 19],
1117
+ "circle-check": [2, 2, 20, 20],
1118
+ "circle-close": [2, 2, 20, 20],
1119
+ "circle-minus": [2, 2, 20, 20],
1120
+ "circle-plus": [2, 2, 20, 20],
1121
+ "clock": [2, 2, 20, 20],
1122
+ "component": [3, 3, 18, 18],
1123
+ "file": [5, 2.5, 14, 19.5],
1124
+ "filter": [2, 4, 20, 18],
1125
+ "folder": [2.5, 5, 19, 15],
1126
+ "heart": [1.247845, 3.647845, 21.504313, 17.652155],
1127
+ "home": [2.157447, 2.8, 19.500002, 18.200001],
1128
+ "image": [2.5, 3.5, 19, 17],
1129
+ "info": [2, 2, 20, 20],
1130
+ "lock": [3, 2, 18, 20],
1131
+ "mail": [2.5, 4.5, 19, 15],
1132
+ "pause": [2, 2, 20, 20],
1133
+ "play": [2, 2, 20, 20],
1134
+ "question": [2, 2, 20, 20],
1135
+ "star": [2.4, 2.199999, 19.200001, 18.200001],
1136
+ "token": [1, 1, 22, 22],
1137
+ "trash": [3, 3, 18, 18],
1138
+ "unlock": [3, 1.979363, 18, 20.020638],
1139
+ "user": [3.5, 3, 17, 18],
1140
+ "users": [1.8, 4.2, 19.6, 16.799999],
1141
+ "warning": [1.53137, 2.553565, 20.937256, 19.447613]
1142
+ };
1143
+
1144
+ // src/components/iconGeometry.tsx
1145
+ var import_react4 = require("react");
896
1146
  var import_jsx_runtime6 = require("react/jsx-runtime");
1147
+ function compensateStroke(node, scale) {
1148
+ return import_react4.Children.map(node, (child) => {
1149
+ if (!(0, import_react4.isValidElement)(child)) return child;
1150
+ const props = child.props;
1151
+ return (0, import_react4.cloneElement)(child, {
1152
+ ...props.strokeWidth === void 0 ? {} : { strokeWidth: Number(props.strokeWidth) / scale },
1153
+ ...props.children === void 0 ? {} : { children: compensateStroke(props.children, scale) }
1154
+ });
1155
+ });
1156
+ }
1157
+ function normalizeIconPaths(paths, bounds) {
1158
+ return Object.fromEntries(Object.entries(paths).map(([name, node]) => {
1159
+ const [x, y, width, height] = bounds[name];
1160
+ const scale = 18 / Math.max(width, height);
1161
+ const transform = `translate(${12 - (x + width / 2) * scale} ${12 - (y + height / 2) * scale}) scale(${scale})`;
1162
+ return [name, { scale, node: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("g", { transform, children: compensateStroke(node, scale) }) }];
1163
+ }));
1164
+ }
1165
+
1166
+ // src/components/Icon.tsx
1167
+ var import_jsx_runtime7 = require("react/jsx-runtime");
897
1168
  var coreIconPaths = {
898
- search: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
899
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "10.8", cy: "10.8", r: "6.8" }),
900
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m15.8 15.8 5.2 5.2" })
1169
+ search: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1170
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "10.8", cy: "10.8", r: "6.8" }),
1171
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m15.8 15.8 5.2 5.2" })
901
1172
  ] }),
902
- plus: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 4v16M4 12h16" }),
1173
+ plus: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 4v16M4 12h16" }),
903
1174
  // 数字区间用波浪线表达范围,避免箭头暗示跳转方向。
904
- tilde: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M3 14c3-8 6-4 9-2s6 4 9-2" }),
905
- minus: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M4 12h16" }),
906
- close: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m5 5 14 14M19 5 5 19" }),
907
- check: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m4 12.5 5.2 5L20 6.5" }),
908
- info: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
909
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
910
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 11v6M12 7.2v.1" })
911
- ] }),
912
- question: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
913
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
914
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M9.8 9a2.4 2.4 0 1 1 3.5 2.2c-.9.5-1.3 1.1-1.3 2.1M12 16.8v.1" })
915
- ] }),
916
- warning: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
917
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M10.3 4.1 2.6 18a2 2 0 0 0 1.8 3h15.2a2 2 0 0 0 1.8-3L13.7 4.1a2 2 0 0 0-3.4 0Z" }),
918
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 9v4M12 17v.1" })
919
- ] }),
920
- "circle-check": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
921
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
922
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m8 12 2.7 2.7L16.5 9" })
923
- ] }),
924
- "circle-close": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
925
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
926
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m9 9 6 6M15 9l-6 6" })
927
- ] }),
928
- "circle-plus": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
929
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
930
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 8v8M8 12h8" })
931
- ] }),
932
- "circle-minus": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
933
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
934
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M8 12h8" })
935
- ] }),
936
- "chevron-left": /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m15.5 5-7 7 7 7" }),
937
- "chevron-right": /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m8.5 5 7 7-7 7" }),
938
- "chevron-up": /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m5 15.5 7-7 7 7" }),
939
- "chevron-down": /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m5 8.5 7 7 7-7" }),
940
- "double-left": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
941
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m12 5-7 7 7 7" }),
942
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m19 5-7 7 7 7" })
943
- ] }),
944
- "double-right": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
945
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m5 5 7 7-7 7" }),
946
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m12 5 7 7-7 7" })
947
- ] }),
948
- "arrow-left": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
949
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m10 5-7 7 7 7" }),
950
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M3 12h18" })
951
- ] }),
952
- "arrow-right": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
953
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m14 5 7 7-7 7" }),
954
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M3 12h18" })
955
- ] }),
956
- "arrow-up": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
957
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m5 10 7-7 7 7" }),
958
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 3v18" })
959
- ] }),
960
- "arrow-down": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
961
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m5 14 7 7 7-7" }),
962
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 3v18" })
963
- ] }),
964
- menu: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M4 6h16M4 12h16M4 18h16" }),
965
- "more-horizontal": /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M5 12h.1M12 12h.1M19 12h.1" }),
966
- "more-vertical": /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 5v.1M12 12v.1M12 19v.1" }),
967
- home: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
968
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m3.5 11 8.5-7 8.5 7" }),
969
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M5.5 9.5V20h13V9.5M9.5 20v-6h5v6" })
970
- ] }),
971
- user: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
972
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "8", r: "4" }),
973
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M4.5 21c.7-4.2 3.2-6.5 7.5-6.5s6.8 2.3 7.5 6.5" })
974
- ] }),
975
- users: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
976
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "9", cy: "8", r: "3.5" }),
977
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M2.8 20c.6-3.8 2.7-5.8 6.2-5.8s5.6 2 6.2 5.8" }),
978
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M15 5.2a3.5 3.5 0 0 1 0 6.6M16.2 14.5c2.9.5 4.4 2.3 4.9 5.5" })
979
- ] }),
980
- settings: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
981
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "3.5" }),
982
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M10 4.8 10 2 14 2 14 4.8 15.68 5.49 17.66 3.51 20.49 6.34 18.51 8.32 19.2 10 22 10 22 14 19.2 14 18.51 15.68 20.49 17.66 17.66 20.49 15.68 18.51 14 19.2 14 22 10 22 10 19.2 8.32 18.51 6.34 20.49 3.51 17.66 5.49 15.68 4.8 14 2 14 2 10 4.8 10 5.49 8.32 3.51 6.34 6.34 3.51 8.32 5.49Z" })
983
- ] }),
984
- edit: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
985
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M4 20h4l11-11a2.8 2.8 0 0 0-4-4L4 16v4Z" }),
986
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m13.5 6.5 4 4M4 20h16" })
987
- ] }),
988
- copy: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
989
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "8", y: "8", width: "12", height: "12", rx: "2.5" }),
990
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2" })
991
- ] }),
992
- trash: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M4 7h16M9 3h6l1 4H8l1-4ZM6 7l1 14h10l1-14M10 11v6M14 11v6" }) }),
993
- scissors: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
994
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "6", cy: "7", r: "3" }),
995
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "6", cy: "17", r: "3" }),
996
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m8.7 8.3 11.3 6.2M8.7 15.7 20 9.5" })
997
- ] }),
998
- undo: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
999
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m8 7-5 5 5 5" }),
1000
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M3 12h10a7 7 0 0 1 7 7" })
1001
- ] }),
1002
- redo: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1003
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m16 7 5 5-5 5" }),
1004
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M21 12H11a7 7 0 0 0-7 7" })
1005
- ] }),
1006
- "zoom-in": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1007
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "10.8", cy: "10.8", r: "6.8" }),
1008
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m15.8 15.8 5.2 5.2M10.8 7.8v6M7.8 10.8h6" })
1009
- ] }),
1010
- "zoom-out": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1011
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "10.8", cy: "10.8", r: "6.8" }),
1012
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m15.8 15.8 5.2 5.2M7.8 10.8h6" })
1175
+ tilde: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 14c3-8 6-4 9-2s6 4 9-2" }),
1176
+ minus: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 12h16" }),
1177
+ close: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m5 5 14 14M19 5 5 19" }),
1178
+ check: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m4 12.5 5.2 5L20 6.5" }),
1179
+ info: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1180
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1181
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 11v6M12 7.2v.1" })
1182
+ ] }),
1183
+ question: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1184
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1185
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9.8 9a2.4 2.4 0 1 1 3.5 2.2c-.9.5-1.3 1.1-1.3 2.1M12 16.8v.1" })
1186
+ ] }),
1187
+ warning: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1188
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10.3 4.1 2.6 18a2 2 0 0 0 1.8 3h15.2a2 2 0 0 0 1.8-3L13.7 4.1a2 2 0 0 0-3.4 0Z" }),
1189
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 9v4M12 17v.1" })
1190
+ ] }),
1191
+ "circle-check": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1192
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1193
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8 12 2.7 2.7L16.5 9" })
1194
+ ] }),
1195
+ "circle-close": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1196
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1197
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m9 9 6 6M15 9l-6 6" })
1198
+ ] }),
1199
+ "circle-plus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1200
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1201
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 8v8M8 12h8" })
1202
+ ] }),
1203
+ "circle-minus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1204
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1205
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 12h8" })
1206
+ ] }),
1207
+ "chevron-left": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m15.5 5-7 7 7 7" }),
1208
+ "chevron-right": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8.5 5 7 7-7 7" }),
1209
+ "chevron-up": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m5 15.5 7-7 7 7" }),
1210
+ "chevron-down": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m5 8.5 7 7 7-7" }),
1211
+ "double-left": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1212
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m12 5-7 7 7 7" }),
1213
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m19 5-7 7 7 7" })
1214
+ ] }),
1215
+ "double-right": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1216
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m5 5 7 7-7 7" }),
1217
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m12 5 7 7-7 7" })
1218
+ ] }),
1219
+ "arrow-left": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1220
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m10 5-7 7 7 7" }),
1221
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 12h18" })
1222
+ ] }),
1223
+ "arrow-right": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1224
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m14 5 7 7-7 7" }),
1225
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 12h18" })
1226
+ ] }),
1227
+ "arrow-up": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1228
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m5 10 7-7 7 7" }),
1229
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 3v18" })
1230
+ ] }),
1231
+ "arrow-down": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1232
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m5 14 7 7 7-7" }),
1233
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 3v18" })
1234
+ ] }),
1235
+ menu: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 6h16M4 12h16M4 18h16" }),
1236
+ "more-horizontal": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M5 12h.1M12 12h.1M19 12h.1" }),
1237
+ "more-vertical": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 5v.1M12 12v.1M12 19v.1" }),
1238
+ home: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1239
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m3.5 11 8.5-7 8.5 7" }),
1240
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M5.5 9.5V20h13V9.5M9.5 20v-6h5v6" })
1241
+ ] }),
1242
+ user: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1243
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "8", r: "4" }),
1244
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4.5 21c.7-4.2 3.2-6.5 7.5-6.5s6.8 2.3 7.5 6.5" })
1245
+ ] }),
1246
+ users: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1247
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "9", cy: "8", r: "3.5" }),
1248
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M2.8 20c.6-3.8 2.7-5.8 6.2-5.8s5.6 2 6.2 5.8" }),
1249
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M15 5.2a3.5 3.5 0 0 1 0 6.6M16.2 14.5c2.9.5 4.4 2.3 4.9 5.5" })
1250
+ ] }),
1251
+ // 保留齿轮原始路径;与其余图标一起通过统一几何规则调整主体大小。
1252
+ settings: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1253
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "2.8" }),
1254
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10.4 6.24 10.4 4 13.6 4 13.6 6.24 14.944 6.792 16.528 5.208 18.792 7.472 17.208 9.056 17.76 10.4 20 10.4 20 13.6 17.76 13.6 17.208 14.944 18.792 16.528 16.528 18.792 14.944 17.208 13.6 17.76 13.6 20 10.4 20 10.4 17.76 9.056 17.208 7.472 18.792 5.208 16.528 6.792 14.944 6.24 13.6 4 13.6 4 10.4 6.24 10.4 6.792 9.056 5.208 7.472 7.472 5.208 9.056 6.792Z" })
1255
+ ] }),
1256
+ edit: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1257
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 20h4l11-11a2.8 2.8 0 0 0-4-4L4 16v4Z" }),
1258
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m13.5 6.5 4 4M4 20h16" })
1259
+ ] }),
1260
+ copy: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1261
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "8", y: "8", width: "12", height: "12", rx: "2.5" }),
1262
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2" })
1263
+ ] }),
1264
+ trash: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 7h16M9 3h6l1 4H8l1-4ZM6 7l1 14h10l1-14M10 11v6M14 11v6" }) }),
1265
+ scissors: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1266
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "6", cy: "7", r: "3" }),
1267
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "6", cy: "17", r: "3" }),
1268
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8.7 8.3 11.3 6.2M8.7 15.7 20 9.5" })
1269
+ ] }),
1270
+ undo: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1271
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8 7-5 5 5 5" }),
1272
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 12h10a7 7 0 0 1 7 7" })
1273
+ ] }),
1274
+ redo: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1275
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m16 7 5 5-5 5" }),
1276
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M21 12H11a7 7 0 0 0-7 7" })
1277
+ ] }),
1278
+ "zoom-in": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1279
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "10.8", cy: "10.8", r: "6.8" }),
1280
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m15.8 15.8 5.2 5.2M10.8 7.8v6M7.8 10.8h6" })
1281
+ ] }),
1282
+ "zoom-out": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1283
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "10.8", cy: "10.8", r: "6.8" }),
1284
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m15.8 15.8 5.2 5.2M7.8 10.8h6" })
1013
1285
  ] }),
1014
1286
  // 图片变换工具使用独立图标,便于在预览及其他编辑界面复用。
1015
- "flip-horizontal": /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 3v18M3 6h5v12H3zM16 6h5v12h-5z" }) }),
1016
- "flip-vertical": /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M3 12h18M6 3h12v5H6zM6 16h12v5H6z" }) }),
1017
- "rotate-left": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1018
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M4 9a8 8 0 1 1 0 6M4 3v6h6" }),
1019
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "9", y: "9", width: "6", height: "6", rx: "1" })
1020
- ] }),
1021
- "rotate-right": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1022
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M20 9a8 8 0 1 0 0 6M20 3v6h-6" }),
1023
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "9", y: "9", width: "6", height: "6", rx: "1" })
1024
- ] }),
1025
- download: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 3v12M7 10l5 5 5-5M4 20h16" }) }),
1026
- upload: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 16V4M7 9l5-5 5 5M4 20h16" }) }),
1027
- refresh: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1028
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M20 4v4.686h-4.686" }),
1029
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M20 8.686 17.657 6.343A8 8 0 1 0 20 12" })
1030
- ] }),
1031
- loader: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M18.4 5.6l-2.1 2.1M7.7 16.3l-2.1 2.1" }),
1032
- calendar: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1033
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "3", y: "5", width: "18", height: "16", rx: "2.5" }),
1034
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M8 3v4M16 3v4M3 10h18M7 14h2M11 14h2M15 14h2M7 18h2M11 18h2" })
1035
- ] }),
1036
- clock: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1037
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1038
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 7v5l3.5 2" })
1039
- ] }),
1040
- mail: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1041
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2.5" }),
1042
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m4 7 8 6 8-6" })
1043
- ] }),
1044
- phone: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M8.2 3.5 5.4 4.8c-1 .5-1.5 1.7-1.1 2.8 2.2 5.9 6.2 9.9 12.1 12.1 1.1.4 2.3-.1 2.8-1.1l1.3-2.8-4.2-2-1.4 2.1c-2.8-1.2-5.6-4-6.8-6.8l2.1-1.4-2-4.2Z" }),
1045
- link: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1046
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m9.5 14.5 5-5" }),
1047
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M7.5 16.5 6 18a3.5 3.5 0 0 1-5-5l3-3a3.5 3.5 0 0 1 5 0M16.5 7.5 18 6a3.5 3.5 0 0 1 5 5l-3 3a3.5 3.5 0 0 1-5 0" })
1048
- ] }),
1049
- "external-link": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1050
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M14 4h6v6M20 4 11 13" }),
1051
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M19 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h6" })
1052
- ] }),
1053
- eye: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1054
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z" }),
1055
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "3" })
1056
- ] }),
1057
- "eye-off": /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m3 3 18 18M10.6 6.1A10 10 0 0 1 12 6c6 0 9.5 6 9.5 6a14.5 14.5 0 0 1-2.2 3M6.4 6.4C3.9 8.2 2.5 12 2.5 12s3.5 6 9.5 6a9.7 9.7 0 0 0 3-.5M9.9 9.9a3 3 0 0 0 4.2 4.2" }) }),
1058
- lock: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1059
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "4", y: "10", width: "16", height: "11", rx: "2.5" }),
1060
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M8 10V7a4 4 0 0 1 8 0v3M12 14v3" })
1061
- ] }),
1062
- unlock: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1063
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "4", y: "10", width: "16", height: "11", rx: "2.5" }),
1064
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M8 10V7a4 4 0 0 1 7.5-2M12 14v3" })
1065
- ] }),
1066
- bell: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1067
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M18 9a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9Z" }),
1068
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M10 21h4" })
1069
- ] }),
1070
- star: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2-5.6-3-5.6 3 1.1-6.2L3 9.6l6.2-.9L12 3Z" }),
1071
- heart: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M20.8 5.8a5.5 5.5 0 0 0-7.8 0L12 6.9l-1-1.1a5.5 5.5 0 1 0-7.8 7.8L12 21l8.8-7.4a5.5 5.5 0 0 0 0-7.8Z" }),
1072
- file: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1073
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M6 3h8l4 4v14H6V3Z" }),
1074
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M14 3v5h4" })
1075
- ] }),
1076
- folder: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M3 6h7l2 2h9v11H3V6Z" }),
1077
- image: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1078
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "3", y: "4", width: "18", height: "16", rx: "2.5" }),
1079
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "9", cy: "9", r: "2" }),
1080
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m4 17 4.5-4.5 3.5 3 2.5-2.5 5.5 5" })
1081
- ] }),
1082
- filter: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M3 5h18l-7 8v6l-4 2v-8L3 5Z" }),
1083
- "sort-ascending": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1084
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M7 19V5M3.5 8.5 7 5l3.5 3.5" }),
1085
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M13 7h8M13 12h6M13 17h4" })
1086
- ] }),
1087
- "sort-descending": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1088
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M7 5v14M3.5 15.5 7 19l3.5-3.5" }),
1089
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M13 7h4M13 12h6M13 17h8" })
1090
- ] }),
1091
- play: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1092
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1093
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m10 8 6 4-6 4V8Z" })
1094
- ] }),
1095
- pause: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1096
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1097
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M9.5 9v6M14.5 9v6" })
1098
- ] }),
1099
- book: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1100
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M4 5.5A2.5 2.5 0 0 1 6.5 3H11v17H6.5A2.5 2.5 0 0 0 4 22V5.5Z" }),
1101
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M20 5.5A2.5 2.5 0 0 0 17.5 3H13v17h4.5A2.5 2.5 0 0 1 20 22V5.5Z" })
1102
- ] }),
1103
- component: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1104
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "4", y: "4", width: "6", height: "6", rx: "1.5" }),
1105
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "14", y: "4", width: "6", height: "6", rx: "1.5" }),
1106
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "4", y: "14", width: "6", height: "6", rx: "1.5" }),
1107
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "14", y: "14", width: "6", height: "6", rx: "1.5" })
1108
- ] }),
1109
- token: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1110
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "4" }),
1111
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3M5.3 5.3l2.1 2.1M16.6 16.6l2.1 2.1M18.7 5.3l-2.1 2.1M7.4 16.6l-2.1 2.1" })
1112
- ] }),
1113
- sun: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1114
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "3.6" }),
1115
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 2.5v2M12 19.5v2M2.5 12h2M19.5 12h2M5.3 5.3l1.4 1.4M17.3 17.3l1.4 1.4M18.7 5.3l-1.4 1.4M6.7 17.3l-1.4 1.4" })
1116
- ] }),
1117
- moon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M20 15.2A8 8 0 0 1 8.8 4 8.5 8.5 0 1 0 20 15.2Z" }),
1118
- code: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m9 18-6-6 6-6M15 6l6 6-6 6" }),
1119
- github: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M9 19c-4 1.2-4-2-5-2.5M14 22v-3.1c0-.9.3-1.5.8-1.9 2.7-.3 5.5-1.3 5.5-6A4.7 4.7 0 0 0 19 7.7 4.4 4.4 0 0 0 18.9 4S17.8 3.7 15 5.3a11.7 11.7 0 0 0-6 0C6.2 3.7 5.1 4 5.1 4A4.4 4.4 0 0 0 5 7.7 4.7 4.7 0 0 0 3.7 11c0 4.7 2.8 5.7 5.5 6 .5.4.8 1 .8 1.9V22" })
1287
+ "flip-horizontal": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 3v18M3 6h5v12H3zM16 6h5v12h-5z" }) }),
1288
+ "flip-vertical": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 12h18M6 3h12v5H6zM6 16h12v5H6z" }) }),
1289
+ "rotate-left": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1290
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 9a8 8 0 1 1 0 6M4 3v6h6" }),
1291
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "9", y: "9", width: "6", height: "6", rx: "1" })
1292
+ ] }),
1293
+ "rotate-right": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1294
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M20 9a8 8 0 1 0 0 6M20 3v6h-6" }),
1295
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "9", y: "9", width: "6", height: "6", rx: "1" })
1296
+ ] }),
1297
+ download: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 3v12M7 10l5 5 5-5M4 20h16" }) }),
1298
+ upload: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 16V4M7 9l5-5 5 5M4 20h16" }) }),
1299
+ refresh: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1300
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M20 4v4.686h-4.686" }),
1301
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M20 8.686 17.657 6.343A8 8 0 1 0 20 12" })
1302
+ ] }),
1303
+ loader: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M18.4 5.6l-2.1 2.1M7.7 16.3l-2.1 2.1" }),
1304
+ calendar: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1305
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "5", width: "18", height: "16", rx: "2.5" }),
1306
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 3v4M16 3v4M3 10h18M7 14h2M11 14h2M15 14h2M7 18h2M11 18h2" })
1307
+ ] }),
1308
+ clock: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1309
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1310
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 7v5l3.5 2" })
1311
+ ] }),
1312
+ mail: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1313
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2.5" }),
1314
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m4 7 8 6 8-6" })
1315
+ ] }),
1316
+ phone: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8.2 3.5 5.4 4.8c-1 .5-1.5 1.7-1.1 2.8 2.2 5.9 6.2 9.9 12.1 12.1 1.1.4 2.3-.1 2.8-1.1l1.3-2.8-4.2-2-1.4 2.1c-2.8-1.2-5.6-4-6.8-6.8l2.1-1.4-2-4.2Z" }),
1317
+ link: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1318
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m9.5 14.5 5-5" }),
1319
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7.5 16.5 6 18a3.5 3.5 0 0 1-5-5l3-3a3.5 3.5 0 0 1 5 0M16.5 7.5 18 6a3.5 3.5 0 0 1 5 5l-3 3a3.5 3.5 0 0 1-5 0" })
1320
+ ] }),
1321
+ "external-link": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1322
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M14 4h6v6M20 4 11 13" }),
1323
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M19 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h6" })
1324
+ ] }),
1325
+ eye: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1326
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z" }),
1327
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "3" })
1328
+ ] }),
1329
+ "eye-off": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m3 3 18 18M10.6 6.1A10 10 0 0 1 12 6c6 0 9.5 6 9.5 6a14.5 14.5 0 0 1-2.2 3M6.4 6.4C3.9 8.2 2.5 12 2.5 12s3.5 6 9.5 6a9.7 9.7 0 0 0 3-.5M9.9 9.9a3 3 0 0 0 4.2 4.2" }) }),
1330
+ lock: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1331
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "4", y: "10", width: "16", height: "11", rx: "2.5" }),
1332
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 10V7a4 4 0 0 1 8 0v3M12 14v3" })
1333
+ ] }),
1334
+ unlock: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1335
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "4", y: "10", width: "16", height: "11", rx: "2.5" }),
1336
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 10V7a4 4 0 0 1 7.5-2M12 14v3" })
1337
+ ] }),
1338
+ bell: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1339
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M18 9a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9Z" }),
1340
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10 21h4" })
1341
+ ] }),
1342
+ star: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2-5.6-3-5.6 3 1.1-6.2L3 9.6l6.2-.9L12 3Z" }),
1343
+ heart: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M20.8 5.8a5.5 5.5 0 0 0-7.8 0L12 6.9l-1-1.1a5.5 5.5 0 1 0-7.8 7.8L12 21l8.8-7.4a5.5 5.5 0 0 0 0-7.8Z" }),
1344
+ file: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1345
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M6 3h8l4 4v14H6V3Z" }),
1346
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M14 3v5h4" })
1347
+ ] }),
1348
+ folder: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 6h7l2 2h9v11H3V6Z" }),
1349
+ image: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1350
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "4", width: "18", height: "16", rx: "2.5" }),
1351
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "9", cy: "9", r: "2" }),
1352
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m4 17 4.5-4.5 3.5 3 2.5-2.5 5.5 5" })
1353
+ ] }),
1354
+ filter: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 5h18l-7 8v6l-4 2v-8L3 5Z" }),
1355
+ "sort-ascending": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1356
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 19V5M3.5 8.5 7 5l3.5 3.5" }),
1357
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M13 7h8M13 12h6M13 17h4" })
1358
+ ] }),
1359
+ "sort-descending": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1360
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 5v14M3.5 15.5 7 19l3.5-3.5" }),
1361
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M13 7h4M13 12h6M13 17h8" })
1362
+ ] }),
1363
+ play: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1364
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1365
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m10 8 6 4-6 4V8Z" })
1366
+ ] }),
1367
+ pause: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1368
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1369
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9.5 9v6M14.5 9v6" })
1370
+ ] }),
1371
+ book: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1372
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 5.5A2.5 2.5 0 0 1 6.5 3H11v17H6.5A2.5 2.5 0 0 0 4 22V5.5Z" }),
1373
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M20 5.5A2.5 2.5 0 0 0 17.5 3H13v17h4.5A2.5 2.5 0 0 1 20 22V5.5Z" })
1374
+ ] }),
1375
+ component: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1376
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "4", y: "4", width: "6", height: "6", rx: "1.5" }),
1377
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "14", y: "4", width: "6", height: "6", rx: "1.5" }),
1378
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "4", y: "14", width: "6", height: "6", rx: "1.5" }),
1379
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "14", y: "14", width: "6", height: "6", rx: "1.5" })
1380
+ ] }),
1381
+ token: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1382
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "4" }),
1383
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3M5.3 5.3l2.1 2.1M16.6 16.6l2.1 2.1M18.7 5.3l-2.1 2.1M7.4 16.6l-2.1 2.1" })
1384
+ ] }),
1385
+ sun: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1386
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "3.6" }),
1387
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 2.5v2M12 19.5v2M2.5 12h2M19.5 12h2M5.3 5.3l1.4 1.4M17.3 17.3l1.4 1.4M18.7 5.3l-1.4 1.4M6.7 17.3l-1.4 1.4" })
1388
+ ] }),
1389
+ moon: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M20 15.2A8 8 0 0 1 8.8 4 8.5 8.5 0 1 0 20 15.2Z" }),
1390
+ code: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m9 18-6-6 6-6M15 6l6 6-6 6" }),
1391
+ github: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 19c-4 1.2-4-2-5-2.5M14 22v-3.1c0-.9.3-1.5.8-1.9 2.7-.3 5.5-1.3 5.5-6A4.7 4.7 0 0 0 19 7.7 4.4 4.4 0 0 0 18.9 4S17.8 3.7 15 5.3a11.7 11.7 0 0 0-6 0C6.2 3.7 5.1 4 5.1 4A4.4 4.4 0 0 0 5 7.7 4.7 4.7 0 0 0 3.7 11c0 4.7 2.8 5.7 5.5 6 .5.4.8 1 .8 1.9V22" })
1120
1392
  };
1121
1393
  var iconPaths = { ...coreIconPaths, ...extendedIconPaths };
1122
1394
  var ICON_NAMES = Object.freeze(Object.keys(iconPaths));
1123
1395
  var filledIconPaths = {
1124
- info: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1125
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1126
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 10.5v6M12 7.2v.1", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1127
- ] }),
1128
- question: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1129
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1130
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M9.6 9a2.5 2.5 0 1 1 3.6 2.3c-.8.5-1.2 1.1-1.2 2.1M12 16.8v.1", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1131
- ] }),
1132
- warning: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1133
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M10.3 3.5 1.8 19a2 2 0 0 0 1.8 3h16.8a2 2 0 0 0 1.8-3L13.7 3.5a2 2 0 0 0-3.4 0Z", fill: "currentColor", stroke: "none" }),
1134
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 9v5M12 18v.1", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1135
- ] }),
1136
- "circle-check": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1137
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1138
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m7.5 12 3 3 6-6", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1139
- ] }),
1140
- "circle-close": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1141
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1142
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m8.8 8.8 6.4 6.4M15.2 8.8l-6.4 6.4", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1143
- ] }),
1144
- "circle-plus": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1145
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1146
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 7.5v9M7.5 12h9", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1147
- ] }),
1148
- "circle-minus": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1149
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1150
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M7.5 12h9", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1151
- ] }),
1152
- home: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M2.6 10.8 12 2.8l9.4 8a1 1 0 0 1-1.3 1.5l-.6-.5V21h-5.2v-6.2H9.7V21H4.5v-9.2l-.6.5a1 1 0 1 1-1.3-1.5Z", fill: "currentColor", stroke: "none" }),
1153
- user: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1154
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "7.5", r: "4.5", fill: "currentColor", stroke: "none" }),
1155
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M3.5 21c.7-5 3.6-7.5 8.5-7.5s7.8 2.5 8.5 7.5H3.5Z", fill: "currentColor", stroke: "none" })
1156
- ] }),
1157
- users: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1158
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "8.5", cy: "8", r: "3.8", fill: "currentColor", stroke: "none" }),
1159
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "17", cy: "8.5", r: "3", fill: "currentColor", stroke: "none", opacity: ".7" }),
1160
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M1.8 21c.6-4.6 2.8-7 6.7-7s6.1 2.4 6.7 7H1.8ZM14.4 15.2c3.9-.2 6.4 1.7 7 5.8h-4.5a9.9 9.9 0 0 0-2.5-5.8Z", fill: "currentColor", stroke: "none" })
1161
- ] }),
1162
- trash: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M8 3h8l1 3h4v2H3V6h4l1-3Zm-2.5 7h13l-1 11h-11l-1-11Z", fill: "currentColor", stroke: "none" }),
1163
- bell: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 2.5a2 2 0 0 1 2 1.6c3 .9 5 3.6 5 6.9v4.3l2 3.2H3l2-3.2V11c0-3.3 2-6 5-6.9a2 2 0 0 1 2-1.6ZM9.2 20h5.6a3 3 0 0 1-5.6 0Z", fill: "currentColor", stroke: "none" }),
1164
- star: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m12 2.2 3 6 6.6 1-4.8 4.6 1.1 6.6-5.9-3.1-5.9 3.1 1.1-6.6-4.8-4.6 6.6-1 3-6Z", fill: "currentColor", stroke: "none" }),
1165
- heart: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 21.3 3.1 13.7A5.8 5.8 0 0 1 11 5.2l1 1 1-1a5.8 5.8 0 0 1 7.9 8.5L12 21.3Z", fill: "currentColor", stroke: "none" }),
1166
- mail: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1167
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "2.5", y: "4.5", width: "19", height: "15", rx: "2.5", fill: "currentColor", stroke: "none" }),
1168
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m4.5 7 7.5 5.8L19.5 7", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "1.8" })
1169
- ] }),
1170
- lock: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M7 10V7a5 5 0 0 1 10 0v3h1.5a2.5 2.5 0 0 1 2.5 2.5v7a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 19.5v-7A2.5 2.5 0 0 1 5.5 10H7Zm2.5 0h5V7a2.5 2.5 0 0 0-5 0v3Z", fill: "currentColor", stroke: "none" }),
1171
- unlock: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M7 10V7a5 5 0 0 1 9.5-2.2l-2.2 1.1A2.5 2.5 0 0 0 9.5 7v3h9A2.5 2.5 0 0 1 21 12.5v7a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 19.5v-7A2.5 2.5 0 0 1 5.5 10H7Z", fill: "currentColor", stroke: "none" }),
1172
- calendar: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1173
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "2.5", y: "4.5", width: "19", height: "17", rx: "2.5", fill: "currentColor", stroke: "none" }),
1174
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M3 9.5h18M8 2.5v4M16 2.5v4", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "1.8" })
1175
- ] }),
1176
- clock: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1177
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1178
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 6.5V12l4 2.3", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1179
- ] }),
1180
- file: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M5 2.5h10l4 4V22H5V2.5Zm9 1.8V8h3.7L14 4.3Z", fill: "currentColor", stroke: "none" }),
1181
- folder: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M2.5 5h7l2.2 2.5h9.8V20H2.5V5Z", fill: "currentColor", stroke: "none" }),
1182
- image: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1183
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "2.5", y: "3.5", width: "19", height: "17", rx: "2.5", fill: "currentColor", stroke: "none" }),
1184
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m4.5 18 4.3-4.6 3.4 3 2.5-2.6 4.8 4.2", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "1.7" }),
1185
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "8", cy: "8.5", r: "1.7", fill: "var(--sia-icon-contrast, #fff)", stroke: "none" })
1186
- ] }),
1187
- filter: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M2 4h20l-7.8 9v6.2L9.8 22v-9L2 4Z", fill: "currentColor", stroke: "none" }),
1188
- play: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1189
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1190
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m10 7.8 6.5 4.2-6.5 4.2V7.8Z", fill: "var(--sia-icon-contrast, #fff)", stroke: "none" })
1191
- ] }),
1192
- pause: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1193
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1194
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M8.5 7.5h2.5v9H8.5v-9Zm4.5 0h2.5v9H13v-9Z", fill: "var(--sia-icon-contrast, #fff)", stroke: "none" })
1195
- ] }),
1196
- book: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M3 4.5A3.5 3.5 0 0 1 6.5 1H11v19H6.5A3.5 3.5 0 0 0 3 23V4.5ZM21 4.5A3.5 3.5 0 0 0 17.5 1H13v19h4.5A3.5 3.5 0 0 1 21 23V4.5Z", fill: "currentColor", stroke: "none" }),
1197
- component: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1198
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "3", y: "3", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
1199
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "13", y: "3", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
1200
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "3", y: "13", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
1201
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "13", y: "13", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" })
1202
- ] }),
1203
- token: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1204
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "5", fill: "currentColor", stroke: "none" }),
1205
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 1v4M12 19v4M1 12h4M19 12h4M4.2 4.2 7 7M17 17l2.8 2.8M19.8 4.2 17 7M7 17l-2.8 2.8", stroke: "currentColor", strokeWidth: "2.2" })
1396
+ info: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1397
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1398
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 10.5v6M12 7.2v.1", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1399
+ ] }),
1400
+ question: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1401
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1402
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9.6 9a2.5 2.5 0 1 1 3.6 2.3c-.8.5-1.2 1.1-1.2 2.1M12 16.8v.1", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1403
+ ] }),
1404
+ warning: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1405
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10.3 3.5 1.8 19a2 2 0 0 0 1.8 3h16.8a2 2 0 0 0 1.8-3L13.7 3.5a2 2 0 0 0-3.4 0Z", fill: "currentColor", stroke: "none" }),
1406
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 9v5M12 18v.1", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1407
+ ] }),
1408
+ "circle-check": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1409
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1410
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m7.5 12 3 3 6-6", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1411
+ ] }),
1412
+ "circle-close": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1413
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1414
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8.8 8.8 6.4 6.4M15.2 8.8l-6.4 6.4", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1415
+ ] }),
1416
+ "circle-plus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1417
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1418
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 7.5v9M7.5 12h9", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1419
+ ] }),
1420
+ "circle-minus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1421
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1422
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7.5 12h9", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1423
+ ] }),
1424
+ home: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M2.6 10.8 12 2.8l9.4 8a1 1 0 0 1-1.3 1.5l-.6-.5V21h-5.2v-6.2H9.7V21H4.5v-9.2l-.6.5a1 1 0 1 1-1.3-1.5Z", fill: "currentColor", stroke: "none" }),
1425
+ user: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1426
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "7.5", r: "4.5", fill: "currentColor", stroke: "none" }),
1427
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3.5 21c.7-5 3.6-7.5 8.5-7.5s7.8 2.5 8.5 7.5H3.5Z", fill: "currentColor", stroke: "none" })
1428
+ ] }),
1429
+ users: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1430
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "8.5", cy: "8", r: "3.8", fill: "currentColor", stroke: "none" }),
1431
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "17", cy: "8.5", r: "3", fill: "currentColor", stroke: "none", opacity: ".7" }),
1432
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M1.8 21c.6-4.6 2.8-7 6.7-7s6.1 2.4 6.7 7H1.8ZM14.4 15.2c3.9-.2 6.4 1.7 7 5.8h-4.5a9.9 9.9 0 0 0-2.5-5.8Z", fill: "currentColor", stroke: "none" })
1433
+ ] }),
1434
+ trash: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 3h8l1 3h4v2H3V6h4l1-3Zm-2.5 7h13l-1 11h-11l-1-11Z", fill: "currentColor", stroke: "none" }),
1435
+ bell: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 2.5a2 2 0 0 1 2 1.6c3 .9 5 3.6 5 6.9v4.3l2 3.2H3l2-3.2V11c0-3.3 2-6 5-6.9a2 2 0 0 1 2-1.6ZM9.2 20h5.6a3 3 0 0 1-5.6 0Z", fill: "currentColor", stroke: "none" }),
1436
+ star: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m12 2.2 3 6 6.6 1-4.8 4.6 1.1 6.6-5.9-3.1-5.9 3.1 1.1-6.6-4.8-4.6 6.6-1 3-6Z", fill: "currentColor", stroke: "none" }),
1437
+ heart: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 21.3 3.1 13.7A5.8 5.8 0 0 1 11 5.2l1 1 1-1a5.8 5.8 0 0 1 7.9 8.5L12 21.3Z", fill: "currentColor", stroke: "none" }),
1438
+ mail: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1439
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "2.5", y: "4.5", width: "19", height: "15", rx: "2.5", fill: "currentColor", stroke: "none" }),
1440
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m4.5 7 7.5 5.8L19.5 7", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "1.8" })
1441
+ ] }),
1442
+ lock: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 10V7a5 5 0 0 1 10 0v3h1.5a2.5 2.5 0 0 1 2.5 2.5v7a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 19.5v-7A2.5 2.5 0 0 1 5.5 10H7Zm2.5 0h5V7a2.5 2.5 0 0 0-5 0v3Z", fill: "currentColor", stroke: "none" }),
1443
+ unlock: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 10V7a5 5 0 0 1 9.5-2.2l-2.2 1.1A2.5 2.5 0 0 0 9.5 7v3h9A2.5 2.5 0 0 1 21 12.5v7a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 19.5v-7A2.5 2.5 0 0 1 5.5 10H7Z", fill: "currentColor", stroke: "none" }),
1444
+ calendar: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1445
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "2.5", y: "4.5", width: "19", height: "17", rx: "2.5", fill: "currentColor", stroke: "none" }),
1446
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 9.5h18M8 2.5v4M16 2.5v4", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "1.8" })
1447
+ ] }),
1448
+ clock: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1449
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1450
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 6.5V12l4 2.3", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1451
+ ] }),
1452
+ file: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M5 2.5h10l4 4V22H5V2.5Zm9 1.8V8h3.7L14 4.3Z", fill: "currentColor", stroke: "none" }),
1453
+ folder: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M2.5 5h7l2.2 2.5h9.8V20H2.5V5Z", fill: "currentColor", stroke: "none" }),
1454
+ image: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1455
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "2.5", y: "3.5", width: "19", height: "17", rx: "2.5", fill: "currentColor", stroke: "none" }),
1456
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m4.5 18 4.3-4.6 3.4 3 2.5-2.6 4.8 4.2", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "1.7" }),
1457
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "8", cy: "8.5", r: "1.7", fill: "var(--sia-icon-contrast, #fff)", stroke: "none" })
1458
+ ] }),
1459
+ filter: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M2 4h20l-7.8 9v6.2L9.8 22v-9L2 4Z", fill: "currentColor", stroke: "none" }),
1460
+ play: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1461
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1462
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m10 7.8 6.5 4.2-6.5 4.2V7.8Z", fill: "var(--sia-icon-contrast, #fff)", stroke: "none" })
1463
+ ] }),
1464
+ pause: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1465
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1466
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8.5 7.5h2.5v9H8.5v-9Zm4.5 0h2.5v9H13v-9Z", fill: "var(--sia-icon-contrast, #fff)", stroke: "none" })
1467
+ ] }),
1468
+ book: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 4.5A3.5 3.5 0 0 1 6.5 1H11v19H6.5A3.5 3.5 0 0 0 3 23V4.5ZM21 4.5A3.5 3.5 0 0 0 17.5 1H13v19h4.5A3.5 3.5 0 0 1 21 23V4.5Z", fill: "currentColor", stroke: "none" }),
1469
+ component: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1470
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "3", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
1471
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "13", y: "3", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
1472
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "13", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
1473
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "13", y: "13", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" })
1474
+ ] }),
1475
+ token: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
1476
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "5", fill: "currentColor", stroke: "none" }),
1477
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 1v4M12 19v4M1 12h4M19 12h4M4.2 4.2 7 7M17 17l2.8 2.8M19.8 4.2 17 7M7 17l-2.8 2.8", stroke: "currentColor", strokeWidth: "2.2" })
1206
1478
  ] })
1207
1479
  };
1208
1480
  var FILLED_ICON_NAMES = Object.freeze(Object.keys(filledIconPaths));
1209
- var Icon = (0, import_react4.forwardRef)(function Icon2({ name, size = "1em", strokeWidth = 1.8, rotate = 0, spin = false, pulse = false, label, variant = "outline", className = "", style, ...props }, ref) {
1481
+ var normalizedOutlinePaths = normalizeIconPaths(iconPaths, outlineIconBounds);
1482
+ var normalizedFilledPaths = normalizeIconPaths(filledIconPaths, filledIconBounds);
1483
+ var Icon = (0, import_react5.forwardRef)(function Icon2({ name, size = "1em", strokeWidth = 1.8, rotate = 0, spin = false, pulse = false, label, variant = "outline", className = "", style, ...props }, ref) {
1210
1484
  const resolvedSize = typeof size === "number" ? `${size}px` : size;
1211
1485
  const mergedStyle = { "--sia-icon-size": resolvedSize, "--sia-icon-rotate": `${rotate}deg`, ...style };
1212
1486
  const animationClass = spin ? " sia-icon--spin" : pulse ? " sia-icon--pulse" : "";
1213
1487
  const filledPath = filledIconPaths[name];
1214
1488
  const resolvedVariant = variant === "filled" && filledPath ? "filled" : "outline";
1215
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1489
+ const geometry = resolvedVariant === "filled" ? normalizedFilledPaths[name] : normalizedOutlinePaths[name];
1490
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1216
1491
  "span",
1217
1492
  {
1218
1493
  ref,
@@ -1223,15 +1498,15 @@ var Icon = (0, import_react4.forwardRef)(function Icon2({ name, size = "1em", st
1223
1498
  "aria-hidden": label ? void 0 : true,
1224
1499
  style: mergedStyle,
1225
1500
  ...withTitleTooltip(props),
1226
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", focusable: "false", children: resolvedVariant === "filled" ? filledPath : iconPaths[name] })
1501
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: strokeWidth / geometry.scale, strokeLinecap: "round", strokeLinejoin: "round", focusable: "false", children: geometry.node })
1227
1502
  }
1228
1503
  );
1229
1504
  });
1230
1505
 
1231
1506
  // src/components/Navigation.tsx
1232
- var import_react5 = require("react");
1233
- var import_jsx_runtime7 = require("react/jsx-runtime");
1234
1507
  var import_react6 = require("react");
1508
+ var import_jsx_runtime8 = require("react/jsx-runtime");
1509
+ var import_react7 = require("react");
1235
1510
  function MenuPopup({
1236
1511
  anchorRef,
1237
1512
  open,
@@ -1242,9 +1517,9 @@ function MenuPopup({
1242
1517
  onMouseEnter,
1243
1518
  onMouseLeave
1244
1519
  }) {
1245
- const [mounted, setMounted] = (0, import_react5.useState)(open);
1246
- const [fontSize, setFontSize] = (0, import_react5.useState)();
1247
- (0, import_react5.useLayoutEffect)(() => {
1520
+ const [mounted, setMounted] = (0, import_react6.useState)(open);
1521
+ const [fontSize, setFontSize] = (0, import_react6.useState)();
1522
+ (0, import_react6.useLayoutEffect)(() => {
1248
1523
  const anchor = anchorRef.current;
1249
1524
  if (!mounted || !anchor) return;
1250
1525
  const syncFontSize = () => setFontSize(getComputedStyle(anchor).fontSize);
@@ -1253,7 +1528,7 @@ function MenuPopup({
1253
1528
  observer.observe(anchor);
1254
1529
  return () => observer.disconnect();
1255
1530
  });
1256
- (0, import_react5.useEffect)(() => {
1531
+ (0, import_react6.useEffect)(() => {
1257
1532
  if (open) {
1258
1533
  setMounted(true);
1259
1534
  return void 0;
@@ -1261,7 +1536,7 @@ function MenuPopup({
1261
1536
  const timer = window.setTimeout(() => setMounted(false), 160);
1262
1537
  return () => window.clearTimeout(timer);
1263
1538
  }, [open]);
1264
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1539
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1265
1540
  PopupPortal,
1266
1541
  {
1267
1542
  anchorRef,
@@ -1273,7 +1548,7 @@ function MenuPopup({
1273
1548
  "data-sia-menu-owner": menuId,
1274
1549
  onMouseEnter,
1275
1550
  onMouseLeave,
1276
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("ul", { className: "sia-menu__popup-list", role: "menu", children })
1551
+ children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("ul", { className: "sia-menu__popup-list", role: "menu", children })
1277
1552
  }
1278
1553
  );
1279
1554
  }
@@ -1284,15 +1559,15 @@ function MenuEntry({
1284
1559
  props,
1285
1560
  reserveIcon
1286
1561
  }) {
1287
- const anchorRef = (0, import_react5.useRef)(null);
1288
- const closeTimerRef = (0, import_react5.useRef)(void 0);
1562
+ const anchorRef = (0, import_react6.useRef)(null);
1563
+ const closeTimerRef = (0, import_react6.useRef)(void 0);
1289
1564
  const hasChildren = Boolean(item.children?.length);
1290
1565
  const isOpen = props.open.includes(item.key);
1291
1566
  const isSelected = props.selected.includes(item.key);
1292
1567
  const path = [item.key, ...parents];
1293
1568
  const collapsed = props.inlineCollapsed && level === 0;
1294
1569
  const inlineSubmenu = props.mode === "inline" && !collapsed;
1295
- (0, import_react5.useEffect)(() => () => {
1570
+ (0, import_react6.useEffect)(() => () => {
1296
1571
  if (closeTimerRef.current !== void 0) window.clearTimeout(closeTimerRef.current);
1297
1572
  }, []);
1298
1573
  function cancelClose() {
@@ -1306,9 +1581,9 @@ function MenuEntry({
1306
1581
  closeTimerRef.current = window.setTimeout(() => props.toggle(item.key, false), 100);
1307
1582
  }
1308
1583
  const hover = props.triggerSubMenuAction === "hover" && hasChildren && !inlineSubmenu;
1309
- const submenu = hasChildren ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(MenuLevel, { items: item.children ?? [], level: level + 1, parents: [item.key, ...parents], props }) : null;
1584
+ const submenu = hasChildren ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(MenuLevel, { items: item.children ?? [], level: level + 1, parents: [item.key, ...parents], props }) : null;
1310
1585
  const popupPlacement = props.mode === "horizontal" && level === 0 ? "bottom-start" : "right-start";
1311
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
1586
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
1312
1587
  "li",
1313
1588
  {
1314
1589
  className: `sia-menu__entry${isOpen ? " is-open" : ""}${isSelected ? " is-selected" : ""}${item.disabled ? " is-disabled" : ""}${item.danger ? " is-danger" : ""}`,
@@ -1318,7 +1593,7 @@ function MenuEntry({
1318
1593
  } : void 0,
1319
1594
  onMouseLeave: hover ? scheduleClose : void 0,
1320
1595
  children: [
1321
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
1596
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
1322
1597
  "button",
1323
1598
  {
1324
1599
  ref: anchorRef,
@@ -1331,14 +1606,14 @@ function MenuEntry({
1331
1606
  "aria-expanded": hasChildren ? isOpen : void 0,
1332
1607
  onClick: (event) => hasChildren ? props.toggle(item.key) : props.select(item, path, event),
1333
1608
  children: [
1334
- reserveIcon ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "sia-menu__icon", "aria-hidden": !item.icon || void 0, children: item.icon }) : null,
1335
- !collapsed ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "sia-menu__label", children: item.label }) : null,
1336
- !collapsed && item.extra ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "sia-menu__extra", children: item.extra }) : null,
1337
- !collapsed && hasChildren ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { className: "sia-menu__expand-icon", name: "chevron-down", size: 13 }) : null
1609
+ reserveIcon ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sia-menu__icon", "aria-hidden": !item.icon || void 0, children: item.icon }) : null,
1610
+ !collapsed ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sia-menu__label", children: item.label }) : null,
1611
+ !collapsed && item.extra ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sia-menu__extra", children: item.extra }) : null,
1612
+ !collapsed && hasChildren ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { className: "sia-menu__expand-icon", name: "chevron-down", size: 13 }) : null
1338
1613
  ]
1339
1614
  }
1340
1615
  ),
1341
- hasChildren ? inlineSubmenu ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("ul", { className: "sia-menu__submenu", role: "menu", "aria-hidden": !isOpen, children: submenu }) : /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1616
+ hasChildren ? inlineSubmenu ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("ul", { className: "sia-menu__submenu", role: "menu", "aria-hidden": !isOpen, children: submenu }) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1342
1617
  MenuPopup,
1343
1618
  {
1344
1619
  anchorRef,
@@ -1365,13 +1640,13 @@ function MenuLevel({
1365
1640
  props,
1366
1641
  reserveIcon = hasMenuIcon(items)
1367
1642
  }) {
1368
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: items.map((item, index) => {
1369
- if (item.type === "divider") return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("li", { className: "sia-menu__divider", role: "separator" }, item.key || `divider-${index}`);
1370
- if (item.type === "group") return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("li", { className: "sia-menu__group", children: [
1371
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "sia-menu__group-title", children: item.label }),
1372
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("ul", { role: "group", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(MenuLevel, { items: item.children ?? [], level: level + 1, parents: [...parents, item.key], props, reserveIcon }) })
1643
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, { children: items.map((item, index) => {
1644
+ if (item.type === "divider") return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("li", { className: "sia-menu__divider", role: "separator" }, item.key || `divider-${index}`);
1645
+ if (item.type === "group") return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("li", { className: "sia-menu__group", children: [
1646
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "sia-menu__group-title", children: item.label }),
1647
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("ul", { role: "group", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(MenuLevel, { items: item.children ?? [], level: level + 1, parents: [...parents, item.key], props, reserveIcon }) })
1373
1648
  ] }, item.key);
1374
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(MenuEntry, { item, level, parents, props, reserveIcon }, item.key);
1649
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(MenuEntry, { item, level, parents, props, reserveIcon }, item.key);
1375
1650
  }) });
1376
1651
  }
1377
1652
  function Menu({
@@ -1394,11 +1669,11 @@ function Menu({
1394
1669
  className = "",
1395
1670
  ...rest
1396
1671
  }) {
1397
- const menuId = (0, import_react5.useId)();
1398
- const rootRef = (0, import_react5.useRef)(null);
1672
+ const menuId = (0, import_react6.useId)();
1673
+ const rootRef = (0, import_react6.useRef)(null);
1399
1674
  const [selected, setSelected] = useControllableState({ value: selectedKeys, defaultValue: defaultSelectedKeys });
1400
1675
  const [open, setOpen] = useControllableState({ value: openKeys, defaultValue: defaultOpenKeys, onChange: (next) => onOpenChange?.([...next]) });
1401
- (0, import_react5.useEffect)(() => {
1676
+ (0, import_react6.useEffect)(() => {
1402
1677
  if (mode === "inline" || !open.length) return void 0;
1403
1678
  const closeOutside = (event) => {
1404
1679
  const target = event.target;
@@ -1424,11 +1699,11 @@ function Menu({
1424
1699
  else onSelect?.({ ...info, selectedKeys: [...next] });
1425
1700
  if (mode !== "inline") setOpen([]);
1426
1701
  }
1427
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("ul", { ref: rootRef, className: `sia-menu sia-menu--${mode} sia-menu--${theme}${inlineCollapsed ? " sia-menu--collapsed" : ""} ${className}`.trim(), role: "menu", ...withTitleTooltip(rest), "data-sia-menu-owner": menuId, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(MenuLevel, { items, level: 0, parents: [], props: { menuId, mode, theme, multiple, selectable, inlineCollapsed, inlineIndent, triggerSubMenuAction, selected, open, select, toggle } }) });
1702
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("ul", { ref: rootRef, className: `sia-menu sia-menu--${mode} sia-menu--${theme}${inlineCollapsed ? " sia-menu--collapsed" : ""} ${className}`.trim(), role: "menu", ...withTitleTooltip(rest), "data-sia-menu-owner": menuId, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(MenuLevel, { items, level: 0, parents: [], props: { menuId, mode, theme, multiple, selectable, inlineCollapsed, inlineIndent, triggerSubMenuAction, selected, open, select, toggle } }) });
1428
1703
  }
1429
1704
 
1430
1705
  // src/components/Dropdown.tsx
1431
- var import_jsx_runtime8 = require("react/jsx-runtime");
1706
+ var import_jsx_runtime9 = require("react/jsx-runtime");
1432
1707
  var placementMap = {
1433
1708
  bottomLeft: "bottom-start",
1434
1709
  bottomRight: "bottom-end",
@@ -1460,19 +1735,19 @@ function DropdownRoot({
1460
1735
  onKeyDown,
1461
1736
  ...props
1462
1737
  }) {
1463
- const rootRef = (0, import_react7.useRef)(null);
1464
- const contextAnchorRef = (0, import_react7.useRef)(null);
1465
- const popupRef = (0, import_react7.useRef)(null);
1466
- const openTimerRef = (0, import_react7.useRef)(void 0);
1467
- const closeTimerRef = (0, import_react7.useRef)(void 0);
1468
- const [internalOpen, setInternalOpen] = (0, import_react7.useState)(defaultOpen);
1469
- const [mounted, setMounted] = (0, import_react7.useState)(open ?? defaultOpen);
1470
- const [contextPoint, setContextPoint] = (0, import_react7.useState)();
1738
+ const rootRef = (0, import_react8.useRef)(null);
1739
+ const contextAnchorRef = (0, import_react8.useRef)(null);
1740
+ const popupRef = (0, import_react8.useRef)(null);
1741
+ const openTimerRef = (0, import_react8.useRef)(void 0);
1742
+ const closeTimerRef = (0, import_react8.useRef)(void 0);
1743
+ const [internalOpen, setInternalOpen] = (0, import_react8.useState)(defaultOpen);
1744
+ const [mounted, setMounted] = (0, import_react8.useState)(open ?? defaultOpen);
1745
+ const [contextPoint, setContextPoint] = (0, import_react8.useState)();
1471
1746
  const visible = open ?? internalOpen;
1472
1747
  const triggerSet = new Set(trigger);
1473
1748
  const pointAtCenter = typeof arrow === "object" && arrow.pointAtCenter;
1474
- const [triggerFontSize, setTriggerFontSize] = (0, import_react7.useState)();
1475
- (0, import_react7.useLayoutEffect)(() => {
1749
+ const [triggerFontSize, setTriggerFontSize] = (0, import_react8.useState)();
1750
+ (0, import_react8.useLayoutEffect)(() => {
1476
1751
  if (!visible || !rootRef.current) return;
1477
1752
  const root = rootRef.current;
1478
1753
  const target = root.querySelector("button, [role='button'], a") ?? (root.firstElementChild !== contextAnchorRef.current ? root.firstElementChild : null) ?? root;
@@ -1507,7 +1782,7 @@ function DropdownRoot({
1507
1782
  clearTimer(closeTimerRef);
1508
1783
  closeTimerRef.current = window.setTimeout(() => updateOpen(false, "trigger"), Math.max(0, closeDelay));
1509
1784
  }
1510
- (0, import_react7.useEffect)(() => {
1785
+ (0, import_react8.useEffect)(() => {
1511
1786
  if (visible) {
1512
1787
  setMounted(true);
1513
1788
  return void 0;
@@ -1515,11 +1790,11 @@ function DropdownRoot({
1515
1790
  const timer = window.setTimeout(() => setMounted(false), 160);
1516
1791
  return () => window.clearTimeout(timer);
1517
1792
  }, [visible]);
1518
- (0, import_react7.useEffect)(() => {
1793
+ (0, import_react8.useEffect)(() => {
1519
1794
  if (!visible && !mounted) setContextPoint(void 0);
1520
1795
  }, [mounted, visible]);
1521
- (0, import_react7.useEffect)(() => () => clearTimers(), []);
1522
- (0, import_react7.useEffect)(() => {
1796
+ (0, import_react8.useEffect)(() => () => clearTimers(), []);
1797
+ (0, import_react8.useEffect)(() => {
1523
1798
  if (!visible) return void 0;
1524
1799
  const contextMenuTrigger = triggerSet.has("contextMenu");
1525
1800
  const closeOutside = (event) => {
@@ -1549,7 +1824,7 @@ function DropdownRoot({
1549
1824
  document.removeEventListener("pointerover", keepOpenOverNestedMenu);
1550
1825
  };
1551
1826
  }, [visible]);
1552
- (0, import_react7.useEffect)(() => {
1827
+ (0, import_react8.useEffect)(() => {
1553
1828
  if (!visible || !mounted || !autoFocus) return void 0;
1554
1829
  const frame = window.requestAnimationFrame(() => {
1555
1830
  popupRef.current?.querySelector(
@@ -1598,7 +1873,7 @@ function DropdownRoot({
1598
1873
  updateOpen(true, "trigger");
1599
1874
  }
1600
1875
  }
1601
- const menuNode = /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1876
+ const menuNode = /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1602
1877
  Menu,
1603
1878
  {
1604
1879
  mode: "vertical",
@@ -1615,11 +1890,11 @@ function DropdownRoot({
1615
1890
  className: "sia-dropdown__menu"
1616
1891
  }
1617
1892
  );
1618
- const triggerNode = showTriggerIcon && (0, import_react7.isValidElement)(children) && children.type === Button && children.props.children !== void 0 && children.props.children !== null ? (0, import_react7.cloneElement)(children, {}, /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "sia-dropdown__trigger-content", children: [
1893
+ const triggerNode = showTriggerIcon && (0, import_react8.isValidElement)(children) && children.type === Button && children.props.children !== void 0 && children.props.children !== null ? (0, import_react8.cloneElement)(children, {}, /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "sia-dropdown__trigger-content", children: [
1619
1894
  children.props.children,
1620
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { name: "chevron-down", size: 14, className: "sia-dropdown__trigger-icon" })
1895
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "chevron-down", size: 14, className: "sia-dropdown__trigger-icon" })
1621
1896
  ] })) : children;
1622
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
1897
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1623
1898
  "span",
1624
1899
  {
1625
1900
  ref: rootRef,
@@ -1635,7 +1910,7 @@ function DropdownRoot({
1635
1910
  ...withTitleTooltip(props),
1636
1911
  children: [
1637
1912
  triggerNode,
1638
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1913
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1639
1914
  "span",
1640
1915
  {
1641
1916
  ref: contextAnchorRef,
@@ -1644,7 +1919,7 @@ function DropdownRoot({
1644
1919
  "aria-hidden": "true"
1645
1920
  }
1646
1921
  ),
1647
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1922
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1648
1923
  PopupPortal,
1649
1924
  {
1650
1925
  ref: popupRef,
@@ -1681,15 +1956,15 @@ function DropdownButton({
1681
1956
  trigger = ["click"],
1682
1957
  ...dropdownProps
1683
1958
  }) {
1684
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: `sia-dropdown-button ${className}`.trim(), children: [
1685
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Button, { ...buttonProps, disabled: disabled || buttonDisabled, onClick, children }),
1686
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(DropdownRoot, { ...dropdownProps, disabled: disabled || dropdownDisabled, trigger, showTriggerIcon: false, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1959
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: `sia-dropdown-button ${className}`.trim(), children: [
1960
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Button, { ...buttonProps, disabled: disabled || buttonDisabled, onClick, children }),
1961
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DropdownRoot, { ...dropdownProps, disabled: disabled || dropdownDisabled, trigger, showTriggerIcon: false, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1687
1962
  Button,
1688
1963
  {
1689
1964
  ...buttonProps,
1690
1965
  className: `sia-dropdown-button__arrow ${buttonProps?.className ?? ""}`.trim(),
1691
1966
  disabled: disabled || dropdownDisabled,
1692
- icon: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { name: "chevron-down", size: 14 }),
1967
+ icon: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "chevron-down", size: 14 }),
1693
1968
  "aria-label": "\u5C55\u5F00\u4E0B\u62C9\u83DC\u5355"
1694
1969
  }
1695
1970
  ) })
@@ -1701,14 +1976,14 @@ var Dropdown = Object.assign(DropdownRoot, {
1701
1976
  });
1702
1977
 
1703
1978
  // src/components/Input.tsx
1704
- var import_react11 = require("react");
1979
+ var import_react12 = require("react");
1705
1980
 
1706
1981
  // src/components/Modal.tsx
1707
- var import_react9 = require("react");
1982
+ var import_react10 = require("react");
1708
1983
  var import_client2 = require("react-dom/client");
1709
1984
 
1710
1985
  // src/components/Overlay.tsx
1711
- var import_react8 = require("react");
1986
+ var import_react9 = require("react");
1712
1987
  var import_react_dom2 = require("react-dom");
1713
1988
  var bodyLockCount = 0;
1714
1989
  var previousBodyOverflow = "";
@@ -1730,10 +2005,10 @@ function focusableElements(container) {
1730
2005
  )].filter((element) => !element.hidden && element.getAttribute("aria-hidden") !== "true");
1731
2006
  }
1732
2007
  function useOverlayLifecycle(open, panelRef, onRequestClose, keyboard = true) {
1733
- const overlayIdRef = (0, import_react8.useRef)(/* @__PURE__ */ Symbol("sia-overlay"));
1734
- const closeRef = (0, import_react8.useRef)(onRequestClose);
2008
+ const overlayIdRef = (0, import_react9.useRef)(/* @__PURE__ */ Symbol("sia-overlay"));
2009
+ const closeRef = (0, import_react9.useRef)(onRequestClose);
1735
2010
  closeRef.current = onRequestClose;
1736
- (0, import_react8.useEffect)(() => {
2011
+ (0, import_react9.useEffect)(() => {
1737
2012
  if (!open || typeof document === "undefined") return void 0;
1738
2013
  const overlayId = overlayIdRef.current;
1739
2014
  const previouslyFocused = document.activeElement instanceof HTMLElement ? document.activeElement : null;
@@ -1787,17 +2062,17 @@ function OverlayPortal({ children, container }) {
1787
2062
  }
1788
2063
 
1789
2064
  // src/components/Modal.tsx
1790
- var import_jsx_runtime9 = require("react/jsx-runtime");
2065
+ var import_jsx_runtime10 = require("react/jsx-runtime");
1791
2066
  var modalHandles = /* @__PURE__ */ new Set();
1792
2067
  var MODAL_MOTION_DURATION = 220;
1793
2068
  var typeIcons = {
1794
- info: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "info", size: 23 }),
1795
- success: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "circle-check", size: 23 }),
1796
- warning: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "warning", size: 23 }),
1797
- error: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "circle-close", size: 23 }),
1798
- confirm: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "question", size: 23 })
2069
+ info: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { name: "info", size: 23 }),
2070
+ success: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { name: "circle-check", size: 23 }),
2071
+ warning: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { name: "warning", size: 23 }),
2072
+ error: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { name: "circle-close", size: 23 }),
2073
+ confirm: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { name: "question", size: 23 })
1799
2074
  };
1800
- var ModalRoot = (0, import_react9.forwardRef)(function Modal({
2075
+ var ModalRoot = (0, import_react10.forwardRef)(function Modal({
1801
2076
  open,
1802
2077
  title,
1803
2078
  children,
@@ -1826,20 +2101,20 @@ var ModalRoot = (0, import_react9.forwardRef)(function Modal({
1826
2101
  style,
1827
2102
  ...props
1828
2103
  }, forwardedRef) {
1829
- const localRef = (0, import_react9.useRef)(null);
1830
- const titleId = (0, import_react9.useId)();
1831
- const [submitting, setSubmitting] = (0, import_react9.useState)(false);
1832
- const [rendered, setRendered] = (0, import_react9.useState)(open);
1833
- const [closing, setClosing] = (0, import_react9.useState)(false);
1834
- const afterOpenChangeRef = (0, import_react9.useRef)(afterOpenChange);
2104
+ const localRef = (0, import_react10.useRef)(null);
2105
+ const titleId = (0, import_react10.useId)();
2106
+ const [submitting, setSubmitting] = (0, import_react10.useState)(false);
2107
+ const [rendered, setRendered] = (0, import_react10.useState)(open);
2108
+ const [closing, setClosing] = (0, import_react10.useState)(false);
2109
+ const afterOpenChangeRef = (0, import_react10.useRef)(afterOpenChange);
1835
2110
  afterOpenChangeRef.current = afterOpenChange;
1836
- const submitLock = (0, import_react9.useRef)(false);
1837
- (0, import_react9.useEffect)(() => {
2111
+ const submitLock = (0, import_react10.useRef)(false);
2112
+ (0, import_react10.useEffect)(() => {
1838
2113
  if (!open || !rendered) return void 0;
1839
2114
  const timer = window.setTimeout(() => afterOpenChangeRef.current?.(true), MODAL_MOTION_DURATION);
1840
2115
  return () => window.clearTimeout(timer);
1841
2116
  }, [open, rendered]);
1842
- (0, import_react9.useEffect)(() => {
2117
+ (0, import_react10.useEffect)(() => {
1843
2118
  if (open) {
1844
2119
  setRendered(true);
1845
2120
  setClosing(false);
@@ -1896,11 +2171,11 @@ var ModalRoot = (0, import_react9.forwardRef)(function Modal({
1896
2171
  "--sia-modal-width": typeof width === "number" ? `${width}px` : width
1897
2172
  };
1898
2173
  const loading = submitting || confirmLoading;
1899
- const defaultFooter = /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1900
- showCancel ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Button, { ...cancelButtonProps, onClick: requestClose, disabled: loading || cancelButtonProps?.disabled, children: cancelText }) : null,
1901
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Button, { variant: "primary", ...okButtonProps, onClick: handleOk, loading, children: okText })
2174
+ const defaultFooter = /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
2175
+ showCancel ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button, { ...cancelButtonProps, onClick: requestClose, disabled: loading || cancelButtonProps?.disabled, children: cancelText }) : null,
2176
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button, { variant: "primary", ...okButtonProps, onClick: handleOk, loading, children: okText })
1902
2177
  ] });
1903
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(OverlayPortal, { container: getContainer, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2178
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(OverlayPortal, { container: getContainer, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1904
2179
  "div",
1905
2180
  {
1906
2181
  className: `sia-modal-root${centered ? " sia-modal-root--centered" : ""}`,
@@ -1909,7 +2184,7 @@ var ModalRoot = (0, import_react9.forwardRef)(function Modal({
1909
2184
  onMouseDown: (event) => {
1910
2185
  if (event.target === event.currentTarget && maskClosable) requestClose();
1911
2186
  },
1912
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
2187
+ children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
1913
2188
  "div",
1914
2189
  {
1915
2190
  ref: setRef,
@@ -1921,16 +2196,16 @@ var ModalRoot = (0, import_react9.forwardRef)(function Modal({
1921
2196
  tabIndex: -1,
1922
2197
  ...withTitleTooltip(props),
1923
2198
  children: [
1924
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "sia-modal__header", style: height !== void 0 ? { flexShrink: 0 } : void 0, children: [
1925
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "sia-modal__heading", children: [
1926
- typeIcons[type] ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "sia-modal__type-icon", "aria-hidden": "true", children: typeIcons[type] }) : null,
1927
- title ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("strong", { id: titleId, children: title }) : null
2199
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "sia-modal__header", style: height !== void 0 ? { flexShrink: 0 } : void 0, children: [
2200
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "sia-modal__heading", children: [
2201
+ typeIcons[type] ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "sia-modal__type-icon", "aria-hidden": "true", children: typeIcons[type] }) : null,
2202
+ title ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("strong", { id: titleId, children: title }) : null
1928
2203
  ] }),
1929
- closable ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("button", { type: "button", className: "sia-modal__close", "aria-label": "\u5173\u95ED\u5BF9\u8BDD\u6846", onClick: requestClose, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "close", size: 17 }) }) : null
2204
+ closable ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("button", { type: "button", className: "sia-modal__close", "aria-label": "\u5173\u95ED\u5BF9\u8BDD\u6846", onClick: requestClose, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { name: "close", size: 17 }) }) : null
1930
2205
  ] }),
1931
- children !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "sia-modal__body", style: height !== void 0 ? { flex: 1, minHeight: 0, overflow: "auto" } : void 0, children }) : null,
1932
- footer !== null ? /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "sia-modal__footer", style: height !== void 0 ? { flexShrink: 0 } : void 0, children: [
1933
- footer === void 0 && footerExtra != null ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { style: { marginRight: "auto" }, children: footerExtra }) : null,
2206
+ children !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "sia-modal__body", style: height !== void 0 ? { flex: 1, minHeight: 0, overflow: "auto" } : void 0, children }) : null,
2207
+ footer !== null ? /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "sia-modal__footer", style: height !== void 0 ? { flexShrink: 0 } : void 0, children: [
2208
+ footer === void 0 && footerExtra != null ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { style: { marginRight: "auto" }, children: footerExtra }) : null,
1934
2209
  footer ?? defaultFooter
1935
2210
  ] }) : null
1936
2211
  ]
@@ -1964,11 +2239,11 @@ function openModal(config) {
1964
2239
  render();
1965
2240
  }
1966
2241
  function ModalInstance() {
1967
- (0, import_react9.useEffect)(() => {
2242
+ (0, import_react10.useEffect)(() => {
1968
2243
  mounted = true;
1969
2244
  if (!currentOpen) render();
1970
2245
  }, []);
1971
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ModalRoot, { ...currentConfig, open: !mounted || currentOpen, onOpenChange: (nextOpen) => {
2246
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ModalRoot, { ...currentConfig, open: !mounted || currentOpen, onOpenChange: (nextOpen) => {
1972
2247
  currentConfig.onOpenChange?.(nextOpen);
1973
2248
  if (!nextOpen) closeWithMotion();
1974
2249
  }, afterOpenChange: (nextOpen) => {
@@ -1980,7 +2255,7 @@ function openModal(config) {
1980
2255
  } });
1981
2256
  }
1982
2257
  function render() {
1983
- root.render(/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ModalInstance, {}));
2258
+ root.render(/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ModalInstance, {}));
1984
2259
  }
1985
2260
  const handle = {
1986
2261
  destroy: closeWithMotion,
@@ -2025,9 +2300,9 @@ var Modal2 = Object.assign(ModalRoot, {
2025
2300
  });
2026
2301
 
2027
2302
  // src/components/TextArea.tsx
2028
- var import_react10 = require("react");
2029
- var import_jsx_runtime10 = require("react/jsx-runtime");
2030
- var TextArea = (0, import_react10.forwardRef)(function TextArea2({
2303
+ var import_react11 = require("react");
2304
+ var import_jsx_runtime11 = require("react/jsx-runtime");
2305
+ var TextArea = (0, import_react11.forwardRef)(function TextArea2({
2031
2306
  label,
2032
2307
  hint,
2033
2308
  status = "default",
@@ -2045,9 +2320,9 @@ var TextArea = (0, import_react10.forwardRef)(function TextArea2({
2045
2320
  ...props
2046
2321
  }, ref) {
2047
2322
  const size = useControlSize(sizeProp);
2048
- const fallbackId = (0, import_react10.useId)();
2323
+ const fallbackId = (0, import_react11.useId)();
2049
2324
  const textAreaId = id ?? fallbackId;
2050
- const [uncontrolledValue, setUncontrolledValue] = (0, import_react10.useState)(() => defaultValue === void 0 ? "" : String(defaultValue));
2325
+ const [uncontrolledValue, setUncontrolledValue] = (0, import_react11.useState)(() => defaultValue === void 0 ? "" : String(defaultValue));
2051
2326
  const currentText = value !== void 0 ? String(value) : uncontrolledValue;
2052
2327
  const floating = useFloatingPlaceholder({ mode: placeholderMode, placeholder, filled: currentText.length > 0 });
2053
2328
  const hintId = `${textAreaId}-hint`;
@@ -2056,8 +2331,8 @@ var TextArea = (0, import_react10.forwardRef)(function TextArea2({
2056
2331
  setUncontrolledValue(event.target.value);
2057
2332
  onChange?.(event);
2058
2333
  }
2059
- const control = /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: `sia-textarea-control sia-textarea-control--${size} sia-textarea-control--${status}${floating.className}${disabled ? " is-disabled" : ""}`, children: [
2060
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
2334
+ const control = /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: `sia-textarea-control sia-textarea-control--${size} sia-textarea-control--${status}${floating.className}${disabled ? " is-disabled" : ""}`, children: [
2335
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
2061
2336
  "textarea",
2062
2337
  {
2063
2338
  ...withTitleTooltip(props),
@@ -2075,22 +2350,22 @@ var TextArea = (0, import_react10.forwardRef)(function TextArea2({
2075
2350
  }
2076
2351
  ),
2077
2352
  floating.label,
2078
- showCount ? /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: `sia-textarea-control__count${maxLength !== void 0 && currentText.length >= maxLength ? " is-limit" : ""}`, "aria-live": "polite", children: [
2353
+ showCount ? /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: `sia-textarea-control__count${maxLength !== void 0 && currentText.length >= maxLength ? " is-limit" : ""}`, "aria-live": "polite", children: [
2079
2354
  currentText.length,
2080
2355
  maxLength !== void 0 ? `/${maxLength}` : null
2081
2356
  ] }) : null
2082
2357
  ] });
2083
- if (!label && !hint) return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: `sia-field ${className}`.trim(), children: control });
2084
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: `sia-field ${className}`.trim(), children: [
2085
- label ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("label", { className: "sia-field__label", htmlFor: textAreaId, children: label }) : null,
2358
+ if (!label && !hint) return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: `sia-field ${className}`.trim(), children: control });
2359
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: `sia-field ${className}`.trim(), children: [
2360
+ label ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("label", { className: "sia-field__label", htmlFor: textAreaId, children: label }) : null,
2086
2361
  control,
2087
- hint ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { id: hintId, className: `sia-field__hint sia-field__hint--${status}`, children: hint }) : null
2362
+ hint ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { id: hintId, className: `sia-field__hint sia-field__hint--${status}`, children: hint }) : null
2088
2363
  ] });
2089
2364
  });
2090
2365
 
2091
2366
  // src/components/Input.tsx
2092
- var import_jsx_runtime11 = require("react/jsx-runtime");
2093
- var Input = (0, import_react11.forwardRef)(function Input2({
2367
+ var import_jsx_runtime12 = require("react/jsx-runtime");
2368
+ var Input = (0, import_react12.forwardRef)(function Input2({
2094
2369
  label,
2095
2370
  hint,
2096
2371
  status = "default",
@@ -2113,14 +2388,14 @@ var Input = (0, import_react11.forwardRef)(function Input2({
2113
2388
  ...props
2114
2389
  }, forwardedRef) {
2115
2390
  const size = useControlSize(sizeProp);
2116
- const fallbackId = (0, import_react11.useId)();
2391
+ const fallbackId = (0, import_react12.useId)();
2117
2392
  const inputId = id ?? fallbackId;
2118
- const localRef = (0, import_react11.useRef)(null);
2119
- const [uncontrolledValue, setUncontrolledValue] = (0, import_react11.useState)(() => defaultValue === void 0 ? "" : String(defaultValue));
2393
+ const localRef = (0, import_react12.useRef)(null);
2394
+ const [uncontrolledValue, setUncontrolledValue] = (0, import_react12.useState)(() => defaultValue === void 0 ? "" : String(defaultValue));
2120
2395
  const currentText = value !== void 0 ? String(value) : uncontrolledValue;
2121
2396
  const hasValue = currentText.length > 0;
2122
- const [expanded, setExpanded] = (0, import_react11.useState)(false);
2123
- const [expandedDraft, setExpandedDraft] = (0, import_react11.useState)("");
2397
+ const [expanded, setExpanded] = (0, import_react12.useState)(false);
2398
+ const [expandedDraft, setExpandedDraft] = (0, import_react12.useState)("");
2124
2399
  const floatingPlaceholder = usePlaceholderMode(placeholderMode) === "floating" && Boolean(placeholder);
2125
2400
  const hintId = `${inputId}-hint`;
2126
2401
  const describedBy = [props["aria-describedby"], hint ? hintId : null].filter(Boolean).join(" ") || void 0;
@@ -2156,7 +2431,7 @@ var Input = (0, import_react11.forwardRef)(function Input2({
2156
2431
  event.preventDefault();
2157
2432
  localRef.current?.focus({ preventScroll: true });
2158
2433
  }
2159
- const input = /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
2434
+ const input = /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2160
2435
  "input",
2161
2436
  {
2162
2437
  ...withTitleTooltip(props),
@@ -2173,15 +2448,15 @@ var Input = (0, import_react11.forwardRef)(function Input2({
2173
2448
  onChange: handleChange
2174
2449
  }
2175
2450
  );
2176
- const control = /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { onMouseDown: handleControlMouseDown, className: `sia-input-control sia-input-control--${size} sia-input-control--${status}${floatingPlaceholder ? " sia-input-control--floating" : ""}${floatingPlaceholder && hasValue ? " is-filled" : ""}${disabled ? " is-disabled" : ""}`, children: [
2177
- prefix ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sia-input-control__affix", children: prefix }) : null,
2178
- floatingPlaceholder ? /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "sia-input-control__input-wrap", children: [
2451
+ const control = /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("span", { onMouseDown: handleControlMouseDown, className: `sia-input-control sia-input-control--${size} sia-input-control--${status}${floatingPlaceholder ? " sia-input-control--floating" : ""}${floatingPlaceholder && hasValue ? " is-filled" : ""}${disabled ? " is-disabled" : ""}`, children: [
2452
+ prefix ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sia-input-control__affix", children: prefix }) : null,
2453
+ floatingPlaceholder ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("span", { className: "sia-input-control__input-wrap", children: [
2179
2454
  input,
2180
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sia-input-control__floating-placeholder", "aria-hidden": "true", children: placeholder })
2455
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sia-input-control__floating-placeholder", "aria-hidden": "true", children: placeholder })
2181
2456
  ] }) : input,
2182
- allowClear && hasValue && !disabled ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("button", { className: "sia-input-control__clear", type: "button", "aria-label": "\u6E05\u7A7A\u8F93\u5165", onClick: clearValue, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { name: "circle-close", variant: "filled", size: 15 }) }) : null,
2183
- suffix ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sia-input-control__affix", children: suffix }) : null,
2184
- expandable && !disabled && !props.readOnly && (!props.type || props.type === "text") ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
2457
+ allowClear && hasValue && !disabled ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("button", { className: "sia-input-control__clear", type: "button", "aria-label": "\u6E05\u7A7A\u8F93\u5165", onClick: clearValue, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { name: "circle-close", variant: "filled", size: 15 }) }) : null,
2458
+ suffix ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sia-input-control__affix", children: suffix }) : null,
2459
+ expandable && !disabled && !props.readOnly && (!props.type || props.type === "text") ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2185
2460
  "button",
2186
2461
  {
2187
2462
  type: "button",
@@ -2193,15 +2468,15 @@ var Input = (0, import_react11.forwardRef)(function Input2({
2193
2468
  setExpandedDraft(currentText);
2194
2469
  setExpanded(true);
2195
2470
  },
2196
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { name: "expand", size: 15 })
2471
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { name: "expand", size: 15 })
2197
2472
  }
2198
2473
  ) : null,
2199
- showCount ? /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: `sia-input-control__count${maxLength !== void 0 && currentText.length >= maxLength ? " is-limit" : ""}`, "aria-live": "polite", children: [
2474
+ showCount ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("span", { className: `sia-input-control__count${maxLength !== void 0 && currentText.length >= maxLength ? " is-limit" : ""}`, "aria-live": "polite", children: [
2200
2475
  currentText.length,
2201
2476
  maxLength !== void 0 ? `/${maxLength}` : null
2202
2477
  ] }) : null
2203
2478
  ] });
2204
- const editor = expandable ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
2479
+ const editor = expandable ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2205
2480
  Modal2,
2206
2481
  {
2207
2482
  open: expanded,
@@ -2222,7 +2497,7 @@ var Input = (0, import_react11.forwardRef)(function Input2({
2222
2497
  setUncontrolledValue(next);
2223
2498
  setExpanded(false);
2224
2499
  },
2225
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
2500
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2226
2501
  TextArea,
2227
2502
  {
2228
2503
  "aria-label": "\u5C55\u5F00\u7F16\u8F91\u5185\u5BB9",
@@ -2238,22 +2513,22 @@ var Input = (0, import_react11.forwardRef)(function Input2({
2238
2513
  )
2239
2514
  }
2240
2515
  ) : null;
2241
- if (!label && !hint) return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
2242
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: `sia-field ${className}`.trim(), children: control }),
2516
+ if (!label && !hint) return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
2517
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: `sia-field ${className}`.trim(), children: control }),
2243
2518
  editor
2244
2519
  ] });
2245
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
2246
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: `sia-field ${className}`.trim(), children: [
2247
- label ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("label", { className: "sia-field__label", htmlFor: inputId, children: label }) : null,
2520
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
2521
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("span", { className: `sia-field ${className}`.trim(), children: [
2522
+ label ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("label", { className: "sia-field__label", htmlFor: inputId, children: label }) : null,
2248
2523
  control,
2249
- hint ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { id: hintId, className: `sia-field__hint sia-field__hint--${status}`, children: hint }) : null
2524
+ hint ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { id: hintId, className: `sia-field__hint sia-field__hint--${status}`, children: hint }) : null
2250
2525
  ] }),
2251
2526
  editor
2252
2527
  ] });
2253
2528
  });
2254
2529
 
2255
2530
  // src/components/RichTextEditor.tsx
2256
- var import_jsx_runtime12 = require("react/jsx-runtime");
2531
+ var import_jsx_runtime13 = require("react/jsx-runtime");
2257
2532
  function escapeHtml(value) {
2258
2533
  return value.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll('"', "&quot;").replaceAll("'", "&#039;");
2259
2534
  }
@@ -2269,9 +2544,9 @@ function sanitizeContent(value) {
2269
2544
  }).replace(/<img\b/giu, '<img loading="lazy" decoding="async"');
2270
2545
  }
2271
2546
  function RichTextContent({ content, emptyText = "\u6682\u65E0\u5185\u5BB9", className = "", ...props }) {
2272
- const html = (0, import_react12.useMemo)(() => sanitizeContent(content), [content]);
2273
- if (!html.trim()) return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: `sia-rich-text-content sia-rich-text-content--empty ${className}`.trim(), children: emptyText });
2274
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("article", { className: `sia-rich-text-content ${className}`.trim(), dangerouslySetInnerHTML: { __html: html }, ...withTitleTooltip(props) });
2547
+ const html = (0, import_react13.useMemo)(() => sanitizeContent(content), [content]);
2548
+ if (!html.trim()) return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: `sia-rich-text-content sia-rich-text-content--empty ${className}`.trim(), children: emptyText });
2549
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("article", { className: `sia-rich-text-content ${className}`.trim(), dangerouslySetInnerHTML: { __html: html }, ...withTitleTooltip(props) });
2275
2550
  }
2276
2551
  function RichTextEditor({
2277
2552
  value,
@@ -2292,31 +2567,31 @@ function RichTextEditor({
2292
2567
  "aria-label": ariaLabel,
2293
2568
  ...props
2294
2569
  }) {
2295
- const initialValueRef = (0, import_react12.useRef)(value ?? defaultValue);
2296
- const lastEmittedValueRef = (0, import_react12.useRef)(value ?? defaultValue);
2297
- const onChangeRef = (0, import_react12.useRef)(onChange);
2298
- const onPasteImageRef = (0, import_react12.useRef)(onPasteImage);
2299
- const saveShortcutRef = (0, import_react12.useRef)(saveShortcut);
2300
- const contentFormatRef = (0, import_react12.useRef)(contentFormat);
2301
- const editorElementRef = (0, import_react12.useRef)(null);
2302
- const editorRef = (0, import_react12.useRef)(null);
2303
- const [editor, setEditor] = (0, import_react12.useState)(null);
2304
- const [linkEditorOpen, setLinkEditorOpen] = (0, import_react12.useState)(false);
2305
- const [linkHref, setLinkHref] = (0, import_react12.useState)("");
2306
- const [, setEditorRevision] = (0, import_react12.useState)(0);
2307
- (0, import_react12.useEffect)(() => {
2570
+ const initialValueRef = (0, import_react13.useRef)(value ?? defaultValue);
2571
+ const lastEmittedValueRef = (0, import_react13.useRef)(value ?? defaultValue);
2572
+ const onChangeRef = (0, import_react13.useRef)(onChange);
2573
+ const onPasteImageRef = (0, import_react13.useRef)(onPasteImage);
2574
+ const saveShortcutRef = (0, import_react13.useRef)(saveShortcut);
2575
+ const contentFormatRef = (0, import_react13.useRef)(contentFormat);
2576
+ const editorElementRef = (0, import_react13.useRef)(null);
2577
+ const editorRef = (0, import_react13.useRef)(null);
2578
+ const [editor, setEditor] = (0, import_react13.useState)(null);
2579
+ const [linkEditorOpen, setLinkEditorOpen] = (0, import_react13.useState)(false);
2580
+ const [linkHref, setLinkHref] = (0, import_react13.useState)("");
2581
+ const [, setEditorRevision] = (0, import_react13.useState)(0);
2582
+ (0, import_react13.useEffect)(() => {
2308
2583
  onChangeRef.current = onChange;
2309
2584
  }, [onChange]);
2310
- (0, import_react12.useEffect)(() => {
2585
+ (0, import_react13.useEffect)(() => {
2311
2586
  onPasteImageRef.current = onPasteImage;
2312
2587
  }, [onPasteImage]);
2313
- (0, import_react12.useEffect)(() => {
2588
+ (0, import_react13.useEffect)(() => {
2314
2589
  saveShortcutRef.current = saveShortcut;
2315
2590
  }, [saveShortcut]);
2316
- (0, import_react12.useEffect)(() => {
2591
+ (0, import_react13.useEffect)(() => {
2317
2592
  contentFormatRef.current = contentFormat;
2318
2593
  }, [contentFormat]);
2319
- const extensions = (0, import_react12.useMemo)(() => [
2594
+ const extensions = (0, import_react13.useMemo)(() => [
2320
2595
  import_starter_kit.default.configure({
2321
2596
  heading: { levels: [1, 2, 3, 4, 5, 6] },
2322
2597
  link: { openOnClick: false, autolink: true, linkOnPaste: true },
@@ -2332,7 +2607,7 @@ function RichTextEditor({
2332
2607
  import_extension_task_item.default.configure({ nested: true }),
2333
2608
  import_markdown.Markdown.configure({ markedOptions: { gfm: true } })
2334
2609
  ], [placeholder]);
2335
- (0, import_react12.useEffect)(() => {
2610
+ (0, import_react13.useEffect)(() => {
2336
2611
  const element = editorElementRef.current;
2337
2612
  if (!element) return;
2338
2613
  const nextEditor = new import_core.Editor({
@@ -2389,10 +2664,10 @@ function RichTextEditor({
2389
2664
  nextEditor.destroy();
2390
2665
  };
2391
2666
  }, [ariaLabel, extensions]);
2392
- (0, import_react12.useEffect)(() => {
2667
+ (0, import_react13.useEffect)(() => {
2393
2668
  editor?.setEditable(!disabled);
2394
2669
  }, [disabled, editor]);
2395
- (0, import_react12.useEffect)(() => {
2670
+ (0, import_react13.useEffect)(() => {
2396
2671
  if (!editor || value === void 0 || value === lastEmittedValueRef.current) return;
2397
2672
  editor.commands.setContent(value, { emitUpdate: false, contentType: contentFormat });
2398
2673
  lastEmittedValueRef.current = value;
@@ -2413,7 +2688,7 @@ function RichTextEditor({
2413
2688
  setLinkEditorOpen(false);
2414
2689
  }
2415
2690
  function formatButton(label, action, active = false, disabledByState = false, content) {
2416
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2691
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2417
2692
  Button,
2418
2693
  {
2419
2694
  type: "button",
@@ -2451,27 +2726,27 @@ function RichTextEditor({
2451
2726
  }
2452
2727
  };
2453
2728
  const floating = useFloatingPlaceholder({ mode: placeholderMode, placeholder, filled: editor ? !editor.isEmpty : Boolean(value ?? defaultValue) });
2454
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { ...withTitleTooltip(props), id, style: mergedStyle, className: `sia-rich-text-editor${floating.className}${disabled ? " is-disabled" : ""} sia-rich-text-editor--${toolbar} ${className}`.trim(), children: [
2729
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { ...withTitleTooltip(props), id, style: mergedStyle, className: `sia-rich-text-editor${floating.className}${disabled ? " is-disabled" : ""} sia-rich-text-editor--${toolbar} ${className}`.trim(), children: [
2455
2730
  floating.label,
2456
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "sia-rich-text-editor__toolbar", "aria-label": "\u6587\u672C\u683C\u5F0F\u5DE5\u5177\u680F", children: [
2457
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "sia-rich-text-editor__toolbar-main", children: [
2458
- toolbar === "full" ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
2459
- formatButton("\u64A4\u9500", () => editor?.chain().focus().undo().run(), false, !editor?.can().undo(), /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { name: "undo" })),
2460
- formatButton("\u91CD\u505A", () => editor?.chain().focus().redo().run(), false, !editor?.can().redo(), /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { name: "redo" })),
2461
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sia-rich-text-editor__divider" }),
2462
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Dropdown, { menu: blockTypeMenu, trigger: ["click"], placement: "bottomLeft", disabled: disabled || !editor, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(Button, { type: "button", variant: "text", size: "small", className: "sia-rich-text-editor__block-type", disabled: disabled || !editor, "aria-label": "\u6BB5\u843D\u683C\u5F0F", title: "\u6BB5\u843D\u683C\u5F0F", onMouseDown: (event) => event.preventDefault(), children: [
2731
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "sia-rich-text-editor__toolbar", "aria-label": "\u6587\u672C\u683C\u5F0F\u5DE5\u5177\u680F", children: [
2732
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "sia-rich-text-editor__toolbar-main", children: [
2733
+ toolbar === "full" ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
2734
+ formatButton("\u64A4\u9500", () => editor?.chain().focus().undo().run(), false, !editor?.can().undo(), /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { name: "undo" })),
2735
+ formatButton("\u91CD\u505A", () => editor?.chain().focus().redo().run(), false, !editor?.can().redo(), /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { name: "redo" })),
2736
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "sia-rich-text-editor__divider" }),
2737
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Dropdown, { menu: blockTypeMenu, trigger: ["click"], placement: "bottomLeft", disabled: disabled || !editor, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(Button, { type: "button", variant: "text", size: "small", className: "sia-rich-text-editor__block-type", disabled: disabled || !editor, "aria-label": "\u6BB5\u843D\u683C\u5F0F", title: "\u6BB5\u843D\u683C\u5F0F", onMouseDown: (event) => event.preventDefault(), children: [
2463
2738
  currentBlockLabel,
2464
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { name: "chevron-down", size: 13 })
2739
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { name: "chevron-down", size: 13 })
2465
2740
  ] }) }),
2466
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sia-rich-text-editor__divider" })
2741
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "sia-rich-text-editor__divider" })
2467
2742
  ] }) : null,
2468
- formatButton("\u52A0\u7C97", () => editor?.chain().focus().toggleBold().run(), Boolean(editor?.isActive("bold")), false, /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("strong", { children: "B" })),
2469
- formatButton("\u659C\u4F53", () => editor?.chain().focus().toggleItalic().run(), Boolean(editor?.isActive("italic")), false, /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("em", { children: "I" })),
2470
- toolbar === "full" ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
2471
- formatButton("\u4E0B\u5212\u7EBF", () => editor?.chain().focus().toggleUnderline().run(), Boolean(editor?.isActive("underline")), false, /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("u", { children: "U" })),
2472
- formatButton("\u5220\u9664\u7EBF", () => editor?.chain().focus().toggleStrike().run(), Boolean(editor?.isActive("strike")), false, /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("s", { children: "S" })),
2743
+ formatButton("\u52A0\u7C97", () => editor?.chain().focus().toggleBold().run(), Boolean(editor?.isActive("bold")), false, /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("strong", { children: "B" })),
2744
+ formatButton("\u659C\u4F53", () => editor?.chain().focus().toggleItalic().run(), Boolean(editor?.isActive("italic")), false, /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("em", { children: "I" })),
2745
+ toolbar === "full" ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
2746
+ formatButton("\u4E0B\u5212\u7EBF", () => editor?.chain().focus().toggleUnderline().run(), Boolean(editor?.isActive("underline")), false, /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("u", { children: "U" })),
2747
+ formatButton("\u5220\u9664\u7EBF", () => editor?.chain().focus().toggleStrike().run(), Boolean(editor?.isActive("strike")), false, /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("s", { children: "S" })),
2473
2748
  formatButton("\u884C\u5185\u4EE3\u7801", () => editor?.chain().focus().toggleCode().run(), Boolean(editor?.isActive("code")), false, "</>"),
2474
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2749
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2475
2750
  Dropdown,
2476
2751
  {
2477
2752
  menu: { items: [] },
@@ -2481,48 +2756,48 @@ function RichTextEditor({
2481
2756
  disabled: disabled || !editor,
2482
2757
  onOpenChange: openLinkEditor,
2483
2758
  popupClassName: "sia-rich-text-editor__link-popup",
2484
- popupRender: () => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("form", { className: "sia-rich-text-editor__link-form", onSubmit: submitLink, children: [
2485
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Input, { autoFocus: true, "aria-label": "\u94FE\u63A5\u5730\u5740", value: linkHref, onChange: (event) => setLinkHref(event.target.value), placeholder: "https://example.com" }),
2486
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Button, { type: "submit", variant: "primary", size: "small", children: "\u5E94\u7528" }),
2487
- editor?.isActive("link") ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Button, { type: "button", size: "small", onClick: () => {
2759
+ popupRender: () => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("form", { className: "sia-rich-text-editor__link-form", onSubmit: submitLink, children: [
2760
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Input, { autoFocus: true, "aria-label": "\u94FE\u63A5\u5730\u5740", value: linkHref, onChange: (event) => setLinkHref(event.target.value), placeholder: "https://example.com" }),
2761
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Button, { type: "submit", variant: "primary", size: "small", children: "\u5E94\u7528" }),
2762
+ editor?.isActive("link") ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Button, { type: "button", size: "small", onClick: () => {
2488
2763
  setLinkHref("");
2489
2764
  editor.chain().focus().extendMarkRange("link").unsetLink().run();
2490
2765
  setLinkEditorOpen(false);
2491
2766
  }, children: "\u79FB\u9664" }) : null
2492
2767
  ] }),
2493
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Button, { type: "button", variant: "text", size: "small", className: `sia-rich-text-editor__tool${editor?.isActive("link") ? " is-active" : ""}`, disabled: disabled || !editor, "aria-label": "\u94FE\u63A5", "aria-pressed": editor?.isActive("link") || void 0, title: "\u94FE\u63A5", onMouseDown: (event) => event.preventDefault(), children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { name: "link" }) })
2768
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Button, { type: "button", variant: "text", size: "small", className: `sia-rich-text-editor__tool${editor?.isActive("link") ? " is-active" : ""}`, disabled: disabled || !editor, "aria-label": "\u94FE\u63A5", "aria-pressed": editor?.isActive("link") || void 0, title: "\u94FE\u63A5", onMouseDown: (event) => event.preventDefault(), children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { name: "link" }) })
2494
2769
  }
2495
2770
  ),
2496
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sia-rich-text-editor__divider" })
2771
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "sia-rich-text-editor__divider" })
2497
2772
  ] }) : null,
2498
2773
  formatButton("\u65E0\u5E8F\u5217\u8868", () => editor?.chain().focus().toggleBulletList().run(), Boolean(editor?.isActive("bulletList")), false, "\u2022 \u5217\u8868"),
2499
2774
  formatButton("\u6709\u5E8F\u5217\u8868", () => editor?.chain().focus().toggleOrderedList().run(), Boolean(editor?.isActive("orderedList")), false, "1. \u5217\u8868"),
2500
- toolbar === "full" ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
2775
+ toolbar === "full" ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
2501
2776
  formatButton("\u4EFB\u52A1\u5217\u8868", () => editor?.chain().focus().toggleTaskList().run(), Boolean(editor?.isActive("taskList")), false, "\u2611 \u4EFB\u52A1"),
2502
2777
  formatButton("\u5F15\u7528", () => editor?.chain().focus().toggleBlockquote().run(), Boolean(editor?.isActive("blockquote")), false, "\u275D \u5F15\u7528"),
2503
2778
  formatButton("\u4EE3\u7801\u5757", () => editor?.chain().focus().toggleCodeBlock().run(), Boolean(editor?.isActive("codeBlock")), false, "\u4EE3\u7801\u5757"),
2504
2779
  formatButton("\u63D2\u5165\u8868\u683C", () => editor?.chain().focus().insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run(), Boolean(editor?.isActive("table")), false, "\u8868\u683C"),
2505
- formatButton("\u5206\u5272\u7EBF", () => editor?.chain().focus().setHorizontalRule().run(), false, false, /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { name: "minus" }))
2780
+ formatButton("\u5206\u5272\u7EBF", () => editor?.chain().focus().setHorizontalRule().run(), false, false, /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { name: "minus" }))
2506
2781
  ] }) : null
2507
2782
  ] }),
2508
- onPasteImage ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("small", { children: [
2509
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { name: "image", size: 14 }),
2783
+ onPasteImage ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("small", { children: [
2784
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { name: "image", size: 14 }),
2510
2785
  pasteImageHint
2511
2786
  ] }) : null
2512
2787
  ] }),
2513
- toolbar === "full" && editor?.isActive("table") ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "sia-rich-text-editor__table-toolbar", "aria-label": "\u8868\u683C\u5DE5\u5177\u680F", children: [
2514
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { children: "\u8868\u683C" }),
2788
+ toolbar === "full" && editor?.isActive("table") ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "sia-rich-text-editor__table-toolbar", "aria-label": "\u8868\u683C\u5DE5\u5177\u680F", children: [
2789
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { children: "\u8868\u683C" }),
2515
2790
  formatButton("\u524D\u65B9\u63D2\u5165\u5217", () => editor.chain().focus().addColumnBefore().run(), false, !editor.can().addColumnBefore(), "\u524D\u63D2\u5217"),
2516
2791
  formatButton("\u540E\u65B9\u63D2\u5165\u5217", () => editor.chain().focus().addColumnAfter().run(), false, !editor.can().addColumnAfter(), "\u540E\u63D2\u5217"),
2517
2792
  formatButton("\u5220\u9664\u5F53\u524D\u5217", () => editor.chain().focus().deleteColumn().run(), false, !editor.can().deleteColumn(), "\u5220\u5217"),
2518
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sia-rich-text-editor__divider" }),
2793
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "sia-rich-text-editor__divider" }),
2519
2794
  formatButton("\u4E0A\u65B9\u63D2\u5165\u884C", () => editor.chain().focus().addRowBefore().run(), false, !editor.can().addRowBefore(), "\u4E0A\u63D2\u884C"),
2520
2795
  formatButton("\u4E0B\u65B9\u63D2\u5165\u884C", () => editor.chain().focus().addRowAfter().run(), false, !editor.can().addRowAfter(), "\u4E0B\u63D2\u884C"),
2521
2796
  formatButton("\u5220\u9664\u5F53\u524D\u884C", () => editor.chain().focus().deleteRow().run(), false, !editor.can().deleteRow(), "\u5220\u884C"),
2522
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sia-rich-text-editor__divider" }),
2797
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "sia-rich-text-editor__divider" }),
2523
2798
  formatButton("\u5220\u9664\u8868\u683C", () => editor.chain().focus().deleteTable().run(), false, !editor.can().deleteTable(), "\u5220\u9664\u8868\u683C")
2524
2799
  ] }) : null,
2525
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { ref: editorElementRef, className: "sia-rich-text-editor__content" })
2800
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { ref: editorElementRef, className: "sia-rich-text-editor__content" })
2526
2801
  ] });
2527
2802
  }
2528
2803
  // Annotate the CommonJS export names for ESM import in node: