@sia.soul/sia-react-ui 0.1.89 → 0.1.91

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,328 +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
- // 齿轮围绕 (12, 12) 收至 16 单位外轮廓,坐标缩放保留统一描边粗细。
981
- settings: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
982
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "2.8" }),
983
- /* @__PURE__ */ (0, import_jsx_runtime6.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" })
984
- ] }),
985
- edit: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
986
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M4 20h4l11-11a2.8 2.8 0 0 0-4-4L4 16v4Z" }),
987
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m13.5 6.5 4 4M4 20h16" })
988
- ] }),
989
- copy: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
990
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "8", y: "8", width: "12", height: "12", rx: "2.5" }),
991
- /* @__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" })
992
- ] }),
993
- 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" }) }),
994
- scissors: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
995
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "6", cy: "7", r: "3" }),
996
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "6", cy: "17", r: "3" }),
997
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m8.7 8.3 11.3 6.2M8.7 15.7 20 9.5" })
998
- ] }),
999
- undo: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1000
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m8 7-5 5 5 5" }),
1001
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M3 12h10a7 7 0 0 1 7 7" })
1002
- ] }),
1003
- redo: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1004
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m16 7 5 5-5 5" }),
1005
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M21 12H11a7 7 0 0 0-7 7" })
1006
- ] }),
1007
- "zoom-in": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1008
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "10.8", cy: "10.8", r: "6.8" }),
1009
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m15.8 15.8 5.2 5.2M10.8 7.8v6M7.8 10.8h6" })
1010
- ] }),
1011
- "zoom-out": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1012
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "10.8", cy: "10.8", r: "6.8" }),
1013
- /* @__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" })
1014
1285
  ] }),
1015
1286
  // 图片变换工具使用独立图标,便于在预览及其他编辑界面复用。
1016
- "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" }) }),
1017
- "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" }) }),
1018
- "rotate-left": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1019
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M4 9a8 8 0 1 1 0 6M4 3v6h6" }),
1020
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "9", y: "9", width: "6", height: "6", rx: "1" })
1021
- ] }),
1022
- "rotate-right": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1023
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M20 9a8 8 0 1 0 0 6M20 3v6h-6" }),
1024
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "9", y: "9", width: "6", height: "6", rx: "1" })
1025
- ] }),
1026
- 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" }) }),
1027
- 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" }) }),
1028
- refresh: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1029
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M20 4v4.686h-4.686" }),
1030
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M20 8.686 17.657 6.343A8 8 0 1 0 20 12" })
1031
- ] }),
1032
- 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" }),
1033
- calendar: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1034
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "3", y: "5", width: "18", height: "16", rx: "2.5" }),
1035
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M8 3v4M16 3v4M3 10h18M7 14h2M11 14h2M15 14h2M7 18h2M11 18h2" })
1036
- ] }),
1037
- clock: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1038
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1039
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 7v5l3.5 2" })
1040
- ] }),
1041
- mail: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1042
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2.5" }),
1043
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m4 7 8 6 8-6" })
1044
- ] }),
1045
- 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" }),
1046
- link: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1047
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m9.5 14.5 5-5" }),
1048
- /* @__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" })
1049
- ] }),
1050
- "external-link": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1051
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M14 4h6v6M20 4 11 13" }),
1052
- /* @__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" })
1053
- ] }),
1054
- eye: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1055
- /* @__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" }),
1056
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "3" })
1057
- ] }),
1058
- "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" }) }),
1059
- lock: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1060
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "4", y: "10", width: "16", height: "11", rx: "2.5" }),
1061
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M8 10V7a4 4 0 0 1 8 0v3M12 14v3" })
1062
- ] }),
1063
- unlock: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1064
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "4", y: "10", width: "16", height: "11", rx: "2.5" }),
1065
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M8 10V7a4 4 0 0 1 7.5-2M12 14v3" })
1066
- ] }),
1067
- bell: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1068
- /* @__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" }),
1069
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M10 21h4" })
1070
- ] }),
1071
- 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" }),
1072
- 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" }),
1073
- file: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1074
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M6 3h8l4 4v14H6V3Z" }),
1075
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M14 3v5h4" })
1076
- ] }),
1077
- folder: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M3 6h7l2 2h9v11H3V6Z" }),
1078
- image: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1079
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "3", y: "4", width: "18", height: "16", rx: "2.5" }),
1080
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "9", cy: "9", r: "2" }),
1081
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m4 17 4.5-4.5 3.5 3 2.5-2.5 5.5 5" })
1082
- ] }),
1083
- filter: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M3 5h18l-7 8v6l-4 2v-8L3 5Z" }),
1084
- "sort-ascending": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1085
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M7 19V5M3.5 8.5 7 5l3.5 3.5" }),
1086
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M13 7h8M13 12h6M13 17h4" })
1087
- ] }),
1088
- "sort-descending": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1089
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M7 5v14M3.5 15.5 7 19l3.5-3.5" }),
1090
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M13 7h4M13 12h6M13 17h8" })
1091
- ] }),
1092
- play: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1093
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1094
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m10 8 6 4-6 4V8Z" })
1095
- ] }),
1096
- pause: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1097
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
1098
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M9.5 9v6M14.5 9v6" })
1099
- ] }),
1100
- book: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1101
- /* @__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" }),
1102
- /* @__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" })
1103
- ] }),
1104
- component: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1105
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "4", y: "4", width: "6", height: "6", rx: "1.5" }),
1106
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "14", y: "4", width: "6", height: "6", rx: "1.5" }),
1107
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "4", y: "14", width: "6", height: "6", rx: "1.5" }),
1108
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "14", y: "14", width: "6", height: "6", rx: "1.5" })
1109
- ] }),
1110
- token: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1111
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "4" }),
1112
- /* @__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" })
1113
- ] }),
1114
- sun: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1115
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "3.6" }),
1116
- /* @__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" })
1117
- ] }),
1118
- 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" }),
1119
- code: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m9 18-6-6 6-6M15 6l6 6-6 6" }),
1120
- 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" })
1121
1392
  };
1122
1393
  var iconPaths = { ...coreIconPaths, ...extendedIconPaths };
1123
1394
  var ICON_NAMES = Object.freeze(Object.keys(iconPaths));
1124
1395
  var filledIconPaths = {
1125
- info: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1126
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1127
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 10.5v6M12 7.2v.1", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1128
- ] }),
1129
- question: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1130
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1131
- /* @__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" })
1132
- ] }),
1133
- warning: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1134
- /* @__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" }),
1135
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 9v5M12 18v.1", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1136
- ] }),
1137
- "circle-check": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1138
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1139
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "m7.5 12 3 3 6-6", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1140
- ] }),
1141
- "circle-close": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1142
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1143
- /* @__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" })
1144
- ] }),
1145
- "circle-plus": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1146
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1147
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 7.5v9M7.5 12h9", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1148
- ] }),
1149
- "circle-minus": /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1150
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1151
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M7.5 12h9", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1152
- ] }),
1153
- 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" }),
1154
- user: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1155
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "7.5", r: "4.5", fill: "currentColor", stroke: "none" }),
1156
- /* @__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" })
1157
- ] }),
1158
- users: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1159
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "8.5", cy: "8", r: "3.8", fill: "currentColor", stroke: "none" }),
1160
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "17", cy: "8.5", r: "3", fill: "currentColor", stroke: "none", opacity: ".7" }),
1161
- /* @__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" })
1162
- ] }),
1163
- 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" }),
1164
- 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" }),
1165
- 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" }),
1166
- 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" }),
1167
- mail: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1168
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "2.5", y: "4.5", width: "19", height: "15", rx: "2.5", fill: "currentColor", stroke: "none" }),
1169
- /* @__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" })
1170
- ] }),
1171
- 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" }),
1172
- 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" }),
1173
- calendar: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1174
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "2.5", y: "4.5", width: "19", height: "17", rx: "2.5", fill: "currentColor", stroke: "none" }),
1175
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M3 9.5h18M8 2.5v4M16 2.5v4", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "1.8" })
1176
- ] }),
1177
- clock: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1178
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1179
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M12 6.5V12l4 2.3", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
1180
- ] }),
1181
- file: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M5 2.5h10l4 4V22H5V2.5Zm9 1.8V8h3.7L14 4.3Z", fill: "currentColor", stroke: "none" }),
1182
- folder: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M2.5 5h7l2.2 2.5h9.8V20H2.5V5Z", fill: "currentColor", stroke: "none" }),
1183
- image: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1184
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "2.5", y: "3.5", width: "19", height: "17", rx: "2.5", fill: "currentColor", stroke: "none" }),
1185
- /* @__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" }),
1186
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "8", cy: "8.5", r: "1.7", fill: "var(--sia-icon-contrast, #fff)", stroke: "none" })
1187
- ] }),
1188
- filter: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", { d: "M2 4h20l-7.8 9v6.2L9.8 22v-9L2 4Z", fill: "currentColor", stroke: "none" }),
1189
- play: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1190
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1191
- /* @__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" })
1192
- ] }),
1193
- pause: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1194
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
1195
- /* @__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" })
1196
- ] }),
1197
- 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" }),
1198
- component: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1199
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "3", y: "3", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
1200
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "13", y: "3", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
1201
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "3", y: "13", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
1202
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { x: "13", y: "13", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" })
1203
- ] }),
1204
- token: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1205
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("circle", { cx: "12", cy: "12", r: "5", fill: "currentColor", stroke: "none" }),
1206
- /* @__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" })
1207
1478
  ] })
1208
1479
  };
1209
1480
  var FILLED_ICON_NAMES = Object.freeze(Object.keys(filledIconPaths));
1210
- 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) {
1211
1484
  const resolvedSize = typeof size === "number" ? `${size}px` : size;
1212
1485
  const mergedStyle = { "--sia-icon-size": resolvedSize, "--sia-icon-rotate": `${rotate}deg`, ...style };
1213
1486
  const animationClass = spin ? " sia-icon--spin" : pulse ? " sia-icon--pulse" : "";
1214
1487
  const filledPath = filledIconPaths[name];
1215
1488
  const resolvedVariant = variant === "filled" && filledPath ? "filled" : "outline";
1216
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1489
+ const geometry = resolvedVariant === "filled" ? normalizedFilledPaths[name] : normalizedOutlinePaths[name];
1490
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1217
1491
  "span",
1218
1492
  {
1219
1493
  ref,
@@ -1224,15 +1498,15 @@ var Icon = (0, import_react4.forwardRef)(function Icon2({ name, size = "1em", st
1224
1498
  "aria-hidden": label ? void 0 : true,
1225
1499
  style: mergedStyle,
1226
1500
  ...withTitleTooltip(props),
1227
- 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 })
1228
1502
  }
1229
1503
  );
1230
1504
  });
1231
1505
 
1232
1506
  // src/components/Navigation.tsx
1233
- var import_react5 = require("react");
1234
- var import_jsx_runtime7 = require("react/jsx-runtime");
1235
1507
  var import_react6 = require("react");
1508
+ var import_jsx_runtime8 = require("react/jsx-runtime");
1509
+ var import_react7 = require("react");
1236
1510
  function MenuPopup({
1237
1511
  anchorRef,
1238
1512
  open,
@@ -1243,9 +1517,9 @@ function MenuPopup({
1243
1517
  onMouseEnter,
1244
1518
  onMouseLeave
1245
1519
  }) {
1246
- const [mounted, setMounted] = (0, import_react5.useState)(open);
1247
- const [fontSize, setFontSize] = (0, import_react5.useState)();
1248
- (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)(() => {
1249
1523
  const anchor = anchorRef.current;
1250
1524
  if (!mounted || !anchor) return;
1251
1525
  const syncFontSize = () => setFontSize(getComputedStyle(anchor).fontSize);
@@ -1254,7 +1528,7 @@ function MenuPopup({
1254
1528
  observer.observe(anchor);
1255
1529
  return () => observer.disconnect();
1256
1530
  });
1257
- (0, import_react5.useEffect)(() => {
1531
+ (0, import_react6.useEffect)(() => {
1258
1532
  if (open) {
1259
1533
  setMounted(true);
1260
1534
  return void 0;
@@ -1262,7 +1536,7 @@ function MenuPopup({
1262
1536
  const timer = window.setTimeout(() => setMounted(false), 160);
1263
1537
  return () => window.clearTimeout(timer);
1264
1538
  }, [open]);
1265
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1539
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1266
1540
  PopupPortal,
1267
1541
  {
1268
1542
  anchorRef,
@@ -1274,7 +1548,7 @@ function MenuPopup({
1274
1548
  "data-sia-menu-owner": menuId,
1275
1549
  onMouseEnter,
1276
1550
  onMouseLeave,
1277
- 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 })
1278
1552
  }
1279
1553
  );
1280
1554
  }
@@ -1285,15 +1559,15 @@ function MenuEntry({
1285
1559
  props,
1286
1560
  reserveIcon
1287
1561
  }) {
1288
- const anchorRef = (0, import_react5.useRef)(null);
1289
- 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);
1290
1564
  const hasChildren = Boolean(item.children?.length);
1291
1565
  const isOpen = props.open.includes(item.key);
1292
1566
  const isSelected = props.selected.includes(item.key);
1293
1567
  const path = [item.key, ...parents];
1294
1568
  const collapsed = props.inlineCollapsed && level === 0;
1295
1569
  const inlineSubmenu = props.mode === "inline" && !collapsed;
1296
- (0, import_react5.useEffect)(() => () => {
1570
+ (0, import_react6.useEffect)(() => () => {
1297
1571
  if (closeTimerRef.current !== void 0) window.clearTimeout(closeTimerRef.current);
1298
1572
  }, []);
1299
1573
  function cancelClose() {
@@ -1307,9 +1581,9 @@ function MenuEntry({
1307
1581
  closeTimerRef.current = window.setTimeout(() => props.toggle(item.key, false), 100);
1308
1582
  }
1309
1583
  const hover = props.triggerSubMenuAction === "hover" && hasChildren && !inlineSubmenu;
1310
- 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;
1311
1585
  const popupPlacement = props.mode === "horizontal" && level === 0 ? "bottom-start" : "right-start";
1312
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
1586
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
1313
1587
  "li",
1314
1588
  {
1315
1589
  className: `sia-menu__entry${isOpen ? " is-open" : ""}${isSelected ? " is-selected" : ""}${item.disabled ? " is-disabled" : ""}${item.danger ? " is-danger" : ""}`,
@@ -1319,7 +1593,7 @@ function MenuEntry({
1319
1593
  } : void 0,
1320
1594
  onMouseLeave: hover ? scheduleClose : void 0,
1321
1595
  children: [
1322
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
1596
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
1323
1597
  "button",
1324
1598
  {
1325
1599
  ref: anchorRef,
@@ -1332,14 +1606,14 @@ function MenuEntry({
1332
1606
  "aria-expanded": hasChildren ? isOpen : void 0,
1333
1607
  onClick: (event) => hasChildren ? props.toggle(item.key) : props.select(item, path, event),
1334
1608
  children: [
1335
- reserveIcon ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "sia-menu__icon", "aria-hidden": !item.icon || void 0, children: item.icon }) : null,
1336
- !collapsed ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "sia-menu__label", children: item.label }) : null,
1337
- !collapsed && item.extra ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "sia-menu__extra", children: item.extra }) : null,
1338
- !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
1339
1613
  ]
1340
1614
  }
1341
1615
  ),
1342
- 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)(
1343
1617
  MenuPopup,
1344
1618
  {
1345
1619
  anchorRef,
@@ -1366,13 +1640,13 @@ function MenuLevel({
1366
1640
  props,
1367
1641
  reserveIcon = hasMenuIcon(items)
1368
1642
  }) {
1369
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: items.map((item, index) => {
1370
- if (item.type === "divider") return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("li", { className: "sia-menu__divider", role: "separator" }, item.key || `divider-${index}`);
1371
- if (item.type === "group") return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("li", { className: "sia-menu__group", children: [
1372
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "sia-menu__group-title", children: item.label }),
1373
- /* @__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 }) })
1374
1648
  ] }, item.key);
1375
- 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);
1376
1650
  }) });
1377
1651
  }
1378
1652
  function Menu({
@@ -1395,11 +1669,11 @@ function Menu({
1395
1669
  className = "",
1396
1670
  ...rest
1397
1671
  }) {
1398
- const menuId = (0, import_react5.useId)();
1399
- const rootRef = (0, import_react5.useRef)(null);
1672
+ const menuId = (0, import_react6.useId)();
1673
+ const rootRef = (0, import_react6.useRef)(null);
1400
1674
  const [selected, setSelected] = useControllableState({ value: selectedKeys, defaultValue: defaultSelectedKeys });
1401
1675
  const [open, setOpen] = useControllableState({ value: openKeys, defaultValue: defaultOpenKeys, onChange: (next) => onOpenChange?.([...next]) });
1402
- (0, import_react5.useEffect)(() => {
1676
+ (0, import_react6.useEffect)(() => {
1403
1677
  if (mode === "inline" || !open.length) return void 0;
1404
1678
  const closeOutside = (event) => {
1405
1679
  const target = event.target;
@@ -1425,11 +1699,11 @@ function Menu({
1425
1699
  else onSelect?.({ ...info, selectedKeys: [...next] });
1426
1700
  if (mode !== "inline") setOpen([]);
1427
1701
  }
1428
- 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 } }) });
1429
1703
  }
1430
1704
 
1431
1705
  // src/components/Dropdown.tsx
1432
- var import_jsx_runtime8 = require("react/jsx-runtime");
1706
+ var import_jsx_runtime9 = require("react/jsx-runtime");
1433
1707
  var placementMap = {
1434
1708
  bottomLeft: "bottom-start",
1435
1709
  bottomRight: "bottom-end",
@@ -1461,19 +1735,19 @@ function DropdownRoot({
1461
1735
  onKeyDown,
1462
1736
  ...props
1463
1737
  }) {
1464
- const rootRef = (0, import_react7.useRef)(null);
1465
- const contextAnchorRef = (0, import_react7.useRef)(null);
1466
- const popupRef = (0, import_react7.useRef)(null);
1467
- const openTimerRef = (0, import_react7.useRef)(void 0);
1468
- const closeTimerRef = (0, import_react7.useRef)(void 0);
1469
- const [internalOpen, setInternalOpen] = (0, import_react7.useState)(defaultOpen);
1470
- const [mounted, setMounted] = (0, import_react7.useState)(open ?? defaultOpen);
1471
- 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)();
1472
1746
  const visible = open ?? internalOpen;
1473
1747
  const triggerSet = new Set(trigger);
1474
1748
  const pointAtCenter = typeof arrow === "object" && arrow.pointAtCenter;
1475
- const [triggerFontSize, setTriggerFontSize] = (0, import_react7.useState)();
1476
- (0, import_react7.useLayoutEffect)(() => {
1749
+ const [triggerFontSize, setTriggerFontSize] = (0, import_react8.useState)();
1750
+ (0, import_react8.useLayoutEffect)(() => {
1477
1751
  if (!visible || !rootRef.current) return;
1478
1752
  const root = rootRef.current;
1479
1753
  const target = root.querySelector("button, [role='button'], a") ?? (root.firstElementChild !== contextAnchorRef.current ? root.firstElementChild : null) ?? root;
@@ -1508,7 +1782,7 @@ function DropdownRoot({
1508
1782
  clearTimer(closeTimerRef);
1509
1783
  closeTimerRef.current = window.setTimeout(() => updateOpen(false, "trigger"), Math.max(0, closeDelay));
1510
1784
  }
1511
- (0, import_react7.useEffect)(() => {
1785
+ (0, import_react8.useEffect)(() => {
1512
1786
  if (visible) {
1513
1787
  setMounted(true);
1514
1788
  return void 0;
@@ -1516,11 +1790,11 @@ function DropdownRoot({
1516
1790
  const timer = window.setTimeout(() => setMounted(false), 160);
1517
1791
  return () => window.clearTimeout(timer);
1518
1792
  }, [visible]);
1519
- (0, import_react7.useEffect)(() => {
1793
+ (0, import_react8.useEffect)(() => {
1520
1794
  if (!visible && !mounted) setContextPoint(void 0);
1521
1795
  }, [mounted, visible]);
1522
- (0, import_react7.useEffect)(() => () => clearTimers(), []);
1523
- (0, import_react7.useEffect)(() => {
1796
+ (0, import_react8.useEffect)(() => () => clearTimers(), []);
1797
+ (0, import_react8.useEffect)(() => {
1524
1798
  if (!visible) return void 0;
1525
1799
  const contextMenuTrigger = triggerSet.has("contextMenu");
1526
1800
  const closeOutside = (event) => {
@@ -1550,7 +1824,7 @@ function DropdownRoot({
1550
1824
  document.removeEventListener("pointerover", keepOpenOverNestedMenu);
1551
1825
  };
1552
1826
  }, [visible]);
1553
- (0, import_react7.useEffect)(() => {
1827
+ (0, import_react8.useEffect)(() => {
1554
1828
  if (!visible || !mounted || !autoFocus) return void 0;
1555
1829
  const frame = window.requestAnimationFrame(() => {
1556
1830
  popupRef.current?.querySelector(
@@ -1599,7 +1873,7 @@ function DropdownRoot({
1599
1873
  updateOpen(true, "trigger");
1600
1874
  }
1601
1875
  }
1602
- const menuNode = /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1876
+ const menuNode = /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1603
1877
  Menu,
1604
1878
  {
1605
1879
  mode: "vertical",
@@ -1616,11 +1890,11 @@ function DropdownRoot({
1616
1890
  className: "sia-dropdown__menu"
1617
1891
  }
1618
1892
  );
1619
- 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: [
1620
1894
  children.props.children,
1621
- /* @__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" })
1622
1896
  ] })) : children;
1623
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
1897
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1624
1898
  "span",
1625
1899
  {
1626
1900
  ref: rootRef,
@@ -1636,7 +1910,7 @@ function DropdownRoot({
1636
1910
  ...withTitleTooltip(props),
1637
1911
  children: [
1638
1912
  triggerNode,
1639
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1913
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1640
1914
  "span",
1641
1915
  {
1642
1916
  ref: contextAnchorRef,
@@ -1645,7 +1919,7 @@ function DropdownRoot({
1645
1919
  "aria-hidden": "true"
1646
1920
  }
1647
1921
  ),
1648
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1922
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1649
1923
  PopupPortal,
1650
1924
  {
1651
1925
  ref: popupRef,
@@ -1682,15 +1956,15 @@ function DropdownButton({
1682
1956
  trigger = ["click"],
1683
1957
  ...dropdownProps
1684
1958
  }) {
1685
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: `sia-dropdown-button ${className}`.trim(), children: [
1686
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Button, { ...buttonProps, disabled: disabled || buttonDisabled, onClick, children }),
1687
- /* @__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)(
1688
1962
  Button,
1689
1963
  {
1690
1964
  ...buttonProps,
1691
1965
  className: `sia-dropdown-button__arrow ${buttonProps?.className ?? ""}`.trim(),
1692
1966
  disabled: disabled || dropdownDisabled,
1693
- 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 }),
1694
1968
  "aria-label": "\u5C55\u5F00\u4E0B\u62C9\u83DC\u5355"
1695
1969
  }
1696
1970
  ) })
@@ -1702,14 +1976,14 @@ var Dropdown = Object.assign(DropdownRoot, {
1702
1976
  });
1703
1977
 
1704
1978
  // src/components/Input.tsx
1705
- var import_react11 = require("react");
1979
+ var import_react12 = require("react");
1706
1980
 
1707
1981
  // src/components/Modal.tsx
1708
- var import_react9 = require("react");
1982
+ var import_react10 = require("react");
1709
1983
  var import_client2 = require("react-dom/client");
1710
1984
 
1711
1985
  // src/components/Overlay.tsx
1712
- var import_react8 = require("react");
1986
+ var import_react9 = require("react");
1713
1987
  var import_react_dom2 = require("react-dom");
1714
1988
  var bodyLockCount = 0;
1715
1989
  var previousBodyOverflow = "";
@@ -1731,10 +2005,10 @@ function focusableElements(container) {
1731
2005
  )].filter((element) => !element.hidden && element.getAttribute("aria-hidden") !== "true");
1732
2006
  }
1733
2007
  function useOverlayLifecycle(open, panelRef, onRequestClose, keyboard = true) {
1734
- const overlayIdRef = (0, import_react8.useRef)(/* @__PURE__ */ Symbol("sia-overlay"));
1735
- 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);
1736
2010
  closeRef.current = onRequestClose;
