markpdfdown 0.1.8-beta.6 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main/index.js +398 -14
- package/dist/preload/index.js +20 -1
- package/dist/renderer/assets/{index-yTU2skrN.css → index-B_JfRqwM.css} +54 -0
- package/dist/renderer/assets/{index-iEK8qT5k.js → index-wHB9i2kW.js} +623 -320
- package/dist/renderer/index.html +2 -2
- package/package.json +10 -3
- package/dist/app/app.js +0 -49
- package/dist/app/controllers/completionController.js +0 -19
- package/dist/app/controllers/modelController.js +0 -53
- package/dist/app/controllers/providerController.js +0 -120
- package/dist/app/dal/modelDal.js +0 -44
- package/dist/app/dal/providerDal.js +0 -78
- package/dist/app/db/index.js +0 -56
- package/dist/app/db/migration.js +0 -157
- package/dist/app/logic/llm/AnthropicClient.js +0 -219
- package/dist/app/logic/llm/AzureOpenAIClient.js +0 -239
- package/dist/app/logic/llm/GeminiClient.js +0 -212
- package/dist/app/logic/llm/LLMClient.js +0 -80
- package/dist/app/logic/llm/OpenAIClient.js +0 -235
- package/dist/app/logic/llm/example-advanced.js +0 -232
- package/dist/app/logic/llm/index.js +0 -14
- package/dist/app/logic/model.js +0 -27
- package/dist/app/middleware/logger.js +0 -23
- package/dist/app/routes/routes.js +0 -16
- package/dist/app/types/Provider.js +0 -1
- package/dist/server/controllers/FileController.js +0 -64
- package/dist/server/controllers/TaskController.js +0 -57
- package/dist/server/controllers/completionController.js +0 -64
- package/dist/server/controllers/modelController.js +0 -74
- package/dist/server/controllers/providerController.js +0 -120
- package/dist/server/dal/TaskDal.js +0 -67
- package/dist/server/dal/modelDal.js +0 -44
- package/dist/server/dal/providerDal.js +0 -83
- package/dist/server/db/index.js +0 -57
- package/dist/server/db/migration.js +0 -157
- package/dist/server/index.js +0 -49
- package/dist/server/logic/File.js +0 -34
- package/dist/server/logic/Task.js +0 -21
- package/dist/server/logic/llm/AnthropicClient.js +0 -220
- package/dist/server/logic/llm/AzureOpenAIClient.js +0 -239
- package/dist/server/logic/llm/GeminiClient.js +0 -213
- package/dist/server/logic/llm/LLMClient.js +0 -83
- package/dist/server/logic/llm/OllamaClient.js +0 -220
- package/dist/server/logic/llm/OpenAIClient.js +0 -235
- package/dist/server/logic/llm/example-advanced.js +0 -231
- package/dist/server/logic/llm/index.js +0 -15
- package/dist/server/logic/model.js +0 -59
- package/dist/server/middleware/logger.js +0 -23
- package/dist/server/routes/routes.js +0 -30
- package/dist/server/types/Provider.js +0 -1
- package/dist/server/types/Task.js +0 -1
|
@@ -10794,7 +10794,7 @@ var Entity = /* @__PURE__ */ (function() {
|
|
|
10794
10794
|
}
|
|
10795
10795
|
}, {
|
|
10796
10796
|
key: "update",
|
|
10797
|
-
value: function
|
|
10797
|
+
value: function update2(keys2, valueFn) {
|
|
10798
10798
|
return this.opUpdate(pathKey(keys2), valueFn);
|
|
10799
10799
|
}
|
|
10800
10800
|
/** A fast get cache with `get` concat. */
|
|
@@ -15989,7 +15989,7 @@ var CheckCircleFilled = function CheckCircleFilled2(props, ref) {
|
|
|
15989
15989
|
icon: CheckCircleFilled$1
|
|
15990
15990
|
}));
|
|
15991
15991
|
};
|
|
15992
|
-
var RefIcon$
|
|
15992
|
+
var RefIcon$Z = /* @__PURE__ */ reactExports.forwardRef(CheckCircleFilled);
|
|
15993
15993
|
var CloseCircleFilled$1 = { "icon": { "tag": "svg", "attrs": { "fill-rule": "evenodd", "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" } }] }, "name": "close-circle", "theme": "filled" };
|
|
15994
15994
|
var CloseCircleFilled = function CloseCircleFilled2(props, ref) {
|
|
15995
15995
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -15997,7 +15997,7 @@ var CloseCircleFilled = function CloseCircleFilled2(props, ref) {
|
|
|
15997
15997
|
icon: CloseCircleFilled$1
|
|
15998
15998
|
}));
|
|
15999
15999
|
};
|
|
16000
|
-
var RefIcon$
|
|
16000
|
+
var RefIcon$Y = /* @__PURE__ */ reactExports.forwardRef(CloseCircleFilled);
|
|
16001
16001
|
var CloseOutlined$1 = { "icon": { "tag": "svg", "attrs": { "fill-rule": "evenodd", "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, "name": "close", "theme": "outlined" };
|
|
16002
16002
|
var CloseOutlined = function CloseOutlined2(props, ref) {
|
|
16003
16003
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -16005,7 +16005,7 @@ var CloseOutlined = function CloseOutlined2(props, ref) {
|
|
|
16005
16005
|
icon: CloseOutlined$1
|
|
16006
16006
|
}));
|
|
16007
16007
|
};
|
|
16008
|
-
var RefIcon$
|
|
16008
|
+
var RefIcon$X = /* @__PURE__ */ reactExports.forwardRef(CloseOutlined);
|
|
16009
16009
|
var ExclamationCircleFilled$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, "name": "exclamation-circle", "theme": "filled" };
|
|
16010
16010
|
var ExclamationCircleFilled = function ExclamationCircleFilled2(props, ref) {
|
|
16011
16011
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -16013,7 +16013,7 @@ var ExclamationCircleFilled = function ExclamationCircleFilled2(props, ref) {
|
|
|
16013
16013
|
icon: ExclamationCircleFilled$1
|
|
16014
16014
|
}));
|
|
16015
16015
|
};
|
|
16016
|
-
var RefIcon$
|
|
16016
|
+
var RefIcon$W = /* @__PURE__ */ reactExports.forwardRef(ExclamationCircleFilled);
|
|
16017
16017
|
var InfoCircleFilled$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, "name": "info-circle", "theme": "filled" };
|
|
16018
16018
|
var InfoCircleFilled = function InfoCircleFilled2(props, ref) {
|
|
16019
16019
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -16021,7 +16021,7 @@ var InfoCircleFilled = function InfoCircleFilled2(props, ref) {
|
|
|
16021
16021
|
icon: InfoCircleFilled$1
|
|
16022
16022
|
}));
|
|
16023
16023
|
};
|
|
16024
|
-
var RefIcon$
|
|
16024
|
+
var RefIcon$V = /* @__PURE__ */ reactExports.forwardRef(InfoCircleFilled);
|
|
16025
16025
|
var attributes$1 = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap";
|
|
16026
16026
|
var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError";
|
|
16027
16027
|
var propList = "".concat(attributes$1, " ").concat(eventsName).split(/[\s\n]+/);
|
|
@@ -16814,7 +16814,7 @@ var LoadingOutlined = function LoadingOutlined2(props, ref) {
|
|
|
16814
16814
|
icon: LoadingOutlined$1
|
|
16815
16815
|
}));
|
|
16816
16816
|
};
|
|
16817
|
-
var RefIcon$
|
|
16817
|
+
var RefIcon$U = /* @__PURE__ */ reactExports.forwardRef(LoadingOutlined);
|
|
16818
16818
|
function mergeProps$1(...items) {
|
|
16819
16819
|
const ret = {};
|
|
16820
16820
|
items.forEach((item) => {
|
|
@@ -16872,7 +16872,7 @@ const useClosable = (propCloseCollection, contextCloseCollection, fallbackCloseC
|
|
|
16872
16872
|
const [contextLocale] = useLocale("global", localeValues.global);
|
|
16873
16873
|
const closeBtnIsDisabled = typeof propCloseConfig !== "boolean" ? !!(propCloseConfig === null || propCloseConfig === void 0 ? void 0 : propCloseConfig.disabled) : false;
|
|
16874
16874
|
const mergedFallbackCloseCollection = React.useMemo(() => Object.assign({
|
|
16875
|
-
closeIcon: /* @__PURE__ */ React.createElement(RefIcon$
|
|
16875
|
+
closeIcon: /* @__PURE__ */ React.createElement(RefIcon$X, null)
|
|
16876
16876
|
}, fallbackCloseCollection), [fallbackCloseCollection]);
|
|
16877
16877
|
const mergedClosableConfig = React.useMemo(() => {
|
|
16878
16878
|
if (propCloseConfig === false) {
|
|
@@ -17194,11 +17194,11 @@ const useStyle$B = genStyleHooks("Message", (token2) => {
|
|
|
17194
17194
|
return t2;
|
|
17195
17195
|
});
|
|
17196
17196
|
const TypeIcon = {
|
|
17197
|
-
info: /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
17198
|
-
success: /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
17199
|
-
error: /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
17200
|
-
warning: /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
17201
|
-
loading: /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
17197
|
+
info: /* @__PURE__ */ reactExports.createElement(RefIcon$V, null),
|
|
17198
|
+
success: /* @__PURE__ */ reactExports.createElement(RefIcon$Z, null),
|
|
17199
|
+
error: /* @__PURE__ */ reactExports.createElement(RefIcon$Y, null),
|
|
17200
|
+
warning: /* @__PURE__ */ reactExports.createElement(RefIcon$W, null),
|
|
17201
|
+
loading: /* @__PURE__ */ reactExports.createElement(RefIcon$U, null)
|
|
17202
17202
|
};
|
|
17203
17203
|
const PureContent$1 = ({
|
|
17204
17204
|
prefixCls,
|
|
@@ -17285,7 +17285,7 @@ const Holder$1 = /* @__PURE__ */ reactExports.forwardRef((props, ref) => {
|
|
|
17285
17285
|
const getNotificationMotion = () => getMotion$3(prefixCls, transitionName);
|
|
17286
17286
|
const mergedCloseIcon = /* @__PURE__ */ reactExports.createElement("span", {
|
|
17287
17287
|
className: `${prefixCls}-close-x`
|
|
17288
|
-
}, /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
17288
|
+
}, /* @__PURE__ */ reactExports.createElement(RefIcon$X, {
|
|
17289
17289
|
className: `${prefixCls}-close-icon`
|
|
17290
17290
|
}));
|
|
17291
17291
|
const [api, holder] = useNotification$1({
|
|
@@ -18311,7 +18311,7 @@ const InnerLoadingIcon = /* @__PURE__ */ reactExports.forwardRef((props, ref) =>
|
|
|
18311
18311
|
className: mergedIconCls,
|
|
18312
18312
|
style: style2,
|
|
18313
18313
|
ref
|
|
18314
|
-
}, /* @__PURE__ */ React.createElement(RefIcon$
|
|
18314
|
+
}, /* @__PURE__ */ React.createElement(RefIcon$U, {
|
|
18315
18315
|
className: iconClassName
|
|
18316
18316
|
}));
|
|
18317
18317
|
});
|
|
@@ -18606,7 +18606,7 @@ var RightOutlined = function RightOutlined2(props, ref) {
|
|
|
18606
18606
|
icon: RightOutlined$1
|
|
18607
18607
|
}));
|
|
18608
18608
|
};
|
|
18609
|
-
var RefIcon$
|
|
18609
|
+
var RefIcon$T = /* @__PURE__ */ reactExports.forwardRef(RightOutlined);
|
|
18610
18610
|
const genCollapseMotion = (token2) => ({
|
|
18611
18611
|
[token2.componentCls]: {
|
|
18612
18612
|
// For common/openAnimation
|
|
@@ -22895,7 +22895,7 @@ var NameMap = /* @__PURE__ */ (function() {
|
|
|
22895
22895
|
}
|
|
22896
22896
|
}, {
|
|
22897
22897
|
key: "update",
|
|
22898
|
-
value: function
|
|
22898
|
+
value: function update2(key, updater) {
|
|
22899
22899
|
var origin = this.get(key);
|
|
22900
22900
|
var next2 = updater(origin);
|
|
22901
22901
|
if (!next2) {
|
|
@@ -24667,7 +24667,7 @@ const NormalOkBtn = () => {
|
|
|
24667
24667
|
function renderCloseIcon(prefixCls, closeIcon) {
|
|
24668
24668
|
return /* @__PURE__ */ React.createElement("span", {
|
|
24669
24669
|
className: `${prefixCls}-close-x`
|
|
24670
|
-
}, closeIcon || /* @__PURE__ */ React.createElement(RefIcon$
|
|
24670
|
+
}, closeIcon || /* @__PURE__ */ React.createElement(RefIcon$X, {
|
|
24671
24671
|
className: `${prefixCls}-close-icon`
|
|
24672
24672
|
}));
|
|
24673
24673
|
}
|
|
@@ -25253,7 +25253,7 @@ const Modal$1 = (props) => {
|
|
|
25253
25253
|
})) : null;
|
|
25254
25254
|
const [mergedClosable, mergedCloseIcon, closeBtnIsDisabled, ariaProps] = useClosable(pickClosable(props), pickClosable(modalContext), {
|
|
25255
25255
|
closable: true,
|
|
25256
|
-
closeIcon: /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
25256
|
+
closeIcon: /* @__PURE__ */ reactExports.createElement(RefIcon$X, {
|
|
25257
25257
|
className: `${prefixCls}-close-icon`
|
|
25258
25258
|
}),
|
|
25259
25259
|
closeIconRender: (icon2) => renderCloseIcon(prefixCls, icon2)
|
|
@@ -25446,16 +25446,16 @@ const ConfirmContent = (props) => {
|
|
|
25446
25446
|
if (!icon2 && icon2 !== null) {
|
|
25447
25447
|
switch (type4) {
|
|
25448
25448
|
case "info":
|
|
25449
|
-
mergedIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
25449
|
+
mergedIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$V, null);
|
|
25450
25450
|
break;
|
|
25451
25451
|
case "success":
|
|
25452
|
-
mergedIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
25452
|
+
mergedIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$Z, null);
|
|
25453
25453
|
break;
|
|
25454
25454
|
case "error":
|
|
25455
|
-
mergedIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
25455
|
+
mergedIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$Y, null);
|
|
25456
25456
|
break;
|
|
25457
25457
|
default:
|
|
25458
|
-
mergedIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
25458
|
+
mergedIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$W, null);
|
|
25459
25459
|
}
|
|
25460
25460
|
}
|
|
25461
25461
|
const mergedOkCancel = okCancel !== null && okCancel !== void 0 ? okCancel : type4 === "confirm";
|
|
@@ -25657,7 +25657,7 @@ function confirm(config) {
|
|
|
25657
25657
|
}
|
|
25658
25658
|
scheduleRender(currentConfig);
|
|
25659
25659
|
}
|
|
25660
|
-
function
|
|
25660
|
+
function update2(configUpdate) {
|
|
25661
25661
|
if (typeof configUpdate === "function") {
|
|
25662
25662
|
currentConfig = configUpdate(currentConfig);
|
|
25663
25663
|
} else {
|
|
@@ -25669,7 +25669,7 @@ function confirm(config) {
|
|
|
25669
25669
|
destroyFns.push(close2);
|
|
25670
25670
|
return {
|
|
25671
25671
|
destroy: close2,
|
|
25672
|
-
update
|
|
25672
|
+
update: update2
|
|
25673
25673
|
};
|
|
25674
25674
|
}
|
|
25675
25675
|
function withWarn(props) {
|
|
@@ -26310,15 +26310,15 @@ function getCloseIcon(prefixCls, closeIcon) {
|
|
|
26310
26310
|
if (closeIcon === null || closeIcon === false) {
|
|
26311
26311
|
return null;
|
|
26312
26312
|
}
|
|
26313
|
-
return closeIcon || /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
26313
|
+
return closeIcon || /* @__PURE__ */ reactExports.createElement(RefIcon$X, {
|
|
26314
26314
|
className: `${prefixCls}-close-icon`
|
|
26315
26315
|
});
|
|
26316
26316
|
}
|
|
26317
26317
|
const typeToIcon = {
|
|
26318
|
-
success: RefIcon$
|
|
26319
|
-
info: RefIcon$
|
|
26320
|
-
error: RefIcon$
|
|
26321
|
-
warning: RefIcon$
|
|
26318
|
+
success: RefIcon$Z,
|
|
26319
|
+
info: RefIcon$V,
|
|
26320
|
+
error: RefIcon$Y,
|
|
26321
|
+
warning: RefIcon$W
|
|
26322
26322
|
};
|
|
26323
26323
|
const PureContent = (props) => {
|
|
26324
26324
|
const {
|
|
@@ -32772,7 +32772,7 @@ var CheckOutlined = function CheckOutlined2(props, ref) {
|
|
|
32772
32772
|
icon: CheckOutlined$1
|
|
32773
32773
|
}));
|
|
32774
32774
|
};
|
|
32775
|
-
var RefIcon$
|
|
32775
|
+
var RefIcon$S = /* @__PURE__ */ reactExports.forwardRef(CheckOutlined);
|
|
32776
32776
|
var DownOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" };
|
|
32777
32777
|
var DownOutlined = function DownOutlined2(props, ref) {
|
|
32778
32778
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -32780,7 +32780,7 @@ var DownOutlined = function DownOutlined2(props, ref) {
|
|
|
32780
32780
|
icon: DownOutlined$1
|
|
32781
32781
|
}));
|
|
32782
32782
|
};
|
|
32783
|
-
var RefIcon$
|
|
32783
|
+
var RefIcon$R = /* @__PURE__ */ reactExports.forwardRef(DownOutlined);
|
|
32784
32784
|
var SearchOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, "name": "search", "theme": "outlined" };
|
|
32785
32785
|
var SearchOutlined = function SearchOutlined2(props, ref) {
|
|
32786
32786
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -32788,7 +32788,7 @@ var SearchOutlined = function SearchOutlined2(props, ref) {
|
|
|
32788
32788
|
icon: SearchOutlined$1
|
|
32789
32789
|
}));
|
|
32790
32790
|
};
|
|
32791
|
-
var RefIcon$
|
|
32791
|
+
var RefIcon$Q = /* @__PURE__ */ reactExports.forwardRef(SearchOutlined);
|
|
32792
32792
|
function useIcons({
|
|
32793
32793
|
suffixIcon,
|
|
32794
32794
|
clearIcon,
|
|
@@ -32803,7 +32803,7 @@ function useIcons({
|
|
|
32803
32803
|
showArrow,
|
|
32804
32804
|
componentName
|
|
32805
32805
|
}) {
|
|
32806
|
-
const mergedClearIcon = clearIcon !== null && clearIcon !== void 0 ? clearIcon : /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
32806
|
+
const mergedClearIcon = clearIcon !== null && clearIcon !== void 0 ? clearIcon : /* @__PURE__ */ reactExports.createElement(RefIcon$Y, null);
|
|
32807
32807
|
const getSuffixIconNode = (arrowIcon) => {
|
|
32808
32808
|
if (suffixIcon === null && !hasFeedback && !showArrow) {
|
|
32809
32809
|
return null;
|
|
@@ -32814,7 +32814,7 @@ function useIcons({
|
|
|
32814
32814
|
if (suffixIcon !== void 0) {
|
|
32815
32815
|
mergedSuffixIcon = getSuffixIconNode(suffixIcon);
|
|
32816
32816
|
} else if (loading) {
|
|
32817
|
-
mergedSuffixIcon = getSuffixIconNode(/* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
32817
|
+
mergedSuffixIcon = getSuffixIconNode(/* @__PURE__ */ reactExports.createElement(RefIcon$U, {
|
|
32818
32818
|
spin: true
|
|
32819
32819
|
}));
|
|
32820
32820
|
} else {
|
|
@@ -32824,11 +32824,11 @@ function useIcons({
|
|
|
32824
32824
|
showSearch
|
|
32825
32825
|
}) => {
|
|
32826
32826
|
if (open2 && showSearch) {
|
|
32827
|
-
return getSuffixIconNode(/* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
32827
|
+
return getSuffixIconNode(/* @__PURE__ */ reactExports.createElement(RefIcon$Q, {
|
|
32828
32828
|
className: iconCls
|
|
32829
32829
|
}));
|
|
32830
32830
|
}
|
|
32831
|
-
return getSuffixIconNode(/* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
32831
|
+
return getSuffixIconNode(/* @__PURE__ */ reactExports.createElement(RefIcon$R, {
|
|
32832
32832
|
className: iconCls
|
|
32833
32833
|
}));
|
|
32834
32834
|
};
|
|
@@ -32837,7 +32837,7 @@ function useIcons({
|
|
|
32837
32837
|
if (menuItemSelectedIcon !== void 0) {
|
|
32838
32838
|
mergedItemIcon = menuItemSelectedIcon;
|
|
32839
32839
|
} else if (multiple) {
|
|
32840
|
-
mergedItemIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
32840
|
+
mergedItemIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$S, null);
|
|
32841
32841
|
} else {
|
|
32842
32842
|
mergedItemIcon = null;
|
|
32843
32843
|
}
|
|
@@ -32845,7 +32845,7 @@ function useIcons({
|
|
|
32845
32845
|
if (removeIcon !== void 0) {
|
|
32846
32846
|
mergedRemoveIcon = removeIcon;
|
|
32847
32847
|
} else {
|
|
32848
|
-
mergedRemoveIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
32848
|
+
mergedRemoveIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$X, null);
|
|
32849
32849
|
}
|
|
32850
32850
|
return {
|
|
32851
32851
|
clearIcon: mergedClearIcon,
|
|
@@ -34814,7 +34814,7 @@ var LeftOutlined = function LeftOutlined2(props, ref) {
|
|
|
34814
34814
|
icon: LeftOutlined$1
|
|
34815
34815
|
}));
|
|
34816
34816
|
};
|
|
34817
|
-
var RefIcon$
|
|
34817
|
+
var RefIcon$P = /* @__PURE__ */ reactExports.forwardRef(LeftOutlined);
|
|
34818
34818
|
var ESC$1 = KeyCode.ESC, TAB = KeyCode.TAB;
|
|
34819
34819
|
function useAccessibility$1(_ref) {
|
|
34820
34820
|
var visible = _ref.visible, triggerRef = _ref.triggerRef, onVisibleChange = _ref.onVisibleChange, autoFocus = _ref.autoFocus, overlayRef = _ref.overlayRef;
|
|
@@ -36389,7 +36389,7 @@ var BarsOutlined = function BarsOutlined2(props, ref) {
|
|
|
36389
36389
|
icon: BarsOutlined$1
|
|
36390
36390
|
}));
|
|
36391
36391
|
};
|
|
36392
|
-
var RefIcon$
|
|
36392
|
+
var RefIcon$O = /* @__PURE__ */ reactExports.forwardRef(BarsOutlined);
|
|
36393
36393
|
const LayoutContext = /* @__PURE__ */ reactExports.createContext({
|
|
36394
36394
|
siderHook: {
|
|
36395
36395
|
addSider: () => null,
|
|
@@ -36719,11 +36719,11 @@ const Sider$1 = /* @__PURE__ */ reactExports.forwardRef((props, ref) => {
|
|
|
36719
36719
|
onClick: toggle,
|
|
36720
36720
|
className: classNames(`${prefixCls}-zero-width-trigger`, `${prefixCls}-zero-width-trigger-${reverseArrow ? "right" : "left"}`),
|
|
36721
36721
|
style: zeroWidthTriggerStyle
|
|
36722
|
-
}, trigger || /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
36722
|
+
}, trigger || /* @__PURE__ */ reactExports.createElement(RefIcon$O, null)) : null;
|
|
36723
36723
|
const reverseIcon = direction === "rtl" === !reverseArrow;
|
|
36724
36724
|
const iconObj = {
|
|
36725
|
-
expanded: reverseIcon ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
36726
|
-
collapsed: reverseIcon ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
36725
|
+
expanded: reverseIcon ? /* @__PURE__ */ reactExports.createElement(RefIcon$T, null) : /* @__PURE__ */ reactExports.createElement(RefIcon$P, null),
|
|
36726
|
+
collapsed: reverseIcon ? /* @__PURE__ */ reactExports.createElement(RefIcon$P, null) : /* @__PURE__ */ reactExports.createElement(RefIcon$T, null)
|
|
36727
36727
|
};
|
|
36728
36728
|
const status2 = collapsed ? "collapsed" : "expanded";
|
|
36729
36729
|
const defaultTrigger = iconObj[status2];
|
|
@@ -36767,7 +36767,7 @@ var EllipsisOutlined = function EllipsisOutlined2(props, ref) {
|
|
|
36767
36767
|
icon: EllipsisOutlined$1
|
|
36768
36768
|
}));
|
|
36769
36769
|
};
|
|
36770
|
-
var RefIcon$
|
|
36770
|
+
var RefIcon$N = /* @__PURE__ */ reactExports.forwardRef(EllipsisOutlined);
|
|
36771
36771
|
const MenuContext = /* @__PURE__ */ reactExports.createContext({
|
|
36772
36772
|
prefixCls: "",
|
|
36773
36773
|
firstLevel: true,
|
|
@@ -38055,7 +38055,7 @@ const InternalMenu = /* @__PURE__ */ reactExports.forwardRef((props, ref) => {
|
|
|
38055
38055
|
value: contextValue
|
|
38056
38056
|
}, /* @__PURE__ */ reactExports.createElement(ExportMenu, Object.assign({
|
|
38057
38057
|
getPopupContainer,
|
|
38058
|
-
overflowedIndicator: /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
38058
|
+
overflowedIndicator: /* @__PURE__ */ reactExports.createElement(RefIcon$N, null),
|
|
38059
38059
|
overflowedIndicatorPopupClassName: classNames(prefixCls, `${prefixCls}-${theme2}`, overflowedIndicatorPopupClassName),
|
|
38060
38060
|
mode: mergedMode,
|
|
38061
38061
|
selectable: mergedSelectable,
|
|
@@ -38521,9 +38521,9 @@ const Dropdown$1 = (props) => {
|
|
|
38521
38521
|
rootClassName: classNames(cssVarCls, rootCls),
|
|
38522
38522
|
expandIcon: /* @__PURE__ */ reactExports.createElement("span", {
|
|
38523
38523
|
className: `${prefixCls}-menu-submenu-arrow`
|
|
38524
|
-
}, direction === "rtl" ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
38524
|
+
}, direction === "rtl" ? /* @__PURE__ */ reactExports.createElement(RefIcon$P, {
|
|
38525
38525
|
className: `${prefixCls}-menu-submenu-arrow-icon`
|
|
38526
|
-
}) : /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
38526
|
+
}) : /* @__PURE__ */ reactExports.createElement(RefIcon$T, {
|
|
38527
38527
|
className: `${prefixCls}-menu-submenu-arrow-icon`
|
|
38528
38528
|
})),
|
|
38529
38529
|
mode: "vertical",
|
|
@@ -40415,7 +40415,7 @@ var PlusOutlined = function PlusOutlined2(props, ref) {
|
|
|
40415
40415
|
icon: PlusOutlined$1
|
|
40416
40416
|
}));
|
|
40417
40417
|
};
|
|
40418
|
-
var RefIcon$
|
|
40418
|
+
var RefIcon$M = /* @__PURE__ */ reactExports.forwardRef(PlusOutlined);
|
|
40419
40419
|
const TabContext = /* @__PURE__ */ reactExports.createContext(null);
|
|
40420
40420
|
var useIndicator = function useIndicator2(options) {
|
|
40421
40421
|
var activeTabOffset = options.activeTabOffset, horizontal = options.horizontal, rtl = options.rtl, _options$indicator = options.indicator, indicator = _options$indicator === void 0 ? {} : _options$indicator;
|
|
@@ -42688,8 +42688,8 @@ const InternalTabs = /* @__PURE__ */ reactExports.forwardRef((props, ref) => {
|
|
|
42688
42688
|
}) => {
|
|
42689
42689
|
onEdit === null || onEdit === void 0 ? void 0 : onEdit(editType === "add" ? event : key, editType);
|
|
42690
42690
|
},
|
|
42691
|
-
removeIcon: (_a = removeIcon !== null && removeIcon !== void 0 ? removeIcon : tabs2 === null || tabs2 === void 0 ? void 0 : tabs2.removeIcon) !== null && _a !== void 0 ? _a : /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
42692
|
-
addIcon: (addIcon !== null && addIcon !== void 0 ? addIcon : tabs2 === null || tabs2 === void 0 ? void 0 : tabs2.addIcon) || /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
42691
|
+
removeIcon: (_a = removeIcon !== null && removeIcon !== void 0 ? removeIcon : tabs2 === null || tabs2 === void 0 ? void 0 : tabs2.removeIcon) !== null && _a !== void 0 ? _a : /* @__PURE__ */ reactExports.createElement(RefIcon$X, null),
|
|
42692
|
+
addIcon: (addIcon !== null && addIcon !== void 0 ? addIcon : tabs2 === null || tabs2 === void 0 ? void 0 : tabs2.addIcon) || /* @__PURE__ */ reactExports.createElement(RefIcon$M, null),
|
|
42693
42693
|
showAdd: hideAdd !== true
|
|
42694
42694
|
};
|
|
42695
42695
|
}
|
|
@@ -42718,7 +42718,7 @@ const InternalTabs = /* @__PURE__ */ reactExports.forwardRef((props, ref) => {
|
|
|
42718
42718
|
style: mergedStyle,
|
|
42719
42719
|
editable,
|
|
42720
42720
|
more: Object.assign({
|
|
42721
|
-
icon: (_l = (_k = (_j = (_h = tabs2 === null || tabs2 === void 0 ? void 0 : tabs2.more) === null || _h === void 0 ? void 0 : _h.icon) !== null && _j !== void 0 ? _j : tabs2 === null || tabs2 === void 0 ? void 0 : tabs2.moreIcon) !== null && _k !== void 0 ? _k : moreIcon) !== null && _l !== void 0 ? _l : /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
42721
|
+
icon: (_l = (_k = (_j = (_h = tabs2 === null || tabs2 === void 0 ? void 0 : tabs2.more) === null || _h === void 0 ? void 0 : _h.icon) !== null && _j !== void 0 ? _j : tabs2 === null || tabs2 === void 0 ? void 0 : tabs2.moreIcon) !== null && _k !== void 0 ? _k : moreIcon) !== null && _l !== void 0 ? _l : /* @__PURE__ */ reactExports.createElement(RefIcon$N, null),
|
|
42722
42722
|
transitionName: `${rootPrefixCls}-slide-up`
|
|
42723
42723
|
}, more),
|
|
42724
42724
|
prefixCls,
|
|
@@ -44088,7 +44088,7 @@ var UpOutlined = function UpOutlined2(props, ref) {
|
|
|
44088
44088
|
icon: UpOutlined$1
|
|
44089
44089
|
}));
|
|
44090
44090
|
};
|
|
44091
|
-
var RefIcon$
|
|
44091
|
+
var RefIcon$L = /* @__PURE__ */ reactExports.forwardRef(UpOutlined);
|
|
44092
44092
|
function hasAddon(props) {
|
|
44093
44093
|
return !!(props.addonBefore || props.addonAfter);
|
|
44094
44094
|
}
|
|
@@ -44447,7 +44447,7 @@ const getAllowClear = (allowClear) => {
|
|
|
44447
44447
|
mergedAllowClear = allowClear;
|
|
44448
44448
|
} else if (allowClear) {
|
|
44449
44449
|
mergedAllowClear = {
|
|
44450
|
-
clearIcon: /* @__PURE__ */ React.createElement(RefIcon$
|
|
44450
|
+
clearIcon: /* @__PURE__ */ React.createElement(RefIcon$Y, null)
|
|
44451
44451
|
};
|
|
44452
44452
|
}
|
|
44453
44453
|
return mergedAllowClear;
|
|
@@ -44931,7 +44931,7 @@ const DropdownButton = (props) => {
|
|
|
44931
44931
|
placement,
|
|
44932
44932
|
getPopupContainer,
|
|
44933
44933
|
href,
|
|
44934
|
-
icon: icon2 = /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
44934
|
+
icon: icon2 = /* @__PURE__ */ reactExports.createElement(RefIcon$N, null),
|
|
44935
44935
|
title: title2,
|
|
44936
44936
|
buttonsRender = (buttons) => buttons,
|
|
44937
44937
|
mouseEnterDelay,
|
|
@@ -46131,7 +46131,7 @@ var QuestionCircleOutlined = function QuestionCircleOutlined2(props, ref) {
|
|
|
46131
46131
|
icon: QuestionCircleOutlined$1
|
|
46132
46132
|
}));
|
|
46133
46133
|
};
|
|
46134
|
-
var RefIcon$
|
|
46134
|
+
var RefIcon$K = /* @__PURE__ */ reactExports.forwardRef(QuestionCircleOutlined);
|
|
46135
46135
|
var __rest$s = function(s2, e2) {
|
|
46136
46136
|
var t2 = {};
|
|
46137
46137
|
for (var p2 in s2) if (Object.prototype.hasOwnProperty.call(s2, p2) && e2.indexOf(p2) < 0) t2[p2] = s2[p2];
|
|
@@ -46178,7 +46178,7 @@ const FormItemLabel = ({
|
|
|
46178
46178
|
const tooltipProps = convertToTooltipProps(tooltip);
|
|
46179
46179
|
if (tooltipProps) {
|
|
46180
46180
|
const {
|
|
46181
|
-
icon: icon2 = /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
46181
|
+
icon: icon2 = /* @__PURE__ */ reactExports.createElement(RefIcon$K, null)
|
|
46182
46182
|
} = tooltipProps, restTooltipProps = __rest$s(tooltipProps, ["icon"]);
|
|
46183
46183
|
const tooltipNode = /* @__PURE__ */ reactExports.createElement(Tooltip2, Object.assign({}, restTooltipProps), /* @__PURE__ */ reactExports.cloneElement(icon2, {
|
|
46184
46184
|
className: `${prefixCls}-item-tooltip`,
|
|
@@ -46223,10 +46223,10 @@ const FormItemLabel = ({
|
|
|
46223
46223
|
}, labelChildren));
|
|
46224
46224
|
};
|
|
46225
46225
|
const iconMap = {
|
|
46226
|
-
success: RefIcon$
|
|
46227
|
-
warning: RefIcon$
|
|
46228
|
-
error: RefIcon$
|
|
46229
|
-
validating: RefIcon$
|
|
46226
|
+
success: RefIcon$Z,
|
|
46227
|
+
warning: RefIcon$W,
|
|
46228
|
+
error: RefIcon$Y,
|
|
46229
|
+
validating: RefIcon$U
|
|
46230
46230
|
};
|
|
46231
46231
|
function StatusProvider({
|
|
46232
46232
|
children,
|
|
@@ -46701,7 +46701,7 @@ var EyeOutlined = function EyeOutlined2(props, ref) {
|
|
|
46701
46701
|
icon: EyeOutlined$1
|
|
46702
46702
|
}));
|
|
46703
46703
|
};
|
|
46704
|
-
var RefIcon$
|
|
46704
|
+
var RefIcon$J = /* @__PURE__ */ reactExports.forwardRef(EyeOutlined);
|
|
46705
46705
|
function addEventListenerWrap(target, eventType, cb, option) {
|
|
46706
46706
|
var callback = ReactDOM.unstable_batchedUpdates ? function run(e2) {
|
|
46707
46707
|
ReactDOM.unstable_batchedUpdates(cb, e2);
|
|
@@ -47065,7 +47065,7 @@ var EyeInvisibleOutlined = function EyeInvisibleOutlined2(props, ref) {
|
|
|
47065
47065
|
icon: EyeInvisibleOutlined$1
|
|
47066
47066
|
}));
|
|
47067
47067
|
};
|
|
47068
|
-
var RefIcon$
|
|
47068
|
+
var RefIcon$I = /* @__PURE__ */ reactExports.forwardRef(EyeInvisibleOutlined);
|
|
47069
47069
|
var __rest$n = function(s2, e2) {
|
|
47070
47070
|
var t2 = {};
|
|
47071
47071
|
for (var p2 in s2) if (Object.prototype.hasOwnProperty.call(s2, p2) && e2.indexOf(p2) < 0) t2[p2] = s2[p2];
|
|
@@ -47074,7 +47074,7 @@ var __rest$n = function(s2, e2) {
|
|
|
47074
47074
|
}
|
|
47075
47075
|
return t2;
|
|
47076
47076
|
};
|
|
47077
|
-
const defaultIconRender = (visible) => visible ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
47077
|
+
const defaultIconRender = (visible) => visible ? /* @__PURE__ */ reactExports.createElement(RefIcon$J, null) : /* @__PURE__ */ reactExports.createElement(RefIcon$I, null);
|
|
47078
47078
|
const actionMap = {
|
|
47079
47079
|
click: "onClick",
|
|
47080
47080
|
hover: "onMouseOver"
|
|
@@ -47226,7 +47226,7 @@ const Search = /* @__PURE__ */ reactExports.forwardRef((props, ref) => {
|
|
|
47226
47226
|
customOnPressEnter === null || customOnPressEnter === void 0 ? void 0 : customOnPressEnter(e2);
|
|
47227
47227
|
onSearch(e2);
|
|
47228
47228
|
};
|
|
47229
|
-
const searchIcon = typeof enterButton === "boolean" ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
47229
|
+
const searchIcon = typeof enterButton === "boolean" ? /* @__PURE__ */ reactExports.createElement(RefIcon$Q, null) : null;
|
|
47230
47230
|
const btnClassName = `${prefixCls}-button`;
|
|
47231
47231
|
let button;
|
|
47232
47232
|
const enterButtonAsElement = enterButton || {};
|
|
@@ -48005,7 +48005,7 @@ var DoubleLeftOutlined = function DoubleLeftOutlined2(props, ref) {
|
|
|
48005
48005
|
icon: DoubleLeftOutlined$1
|
|
48006
48006
|
}));
|
|
48007
48007
|
};
|
|
48008
|
-
var RefIcon$
|
|
48008
|
+
var RefIcon$H = /* @__PURE__ */ reactExports.forwardRef(DoubleLeftOutlined);
|
|
48009
48009
|
var DoubleRightOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" } }] }, "name": "double-right", "theme": "outlined" };
|
|
48010
48010
|
var DoubleRightOutlined = function DoubleRightOutlined2(props, ref) {
|
|
48011
48011
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -48013,7 +48013,7 @@ var DoubleRightOutlined = function DoubleRightOutlined2(props, ref) {
|
|
|
48013
48013
|
icon: DoubleRightOutlined$1
|
|
48014
48014
|
}));
|
|
48015
48015
|
};
|
|
48016
|
-
var RefIcon$
|
|
48016
|
+
var RefIcon$G = /* @__PURE__ */ reactExports.forwardRef(DoubleRightOutlined);
|
|
48017
48017
|
var locale = {
|
|
48018
48018
|
// Options
|
|
48019
48019
|
items_per_page: "条/页",
|
|
@@ -49226,21 +49226,21 @@ const Pagination = (props) => {
|
|
|
49226
49226
|
className: `${prefixCls}-item-link`,
|
|
49227
49227
|
type: "button",
|
|
49228
49228
|
tabIndex: -1
|
|
49229
|
-
}, direction === "rtl" ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
49229
|
+
}, direction === "rtl" ? /* @__PURE__ */ reactExports.createElement(RefIcon$T, null) : /* @__PURE__ */ reactExports.createElement(RefIcon$P, null));
|
|
49230
49230
|
const nextIcon = /* @__PURE__ */ reactExports.createElement("button", {
|
|
49231
49231
|
className: `${prefixCls}-item-link`,
|
|
49232
49232
|
type: "button",
|
|
49233
49233
|
tabIndex: -1
|
|
49234
|
-
}, direction === "rtl" ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
49234
|
+
}, direction === "rtl" ? /* @__PURE__ */ reactExports.createElement(RefIcon$P, null) : /* @__PURE__ */ reactExports.createElement(RefIcon$T, null));
|
|
49235
49235
|
const jumpPrevIcon = (
|
|
49236
49236
|
// biome-ignore lint/a11y/useValidAnchor: it is hard to refactor
|
|
49237
49237
|
/* @__PURE__ */ reactExports.createElement("a", {
|
|
49238
49238
|
className: `${prefixCls}-item-link`
|
|
49239
49239
|
}, /* @__PURE__ */ reactExports.createElement("div", {
|
|
49240
49240
|
className: `${prefixCls}-item-container`
|
|
49241
|
-
}, direction === "rtl" ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
49241
|
+
}, direction === "rtl" ? /* @__PURE__ */ reactExports.createElement(RefIcon$G, {
|
|
49242
49242
|
className: `${prefixCls}-item-link-icon`
|
|
49243
|
-
}) : /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
49243
|
+
}) : /* @__PURE__ */ reactExports.createElement(RefIcon$H, {
|
|
49244
49244
|
className: `${prefixCls}-item-link-icon`
|
|
49245
49245
|
}), ellipsis))
|
|
49246
49246
|
);
|
|
@@ -49250,9 +49250,9 @@ const Pagination = (props) => {
|
|
|
49250
49250
|
className: `${prefixCls}-item-link`
|
|
49251
49251
|
}, /* @__PURE__ */ reactExports.createElement("div", {
|
|
49252
49252
|
className: `${prefixCls}-item-container`
|
|
49253
|
-
}, direction === "rtl" ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
49253
|
+
}, direction === "rtl" ? /* @__PURE__ */ reactExports.createElement(RefIcon$H, {
|
|
49254
49254
|
className: `${prefixCls}-item-link-icon`
|
|
49255
|
-
}) : /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
49255
|
+
}) : /* @__PURE__ */ reactExports.createElement(RefIcon$G, {
|
|
49256
49256
|
className: `${prefixCls}-item-link-icon`
|
|
49257
49257
|
}), ellipsis))
|
|
49258
49258
|
);
|
|
@@ -51414,9 +51414,9 @@ const Progress = /* @__PURE__ */ reactExports.forwardRef((props, ref) => {
|
|
|
51414
51414
|
if (infoPosition === "inner" || format2 || progressStatus !== "exception" && progressStatus !== "success") {
|
|
51415
51415
|
text2 = textFormatter(validProgress(percent), validProgress(successPercent));
|
|
51416
51416
|
} else if (progressStatus === "exception") {
|
|
51417
|
-
text2 = isLineType ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
51417
|
+
text2 = isLineType ? /* @__PURE__ */ reactExports.createElement(RefIcon$Y, null) : /* @__PURE__ */ reactExports.createElement(RefIcon$X, null);
|
|
51418
51418
|
} else if (progressStatus === "success") {
|
|
51419
|
-
text2 = isLineType ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
51419
|
+
text2 = isLineType ? /* @__PURE__ */ reactExports.createElement(RefIcon$Z, null) : /* @__PURE__ */ reactExports.createElement(RefIcon$S, null);
|
|
51420
51420
|
}
|
|
51421
51421
|
return /* @__PURE__ */ reactExports.createElement("span", {
|
|
51422
51422
|
className: classNames(`${prefixCls}-text`, {
|
|
@@ -51477,7 +51477,7 @@ var ReloadOutlined = function ReloadOutlined2(props, ref) {
|
|
|
51477
51477
|
icon: ReloadOutlined$1
|
|
51478
51478
|
}));
|
|
51479
51479
|
};
|
|
51480
|
-
var RefIcon$
|
|
51480
|
+
var RefIcon$F = /* @__PURE__ */ reactExports.forwardRef(ReloadOutlined);
|
|
51481
51481
|
const InternalPanel = /* @__PURE__ */ reactExports.forwardRef((props, ref) => {
|
|
51482
51482
|
const {
|
|
51483
51483
|
prefixCls,
|
|
@@ -51960,8 +51960,8 @@ const SplitBar = (props) => {
|
|
|
51960
51960
|
const transformStyle = {
|
|
51961
51961
|
[`--${splitBarPrefixCls}-preview-offset`]: `${constrainedOffset}px`
|
|
51962
51962
|
};
|
|
51963
|
-
const StartIcon = vertical ? RefIcon$
|
|
51964
|
-
const EndIcon = vertical ? RefIcon$
|
|
51963
|
+
const StartIcon = vertical ? RefIcon$L : RefIcon$P;
|
|
51964
|
+
const EndIcon = vertical ? RefIcon$R : RefIcon$T;
|
|
51965
51965
|
return /* @__PURE__ */ React.createElement("div", {
|
|
51966
51966
|
className: splitBarPrefixCls,
|
|
51967
51967
|
role: "separator",
|
|
@@ -52831,7 +52831,7 @@ const InternalSwitch = /* @__PURE__ */ reactExports.forwardRef((props, ref) => {
|
|
|
52831
52831
|
const prefixCls = getPrefixCls("switch", customizePrefixCls);
|
|
52832
52832
|
const loadingIcon = /* @__PURE__ */ reactExports.createElement("div", {
|
|
52833
52833
|
className: `${prefixCls}-handle`
|
|
52834
|
-
}, loading && /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
52834
|
+
}, loading && /* @__PURE__ */ reactExports.createElement(RefIcon$U, {
|
|
52835
52835
|
className: `${prefixCls}-loading-icon`
|
|
52836
52836
|
}));
|
|
52837
52837
|
const [wrapCSSVar, hashId, cssVarCls] = useStyle$5(prefixCls);
|
|
@@ -56087,7 +56087,7 @@ const useSelection = (config, rowSelection) => {
|
|
|
56087
56087
|
}, /* @__PURE__ */ reactExports.createElement(Dropdown, {
|
|
56088
56088
|
menu,
|
|
56089
56089
|
getPopupContainer
|
|
56090
|
-
}, /* @__PURE__ */ reactExports.createElement("span", null, /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
56090
|
+
}, /* @__PURE__ */ reactExports.createElement("span", null, /* @__PURE__ */ reactExports.createElement(RefIcon$R, null))));
|
|
56091
56091
|
}
|
|
56092
56092
|
const allDisabledData = flattedData.map((record, index2) => {
|
|
56093
56093
|
const key = getRowKey(record, index2);
|
|
@@ -56359,7 +56359,7 @@ var FilterFilled = function FilterFilled2(props, ref) {
|
|
|
56359
56359
|
icon: FilterFilled$1
|
|
56360
56360
|
}));
|
|
56361
56361
|
};
|
|
56362
|
-
var RefIcon$
|
|
56362
|
+
var RefIcon$E = /* @__PURE__ */ reactExports.forwardRef(FilterFilled);
|
|
56363
56363
|
var DropIndicator = function DropIndicator2(props) {
|
|
56364
56364
|
var dropPosition = props.dropPosition, dropLevelOffset = props.dropLevelOffset, indent2 = props.indent;
|
|
56365
56365
|
var style2 = {
|
|
@@ -57657,7 +57657,7 @@ var FileOutlined = function FileOutlined2(props, ref) {
|
|
|
57657
57657
|
icon: FileOutlined$1
|
|
57658
57658
|
}));
|
|
57659
57659
|
};
|
|
57660
|
-
var RefIcon$
|
|
57660
|
+
var RefIcon$D = /* @__PURE__ */ reactExports.forwardRef(FileOutlined);
|
|
57661
57661
|
var FolderOpenOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z" } }] }, "name": "folder-open", "theme": "outlined" };
|
|
57662
57662
|
var FolderOpenOutlined = function FolderOpenOutlined2(props, ref) {
|
|
57663
57663
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -57665,7 +57665,7 @@ var FolderOpenOutlined = function FolderOpenOutlined2(props, ref) {
|
|
|
57665
57665
|
icon: FolderOpenOutlined$1
|
|
57666
57666
|
}));
|
|
57667
57667
|
};
|
|
57668
|
-
var RefIcon$
|
|
57668
|
+
var RefIcon$C = /* @__PURE__ */ reactExports.forwardRef(FolderOpenOutlined);
|
|
57669
57669
|
var FolderOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z" } }] }, "name": "folder", "theme": "outlined" };
|
|
57670
57670
|
var FolderOutlined = function FolderOutlined2(props, ref) {
|
|
57671
57671
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -57673,7 +57673,7 @@ var FolderOutlined = function FolderOutlined2(props, ref) {
|
|
|
57673
57673
|
icon: FolderOutlined$1
|
|
57674
57674
|
}));
|
|
57675
57675
|
};
|
|
57676
|
-
var RefIcon$
|
|
57676
|
+
var RefIcon$B = /* @__PURE__ */ reactExports.forwardRef(FolderOutlined);
|
|
57677
57677
|
var HolderOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z" } }] }, "name": "holder", "theme": "outlined" };
|
|
57678
57678
|
var HolderOutlined = function HolderOutlined2(props, ref) {
|
|
57679
57679
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -57681,7 +57681,7 @@ var HolderOutlined = function HolderOutlined2(props, ref) {
|
|
|
57681
57681
|
icon: HolderOutlined$1
|
|
57682
57682
|
}));
|
|
57683
57683
|
};
|
|
57684
|
-
var RefIcon$
|
|
57684
|
+
var RefIcon$A = /* @__PURE__ */ reactExports.forwardRef(HolderOutlined);
|
|
57685
57685
|
const genDirectoryStyle = ({
|
|
57686
57686
|
treeCls,
|
|
57687
57687
|
treeNodeCls,
|
|
@@ -58135,7 +58135,7 @@ var CaretDownFilled = function CaretDownFilled2(props, ref) {
|
|
|
58135
58135
|
icon: CaretDownFilled$1
|
|
58136
58136
|
}));
|
|
58137
58137
|
};
|
|
58138
|
-
var RefIcon$
|
|
58138
|
+
var RefIcon$z = /* @__PURE__ */ reactExports.forwardRef(CaretDownFilled);
|
|
58139
58139
|
var MinusSquareOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" } }, { "tag": "path", "attrs": { "d": "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" } }] }, "name": "minus-square", "theme": "outlined" };
|
|
58140
58140
|
var MinusSquareOutlined = function MinusSquareOutlined2(props, ref) {
|
|
58141
58141
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -58143,7 +58143,7 @@ var MinusSquareOutlined = function MinusSquareOutlined2(props, ref) {
|
|
|
58143
58143
|
icon: MinusSquareOutlined$1
|
|
58144
58144
|
}));
|
|
58145
58145
|
};
|
|
58146
|
-
var RefIcon$
|
|
58146
|
+
var RefIcon$y = /* @__PURE__ */ reactExports.forwardRef(MinusSquareOutlined);
|
|
58147
58147
|
var PlusSquareOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" } }, { "tag": "path", "attrs": { "d": "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" } }] }, "name": "plus-square", "theme": "outlined" };
|
|
58148
58148
|
var PlusSquareOutlined = function PlusSquareOutlined2(props, ref) {
|
|
58149
58149
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -58151,7 +58151,7 @@ var PlusSquareOutlined = function PlusSquareOutlined2(props, ref) {
|
|
|
58151
58151
|
icon: PlusSquareOutlined$1
|
|
58152
58152
|
}));
|
|
58153
58153
|
};
|
|
58154
|
-
var RefIcon$
|
|
58154
|
+
var RefIcon$x = /* @__PURE__ */ reactExports.forwardRef(PlusSquareOutlined);
|
|
58155
58155
|
const SwitcherIconCom = (props) => {
|
|
58156
58156
|
var _a, _b;
|
|
58157
58157
|
const {
|
|
@@ -58170,7 +58170,7 @@ const SwitcherIconCom = (props) => {
|
|
|
58170
58170
|
if (/* @__PURE__ */ reactExports.isValidElement(switcherLoadingIcon)) {
|
|
58171
58171
|
return switcherLoadingIcon;
|
|
58172
58172
|
}
|
|
58173
|
-
return /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
58173
|
+
return /* @__PURE__ */ reactExports.createElement(RefIcon$U, {
|
|
58174
58174
|
className: `${prefixCls}-switcher-loading-icon`
|
|
58175
58175
|
});
|
|
58176
58176
|
}
|
|
@@ -58192,7 +58192,7 @@ const SwitcherIconCom = (props) => {
|
|
|
58192
58192
|
}
|
|
58193
58193
|
return leafIcon;
|
|
58194
58194
|
}
|
|
58195
|
-
return showLeafIcon ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
58195
|
+
return showLeafIcon ? /* @__PURE__ */ reactExports.createElement(RefIcon$D, {
|
|
58196
58196
|
className: `${prefixCls}-switcher-line-icon`
|
|
58197
58197
|
}) : /* @__PURE__ */ reactExports.createElement("span", {
|
|
58198
58198
|
className: `${prefixCls}-switcher-leaf-line`
|
|
@@ -58209,13 +58209,13 @@ const SwitcherIconCom = (props) => {
|
|
|
58209
58209
|
return switcher;
|
|
58210
58210
|
}
|
|
58211
58211
|
if (showLine) {
|
|
58212
|
-
return expanded ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
58212
|
+
return expanded ? /* @__PURE__ */ reactExports.createElement(RefIcon$y, {
|
|
58213
58213
|
className: `${prefixCls}-switcher-line-icon`
|
|
58214
|
-
}) : /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
58214
|
+
}) : /* @__PURE__ */ reactExports.createElement(RefIcon$x, {
|
|
58215
58215
|
className: `${prefixCls}-switcher-line-icon`
|
|
58216
58216
|
});
|
|
58217
58217
|
}
|
|
58218
|
-
return /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
58218
|
+
return /* @__PURE__ */ reactExports.createElement(RefIcon$z, {
|
|
58219
58219
|
className: switcherCls
|
|
58220
58220
|
});
|
|
58221
58221
|
};
|
|
@@ -58277,7 +58277,7 @@ const Tree$1 = /* @__PURE__ */ React.forwardRef((props, ref) => {
|
|
|
58277
58277
|
break;
|
|
58278
58278
|
}
|
|
58279
58279
|
if (mergedDraggable.icon !== false) {
|
|
58280
|
-
mergedDraggable.icon = mergedDraggable.icon || /* @__PURE__ */ React.createElement(RefIcon$
|
|
58280
|
+
mergedDraggable.icon = mergedDraggable.icon || /* @__PURE__ */ React.createElement(RefIcon$A, null);
|
|
58281
58281
|
}
|
|
58282
58282
|
return mergedDraggable;
|
|
58283
58283
|
}, [draggable]);
|
|
@@ -58396,9 +58396,9 @@ function getIcon(props) {
|
|
|
58396
58396
|
expanded
|
|
58397
58397
|
} = props;
|
|
58398
58398
|
if (isLeaf) {
|
|
58399
|
-
return /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
58399
|
+
return /* @__PURE__ */ reactExports.createElement(RefIcon$D, null);
|
|
58400
58400
|
}
|
|
58401
|
-
return expanded ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
58401
|
+
return expanded ? /* @__PURE__ */ reactExports.createElement(RefIcon$C, null) : /* @__PURE__ */ reactExports.createElement(RefIcon$B, null);
|
|
58402
58402
|
}
|
|
58403
58403
|
function getTreeData({
|
|
58404
58404
|
treeData,
|
|
@@ -58541,7 +58541,7 @@ const FilterSearch = (props) => {
|
|
|
58541
58541
|
return /* @__PURE__ */ reactExports.createElement("div", {
|
|
58542
58542
|
className: `${tablePrefixCls}-filter-dropdown-search`
|
|
58543
58543
|
}, /* @__PURE__ */ reactExports.createElement(Input$1, {
|
|
58544
|
-
prefix: /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
58544
|
+
prefix: /* @__PURE__ */ reactExports.createElement(RefIcon$Q, null),
|
|
58545
58545
|
placeholder: locale2.filterSearchPlaceholder,
|
|
58546
58546
|
onChange,
|
|
58547
58547
|
value,
|
|
@@ -58952,7 +58952,7 @@ const FilterDropdown = (props) => {
|
|
|
58952
58952
|
} else if (column2.filterIcon) {
|
|
58953
58953
|
filterIcon = column2.filterIcon;
|
|
58954
58954
|
} else {
|
|
58955
|
-
filterIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
58955
|
+
filterIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$E, null);
|
|
58956
58956
|
}
|
|
58957
58957
|
return /* @__PURE__ */ reactExports.createElement("span", {
|
|
58958
58958
|
role: "button",
|
|
@@ -59261,7 +59261,7 @@ var CaretDownOutlined = function CaretDownOutlined2(props, ref) {
|
|
|
59261
59261
|
icon: CaretDownOutlined$1
|
|
59262
59262
|
}));
|
|
59263
59263
|
};
|
|
59264
|
-
var RefIcon$
|
|
59264
|
+
var RefIcon$w = /* @__PURE__ */ reactExports.forwardRef(CaretDownOutlined);
|
|
59265
59265
|
var CaretUpOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" } }] }, "name": "caret-up", "theme": "outlined" };
|
|
59266
59266
|
var CaretUpOutlined = function CaretUpOutlined2(props, ref) {
|
|
59267
59267
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -59269,7 +59269,7 @@ var CaretUpOutlined = function CaretUpOutlined2(props, ref) {
|
|
|
59269
59269
|
icon: CaretUpOutlined$1
|
|
59270
59270
|
}));
|
|
59271
59271
|
};
|
|
59272
|
-
var RefIcon$
|
|
59272
|
+
var RefIcon$v = /* @__PURE__ */ reactExports.forwardRef(CaretUpOutlined);
|
|
59273
59273
|
const ASCEND = "ascend";
|
|
59274
59274
|
const DESCEND = "descend";
|
|
59275
59275
|
const getMultiplePriority = (column2) => {
|
|
@@ -59344,12 +59344,12 @@ const injectSorter = (prefixCls, columns2, sorterStates, triggerSorter, defaultS
|
|
|
59344
59344
|
sortOrder
|
|
59345
59345
|
});
|
|
59346
59346
|
} else {
|
|
59347
|
-
const upNode = sortDirections.includes(ASCEND) && /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
59347
|
+
const upNode = sortDirections.includes(ASCEND) && /* @__PURE__ */ reactExports.createElement(RefIcon$v, {
|
|
59348
59348
|
className: classNames(`${prefixCls}-column-sorter-up`, {
|
|
59349
59349
|
active: sortOrder === ASCEND
|
|
59350
59350
|
})
|
|
59351
59351
|
});
|
|
59352
|
-
const downNode = sortDirections.includes(DESCEND) && /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
59352
|
+
const downNode = sortDirections.includes(DESCEND) && /* @__PURE__ */ reactExports.createElement(RefIcon$w, {
|
|
59353
59353
|
className: classNames(`${prefixCls}-column-sorter-down`, {
|
|
59354
59354
|
active: sortOrder === DESCEND
|
|
59355
59355
|
})
|
|
@@ -61825,7 +61825,7 @@ var DeleteOutlined = function DeleteOutlined2(props, ref) {
|
|
|
61825
61825
|
icon: DeleteOutlined$1
|
|
61826
61826
|
}));
|
|
61827
61827
|
};
|
|
61828
|
-
var RefIcon$
|
|
61828
|
+
var RefIcon$u = /* @__PURE__ */ reactExports.forwardRef(DeleteOutlined);
|
|
61829
61829
|
var EditOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" } }] }, "name": "edit", "theme": "outlined" };
|
|
61830
61830
|
var EditOutlined = function EditOutlined2(props, ref) {
|
|
61831
61831
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -61833,7 +61833,7 @@ var EditOutlined = function EditOutlined2(props, ref) {
|
|
|
61833
61833
|
icon: EditOutlined$1
|
|
61834
61834
|
}));
|
|
61835
61835
|
};
|
|
61836
|
-
var RefIcon$
|
|
61836
|
+
var RefIcon$t = /* @__PURE__ */ reactExports.forwardRef(EditOutlined);
|
|
61837
61837
|
var EnterOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z" } }] }, "name": "enter", "theme": "outlined" };
|
|
61838
61838
|
var EnterOutlined = function EnterOutlined2(props, ref) {
|
|
61839
61839
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -61841,7 +61841,7 @@ var EnterOutlined = function EnterOutlined2(props, ref) {
|
|
|
61841
61841
|
icon: EnterOutlined$1
|
|
61842
61842
|
}));
|
|
61843
61843
|
};
|
|
61844
|
-
var RefIcon$
|
|
61844
|
+
var RefIcon$s = /* @__PURE__ */ reactExports.forwardRef(EnterOutlined);
|
|
61845
61845
|
const getTitleStyle = (fontSize, lineHeight, color2, token2) => {
|
|
61846
61846
|
const {
|
|
61847
61847
|
titleMarginBottom,
|
|
@@ -62162,7 +62162,7 @@ const Editable = (props) => {
|
|
|
62162
62162
|
onCancel,
|
|
62163
62163
|
onEnd,
|
|
62164
62164
|
component,
|
|
62165
|
-
enterIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
62165
|
+
enterIcon = /* @__PURE__ */ reactExports.createElement(RefIcon$s, null)
|
|
62166
62166
|
} = props;
|
|
62167
62167
|
const ref = reactExports.useRef(null);
|
|
62168
62168
|
const inComposition = reactExports.useRef(false);
|
|
@@ -62541,7 +62541,7 @@ var CopyOutlined = function CopyOutlined2(props, ref) {
|
|
|
62541
62541
|
icon: CopyOutlined$1
|
|
62542
62542
|
}));
|
|
62543
62543
|
};
|
|
62544
|
-
var RefIcon$
|
|
62544
|
+
var RefIcon$r = /* @__PURE__ */ reactExports.forwardRef(CopyOutlined);
|
|
62545
62545
|
function toList(val) {
|
|
62546
62546
|
if (val === false) {
|
|
62547
62547
|
return [false, false];
|
|
@@ -62598,7 +62598,7 @@ const CopyBtn = ({
|
|
|
62598
62598
|
onClick: onCopy,
|
|
62599
62599
|
"aria-label": ariaLabel,
|
|
62600
62600
|
tabIndex
|
|
62601
|
-
}, copied ? getNode(iconNodes[1], /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
62601
|
+
}, copied ? getNode(iconNodes[1], /* @__PURE__ */ reactExports.createElement(RefIcon$S, null), true) : getNode(iconNodes[0], btnLoading ? /* @__PURE__ */ reactExports.createElement(RefIcon$U, null) : /* @__PURE__ */ reactExports.createElement(RefIcon$r, null), true)));
|
|
62602
62602
|
};
|
|
62603
62603
|
const MeasureText = /* @__PURE__ */ reactExports.forwardRef(({
|
|
62604
62604
|
style: style2,
|
|
@@ -63034,7 +63034,7 @@ const Base = /* @__PURE__ */ reactExports.forwardRef((props, ref) => {
|
|
|
63034
63034
|
onClick: onEditClick,
|
|
63035
63035
|
"aria-label": ariaLabel,
|
|
63036
63036
|
tabIndex
|
|
63037
|
-
}, icon2 || /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
63037
|
+
}, icon2 || /* @__PURE__ */ reactExports.createElement(RefIcon$t, {
|
|
63038
63038
|
role: "button"
|
|
63039
63039
|
}))) : null;
|
|
63040
63040
|
};
|
|
@@ -63147,7 +63147,7 @@ var __rest$2 = function(s2, e2) {
|
|
|
63147
63147
|
}
|
|
63148
63148
|
return t2;
|
|
63149
63149
|
};
|
|
63150
|
-
const Text$
|
|
63150
|
+
const Text$4 = (props, ref) => {
|
|
63151
63151
|
const {
|
|
63152
63152
|
ellipsis,
|
|
63153
63153
|
children
|
|
@@ -63165,7 +63165,7 @@ const Text$3 = (props, ref) => {
|
|
|
63165
63165
|
component: "span"
|
|
63166
63166
|
}), children);
|
|
63167
63167
|
};
|
|
63168
|
-
const Text$
|
|
63168
|
+
const Text$5 = /* @__PURE__ */ reactExports.forwardRef(Text$4);
|
|
63169
63169
|
var __rest$1 = function(s2, e2) {
|
|
63170
63170
|
var t2 = {};
|
|
63171
63171
|
for (var p2 in s2) if (Object.prototype.hasOwnProperty.call(s2, p2) && e2.indexOf(p2) < 0) t2[p2] = s2[p2];
|
|
@@ -63188,7 +63188,7 @@ const Title = /* @__PURE__ */ reactExports.forwardRef((props, ref) => {
|
|
|
63188
63188
|
}), children);
|
|
63189
63189
|
});
|
|
63190
63190
|
const Typography = Typography$1;
|
|
63191
|
-
Typography.Text = Text$
|
|
63191
|
+
Typography.Text = Text$5;
|
|
63192
63192
|
Typography.Link = Link;
|
|
63193
63193
|
Typography.Title = Title;
|
|
63194
63194
|
Typography.Paragraph = Paragraph;
|
|
@@ -64431,7 +64431,7 @@ var FileTwoTone = function FileTwoTone2(props, ref) {
|
|
|
64431
64431
|
icon: FileTwoTone$1
|
|
64432
64432
|
}));
|
|
64433
64433
|
};
|
|
64434
|
-
var RefIcon$
|
|
64434
|
+
var RefIcon$q = /* @__PURE__ */ reactExports.forwardRef(FileTwoTone);
|
|
64435
64435
|
var PaperClipOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z" } }] }, "name": "paper-clip", "theme": "outlined" };
|
|
64436
64436
|
var PaperClipOutlined = function PaperClipOutlined2(props, ref) {
|
|
64437
64437
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -64439,7 +64439,7 @@ var PaperClipOutlined = function PaperClipOutlined2(props, ref) {
|
|
|
64439
64439
|
icon: PaperClipOutlined$1
|
|
64440
64440
|
}));
|
|
64441
64441
|
};
|
|
64442
|
-
var RefIcon$
|
|
64442
|
+
var RefIcon$p = /* @__PURE__ */ reactExports.forwardRef(PaperClipOutlined);
|
|
64443
64443
|
var PictureTwoTone$1 = { "icon": function render2(primaryColor, secondaryColor) {
|
|
64444
64444
|
return { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z", "fill": primaryColor } }, { "tag": "path", "attrs": { "d": "M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M276 368a28 28 0 1056 0 28 28 0 10-56 0z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z", "fill": primaryColor } }] };
|
|
64445
64445
|
}, "name": "picture", "theme": "twotone" };
|
|
@@ -64449,7 +64449,7 @@ var PictureTwoTone = function PictureTwoTone2(props, ref) {
|
|
|
64449
64449
|
icon: PictureTwoTone$1
|
|
64450
64450
|
}));
|
|
64451
64451
|
};
|
|
64452
|
-
var RefIcon$
|
|
64452
|
+
var RefIcon$o = /* @__PURE__ */ reactExports.forwardRef(PictureTwoTone);
|
|
64453
64453
|
function file2Obj(file) {
|
|
64454
64454
|
return Object.assign(Object.assign({}, file), {
|
|
64455
64455
|
lastModified: file.lastModified,
|
|
@@ -64575,7 +64575,7 @@ var DownloadOutlined = function DownloadOutlined2(props, ref) {
|
|
|
64575
64575
|
icon: DownloadOutlined$1
|
|
64576
64576
|
}));
|
|
64577
64577
|
};
|
|
64578
|
-
var RefIcon$
|
|
64578
|
+
var RefIcon$n = /* @__PURE__ */ reactExports.forwardRef(DownloadOutlined);
|
|
64579
64579
|
const ListItem = /* @__PURE__ */ reactExports.forwardRef(({
|
|
64580
64580
|
prefixCls,
|
|
64581
64581
|
className,
|
|
@@ -64653,7 +64653,7 @@ const ListItem = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
64653
64653
|
const listItemClassName = classNames(`${prefixCls}-list-item`, `${prefixCls}-list-item-${mergedStatus}`);
|
|
64654
64654
|
const linkProps = typeof file.linkProps === "string" ? JSON.parse(file.linkProps) : file.linkProps;
|
|
64655
64655
|
const removeIcon = (typeof showRemoveIcon === "function" ? showRemoveIcon(file) : showRemoveIcon) ? actionIconRender(
|
|
64656
|
-
(typeof customRemoveIcon === "function" ? customRemoveIcon(file) : customRemoveIcon) || /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
64656
|
+
(typeof customRemoveIcon === "function" ? customRemoveIcon(file) : customRemoveIcon) || /* @__PURE__ */ reactExports.createElement(RefIcon$u, null),
|
|
64657
64657
|
() => onClose(file),
|
|
64658
64658
|
prefixCls,
|
|
64659
64659
|
locale2.removeFile,
|
|
@@ -64661,7 +64661,7 @@ const ListItem = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
64661
64661
|
// https://github.com/ant-design/ant-design/issues/46171
|
|
64662
64662
|
true
|
|
64663
64663
|
) : null;
|
|
64664
|
-
const downloadIcon = (typeof showDownloadIcon === "function" ? showDownloadIcon(file) : showDownloadIcon) && mergedStatus === "done" ? actionIconRender((typeof customDownloadIcon === "function" ? customDownloadIcon(file) : customDownloadIcon) || /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
64664
|
+
const downloadIcon = (typeof showDownloadIcon === "function" ? showDownloadIcon(file) : showDownloadIcon) && mergedStatus === "done" ? actionIconRender((typeof customDownloadIcon === "function" ? customDownloadIcon(file) : customDownloadIcon) || /* @__PURE__ */ reactExports.createElement(RefIcon$n, null), () => onDownload(file), prefixCls, locale2.downloadFile) : null;
|
|
64665
64665
|
const downloadOrDelete = listType !== "picture-card" && listType !== "picture-circle" && /* @__PURE__ */ reactExports.createElement("span", {
|
|
64666
64666
|
key: "download-delete",
|
|
64667
64667
|
className: classNames(`${prefixCls}-list-item-actions`, {
|
|
@@ -64694,7 +64694,7 @@ const ListItem = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
64694
64694
|
rel: "noopener noreferrer",
|
|
64695
64695
|
onClick: (e2) => onPreview(file, e2),
|
|
64696
64696
|
title: locale2.previewFile
|
|
64697
|
-
}, typeof customPreviewIcon === "function" ? customPreviewIcon(file) : customPreviewIcon || /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
64697
|
+
}, typeof customPreviewIcon === "function" ? customPreviewIcon(file) : customPreviewIcon || /* @__PURE__ */ reactExports.createElement(RefIcon$J, null)) : null;
|
|
64698
64698
|
const pictureCardActions = (listType === "picture-card" || listType === "picture-circle") && mergedStatus !== "uploading" && /* @__PURE__ */ reactExports.createElement("span", {
|
|
64699
64699
|
className: `${prefixCls}-list-item-actions`
|
|
64700
64700
|
}, previewIcon, mergedStatus === "done" && downloadIcon, removeIcon);
|
|
@@ -64808,11 +64808,11 @@ const InternalUploadList = (props, ref) => {
|
|
|
64808
64808
|
}
|
|
64809
64809
|
const isLoading = file.status === "uploading";
|
|
64810
64810
|
if (listType.startsWith("picture")) {
|
|
64811
|
-
const loadingIcon = listType === "picture" ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
64812
|
-
const fileIcon = (isImgUrl === null || isImgUrl === void 0 ? void 0 : isImgUrl(file)) ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
64811
|
+
const loadingIcon = listType === "picture" ? /* @__PURE__ */ reactExports.createElement(RefIcon$U, null) : locale2.uploading;
|
|
64812
|
+
const fileIcon = (isImgUrl === null || isImgUrl === void 0 ? void 0 : isImgUrl(file)) ? /* @__PURE__ */ reactExports.createElement(RefIcon$o, null) : /* @__PURE__ */ reactExports.createElement(RefIcon$q, null);
|
|
64813
64813
|
return isLoading ? loadingIcon : fileIcon;
|
|
64814
64814
|
}
|
|
64815
|
-
return isLoading ? /* @__PURE__ */ reactExports.createElement(RefIcon$
|
|
64815
|
+
return isLoading ? /* @__PURE__ */ reactExports.createElement(RefIcon$U, null) : /* @__PURE__ */ reactExports.createElement(RefIcon$p, null);
|
|
64816
64816
|
};
|
|
64817
64817
|
const actionIconRender = (customIcon, callback, prefixCls2, title2, acceptUploadDisabled) => {
|
|
64818
64818
|
const btnProps = {
|
|
@@ -65309,7 +65309,7 @@ var ApiOutlined = function ApiOutlined2(props, ref) {
|
|
|
65309
65309
|
icon: ApiOutlined$1
|
|
65310
65310
|
}));
|
|
65311
65311
|
};
|
|
65312
|
-
var RefIcon$
|
|
65312
|
+
var RefIcon$m = /* @__PURE__ */ reactExports.forwardRef(ApiOutlined);
|
|
65313
65313
|
var ArrowLeftOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, "name": "arrow-left", "theme": "outlined" };
|
|
65314
65314
|
var ArrowLeftOutlined = function ArrowLeftOutlined2(props, ref) {
|
|
65315
65315
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -65317,7 +65317,7 @@ var ArrowLeftOutlined = function ArrowLeftOutlined2(props, ref) {
|
|
|
65317
65317
|
icon: ArrowLeftOutlined$1
|
|
65318
65318
|
}));
|
|
65319
65319
|
};
|
|
65320
|
-
var RefIcon$
|
|
65320
|
+
var RefIcon$l = /* @__PURE__ */ reactExports.forwardRef(ArrowLeftOutlined);
|
|
65321
65321
|
var BorderOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" } }] }, "name": "border", "theme": "outlined" };
|
|
65322
65322
|
var BorderOutlined = function BorderOutlined2(props, ref) {
|
|
65323
65323
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -65325,7 +65325,15 @@ var BorderOutlined = function BorderOutlined2(props, ref) {
|
|
|
65325
65325
|
icon: BorderOutlined$1
|
|
65326
65326
|
}));
|
|
65327
65327
|
};
|
|
65328
|
-
var RefIcon$
|
|
65328
|
+
var RefIcon$k = /* @__PURE__ */ reactExports.forwardRef(BorderOutlined);
|
|
65329
|
+
var CheckCircleOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" } }, { "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "check-circle", "theme": "outlined" };
|
|
65330
|
+
var CheckCircleOutlined = function CheckCircleOutlined2(props, ref) {
|
|
65331
|
+
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
65332
|
+
ref,
|
|
65333
|
+
icon: CheckCircleOutlined$1
|
|
65334
|
+
}));
|
|
65335
|
+
};
|
|
65336
|
+
var RefIcon$j = /* @__PURE__ */ reactExports.forwardRef(CheckCircleOutlined);
|
|
65329
65337
|
var ClockCircleFilled$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm176.5 585.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z" } }] }, "name": "clock-circle", "theme": "filled" };
|
|
65330
65338
|
var ClockCircleFilled = function ClockCircleFilled2(props, ref) {
|
|
65331
65339
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -65333,15 +65341,15 @@ var ClockCircleFilled = function ClockCircleFilled2(props, ref) {
|
|
|
65333
65341
|
icon: ClockCircleFilled$1
|
|
65334
65342
|
}));
|
|
65335
65343
|
};
|
|
65336
|
-
var RefIcon$
|
|
65337
|
-
var
|
|
65338
|
-
var
|
|
65344
|
+
var RefIcon$i = /* @__PURE__ */ reactExports.forwardRef(ClockCircleFilled);
|
|
65345
|
+
var CloseCircleOutlined$1 = { "icon": { "tag": "svg", "attrs": { "fill-rule": "evenodd", "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z" } }] }, "name": "close-circle", "theme": "outlined" };
|
|
65346
|
+
var CloseCircleOutlined = function CloseCircleOutlined2(props, ref) {
|
|
65339
65347
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
65340
65348
|
ref,
|
|
65341
|
-
icon:
|
|
65349
|
+
icon: CloseCircleOutlined$1
|
|
65342
65350
|
}));
|
|
65343
65351
|
};
|
|
65344
|
-
var RefIcon$
|
|
65352
|
+
var RefIcon$h = /* @__PURE__ */ reactExports.forwardRef(CloseCircleOutlined);
|
|
65345
65353
|
var FileExcelTwoTone$1 = { "icon": function render3(primaryColor, secondaryColor) {
|
|
65346
65354
|
return { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm51.6 120h35.7a12.04 12.04 0 0110.1 18.5L546.1 623l84 130.4c3.6 5.6 2 13-3.6 16.6-2 1.2-4.2 1.9-6.5 1.9h-37.5c-4.1 0-8-2.1-10.2-5.7L510 664.8l-62.7 101.5c-2.2 3.5-6 5.7-10.2 5.7h-34.5a12.04 12.04 0 01-10.2-18.4l83.4-132.8-82.3-130.4c-3.6-5.7-1.9-13.1 3.7-16.6 1.9-1.3 4.1-1.9 6.4-1.9H442c4.2 0 8.1 2.2 10.3 5.8l61.8 102.4 61.2-102.3c2.2-3.6 6.1-5.8 10.3-5.8z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z", "fill": primaryColor } }, { "tag": "path", "attrs": { "d": "M514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z", "fill": primaryColor } }] };
|
|
65347
65355
|
}, "name": "file-excel", "theme": "twotone" };
|
|
@@ -65351,7 +65359,7 @@ var FileExcelTwoTone = function FileExcelTwoTone2(props, ref) {
|
|
|
65351
65359
|
icon: FileExcelTwoTone$1
|
|
65352
65360
|
}));
|
|
65353
65361
|
};
|
|
65354
|
-
var RefIcon$
|
|
65362
|
+
var RefIcon$g = /* @__PURE__ */ reactExports.forwardRef(FileExcelTwoTone);
|
|
65355
65363
|
var FileImageTwoTone$1 = { "icon": function render4(primaryColor, secondaryColor) {
|
|
65356
65364
|
return { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-134 50c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328.1c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8.1 8.1 0 0112.7 0l136.5 174c4.1 5.2.4 12.9-6.3 12.9z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z", "fill": primaryColor } }, { "tag": "path", "attrs": { "d": "M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0z", "fill": primaryColor } }] };
|
|
65357
65365
|
}, "name": "file-image", "theme": "twotone" };
|
|
@@ -65361,7 +65369,7 @@ var FileImageTwoTone = function FileImageTwoTone2(props, ref) {
|
|
|
65361
65369
|
icon: FileImageTwoTone$1
|
|
65362
65370
|
}));
|
|
65363
65371
|
};
|
|
65364
|
-
var RefIcon$
|
|
65372
|
+
var RefIcon$f = /* @__PURE__ */ reactExports.forwardRef(FileImageTwoTone);
|
|
65365
65373
|
var FileMarkdownOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z" } }] }, "name": "file-markdown", "theme": "outlined" };
|
|
65366
65374
|
var FileMarkdownOutlined = function FileMarkdownOutlined2(props, ref) {
|
|
65367
65375
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -65369,7 +65377,7 @@ var FileMarkdownOutlined = function FileMarkdownOutlined2(props, ref) {
|
|
|
65369
65377
|
icon: FileMarkdownOutlined$1
|
|
65370
65378
|
}));
|
|
65371
65379
|
};
|
|
65372
|
-
var RefIcon$
|
|
65380
|
+
var RefIcon$e = /* @__PURE__ */ reactExports.forwardRef(FileMarkdownOutlined);
|
|
65373
65381
|
var FilePdfTwoTone$1 = { "icon": function render5(primaryColor, secondaryColor) {
|
|
65374
65382
|
return { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M509.2 490.8c-.7-1.3-1.4-1.9-2.2-2-2.9 3.3-2.2 31.5 2.7 51.4 4-13.6 4.7-40.5-.5-49.4zm-1.6 120.5c-7.7 20-18.8 47.3-32.1 71.4 4-1.6 8.1-3.3 12.3-5 17.6-7.2 37.3-15.3 58.9-20.2-14.9-11.8-28.4-27.7-39.1-46.2z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm55 287.6c16.1-1.9 30.6-2.8 44.3-2.3 12.8.4 23.6 2 32 5.1.2.1.3.1.5.2.4.2.8.3 1.2.5.5.2 1.1.4 1.6.7.1.1.3.1.4.2 4.1 1.8 7.5 4 10.1 6.6 9.1 9.1 11.8 26.1 6.2 39.6-3.2 7.7-11.7 20.5-33.3 20.5-21.8 0-53.9-9.7-82.1-24.8-25.5 4.3-53.7 13.9-80.9 23.1-5.8 2-11.8 4-17.6 5.9-38 65.2-66.5 79.4-84.1 79.4-4.2 0-7.8-.9-10.8-2-6.9-2.6-12.8-8-16.5-15-.9-1.7-1.6-3.4-2.2-5.2-1.6-4.8-2.1-9.6-1.3-13.6l.6-2.7c.1-.2.1-.4.2-.6.2-.7.4-1.4.7-2.1 0-.1.1-.2.1-.3 4.1-11.9 13.6-23.4 27.7-34.6 12.3-9.8 27.1-18.7 45.9-28.4 15.9-28 37.6-75.1 51.2-107.4-10.8-41.8-16.7-74.6-10.1-98.6.9-3.3 2.5-6.4 4.6-9.1.2-.2.3-.4.5-.6.1-.1.1-.2.2-.2 6.3-7.5 16.9-11.9 28.1-11.5 16.6.7 29.7 11.5 33 30.1 1.7 8 2.2 16.5 1.9 25.7v.7c0 .5 0 1-.1 1.5-.7 13.3-3 26.6-7.3 44.7-.4 1.6-.8 3.2-1.2 5.2l-1 4.1-.1.3c.1.2.1.3.2.5l1.8 4.5c.1.3.3.7.4 1 .7 1.6 1.4 3.3 2.1 4.8v.1c8.7 18.8 19.7 33.4 33.9 45.1 4.3 3.5 8.9 6.7 13.9 9.8 1.8-.5 3.5-.7 5.3-.9z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M391.5 761c5.7-4.4 16.2-14.5 30.1-34.7-10.3 9.4-23.4 22.4-30.1 34.7zm270.9-83l.2-.3h.2c.6-.4.5-.7.4-.9-.1-.1-4.5-9.3-45.1-7.4 35.3 13.9 43.5 9.1 44.3 8.6z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z", "fill": primaryColor } }, { "tag": "path", "attrs": { "d": "M535.9 585.3c-.8-1.7-1.5-3.3-2.2-4.9-.1-.3-.3-.7-.4-1l-1.8-4.5c-.1-.2-.1-.3-.2-.5l.1-.3.2-1.1c4-16.3 8.6-35.3 9.4-54.4v-.7c.3-8.6-.2-17.2-2-25.6-3.8-21.3-19.5-29.6-32.9-30.2-11.3-.5-21.8 4-28.1 11.4-.1.1-.1.2-.2.2-.2.2-.4.4-.5.6-2.1 2.7-3.7 5.8-4.6 9.1-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.4-51.2 107.4v.1c-27.7 14.3-64.1 35.8-73.6 62.9 0 .1-.1.2-.1.3-.2.7-.5 1.4-.7 2.1-.1.2-.1.4-.2.6-.2.9-.5 1.8-.6 2.7-.9 4-.4 8.8 1.3 13.6.6 1.8 1.3 3.5 2.2 5.2 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-2.6-2.6-6-4.8-10.1-6.6-.1-.1-.3-.1-.4-.2-.5-.2-1.1-.4-1.6-.7-.4-.2-.8-.3-1.2-.5-.2-.1-.3-.1-.5-.2-16.2-5.8-41.7-6.7-76.3-2.8l-5.3.6c-5-3-9.6-6.3-13.9-9.8-14.2-11.3-25.1-25.8-33.8-44.7zM391.5 761c6.7-12.3 19.8-25.3 30.1-34.7-13.9 20.2-24.4 30.3-30.1 34.7zM507 488.8c.8.1 1.5.7 2.2 2 5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4zm-19.2 188.9c-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4 10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2zm175.4-.9c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4z", "fill": primaryColor } }] };
|
|
65375
65383
|
}, "name": "file-pdf", "theme": "twotone" };
|
|
@@ -65379,7 +65387,7 @@ var FilePdfTwoTone = function FilePdfTwoTone2(props, ref) {
|
|
|
65379
65387
|
icon: FilePdfTwoTone$1
|
|
65380
65388
|
}));
|
|
65381
65389
|
};
|
|
65382
|
-
var RefIcon$
|
|
65390
|
+
var RefIcon$d = /* @__PURE__ */ reactExports.forwardRef(FilePdfTwoTone);
|
|
65383
65391
|
var FilePptTwoTone$1 = { "icon": function render6(primaryColor, secondaryColor) {
|
|
65384
65392
|
return { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M464.5 516.2v108.4h38.9c44.7 0 71.2-10.9 71.2-54.3 0-34.4-20.1-54.1-53.9-54.1h-56.2z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm90 218.4c0 55.2-36.8 94.1-96.2 94.1h-63.3V760c0 4.4-3.6 8-8 8H424c-4.4 0-8-3.6-8-8V484c0-4.4 3.6-8 8-8v.1h104c59.7 0 96 39.8 96 94.3z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z", "fill": primaryColor } }, { "tag": "path", "attrs": { "d": "M424 476.1c-4.4-.1-8 3.5-8 7.9v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.2c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1z", "fill": primaryColor } }] };
|
|
65385
65393
|
}, "name": "file-ppt", "theme": "twotone" };
|
|
@@ -65389,7 +65397,7 @@ var FilePptTwoTone = function FilePptTwoTone2(props, ref) {
|
|
|
65389
65397
|
icon: FilePptTwoTone$1
|
|
65390
65398
|
}));
|
|
65391
65399
|
};
|
|
65392
|
-
var RefIcon$
|
|
65400
|
+
var RefIcon$c = /* @__PURE__ */ reactExports.forwardRef(FilePptTwoTone);
|
|
65393
65401
|
var FileWordTwoTone$1 = { "icon": function render7(primaryColor, secondaryColor) {
|
|
65394
65402
|
return { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm101.3 129.3c1.3-5.4 6.1-9.3 11.7-9.3h35.6a12.04 12.04 0 0111.6 15.1l-74.4 276c-1.4 5.3-6.2 8.9-11.6 8.9h-31.8c-5.4 0-10.2-3.7-11.6-8.9l-52.8-197-52.8 197c-1.4 5.3-6.2 8.9-11.6 8.9h-32c-5.4 0-10.2-3.7-11.6-8.9l-74.2-276a12.02 12.02 0 0111.6-15.1h35.4c5.6 0 10.4 3.9 11.7 9.3L434.6 680l49.7-198.9c1.3-5.4 6.1-9.1 11.6-9.1h32.2c5.5 0 10.3 3.7 11.6 9.1l49.8 199.3 45.8-199.1z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z", "fill": primaryColor } }, { "tag": "path", "attrs": { "d": "M528.1 472h-32.2c-5.5 0-10.3 3.7-11.6 9.1L434.6 680l-46.1-198.7c-1.3-5.4-6.1-9.3-11.7-9.3h-35.4a12.02 12.02 0 00-11.6 15.1l74.2 276c1.4 5.2 6.2 8.9 11.6 8.9h32c5.4 0 10.2-3.6 11.6-8.9l52.8-197 52.8 197c1.4 5.2 6.2 8.9 11.6 8.9h31.8c5.4 0 10.2-3.6 11.6-8.9l74.4-276a12.04 12.04 0 00-11.6-15.1H647c-5.6 0-10.4 3.9-11.7 9.3l-45.8 199.1-49.8-199.3c-1.3-5.4-6.1-9.1-11.6-9.1z", "fill": primaryColor } }] };
|
|
65395
65403
|
}, "name": "file-word", "theme": "twotone" };
|
|
@@ -65399,7 +65407,7 @@ var FileWordTwoTone = function FileWordTwoTone2(props, ref) {
|
|
|
65399
65407
|
icon: FileWordTwoTone$1
|
|
65400
65408
|
}));
|
|
65401
65409
|
};
|
|
65402
|
-
var RefIcon$
|
|
65410
|
+
var RefIcon$b = /* @__PURE__ */ reactExports.forwardRef(FileWordTwoTone);
|
|
65403
65411
|
var GithubOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z" } }] }, "name": "github", "theme": "outlined" };
|
|
65404
65412
|
var GithubOutlined = function GithubOutlined2(props, ref) {
|
|
65405
65413
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -65407,7 +65415,7 @@ var GithubOutlined = function GithubOutlined2(props, ref) {
|
|
|
65407
65415
|
icon: GithubOutlined$1
|
|
65408
65416
|
}));
|
|
65409
65417
|
};
|
|
65410
|
-
var RefIcon$
|
|
65418
|
+
var RefIcon$a = /* @__PURE__ */ reactExports.forwardRef(GithubOutlined);
|
|
65411
65419
|
var GlobalOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z" } }] }, "name": "global", "theme": "outlined" };
|
|
65412
65420
|
var GlobalOutlined = function GlobalOutlined2(props, ref) {
|
|
65413
65421
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -65415,7 +65423,7 @@ var GlobalOutlined = function GlobalOutlined2(props, ref) {
|
|
|
65415
65423
|
icon: GlobalOutlined$1
|
|
65416
65424
|
}));
|
|
65417
65425
|
};
|
|
65418
|
-
var RefIcon$
|
|
65426
|
+
var RefIcon$9 = /* @__PURE__ */ reactExports.forwardRef(GlobalOutlined);
|
|
65419
65427
|
var HomeOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z" } }] }, "name": "home", "theme": "outlined" };
|
|
65420
65428
|
var HomeOutlined = function HomeOutlined2(props, ref) {
|
|
65421
65429
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -65423,7 +65431,7 @@ var HomeOutlined = function HomeOutlined2(props, ref) {
|
|
|
65423
65431
|
icon: HomeOutlined$1
|
|
65424
65432
|
}));
|
|
65425
65433
|
};
|
|
65426
|
-
var RefIcon$
|
|
65434
|
+
var RefIcon$8 = /* @__PURE__ */ reactExports.forwardRef(HomeOutlined);
|
|
65427
65435
|
var InboxOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z" } }] }, "name": "inbox", "theme": "outlined" };
|
|
65428
65436
|
var InboxOutlined = function InboxOutlined2(props, ref) {
|
|
65429
65437
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -65431,7 +65439,7 @@ var InboxOutlined = function InboxOutlined2(props, ref) {
|
|
|
65431
65439
|
icon: InboxOutlined$1
|
|
65432
65440
|
}));
|
|
65433
65441
|
};
|
|
65434
|
-
var RefIcon$
|
|
65442
|
+
var RefIcon$7 = /* @__PURE__ */ reactExports.forwardRef(InboxOutlined);
|
|
65435
65443
|
var MailOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z" } }] }, "name": "mail", "theme": "outlined" };
|
|
65436
65444
|
var MailOutlined = function MailOutlined2(props, ref) {
|
|
65437
65445
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -65439,7 +65447,7 @@ var MailOutlined = function MailOutlined2(props, ref) {
|
|
|
65439
65447
|
icon: MailOutlined$1
|
|
65440
65448
|
}));
|
|
65441
65449
|
};
|
|
65442
|
-
var RefIcon$
|
|
65450
|
+
var RefIcon$6 = /* @__PURE__ */ reactExports.forwardRef(MailOutlined);
|
|
65443
65451
|
var MinusOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, "name": "minus", "theme": "outlined" };
|
|
65444
65452
|
var MinusOutlined = function MinusOutlined2(props, ref) {
|
|
65445
65453
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -65447,7 +65455,7 @@ var MinusOutlined = function MinusOutlined2(props, ref) {
|
|
|
65447
65455
|
icon: MinusOutlined$1
|
|
65448
65456
|
}));
|
|
65449
65457
|
};
|
|
65450
|
-
var RefIcon$
|
|
65458
|
+
var RefIcon$5 = /* @__PURE__ */ reactExports.forwardRef(MinusOutlined);
|
|
65451
65459
|
var SettingOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" } }] }, "name": "setting", "theme": "outlined" };
|
|
65452
65460
|
var SettingOutlined = function SettingOutlined2(props, ref) {
|
|
65453
65461
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -65455,7 +65463,7 @@ var SettingOutlined = function SettingOutlined2(props, ref) {
|
|
|
65455
65463
|
icon: SettingOutlined$1
|
|
65456
65464
|
}));
|
|
65457
65465
|
};
|
|
65458
|
-
var RefIcon$
|
|
65466
|
+
var RefIcon$4 = /* @__PURE__ */ reactExports.forwardRef(SettingOutlined);
|
|
65459
65467
|
var StopOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z" } }] }, "name": "stop", "theme": "outlined" };
|
|
65460
65468
|
var StopOutlined = function StopOutlined2(props, ref) {
|
|
65461
65469
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -65463,7 +65471,15 @@ var StopOutlined = function StopOutlined2(props, ref) {
|
|
|
65463
65471
|
icon: StopOutlined$1
|
|
65464
65472
|
}));
|
|
65465
65473
|
};
|
|
65466
|
-
var RefIcon$
|
|
65474
|
+
var RefIcon$3 = /* @__PURE__ */ reactExports.forwardRef(StopOutlined);
|
|
65475
|
+
var SyncOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z" } }] }, "name": "sync", "theme": "outlined" };
|
|
65476
|
+
var SyncOutlined = function SyncOutlined2(props, ref) {
|
|
65477
|
+
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
65478
|
+
ref,
|
|
65479
|
+
icon: SyncOutlined$1
|
|
65480
|
+
}));
|
|
65481
|
+
};
|
|
65482
|
+
var RefIcon$2 = /* @__PURE__ */ reactExports.forwardRef(SyncOutlined);
|
|
65467
65483
|
var ThunderboltOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z" } }] }, "name": "thunderbolt", "theme": "outlined" };
|
|
65468
65484
|
var ThunderboltOutlined = function ThunderboltOutlined2(props, ref) {
|
|
65469
65485
|
return /* @__PURE__ */ reactExports.createElement(Icon$1, _extends({}, props, {
|
|
@@ -68097,7 +68113,7 @@ const WindowControls = ({ onClose }) => {
|
|
|
68097
68113
|
onMouseEnter: () => setHoveredButton("close"),
|
|
68098
68114
|
onMouseLeave: () => setHoveredButton(null),
|
|
68099
68115
|
onClick: handleClose,
|
|
68100
|
-
children: hoveredButton === "close" && /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68116
|
+
children: hoveredButton === "close" && /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$X, {})
|
|
68101
68117
|
}
|
|
68102
68118
|
),
|
|
68103
68119
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -68110,7 +68126,7 @@ const WindowControls = ({ onClose }) => {
|
|
|
68110
68126
|
onMouseEnter: () => setHoveredButton("minimize"),
|
|
68111
68127
|
onMouseLeave: () => setHoveredButton(null),
|
|
68112
68128
|
onClick: handleMinimize,
|
|
68113
|
-
children: hoveredButton === "minimize" && /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68129
|
+
children: hoveredButton === "minimize" && /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$5, {})
|
|
68114
68130
|
}
|
|
68115
68131
|
),
|
|
68116
68132
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -68123,7 +68139,7 @@ const WindowControls = ({ onClose }) => {
|
|
|
68123
68139
|
onMouseEnter: () => setHoveredButton("maximize"),
|
|
68124
68140
|
onMouseLeave: () => setHoveredButton(null),
|
|
68125
68141
|
onClick: handleMaximize,
|
|
68126
|
-
children: hoveredButton === "maximize" && /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68142
|
+
children: hoveredButton === "maximize" && /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$k, {})
|
|
68127
68143
|
}
|
|
68128
68144
|
)
|
|
68129
68145
|
]
|
|
@@ -68163,7 +68179,7 @@ const AppLayout = () => {
|
|
|
68163
68179
|
const menuItems = [
|
|
68164
68180
|
{
|
|
68165
68181
|
key: "1",
|
|
68166
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68182
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$8, {}),
|
|
68167
68183
|
label: t2("navigation.home"),
|
|
68168
68184
|
path: "/"
|
|
68169
68185
|
},
|
|
@@ -68175,7 +68191,7 @@ const AppLayout = () => {
|
|
|
68175
68191
|
},
|
|
68176
68192
|
{
|
|
68177
68193
|
key: "3",
|
|
68178
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68194
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$4, {}),
|
|
68179
68195
|
label: t2("navigation.settings"),
|
|
68180
68196
|
path: "/settings"
|
|
68181
68197
|
}
|
|
@@ -68302,7 +68318,7 @@ const AppLayout = () => {
|
|
|
68302
68318
|
},
|
|
68303
68319
|
onMouseEnter: (e2) => e2.currentTarget.style.color = "white",
|
|
68304
68320
|
onMouseLeave: (e2) => e2.currentTarget.style.color = "rgba(255, 255, 255, 0.65)",
|
|
68305
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68321
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$a, {})
|
|
68306
68322
|
}
|
|
68307
68323
|
) })
|
|
68308
68324
|
] }),
|
|
@@ -68339,7 +68355,7 @@ const AppLayout = () => {
|
|
|
68339
68355
|
}
|
|
68340
68356
|
);
|
|
68341
68357
|
};
|
|
68342
|
-
const { Text: Text$
|
|
68358
|
+
const { Text: Text$3 } = Typography;
|
|
68343
68359
|
const SELECTED_MODEL_KEY = "markpdfdown_selected_model";
|
|
68344
68360
|
const UploadPanel = () => {
|
|
68345
68361
|
const navigate = useNavigate();
|
|
@@ -68560,7 +68576,7 @@ const UploadPanel = () => {
|
|
|
68560
68576
|
};
|
|
68561
68577
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
68562
68578
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Row, { style: { display: "block", marginTop: "32px" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: 24, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Dragger2, { ...props, style: { minWidth: "760px" }, children: [
|
|
68563
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "ant-upload-drag-icon", children: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68579
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "ant-upload-drag-icon", children: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$7, {}) }),
|
|
68564
68580
|
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "ant-upload-text", children: t2("dragger.text") }),
|
|
68565
68581
|
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "ant-upload-hint", children: t2("dragger.hint") }),
|
|
68566
68582
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -68577,7 +68593,7 @@ const UploadPanel = () => {
|
|
|
68577
68593
|
)
|
|
68578
68594
|
] }) }) }),
|
|
68579
68595
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Row, { style: { display: "block", marginTop: "24px" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: 24, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, { children: [
|
|
68580
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Text$
|
|
68596
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text$3, { children: t2("form.model_label") }),
|
|
68581
68597
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
68582
68598
|
Select,
|
|
68583
68599
|
{
|
|
@@ -68589,7 +68605,7 @@ const UploadPanel = () => {
|
|
|
68589
68605
|
onChange: handleModelChange
|
|
68590
68606
|
}
|
|
68591
68607
|
),
|
|
68592
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Text$
|
|
68608
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text$3, { children: t2("form.page_range_label") }),
|
|
68593
68609
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
68594
68610
|
Input,
|
|
68595
68611
|
{
|
|
@@ -68603,7 +68619,7 @@ const UploadPanel = () => {
|
|
|
68603
68619
|
Button$1,
|
|
68604
68620
|
{
|
|
68605
68621
|
type: "primary",
|
|
68606
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68622
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$e, {}),
|
|
68607
68623
|
onClick: handleConvert,
|
|
68608
68624
|
loading: uploading,
|
|
68609
68625
|
disabled: uploading || fileList.length === 0 || !selectedModel,
|
|
@@ -68665,7 +68681,7 @@ const LanguageSwitcher = () => {
|
|
|
68665
68681
|
Button$1,
|
|
68666
68682
|
{
|
|
68667
68683
|
type: "text",
|
|
68668
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68684
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$9, {}),
|
|
68669
68685
|
children: currentLabel
|
|
68670
68686
|
}
|
|
68671
68687
|
) });
|
|
@@ -68705,7 +68721,7 @@ const Home = () => {
|
|
|
68705
68721
|
)
|
|
68706
68722
|
] });
|
|
68707
68723
|
};
|
|
68708
|
-
const { Text: Text$
|
|
68724
|
+
const { Text: Text$2 } = Typography;
|
|
68709
68725
|
const List = () => {
|
|
68710
68726
|
const { message, modal } = App$1.useApp();
|
|
68711
68727
|
const { t: t2 } = useTranslation("list");
|
|
@@ -68939,29 +68955,29 @@ const List = () => {
|
|
|
68939
68955
|
(() => {
|
|
68940
68956
|
const fileType = (record.type || "").toLowerCase();
|
|
68941
68957
|
if (fileType === "pdf") {
|
|
68942
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68958
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$d, { twoToneColor: "#ec5f4a" });
|
|
68943
68959
|
} else if (["jpg", "jpeg", "png", "gif", "bmp", "webp"].includes(fileType)) {
|
|
68944
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68960
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$f, { twoToneColor: "#52c41a" });
|
|
68945
68961
|
} else if (["doc", "docx"].includes(fileType)) {
|
|
68946
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68962
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$b, { twoToneColor: "#1890ff" });
|
|
68947
68963
|
} else if (["ppt", "pptx"].includes(fileType)) {
|
|
68948
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68964
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$c, { twoToneColor: "#fa8c16" });
|
|
68949
68965
|
} else if (["xls", "xlsx"].includes(fileType)) {
|
|
68950
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68966
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$g, { twoToneColor: "#52c41a" });
|
|
68951
68967
|
} else {
|
|
68952
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68968
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$q, {});
|
|
68953
68969
|
}
|
|
68954
68970
|
})(),
|
|
68955
68971
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip2, { title: text2, children: (() => {
|
|
68956
68972
|
if (record.pages && record.pages > 1) {
|
|
68957
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Text$
|
|
68973
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Text$2, { strong: true, children: [
|
|
68958
68974
|
"[",
|
|
68959
68975
|
tCommon("common.pages", { count: record.pages }),
|
|
68960
68976
|
"]",
|
|
68961
68977
|
text2
|
|
68962
68978
|
] });
|
|
68963
68979
|
} else {
|
|
68964
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Text$
|
|
68980
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Text$2, { strong: true, children: text2 });
|
|
68965
68981
|
}
|
|
68966
68982
|
})() })
|
|
68967
68983
|
]
|
|
@@ -68973,7 +68989,7 @@ const List = () => {
|
|
|
68973
68989
|
dataIndex: "model_name",
|
|
68974
68990
|
width: 240,
|
|
68975
68991
|
render: (text2) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
68976
|
-
Text$
|
|
68992
|
+
Text$2,
|
|
68977
68993
|
{
|
|
68978
68994
|
style: {
|
|
68979
68995
|
maxWidth: "240px",
|
|
@@ -69023,7 +69039,7 @@ const List = () => {
|
|
|
69023
69039
|
(() => {
|
|
69024
69040
|
if (record.status && record.status > 0 && record.status < 6) {
|
|
69025
69041
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69026
|
-
Text$
|
|
69042
|
+
Text$2,
|
|
69027
69043
|
{
|
|
69028
69044
|
type: "secondary",
|
|
69029
69045
|
style: { cursor: "pointer" },
|
|
@@ -69036,7 +69052,7 @@ const List = () => {
|
|
|
69036
69052
|
(() => {
|
|
69037
69053
|
if (record.status === 0) {
|
|
69038
69054
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69039
|
-
Text$
|
|
69055
|
+
Text$2,
|
|
69040
69056
|
{
|
|
69041
69057
|
type: "warning",
|
|
69042
69058
|
style: { cursor: "pointer" },
|
|
@@ -69049,7 +69065,7 @@ const List = () => {
|
|
|
69049
69065
|
(() => {
|
|
69050
69066
|
if (record.status === 0 || record.status && record.status >= 6) {
|
|
69051
69067
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69052
|
-
Text$
|
|
69068
|
+
Text$2,
|
|
69053
69069
|
{
|
|
69054
69070
|
type: "danger",
|
|
69055
69071
|
style: { cursor: "pointer" },
|
|
@@ -69135,7 +69151,9 @@ const AddProvider = ({ onProviderAdded }) => {
|
|
|
69135
69151
|
};
|
|
69136
69152
|
const Provider = ({
|
|
69137
69153
|
providerId,
|
|
69138
|
-
onProviderDeleted
|
|
69154
|
+
onProviderDeleted,
|
|
69155
|
+
onStatusChanged,
|
|
69156
|
+
isPreset = false
|
|
69139
69157
|
}) => {
|
|
69140
69158
|
const [providerData, setProviderData] = reactExports.useState(null);
|
|
69141
69159
|
const { modal, message } = App$1.useApp();
|
|
@@ -69147,6 +69165,12 @@ const Provider = ({
|
|
|
69147
69165
|
const [models, setModels] = reactExports.useState([]);
|
|
69148
69166
|
const [newModelName, setNewModelName] = reactExports.useState("");
|
|
69149
69167
|
const [newModelId, setNewModelId] = reactExports.useState("");
|
|
69168
|
+
const [isModelListModalOpen, setIsModelListModalOpen] = reactExports.useState(false);
|
|
69169
|
+
const [modelListLoading, setModelListLoading] = reactExports.useState(false);
|
|
69170
|
+
const [modelList, setModelList] = reactExports.useState([]);
|
|
69171
|
+
const [filteredModelList, setFilteredModelList] = reactExports.useState([]);
|
|
69172
|
+
const [modelListSearchQuery, setModelListSearchQuery] = reactExports.useState("");
|
|
69173
|
+
const [addingModelIds, setAddingModelIds] = reactExports.useState(/* @__PURE__ */ new Set());
|
|
69150
69174
|
const [testingModelId, setTestingModelId] = reactExports.useState("");
|
|
69151
69175
|
reactExports.useEffect(() => {
|
|
69152
69176
|
if (providerId) {
|
|
@@ -69297,6 +69321,81 @@ const Provider = ({
|
|
|
69297
69321
|
setTestingModelId("");
|
|
69298
69322
|
}
|
|
69299
69323
|
};
|
|
69324
|
+
const openModelListModal = async () => {
|
|
69325
|
+
if (!providerId) return;
|
|
69326
|
+
setIsModelListModalOpen(true);
|
|
69327
|
+
setModelListLoading(true);
|
|
69328
|
+
setModelListSearchQuery("");
|
|
69329
|
+
try {
|
|
69330
|
+
const result = await window.api.provider.fetchModelList(providerId);
|
|
69331
|
+
if (!result.success) {
|
|
69332
|
+
throw new Error(result.error || t2("messages.fetch_model_list_failed"));
|
|
69333
|
+
}
|
|
69334
|
+
setModelList(result.data);
|
|
69335
|
+
setFilteredModelList(result.data);
|
|
69336
|
+
} catch (error) {
|
|
69337
|
+
console.error("Failed to fetch model list:", error);
|
|
69338
|
+
message.error(
|
|
69339
|
+
t2("messages.fetch_model_list_failed") + ": " + (error instanceof Error ? error.message : String(error))
|
|
69340
|
+
);
|
|
69341
|
+
setModelList([]);
|
|
69342
|
+
setFilteredModelList([]);
|
|
69343
|
+
} finally {
|
|
69344
|
+
setModelListLoading(false);
|
|
69345
|
+
}
|
|
69346
|
+
};
|
|
69347
|
+
const closeModelListModal = () => {
|
|
69348
|
+
setIsModelListModalOpen(false);
|
|
69349
|
+
setModelList([]);
|
|
69350
|
+
setFilteredModelList([]);
|
|
69351
|
+
setModelListSearchQuery("");
|
|
69352
|
+
setAddingModelIds(/* @__PURE__ */ new Set());
|
|
69353
|
+
};
|
|
69354
|
+
const handleModelListSearch = (value) => {
|
|
69355
|
+
setModelListSearchQuery(value);
|
|
69356
|
+
if (!value.trim()) {
|
|
69357
|
+
setFilteredModelList(modelList);
|
|
69358
|
+
return;
|
|
69359
|
+
}
|
|
69360
|
+
const filtered = modelList.filter(
|
|
69361
|
+
(model) => model.name.toLowerCase().includes(value.toLowerCase()) || model.id.toLowerCase().includes(value.toLowerCase())
|
|
69362
|
+
);
|
|
69363
|
+
setFilteredModelList(filtered);
|
|
69364
|
+
};
|
|
69365
|
+
const isModelExists = (modelId) => {
|
|
69366
|
+
return models.some((model) => model.id === modelId);
|
|
69367
|
+
};
|
|
69368
|
+
const addModelFromList = async (model) => {
|
|
69369
|
+
if (!providerId) return;
|
|
69370
|
+
if (isModelExists(model.id)) {
|
|
69371
|
+
message.warning(t2("messages.model_already_exists"));
|
|
69372
|
+
return;
|
|
69373
|
+
}
|
|
69374
|
+
setAddingModelIds((prev2) => new Set(prev2).add(model.id));
|
|
69375
|
+
try {
|
|
69376
|
+
const result = await window.api.model.create({
|
|
69377
|
+
id: model.id,
|
|
69378
|
+
name: model.name,
|
|
69379
|
+
provider: providerId
|
|
69380
|
+
});
|
|
69381
|
+
if (!result.success) {
|
|
69382
|
+
throw new Error(result.error || t2("messages.add_model_failed"));
|
|
69383
|
+
}
|
|
69384
|
+
message.success(t2("messages.add_model_success"));
|
|
69385
|
+
fetchModels();
|
|
69386
|
+
} catch (error) {
|
|
69387
|
+
console.error("Failed to add model:", error);
|
|
69388
|
+
message.error(
|
|
69389
|
+
t2("messages.add_model_failed") + ": " + (error instanceof Error ? error.message : String(error))
|
|
69390
|
+
);
|
|
69391
|
+
} finally {
|
|
69392
|
+
setAddingModelIds((prev2) => {
|
|
69393
|
+
const newSet = new Set(prev2);
|
|
69394
|
+
newSet.delete(model.id);
|
|
69395
|
+
return newSet;
|
|
69396
|
+
});
|
|
69397
|
+
}
|
|
69398
|
+
};
|
|
69300
69399
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { vertical: true, gap: 16, style: { padding: "16px" }, children: [
|
|
69301
69400
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
|
|
69302
69401
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Space, { children: [
|
|
@@ -69324,6 +69423,7 @@ const Provider = ({
|
|
|
69324
69423
|
throw new Error(result.error || t2("messages.update_status_failed"));
|
|
69325
69424
|
}
|
|
69326
69425
|
setProviderData(result.data);
|
|
69426
|
+
onStatusChanged?.();
|
|
69327
69427
|
} catch (error) {
|
|
69328
69428
|
console.error("Failed to update provider status:", error);
|
|
69329
69429
|
}
|
|
@@ -69355,76 +69455,78 @@ const Provider = ({
|
|
|
69355
69455
|
baseUrl,
|
|
69356
69456
|
suffix
|
|
69357
69457
|
] }),
|
|
69358
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
69359
|
-
|
|
69360
|
-
|
|
69361
|
-
|
|
69362
|
-
|
|
69363
|
-
|
|
69364
|
-
|
|
69365
|
-
|
|
69366
|
-
|
|
69367
|
-
|
|
69368
|
-
|
|
69369
|
-
|
|
69370
|
-
|
|
69371
|
-
|
|
69372
|
-
|
|
69373
|
-
|
|
69374
|
-
|
|
69375
|
-
|
|
69376
|
-
|
|
69377
|
-
|
|
69378
|
-
|
|
69379
|
-
|
|
69380
|
-
|
|
69381
|
-
|
|
69382
|
-
|
|
69383
|
-
|
|
69384
|
-
|
|
69385
|
-
|
|
69386
|
-
|
|
69387
|
-
|
|
69388
|
-
|
|
69389
|
-
|
|
69390
|
-
|
|
69391
|
-
|
|
69392
|
-
|
|
69393
|
-
|
|
69394
|
-
|
|
69395
|
-
|
|
69396
|
-
|
|
69397
|
-
|
|
69398
|
-
value: "/
|
|
69399
|
-
|
|
69400
|
-
|
|
69401
|
-
|
|
69402
|
-
|
|
69403
|
-
|
|
69404
|
-
|
|
69405
|
-
|
|
69406
|
-
|
|
69407
|
-
|
|
69408
|
-
|
|
69409
|
-
|
|
69410
|
-
|
|
69411
|
-
|
|
69412
|
-
|
|
69413
|
-
|
|
69414
|
-
|
|
69415
|
-
|
|
69416
|
-
|
|
69417
|
-
|
|
69418
|
-
|
|
69419
|
-
|
|
69420
|
-
|
|
69421
|
-
|
|
69422
|
-
|
|
69423
|
-
|
|
69424
|
-
|
|
69425
|
-
|
|
69426
|
-
|
|
69427
|
-
|
|
69458
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: 8, children: [
|
|
69459
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69460
|
+
Input,
|
|
69461
|
+
{
|
|
69462
|
+
placeholder: t2("details.api_url_placeholder"),
|
|
69463
|
+
value: baseUrl,
|
|
69464
|
+
style: { flex: 1 },
|
|
69465
|
+
onChange: (e2) => {
|
|
69466
|
+
setBaseUrl(e2.target.value);
|
|
69467
|
+
},
|
|
69468
|
+
onBlur: () => {
|
|
69469
|
+
if (baseUrl !== providerData?.base_url) {
|
|
69470
|
+
updateProvider({ base_url: baseUrl, suffix });
|
|
69471
|
+
}
|
|
69472
|
+
},
|
|
69473
|
+
addonAfter: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69474
|
+
Select,
|
|
69475
|
+
{
|
|
69476
|
+
style: { width: 180 },
|
|
69477
|
+
value: suffix,
|
|
69478
|
+
onChange: (value) => {
|
|
69479
|
+
setSuffix(value);
|
|
69480
|
+
updateProvider({ suffix: value });
|
|
69481
|
+
},
|
|
69482
|
+
options: (() => {
|
|
69483
|
+
const type4 = providerData?.type;
|
|
69484
|
+
const noSuffix = { label: t2("details.no_suffix"), value: "" };
|
|
69485
|
+
switch (type4) {
|
|
69486
|
+
case "openai":
|
|
69487
|
+
return [
|
|
69488
|
+
{ label: "/chat/completions", value: "/chat/completions" },
|
|
69489
|
+
noSuffix
|
|
69490
|
+
];
|
|
69491
|
+
case "openai-responses":
|
|
69492
|
+
return [
|
|
69493
|
+
{ label: "/responses", value: "/responses" },
|
|
69494
|
+
noSuffix
|
|
69495
|
+
];
|
|
69496
|
+
case "gemini":
|
|
69497
|
+
return [
|
|
69498
|
+
{ label: "/models", value: "/models" },
|
|
69499
|
+
noSuffix
|
|
69500
|
+
];
|
|
69501
|
+
case "anthropic":
|
|
69502
|
+
return [
|
|
69503
|
+
{ label: "/messages", value: "/messages" },
|
|
69504
|
+
noSuffix
|
|
69505
|
+
];
|
|
69506
|
+
case "ollama":
|
|
69507
|
+
return [
|
|
69508
|
+
{ label: "/generate", value: "/generate" },
|
|
69509
|
+
noSuffix
|
|
69510
|
+
];
|
|
69511
|
+
default:
|
|
69512
|
+
return [noSuffix];
|
|
69513
|
+
}
|
|
69514
|
+
})()
|
|
69515
|
+
}
|
|
69516
|
+
)
|
|
69517
|
+
}
|
|
69518
|
+
),
|
|
69519
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69520
|
+
Button$1,
|
|
69521
|
+
{
|
|
69522
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon, {}),
|
|
69523
|
+
onClick: openModelListModal,
|
|
69524
|
+
loading: modelListLoading,
|
|
69525
|
+
style: { flexShrink: 0 },
|
|
69526
|
+
children: t2("model_list.button")
|
|
69527
|
+
}
|
|
69528
|
+
)
|
|
69529
|
+
] })
|
|
69428
69530
|
] }),
|
|
69429
69531
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Divider, { variant: "dashed", dashed: true, plain: true, children: t2("model_config.title") }),
|
|
69430
69532
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -69456,7 +69558,7 @@ const Provider = ({
|
|
|
69456
69558
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Space, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69457
69559
|
Button$1,
|
|
69458
69560
|
{
|
|
69459
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
69561
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$u, {}),
|
|
69460
69562
|
shape: "circle",
|
|
69461
69563
|
danger: true,
|
|
69462
69564
|
size: "small",
|
|
@@ -69476,37 +69578,35 @@ const Provider = ({
|
|
|
69476
69578
|
] })
|
|
69477
69579
|
}
|
|
69478
69580
|
),
|
|
69479
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { display: "flex",
|
|
69480
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
69481
|
-
|
|
69482
|
-
|
|
69483
|
-
|
|
69484
|
-
|
|
69485
|
-
|
|
69486
|
-
|
|
69487
|
-
|
|
69488
|
-
|
|
69489
|
-
|
|
69490
|
-
|
|
69491
|
-
|
|
69492
|
-
|
|
69493
|
-
|
|
69494
|
-
|
|
69495
|
-
|
|
69496
|
-
|
|
69497
|
-
|
|
69498
|
-
|
|
69499
|
-
|
|
69500
|
-
|
|
69501
|
-
] }),
|
|
69502
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { type: "primary", icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$K, {}), onClick: addModel, children: t2("model_config.add_button") })
|
|
69581
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
69582
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { style: { whiteSpace: "nowrap", flexShrink: 0 }, children: t2("model_config.name_label") }),
|
|
69583
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69584
|
+
Input,
|
|
69585
|
+
{
|
|
69586
|
+
placeholder: t2("model_config.name_placeholder"),
|
|
69587
|
+
style: { flex: 1, minWidth: 0 },
|
|
69588
|
+
value: newModelName,
|
|
69589
|
+
onChange: (e2) => setNewModelName(e2.target.value)
|
|
69590
|
+
}
|
|
69591
|
+
),
|
|
69592
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { style: { whiteSpace: "nowrap", flexShrink: 0 }, children: t2("model_config.id_label") }),
|
|
69593
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69594
|
+
Input,
|
|
69595
|
+
{
|
|
69596
|
+
placeholder: t2("model_config.id_placeholder"),
|
|
69597
|
+
style: { flex: 1, minWidth: 0 },
|
|
69598
|
+
value: newModelId,
|
|
69599
|
+
onChange: (e2) => setNewModelId(e2.target.value)
|
|
69600
|
+
}
|
|
69601
|
+
),
|
|
69602
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { type: "primary", icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$M, {}), onClick: addModel, style: { whiteSpace: "nowrap", flexShrink: 0 }, children: t2("model_config.add_button") })
|
|
69503
69603
|
] }),
|
|
69504
69604
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { type: "secondary", children: t2("model_config.warning") }),
|
|
69505
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69605
|
+
!isPreset && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69506
69606
|
Button$1,
|
|
69507
69607
|
{
|
|
69508
69608
|
title: t2("actions.delete_provider"),
|
|
69509
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
69609
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$u, {}),
|
|
69510
69610
|
danger: true,
|
|
69511
69611
|
onClick: () => {
|
|
69512
69612
|
if (!providerId) return;
|
|
@@ -69537,6 +69637,65 @@ const Provider = ({
|
|
|
69537
69637
|
},
|
|
69538
69638
|
children: t2("actions.delete_provider")
|
|
69539
69639
|
}
|
|
69640
|
+
),
|
|
69641
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69642
|
+
Modal,
|
|
69643
|
+
{
|
|
69644
|
+
title: t2("model_list.modal_title"),
|
|
69645
|
+
open: isModelListModalOpen,
|
|
69646
|
+
onCancel: closeModelListModal,
|
|
69647
|
+
footer: null,
|
|
69648
|
+
width: 600,
|
|
69649
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { vertical: true, gap: 16, style: { marginTop: 16 }, children: [
|
|
69650
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69651
|
+
Input.Search,
|
|
69652
|
+
{
|
|
69653
|
+
placeholder: t2("model_list.search_placeholder"),
|
|
69654
|
+
value: modelListSearchQuery,
|
|
69655
|
+
onChange: (e2) => handleModelListSearch(e2.target.value),
|
|
69656
|
+
allowClear: true
|
|
69657
|
+
}
|
|
69658
|
+
),
|
|
69659
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69660
|
+
List$1,
|
|
69661
|
+
{
|
|
69662
|
+
bordered: true,
|
|
69663
|
+
size: "small",
|
|
69664
|
+
loading: modelListLoading,
|
|
69665
|
+
dataSource: filteredModelList,
|
|
69666
|
+
locale: { emptyText: t2("model_list.empty_text") },
|
|
69667
|
+
style: { maxHeight: 400, overflow: "auto" },
|
|
69668
|
+
renderItem: (item) => {
|
|
69669
|
+
const exists = isModelExists(item.id);
|
|
69670
|
+
const isAdding = addingModelIds.has(item.id);
|
|
69671
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69672
|
+
List$1.Item,
|
|
69673
|
+
{
|
|
69674
|
+
actions: [
|
|
69675
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69676
|
+
Button$1,
|
|
69677
|
+
{
|
|
69678
|
+
type: "default",
|
|
69679
|
+
size: "small",
|
|
69680
|
+
disabled: exists,
|
|
69681
|
+
loading: isAdding,
|
|
69682
|
+
onClick: () => addModelFromList(item),
|
|
69683
|
+
children: exists ? t2("model_list.already_added") : t2("model_list.add_button")
|
|
69684
|
+
},
|
|
69685
|
+
"add"
|
|
69686
|
+
)
|
|
69687
|
+
],
|
|
69688
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, { direction: "vertical", size: 0, children: [
|
|
69689
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { strong: true, children: item.name }),
|
|
69690
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { type: "secondary", style: { fontSize: 12 }, children: item.id })
|
|
69691
|
+
] })
|
|
69692
|
+
}
|
|
69693
|
+
);
|
|
69694
|
+
}
|
|
69695
|
+
}
|
|
69696
|
+
)
|
|
69697
|
+
] })
|
|
69698
|
+
}
|
|
69540
69699
|
)
|
|
69541
69700
|
] });
|
|
69542
69701
|
};
|
|
@@ -69548,7 +69707,7 @@ const ModelService = () => {
|
|
|
69548
69707
|
{
|
|
69549
69708
|
key: "add provider",
|
|
69550
69709
|
label: t2("add_provider.tab_label"),
|
|
69551
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
69710
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$x, {}),
|
|
69552
69711
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(AddProvider, { onProviderAdded: () => {
|
|
69553
69712
|
} })
|
|
69554
69713
|
}
|
|
@@ -69558,30 +69717,62 @@ const ModelService = () => {
|
|
|
69558
69717
|
});
|
|
69559
69718
|
const handleProviderDeletedRef = reactExports.useRef(() => {
|
|
69560
69719
|
});
|
|
69720
|
+
const handleStatusChangedRef = reactExports.useRef(() => {
|
|
69721
|
+
});
|
|
69561
69722
|
const fetchProvidersRef = reactExports.useRef(() => Promise.resolve());
|
|
69562
69723
|
const fetchProviders = reactExports.useCallback(async () => {
|
|
69563
69724
|
try {
|
|
69564
|
-
const response = await
|
|
69725
|
+
const [response, presetsResponse] = await Promise.all([
|
|
69726
|
+
window.api.provider.getAll(),
|
|
69727
|
+
window.api.provider.getPresets()
|
|
69728
|
+
]);
|
|
69565
69729
|
if (!response.success) {
|
|
69566
69730
|
throw new Error(response.error || t2("messages.fetch_providers_failed"));
|
|
69567
69731
|
}
|
|
69568
69732
|
const providers = response.data;
|
|
69569
|
-
const
|
|
69570
|
-
|
|
69571
|
-
|
|
69572
|
-
|
|
69573
|
-
|
|
69574
|
-
|
|
69575
|
-
|
|
69576
|
-
|
|
69577
|
-
|
|
69578
|
-
|
|
69579
|
-
|
|
69580
|
-
})
|
|
69733
|
+
const presets = presetsResponse.success ? presetsResponse.data : [];
|
|
69734
|
+
const getPresetIndex = (provider) => {
|
|
69735
|
+
const index2 = presets.findIndex(
|
|
69736
|
+
(preset) => preset.type === provider.type && preset.name === provider.name
|
|
69737
|
+
);
|
|
69738
|
+
return index2 === -1 ? presets.length : index2;
|
|
69739
|
+
};
|
|
69740
|
+
const sortedProviders = [...providers].sort((a2, b) => {
|
|
69741
|
+
const indexA = getPresetIndex(a2);
|
|
69742
|
+
const indexB = getPresetIndex(b);
|
|
69743
|
+
return indexA - indexB;
|
|
69744
|
+
});
|
|
69745
|
+
const providerTabs = sortedProviders.map((provider) => {
|
|
69746
|
+
const isPreset = presets.some(
|
|
69747
|
+
(preset) => preset.type === provider.type && preset.name === provider.name
|
|
69748
|
+
);
|
|
69749
|
+
const isEnabled = provider.status === 0;
|
|
69750
|
+
return {
|
|
69751
|
+
key: provider.id.toString(),
|
|
69752
|
+
label: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
69753
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69754
|
+
"span",
|
|
69755
|
+
{
|
|
69756
|
+
className: isEnabled ? "provider-status-light provider-status-light--enabled" : "provider-status-light provider-status-light--disabled"
|
|
69757
|
+
}
|
|
69758
|
+
),
|
|
69759
|
+
provider.name
|
|
69760
|
+
] }),
|
|
69761
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69762
|
+
Provider,
|
|
69763
|
+
{
|
|
69764
|
+
providerId: provider.id,
|
|
69765
|
+
onProviderDeleted: handleProviderDeletedRef.current,
|
|
69766
|
+
onStatusChanged: handleStatusChangedRef.current,
|
|
69767
|
+
isPreset
|
|
69768
|
+
}
|
|
69769
|
+
)
|
|
69770
|
+
};
|
|
69771
|
+
});
|
|
69581
69772
|
const addProviderTab = {
|
|
69582
69773
|
key: "add provider",
|
|
69583
69774
|
label: t2("add_provider.tab_label"),
|
|
69584
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
69775
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$x, {}),
|
|
69585
69776
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(AddProvider, { onProviderAdded: handleProviderAddedRef.current })
|
|
69586
69777
|
};
|
|
69587
69778
|
setItems([...providerTabs, addProviderTab]);
|
|
@@ -69598,6 +69789,9 @@ const ModelService = () => {
|
|
|
69598
69789
|
setActiveKey(providerId);
|
|
69599
69790
|
});
|
|
69600
69791
|
}, [fetchProviders]);
|
|
69792
|
+
const handleStatusChanged = reactExports.useCallback(() => {
|
|
69793
|
+
fetchProviders();
|
|
69794
|
+
}, [fetchProviders]);
|
|
69601
69795
|
const handleProviderDeleted = reactExports.useCallback(() => {
|
|
69602
69796
|
fetchProvidersRef.current().then(async () => {
|
|
69603
69797
|
try {
|
|
@@ -69623,6 +69817,9 @@ const ModelService = () => {
|
|
|
69623
69817
|
reactExports.useEffect(() => {
|
|
69624
69818
|
handleProviderDeletedRef.current = handleProviderDeleted;
|
|
69625
69819
|
}, [handleProviderDeleted]);
|
|
69820
|
+
reactExports.useEffect(() => {
|
|
69821
|
+
handleStatusChangedRef.current = handleStatusChanged;
|
|
69822
|
+
}, [handleStatusChanged]);
|
|
69626
69823
|
reactExports.useEffect(() => {
|
|
69627
69824
|
fetchProvidersRef.current = fetchProviders;
|
|
69628
69825
|
}, [fetchProviders]);
|
|
@@ -69646,12 +69843,93 @@ const ModelService = () => {
|
|
|
69646
69843
|
activeKey,
|
|
69647
69844
|
onChange: setActiveKey,
|
|
69648
69845
|
tabPosition: "left",
|
|
69649
|
-
items
|
|
69846
|
+
items,
|
|
69847
|
+
className: "model-service-tabs"
|
|
69650
69848
|
}
|
|
69651
69849
|
)
|
|
69652
69850
|
}
|
|
69653
69851
|
);
|
|
69654
69852
|
};
|
|
69853
|
+
const { Text: Text$1 } = Typography;
|
|
69854
|
+
const UpdateChecker = () => {
|
|
69855
|
+
const { t: t2 } = useTranslation("settings");
|
|
69856
|
+
const [statusData, setStatusData] = reactExports.useState({
|
|
69857
|
+
status: "idle"
|
|
69858
|
+
});
|
|
69859
|
+
reactExports.useEffect(() => {
|
|
69860
|
+
const cleanup2 = window.api.events.onUpdaterStatus(
|
|
69861
|
+
(data) => {
|
|
69862
|
+
setStatusData(data);
|
|
69863
|
+
}
|
|
69864
|
+
);
|
|
69865
|
+
return cleanup2;
|
|
69866
|
+
}, []);
|
|
69867
|
+
const handleCheckForUpdates = () => {
|
|
69868
|
+
setStatusData({ status: "checking" });
|
|
69869
|
+
window.api.updater.checkForUpdates();
|
|
69870
|
+
};
|
|
69871
|
+
const handleQuitAndInstall = () => {
|
|
69872
|
+
window.api.updater.quitAndInstall();
|
|
69873
|
+
};
|
|
69874
|
+
const renderStatus = () => {
|
|
69875
|
+
switch (statusData.status) {
|
|
69876
|
+
case "checking":
|
|
69877
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, { children: [
|
|
69878
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$2, { spin: true }),
|
|
69879
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text$1, { type: "secondary", children: t2("update.checking") })
|
|
69880
|
+
] });
|
|
69881
|
+
case "available":
|
|
69882
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, { children: [
|
|
69883
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$n, {}),
|
|
69884
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Text$1, { children: [
|
|
69885
|
+
t2("update.available"),
|
|
69886
|
+
" ",
|
|
69887
|
+
statusData.version && `(v${statusData.version})`
|
|
69888
|
+
] })
|
|
69889
|
+
] });
|
|
69890
|
+
case "downloading":
|
|
69891
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, { direction: "vertical", style: { width: "100%" }, children: [
|
|
69892
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Text$1, { children: [
|
|
69893
|
+
t2("update.downloading"),
|
|
69894
|
+
" ",
|
|
69895
|
+
statusData.progress !== void 0 && `${statusData.progress.toFixed(1)}%`
|
|
69896
|
+
] }),
|
|
69897
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
69898
|
+
Progress,
|
|
69899
|
+
{
|
|
69900
|
+
percent: Math.round(statusData.progress ?? 0),
|
|
69901
|
+
size: "small"
|
|
69902
|
+
}
|
|
69903
|
+
)
|
|
69904
|
+
] });
|
|
69905
|
+
case "downloaded":
|
|
69906
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, { children: [
|
|
69907
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$j, { style: { color: "#52c41a" } }),
|
|
69908
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Text$1, { children: [
|
|
69909
|
+
t2("update.ready"),
|
|
69910
|
+
" ",
|
|
69911
|
+
statusData.version && `(v${statusData.version})`
|
|
69912
|
+
] }),
|
|
69913
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { type: "primary", onClick: handleQuitAndInstall, children: t2("update.restart_to_update") })
|
|
69914
|
+
] });
|
|
69915
|
+
case "not_available":
|
|
69916
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, { children: [
|
|
69917
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$j, { style: { color: "#52c41a" } }),
|
|
69918
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text$1, { type: "secondary", children: t2("update.up_to_date") })
|
|
69919
|
+
] });
|
|
69920
|
+
case "error":
|
|
69921
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, { children: [
|
|
69922
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$h, { style: { color: "#ff4d4f" } }),
|
|
69923
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Text$1, { type: "danger", children: t2("update.error") }),
|
|
69924
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { onClick: handleCheckForUpdates, children: t2("update.retry") })
|
|
69925
|
+
] });
|
|
69926
|
+
case "idle":
|
|
69927
|
+
default:
|
|
69928
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { onClick: handleCheckForUpdates, children: t2("update.check_for_updates") });
|
|
69929
|
+
}
|
|
69930
|
+
};
|
|
69931
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { marginTop: 16 }, children: renderStatus() });
|
|
69932
|
+
};
|
|
69655
69933
|
const About = () => {
|
|
69656
69934
|
const { Text: Text2, Title: Title2 } = Typography;
|
|
69657
69935
|
const { t: t2 } = useTranslation("settings");
|
|
@@ -69700,7 +69978,8 @@ const About = () => {
|
|
|
69700
69978
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { onClick: () => handleOpenLink("https://github.com/MarkPDFdown/markpdfdown-desktop/blob/master/LICENSE"), children: t2("about.buttons.license") }),
|
|
69701
69979
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { onClick: () => handleOpenLink("https://github.com/MarkPDFdown/markpdfdown-desktop/issues"), children: t2("about.buttons.feedback") }),
|
|
69702
69980
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { onClick: () => handleOpenLink("mailto:jorben@aix.me"), children: t2("about.buttons.contact") })
|
|
69703
|
-
] })
|
|
69981
|
+
] }),
|
|
69982
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(UpdateChecker, {})
|
|
69704
69983
|
]
|
|
69705
69984
|
}
|
|
69706
69985
|
)
|
|
@@ -69713,13 +69992,13 @@ const Settings$1 = () => {
|
|
|
69713
69992
|
{
|
|
69714
69993
|
key: "1",
|
|
69715
69994
|
label: t2("tabs.model_service"),
|
|
69716
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
69995
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$m, {}),
|
|
69717
69996
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(ModelService, {})
|
|
69718
69997
|
},
|
|
69719
69998
|
{
|
|
69720
69999
|
key: "2",
|
|
69721
70000
|
label: t2("tabs.about"),
|
|
69722
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
70001
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$6, {}),
|
|
69723
70002
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(About, {})
|
|
69724
70003
|
}
|
|
69725
70004
|
];
|
|
@@ -121949,31 +122228,31 @@ const Preview = () => {
|
|
|
121949
122228
|
switch (status2) {
|
|
121950
122229
|
case -1:
|
|
121951
122230
|
return {
|
|
121952
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122231
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$Y, { style: { ...iconStyle, color: "#ff4d4f" } }),
|
|
121953
122232
|
text: t2("preview.status.failed"),
|
|
121954
122233
|
color: "#ff4d4f"
|
|
121955
122234
|
};
|
|
121956
122235
|
case 0:
|
|
121957
122236
|
return {
|
|
121958
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122237
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$i, { style: { ...iconStyle, color: "#faad14" } }),
|
|
121959
122238
|
text: t2("preview.status.pending"),
|
|
121960
122239
|
color: "#faad14"
|
|
121961
122240
|
};
|
|
121962
122241
|
case 1:
|
|
121963
122242
|
return {
|
|
121964
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122243
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$U, { style: { ...iconStyle, color: "#1890ff" }, spin: true }),
|
|
121965
122244
|
text: t2("preview.status.processing"),
|
|
121966
122245
|
color: "#1890ff"
|
|
121967
122246
|
};
|
|
121968
122247
|
case 2:
|
|
121969
122248
|
return {
|
|
121970
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122249
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$Z, { style: { ...iconStyle, color: "#52c41a" } }),
|
|
121971
122250
|
text: t2("preview.status.completed"),
|
|
121972
122251
|
color: "#52c41a"
|
|
121973
122252
|
};
|
|
121974
122253
|
case 3:
|
|
121975
122254
|
return {
|
|
121976
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122255
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$U, { style: { ...iconStyle, color: "#faad14" }, spin: true }),
|
|
121977
122256
|
text: t2("preview.status.retrying"),
|
|
121978
122257
|
color: "#faad14"
|
|
121979
122258
|
};
|
|
@@ -121998,7 +122277,7 @@ const Preview = () => {
|
|
|
121998
122277
|
Button$1,
|
|
121999
122278
|
{
|
|
122000
122279
|
onClick: () => navigate("/list"),
|
|
122001
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122280
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$l, {}),
|
|
122002
122281
|
color: "default",
|
|
122003
122282
|
variant: "filled",
|
|
122004
122283
|
children: t2("preview.back")
|
|
@@ -122014,7 +122293,7 @@ const Preview = () => {
|
|
|
122014
122293
|
whiteSpace: "nowrap"
|
|
122015
122294
|
},
|
|
122016
122295
|
children: [
|
|
122017
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122296
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$d, { twoToneColor: "#ec5f4a" }),
|
|
122018
122297
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip2, { title: task?.filename || "", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Text, { strong: true, children: [
|
|
122019
122298
|
"[",
|
|
122020
122299
|
tCommon("common.pages", { count: task?.pages || 0 }),
|
|
@@ -122044,7 +122323,7 @@ const Preview = () => {
|
|
|
122044
122323
|
Button$1,
|
|
122045
122324
|
{
|
|
122046
122325
|
color: "primary",
|
|
122047
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122326
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$e, {}),
|
|
122048
122327
|
variant: "filled",
|
|
122049
122328
|
onClick: handleDownload,
|
|
122050
122329
|
disabled: !task?.merged_path || task?.status !== 6,
|
|
@@ -122058,7 +122337,7 @@ const Preview = () => {
|
|
|
122058
122337
|
if (status2 === 8 && failedCount > 0) {
|
|
122059
122338
|
menuItems.push({
|
|
122060
122339
|
key: "retry_failed",
|
|
122061
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122340
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$F, {}),
|
|
122062
122341
|
label: t2("preview.retry_failed"),
|
|
122063
122342
|
onClick: handleRetryFailed,
|
|
122064
122343
|
disabled: retryingFailed
|
|
@@ -122067,7 +122346,7 @@ const Preview = () => {
|
|
|
122067
122346
|
if (status2 === 0) {
|
|
122068
122347
|
menuItems.push({
|
|
122069
122348
|
key: "retry_all",
|
|
122070
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122349
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$F, {}),
|
|
122071
122350
|
label: t2("preview.retry_all"),
|
|
122072
122351
|
onClick: handleRetryTask
|
|
122073
122352
|
});
|
|
@@ -122078,7 +122357,7 @@ const Preview = () => {
|
|
|
122078
122357
|
if (status2 !== void 0 && status2 > 0 && status2 < 6) {
|
|
122079
122358
|
menuItems.push({
|
|
122080
122359
|
key: "cancel",
|
|
122081
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122360
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$3, {}),
|
|
122082
122361
|
label: t2("preview.cancel"),
|
|
122083
122362
|
onClick: handleCancel
|
|
122084
122363
|
});
|
|
@@ -122086,7 +122365,7 @@ const Preview = () => {
|
|
|
122086
122365
|
if (status2 === 0 || status2 !== void 0 && status2 >= 6) {
|
|
122087
122366
|
menuItems.push({
|
|
122088
122367
|
key: "delete",
|
|
122089
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122368
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$u, {}),
|
|
122090
122369
|
label: t2("preview.delete"),
|
|
122091
122370
|
danger: true,
|
|
122092
122371
|
onClick: handleDelete2
|
|
@@ -122099,7 +122378,7 @@ const Preview = () => {
|
|
|
122099
122378
|
if (hasPrimaryAction) {
|
|
122100
122379
|
const primaryLabel = hasRetryFailed ? t2("preview.retry_failed") : t2("preview.retry_all");
|
|
122101
122380
|
const primaryAction = hasRetryFailed ? handleRetryFailed : handleRetryTask;
|
|
122102
|
-
const primaryIcon = hasRetryFailed && retryingFailed ? /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122381
|
+
const primaryIcon = hasRetryFailed && retryingFailed ? /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$U, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$F, {});
|
|
122103
122382
|
const filteredMenuItems = menuItems.filter((item) => {
|
|
122104
122383
|
if (!item || item.type === "divider") return true;
|
|
122105
122384
|
if (hasRetryFailed && item.key === "retry_failed") return false;
|
|
@@ -122114,7 +122393,7 @@ const Preview = () => {
|
|
|
122114
122393
|
{
|
|
122115
122394
|
menu: { items: filteredMenuItems },
|
|
122116
122395
|
onClick: primaryAction,
|
|
122117
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122396
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$R, {}),
|
|
122118
122397
|
disabled: hasRetryFailed && retryingFailed,
|
|
122119
122398
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Space, { children: [
|
|
122120
122399
|
primaryIcon,
|
|
@@ -122125,7 +122404,7 @@ const Preview = () => {
|
|
|
122125
122404
|
} else {
|
|
122126
122405
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Dropdown, { menu: { items: menuItems }, trigger: ["click"], children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Button$1, { children: [
|
|
122127
122406
|
t2("preview.more_actions"),
|
|
122128
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122407
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$R, {})
|
|
122129
122408
|
] }) });
|
|
122130
122409
|
}
|
|
122131
122410
|
})()
|
|
@@ -122205,7 +122484,7 @@ const Preview = () => {
|
|
|
122205
122484
|
{
|
|
122206
122485
|
type: "text",
|
|
122207
122486
|
size: "small",
|
|
122208
|
-
icon: retrying ? /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
122487
|
+
icon: retrying ? /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$U, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$F, {}),
|
|
122209
122488
|
onClick: handleRetryPage,
|
|
122210
122489
|
disabled: !taskDetail?.id || retrying,
|
|
122211
122490
|
style: { color: "#666" },
|
|
@@ -124222,26 +124501,30 @@ const enUpload = {
|
|
|
124222
124501
|
form: form$5,
|
|
124223
124502
|
messages: messages$g
|
|
124224
124503
|
};
|
|
124225
|
-
const details$5 = { "protocol_type": "Protocol:", "api_key_label": "API Key:", "api_key_placeholder": "Enter API key", "api_url_label": "API URL:", "api_url_placeholder": "Enter API URL" };
|
|
124504
|
+
const details$5 = { "protocol_type": "Protocol:", "api_key_label": "API Key:", "api_key_placeholder": "Enter API key", "api_url_label": "API URL:", "api_url_placeholder": "Enter API URL", "no_suffix": "No Suffix" };
|
|
124226
124505
|
const model_config$5 = { "title": "Model Configuration", "name_label": "Model Name:", "name_placeholder": "GPT 4o", "id_label": "Model ID:", "id_placeholder": "gpt-4o", "add_button": "Add Model", "warning": "Note: Please add models that support vision recognition and ensure the Model ID is correct, otherwise the model will not work properly!" };
|
|
124227
124506
|
const actions$f = { "delete_provider": "Delete Provider", "delete_model_title": "Delete", "test_connection": "Test Connection" };
|
|
124228
124507
|
const confirmations$a = { "delete_model_title": "Confirm Delete", "delete_model_content": 'Are you sure you want to delete model "{{name}}"?', "delete_provider_title": "Confirm Delete", "delete_provider_content": "Are you sure you want to delete this provider? This action cannot be undone.", "ok": "Delete", "cancel": "Cancel" };
|
|
124229
|
-
const messages$f = { "fetch_providers_failed": "Failed to fetch provider list", "fetch_details_failed": "Failed to fetch provider details", "fetch_models_failed": "Failed to fetch model list", "delete_model_success": "Model deleted successfully", "delete_model_failed": "Failed to delete model", "add_model_warning": "Please fill in complete model information", "add_model_success": "Model added successfully", "add_model_failed": "Failed to add model", "update_success": "Updated successfully", "update_failed": "Update failed", "test_success": "Model connection test successful", "test_failed": "Connection test failed", "delete_provider_success": "Provider deleted successfully", "delete_provider_failed": "Failed to delete provider", "update_status_failed": "Failed to update provider status" };
|
|
124508
|
+
const messages$f = { "fetch_providers_failed": "Failed to fetch provider list", "fetch_details_failed": "Failed to fetch provider details", "fetch_models_failed": "Failed to fetch model list", "delete_model_success": "Model deleted successfully", "delete_model_failed": "Failed to delete model", "add_model_warning": "Please fill in complete model information", "add_model_success": "Model added successfully", "add_model_failed": "Failed to add model", "update_success": "Updated successfully", "update_failed": "Update failed", "test_success": "Model connection test successful", "test_failed": "Connection test failed", "delete_provider_success": "Provider deleted successfully", "delete_provider_failed": "Failed to delete provider", "update_status_failed": "Failed to update provider status", "fetch_model_list_failed": "Failed to fetch remote model list", "model_already_exists": "This model already exists in the list" };
|
|
124230
124509
|
const add_provider$5 = { "tab_label": "Add Provider", "name_label": "Provider Name", "name_placeholder": "Enter provider name", "name_required": "Please enter provider name", "type_label": "Protocol Type", "type_placeholder": "Select protocol type", "type_required": "Please select protocol type", "submit_button": "Add Provider", "success": "Provider added successfully", "failed": "Failed to add provider" };
|
|
124510
|
+
const model_list$5 = { "button": "Model List", "modal_title": "Fetch Models from Remote", "search_placeholder": "Search model name or ID", "empty_text": "No models found", "add_button": "Add", "already_added": "Added" };
|
|
124231
124511
|
const enProvider = {
|
|
124232
124512
|
details: details$5,
|
|
124233
124513
|
model_config: model_config$5,
|
|
124234
124514
|
actions: actions$f,
|
|
124235
124515
|
confirmations: confirmations$a,
|
|
124236
124516
|
messages: messages$f,
|
|
124237
|
-
add_provider: add_provider$5
|
|
124517
|
+
add_provider: add_provider$5,
|
|
124518
|
+
model_list: model_list$5
|
|
124238
124519
|
};
|
|
124239
124520
|
const tabs$5 = { "model_service": "Model Service", "about": "About Us" };
|
|
124240
124521
|
const about$5 = { "subtitle": "A high-quality PDF to Markdown converter powered by large vision models", "buttons": { "website": "Official Website", "license": "License", "feedback": "Feedback", "contact": "Contact Email" } };
|
|
124522
|
+
const update$5 = { "check_for_updates": "Check for Updates", "checking": "Checking for updates...", "available": "Update available", "downloading": "Downloading update...", "ready": "Update ready to install", "restart_to_update": "Restart to Update", "up_to_date": "You are up to date", "error": "Update check failed", "retry": "Retry" };
|
|
124241
124523
|
const preview$5 = { "back": "Back", "download": "Download .md", "delete": "Delete", "cancel": "Cancel", "retry": "Retry", "retry_failed": "Retry Failed", "retry_all": "Retry All", "more_actions": "More Actions", "regenerate": "Regenerate", "regenerate_tooltip": "Regenerate current page", "confirm_delete": "Confirm Delete", "confirm_delete_content": "Are you sure you want to delete this task? This action cannot be undone.", "delete_success": "Deleted successfully", "delete_failed": "Delete failed", "confirm_cancel": "Confirm Cancel", "confirm_cancel_content": "Are you sure you want to cancel this task?", "cancel_success": "Cancelled successfully", "cancel_failed": "Cancel failed", "confirm_retry": "Confirm Retry", "confirm_retry_content": "Are you sure you want to retry this task?", "confirm_retry_failed": "Confirm Retry Failed Pages", "confirm_retry_failed_content": "Are you sure you want to retry all failed pages?", "retry_success": "Task has been added to retry queue", "retry_failed_success": "{{count}} failed pages have been added to retry queue", "page_retry_success": "Page has been added to retry queue", "page_retry_failed": "Retry failed", "fetch_task_failed": "Failed to fetch task info", "fetch_page_failed": "Failed to fetch page details", "task_deleted": "Task has been deleted", "task_not_started": "Task has not started processing, cannot preview", "download_success": "Download successful", "download_failed": "Download failed", "image_load_failed": "Image failed to load or does not exist", "status": { "failed": "Conversion failed", "pending": "Pending", "processing": "Converting", "completed": "Completed", "retrying": "Retrying" } };
|
|
124242
124524
|
const enSettings = {
|
|
124243
124525
|
tabs: tabs$5,
|
|
124244
124526
|
about: about$5,
|
|
124527
|
+
update: update$5,
|
|
124245
124528
|
preview: preview$5
|
|
124246
124529
|
};
|
|
124247
124530
|
const navigation$4 = { "home": "主页", "list": "列表", "settings": "设置" };
|
|
@@ -124282,26 +124565,30 @@ const zhUpload = {
|
|
|
124282
124565
|
form: form$4,
|
|
124283
124566
|
messages: messages$d
|
|
124284
124567
|
};
|
|
124285
|
-
const details$4 = { "protocol_type": "协议类型:", "api_key_label": "API 密钥:", "api_key_placeholder": "请输入API密钥", "api_url_label": "API 地址:", "api_url_placeholder": "请输入API地址" };
|
|
124568
|
+
const details$4 = { "protocol_type": "协议类型:", "api_key_label": "API 密钥:", "api_key_placeholder": "请输入API密钥", "api_url_label": "API 地址:", "api_url_placeholder": "请输入API地址", "no_suffix": "无后缀" };
|
|
124286
124569
|
const model_config$4 = { "title": "模型配置", "name_label": "模型名称:", "name_placeholder": "GPT 4o", "id_label": "模型ID:", "id_placeholder": "gpt-4o", "add_button": "添加模型", "warning": "注意:请添加支持视觉识别的模型,并确保模型ID正确,否则模型将无法正常使用!" };
|
|
124287
124570
|
const actions$c = { "delete_provider": "删除服务商", "delete_model_title": "删除", "test_connection": "检查" };
|
|
124288
124571
|
const confirmations$8 = { "delete_model_title": "确认删除", "delete_model_content": '确定要删除模型"{{name}}"吗?', "delete_provider_title": "确认删除", "delete_provider_content": "确定要删除此服务商吗?删除后无法恢复。", "ok": "删除", "cancel": "取消" };
|
|
124289
|
-
const messages$c = { "fetch_providers_failed": "获取服务商列表失败", "fetch_details_failed": "获取服务商详情失败", "fetch_models_failed": "获取模型列表失败", "delete_model_success": "模型已成功删除", "delete_model_failed": "删除模型失败", "add_model_warning": "请填写完整的模型信息", "add_model_success": "模型添加成功", "add_model_failed": "添加模型失败", "update_success": "更新成功", "update_failed": "更新失败", "test_success": "模型连接测试成功", "test_failed": "连接测试失败", "delete_provider_success": "服务商已成功删除", "delete_provider_failed": "删除服务商失败", "update_status_failed": "更新服务商状态失败" };
|
|
124572
|
+
const messages$c = { "fetch_providers_failed": "获取服务商列表失败", "fetch_details_failed": "获取服务商详情失败", "fetch_models_failed": "获取模型列表失败", "delete_model_success": "模型已成功删除", "delete_model_failed": "删除模型失败", "add_model_warning": "请填写完整的模型信息", "add_model_success": "模型添加成功", "add_model_failed": "添加模型失败", "update_success": "更新成功", "update_failed": "更新失败", "test_success": "模型连接测试成功", "test_failed": "连接测试失败", "delete_provider_success": "服务商已成功删除", "delete_provider_failed": "删除服务商失败", "update_status_failed": "更新服务商状态失败", "fetch_model_list_failed": "获取远程模型列表失败", "model_already_exists": "该模型已存在于列表中" };
|
|
124290
124573
|
const add_provider$4 = { "tab_label": "添加服务商", "name_label": "服务商名称", "name_placeholder": "请输入服务商名称", "name_required": "请输入服务商名称", "type_label": "协议类型", "type_placeholder": "请选择协议类型", "type_required": "请选择协议类型", "submit_button": "确认添加", "success": "服务商添加成功", "failed": "添加服务商失败" };
|
|
124574
|
+
const model_list$4 = { "button": "模型列表", "modal_title": "从远程获取模型列表", "search_placeholder": "搜索模型名称或ID", "empty_text": "未找到模型", "add_button": "加入", "already_added": "已加入" };
|
|
124291
124575
|
const zhProvider = {
|
|
124292
124576
|
details: details$4,
|
|
124293
124577
|
model_config: model_config$4,
|
|
124294
124578
|
actions: actions$c,
|
|
124295
124579
|
confirmations: confirmations$8,
|
|
124296
124580
|
messages: messages$c,
|
|
124297
|
-
add_provider: add_provider$4
|
|
124581
|
+
add_provider: add_provider$4,
|
|
124582
|
+
model_list: model_list$4
|
|
124298
124583
|
};
|
|
124299
124584
|
const tabs$4 = { "model_service": "模型服务", "about": "关于我们" };
|
|
124300
124585
|
const about$4 = { "subtitle": "一款基于大模型视觉识别的高质量PDF转Markdown工具", "buttons": { "website": "官方网址", "license": "许可协议", "feedback": "反馈意见", "contact": "联系邮件" } };
|
|
124586
|
+
const update$4 = { "check_for_updates": "检查更新", "checking": "正在检查更新...", "available": "发现新版本", "downloading": "正在下载更新...", "ready": "更新已就绪", "restart_to_update": "重启并更新", "up_to_date": "已是最新版本", "error": "检查更新失败", "retry": "重试" };
|
|
124301
124587
|
const preview$4 = { "back": "返回", "download": "下载 .md", "delete": "删除", "cancel": "取消", "retry": "重试", "retry_failed": "重试失败页", "retry_all": "全部重试", "more_actions": "更多操作", "regenerate": "重新生成", "regenerate_tooltip": "重新生成当前页", "confirm_delete": "确认删除", "confirm_delete_content": "确定要删除此任务吗?此操作不可恢复。", "delete_success": "删除成功", "delete_failed": "删除失败", "confirm_cancel": "确认取消", "confirm_cancel_content": "确定要取消此任务吗?", "cancel_success": "取消成功", "cancel_failed": "取消失败", "confirm_retry": "确认重试", "confirm_retry_content": "确定要重试此任务吗?", "confirm_retry_failed": "确认重试失败页", "confirm_retry_failed_content": "确定要重试所有失败的页面吗?", "retry_success": "任务已加入重试队列", "retry_failed_success": "{{count}} 个失败页面已加入重试队列", "page_retry_success": "页面已加入重试队列", "page_retry_failed": "重试失败", "fetch_task_failed": "获取任务信息失败", "fetch_page_failed": "获取页面详情失败", "task_deleted": "任务已被删除", "task_not_started": "任务尚未开始处理,无法预览", "download_success": "下载成功", "download_failed": "下载失败", "image_load_failed": "图片加载失败或不存在", "status": { "failed": "转换失败", "pending": "等待转换", "processing": "转换中", "completed": "转换完成", "retrying": "重试中" } };
|
|
124302
124588
|
const zhSettings = {
|
|
124303
124589
|
tabs: tabs$4,
|
|
124304
124590
|
about: about$4,
|
|
124591
|
+
update: update$4,
|
|
124305
124592
|
preview: preview$4
|
|
124306
124593
|
};
|
|
124307
124594
|
const navigation$3 = { "home": "ホーム", "list": "リスト", "settings": "設定" };
|
|
@@ -124342,26 +124629,30 @@ const jaUpload = {
|
|
|
124342
124629
|
form: form$3,
|
|
124343
124630
|
messages: messages$a
|
|
124344
124631
|
};
|
|
124345
|
-
const details$3 = { "protocol_type": "プロトコル:", "api_key_label": "APIキー:", "api_key_placeholder": "APIキーを入力してください", "api_url_label": "API URL:", "api_url_placeholder": "API URLを入力してください" };
|
|
124632
|
+
const details$3 = { "protocol_type": "プロトコル:", "api_key_label": "APIキー:", "api_key_placeholder": "APIキーを入力してください", "api_url_label": "API URL:", "api_url_placeholder": "API URLを入力してください", "no_suffix": "サフィックスなし" };
|
|
124346
124633
|
const model_config$3 = { "title": "モデル設定", "name_label": "モデル名:", "name_placeholder": "GPT 4o", "id_label": "モデルID:", "id_placeholder": "gpt-4o", "add_button": "モデルを追加", "warning": "注意: 視覚認識に対応しているモデルを追加し、モデルIDが正確であることを確認してください。さもなければモデルは正常に動作しません!" };
|
|
124347
124634
|
const actions$9 = { "delete_provider": "プロバイダーを削除", "delete_model_title": "削除", "test_connection": "接続をテスト" };
|
|
124348
124635
|
const confirmations$6 = { "delete_model_title": "削除の確認", "delete_model_content": "モデル「{{name}}」を削除してもよろしいですか?", "delete_provider_title": "削除の確認", "delete_provider_content": "このプロバイダーを削除してもよろしいですか?この操作は元に戻せません。", "ok": "削除", "cancel": "キャンセル" };
|
|
124349
|
-
const messages$9 = { "fetch_providers_failed": "プロバイダーリストの取得に失敗しました", "fetch_details_failed": "プロバイダーの詳細取得に失敗しました", "fetch_models_failed": "モデルリストの取得に失敗しました", "delete_model_success": "モデルの削除が完了しました", "delete_model_failed": "モデルの削除に失敗しました", "add_model_warning": "モデル情報をすべて入力してください", "add_model_success": "モデルの追加が完了しました", "add_model_failed": "モデルの追加に失敗しました", "update_success": "更新が完了しました", "update_failed": "更新に失敗しました", "test_success": "モデルの接続テストが成功しました", "test_failed": "接続テストに失敗しました", "delete_provider_success": "プロバイダーの削除が完了しました", "delete_provider_failed": "プロバイダーの削除に失敗しました", "update_status_failed": "プロバイダーのステータス更新に失敗しました" };
|
|
124636
|
+
const messages$9 = { "fetch_providers_failed": "プロバイダーリストの取得に失敗しました", "fetch_details_failed": "プロバイダーの詳細取得に失敗しました", "fetch_models_failed": "モデルリストの取得に失敗しました", "delete_model_success": "モデルの削除が完了しました", "delete_model_failed": "モデルの削除に失敗しました", "add_model_warning": "モデル情報をすべて入力してください", "add_model_success": "モデルの追加が完了しました", "add_model_failed": "モデルの追加に失敗しました", "update_success": "更新が完了しました", "update_failed": "更新に失敗しました", "test_success": "モデルの接続テストが成功しました", "test_failed": "接続テストに失敗しました", "delete_provider_success": "プロバイダーの削除が完了しました", "delete_provider_failed": "プロバイダーの削除に失敗しました", "update_status_failed": "プロバイダーのステータス更新に失敗しました", "fetch_model_list_failed": "リモートモデルリストの取得に失敗しました", "model_already_exists": "このモデルは既にリストに存在します" };
|
|
124350
124637
|
const add_provider$3 = { "tab_label": "プロバイダーを追加", "name_label": "プロバイダー名", "name_placeholder": "プロバイダー名を入力してください", "name_required": "プロバイダー名を入力してください", "type_label": "プロトコルタイプ", "type_placeholder": "プロトコルタイプを選択してください", "type_required": "プロトコルタイプを選択してください", "submit_button": "プロバイダーを追加", "success": "プロバイダーの追加が完了しました", "failed": "プロバイダーの追加に失敗しました" };
|
|
124638
|
+
const model_list$3 = { "button": "モデルリスト", "modal_title": "リモートからモデルを取得", "search_placeholder": "モデル名またはIDで検索", "empty_text": "モデルが見つかりません", "add_button": "追加", "already_added": "追加済み" };
|
|
124351
124639
|
const jaProvider = {
|
|
124352
124640
|
details: details$3,
|
|
124353
124641
|
model_config: model_config$3,
|
|
124354
124642
|
actions: actions$9,
|
|
124355
124643
|
confirmations: confirmations$6,
|
|
124356
124644
|
messages: messages$9,
|
|
124357
|
-
add_provider: add_provider$3
|
|
124645
|
+
add_provider: add_provider$3,
|
|
124646
|
+
model_list: model_list$3
|
|
124358
124647
|
};
|
|
124359
124648
|
const tabs$3 = { "model_service": "モデルサービス", "about": "概要" };
|
|
124360
124649
|
const about$3 = { "version": "v1.0.6", "subtitle": "大規模ビジョンモデルを使用した高品質なPDFからMarkdownへのコンバーター", "buttons": { "website": "公式サイト", "license": "ライセンス", "feedback": "フィードバック", "contact": "連絡先メールアドレス" } };
|
|
124650
|
+
const update$3 = { "check_for_updates": "アップデートを確認", "checking": "アップデートを確認中...", "available": "アップデートが利用可能です", "downloading": "アップデートをダウンロード中...", "ready": "アップデートの準備完了", "restart_to_update": "再起動してアップデート", "up_to_date": "最新バージョンです", "error": "アップデートの確認に失敗しました", "retry": "再試行" };
|
|
124361
124651
|
const preview$3 = { "back": "戻る", "download": ".md形式でダウンロード", "delete": "削除", "cancel": "キャンセル", "retry": "再試行", "retry_failed": "失敗ページを再試行", "retry_all": "すべて再試行", "more_actions": "その他の操作", "regenerate": "再生成", "regenerate_tooltip": "現在のページを再生成", "confirm_delete": "削除の確認", "confirm_delete_content": "このタスクを削除してもよろしいですか?この操作は元に戻せません。", "delete_success": "削除しました", "delete_failed": "削除に失敗しました", "confirm_cancel": "キャンセルの確認", "confirm_cancel_content": "このタスクをキャンセルしてもよろしいですか?", "cancel_success": "キャンセルしました", "cancel_failed": "キャンセルに失敗しました", "confirm_retry": "再試行の確認", "confirm_retry_content": "このタスクを再試行してもよろしいですか?", "confirm_retry_failed": "失敗ページの再試行確認", "confirm_retry_failed_content": "すべての失敗したページを再試行してもよろしいですか?", "retry_success": "タスクが再試行キューに追加されました", "retry_failed_success": "{{count}}個の失敗ページが再試行キューに追加されました", "page_retry_success": "ページが再試行キューに追加されました", "page_retry_failed": "再試行に失敗しました", "fetch_task_failed": "タスク情報の取得に失敗しました", "fetch_page_failed": "ページ詳細の取得に失敗しました", "task_deleted": "タスクは削除されました", "task_not_started": "タスクはまだ処理されていません。プレビューできません", "download_success": "ダウンロードしました", "download_failed": "ダウンロードに失敗しました", "image_load_failed": "画像の読み込みに失敗したか、存在しません", "status": { "failed": "変換失敗", "pending": "変換待ち", "processing": "変換中", "completed": "変換完了", "retrying": "再試行中" } };
|
|
124362
124652
|
const jaSettings = {
|
|
124363
124653
|
tabs: tabs$3,
|
|
124364
124654
|
about: about$3,
|
|
124655
|
+
update: update$3,
|
|
124365
124656
|
preview: preview$3
|
|
124366
124657
|
};
|
|
124367
124658
|
const navigation$2 = { "home": "Главная", "list": "Список", "settings": "Настройки" };
|
|
@@ -124402,26 +124693,30 @@ const ruUpload = {
|
|
|
124402
124693
|
form: form$2,
|
|
124403
124694
|
messages: messages$7
|
|
124404
124695
|
};
|
|
124405
|
-
const details$2 = { "protocol_type": "Протокол:", "api_key_label": "API-ключ:", "api_key_placeholder": "Введите API-ключ", "api_url_label": "API URL:", "api_url_placeholder": "Введите API URL" };
|
|
124696
|
+
const details$2 = { "protocol_type": "Протокол:", "api_key_label": "API-ключ:", "api_key_placeholder": "Введите API-ключ", "api_url_label": "API URL:", "api_url_placeholder": "Введите API URL", "no_suffix": "Без суффикса" };
|
|
124406
124697
|
const model_config$2 = { "title": "Конфигурация модели", "name_label": "Название модели:", "name_placeholder": "GPT 4o", "id_label": "ID модели:", "id_placeholder": "gpt-4o", "add_button": "Добавить модель", "warning": "Примечание: Пожалуйста, добавьте модели, поддерживающие визуальное распознавание, и убедитесь, что ID модели указан правильно. В противном случае модель не будет работать должным образом!" };
|
|
124407
124698
|
const actions$6 = { "delete_provider": "Удалить провайдера", "delete_model_title": "Удалить", "test_connection": "Проверить подключение" };
|
|
124408
124699
|
const confirmations$4 = { "delete_model_title": "Подтверждение удаления", "delete_model_content": 'Вы уверены, что хотите удалить модель "{{name}}"?', "delete_provider_title": "Подтверждение удаления", "delete_provider_content": "Вы уверены, что хотите удалить этого провайдера? Это действие нельзя отменить.", "ok": "Удалить", "cancel": "Отмена" };
|
|
124409
|
-
const messages$6 = { "fetch_providers_failed": "Не удалось получить список провайдеров", "fetch_details_failed": "Не удалось получить данные провайдера", "fetch_models_failed": "Не удалось получить список моделей", "delete_model_success": "Модель успешно удалена", "delete_model_failed": "Не удалось удалить модель", "add_model_warning": "Пожалуйста, заполните полную информацию о модели", "add_model_success": "Модель успешно добавлена", "add_model_failed": "Не удалось добавить модель", "update_success": "Успешно обновлено", "update_failed": "Ошибка обновления", "test_success": "Проверка подключения модели успешна", "test_failed": "Ошибка проверки подключения", "delete_provider_success": "Провайдер успешно удалён", "delete_provider_failed": "Не удалось удалить провайдера", "update_status_failed": "Не удалось обновить статус провайдера" };
|
|
124700
|
+
const messages$6 = { "fetch_providers_failed": "Не удалось получить список провайдеров", "fetch_details_failed": "Не удалось получить данные провайдера", "fetch_models_failed": "Не удалось получить список моделей", "delete_model_success": "Модель успешно удалена", "delete_model_failed": "Не удалось удалить модель", "add_model_warning": "Пожалуйста, заполните полную информацию о модели", "add_model_success": "Модель успешно добавлена", "add_model_failed": "Не удалось добавить модель", "update_success": "Успешно обновлено", "update_failed": "Ошибка обновления", "test_success": "Проверка подключения модели успешна", "test_failed": "Ошибка проверки подключения", "delete_provider_success": "Провайдер успешно удалён", "delete_provider_failed": "Не удалось удалить провайдера", "update_status_failed": "Не удалось обновить статус провайдера", "fetch_model_list_failed": "Не удалось получить список удалённых моделей", "model_already_exists": "Эта модель уже существует в списке" };
|
|
124410
124701
|
const add_provider$2 = { "tab_label": "Добавить провайдера", "name_label": "Название провайдера", "name_placeholder": "Введите название провайдера", "name_required": "Пожалуйста, введите название провайдера", "type_label": "Тип протокола", "type_placeholder": "Выберите тип протокола", "type_required": "Пожалуйста, выберите тип протокола", "submit_button": "Добавить провайдера", "success": "Провайдер успешно добавлен", "failed": "Не удалось добавить провайдера" };
|
|
124702
|
+
const model_list$2 = { "button": "Список моделей", "modal_title": "Получить модели из удалённого источника", "search_placeholder": "Поиск по названию или ID модели", "empty_text": "Модели не найдены", "add_button": "Добавить", "already_added": "Добавлено" };
|
|
124411
124703
|
const ruProvider = {
|
|
124412
124704
|
details: details$2,
|
|
124413
124705
|
model_config: model_config$2,
|
|
124414
124706
|
actions: actions$6,
|
|
124415
124707
|
confirmations: confirmations$4,
|
|
124416
124708
|
messages: messages$6,
|
|
124417
|
-
add_provider: add_provider$2
|
|
124709
|
+
add_provider: add_provider$2,
|
|
124710
|
+
model_list: model_list$2
|
|
124418
124711
|
};
|
|
124419
124712
|
const tabs$2 = { "model_service": "Модельный сервис", "about": "О приложении" };
|
|
124420
124713
|
const about$2 = { "version": "v1.0.6", "subtitle": "Высококачественный конвертер PDF в Markdown на основе больших визуальных моделей", "buttons": { "website": "Официальный сайт", "license": "Лицензия", "feedback": "Обратная связь", "contact": "Контактный email" } };
|
|
124714
|
+
const update$2 = { "check_for_updates": "Проверить обновления", "checking": "Проверка обновлений...", "available": "Доступно обновление", "downloading": "Загрузка обновления...", "ready": "Обновление готово к установке", "restart_to_update": "Перезапустить и обновить", "up_to_date": "У вас последняя версия", "error": "Ошибка проверки обновлений", "retry": "Повторить" };
|
|
124421
124715
|
const preview$2 = { "back": "Назад", "download": "Скачать .md", "delete": "Удалить", "cancel": "Отмена", "retry": "Повторить", "retry_failed": "Повторить неудачные", "retry_all": "Повторить все", "more_actions": "Действия", "regenerate": "Перегенерировать", "regenerate_tooltip": "Перегенерировать текущую страницу", "confirm_delete": "Подтвердите удаление", "confirm_delete_content": "Вы уверены, что хотите удалить эту задачу? Это действие необратимо.", "delete_success": "Успешно удалено", "delete_failed": "Ошибка удаления", "confirm_cancel": "Подтвердите отмену", "confirm_cancel_content": "Вы уверены, что хотите отменить эту задачу?", "cancel_success": "Успешно отменено", "cancel_failed": "Ошибка отмены", "confirm_retry": "Подтвердите повтор", "confirm_retry_content": "Вы уверены, что хотите повторить эту задачу?", "confirm_retry_failed": "Подтвердите повтор неудачных", "confirm_retry_failed_content": "Вы уверены, что хотите повторить все неудачные страницы?", "retry_success": "Задача добавлена в очередь на повтор", "retry_failed_success": "{{count}} неудачных страниц добавлено в очередь на повтор", "page_retry_success": "Страница добавлена в очередь на повтор", "page_retry_failed": "Ошибка повтора", "fetch_task_failed": "Не удалось получить информацию о задаче", "fetch_page_failed": "Не удалось получить детали страницы", "task_deleted": "Задача была удалена", "task_not_started": "Задача ещё не обработана, предпросмотр недоступен", "download_success": "Успешно скачано", "download_failed": "Ошибка скачивания", "image_load_failed": "Не удалось загрузить изображение или оно не существует", "status": { "failed": "Ошибка конвертации", "pending": "Ожидание", "processing": "Конвертация", "completed": "Завершено", "retrying": "Повторная попытка" } };
|
|
124422
124716
|
const ruSettings = {
|
|
124423
124717
|
tabs: tabs$2,
|
|
124424
124718
|
about: about$2,
|
|
124719
|
+
update: update$2,
|
|
124425
124720
|
preview: preview$2
|
|
124426
124721
|
};
|
|
124427
124722
|
const navigation$1 = { "home": "خانه", "list": "لیست", "settings": "تنظیمات" };
|
|
@@ -124462,26 +124757,30 @@ const faUpload = {
|
|
|
124462
124757
|
form: form$1,
|
|
124463
124758
|
messages: messages$4
|
|
124464
124759
|
};
|
|
124465
|
-
const details$1 = { "protocol_type": "پروتکل:", "api_key_label": "کلید API:", "api_key_placeholder": "کلید API را وارد کنید", "api_url_label": "API URL:", "api_url_placeholder": "API URL را وارد کنید" };
|
|
124760
|
+
const details$1 = { "protocol_type": "پروتکل:", "api_key_label": "کلید API:", "api_key_placeholder": "کلید API را وارد کنید", "api_url_label": "API URL:", "api_url_placeholder": "API URL را وارد کنید", "no_suffix": "بدون پسوند" };
|
|
124466
124761
|
const model_config$1 = { "title": "پیکربندی مدل", "name_label": "نام مدل:", "name_placeholder": "GPT 4o", "id_label": "شناسه مدل:", "id_placeholder": "gpt-4o", "add_button": "افزودن مدل", "warning": "توجه: لطفاً مدلهایی که از تشخیص تصویر پشتیبانی میکنند اضافه کنید و مطمئن شوید که شناسه مدل صحیح است. در غیر این صورت مدل به درستی کار نخواهد کرد!" };
|
|
124467
124762
|
const actions$3 = { "delete_provider": "حذف ارائهدهنده", "delete_model_title": "حذف", "test_connection": "تست اتصال" };
|
|
124468
124763
|
const confirmations$2 = { "delete_model_title": "تأیید حذف", "delete_model_content": "آیا از حذف مدل «{{name}}» مطمئن هستید؟", "delete_provider_title": "تأیید حذف", "delete_provider_content": "آیا از حذف این ارائهدهنده مطمئن هستید؟ این عملیات قابل بازگشت نیست.", "ok": "حذف", "cancel": "لغو" };
|
|
124469
|
-
const messages$3 = { "fetch_providers_failed": "دریافت لیست ارائهدهندگان ناموفق بود", "fetch_details_failed": "دریافت جزئیات ارائهدهنده ناموفق بود", "fetch_models_failed": "دریافت لیست مدلها ناموفق بود", "delete_model_success": "مدل با موفقیت حذف شد", "delete_model_failed": "حذف مدل ناموفق بود", "add_model_warning": "لطفاً اطلاعات کامل مدل را وارد کنید", "add_model_success": "مدل با موفقیت اضافه شد", "add_model_failed": "افزودن مدل ناموفق بود", "update_success": "با موفقیت بهروزرسانی شد", "update_failed": "بهروزرسانی ناموفق بود", "test_success": "تست اتصال مدل موفق بود", "test_failed": "تست اتصال ناموفق بود", "delete_provider_success": "ارائهدهنده با موفقیت حذف شد", "delete_provider_failed": "حذف ارائهدهنده ناموفق بود", "update_status_failed": "بهروزرسانی وضعیت ارائهدهنده ناموفق بود" };
|
|
124764
|
+
const messages$3 = { "fetch_providers_failed": "دریافت لیست ارائهدهندگان ناموفق بود", "fetch_details_failed": "دریافت جزئیات ارائهدهنده ناموفق بود", "fetch_models_failed": "دریافت لیست مدلها ناموفق بود", "delete_model_success": "مدل با موفقیت حذف شد", "delete_model_failed": "حذف مدل ناموفق بود", "add_model_warning": "لطفاً اطلاعات کامل مدل را وارد کنید", "add_model_success": "مدل با موفقیت اضافه شد", "add_model_failed": "افزودن مدل ناموفق بود", "update_success": "با موفقیت بهروزرسانی شد", "update_failed": "بهروزرسانی ناموفق بود", "test_success": "تست اتصال مدل موفق بود", "test_failed": "تست اتصال ناموفق بود", "delete_provider_success": "ارائهدهنده با موفقیت حذف شد", "delete_provider_failed": "حذف ارائهدهنده ناموفق بود", "update_status_failed": "بهروزرسانی وضعیت ارائهدهنده ناموفق بود", "fetch_model_list_failed": "دریافت لیست مدلهای ریموت ناموفق بود", "model_already_exists": "این مدل قبلاً در لیست وجود دارد" };
|
|
124470
124765
|
const add_provider$1 = { "tab_label": "افزودن ارائهدهنده", "name_label": "نام ارائهدهنده", "name_placeholder": "نام ارائهدهنده را وارد کنید", "name_required": "لطفاً نام ارائهدهنده را وارد کنید", "type_label": "نوع پروتکل", "type_placeholder": "نوع پروتکل را انتخاب کنید", "type_required": "لطفاً نوع پروتکل را انتخاب کنید", "submit_button": "افزودن ارائهدهنده", "success": "ارائهدهنده با موفقیت اضافه شد", "failed": "افزودن ارائهدهنده ناموفق بود" };
|
|
124766
|
+
const model_list$1 = { "button": "لیست مدلها", "modal_title": "دریافت مدلها از ریموت", "search_placeholder": "جستجوی نام یا شناسه مدل", "empty_text": "مدلی یافت نشد", "add_button": "افزودن", "already_added": "اضافه شده" };
|
|
124471
124767
|
const faProvider = {
|
|
124472
124768
|
details: details$1,
|
|
124473
124769
|
model_config: model_config$1,
|
|
124474
124770
|
actions: actions$3,
|
|
124475
124771
|
confirmations: confirmations$2,
|
|
124476
124772
|
messages: messages$3,
|
|
124477
|
-
add_provider: add_provider$1
|
|
124773
|
+
add_provider: add_provider$1,
|
|
124774
|
+
model_list: model_list$1
|
|
124478
124775
|
};
|
|
124479
124776
|
const tabs$1 = { "model_service": "سرویس مدل", "about": "درباره ما" };
|
|
124480
124777
|
const about$1 = { "version": "v1.0.6", "subtitle": "مبدل با کیفیت بالای PDF به Markdown با قدرت مدلهای بینایی بزرگ", "buttons": { "website": "سایت رسمی", "license": "مجوز", "feedback": "بازخورد", "contact": "ایمیل تماس" } };
|
|
124778
|
+
const update$1 = { "check_for_updates": "بررسی بهروزرسانی", "checking": "در حال بررسی بهروزرسانی...", "available": "بهروزرسانی موجود است", "downloading": "در حال دانلود بهروزرسانی...", "ready": "بهروزرسانی آماده نصب است", "restart_to_update": "راهاندازی مجدد و بهروزرسانی", "up_to_date": "شما آخرین نسخه را دارید", "error": "بررسی بهروزرسانی ناموفق بود", "retry": "تلاش مجدد" };
|
|
124481
124779
|
const preview$1 = { "back": "بازگشت", "download": "دانلود .md", "delete": "حذف", "cancel": "لغو", "retry": "تلاش مجدد", "retry_failed": "تلاش مجدد ناموفقها", "retry_all": "تلاش مجدد همه", "more_actions": "عملیات بیشتر", "regenerate": "بازتولید", "regenerate_tooltip": "بازتولید صفحه فعلی", "confirm_delete": "تأیید حذف", "confirm_delete_content": "آیا مطمئن هستید که میخواهید این وظیفه را حذف کنید؟ این عمل قابل بازگشت نیست.", "delete_success": "با موفقیت حذف شد", "delete_failed": "حذف ناموفق بود", "confirm_cancel": "تأیید لغو", "confirm_cancel_content": "آیا مطمئن هستید که میخواهید این وظیفه را لغو کنید؟", "cancel_success": "با موفقیت لغو شد", "cancel_failed": "لغو ناموفق بود", "confirm_retry": "تأیید تلاش مجدد", "confirm_retry_content": "آیا مطمئن هستید که میخواهید این وظیفه را مجدداً تلاش کنید؟", "confirm_retry_failed": "تأیید تلاش مجدد صفحات ناموفق", "confirm_retry_failed_content": "آیا مطمئن هستید که میخواهید همه صفحات ناموفق را مجدداً تلاش کنید؟", "retry_success": "وظیفه به صف تلاش مجدد اضافه شد", "retry_failed_success": "{{count}} صفحه ناموفق به صف تلاش مجدد اضافه شد", "page_retry_success": "صفحه به صف تلاش مجدد اضافه شد", "page_retry_failed": "تلاش مجدد ناموفق بود", "fetch_task_failed": "دریافت اطلاعات وظیفه ناموفق بود", "fetch_page_failed": "دریافت جزئیات صفحه ناموفق بود", "task_deleted": "وظیفه حذف شده است", "task_not_started": "وظیفه هنوز پردازش نشده است، پیشنمایش امکانپذیر نیست", "download_success": "دانلود موفق", "download_failed": "دانلود ناموفق بود", "image_load_failed": "بارگذاری تصویر ناموفق بود یا وجود ندارد", "status": { "failed": "تبدیل ناموفق", "pending": "در انتظار", "processing": "در حال تبدیل", "completed": "تکمیل شده", "retrying": "در حال تلاش مجدد" } };
|
|
124482
124780
|
const faSettings = {
|
|
124483
124781
|
tabs: tabs$1,
|
|
124484
124782
|
about: about$1,
|
|
124783
|
+
update: update$1,
|
|
124485
124784
|
preview: preview$1
|
|
124486
124785
|
};
|
|
124487
124786
|
const navigation = { "home": "الرئيسية", "list": "القائمة", "settings": "الإعدادات" };
|
|
@@ -124522,26 +124821,30 @@ const arUpload = {
|
|
|
124522
124821
|
form,
|
|
124523
124822
|
messages: messages$1
|
|
124524
124823
|
};
|
|
124525
|
-
const details = { "protocol_type": "بروتوكول:", "api_key_label": "مفتاح API:", "api_key_placeholder": "أدخل مفتاح API", "api_url_label": "API URL:", "api_url_placeholder": "أدخل API URL" };
|
|
124824
|
+
const details = { "protocol_type": "بروتوكول:", "api_key_label": "مفتاح API:", "api_key_placeholder": "أدخل مفتاح API", "api_url_label": "API URL:", "api_url_placeholder": "أدخل API URL", "no_suffix": "بدون لاحقة" };
|
|
124526
124825
|
const model_config = { "title": "تكوين النموذج", "name_label": "اسم النموذج:", "name_placeholder": "GPT 4o", "id_label": "معرف النموذج:", "id_placeholder": "gpt-4o", "add_button": "إضافة نموذج", "warning": "ملاحظة: يرجى إضافة نماذج تدعم التعرف على الرؤية والتأكد من صحة معرف النموذج، وإلا لن يعمل النموذج بشكل صحيح!" };
|
|
124527
124826
|
const actions = { "delete_provider": "حذف المزود", "delete_model_title": "حذف", "test_connection": "اختبار الاتصال" };
|
|
124528
124827
|
const confirmations = { "delete_model_title": "تأكيد الحذف", "delete_model_content": 'هل أنت متأكد من حذف النموذج "{{name}}"؟', "delete_provider_title": "تأكيد الحذف", "delete_provider_content": "هل أنت متأكد من حذف هذا المزود؟ لا يمكن التراجع عن هذا الإجراء.", "ok": "حذف", "cancel": "إلغاء" };
|
|
124529
|
-
const messages = { "fetch_providers_failed": "فشل في جلب قائمة المزودين", "fetch_details_failed": "فشل في جلب تفاصيل المزود", "fetch_models_failed": "فشل في جلب قائمة النماذج", "delete_model_success": "تم حذف النموذج بنجاح", "delete_model_failed": "فشل في حذف النموذج", "add_model_warning": "الرجاء ملء معلومات النموذج الكاملة", "add_model_success": "تم إضافة النموذج بنجاح", "add_model_failed": "فشل في إضافة النموذج", "update_success": "تم التحديث بنجاح", "update_failed": "فشل التحديث", "test_success": "نجاح اختبار اتصال النموذج", "test_failed": "فشل اختبار الاتصال", "delete_provider_success": "تم حذف المزود بنجاح", "delete_provider_failed": "فشل في حذف المزود", "update_status_failed": "فشل في تحديث حالة المزود" };
|
|
124828
|
+
const messages = { "fetch_providers_failed": "فشل في جلب قائمة المزودين", "fetch_details_failed": "فشل في جلب تفاصيل المزود", "fetch_models_failed": "فشل في جلب قائمة النماذج", "delete_model_success": "تم حذف النموذج بنجاح", "delete_model_failed": "فشل في حذف النموذج", "add_model_warning": "الرجاء ملء معلومات النموذج الكاملة", "add_model_success": "تم إضافة النموذج بنجاح", "add_model_failed": "فشل في إضافة النموذج", "update_success": "تم التحديث بنجاح", "update_failed": "فشل التحديث", "test_success": "نجاح اختبار اتصال النموذج", "test_failed": "فشل اختبار الاتصال", "delete_provider_success": "تم حذف المزود بنجاح", "delete_provider_failed": "فشل في حذف المزود", "update_status_failed": "فشل في تحديث حالة المزود", "fetch_model_list_failed": "فشل في جلب قائمة النماذج البعيدة", "model_already_exists": "هذا النموذج موجود بالفعل في القائمة" };
|
|
124530
124829
|
const add_provider = { "tab_label": "إضافة مزود", "name_label": "اسم المزود", "name_placeholder": "أدخل اسم المزود", "name_required": "الرجاء إدخال اسم المزود", "type_label": "نوع البروتوكول", "type_placeholder": "اختر نوع البروتوكول", "type_required": "الرجاء اختيار نوع البروتوكول", "submit_button": "إضافة مزود", "success": "تم إضافة المزود بنجاح", "failed": "فشل في إضافة المزود" };
|
|
124830
|
+
const model_list = { "button": "قائمة النماذج", "modal_title": "جلب النماذج من البعيد", "search_placeholder": "البحث باسم النموذج أو المعرف", "empty_text": "لم يتم العثور على نماذج", "add_button": "إضافة", "already_added": "تمت الإضافة" };
|
|
124531
124831
|
const arProvider = {
|
|
124532
124832
|
details,
|
|
124533
124833
|
model_config,
|
|
124534
124834
|
actions,
|
|
124535
124835
|
confirmations,
|
|
124536
124836
|
messages,
|
|
124537
|
-
add_provider
|
|
124837
|
+
add_provider,
|
|
124838
|
+
model_list
|
|
124538
124839
|
};
|
|
124539
124840
|
const tabs = { "model_service": "خدمة النماذج", "about": "من نحن" };
|
|
124540
124841
|
const about = { "version": "v1.0.6", "subtitle": "محول PDF إلى Markdown عالي الجودة مدعوم بنماذج الرؤية الكبيرة", "buttons": { "website": "الموقع الرسمي", "license": "الرخصة", "feedback": "الملاحظات", "contact": "البريد الإلكتروني للتواصل" } };
|
|
124842
|
+
const update = { "check_for_updates": "التحقق من التحديثات", "checking": "جارٍ التحقق من التحديثات...", "available": "يتوفر تحديث", "downloading": "جارٍ تحميل التحديث...", "ready": "التحديث جاهز للتثبيت", "restart_to_update": "إعادة التشغيل والتحديث", "up_to_date": "لديك أحدث إصدار", "error": "فشل التحقق من التحديثات", "retry": "إعادة المحاولة" };
|
|
124541
124843
|
const preview = { "back": "رجوع", "download": "تحميل .md", "delete": "حذف", "cancel": "إلغاء", "retry": "إعادة المحاولة", "retry_failed": "إعادة محاولة الفاشلة", "retry_all": "إعادة محاولة الكل", "more_actions": "المزيد من الإجراءات", "regenerate": "إعادة إنشاء", "regenerate_tooltip": "إعادة إنشاء الصفحة الحالية", "confirm_delete": "تأكيد الحذف", "confirm_delete_content": "هل أنت متأكد من حذف هذه المهمة؟ لا يمكن التراجع عن هذا الإجراء.", "delete_success": "تم الحذف بنجاح", "delete_failed": "فشل الحذف", "confirm_cancel": "تأكيد الإلغاء", "confirm_cancel_content": "هل أنت متأكد من إلغاء هذه المهمة؟", "cancel_success": "تم الإلغاء بنجاح", "cancel_failed": "فشل الإلغاء", "confirm_retry": "تأكيد إعادة المحاولة", "confirm_retry_content": "هل أنت متأكد من إعادة محاولة هذه المهمة؟", "confirm_retry_failed": "تأكيد إعادة محاولة الصفحات الفاشلة", "confirm_retry_failed_content": "هل أنت متأكد من إعادة محاولة جميع الصفحات الفاشلة؟", "retry_success": "تمت إضافة المهمة إلى قائمة إعادة المحاولة", "retry_failed_success": "تمت إضافة {{count}} صفحة فاشلة إلى قائمة إعادة المحاولة", "page_retry_success": "تمت إضافة الصفحة إلى قائمة إعادة المحاولة", "page_retry_failed": "فشل إعادة المحاولة", "fetch_task_failed": "فشل في الحصول على معلومات المهمة", "fetch_page_failed": "فشل في الحصول على تفاصيل الصفحة", "task_deleted": "تم حذف المهمة", "task_not_started": "لم تتم معالجة المهمة بعد، لا يمكن المعاينة", "download_success": "تم التحميل بنجاح", "download_failed": "فشل التحميل", "image_load_failed": "فشل تحميل الصورة أو غير موجودة", "status": { "failed": "فشل التحويل", "pending": "في الانتظار", "processing": "جاري التحويل", "completed": "مكتمل", "retrying": "إعادة المحاولة" } };
|
|
124542
124844
|
const arSettings = {
|
|
124543
124845
|
tabs,
|
|
124544
124846
|
about,
|
|
124847
|
+
update,
|
|
124545
124848
|
preview
|
|
124546
124849
|
};
|
|
124547
124850
|
const resources = {
|