@arpproject/recrate 0.1.26 → 0.1.28
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/recrate.es.js
CHANGED
|
@@ -7927,9 +7927,9 @@ var CheckCircleFilled = function CheckCircleFilled2(props, ref) {
|
|
|
7927
7927
|
icon: CheckCircleFilled$1
|
|
7928
7928
|
}));
|
|
7929
7929
|
};
|
|
7930
|
-
var RefIcon$
|
|
7930
|
+
var RefIcon$B = /* @__PURE__ */ React.forwardRef(CheckCircleFilled);
|
|
7931
7931
|
if (process.env.NODE_ENV !== "production") {
|
|
7932
|
-
RefIcon$
|
|
7932
|
+
RefIcon$B.displayName = "CheckCircleFilled";
|
|
7933
7933
|
}
|
|
7934
7934
|
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" };
|
|
7935
7935
|
var CloseCircleFilled = function CloseCircleFilled2(props, ref) {
|
|
@@ -7938,9 +7938,9 @@ var CloseCircleFilled = function CloseCircleFilled2(props, ref) {
|
|
|
7938
7938
|
icon: CloseCircleFilled$1
|
|
7939
7939
|
}));
|
|
7940
7940
|
};
|
|
7941
|
-
var RefIcon$
|
|
7941
|
+
var RefIcon$A = /* @__PURE__ */ React.forwardRef(CloseCircleFilled);
|
|
7942
7942
|
if (process.env.NODE_ENV !== "production") {
|
|
7943
|
-
RefIcon$
|
|
7943
|
+
RefIcon$A.displayName = "CloseCircleFilled";
|
|
7944
7944
|
}
|
|
7945
7945
|
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" };
|
|
7946
7946
|
var CloseOutlined = function CloseOutlined2(props, ref) {
|
|
@@ -7949,9 +7949,9 @@ var CloseOutlined = function CloseOutlined2(props, ref) {
|
|
|
7949
7949
|
icon: CloseOutlined$1
|
|
7950
7950
|
}));
|
|
7951
7951
|
};
|
|
7952
|
-
var RefIcon$
|
|
7952
|
+
var RefIcon$z = /* @__PURE__ */ React.forwardRef(CloseOutlined);
|
|
7953
7953
|
if (process.env.NODE_ENV !== "production") {
|
|
7954
|
-
RefIcon$
|
|
7954
|
+
RefIcon$z.displayName = "CloseOutlined";
|
|
7955
7955
|
}
|
|
7956
7956
|
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" };
|
|
7957
7957
|
var ExclamationCircleFilled = function ExclamationCircleFilled2(props, ref) {
|
|
@@ -7960,9 +7960,9 @@ var ExclamationCircleFilled = function ExclamationCircleFilled2(props, ref) {
|
|
|
7960
7960
|
icon: ExclamationCircleFilled$1
|
|
7961
7961
|
}));
|
|
7962
7962
|
};
|
|
7963
|
-
var RefIcon$
|
|
7963
|
+
var RefIcon$y = /* @__PURE__ */ React.forwardRef(ExclamationCircleFilled);
|
|
7964
7964
|
if (process.env.NODE_ENV !== "production") {
|
|
7965
|
-
RefIcon$
|
|
7965
|
+
RefIcon$y.displayName = "ExclamationCircleFilled";
|
|
7966
7966
|
}
|
|
7967
7967
|
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" };
|
|
7968
7968
|
var InfoCircleFilled = function InfoCircleFilled2(props, ref) {
|
|
@@ -7971,9 +7971,9 @@ var InfoCircleFilled = function InfoCircleFilled2(props, ref) {
|
|
|
7971
7971
|
icon: InfoCircleFilled$1
|
|
7972
7972
|
}));
|
|
7973
7973
|
};
|
|
7974
|
-
var RefIcon$
|
|
7974
|
+
var RefIcon$x = /* @__PURE__ */ React.forwardRef(InfoCircleFilled);
|
|
7975
7975
|
if (process.env.NODE_ENV !== "production") {
|
|
7976
|
-
RefIcon$
|
|
7976
|
+
RefIcon$x.displayName = "InfoCircleFilled";
|
|
7977
7977
|
}
|
|
7978
7978
|
var attributes = "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";
|
|
7979
7979
|
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";
|
|
@@ -8714,9 +8714,9 @@ var LoadingOutlined = function LoadingOutlined2(props, ref) {
|
|
|
8714
8714
|
icon: LoadingOutlined$1
|
|
8715
8715
|
}));
|
|
8716
8716
|
};
|
|
8717
|
-
var RefIcon$
|
|
8717
|
+
var RefIcon$w = /* @__PURE__ */ React.forwardRef(LoadingOutlined);
|
|
8718
8718
|
if (process.env.NODE_ENV !== "production") {
|
|
8719
|
-
RefIcon$
|
|
8719
|
+
RefIcon$w.displayName = "LoadingOutlined";
|
|
8720
8720
|
}
|
|
8721
8721
|
function mergeProps$1(...items) {
|
|
8722
8722
|
const ret = {};
|
|
@@ -8775,7 +8775,7 @@ const useClosable = (propCloseCollection, contextCloseCollection, fallbackCloseC
|
|
|
8775
8775
|
const [contextLocale] = useLocale$1("global", localeValues.global);
|
|
8776
8776
|
const closeBtnIsDisabled = typeof propCloseConfig !== "boolean" ? !!(propCloseConfig === null || propCloseConfig === void 0 ? void 0 : propCloseConfig.disabled) : false;
|
|
8777
8777
|
const mergedFallbackCloseCollection = React__default.useMemo(() => Object.assign({
|
|
8778
|
-
closeIcon: /* @__PURE__ */ React__default.createElement(RefIcon$
|
|
8778
|
+
closeIcon: /* @__PURE__ */ React__default.createElement(RefIcon$z, null)
|
|
8779
8779
|
}, fallbackCloseCollection), [fallbackCloseCollection]);
|
|
8780
8780
|
const mergedClosableConfig = React__default.useMemo(() => {
|
|
8781
8781
|
if (propCloseConfig === false) {
|
|
@@ -9100,11 +9100,11 @@ const useStyle$u = genStyleHooks("Message", (token2) => {
|
|
|
9100
9100
|
return t2;
|
|
9101
9101
|
});
|
|
9102
9102
|
const TypeIcon = {
|
|
9103
|
-
info: /* @__PURE__ */ React.createElement(RefIcon$
|
|
9104
|
-
success: /* @__PURE__ */ React.createElement(RefIcon$
|
|
9105
|
-
error: /* @__PURE__ */ React.createElement(RefIcon$
|
|
9106
|
-
warning: /* @__PURE__ */ React.createElement(RefIcon$
|
|
9107
|
-
loading: /* @__PURE__ */ React.createElement(RefIcon$
|
|
9103
|
+
info: /* @__PURE__ */ React.createElement(RefIcon$x, null),
|
|
9104
|
+
success: /* @__PURE__ */ React.createElement(RefIcon$B, null),
|
|
9105
|
+
error: /* @__PURE__ */ React.createElement(RefIcon$A, null),
|
|
9106
|
+
warning: /* @__PURE__ */ React.createElement(RefIcon$y, null),
|
|
9107
|
+
loading: /* @__PURE__ */ React.createElement(RefIcon$w, null)
|
|
9108
9108
|
};
|
|
9109
9109
|
const PureContent$1 = ({
|
|
9110
9110
|
prefixCls,
|
|
@@ -9191,7 +9191,7 @@ const Holder$1 = /* @__PURE__ */ React.forwardRef((props, ref) => {
|
|
|
9191
9191
|
const getNotificationMotion = () => getMotion$3(prefixCls, transitionName);
|
|
9192
9192
|
const mergedCloseIcon = /* @__PURE__ */ React.createElement("span", {
|
|
9193
9193
|
className: `${prefixCls}-close-x`
|
|
9194
|
-
}, /* @__PURE__ */ React.createElement(RefIcon$
|
|
9194
|
+
}, /* @__PURE__ */ React.createElement(RefIcon$z, {
|
|
9195
9195
|
className: `${prefixCls}-close-icon`
|
|
9196
9196
|
}));
|
|
9197
9197
|
const [api2, holder] = useNotification$1({
|
|
@@ -10231,7 +10231,7 @@ const InnerLoadingIcon = /* @__PURE__ */ forwardRef((props, ref) => {
|
|
|
10231
10231
|
className: mergedIconCls,
|
|
10232
10232
|
style: style2,
|
|
10233
10233
|
ref
|
|
10234
|
-
}, /* @__PURE__ */ React__default.createElement(RefIcon$
|
|
10234
|
+
}, /* @__PURE__ */ React__default.createElement(RefIcon$w, {
|
|
10235
10235
|
className: iconClassName
|
|
10236
10236
|
}));
|
|
10237
10237
|
});
|
|
@@ -10967,9 +10967,9 @@ var RightOutlined = function RightOutlined2(props, ref) {
|
|
|
10967
10967
|
icon: RightOutlined$1
|
|
10968
10968
|
}));
|
|
10969
10969
|
};
|
|
10970
|
-
var RefIcon$
|
|
10970
|
+
var RefIcon$v = /* @__PURE__ */ React.forwardRef(RightOutlined);
|
|
10971
10971
|
if (process.env.NODE_ENV !== "production") {
|
|
10972
|
-
RefIcon$
|
|
10972
|
+
RefIcon$v.displayName = "RightOutlined";
|
|
10973
10973
|
}
|
|
10974
10974
|
const genCollapseMotion = (token2) => ({
|
|
10975
10975
|
[token2.componentCls]: {
|
|
@@ -17078,7 +17078,7 @@ const NormalOkBtn = () => {
|
|
|
17078
17078
|
function renderCloseIcon(prefixCls, closeIcon) {
|
|
17079
17079
|
return /* @__PURE__ */ React__default.createElement("span", {
|
|
17080
17080
|
className: `${prefixCls}-close-x`
|
|
17081
|
-
}, closeIcon || /* @__PURE__ */ React__default.createElement(RefIcon$
|
|
17081
|
+
}, closeIcon || /* @__PURE__ */ React__default.createElement(RefIcon$z, {
|
|
17082
17082
|
className: `${prefixCls}-close-icon`
|
|
17083
17083
|
}));
|
|
17084
17084
|
}
|
|
@@ -17670,7 +17670,7 @@ const Modal = (props) => {
|
|
|
17670
17670
|
})) : null;
|
|
17671
17671
|
const [mergedClosable, mergedCloseIcon, closeBtnIsDisabled, ariaProps] = useClosable(pickClosable(props), pickClosable(modalContext), {
|
|
17672
17672
|
closable: true,
|
|
17673
|
-
closeIcon: /* @__PURE__ */ React.createElement(RefIcon$
|
|
17673
|
+
closeIcon: /* @__PURE__ */ React.createElement(RefIcon$z, {
|
|
17674
17674
|
className: `${prefixCls}-close-icon`
|
|
17675
17675
|
}),
|
|
17676
17676
|
closeIconRender: (icon2) => renderCloseIcon(prefixCls, icon2)
|
|
@@ -17867,16 +17867,16 @@ const ConfirmContent = (props) => {
|
|
|
17867
17867
|
if (!icon2 && icon2 !== null) {
|
|
17868
17868
|
switch (type4) {
|
|
17869
17869
|
case "info":
|
|
17870
|
-
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
17870
|
+
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$x, null);
|
|
17871
17871
|
break;
|
|
17872
17872
|
case "success":
|
|
17873
|
-
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
17873
|
+
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$B, null);
|
|
17874
17874
|
break;
|
|
17875
17875
|
case "error":
|
|
17876
|
-
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
17876
|
+
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$A, null);
|
|
17877
17877
|
break;
|
|
17878
17878
|
default:
|
|
17879
|
-
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
17879
|
+
mergedIcon = /* @__PURE__ */ React.createElement(RefIcon$y, null);
|
|
17880
17880
|
}
|
|
17881
17881
|
}
|
|
17882
17882
|
const mergedOkCancel = okCancel !== null && okCancel !== void 0 ? okCancel : type4 === "confirm";
|
|
@@ -18640,15 +18640,15 @@ function getCloseIcon(prefixCls, closeIcon) {
|
|
|
18640
18640
|
if (closeIcon === null || closeIcon === false) {
|
|
18641
18641
|
return null;
|
|
18642
18642
|
}
|
|
18643
|
-
return closeIcon || /* @__PURE__ */ React.createElement(RefIcon$
|
|
18643
|
+
return closeIcon || /* @__PURE__ */ React.createElement(RefIcon$z, {
|
|
18644
18644
|
className: `${prefixCls}-close-icon`
|
|
18645
18645
|
});
|
|
18646
18646
|
}
|
|
18647
18647
|
const typeToIcon = {
|
|
18648
|
-
success: RefIcon$
|
|
18649
|
-
info: RefIcon$
|
|
18650
|
-
error: RefIcon$
|
|
18651
|
-
warning: RefIcon$
|
|
18648
|
+
success: RefIcon$B,
|
|
18649
|
+
info: RefIcon$x,
|
|
18650
|
+
error: RefIcon$A,
|
|
18651
|
+
warning: RefIcon$y
|
|
18652
18652
|
};
|
|
18653
18653
|
const PureContent = (props) => {
|
|
18654
18654
|
const {
|
|
@@ -25259,9 +25259,9 @@ var CheckOutlined = function CheckOutlined2(props, ref) {
|
|
|
25259
25259
|
icon: CheckOutlined$1
|
|
25260
25260
|
}));
|
|
25261
25261
|
};
|
|
25262
|
-
var RefIcon$
|
|
25262
|
+
var RefIcon$u = /* @__PURE__ */ React.forwardRef(CheckOutlined);
|
|
25263
25263
|
if (process.env.NODE_ENV !== "production") {
|
|
25264
|
-
RefIcon$
|
|
25264
|
+
RefIcon$u.displayName = "CheckOutlined";
|
|
25265
25265
|
}
|
|
25266
25266
|
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" };
|
|
25267
25267
|
var DownOutlined = function DownOutlined2(props, ref) {
|
|
@@ -25270,9 +25270,9 @@ var DownOutlined = function DownOutlined2(props, ref) {
|
|
|
25270
25270
|
icon: DownOutlined$1
|
|
25271
25271
|
}));
|
|
25272
25272
|
};
|
|
25273
|
-
var RefIcon$
|
|
25273
|
+
var RefIcon$t = /* @__PURE__ */ React.forwardRef(DownOutlined);
|
|
25274
25274
|
if (process.env.NODE_ENV !== "production") {
|
|
25275
|
-
RefIcon$
|
|
25275
|
+
RefIcon$t.displayName = "DownOutlined";
|
|
25276
25276
|
}
|
|
25277
25277
|
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" };
|
|
25278
25278
|
var SearchOutlined = function SearchOutlined2(props, ref) {
|
|
@@ -25281,9 +25281,9 @@ var SearchOutlined = function SearchOutlined2(props, ref) {
|
|
|
25281
25281
|
icon: SearchOutlined$1
|
|
25282
25282
|
}));
|
|
25283
25283
|
};
|
|
25284
|
-
var RefIcon$
|
|
25284
|
+
var RefIcon$s = /* @__PURE__ */ React.forwardRef(SearchOutlined);
|
|
25285
25285
|
if (process.env.NODE_ENV !== "production") {
|
|
25286
|
-
RefIcon$
|
|
25286
|
+
RefIcon$s.displayName = "SearchOutlined";
|
|
25287
25287
|
}
|
|
25288
25288
|
function useIcons$1({
|
|
25289
25289
|
suffixIcon,
|
|
@@ -25303,7 +25303,7 @@ function useIcons$1({
|
|
|
25303
25303
|
const warning3 = devUseWarning(componentName);
|
|
25304
25304
|
warning3.deprecated(!clearIcon, "clearIcon", "allowClear={{ clearIcon: React.ReactNode }}");
|
|
25305
25305
|
}
|
|
25306
|
-
const mergedClearIcon = clearIcon !== null && clearIcon !== void 0 ? clearIcon : /* @__PURE__ */ React.createElement(RefIcon$
|
|
25306
|
+
const mergedClearIcon = clearIcon !== null && clearIcon !== void 0 ? clearIcon : /* @__PURE__ */ React.createElement(RefIcon$A, null);
|
|
25307
25307
|
const getSuffixIconNode = (arrowIcon) => {
|
|
25308
25308
|
if (suffixIcon === null && !hasFeedback && !showArrow) {
|
|
25309
25309
|
return null;
|
|
@@ -25314,7 +25314,7 @@ function useIcons$1({
|
|
|
25314
25314
|
if (suffixIcon !== void 0) {
|
|
25315
25315
|
mergedSuffixIcon = getSuffixIconNode(suffixIcon);
|
|
25316
25316
|
} else if (loading) {
|
|
25317
|
-
mergedSuffixIcon = getSuffixIconNode(/* @__PURE__ */ React.createElement(RefIcon$
|
|
25317
|
+
mergedSuffixIcon = getSuffixIconNode(/* @__PURE__ */ React.createElement(RefIcon$w, {
|
|
25318
25318
|
spin: true
|
|
25319
25319
|
}));
|
|
25320
25320
|
} else {
|
|
@@ -25324,11 +25324,11 @@ function useIcons$1({
|
|
|
25324
25324
|
showSearch
|
|
25325
25325
|
}) => {
|
|
25326
25326
|
if (open && showSearch) {
|
|
25327
|
-
return getSuffixIconNode(/* @__PURE__ */ React.createElement(RefIcon$
|
|
25327
|
+
return getSuffixIconNode(/* @__PURE__ */ React.createElement(RefIcon$s, {
|
|
25328
25328
|
className: iconCls
|
|
25329
25329
|
}));
|
|
25330
25330
|
}
|
|
25331
|
-
return getSuffixIconNode(/* @__PURE__ */ React.createElement(RefIcon$
|
|
25331
|
+
return getSuffixIconNode(/* @__PURE__ */ React.createElement(RefIcon$t, {
|
|
25332
25332
|
className: iconCls
|
|
25333
25333
|
}));
|
|
25334
25334
|
};
|
|
@@ -25337,7 +25337,7 @@ function useIcons$1({
|
|
|
25337
25337
|
if (menuItemSelectedIcon !== void 0) {
|
|
25338
25338
|
mergedItemIcon = menuItemSelectedIcon;
|
|
25339
25339
|
} else if (multiple) {
|
|
25340
|
-
mergedItemIcon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
25340
|
+
mergedItemIcon = /* @__PURE__ */ React.createElement(RefIcon$u, null);
|
|
25341
25341
|
} else {
|
|
25342
25342
|
mergedItemIcon = null;
|
|
25343
25343
|
}
|
|
@@ -25345,7 +25345,7 @@ function useIcons$1({
|
|
|
25345
25345
|
if (removeIcon !== void 0) {
|
|
25346
25346
|
mergedRemoveIcon = removeIcon;
|
|
25347
25347
|
} else {
|
|
25348
|
-
mergedRemoveIcon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
25348
|
+
mergedRemoveIcon = /* @__PURE__ */ React.createElement(RefIcon$z, null);
|
|
25349
25349
|
}
|
|
25350
25350
|
return {
|
|
25351
25351
|
clearIcon: mergedClearIcon,
|
|
@@ -27672,9 +27672,9 @@ var LeftOutlined = function LeftOutlined2(props, ref) {
|
|
|
27672
27672
|
icon: LeftOutlined$1
|
|
27673
27673
|
}));
|
|
27674
27674
|
};
|
|
27675
|
-
var RefIcon$
|
|
27675
|
+
var RefIcon$r = /* @__PURE__ */ React.forwardRef(LeftOutlined);
|
|
27676
27676
|
if (process.env.NODE_ENV !== "production") {
|
|
27677
|
-
RefIcon$
|
|
27677
|
+
RefIcon$r.displayName = "LeftOutlined";
|
|
27678
27678
|
}
|
|
27679
27679
|
var ESC$1 = KeyCode.ESC, TAB = KeyCode.TAB;
|
|
27680
27680
|
function useAccessibility$1(_ref) {
|
|
@@ -29263,9 +29263,9 @@ var EllipsisOutlined = function EllipsisOutlined2(props, ref) {
|
|
|
29263
29263
|
icon: EllipsisOutlined$1
|
|
29264
29264
|
}));
|
|
29265
29265
|
};
|
|
29266
|
-
var RefIcon$
|
|
29266
|
+
var RefIcon$q = /* @__PURE__ */ React.forwardRef(EllipsisOutlined);
|
|
29267
29267
|
if (process.env.NODE_ENV !== "production") {
|
|
29268
|
-
RefIcon$
|
|
29268
|
+
RefIcon$q.displayName = "EllipsisOutlined";
|
|
29269
29269
|
}
|
|
29270
29270
|
var dayjs_min$1 = { exports: {} };
|
|
29271
29271
|
var dayjs_min = dayjs_min$1.exports;
|
|
@@ -37374,9 +37374,9 @@ var PlusOutlined = function PlusOutlined2(props, ref) {
|
|
|
37374
37374
|
icon: PlusOutlined$1
|
|
37375
37375
|
}));
|
|
37376
37376
|
};
|
|
37377
|
-
var RefIcon$
|
|
37377
|
+
var RefIcon$p = /* @__PURE__ */ React.forwardRef(PlusOutlined);
|
|
37378
37378
|
if (process.env.NODE_ENV !== "production") {
|
|
37379
|
-
RefIcon$
|
|
37379
|
+
RefIcon$p.displayName = "PlusOutlined";
|
|
37380
37380
|
}
|
|
37381
37381
|
const TabContext = /* @__PURE__ */ createContext(null);
|
|
37382
37382
|
var useIndicator = function useIndicator2(options) {
|
|
@@ -39672,8 +39672,8 @@ const InternalTabs = /* @__PURE__ */ React.forwardRef((props, ref) => {
|
|
|
39672
39672
|
}) => {
|
|
39673
39673
|
onEdit === null || onEdit === void 0 ? void 0 : onEdit(editType === "add" ? event : key, editType);
|
|
39674
39674
|
},
|
|
39675
|
-
removeIcon: (_a2 = removeIcon !== null && removeIcon !== void 0 ? removeIcon : tabs === null || tabs === void 0 ? void 0 : tabs.removeIcon) !== null && _a2 !== void 0 ? _a2 : /* @__PURE__ */ React.createElement(RefIcon$
|
|
39676
|
-
addIcon: (addIcon !== null && addIcon !== void 0 ? addIcon : tabs === null || tabs === void 0 ? void 0 : tabs.addIcon) || /* @__PURE__ */ React.createElement(RefIcon$
|
|
39675
|
+
removeIcon: (_a2 = removeIcon !== null && removeIcon !== void 0 ? removeIcon : tabs === null || tabs === void 0 ? void 0 : tabs.removeIcon) !== null && _a2 !== void 0 ? _a2 : /* @__PURE__ */ React.createElement(RefIcon$z, null),
|
|
39676
|
+
addIcon: (addIcon !== null && addIcon !== void 0 ? addIcon : tabs === null || tabs === void 0 ? void 0 : tabs.addIcon) || /* @__PURE__ */ React.createElement(RefIcon$p, null),
|
|
39677
39677
|
showAdd: hideAdd !== true
|
|
39678
39678
|
};
|
|
39679
39679
|
}
|
|
@@ -39708,7 +39708,7 @@ const InternalTabs = /* @__PURE__ */ React.forwardRef((props, ref) => {
|
|
|
39708
39708
|
style: mergedStyle,
|
|
39709
39709
|
editable: editable2,
|
|
39710
39710
|
more: Object.assign({
|
|
39711
|
-
icon: (_l = (_k = (_j = (_h = tabs === null || tabs === void 0 ? void 0 : tabs.more) === null || _h === void 0 ? void 0 : _h.icon) !== null && _j !== void 0 ? _j : tabs === null || tabs === void 0 ? void 0 : tabs.moreIcon) !== null && _k !== void 0 ? _k : moreIcon) !== null && _l !== void 0 ? _l : /* @__PURE__ */ React.createElement(RefIcon$
|
|
39711
|
+
icon: (_l = (_k = (_j = (_h = tabs === null || tabs === void 0 ? void 0 : tabs.more) === null || _h === void 0 ? void 0 : _h.icon) !== null && _j !== void 0 ? _j : tabs === null || tabs === void 0 ? void 0 : tabs.moreIcon) !== null && _k !== void 0 ? _k : moreIcon) !== null && _l !== void 0 ? _l : /* @__PURE__ */ React.createElement(RefIcon$q, null),
|
|
39712
39712
|
transitionName: `${rootPrefixCls}-slide-up`
|
|
39713
39713
|
}, more),
|
|
39714
39714
|
prefixCls,
|
|
@@ -41224,9 +41224,9 @@ var UpOutlined = function UpOutlined2(props, ref) {
|
|
|
41224
41224
|
icon: UpOutlined$1
|
|
41225
41225
|
}));
|
|
41226
41226
|
};
|
|
41227
|
-
var RefIcon$
|
|
41227
|
+
var RefIcon$o = /* @__PURE__ */ React.forwardRef(UpOutlined);
|
|
41228
41228
|
if (process.env.NODE_ENV !== "production") {
|
|
41229
|
-
RefIcon$
|
|
41229
|
+
RefIcon$o.displayName = "UpOutlined";
|
|
41230
41230
|
}
|
|
41231
41231
|
function hasAddon(props) {
|
|
41232
41232
|
return !!(props.addonBefore || props.addonAfter);
|
|
@@ -41586,7 +41586,7 @@ const getAllowClear = (allowClear) => {
|
|
|
41586
41586
|
mergedAllowClear = allowClear;
|
|
41587
41587
|
} else if (allowClear) {
|
|
41588
41588
|
mergedAllowClear = {
|
|
41589
|
-
clearIcon: /* @__PURE__ */ React__default.createElement(RefIcon$
|
|
41589
|
+
clearIcon: /* @__PURE__ */ React__default.createElement(RefIcon$A, null)
|
|
41590
41590
|
};
|
|
41591
41591
|
}
|
|
41592
41592
|
return mergedAllowClear;
|
|
@@ -41774,9 +41774,9 @@ var SwapRightOutlined = function SwapRightOutlined2(props, ref) {
|
|
|
41774
41774
|
icon: SwapRightOutlined$1
|
|
41775
41775
|
}));
|
|
41776
41776
|
};
|
|
41777
|
-
var RefIcon$
|
|
41777
|
+
var RefIcon$n = /* @__PURE__ */ React.forwardRef(SwapRightOutlined);
|
|
41778
41778
|
if (process.env.NODE_ENV !== "production") {
|
|
41779
|
-
RefIcon$
|
|
41779
|
+
RefIcon$n.displayName = "SwapRightOutlined";
|
|
41780
41780
|
}
|
|
41781
41781
|
const useMergedPickerSemantic = (pickerType, classNames$1, styles2, popupClassName, popupStyle) => {
|
|
41782
41782
|
const {
|
|
@@ -41879,9 +41879,9 @@ var CalendarOutlined = function CalendarOutlined2(props, ref) {
|
|
|
41879
41879
|
icon: CalendarOutlined$1
|
|
41880
41880
|
}));
|
|
41881
41881
|
};
|
|
41882
|
-
var RefIcon$
|
|
41882
|
+
var RefIcon$m = /* @__PURE__ */ React.forwardRef(CalendarOutlined);
|
|
41883
41883
|
if (process.env.NODE_ENV !== "production") {
|
|
41884
|
-
RefIcon$
|
|
41884
|
+
RefIcon$m.displayName = "CalendarOutlined";
|
|
41885
41885
|
}
|
|
41886
41886
|
var ClockCircleOutlined$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-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" } }] }, "name": "clock-circle", "theme": "outlined" };
|
|
41887
41887
|
var ClockCircleOutlined = function ClockCircleOutlined2(props, ref) {
|
|
@@ -41890,9 +41890,9 @@ var ClockCircleOutlined = function ClockCircleOutlined2(props, ref) {
|
|
|
41890
41890
|
icon: ClockCircleOutlined$1
|
|
41891
41891
|
}));
|
|
41892
41892
|
};
|
|
41893
|
-
var RefIcon$
|
|
41893
|
+
var RefIcon$l = /* @__PURE__ */ React.forwardRef(ClockCircleOutlined);
|
|
41894
41894
|
if (process.env.NODE_ENV !== "production") {
|
|
41895
|
-
RefIcon$
|
|
41895
|
+
RefIcon$l.displayName = "ClockCircleOutlined";
|
|
41896
41896
|
}
|
|
41897
41897
|
const SuffixIcon = ({
|
|
41898
41898
|
picker,
|
|
@@ -41904,7 +41904,7 @@ const SuffixIcon = ({
|
|
|
41904
41904
|
return null;
|
|
41905
41905
|
}
|
|
41906
41906
|
if (suffixIcon === true || suffixIcon === void 0) {
|
|
41907
|
-
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, picker === TIME ? /* @__PURE__ */ React__default.createElement(RefIcon$
|
|
41907
|
+
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, picker === TIME ? /* @__PURE__ */ React__default.createElement(RefIcon$l, null) : /* @__PURE__ */ React__default.createElement(RefIcon$m, null), hasFeedback && feedbackIcon);
|
|
41908
41908
|
}
|
|
41909
41909
|
return suffixIcon;
|
|
41910
41910
|
};
|
|
@@ -42011,7 +42011,7 @@ const generateRangePicker = (generateConfig2) => {
|
|
|
42011
42011
|
separator: /* @__PURE__ */ React.createElement("span", {
|
|
42012
42012
|
"aria-label": "to",
|
|
42013
42013
|
className: `${prefixCls}-separator`
|
|
42014
|
-
}, /* @__PURE__ */ React.createElement(RefIcon$
|
|
42014
|
+
}, /* @__PURE__ */ React.createElement(RefIcon$n, null)),
|
|
42015
42015
|
disabled: mergedDisabled,
|
|
42016
42016
|
ref: innerRef,
|
|
42017
42017
|
placement,
|
|
@@ -44503,9 +44503,9 @@ var QuestionCircleOutlined = function QuestionCircleOutlined2(props, ref) {
|
|
|
44503
44503
|
icon: QuestionCircleOutlined$1
|
|
44504
44504
|
}));
|
|
44505
44505
|
};
|
|
44506
|
-
var RefIcon$
|
|
44506
|
+
var RefIcon$k = /* @__PURE__ */ React.forwardRef(QuestionCircleOutlined);
|
|
44507
44507
|
if (process.env.NODE_ENV !== "production") {
|
|
44508
|
-
RefIcon$
|
|
44508
|
+
RefIcon$k.displayName = "QuestionCircleOutlined";
|
|
44509
44509
|
}
|
|
44510
44510
|
var __rest$h = function(s2, e3) {
|
|
44511
44511
|
var t2 = {};
|
|
@@ -44553,7 +44553,7 @@ const FormItemLabel = ({
|
|
|
44553
44553
|
const tooltipProps = convertToTooltipProps(tooltip);
|
|
44554
44554
|
if (tooltipProps) {
|
|
44555
44555
|
const {
|
|
44556
|
-
icon: icon2 = /* @__PURE__ */ React.createElement(RefIcon$
|
|
44556
|
+
icon: icon2 = /* @__PURE__ */ React.createElement(RefIcon$k, null)
|
|
44557
44557
|
} = tooltipProps, restTooltipProps = __rest$h(tooltipProps, ["icon"]);
|
|
44558
44558
|
const tooltipNode = /* @__PURE__ */ React.createElement(Tooltip2, Object.assign({}, restTooltipProps), /* @__PURE__ */ React.cloneElement(icon2, {
|
|
44559
44559
|
className: `${prefixCls}-item-tooltip`,
|
|
@@ -44598,10 +44598,10 @@ const FormItemLabel = ({
|
|
|
44598
44598
|
}, labelChildren));
|
|
44599
44599
|
};
|
|
44600
44600
|
const iconMap = {
|
|
44601
|
-
success: RefIcon$
|
|
44602
|
-
warning: RefIcon$
|
|
44603
|
-
error: RefIcon$
|
|
44604
|
-
validating: RefIcon$
|
|
44601
|
+
success: RefIcon$B,
|
|
44602
|
+
warning: RefIcon$y,
|
|
44603
|
+
error: RefIcon$A,
|
|
44604
|
+
validating: RefIcon$w
|
|
44605
44605
|
};
|
|
44606
44606
|
function StatusProvider({
|
|
44607
44607
|
children,
|
|
@@ -45091,9 +45091,9 @@ var EyeOutlined = function EyeOutlined2(props, ref) {
|
|
|
45091
45091
|
icon: EyeOutlined$1
|
|
45092
45092
|
}));
|
|
45093
45093
|
};
|
|
45094
|
-
var RefIcon$
|
|
45094
|
+
var RefIcon$j = /* @__PURE__ */ React.forwardRef(EyeOutlined);
|
|
45095
45095
|
if (process.env.NODE_ENV !== "production") {
|
|
45096
|
-
RefIcon$
|
|
45096
|
+
RefIcon$j.displayName = "EyeOutlined";
|
|
45097
45097
|
}
|
|
45098
45098
|
const Group = (props) => {
|
|
45099
45099
|
const {
|
|
@@ -45451,9 +45451,9 @@ var EyeInvisibleOutlined = function EyeInvisibleOutlined2(props, ref) {
|
|
|
45451
45451
|
icon: EyeInvisibleOutlined$1
|
|
45452
45452
|
}));
|
|
45453
45453
|
};
|
|
45454
|
-
var RefIcon$
|
|
45454
|
+
var RefIcon$i = /* @__PURE__ */ React.forwardRef(EyeInvisibleOutlined);
|
|
45455
45455
|
if (process.env.NODE_ENV !== "production") {
|
|
45456
|
-
RefIcon$
|
|
45456
|
+
RefIcon$i.displayName = "EyeInvisibleOutlined";
|
|
45457
45457
|
}
|
|
45458
45458
|
var __rest$c = function(s2, e3) {
|
|
45459
45459
|
var t2 = {};
|
|
@@ -45463,7 +45463,7 @@ var __rest$c = function(s2, e3) {
|
|
|
45463
45463
|
}
|
|
45464
45464
|
return t2;
|
|
45465
45465
|
};
|
|
45466
|
-
const defaultIconRender = (visible) => visible ? /* @__PURE__ */ React.createElement(RefIcon$
|
|
45466
|
+
const defaultIconRender = (visible) => visible ? /* @__PURE__ */ React.createElement(RefIcon$j, null) : /* @__PURE__ */ React.createElement(RefIcon$i, null);
|
|
45467
45467
|
const actionMap = {
|
|
45468
45468
|
click: "onClick",
|
|
45469
45469
|
hover: "onMouseOver"
|
|
@@ -45618,7 +45618,7 @@ const Search = /* @__PURE__ */ React.forwardRef((props, ref) => {
|
|
|
45618
45618
|
customOnPressEnter === null || customOnPressEnter === void 0 ? void 0 : customOnPressEnter(e3);
|
|
45619
45619
|
onSearch(e3);
|
|
45620
45620
|
};
|
|
45621
|
-
const searchIcon = typeof enterButton === "boolean" ? /* @__PURE__ */ React.createElement(RefIcon$
|
|
45621
|
+
const searchIcon = typeof enterButton === "boolean" ? /* @__PURE__ */ React.createElement(RefIcon$s, null) : null;
|
|
45622
45622
|
const btnClassName = `${prefixCls}-button`;
|
|
45623
45623
|
let button;
|
|
45624
45624
|
const enterButtonAsElement = enterButton || {};
|
|
@@ -46287,9 +46287,9 @@ var DoubleLeftOutlined = function DoubleLeftOutlined2(props, ref) {
|
|
|
46287
46287
|
icon: DoubleLeftOutlined$1
|
|
46288
46288
|
}));
|
|
46289
46289
|
};
|
|
46290
|
-
var RefIcon$
|
|
46290
|
+
var RefIcon$h = /* @__PURE__ */ React.forwardRef(DoubleLeftOutlined);
|
|
46291
46291
|
if (process.env.NODE_ENV !== "production") {
|
|
46292
|
-
RefIcon$
|
|
46292
|
+
RefIcon$h.displayName = "DoubleLeftOutlined";
|
|
46293
46293
|
}
|
|
46294
46294
|
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" };
|
|
46295
46295
|
var DoubleRightOutlined = function DoubleRightOutlined2(props, ref) {
|
|
@@ -46298,9 +46298,9 @@ var DoubleRightOutlined = function DoubleRightOutlined2(props, ref) {
|
|
|
46298
46298
|
icon: DoubleRightOutlined$1
|
|
46299
46299
|
}));
|
|
46300
46300
|
};
|
|
46301
|
-
var RefIcon$
|
|
46301
|
+
var RefIcon$g = /* @__PURE__ */ React.forwardRef(DoubleRightOutlined);
|
|
46302
46302
|
if (process.env.NODE_ENV !== "production") {
|
|
46303
|
-
RefIcon$
|
|
46303
|
+
RefIcon$g.displayName = "DoubleRightOutlined";
|
|
46304
46304
|
}
|
|
46305
46305
|
var locale = {
|
|
46306
46306
|
// Options
|
|
@@ -47532,21 +47532,21 @@ const Pagination2 = (props) => {
|
|
|
47532
47532
|
className: `${prefixCls}-item-link`,
|
|
47533
47533
|
type: "button",
|
|
47534
47534
|
tabIndex: -1
|
|
47535
|
-
}, direction === "rtl" ? /* @__PURE__ */ React.createElement(RefIcon$
|
|
47535
|
+
}, direction === "rtl" ? /* @__PURE__ */ React.createElement(RefIcon$v, null) : /* @__PURE__ */ React.createElement(RefIcon$r, null));
|
|
47536
47536
|
const nextIcon = /* @__PURE__ */ React.createElement("button", {
|
|
47537
47537
|
className: `${prefixCls}-item-link`,
|
|
47538
47538
|
type: "button",
|
|
47539
47539
|
tabIndex: -1
|
|
47540
|
-
}, direction === "rtl" ? /* @__PURE__ */ React.createElement(RefIcon$
|
|
47540
|
+
}, direction === "rtl" ? /* @__PURE__ */ React.createElement(RefIcon$r, null) : /* @__PURE__ */ React.createElement(RefIcon$v, null));
|
|
47541
47541
|
const jumpPrevIcon = (
|
|
47542
47542
|
// biome-ignore lint/a11y/useValidAnchor: it is hard to refactor
|
|
47543
47543
|
/* @__PURE__ */ React.createElement("a", {
|
|
47544
47544
|
className: `${prefixCls}-item-link`
|
|
47545
47545
|
}, /* @__PURE__ */ React.createElement("div", {
|
|
47546
47546
|
className: `${prefixCls}-item-container`
|
|
47547
|
-
}, direction === "rtl" ? /* @__PURE__ */ React.createElement(RefIcon$
|
|
47547
|
+
}, direction === "rtl" ? /* @__PURE__ */ React.createElement(RefIcon$g, {
|
|
47548
47548
|
className: `${prefixCls}-item-link-icon`
|
|
47549
|
-
}) : /* @__PURE__ */ React.createElement(RefIcon$
|
|
47549
|
+
}) : /* @__PURE__ */ React.createElement(RefIcon$h, {
|
|
47550
47550
|
className: `${prefixCls}-item-link-icon`
|
|
47551
47551
|
}), ellipsis))
|
|
47552
47552
|
);
|
|
@@ -47556,9 +47556,9 @@ const Pagination2 = (props) => {
|
|
|
47556
47556
|
className: `${prefixCls}-item-link`
|
|
47557
47557
|
}, /* @__PURE__ */ React.createElement("div", {
|
|
47558
47558
|
className: `${prefixCls}-item-container`
|
|
47559
|
-
}, direction === "rtl" ? /* @__PURE__ */ React.createElement(RefIcon$
|
|
47559
|
+
}, direction === "rtl" ? /* @__PURE__ */ React.createElement(RefIcon$h, {
|
|
47560
47560
|
className: `${prefixCls}-item-link-icon`
|
|
47561
|
-
}) : /* @__PURE__ */ React.createElement(RefIcon$
|
|
47561
|
+
}) : /* @__PURE__ */ React.createElement(RefIcon$g, {
|
|
47562
47562
|
className: `${prefixCls}-item-link-icon`
|
|
47563
47563
|
}), ellipsis))
|
|
47564
47564
|
);
|
|
@@ -47997,7 +47997,7 @@ const InternalSwitch = /* @__PURE__ */ React.forwardRef((props, ref) => {
|
|
|
47997
47997
|
const prefixCls = getPrefixCls("switch", customizePrefixCls);
|
|
47998
47998
|
const loadingIcon = /* @__PURE__ */ React.createElement("div", {
|
|
47999
47999
|
className: `${prefixCls}-handle`
|
|
48000
|
-
}, loading && /* @__PURE__ */ React.createElement(RefIcon$
|
|
48000
|
+
}, loading && /* @__PURE__ */ React.createElement(RefIcon$w, {
|
|
48001
48001
|
className: `${prefixCls}-loading-icon`
|
|
48002
48002
|
}));
|
|
48003
48003
|
const [wrapCSSVar, hashId, cssVarCls] = useStyle$2(prefixCls);
|
|
@@ -48338,9 +48338,9 @@ var DeleteOutlined = function DeleteOutlined2(props, ref) {
|
|
|
48338
48338
|
icon: DeleteOutlined$1
|
|
48339
48339
|
}));
|
|
48340
48340
|
};
|
|
48341
|
-
var RefIcon$
|
|
48341
|
+
var RefIcon$f = /* @__PURE__ */ React.forwardRef(DeleteOutlined);
|
|
48342
48342
|
if (process.env.NODE_ENV !== "production") {
|
|
48343
|
-
RefIcon$
|
|
48343
|
+
RefIcon$f.displayName = "DeleteOutlined";
|
|
48344
48344
|
}
|
|
48345
48345
|
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" };
|
|
48346
48346
|
var EditOutlined = function EditOutlined2(props, ref) {
|
|
@@ -48349,9 +48349,9 @@ var EditOutlined = function EditOutlined2(props, ref) {
|
|
|
48349
48349
|
icon: EditOutlined$1
|
|
48350
48350
|
}));
|
|
48351
48351
|
};
|
|
48352
|
-
var RefIcon$
|
|
48352
|
+
var RefIcon$e = /* @__PURE__ */ React.forwardRef(EditOutlined);
|
|
48353
48353
|
if (process.env.NODE_ENV !== "production") {
|
|
48354
|
-
RefIcon$
|
|
48354
|
+
RefIcon$e.displayName = "EditOutlined";
|
|
48355
48355
|
}
|
|
48356
48356
|
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" };
|
|
48357
48357
|
var EnterOutlined = function EnterOutlined2(props, ref) {
|
|
@@ -48360,9 +48360,9 @@ var EnterOutlined = function EnterOutlined2(props, ref) {
|
|
|
48360
48360
|
icon: EnterOutlined$1
|
|
48361
48361
|
}));
|
|
48362
48362
|
};
|
|
48363
|
-
var RefIcon$
|
|
48363
|
+
var RefIcon$d = /* @__PURE__ */ React.forwardRef(EnterOutlined);
|
|
48364
48364
|
if (process.env.NODE_ENV !== "production") {
|
|
48365
|
-
RefIcon$
|
|
48365
|
+
RefIcon$d.displayName = "EnterOutlined";
|
|
48366
48366
|
}
|
|
48367
48367
|
const getTitleStyle = (fontSize, lineHeight, color, token2) => {
|
|
48368
48368
|
const {
|
|
@@ -48684,7 +48684,7 @@ const Editable = (props) => {
|
|
|
48684
48684
|
onCancel,
|
|
48685
48685
|
onEnd,
|
|
48686
48686
|
component,
|
|
48687
|
-
enterIcon = /* @__PURE__ */ React.createElement(RefIcon$
|
|
48687
|
+
enterIcon = /* @__PURE__ */ React.createElement(RefIcon$d, null)
|
|
48688
48688
|
} = props;
|
|
48689
48689
|
const ref = React.useRef(null);
|
|
48690
48690
|
const inComposition = React.useRef(false);
|
|
@@ -49070,9 +49070,9 @@ var CopyOutlined = function CopyOutlined2(props, ref) {
|
|
|
49070
49070
|
icon: CopyOutlined$1
|
|
49071
49071
|
}));
|
|
49072
49072
|
};
|
|
49073
|
-
var RefIcon$
|
|
49073
|
+
var RefIcon$c = /* @__PURE__ */ React.forwardRef(CopyOutlined);
|
|
49074
49074
|
if (process.env.NODE_ENV !== "production") {
|
|
49075
|
-
RefIcon$
|
|
49075
|
+
RefIcon$c.displayName = "CopyOutlined";
|
|
49076
49076
|
}
|
|
49077
49077
|
function toList(val) {
|
|
49078
49078
|
if (val === false) {
|
|
@@ -49133,7 +49133,7 @@ const CopyBtn = ({
|
|
|
49133
49133
|
onClick: onCopy,
|
|
49134
49134
|
"aria-label": ariaLabel,
|
|
49135
49135
|
tabIndex
|
|
49136
|
-
}, copied ? getNode(iconNodes[1], /* @__PURE__ */ React.createElement(RefIcon$
|
|
49136
|
+
}, copied ? getNode(iconNodes[1], /* @__PURE__ */ React.createElement(RefIcon$u, null), true) : getNode(iconNodes[0], btnLoading ? /* @__PURE__ */ React.createElement(RefIcon$w, null) : /* @__PURE__ */ React.createElement(RefIcon$c, null), true)));
|
|
49137
49137
|
};
|
|
49138
49138
|
const MeasureText = /* @__PURE__ */ React.forwardRef(({
|
|
49139
49139
|
style: style2,
|
|
@@ -49572,7 +49572,7 @@ const Base = /* @__PURE__ */ React.forwardRef((props, ref) => {
|
|
|
49572
49572
|
onClick: onEditClick,
|
|
49573
49573
|
"aria-label": ariaLabel,
|
|
49574
49574
|
tabIndex
|
|
49575
|
-
}, icon2 || /* @__PURE__ */ React.createElement(RefIcon$
|
|
49575
|
+
}, icon2 || /* @__PURE__ */ React.createElement(RefIcon$e, {
|
|
49576
49576
|
role: "button"
|
|
49577
49577
|
}))) : null;
|
|
49578
49578
|
};
|
|
@@ -49749,9 +49749,9 @@ var AppstoreOutlined = function AppstoreOutlined2(props, ref) {
|
|
|
49749
49749
|
icon: AppstoreOutlined$1
|
|
49750
49750
|
}));
|
|
49751
49751
|
};
|
|
49752
|
-
var RefIcon$
|
|
49752
|
+
var RefIcon$b = /* @__PURE__ */ React.forwardRef(AppstoreOutlined);
|
|
49753
49753
|
if (process.env.NODE_ENV !== "production") {
|
|
49754
|
-
RefIcon$
|
|
49754
|
+
RefIcon$b.displayName = "AppstoreOutlined";
|
|
49755
49755
|
}
|
|
49756
49756
|
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" };
|
|
49757
49757
|
var ArrowLeftOutlined = function ArrowLeftOutlined2(props, ref) {
|
|
@@ -49760,9 +49760,9 @@ var ArrowLeftOutlined = function ArrowLeftOutlined2(props, ref) {
|
|
|
49760
49760
|
icon: ArrowLeftOutlined$1
|
|
49761
49761
|
}));
|
|
49762
49762
|
};
|
|
49763
|
-
var RefIcon$
|
|
49763
|
+
var RefIcon$a = /* @__PURE__ */ React.forwardRef(ArrowLeftOutlined);
|
|
49764
49764
|
if (process.env.NODE_ENV !== "production") {
|
|
49765
|
-
RefIcon$
|
|
49765
|
+
RefIcon$a.displayName = "ArrowLeftOutlined";
|
|
49766
49766
|
}
|
|
49767
49767
|
var ArrowRightOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z" } }] }, "name": "arrow-right", "theme": "outlined" };
|
|
49768
49768
|
var ArrowRightOutlined = function ArrowRightOutlined2(props, ref) {
|
|
@@ -49771,9 +49771,9 @@ var ArrowRightOutlined = function ArrowRightOutlined2(props, ref) {
|
|
|
49771
49771
|
icon: ArrowRightOutlined$1
|
|
49772
49772
|
}));
|
|
49773
49773
|
};
|
|
49774
|
-
var RefIcon$
|
|
49774
|
+
var RefIcon$9 = /* @__PURE__ */ React.forwardRef(ArrowRightOutlined);
|
|
49775
49775
|
if (process.env.NODE_ENV !== "production") {
|
|
49776
|
-
RefIcon$
|
|
49776
|
+
RefIcon$9.displayName = "ArrowRightOutlined";
|
|
49777
49777
|
}
|
|
49778
49778
|
var CodeOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 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": "code", "theme": "outlined" };
|
|
49779
49779
|
var CodeOutlined = function CodeOutlined2(props, ref) {
|
|
@@ -49782,9 +49782,20 @@ var CodeOutlined = function CodeOutlined2(props, ref) {
|
|
|
49782
49782
|
icon: CodeOutlined$1
|
|
49783
49783
|
}));
|
|
49784
49784
|
};
|
|
49785
|
-
var RefIcon$
|
|
49785
|
+
var RefIcon$8 = /* @__PURE__ */ React.forwardRef(CodeOutlined);
|
|
49786
49786
|
if (process.env.NODE_ENV !== "production") {
|
|
49787
|
-
RefIcon$
|
|
49787
|
+
RefIcon$8.displayName = "CodeOutlined";
|
|
49788
|
+
}
|
|
49789
|
+
var ControlOutlined$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 728H184V184h656v656zM340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8s0 .1.1.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8 0 0 0 .1-.1.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7zM620 539v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8v.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8v.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7z" } }] }, "name": "control", "theme": "outlined" };
|
|
49790
|
+
var ControlOutlined = function ControlOutlined2(props, ref) {
|
|
49791
|
+
return /* @__PURE__ */ React.createElement(Icon$2, _extends$1({}, props, {
|
|
49792
|
+
ref,
|
|
49793
|
+
icon: ControlOutlined$1
|
|
49794
|
+
}));
|
|
49795
|
+
};
|
|
49796
|
+
var RefIcon$7 = /* @__PURE__ */ React.forwardRef(ControlOutlined);
|
|
49797
|
+
if (process.env.NODE_ENV !== "production") {
|
|
49798
|
+
RefIcon$7.displayName = "ControlOutlined";
|
|
49788
49799
|
}
|
|
49789
49800
|
var ExportOutlined$1 = { "icon": { "tag": "svg", "attrs": { "fill-rule": "evenodd", "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z" } }] }, "name": "export", "theme": "outlined" };
|
|
49790
49801
|
var ExportOutlined = function ExportOutlined2(props, ref) {
|
|
@@ -49793,9 +49804,20 @@ var ExportOutlined = function ExportOutlined2(props, ref) {
|
|
|
49793
49804
|
icon: ExportOutlined$1
|
|
49794
49805
|
}));
|
|
49795
49806
|
};
|
|
49796
|
-
var RefIcon$
|
|
49807
|
+
var RefIcon$6 = /* @__PURE__ */ React.forwardRef(ExportOutlined);
|
|
49797
49808
|
if (process.env.NODE_ENV !== "production") {
|
|
49798
|
-
RefIcon$
|
|
49809
|
+
RefIcon$6.displayName = "ExportOutlined";
|
|
49810
|
+
}
|
|
49811
|
+
var FilterOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z" } }] }, "name": "filter", "theme": "outlined" };
|
|
49812
|
+
var FilterOutlined = function FilterOutlined2(props, ref) {
|
|
49813
|
+
return /* @__PURE__ */ React.createElement(Icon$2, _extends$1({}, props, {
|
|
49814
|
+
ref,
|
|
49815
|
+
icon: FilterOutlined$1
|
|
49816
|
+
}));
|
|
49817
|
+
};
|
|
49818
|
+
var RefIcon$5 = /* @__PURE__ */ React.forwardRef(FilterOutlined);
|
|
49819
|
+
if (process.env.NODE_ENV !== "production") {
|
|
49820
|
+
RefIcon$5.displayName = "FilterOutlined";
|
|
49799
49821
|
}
|
|
49800
49822
|
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" };
|
|
49801
49823
|
var HomeOutlined = function HomeOutlined2(props, ref) {
|
|
@@ -60060,7 +60082,7 @@ const Text$2 = ({
|
|
|
60060
60082
|
color: "green",
|
|
60061
60083
|
size: "middle",
|
|
60062
60084
|
danger: !isValidTextValue,
|
|
60063
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
60085
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$u, {})
|
|
60064
60086
|
}
|
|
60065
60087
|
)
|
|
60066
60088
|
] }),
|
|
@@ -67604,7 +67626,7 @@ const EntityId = ({ entity, onUpdate }) => {
|
|
|
67604
67626
|
Button$1,
|
|
67605
67627
|
{
|
|
67606
67628
|
type: "link",
|
|
67607
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
67629
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$6, {}),
|
|
67608
67630
|
onClick: () => openInNewTab(entity["@id"]),
|
|
67609
67631
|
title: "Open in new tab"
|
|
67610
67632
|
}
|
|
@@ -67620,7 +67642,7 @@ const EntityId = ({ entity, onUpdate }) => {
|
|
|
67620
67642
|
] }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-2/3 xl:w-4/5 flex flex-row describo-property-value", children: isURL(entity["@id"]) ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography.Link, { className: "text-large", style: { fontSize: "1em" }, href: entity["@id"], target: "_blank", rel: "noopener noreferrer", children: [
|
|
67621
67643
|
entity["@id"],
|
|
67622
67644
|
" ",
|
|
67623
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
67645
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$6, {})
|
|
67624
67646
|
] }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: entity["@id"] }) })
|
|
67625
67647
|
] });
|
|
67626
67648
|
};
|
|
@@ -67692,7 +67714,7 @@ const EntityType = ({ entity, onUpdateEntity }) => {
|
|
|
67692
67714
|
] })
|
|
67693
67715
|
] });
|
|
67694
67716
|
};
|
|
67695
|
-
const EntityName = ({ entity, onUpdate }) => {
|
|
67717
|
+
const EntityName = ({ entity, onUpdate, showHelp = true }) => {
|
|
67696
67718
|
var _a2;
|
|
67697
67719
|
const [t2, i18n] = useTranslation();
|
|
67698
67720
|
const state = useStateStore();
|
|
@@ -67702,7 +67724,7 @@ const EntityName = ({ entity, onUpdate }) => {
|
|
|
67702
67724
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-row", children: [
|
|
67703
67725
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "min-w-32 w-1/3 xl:w-1/5 flex flex-col", children: [
|
|
67704
67726
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "describo-property-name", children: t2("name_field_label") }),
|
|
67705
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-gray-600 font-light text-xs pr-1 describo-property-help", children: t2("name_field_help") })
|
|
67727
|
+
showHelp && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-gray-600 font-light text-xs pr-1 describo-property-help", children: t2("name_field_help") })
|
|
67706
67728
|
] }),
|
|
67707
67729
|
!((_a2 = state.configuration) == null ? void 0 : _a2.readonly) ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-2/3 xl:w-4/5 flex flex-col", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-grow", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
67708
67730
|
Text$2,
|
|
@@ -67998,7 +68020,7 @@ const NumberComponent = ({
|
|
|
67998
68020
|
color: "green",
|
|
67999
68021
|
size: "middle",
|
|
68000
68022
|
disabled: !isValidNumber || !isValidConstraints,
|
|
68001
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68023
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$u, {})
|
|
68002
68024
|
}
|
|
68003
68025
|
)
|
|
68004
68026
|
] }),
|
|
@@ -68136,7 +68158,7 @@ const Url = ({
|
|
|
68136
68158
|
color: "green",
|
|
68137
68159
|
size: "middle",
|
|
68138
68160
|
danger: !isValidUrl,
|
|
68139
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
68161
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$u, {})
|
|
68140
68162
|
}
|
|
68141
68163
|
)
|
|
68142
68164
|
] }),
|
|
@@ -79846,7 +79868,7 @@ const RenderLinkedItem = ({
|
|
|
79846
79868
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Flex, { className: "bg-slate-700 w-6 h-1 mt-5 -mx-1" }),
|
|
79847
79869
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { className: "bg-purple-200 hover:bg-cyan-200 flex flex-row p-2 rounded space-x-2", children: [
|
|
79848
79870
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Flex, { children: association.property }),
|
|
79849
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Flex, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
79871
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Flex, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$9, {}) }),
|
|
79850
79872
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Flex, { className: "flex-row space-x-1", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Flex, { children: association.name || association["@id"] }) })
|
|
79851
79873
|
] })
|
|
79852
79874
|
] })
|
|
@@ -79988,7 +80010,7 @@ const DeleteProperty = ({
|
|
|
79988
80010
|
variant: "solid",
|
|
79989
80011
|
color: "red",
|
|
79990
80012
|
className: "describo-delete-property",
|
|
79991
|
-
icon: type4 === "delete" ? /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
80013
|
+
icon: type4 === "delete" ? /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$f, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$3, {})
|
|
79992
80014
|
}
|
|
79993
80015
|
);
|
|
79994
80016
|
};
|
|
@@ -80030,7 +80052,7 @@ const AddControl = ({
|
|
|
80030
80052
|
type: "primary",
|
|
80031
80053
|
size: "middle",
|
|
80032
80054
|
className: "focus:outline-none focus:border-2 focus:border-green-600",
|
|
80033
|
-
icon: !selectedType || selectedType !== type4 ? /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
80055
|
+
icon: !selectedType || selectedType !== type4 ? /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$p, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$z, {}),
|
|
80034
80056
|
children: [
|
|
80035
80057
|
" ",
|
|
80036
80058
|
getTypeLabelFromProfile(type4)
|
|
@@ -80044,7 +80066,7 @@ const AddControl = ({
|
|
|
80044
80066
|
type: "primary",
|
|
80045
80067
|
size: "middle",
|
|
80046
80068
|
className: "focus:outline-none focus:border-2 focus:border-green-600",
|
|
80047
|
-
icon: !selectedType || selectedType !== "bulkAdd" ? /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$1, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
80069
|
+
icon: !selectedType || selectedType !== "bulkAdd" ? /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$1, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$z, {}),
|
|
80048
80070
|
children: " Bulk Add"
|
|
80049
80071
|
}
|
|
80050
80072
|
) })
|
|
@@ -81192,7 +81214,7 @@ const AutoComplete = ({ type: type4, onLinkEntity, onCreateEntity }) => {
|
|
|
81192
81214
|
variant: "solid",
|
|
81193
81215
|
color: "green",
|
|
81194
81216
|
block: true,
|
|
81195
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
81217
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$p, {}),
|
|
81196
81218
|
children: [
|
|
81197
81219
|
t2("create_new_of_type", { type: entity["@type"] }),
|
|
81198
81220
|
": ",
|
|
@@ -81329,7 +81351,7 @@ const BulkAdd = ({ types: types2, primitives, onCreateEntity }) => {
|
|
|
81329
81351
|
variant: "solid",
|
|
81330
81352
|
color: "red",
|
|
81331
81353
|
onClick: () => deleteRow(idx),
|
|
81332
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
81354
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$f, {})
|
|
81333
81355
|
}
|
|
81334
81356
|
)
|
|
81335
81357
|
] }) }, idx)),
|
|
@@ -81339,7 +81361,7 @@ const BulkAdd = ({ types: types2, primitives, onCreateEntity }) => {
|
|
|
81339
81361
|
{
|
|
81340
81362
|
type: "primary",
|
|
81341
81363
|
onClick: addRow,
|
|
81342
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
81364
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$p, {}),
|
|
81343
81365
|
children: "Add row"
|
|
81344
81366
|
}
|
|
81345
81367
|
),
|
|
@@ -81424,7 +81446,7 @@ const Add = ({
|
|
|
81424
81446
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
81425
81447
|
"div",
|
|
81426
81448
|
{
|
|
81427
|
-
className: `flex flex-col my-2 p-1 rounded ${addType ? "bg-indigo-200" : ""} ${(addType == null ? void 0 : addType.match(/geo/gi)) ? "max-w-[715px]" : ""}`,
|
|
81449
|
+
className: `describo-add-control flex flex-col my-2 p-1 rounded ${addType ? "bg-indigo-200" : ""} ${(addType == null ? void 0 : addType.match(/geo/gi)) ? "max-w-[715px]" : ""}`,
|
|
81428
81450
|
children: [
|
|
81429
81451
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
81430
81452
|
AddControl,
|
|
@@ -81579,6 +81601,7 @@ const EntityProperty = ({
|
|
|
81579
81601
|
values,
|
|
81580
81602
|
highlightRequired = false,
|
|
81581
81603
|
savedProperty = false,
|
|
81604
|
+
showHelp = true,
|
|
81582
81605
|
onLoadEntity,
|
|
81583
81606
|
onCreateProperty,
|
|
81584
81607
|
onCreateEntity,
|
|
@@ -81631,7 +81654,7 @@ const EntityProperty = ({
|
|
|
81631
81654
|
"div",
|
|
81632
81655
|
{
|
|
81633
81656
|
ref: propertyRef,
|
|
81634
|
-
className: `flex flex-row flex-grow p-2 describo-property-background ${highlightRequired && isRequired && !isValid ? "bg-red-200" : ""} ${savedProperty ? "bg-green-100 transition-colors duration-1000" : ""} describo-property describo-property-name-${property}`,
|
|
81657
|
+
className: `flex flex-row flex-grow ${showHelp ? "p-2" : "px-2 py-1 describo-property-compact"} describo-property-background ${highlightRequired && isRequired && !isValid ? "bg-red-200" : ""} ${savedProperty ? "bg-green-100 transition-colors duration-1000" : ""} describo-property describo-property-name-${property}`,
|
|
81635
81658
|
children: [
|
|
81636
81659
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "min-w-32 w-1/3 xl:w-1/5 flex flex-col describo-property-heading", children: [
|
|
81637
81660
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-row items-center", children: [
|
|
@@ -81645,7 +81668,7 @@ const EntityProperty = ({
|
|
|
81645
81668
|
),
|
|
81646
81669
|
isRequired && !isValid && /* @__PURE__ */ jsxRuntimeExports.jsx(Badge, { status: "error", dot: true, className: "animate-pulse ml-2" })
|
|
81647
81670
|
] }),
|
|
81648
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(PropertyHelp, { help: propertyDefinition == null ? void 0 : propertyDefinition.help }),
|
|
81671
|
+
showHelp && /* @__PURE__ */ jsxRuntimeExports.jsx(PropertyHelp, { help: propertyDefinition == null ? void 0 : propertyDefinition.help }),
|
|
81649
81672
|
!propertyDefinition && profileWarnMissingProperty && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-red-600 text-xs", children: [
|
|
81650
81673
|
"(",
|
|
81651
81674
|
t2("not_defined_in_profile"),
|
|
@@ -81789,9 +81812,9 @@ const DialogAddProperty = ({
|
|
|
81789
81812
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { vertical: true, children: [
|
|
81790
81813
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { align: "center", gap: 6, className: "describo-add-property-row-header", children: [
|
|
81791
81814
|
item.label ? /* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { className: "describo-add-property-row-name", children: item.label }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { className: "describo-add-property-row-name", children: item.name }),
|
|
81792
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
81815
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$9, {}),
|
|
81793
81816
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { className: "describo-add-property-row-type", children: renderPropertyType(item.type) }),
|
|
81794
|
-
isSelected && /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
81817
|
+
isSelected && /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$u, { className: "describo-add-property-row-check" })
|
|
81795
81818
|
] }),
|
|
81796
81819
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { type: "secondary", className: "describo-add-property-row-help", children: item.help })
|
|
81797
81820
|
] })
|
|
@@ -106871,7 +106894,7 @@ const RenderControls = ({
|
|
|
106871
106894
|
{
|
|
106872
106895
|
onClick: handleBack,
|
|
106873
106896
|
type: "primary",
|
|
106874
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
106897
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$a, {}),
|
|
106875
106898
|
disabled: !canGoBack
|
|
106876
106899
|
}
|
|
106877
106900
|
),
|
|
@@ -106889,7 +106912,7 @@ const RenderControls = ({
|
|
|
106889
106912
|
{
|
|
106890
106913
|
onClick: handleForward,
|
|
106891
106914
|
type: "primary",
|
|
106892
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
106915
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$9, {}),
|
|
106893
106916
|
disabled: !canGoForward
|
|
106894
106917
|
}
|
|
106895
106918
|
)
|
|
@@ -106899,7 +106922,7 @@ const RenderControls = ({
|
|
|
106899
106922
|
{
|
|
106900
106923
|
onClick: () => toggle("addProperty"),
|
|
106901
106924
|
type: "primary",
|
|
106902
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
106925
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$p, {}),
|
|
106903
106926
|
children: t2("add_label")
|
|
106904
106927
|
}
|
|
106905
106928
|
),
|
|
@@ -106908,7 +106931,7 @@ const RenderControls = ({
|
|
|
106908
106931
|
{
|
|
106909
106932
|
onClick: () => toggle("editContext"),
|
|
106910
106933
|
type: "primary",
|
|
106911
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
106934
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$e, {}),
|
|
106912
106935
|
children: t2("edit_context_label")
|
|
106913
106936
|
}
|
|
106914
106937
|
),
|
|
@@ -106917,7 +106940,7 @@ const RenderControls = ({
|
|
|
106917
106940
|
{
|
|
106918
106941
|
onClick: () => toggle("previewCrate"),
|
|
106919
106942
|
type: "primary",
|
|
106920
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
106943
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$j, {}),
|
|
106921
106944
|
children: t2("preview_label")
|
|
106922
106945
|
}
|
|
106923
106946
|
),
|
|
@@ -106926,7 +106949,7 @@ const RenderControls = ({
|
|
|
106926
106949
|
{
|
|
106927
106950
|
onClick: () => toggle("browseEntities"),
|
|
106928
106951
|
type: "primary",
|
|
106929
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
106952
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$8, {}),
|
|
106930
106953
|
children: t2("browse_entities_label")
|
|
106931
106954
|
}
|
|
106932
106955
|
),
|
|
@@ -106961,7 +106984,7 @@ const RenderControls = ({
|
|
|
106961
106984
|
color: "red",
|
|
106962
106985
|
variant: "solid",
|
|
106963
106986
|
danger: true,
|
|
106964
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
106987
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$f, {}),
|
|
106965
106988
|
children: entity.etype !== "File" && t2("delete_entity_label")
|
|
106966
106989
|
}
|
|
106967
106990
|
)
|
|
@@ -109082,6 +109105,50 @@ const RenderReverseConnections = ({
|
|
|
109082
109105
|
] })
|
|
109083
109106
|
] });
|
|
109084
109107
|
};
|
|
109108
|
+
const QuickSettingsHeader = ({
|
|
109109
|
+
showFieldHelp,
|
|
109110
|
+
fieldTitleFilter,
|
|
109111
|
+
hideEmptyFields,
|
|
109112
|
+
onToggleFieldHelp,
|
|
109113
|
+
onFieldTitleFilterChange,
|
|
109114
|
+
onToggleEmptyFields
|
|
109115
|
+
}) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "describo-quick-settings-header", role: "region", "aria-label": "Quick filter settings", children: [
|
|
109116
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "describo-quick-settings-actions", "aria-label": "Field display settings", children: [
|
|
109117
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip2, { title: showFieldHelp ? "Hide field help" : "Show field help", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
109118
|
+
Button$1,
|
|
109119
|
+
{
|
|
109120
|
+
type: showFieldHelp ? "default" : "primary",
|
|
109121
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$k, {}),
|
|
109122
|
+
"aria-label": showFieldHelp ? "Hide field help" : "Show field help",
|
|
109123
|
+
"aria-pressed": !showFieldHelp,
|
|
109124
|
+
onClick: onToggleFieldHelp
|
|
109125
|
+
}
|
|
109126
|
+
) }),
|
|
109127
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip2, { title: hideEmptyFields ? "Show fields with no value" : "Hide fields with no value", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
109128
|
+
Button$1,
|
|
109129
|
+
{
|
|
109130
|
+
type: hideEmptyFields ? "primary" : "default",
|
|
109131
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$5, {}),
|
|
109132
|
+
"aria-label": hideEmptyFields ? "Show fields with no value" : "Hide fields with no value",
|
|
109133
|
+
"aria-pressed": hideEmptyFields,
|
|
109134
|
+
onClick: onToggleEmptyFields
|
|
109135
|
+
}
|
|
109136
|
+
) })
|
|
109137
|
+
] }),
|
|
109138
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
109139
|
+
Input2,
|
|
109140
|
+
{
|
|
109141
|
+
className: "describo-quick-settings-filter",
|
|
109142
|
+
value: fieldTitleFilter,
|
|
109143
|
+
placeholder: "Filter fields by title",
|
|
109144
|
+
"aria-label": "Filter fields by title",
|
|
109145
|
+
onChange: (event) => onFieldTitleFilterChange(event.target.value),
|
|
109146
|
+
allowClear: {
|
|
109147
|
+
clearIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$A, { "aria-label": "Clear field filter" })
|
|
109148
|
+
}
|
|
109149
|
+
}
|
|
109150
|
+
)
|
|
109151
|
+
] });
|
|
109085
109152
|
var _baseDifference;
|
|
109086
109153
|
var hasRequired_baseDifference;
|
|
109087
109154
|
function require_baseDifference() {
|
|
@@ -110714,6 +110781,11 @@ const findTabForProperty = (tabs, property) => tabs.find((tab) => {
|
|
|
110714
110781
|
return (_a2 = tab == null ? void 0 : tab.inputs) == null ? void 0 : _a2.some((input) => (input == null ? void 0 : input.name) === property);
|
|
110715
110782
|
}) ?? tabs.find((tab) => ["overflow", "other"].includes(String((tab == null ? void 0 : tab.name) || "").toLowerCase()));
|
|
110716
110783
|
const getPendingAddedProfileStorageKey = (entityId) => `recrate.pending-added-profile-tab.${entityId}`;
|
|
110784
|
+
const DEFAULT_TAB_PANE_WIDTH = 240;
|
|
110785
|
+
const ICON_TAB_PANE_WIDTH = 80;
|
|
110786
|
+
const MIN_LABEL_TAB_PANE_WIDTH = 100;
|
|
110787
|
+
const MAX_LABEL_TAB_PANE_WIDTH = 250;
|
|
110788
|
+
const clampLabelTabPaneWidth = (width) => Math.max(MIN_LABEL_TAB_PANE_WIDTH, Math.min(MAX_LABEL_TAB_PANE_WIDTH, Math.round(width)));
|
|
110717
110789
|
const readPendingAddedProfileTabKeys = (entityId) => {
|
|
110718
110790
|
if (typeof window === "undefined") return null;
|
|
110719
110791
|
try {
|
|
@@ -110748,7 +110820,7 @@ const clearPendingAddedProfileTabKeys = (entityId) => {
|
|
|
110748
110820
|
}
|
|
110749
110821
|
};
|
|
110750
110822
|
const RenderEntity = forwardRef((props, ref) => {
|
|
110751
|
-
var _a2, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k;
|
|
110823
|
+
var _a2, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
110752
110824
|
const { entity, onLoadEntity, onSaveCrate, onSaveEntityTemplate, onWarning, onError, onAddNewProfileRequest, onRemoveProfile } = props;
|
|
110753
110825
|
const state = useStateStore();
|
|
110754
110826
|
const profileManager = useContext(ProfileManagerContext);
|
|
@@ -110764,18 +110836,23 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
110764
110836
|
const [savedProperty, setSavedProperty] = useState(void 0);
|
|
110765
110837
|
const [tabs, setTabs] = useState([]);
|
|
110766
110838
|
const [showAddPanel, setShowAddPanel] = useState(false);
|
|
110839
|
+
const [quickSettingsVisible, setQuickSettingsVisible] = useState(false);
|
|
110840
|
+
const [showFieldHelp, setShowFieldHelp] = useState(true);
|
|
110841
|
+
const [fieldTitleFilter, setFieldTitleFilter] = useState("");
|
|
110842
|
+
const [hideEmptyFields, setHideEmptyFields] = useState(false);
|
|
110767
110843
|
const [iconView, setIconView] = useState(false);
|
|
110768
110844
|
const [hoveredTabKey, setHoveredTabKey] = useState(null);
|
|
110769
110845
|
const initialTabPaneWidth = useMemo$1(() => {
|
|
110770
110846
|
const raw = localStorage.getItem("recrate.verticalTabWidth");
|
|
110771
|
-
const n2 = raw ? parseInt(raw, 10) :
|
|
110772
|
-
return
|
|
110847
|
+
const n2 = raw ? parseInt(raw, 10) : DEFAULT_TAB_PANE_WIDTH;
|
|
110848
|
+
return clampLabelTabPaneWidth(isNaN(n2) ? DEFAULT_TAB_PANE_WIDTH : n2);
|
|
110773
110849
|
}, []);
|
|
110774
110850
|
const [tabPaneWidth, setTabPaneWidth] = useState(initialTabPaneWidth);
|
|
110851
|
+
const labelTabPaneWidthRef = useRef(initialTabPaneWidth);
|
|
110775
110852
|
const persistTabWidth = useMemo$1(() => debounce((w2) => {
|
|
110776
|
-
|
|
110777
|
-
const
|
|
110778
|
-
|
|
110853
|
+
if (iconView) return;
|
|
110854
|
+
const clamped = clampLabelTabPaneWidth(w2);
|
|
110855
|
+
labelTabPaneWidthRef.current = clamped;
|
|
110779
110856
|
localStorage.setItem("recrate.verticalTabWidth", String(clamped));
|
|
110780
110857
|
}, 200), [iconView]);
|
|
110781
110858
|
const [scrollViewportHeight, setScrollViewportHeight] = useState(0);
|
|
@@ -111027,8 +111104,18 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111027
111104
|
if (typeof ((_b2 = navState == null ? void 0 : navState.uiState) == null ? void 0 : _b2.showAddPanel) === "boolean") setShowAddPanel(navState.uiState.showAddPanel);
|
|
111028
111105
|
if (typeof ((_c2 = navState == null ? void 0 : navState.uiState) == null ? void 0 : _c2.reverseSidebarVisible) === "boolean") setReverseSidebarVisible(navState.uiState.reverseSidebarVisible);
|
|
111029
111106
|
if (typeof ((_d2 = navState == null ? void 0 : navState.uiState) == null ? void 0 : _d2.highlightRequiredProperties) === "boolean") setHighlightRequiredProperties(navState.uiState.highlightRequiredProperties);
|
|
111030
|
-
if (typeof ((_e3 = navState == null ? void 0 : navState.uiState) == null ? void 0 : _e3.iconView) === "boolean")
|
|
111031
|
-
|
|
111107
|
+
if (typeof ((_e3 = navState == null ? void 0 : navState.uiState) == null ? void 0 : _e3.iconView) === "boolean") {
|
|
111108
|
+
setIconView(navState.uiState.iconView);
|
|
111109
|
+
}
|
|
111110
|
+
if (typeof ((_f2 = navState == null ? void 0 : navState.uiState) == null ? void 0 : _f2.tabPaneWidth) === "number") {
|
|
111111
|
+
if (navState.uiState.iconView) {
|
|
111112
|
+
setTabPaneWidth(ICON_TAB_PANE_WIDTH);
|
|
111113
|
+
} else {
|
|
111114
|
+
const restoredWidth = clampLabelTabPaneWidth(navState.uiState.tabPaneWidth);
|
|
111115
|
+
labelTabPaneWidthRef.current = restoredWidth;
|
|
111116
|
+
setTabPaneWidth(restoredWidth);
|
|
111117
|
+
}
|
|
111118
|
+
}
|
|
111032
111119
|
if (isCurrentHistoryEntity) {
|
|
111033
111120
|
if (layout.renderTabs) {
|
|
111034
111121
|
state.editorState.update({ id: entity2["@id"], tab: nextActiveTab });
|
|
@@ -111441,13 +111528,14 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111441
111528
|
};
|
|
111442
111529
|
const toggleIconView = () => {
|
|
111443
111530
|
if (!iconView) {
|
|
111531
|
+
labelTabPaneWidthRef.current = clampLabelTabPaneWidth(tabPaneWidth);
|
|
111444
111532
|
setIconView(true);
|
|
111445
|
-
setTabPaneWidth(
|
|
111446
|
-
localStorage.setItem("recrate.verticalTabWidth", "80");
|
|
111533
|
+
setTabPaneWidth(ICON_TAB_PANE_WIDTH);
|
|
111447
111534
|
} else {
|
|
111535
|
+
const restoredWidth = clampLabelTabPaneWidth(labelTabPaneWidthRef.current || DEFAULT_TAB_PANE_WIDTH);
|
|
111448
111536
|
setIconView(false);
|
|
111449
|
-
setTabPaneWidth(
|
|
111450
|
-
localStorage.setItem("recrate.verticalTabWidth",
|
|
111537
|
+
setTabPaneWidth(restoredWidth);
|
|
111538
|
+
localStorage.setItem("recrate.verticalTabWidth", String(restoredWidth));
|
|
111451
111539
|
}
|
|
111452
111540
|
};
|
|
111453
111541
|
const addProfileTabLabel = /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip2, { title: t2("add_profile_button_tooltip"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -111455,7 +111543,7 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111455
111543
|
{
|
|
111456
111544
|
type: "default",
|
|
111457
111545
|
shape: "circle",
|
|
111458
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
111546
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$p, {}),
|
|
111459
111547
|
"aria-label": "Add Profile",
|
|
111460
111548
|
"aria-controls": "add-property-panel",
|
|
111461
111549
|
"aria-expanded": showAddPanel,
|
|
@@ -111475,7 +111563,7 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111475
111563
|
{
|
|
111476
111564
|
type: iconView ? "primary" : "default",
|
|
111477
111565
|
shape: "circle",
|
|
111478
|
-
icon: iconView ? /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
111566
|
+
icon: iconView ? /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$b, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon, {}),
|
|
111479
111567
|
"aria-pressed": iconView,
|
|
111480
111568
|
onClick: (e3) => {
|
|
111481
111569
|
e3.stopPropagation();
|
|
@@ -111508,7 +111596,7 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111508
111596
|
{
|
|
111509
111597
|
type: iconView ? "primary" : "default",
|
|
111510
111598
|
shape: "circle",
|
|
111511
|
-
icon: iconView ? /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
111599
|
+
icon: iconView ? /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$b, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon, {}),
|
|
111512
111600
|
"aria-pressed": iconView,
|
|
111513
111601
|
onClick: (e3) => {
|
|
111514
111602
|
e3.stopPropagation();
|
|
@@ -111521,7 +111609,7 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111521
111609
|
{
|
|
111522
111610
|
type: "default",
|
|
111523
111611
|
shape: "circle",
|
|
111524
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
111612
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$p, {}),
|
|
111525
111613
|
"aria-label": "Add Profile",
|
|
111526
111614
|
"aria-controls": "add-property-panel",
|
|
111527
111615
|
"aria-expanded": showAddPanel,
|
|
@@ -111586,7 +111674,7 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111586
111674
|
e3.stopPropagation();
|
|
111587
111675
|
handleRemoveProfile(tab);
|
|
111588
111676
|
},
|
|
111589
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
111677
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$f, { style: { color: "oklch(57.7% 0.245 27.325)" } })
|
|
111590
111678
|
}
|
|
111591
111679
|
)
|
|
111592
111680
|
] })
|
|
@@ -111606,7 +111694,7 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111606
111694
|
shape: "circle",
|
|
111607
111695
|
size: "small",
|
|
111608
111696
|
className: "describo-tab-rail-scroll-button describo-tab-rail-scroll-button-up",
|
|
111609
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
111697
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$o, {}),
|
|
111610
111698
|
"aria-label": "Scroll profile tabs up",
|
|
111611
111699
|
onClick: () => scrollTabRail("up")
|
|
111612
111700
|
}
|
|
@@ -111618,7 +111706,7 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111618
111706
|
shape: "circle",
|
|
111619
111707
|
size: "small",
|
|
111620
111708
|
className: "describo-tab-rail-scroll-button describo-tab-rail-scroll-button-down",
|
|
111621
|
-
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$
|
|
111709
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$t, {}),
|
|
111622
111710
|
"aria-label": "Scroll profile tabs down",
|
|
111623
111711
|
onClick: () => scrollTabRail("down")
|
|
111624
111712
|
}
|
|
@@ -111626,6 +111714,46 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111626
111714
|
]
|
|
111627
111715
|
}
|
|
111628
111716
|
);
|
|
111717
|
+
const renderQuickSettingsHeader = () => quickSettingsVisible ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111718
|
+
QuickSettingsHeader,
|
|
111719
|
+
{
|
|
111720
|
+
showFieldHelp,
|
|
111721
|
+
fieldTitleFilter,
|
|
111722
|
+
hideEmptyFields,
|
|
111723
|
+
onToggleFieldHelp: () => setShowFieldHelp((visible) => !visible),
|
|
111724
|
+
onFieldTitleFilterChange: setFieldTitleFilter,
|
|
111725
|
+
onToggleEmptyFields: () => setHideEmptyFields((hidden) => !hidden)
|
|
111726
|
+
}
|
|
111727
|
+
) : null;
|
|
111728
|
+
const hasFieldValue = (value) => {
|
|
111729
|
+
if (Array.isArray(value)) {
|
|
111730
|
+
return value.some(hasFieldValue);
|
|
111731
|
+
}
|
|
111732
|
+
if (value === null || typeof value === "undefined") {
|
|
111733
|
+
return false;
|
|
111734
|
+
}
|
|
111735
|
+
if (typeof value === "string") {
|
|
111736
|
+
return value.trim().length > 0;
|
|
111737
|
+
}
|
|
111738
|
+
return true;
|
|
111739
|
+
};
|
|
111740
|
+
const getFieldTitle = (property, label) => {
|
|
111741
|
+
var _a3, _b2;
|
|
111742
|
+
if (label) return label;
|
|
111743
|
+
if (property === "name") return t2("name_field_label");
|
|
111744
|
+
return ((_b2 = (_a3 = profileManager == null ? void 0 : profileManager.getPropertyDefinition({
|
|
111745
|
+
property,
|
|
111746
|
+
entity: contextEntity
|
|
111747
|
+
})) == null ? void 0 : _a3.propertyDefinition) == null ? void 0 : _b2.label) || property;
|
|
111748
|
+
};
|
|
111749
|
+
const matchesFieldTitleFilter = (property, label) => {
|
|
111750
|
+
const filter2 = fieldTitleFilter.trim().toLowerCase();
|
|
111751
|
+
if (!filter2) return true;
|
|
111752
|
+
return getFieldTitle(property, label).toLowerCase().includes(filter2);
|
|
111753
|
+
};
|
|
111754
|
+
const shouldRenderCoreField = (property, label) => matchesFieldTitleFilter(property, label);
|
|
111755
|
+
const shouldRenderField = (property, label) => matchesFieldTitleFilter(property, label) && (!hideEmptyFields || hasFieldValue(contextEntity == null ? void 0 : contextEntity[property]));
|
|
111756
|
+
const editorScrollClassName = `describo-editor-scroll ${quickSettingsVisible ? "px-3 pb-3 pt-0" : "p-3"}`;
|
|
111629
111757
|
if (!entity || !entity["@id"]) {
|
|
111630
111758
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "No entity selected" });
|
|
111631
111759
|
}
|
|
@@ -111646,6 +111774,17 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111646
111774
|
}
|
|
111647
111775
|
),
|
|
111648
111776
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-grow" }),
|
|
111777
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip2, { title: "Quick filter settings", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111778
|
+
Button$1,
|
|
111779
|
+
{
|
|
111780
|
+
style: { marginRight: 8 },
|
|
111781
|
+
onClick: () => setQuickSettingsVisible((visible) => !visible),
|
|
111782
|
+
type: quickSettingsVisible ? "primary" : "default",
|
|
111783
|
+
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefIcon$7, {}),
|
|
111784
|
+
"aria-label": "Quick filter settings",
|
|
111785
|
+
"aria-pressed": quickSettingsVisible
|
|
111786
|
+
}
|
|
111787
|
+
) }),
|
|
111649
111788
|
((_b = state.configuration) == null ? void 0 : _b.enableReverseLinkBrowser) && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111650
111789
|
"button",
|
|
111651
111790
|
{
|
|
@@ -111667,12 +111806,13 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111667
111806
|
setTabPaneWidth(w2);
|
|
111668
111807
|
persistTabWidth(w2);
|
|
111669
111808
|
}, children: [
|
|
111670
|
-
((_e2 = state.configuration) == null ? void 0 : _e2.tabLocation) === "left" && /* @__PURE__ */ jsxRuntimeExports.jsx(Ve.Pane, { minSize: iconView ?
|
|
111809
|
+
((_e2 = state.configuration) == null ? void 0 : _e2.tabLocation) === "left" && /* @__PURE__ */ jsxRuntimeExports.jsx(Ve.Pane, { minSize: iconView ? ICON_TAB_PANE_WIDTH : MIN_LABEL_TAB_PANE_WIDTH, maxSize: iconView ? ICON_TAB_PANE_WIDTH : MAX_LABEL_TAB_PANE_WIDTH, preferredSize: iconView ? ICON_TAB_PANE_WIDTH : tabPaneWidth, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative group h-full border-r border-slate-200", children: [
|
|
111671
111810
|
renderProfileActionRail(),
|
|
111672
111811
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute right-0 top-0 bottom-0 w-1 bg-slate-300 opacity-0 group-hover:opacity-100" })
|
|
111673
111812
|
] }) }),
|
|
111674
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Ve.Pane, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: activeContentRef, className:
|
|
111675
|
-
|
|
111813
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Ve.Pane, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: activeContentRef, className: `${editorScrollClassName} flex-1 overflow-y-auto scroll-smooth min-h-0`, children: [
|
|
111814
|
+
renderQuickSettingsHeader(),
|
|
111815
|
+
shouldRenderCoreField("@id") && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-row space-x-2 my-2 p-2", children: [
|
|
111676
111816
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111677
111817
|
"div",
|
|
111678
111818
|
{
|
|
@@ -111689,21 +111829,32 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111689
111829
|
}
|
|
111690
111830
|
)
|
|
111691
111831
|
] }),
|
|
111692
|
-
|
|
111693
|
-
|
|
111832
|
+
!shouldRenderCoreField("@id") && !((_g = state.configuration) == null ? void 0 : _g.readonly) && missingRequiredData && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-row place-content-between my-2 p-2", children: [
|
|
111833
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-grow" }),
|
|
111834
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111835
|
+
"button",
|
|
111836
|
+
{
|
|
111837
|
+
className: "bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded",
|
|
111838
|
+
onClick: () => setHighlightRequiredProperties(!highlightRequiredProperties),
|
|
111839
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(FontAwesomeIcon, { icon: faTriangleExclamation, size: "lg" })
|
|
111840
|
+
}
|
|
111841
|
+
)
|
|
111842
|
+
] }),
|
|
111843
|
+
shouldRenderCoreField("@type") && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `my-2 p-2 describo-property describo-property-name-type`, children: /* @__PURE__ */ jsxRuntimeExports.jsx(EntityType, { entity: contextEntity, onUpdateEntity: handleUpdateEntity }) }),
|
|
111844
|
+
shouldRenderCoreField("name") && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111694
111845
|
"div",
|
|
111695
111846
|
{
|
|
111696
111847
|
className: `my-2 p-2 describo-property describo-property-name-name ${savedProperty === "name" ? "bg-green-200 rounded" : ""}`,
|
|
111697
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(EntityName, { entity: contextEntity, onUpdate: handleUpdateEntity })
|
|
111848
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(EntityName, { entity: contextEntity, onUpdate: handleUpdateEntity, showHelp: showFieldHelp })
|
|
111698
111849
|
}
|
|
111699
111850
|
),
|
|
111700
111851
|
Object.keys(contextEntity).sort().map((property) => {
|
|
111701
|
-
if (!["@id", "@type", "name", "@reverse"].includes(property)) {
|
|
111852
|
+
if (!["@id", "@type", "name", "@reverse"].includes(property) && shouldRenderField(property)) {
|
|
111702
111853
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111703
111854
|
"div",
|
|
111704
111855
|
{
|
|
111705
111856
|
"data-recrate-property": property,
|
|
111706
|
-
className:
|
|
111857
|
+
className: `${showFieldHelp ? "my-2" : "my-1"} hover:bg-sky-100 ${savedProperty === property ? "bg-green-200 hover:bg-green-200" : ""}`,
|
|
111707
111858
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111708
111859
|
EntityProperty,
|
|
111709
111860
|
{
|
|
@@ -111712,6 +111863,7 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111712
111863
|
values: Array.isArray(contextEntity[property]) ? contextEntity[property] : [contextEntity[property]],
|
|
111713
111864
|
highlightRequired: highlightRequiredProperties,
|
|
111714
111865
|
savedProperty: savedProperty === property,
|
|
111866
|
+
showHelp: showFieldHelp,
|
|
111715
111867
|
onLoadEntity: handleLoadEntityWithContext,
|
|
111716
111868
|
onCreateEntity: handleCreateEntity,
|
|
111717
111869
|
onLinkEntity: handleLinkEntity,
|
|
@@ -111728,11 +111880,11 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111728
111880
|
return null;
|
|
111729
111881
|
})
|
|
111730
111882
|
] }) }),
|
|
111731
|
-
((
|
|
111883
|
+
((_h = state.configuration) == null ? void 0 : _h.tabLocation) === "right" && /* @__PURE__ */ jsxRuntimeExports.jsx(Ve.Pane, { minSize: iconView ? ICON_TAB_PANE_WIDTH : MIN_LABEL_TAB_PANE_WIDTH, maxSize: iconView ? ICON_TAB_PANE_WIDTH : MAX_LABEL_TAB_PANE_WIDTH, preferredSize: iconView ? ICON_TAB_PANE_WIDTH : tabPaneWidth, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative group h-full border-l border-slate-200", children: [
|
|
111732
111884
|
renderProfileActionRail(),
|
|
111733
111885
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute left-0 top-0 bottom-0 w-1 bg-slate-300 opacity-0 group-hover:opacity-100" })
|
|
111734
111886
|
] }) })
|
|
111735
|
-
] }) }) : /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: contentContainerRef, className: "flex min-h-0 overflow-hidden", style: {
|
|
111887
|
+
] }, `untabbed-${(_i = state.configuration) == null ? void 0 : _i.tabLocation}-${iconView ? "icon" : "label"}`) }) : /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: contentContainerRef, className: "flex min-h-0 overflow-hidden", style: {
|
|
111736
111888
|
flexDirection: "column",
|
|
111737
111889
|
height: scrollViewportHeight ? `${scrollViewportHeight}px` : "calc(100vh - 200px)"
|
|
111738
111890
|
}, children: [
|
|
@@ -111748,8 +111900,9 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111748
111900
|
tabBarStyle: { width: "100%" }
|
|
111749
111901
|
}
|
|
111750
111902
|
) }),
|
|
111751
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: activeContentRef, className:
|
|
111752
|
-
|
|
111903
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: activeContentRef, className: `${editorScrollClassName} h-full overflow-y-auto scroll-smooth min-h-0`, children: [
|
|
111904
|
+
renderQuickSettingsHeader(),
|
|
111905
|
+
shouldRenderCoreField("@id") && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-row space-x-2 my-2 p-2", children: [
|
|
111753
111906
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111754
111907
|
"div",
|
|
111755
111908
|
{
|
|
@@ -111757,7 +111910,7 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111757
111910
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(EntityId, { entity: contextEntity, onUpdate: handleUpdateEntity })
|
|
111758
111911
|
}
|
|
111759
111912
|
),
|
|
111760
|
-
!((
|
|
111913
|
+
!((_j = state.configuration) == null ? void 0 : _j.readonly) && missingRequiredData && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111761
111914
|
"button",
|
|
111762
111915
|
{
|
|
111763
111916
|
className: "bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded",
|
|
@@ -111766,21 +111919,32 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111766
111919
|
}
|
|
111767
111920
|
)
|
|
111768
111921
|
] }),
|
|
111769
|
-
|
|
111770
|
-
|
|
111922
|
+
!shouldRenderCoreField("@id") && !((_k = state.configuration) == null ? void 0 : _k.readonly) && missingRequiredData && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-row place-content-between my-2 p-2", children: [
|
|
111923
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-grow" }),
|
|
111924
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111925
|
+
"button",
|
|
111926
|
+
{
|
|
111927
|
+
className: "bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded",
|
|
111928
|
+
onClick: () => setHighlightRequiredProperties(!highlightRequiredProperties),
|
|
111929
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(FontAwesomeIcon, { icon: faTriangleExclamation, size: "lg" })
|
|
111930
|
+
}
|
|
111931
|
+
)
|
|
111932
|
+
] }),
|
|
111933
|
+
shouldRenderCoreField("@type") && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `my-2 p-2 describo-property describo-property-name-type`, children: /* @__PURE__ */ jsxRuntimeExports.jsx(EntityType, { entity: contextEntity, onUpdateEntity: handleUpdateEntity }) }),
|
|
111934
|
+
shouldRenderCoreField("name") && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111771
111935
|
"div",
|
|
111772
111936
|
{
|
|
111773
111937
|
className: `my-2 p-2 describo-property describo-property-name-name ${savedProperty === "name" ? "bg-green-200 rounded p-1 my-1" : ""}`,
|
|
111774
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(EntityName, { entity: contextEntity, onUpdate: handleUpdateEntity })
|
|
111938
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(EntityName, { entity: contextEntity, onUpdate: handleUpdateEntity, showHelp: showFieldHelp })
|
|
111775
111939
|
}
|
|
111776
111940
|
),
|
|
111777
111941
|
Object.keys(contextEntity).sort().map((property) => {
|
|
111778
|
-
if (!["@id", "@type", "name", "@reverse"].includes(property)) {
|
|
111942
|
+
if (!["@id", "@type", "name", "@reverse"].includes(property) && shouldRenderField(property)) {
|
|
111779
111943
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111780
111944
|
"div",
|
|
111781
111945
|
{
|
|
111782
111946
|
"data-recrate-property": property,
|
|
111783
|
-
className:
|
|
111947
|
+
className: `${showFieldHelp ? "my-2" : "my-1"} hover:bg-sky-100 ${savedProperty === property ? "bg-green-200 hover:bg-green-200" : ""}`,
|
|
111784
111948
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111785
111949
|
EntityProperty,
|
|
111786
111950
|
{
|
|
@@ -111789,6 +111953,7 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111789
111953
|
values: Array.isArray(contextEntity[property]) ? contextEntity[property] : [contextEntity[property]],
|
|
111790
111954
|
highlightRequired: highlightRequiredProperties,
|
|
111791
111955
|
savedProperty: savedProperty === property,
|
|
111956
|
+
showHelp: showFieldHelp,
|
|
111792
111957
|
onLoadEntity: handleLoadEntityWithContext,
|
|
111793
111958
|
onCreateEntity: handleCreateEntity,
|
|
111794
111959
|
onLinkEntity: handleLinkEntity,
|
|
@@ -111812,12 +111977,13 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111812
111977
|
setTabPaneWidth(w2);
|
|
111813
111978
|
persistTabWidth(w2);
|
|
111814
111979
|
}, children: [
|
|
111815
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Ve.Pane, { minSize: iconView ?
|
|
111980
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Ve.Pane, { minSize: iconView ? ICON_TAB_PANE_WIDTH : MIN_LABEL_TAB_PANE_WIDTH, maxSize: iconView ? ICON_TAB_PANE_WIDTH : MAX_LABEL_TAB_PANE_WIDTH, preferredSize: iconView ? ICON_TAB_PANE_WIDTH : tabPaneWidth, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative group h-full", children: [
|
|
111816
111981
|
renderProfileTabRail(),
|
|
111817
111982
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute right-0 top-0 bottom-0 w-1 bg-slate-300 opacity-0 group-hover:opacity-100" })
|
|
111818
111983
|
] }) }),
|
|
111819
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Ve.Pane, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: activeContentRef, className:
|
|
111820
|
-
|
|
111984
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Ve.Pane, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: activeContentRef, className: `${editorScrollClassName} h-full overflow-y-auto scroll-smooth min-h-0`, children: [
|
|
111985
|
+
renderQuickSettingsHeader(),
|
|
111986
|
+
!((_l = state.configuration) == null ? void 0 : _l.readonly) && ((_m = tabs.find((t22) => t22.name === activeTab)) == null ? void 0 : _m.missingRequiredData) && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-red-600 float-right mb-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111821
111987
|
"button",
|
|
111822
111988
|
{
|
|
111823
111989
|
className: "bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded text-sm",
|
|
@@ -111825,29 +111991,29 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111825
111991
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(FontAwesomeIcon, { icon: faTriangleExclamation, size: "lg" })
|
|
111826
111992
|
}
|
|
111827
111993
|
) }),
|
|
111828
|
-
activeTab === "about" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-3", children: [
|
|
111829
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111994
|
+
activeTab === "about" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: showFieldHelp ? "space-y-3" : "space-y-1", children: [
|
|
111995
|
+
shouldRenderCoreField("@id") && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111830
111996
|
"div",
|
|
111831
111997
|
{
|
|
111832
111998
|
className: `p-2 describo-property describo-property-name-id ${savedProperty === "@id" ? "bg-green-200 rounded" : ""}`,
|
|
111833
111999
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(EntityId, { entity: contextEntity, onUpdate: handleUpdateEntity })
|
|
111834
112000
|
}
|
|
111835
112001
|
),
|
|
111836
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-2 describo-property describo-property-name-type", children: /* @__PURE__ */ jsxRuntimeExports.jsx(EntityType, { entity: contextEntity, onUpdateEntity: handleUpdateEntity }) }),
|
|
111837
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
112002
|
+
shouldRenderCoreField("@type") && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-2 describo-property describo-property-name-type", children: /* @__PURE__ */ jsxRuntimeExports.jsx(EntityType, { entity: contextEntity, onUpdateEntity: handleUpdateEntity }) }),
|
|
112003
|
+
shouldRenderCoreField("name") && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111838
112004
|
"div",
|
|
111839
112005
|
{
|
|
111840
112006
|
className: `p-2 describo-property describo-property-name-name ${savedProperty === "name" ? "bg-green-200 rounded" : ""}`,
|
|
111841
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(EntityName, { entity: contextEntity, onUpdate: handleUpdateEntity })
|
|
112007
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(EntityName, { entity: contextEntity, onUpdate: handleUpdateEntity, showHelp: showFieldHelp })
|
|
111842
112008
|
}
|
|
111843
112009
|
),
|
|
111844
|
-
(
|
|
111845
|
-
if (!["@id", "@type", "name", "@reverse"].includes(input.name)) {
|
|
112010
|
+
(_n = tabs.find((tab) => tab.name === "about")) == null ? void 0 : _n.inputs.map((input) => {
|
|
112011
|
+
if (!["@id", "@type", "name", "@reverse"].includes(input.name) && shouldRenderField(input.name, input.label)) {
|
|
111846
112012
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111847
112013
|
"div",
|
|
111848
112014
|
{
|
|
111849
112015
|
"data-recrate-property": input.name,
|
|
111850
|
-
className:
|
|
112016
|
+
className: `${showFieldHelp ? "p-2" : "px-2 py-1"} hover:bg-sky-100 ${savedProperty === input.name ? "bg-green-200 hover:bg-green-200" : ""}`,
|
|
111851
112017
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111852
112018
|
EntityProperty,
|
|
111853
112019
|
{
|
|
@@ -111856,6 +112022,7 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111856
112022
|
values: Array.isArray(contextEntity[input.name]) ? contextEntity[input.name] : [contextEntity[input.name]],
|
|
111857
112023
|
highlightRequired: highlightRequiredProperties,
|
|
111858
112024
|
savedProperty: savedProperty === input.name,
|
|
112025
|
+
showHelp: showFieldHelp,
|
|
111859
112026
|
onLoadEntity: handleLoadEntityWithContext,
|
|
111860
112027
|
onCreateEntity: handleCreateEntity,
|
|
111861
112028
|
onLinkEntity: handleLinkEntity,
|
|
@@ -111874,13 +112041,13 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111874
112041
|
] }),
|
|
111875
112042
|
tabs.map((tab) => {
|
|
111876
112043
|
if (tab.name === activeTab && tab.name !== "about") {
|
|
111877
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "space-y-3", children: tab.inputs.map((input) => {
|
|
111878
|
-
if (!["@id", "@type", "name", "@reverse"].includes(input.name)) {
|
|
112044
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: showFieldHelp ? "space-y-3" : "space-y-1", children: tab.inputs.map((input) => {
|
|
112045
|
+
if (!["@id", "@type", "name", "@reverse"].includes(input.name) && shouldRenderField(input.name, input.label)) {
|
|
111879
112046
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111880
112047
|
"div",
|
|
111881
112048
|
{
|
|
111882
112049
|
"data-recrate-property": input.name,
|
|
111883
|
-
className:
|
|
112050
|
+
className: `${showFieldHelp ? "p-2" : "px-2 py-1"} hover:bg-sky-100 ${savedProperty === input.name ? "bg-green-200 hover:bg-green-200" : ""}`,
|
|
111884
112051
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111885
112052
|
EntityProperty,
|
|
111886
112053
|
{
|
|
@@ -111889,6 +112056,7 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111889
112056
|
values: Array.isArray(contextEntity[input.name]) ? contextEntity[input.name] : [contextEntity[input.name]],
|
|
111890
112057
|
highlightRequired: highlightRequiredProperties,
|
|
111891
112058
|
savedProperty: savedProperty === input.name,
|
|
112059
|
+
showHelp: showFieldHelp,
|
|
111892
112060
|
onLoadEntity: handleLoadEntityWithContext,
|
|
111893
112061
|
onCreateEntity: handleCreateEntity,
|
|
111894
112062
|
onLinkEntity: handleLinkEntity,
|
|
@@ -111908,7 +112076,7 @@ const RenderEntity = forwardRef((props, ref) => {
|
|
|
111908
112076
|
return null;
|
|
111909
112077
|
})
|
|
111910
112078
|
] }) })
|
|
111911
|
-
] }) })
|
|
112079
|
+
] }, `tabbed-${(_o = state.configuration) == null ? void 0 : _o.tabLocation}-${iconView ? "icon" : "label"}`) })
|
|
111912
112080
|
] }),
|
|
111913
112081
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
111914
112082
|
Drawer2,
|
|
@@ -120255,7 +120423,7 @@ var EmotionCacheContext = /* @__PURE__ */ React.createContext(
|
|
|
120255
120423
|
}) : null
|
|
120256
120424
|
);
|
|
120257
120425
|
var CacheProvider = EmotionCacheContext.Provider;
|
|
120258
|
-
const version = "0.1.
|
|
120426
|
+
const version = "0.1.28";
|
|
120259
120427
|
const pkg = {
|
|
120260
120428
|
version
|
|
120261
120429
|
};
|