1737
- (0, import_react8.useEffect)(() => {
2011
+ (0, import_react9.useEffect)(() => {
1738
2012
  if (!open || typeof document === "undefined") return void 0;
1739
2013
  const overlayId = overlayIdRef.current;
1740
2014
  const previouslyFocused = document.activeElement instanceof HTMLElement ? document.activeElement : null;
@@ -1788,17 +2062,17 @@ function OverlayPortal({ children, container }) {
1788
2062
  }
1789
2063
 
1790
2064
  // src/components/Modal.tsx
1791
- var import_jsx_runtime9 = require("react/jsx-runtime");
2065
+ var import_jsx_runtime10 = require("react/jsx-runtime");
1792
2066
  var modalHandles = /* @__PURE__ */ new Set();
1793
2067
  var MODAL_MOTION_DURATION = 220;
1794
2068
  var typeIcons = {
1795
- info: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "info", size: 23 }),
1796
- success: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "circle-check", size: 23 }),
1797
- warning: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "warning", size: 23 }),
1798
- error: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "circle-close", size: 23 }),
1799
- 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 })
1800
2074
  };
1801
- var ModalRoot = (0, import_react9.forwardRef)(function Modal({
2075
+ var ModalRoot = (0, import_react10.forwardRef)(function Modal({
1802
2076
  open,
1803
2077
  title,
1804
2078
  children,
@@ -1827,20 +2101,20 @@ var ModalRoot = (0, import_react9.forwardRef)(function Modal({
1827
2101
  style,
1828
2102
  ...props
1829
2103
  }, forwardedRef) {
1830
- const localRef = (0, import_react9.useRef)(null);
1831
- const titleId = (0, import_react9.useId)();
1832
- const [submitting, setSubmitting] = (0, import_react9.useState)(false);
1833
- const [rendered, setRendered] = (0, import_react9.useState)(open);
1834
- const [closing, setClosing] = (0, import_react9.useState)(false);
1835
- 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);
1836
2110
  afterOpenChangeRef.current = afterOpenChange;
1837
- const submitLock = (0, import_react9.useRef)(false);
1838
- (0, import_react9.useEffect)(() => {
2111
+ const submitLock = (0, import_react10.useRef)(false);
2112
+ (0, import_react10.useEffect)(() => {
1839
2113
  if (!open || !rendered) return void 0;
1840
2114
  const timer = window.setTimeout(() => afterOpenChangeRef.current?.(true), MODAL_MOTION_DURATION);
1841
2115
  return () => window.clearTimeout(timer);
1842
2116
  }, [open, rendered]);
1843
- (0, import_react9.useEffect)(() => {
2117
+ (0, import_react10.useEffect)(() => {
1844
2118
  if (open) {
1845
2119
  setRendered(true);
1846
2120
  setClosing(false);
@@ -1897,11 +2171,11 @@ var ModalRoot = (0, import_react9.forwardRef)(function Modal({
1897
2171
  "--sia-modal-width": typeof width === "number" ? `${width}px` : width
1898
2172
  };
1899
2173
  const loading = submitting || confirmLoading;
1900
- const defaultFooter = /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1901
- showCancel ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Button, { ...cancelButtonProps, onClick: requestClose, disabled: loading || cancelButtonProps?.disabled, children: cancelText }) : null,
1902
- /* @__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 })
1903
2177
  ] });
1904
- 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)(
1905
2179
  "div",
1906
2180
  {
1907
2181
  className: `sia-modal-root${centered ? " sia-modal-root--centered" : ""}`,
@@ -1910,7 +2184,7 @@ var ModalRoot = (0, import_react9.forwardRef)(function Modal({
1910
2184
  onMouseDown: (event) => {
1911
2185
  if (event.target === event.currentTarget && maskClosable) requestClose();
1912
2186
  },
1913
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
2187
+ children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
1914
2188
  "div",
1915
2189
  {
1916
2190
  ref: setRef,
@@ -1922,16 +2196,16 @@ var ModalRoot = (0, import_react9.forwardRef)(function Modal({
1922
2196
  tabIndex: -1,
1923
2197
  ...withTitleTooltip(props),
1924
2198
  children: [
1925
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "sia-modal__header", style: height !== void 0 ? { flexShrink: 0 } : void 0, children: [
1926
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "sia-modal__heading", children: [
1927
- typeIcons[type] ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "sia-modal__type-icon", "aria-hidden": "true", children: typeIcons[type] }) : null,
1928
- 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
1929
2203
  ] }),
1930
- 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
1931
2205
  ] }),
1932
- 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,
1933
- footer !== null ? /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "sia-modal__footer", style: height !== void 0 ? { flexShrink: 0 } : void 0, children: [
1934
- 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,
1935
2209
  footer ?? defaultFooter
1936
2210
  ] }) : null
1937
2211
  ]
@@ -1965,11 +2239,11 @@ function openModal(config) {
1965
2239
  render();
1966
2240
  }
1967
2241
  function ModalInstance() {
1968
- (0, import_react9.useEffect)(() => {
2242
+ (0, import_react10.useEffect)(() => {
1969
2243
  mounted = true;
1970
2244
  if (!currentOpen) render();
1971
2245
  }, []);
1972
- 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) => {
1973
2247
  currentConfig.onOpenChange?.(nextOpen);
1974
2248
  if (!nextOpen) closeWithMotion();
1975
2249
  }, afterOpenChange: (nextOpen) => {
@@ -1981,7 +2255,7 @@ function openModal(config) {
1981
2255
  } });
1982
2256
  }
1983
2257
  function render() {
1984
- root.render(/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ModalInstance, {}));
2258
+ root.render(/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ModalInstance, {}));
1985
2259
  }
1986
2260
  const handle = {
1987
2261
  destroy: closeWithMotion,
@@ -2026,9 +2300,9 @@ var Modal2 = Object.assign(ModalRoot, {
2026
2300
  });
2027
2301
 
2028
2302
  // src/components/TextArea.tsx
2029
- var import_react10 = require("react");
2030
- var import_jsx_runtime10 = require("react/jsx-runtime");
2031
- 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({
2032
2306
  label,
2033
2307
  hint,
2034
2308
  status = "default",
@@ -2046,9 +2320,9 @@ var TextArea = (0, import_react10.forwardRef)(function TextArea2({
2046
2320
  ...props
2047
2321
  }, ref) {
2048
2322
  const size = useControlSize(sizeProp);
2049
- const fallbackId = (0, import_react10.useId)();
2323
+ const fallbackId = (0, import_react11.useId)();
2050
2324
  const textAreaId = id ?? fallbackId;
2051
- 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));
2052
2326
  const currentText = value !== void 0 ? String(value) : uncontrolledValue;
2053
2327
  const floating = useFloatingPlaceholder({ mode: placeholderMode, placeholder, filled: currentText.length > 0 });
2054
2328
  const hintId = `${textAreaId}-hint`;
@@ -2057,8 +2331,8 @@ var TextArea = (0, import_react10.forwardRef)(function TextArea2({
2057
2331
  setUncontrolledValue(event.target.value);
2058
2332
  onChange?.(event);
2059
2333
  }
2060
- 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: [
2061
- /* @__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)(
2062
2336
  "textarea",
2063
2337
  {
2064
2338
  ...withTitleTooltip(props),
@@ -2076,22 +2350,22 @@ var TextArea = (0, import_react10.forwardRef)(function TextArea2({
2076
2350
  }
2077
2351
  ),
2078
2352
  floating.label,
2079
- 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: [
2080
2354
  currentText.length,
2081
2355
  maxLength !== void 0 ? `/${maxLength}` : null
2082
2356
  ] }) : null
2083
2357
  ] });
2084
- if (!label && !hint) return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: `sia-field ${className}`.trim(), children: control });
2085
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: `sia-field ${className}`.trim(), children: [
2086
- 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,
2087
2361
  control,
2088
- 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
2089
2363
  ] });
2090
2364
  });
2091
2365
 
2092
2366
  // src/components/Input.tsx
2093
- var import_jsx_runtime11 = require("react/jsx-runtime");
2094
- 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({
2095
2369
  label,
2096
2370
  hint,
2097
2371
  status = "default",
@@ -2114,14 +2388,14 @@ var Input = (0, import_react11.forwardRef)(function Input2({
2114
2388
  ...props
2115
2389
  }, forwardedRef) {
2116
2390
  const size = useControlSize(sizeProp);
2117
- const fallbackId = (0, import_react11.useId)();
2391
+ const fallbackId = (0, import_react12.useId)();
2118
2392
  const inputId = id ?? fallbackId;
2119
- const localRef = (0, import_react11.useRef)(null);
2120
- 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));
2121
2395
  const currentText = value !== void 0 ? String(value) : uncontrolledValue;
2122
2396
  const hasValue = currentText.length > 0;
2123
- const [expanded, setExpanded] = (0, import_react11.useState)(false);
2124
- const [expandedDraft, setExpandedDraft] = (0, import_react11.useState)("");
2397
+ const [expanded, setExpanded] = (0, import_react12.useState)(false);
2398
+ const [expandedDraft, setExpandedDraft] = (0, import_react12.useState)("");
2125
2399
  const floatingPlaceholder = usePlaceholderMode(placeholderMode) === "floating" && Boolean(placeholder);
2126
2400
  const hintId = `${inputId}-hint`;
2127
2401
  const describedBy = [props["aria-describedby"], hint ? hintId : null].filter(Boolean).join(" ") || void 0;
@@ -2157,7 +2431,7 @@ var Input = (0, import_react11.forwardRef)(function Input2({
2157
2431
  event.preventDefault();
2158
2432
  localRef.current?.focus({ preventScroll: true });
2159
2433
  }
2160
- const input = /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
2434
+ const input = /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2161
2435
  "input",
2162
2436
  {
2163
2437
  ...withTitleTooltip(props),
@@ -2174,15 +2448,15 @@ var Input = (0, import_react11.forwardRef)(function Input2({
2174
2448
  onChange: handleChange
2175
2449
  }
2176
2450
  );
2177
- 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: [
2178
- prefix ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sia-input-control__affix", children: prefix }) : null,
2179
- 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: [
2180
2454
  input,
2181
- /* @__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 })
2182
2456
  ] }) : input,
2183
- 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,
2184
- suffix ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sia-input-control__affix", children: suffix }) : null,
2185
- 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)(
2186
2460
  "button",
2187
2461
  {
2188
2462
  type: "button",
@@ -2194,15 +2468,15 @@ var Input = (0, import_react11.forwardRef)(function Input2({
2194
2468
  setExpandedDraft(currentText);
2195
2469
  setExpanded(true);
2196
2470
  },
2197
- 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 })
2198
2472
  }
2199
2473
  ) : null,
2200
- 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: [
2201
2475
  currentText.length,
2202
2476
  maxLength !== void 0 ? `/${maxLength}` : null
2203
2477
  ] }) : null
2204
2478
  ] });
2205
- const editor = expandable ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
2479
+ const editor = expandable ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2206
2480
  Modal2,
2207
2481
  {
2208
2482
  open: expanded,
@@ -2223,7 +2497,7 @@ var Input = (0, import_react11.forwardRef)(function Input2({
2223
2497
  setUncontrolledValue(next);
2224
2498
  setExpanded(false);
2225
2499
  },
2226
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
2500
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2227
2501
  TextArea,
2228
2502
  {
2229
2503
  "aria-label": "\u5C55\u5F00\u7F16\u8F91\u5185\u5BB9",
@@ -2239,22 +2513,22 @@ var Input = (0, import_react11.forwardRef)(function Input2({
2239
2513
  )
2240
2514
  }
2241
2515
  ) : null;
2242
- if (!label && !hint) return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
2243
- /* @__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 }),
2244
2518
  editor
2245
2519
  ] });
2246
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
2247
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: `sia-field ${className}`.trim(), children: [
2248
- 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,
2249
2523
  control,
2250
- 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
2251
2525
  ] }),
2252
2526
  editor
2253
2527
  ] });
2254
2528
  });
2255
2529
 
2256
2530
  // src/components/RichTextEditor.tsx
2257
- var import_jsx_runtime12 = require("react/jsx-runtime");
2531
+ var import_jsx_runtime13 = require("react/jsx-runtime");
2258
2532
  function escapeHtml(value) {
2259
2533
  return value.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll('"', "&quot;").replaceAll("'", "&#039;");
2260
2534
  }
@@ -2270,9 +2544,9 @@ function sanitizeContent(value) {
2270
2544
  }).replace(/<img\b/giu, '<img loading="lazy" decoding="async"');
2271
2545
  }
2272
2546
  function RichTextContent({ content, emptyText = "\u6682\u65E0\u5185\u5BB9", className = "", ...props }) {
2273
- const html = (0, import_react12.useMemo)(() => sanitizeContent(content), [content]);
2274
- 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 });
2275
- 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) });
2276
2550
  }
2277
2551
  function RichTextEditor({
2278
2552
  value,
@@ -2293,31 +2567,31 @@ function RichTextEditor({
2293
2567
  "aria-label": ariaLabel,
2294
2568
  ...props
2295
2569
  }) {
2296
- const initialValueRef = (0, import_react12.useRef)(value ?? defaultValue);
2297
- const lastEmittedValueRef = (0, import_react12.useRef)(value ?? defaultValue);
2298
- const onChangeRef = (0, import_react12.useRef)(onChange);
2299
- const onPasteImageRef = (0, import_react12.useRef)(onPasteImage);
2300
- const saveShortcutRef = (0, import_react12.useRef)(saveShortcut);
2301
- const contentFormatRef = (0, import_react12.useRef)(contentFormat);
2302
- const editorElementRef = (0, import_react12.useRef)(null);
2303
- const editorRef = (0, import_react12.useRef)(null);
2304
- const [editor, setEditor] = (0, import_react12.useState)(null);
2305
- const [linkEditorOpen, setLinkEditorOpen] = (0, import_react12.useState)(false);
2306
- const [linkHref, setLinkHref] = (0, import_react12.useState)("");
2307
- const [, setEditorRevision] = (0, import_react12.useState)(0);
2308
- (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)(() => {
2309
2583
  onChangeRef.current = onChange;
2310
2584
  }, [onChange]);
2311
- (0, import_react12.useEffect)(() => {
2585
+ (0, import_react13.useEffect)(() => {
2312
2586
  onPasteImageRef.current = onPasteImage;
2313
2587
  }, [onPasteImage]);
2314
- (0, import_react12.useEffect)(() => {
2588
+ (0, import_react13.useEffect)(() => {
2315
2589
  saveShortcutRef.current = saveShortcut;
2316
2590
  }, [saveShortcut]);
2317
- (0, import_react12.useEffect)(() => {
2591
+ (0, import_react13.useEffect)(() => {
2318
2592
  contentFormatRef.current = contentFormat;
2319
2593
  }, [contentFormat]);
2320
- const extensions = (0, import_react12.useMemo)(() => [
2594
+ const extensions = (0, import_react13.useMemo)(() => [
2321
2595
  import_starter_kit.default.configure({
2322
2596
  heading: { levels: [1, 2, 3, 4, 5, 6] },
2323
2597
  link: { openOnClick: false, autolink: true, linkOnPaste: true },
@@ -2333,7 +2607,7 @@ function RichTextEditor({
2333
2607
  import_extension_task_item.default.configure({ nested: true }),
2334
2608
  import_markdown.Markdown.configure({ markedOptions: { gfm: true } })
2335
2609
  ], [placeholder]);
2336
- (0, import_react12.useEffect)(() => {
2610
+ (0, import_react13.useEffect)(() => {
2337
2611
  const element = editorElementRef.current;
2338
2612
  if (!element) return;
2339
2613
  const nextEditor = new import_core.Editor({
@@ -2390,10 +2664,10 @@ function RichTextEditor({
2390
2664
  nextEditor.destroy();
2391
2665
  };
2392
2666
  }, [ariaLabel, extensions]);
2393
- (0, import_react12.useEffect)(() => {
2667
+ (0, import_react13.useEffect)(() => {
2394
2668
  editor?.setEditable(!disabled);
2395
2669
  }, [disabled, editor]);
2396
- (0, import_react12.useEffect)(() => {
2670
+ (0, import_react13.useEffect)(() => {
2397
2671
  if (!editor || value === void 0 || value === lastEmittedValueRef.current) return;
2398
2672
  editor.commands.setContent(value, { emitUpdate: false, contentType: contentFormat });
2399
2673
  lastEmittedValueRef.current = value;
@@ -2414,7 +2688,7 @@ function RichTextEditor({
2414
2688
  setLinkEditorOpen(false);
2415
2689
  }
2416
2690
  function formatButton(label, action, active = false, disabledByState = false, content) {
2417
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2691
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2418
2692
  Button,
2419
2693
  {
2420
2694
  type: "button",
@@ -2452,27 +2726,27 @@ function RichTextEditor({
2452
2726
  }
2453
2727
  };
2454
2728
  const floating = useFloatingPlaceholder({ mode: placeholderMode, placeholder, filled: editor ? !editor.isEmpty : Boolean(value ?? defaultValue) });
2455
- 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: [
2456
2730
  floating.label,
2457
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "sia-rich-text-editor__toolbar", "aria-label": "\u6587\u672C\u683C\u5F0F\u5DE5\u5177\u680F", children: [
2458
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "sia-rich-text-editor__toolbar-main", children: [
2459
- toolbar === "full" ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
2460
- formatButton("\u64A4\u9500", () => editor?.chain().focus().undo().run(), false, !editor?.can().undo(), /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { name: "undo" })),
2461
- formatButton("\u91CD\u505A", () => editor?.chain().focus().redo().run(), false, !editor?.can().redo(), /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { name: "redo" })),
2462
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sia-rich-text-editor__divider" }),
2463
- /* @__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: [
2464
2738
  currentBlockLabel,
2465
- /* @__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 })
2466
2740
  ] }) }),
2467
- /* @__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" })
2468
2742
  ] }) : null,
2469
- formatButton("\u52A0\u7C97", () => editor?.chain().focus().toggleBold().run(), Boolean(editor?.isActive("bold")), false, /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("strong", { children: "B" })),
2470
- formatButton("\u659C\u4F53", () => editor?.chain().focus().toggleItalic().run(), Boolean(editor?.isActive("italic")), false, /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("em", { children: "I" })),
2471
- toolbar === "full" ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
2472
- formatButton("\u4E0B\u5212\u7EBF", () => editor?.chain().focus().toggleUnderline().run(), Boolean(editor?.isActive("underline")), false, /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("u", { children: "U" })),
2473
- 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" })),
2474
2748
  formatButton("\u884C\u5185\u4EE3\u7801", () => editor?.chain().focus().toggleCode().run(), Boolean(editor?.isActive("code")), false, "</>"),
2475
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
2749
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2476
2750
  Dropdown,
2477
2751
  {
2478
2752
  menu: { items: [] },
@@ -2482,48 +2756,48 @@ function RichTextEditor({
2482
2756
  disabled: disabled || !editor,
2483
2757
  onOpenChange: openLinkEditor,
2484
2758
  popupClassName: "sia-rich-text-editor__link-popup",
2485
- popupRender: () => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("form", { className: "sia-rich-text-editor__link-form", onSubmit: submitLink, children: [
2486
- /* @__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" }),
2487
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Button, { type: "submit", variant: "primary", size: "small", children: "\u5E94\u7528" }),
2488
- 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: () => {
2489
2763
  setLinkHref("");
2490
2764
  editor.chain().focus().extendMarkRange("link").unsetLink().run();
2491
2765
  setLinkEditorOpen(false);
2492
2766
  }, children: "\u79FB\u9664" }) : null
2493
2767
  ] }),
2494
- 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" }) })
2495
2769
  }
2496
2770
  ),
2497
- /* @__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" })
2498
2772
  ] }) : null,
2499
2773
  formatButton("\u65E0\u5E8F\u5217\u8868", () => editor?.chain().focus().toggleBulletList().run(), Boolean(editor?.isActive("bulletList")), false, "\u2022 \u5217\u8868"),
2500
2774
  formatButton("\u6709\u5E8F\u5217\u8868", () => editor?.chain().focus().toggleOrderedList().run(), Boolean(editor?.isActive("orderedList")), false, "1. \u5217\u8868"),
2501
- 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: [
2502
2776
  formatButton("\u4EFB\u52A1\u5217\u8868", () => editor?.chain().focus().toggleTaskList().run(), Boolean(editor?.isActive("taskList")), false, "\u2611 \u4EFB\u52A1"),
2503
2777
  formatButton("\u5F15\u7528", () => editor?.chain().focus().toggleBlockquote().run(), Boolean(editor?.isActive("blockquote")), false, "\u275D \u5F15\u7528"),
2504
2778
  formatButton("\u4EE3\u7801\u5757", () => editor?.chain().focus().toggleCodeBlock().run(), Boolean(editor?.isActive("codeBlock")), false, "\u4EE3\u7801\u5757"),
2505
2779
  formatButton("\u63D2\u5165\u8868\u683C", () => editor?.chain().focus().insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run(), Boolean(editor?.isActive("table")), false, "\u8868\u683C"),
2506
- 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" }))
2507
2781
  ] }) : null
2508
2782
  ] }),
2509
- onPasteImage ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("small", { children: [
2510
- /* @__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 }),
2511
2785
  pasteImageHint
2512
2786
  ] }) : null
2513
2787
  ] }),
2514
- 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: [
2515
- /* @__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" }),
2516
2790
  formatButton("\u524D\u65B9\u63D2\u5165\u5217", () => editor.chain().focus().addColumnBefore().run(), false, !editor.can().addColumnBefore(), "\u524D\u63D2\u5217"),
2517
2791
  formatButton("\u540E\u65B9\u63D2\u5165\u5217", () => editor.chain().focus().addColumnAfter().run(), false, !editor.can().addColumnAfter(), "\u540E\u63D2\u5217"),
2518
2792
  formatButton("\u5220\u9664\u5F53\u524D\u5217", () => editor.chain().focus().deleteColumn().run(), false, !editor.can().deleteColumn(), "\u5220\u5217"),
2519
- /* @__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" }),
2520
2794
  formatButton("\u4E0A\u65B9\u63D2\u5165\u884C", () => editor.chain().focus().addRowBefore().run(), false, !editor.can().addRowBefore(), "\u4E0A\u63D2\u884C"),
2521
2795
  formatButton("\u4E0B\u65B9\u63D2\u5165\u884C", () => editor.chain().focus().addRowAfter().run(), false, !editor.can().addRowAfter(), "\u4E0B\u63D2\u884C"),
2522
2796
  formatButton("\u5220\u9664\u5F53\u524D\u884C", () => editor.chain().focus().deleteRow().run(), false, !editor.can().deleteRow(), "\u5220\u884C"),
2523
- /* @__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" }),
2524
2798
  formatButton("\u5220\u9664\u8868\u683C", () => editor.chain().focus().deleteTable().run(), false, !editor.can().deleteTable(), "\u5220\u9664\u8868\u683C")
2525
2799
  ] }) : null,
2526
- /* @__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" })
2527
2801
  ] });
2528
2802
  }
2529
2803
  // Annotate the CommonJS export names for ESM import in node: