remoraid 2.33.1 → 2.34.2
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/core/index.cjs +33 -16
- package/dist/core/index.d.ts +4 -2
- package/dist/core/index.js +38 -19
- package/dist/jsonforms/index.cjs +34 -17
- package/dist/jsonforms/index.js +39 -20
- package/package.json +1 -1
package/dist/core/index.cjs
CHANGED
|
@@ -7542,11 +7542,13 @@ function WidgetWrapper({
|
|
|
7542
7542
|
}
|
|
7543
7543
|
// src/core/components/Widget/index.tsx
|
|
7544
7544
|
var import_core20 = require("@mantine/core");
|
|
7545
|
+
var import_lodash13 = __toESM(require_lodash());
|
|
7545
7546
|
var jsx_dev_runtime26 = require("react/jsx-dev-runtime");
|
|
7546
7547
|
var react2 = require("react");
|
|
7547
7548
|
function Widget({
|
|
7548
7549
|
id,
|
|
7549
7550
|
title,
|
|
7551
|
+
description,
|
|
7550
7552
|
config,
|
|
7551
7553
|
badges: badgesProp,
|
|
7552
7554
|
buttons: buttonsProp,
|
|
@@ -7585,21 +7587,36 @@ function Widget({
|
|
|
7585
7587
|
justify: "space-between",
|
|
7586
7588
|
wrap: "nowrap",
|
|
7587
7589
|
children: [
|
|
7588
|
-
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.
|
|
7589
|
-
gap:
|
|
7590
|
-
wrap: "nowrap",
|
|
7590
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.Stack, {
|
|
7591
|
+
gap: 4,
|
|
7591
7592
|
children: [
|
|
7592
|
-
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.
|
|
7593
|
-
order: 1,
|
|
7594
|
-
size: "h2",
|
|
7595
|
-
lineClamp: 1,
|
|
7596
|
-
...componentsProps?.title,
|
|
7597
|
-
children: title ?? id
|
|
7598
|
-
}, undefined, false, undefined, this),
|
|
7599
|
-
badges !== undefined && /* @__PURE__ */ jsx_dev_runtime26.jsxDEV(BadgeGroup, {
|
|
7600
|
-
badges,
|
|
7593
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.Group, {
|
|
7601
7594
|
gap: badgesGap,
|
|
7602
|
-
|
|
7595
|
+
wrap: "nowrap",
|
|
7596
|
+
children: [
|
|
7597
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.Title, {
|
|
7598
|
+
order: 1,
|
|
7599
|
+
size: "h2",
|
|
7600
|
+
lineClamp: 1,
|
|
7601
|
+
...componentsProps?.title,
|
|
7602
|
+
children: title ?? id
|
|
7603
|
+
}, undefined, false, undefined, this),
|
|
7604
|
+
badges !== undefined && /* @__PURE__ */ jsx_dev_runtime26.jsxDEV(BadgeGroup, {
|
|
7605
|
+
badges,
|
|
7606
|
+
gap: badgesGap,
|
|
7607
|
+
...componentsProps?.badgeGroup
|
|
7608
|
+
}, undefined, false, undefined, this)
|
|
7609
|
+
]
|
|
7610
|
+
}, undefined, true, undefined, this),
|
|
7611
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.Transition, {
|
|
7612
|
+
mounted: Boolean(description),
|
|
7613
|
+
children: (transitionStyle) => /* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.Text, {
|
|
7614
|
+
size: "sm",
|
|
7615
|
+
c: "dimmed",
|
|
7616
|
+
...componentsProps?.description,
|
|
7617
|
+
style: import_lodash13.merge(transitionStyle, componentsProps?.description?.style),
|
|
7618
|
+
children: description
|
|
7619
|
+
}, undefined, false, undefined, this)
|
|
7603
7620
|
}, undefined, false, undefined, this)
|
|
7604
7621
|
]
|
|
7605
7622
|
}, undefined, true, undefined, this),
|
|
@@ -7638,7 +7655,7 @@ function Widget({
|
|
|
7638
7655
|
});
|
|
7639
7656
|
})
|
|
7640
7657
|
}, undefined, false, undefined, this),
|
|
7641
|
-
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.ScrollArea.Autosize, {
|
|
7658
|
+
(loading || Boolean(children)) && /* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.ScrollArea.Autosize, {
|
|
7642
7659
|
flex: 1,
|
|
7643
7660
|
...componentsProps?.childrenContainer,
|
|
7644
7661
|
children: loading ? /* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.Center, {
|
|
@@ -7868,7 +7885,7 @@ var SettingsTable_default = Object.assign(SettingsTable, {
|
|
|
7868
7885
|
Row
|
|
7869
7886
|
});
|
|
7870
7887
|
// src/core/components/NavbarSettingsWidget/index.tsx
|
|
7871
|
-
var
|
|
7888
|
+
var import_lodash14 = __toESM(require_lodash());
|
|
7872
7889
|
var import_core24 = require("@mantine/core");
|
|
7873
7890
|
var import_icons_react12 = require("@tabler/icons-react");
|
|
7874
7891
|
var jsx_dev_runtime33 = require("react/jsx-dev-runtime");
|
|
@@ -7894,7 +7911,7 @@ function NavbarSettingsWidget({
|
|
|
7894
7911
|
navbar: initialUserExperience.navbar
|
|
7895
7912
|
}));
|
|
7896
7913
|
},
|
|
7897
|
-
custom: !
|
|
7914
|
+
custom: !import_lodash14.isEqual(userExperience.navbar, initialUserExperience.navbar),
|
|
7898
7915
|
children: /* @__PURE__ */ jsx_dev_runtime33.jsxDEV(SettingsTable_default, {
|
|
7899
7916
|
...componentsProps?.table,
|
|
7900
7917
|
children: [
|
package/dist/core/index.d.ts
CHANGED
|
@@ -582,11 +582,12 @@ interface WidgetWrapperProps {
|
|
|
582
582
|
};
|
|
583
583
|
}
|
|
584
584
|
declare function WidgetWrapper({ config, mt, withCloseButton, pinnableSection, componentsProps, children }: PropsWithChildren16<WidgetWrapperProps>): ReactNode25;
|
|
585
|
-
import { MantineSize as MantineSize10, LoaderProps, DividerProps, StackProps as StackProps3, TitleProps, ScrollAreaAutosizeProps } from "@mantine/core";
|
|
585
|
+
import { MantineSize as MantineSize10, LoaderProps, DividerProps, StackProps as StackProps3, TitleProps, ScrollAreaAutosizeProps, TextProps as TextProps2 } from "@mantine/core";
|
|
586
586
|
import { PropsWithChildren as PropsWithChildren17, ReactNode as ReactNode26 } from "react";
|
|
587
587
|
interface WidgetProps {
|
|
588
588
|
id: string;
|
|
589
589
|
title?: string;
|
|
590
|
+
description?: string;
|
|
590
591
|
config?: Partial<Omit<WidgetConfiguration, "widgetId">>;
|
|
591
592
|
badges?: ElementOrPropsOfType<typeof BadgeMinimal>[];
|
|
592
593
|
buttons?: ElementOrPropsOfType<typeof RemoraidButton, RemoraidButtonProps<true> | RemoraidButtonProps<false>>[];
|
|
@@ -605,12 +606,13 @@ interface WidgetProps {
|
|
|
605
606
|
childrenContainer?: Partial<ScrollAreaAutosizeProps>
|
|
606
607
|
loader?: Partial<LoaderProps>
|
|
607
608
|
title?: Partial<TitleProps>
|
|
609
|
+
description?: Partial<TextProps2>
|
|
608
610
|
badgeGroup?: Partial<BadgeGroupProps>
|
|
609
611
|
divider?: Partial<DividerProps>
|
|
610
612
|
alertsContainer?: Partial<StackProps3>
|
|
611
613
|
};
|
|
612
614
|
}
|
|
613
|
-
declare function Widget({ id, title, config, badges: badgesProp, buttons: buttonsProp, alerts: alertsProp, gaps, loading, mt, pinnableSection, componentsProps, children }: PropsWithChildren17<WidgetProps>): ReactNode26;
|
|
615
|
+
declare function Widget({ id, title, description, config, badges: badgesProp, buttons: buttonsProp, alerts: alertsProp, gaps, loading, mt, pinnableSection, componentsProps, children }: PropsWithChildren17<WidgetProps>): ReactNode26;
|
|
614
616
|
import { ContainerProps as ContainerProps2, StackProps as StackProps4 } from "@mantine/core";
|
|
615
617
|
import { PropsWithChildren as PropsWithChildren18, ReactNode as ReactNode27 } from "react";
|
|
616
618
|
declare const usePage: () => PageConfiguration | null;
|
package/dist/core/index.js
CHANGED
|
@@ -7545,13 +7545,17 @@ import {
|
|
|
7545
7545
|
Title,
|
|
7546
7546
|
Stack as Stack5,
|
|
7547
7547
|
Box as Box5,
|
|
7548
|
-
ScrollArea as ScrollArea3
|
|
7548
|
+
ScrollArea as ScrollArea3,
|
|
7549
|
+
Transition as Transition8,
|
|
7550
|
+
Text as Text2
|
|
7549
7551
|
} from "@mantine/core";
|
|
7552
|
+
var import_lodash13 = __toESM(require_lodash(), 1);
|
|
7550
7553
|
import { jsxDEV as jsxDEV26 } from "react/jsx-dev-runtime";
|
|
7551
7554
|
import { createElement as createElement2 } from "react";
|
|
7552
7555
|
function Widget({
|
|
7553
7556
|
id,
|
|
7554
7557
|
title,
|
|
7558
|
+
description,
|
|
7555
7559
|
config,
|
|
7556
7560
|
badges: badgesProp,
|
|
7557
7561
|
buttons: buttonsProp,
|
|
@@ -7590,21 +7594,36 @@ function Widget({
|
|
|
7590
7594
|
justify: "space-between",
|
|
7591
7595
|
wrap: "nowrap",
|
|
7592
7596
|
children: [
|
|
7593
|
-
/* @__PURE__ */ jsxDEV26(
|
|
7594
|
-
gap:
|
|
7595
|
-
wrap: "nowrap",
|
|
7597
|
+
/* @__PURE__ */ jsxDEV26(Stack5, {
|
|
7598
|
+
gap: 4,
|
|
7596
7599
|
children: [
|
|
7597
|
-
/* @__PURE__ */ jsxDEV26(
|
|
7598
|
-
order: 1,
|
|
7599
|
-
size: "h2",
|
|
7600
|
-
lineClamp: 1,
|
|
7601
|
-
...componentsProps?.title,
|
|
7602
|
-
children: title ?? id
|
|
7603
|
-
}, undefined, false, undefined, this),
|
|
7604
|
-
badges !== undefined && /* @__PURE__ */ jsxDEV26(BadgeGroup, {
|
|
7605
|
-
badges,
|
|
7600
|
+
/* @__PURE__ */ jsxDEV26(Group5, {
|
|
7606
7601
|
gap: badgesGap,
|
|
7607
|
-
|
|
7602
|
+
wrap: "nowrap",
|
|
7603
|
+
children: [
|
|
7604
|
+
/* @__PURE__ */ jsxDEV26(Title, {
|
|
7605
|
+
order: 1,
|
|
7606
|
+
size: "h2",
|
|
7607
|
+
lineClamp: 1,
|
|
7608
|
+
...componentsProps?.title,
|
|
7609
|
+
children: title ?? id
|
|
7610
|
+
}, undefined, false, undefined, this),
|
|
7611
|
+
badges !== undefined && /* @__PURE__ */ jsxDEV26(BadgeGroup, {
|
|
7612
|
+
badges,
|
|
7613
|
+
gap: badgesGap,
|
|
7614
|
+
...componentsProps?.badgeGroup
|
|
7615
|
+
}, undefined, false, undefined, this)
|
|
7616
|
+
]
|
|
7617
|
+
}, undefined, true, undefined, this),
|
|
7618
|
+
/* @__PURE__ */ jsxDEV26(Transition8, {
|
|
7619
|
+
mounted: Boolean(description),
|
|
7620
|
+
children: (transitionStyle) => /* @__PURE__ */ jsxDEV26(Text2, {
|
|
7621
|
+
size: "sm",
|
|
7622
|
+
c: "dimmed",
|
|
7623
|
+
...componentsProps?.description,
|
|
7624
|
+
style: import_lodash13.merge(transitionStyle, componentsProps?.description?.style),
|
|
7625
|
+
children: description
|
|
7626
|
+
}, undefined, false, undefined, this)
|
|
7608
7627
|
}, undefined, false, undefined, this)
|
|
7609
7628
|
]
|
|
7610
7629
|
}, undefined, true, undefined, this),
|
|
@@ -7643,7 +7662,7 @@ function Widget({
|
|
|
7643
7662
|
});
|
|
7644
7663
|
})
|
|
7645
7664
|
}, undefined, false, undefined, this),
|
|
7646
|
-
/* @__PURE__ */ jsxDEV26(ScrollArea3.Autosize, {
|
|
7665
|
+
(loading || Boolean(children)) && /* @__PURE__ */ jsxDEV26(ScrollArea3.Autosize, {
|
|
7647
7666
|
flex: 1,
|
|
7648
7667
|
...componentsProps?.childrenContainer,
|
|
7649
7668
|
children: loading ? /* @__PURE__ */ jsxDEV26(Center, {
|
|
@@ -7815,7 +7834,7 @@ import { createContext as createContext7, useContext as useContext10 } from "rea
|
|
|
7815
7834
|
import { Table as Table2 } from "@mantine/core";
|
|
7816
7835
|
|
|
7817
7836
|
// src/core/components/SettingsWidget/SettingsTable/Row/index.tsx
|
|
7818
|
-
import { Table, Text as
|
|
7837
|
+
import { Table, Text as Text3 } from "@mantine/core";
|
|
7819
7838
|
import { jsxDEV as jsxDEV31 } from "react/jsx-dev-runtime";
|
|
7820
7839
|
function Row({
|
|
7821
7840
|
children,
|
|
@@ -7826,7 +7845,7 @@ function Row({
|
|
|
7826
7845
|
children: [
|
|
7827
7846
|
/* @__PURE__ */ jsxDEV31(Table.Th, {
|
|
7828
7847
|
w: options.leftColumnWidth,
|
|
7829
|
-
children: /* @__PURE__ */ jsxDEV31(
|
|
7848
|
+
children: /* @__PURE__ */ jsxDEV31(Text3, {
|
|
7830
7849
|
size: "sm",
|
|
7831
7850
|
children: label
|
|
7832
7851
|
}, undefined, false, undefined, this)
|
|
@@ -7873,7 +7892,7 @@ var SettingsTable_default = Object.assign(SettingsTable, {
|
|
|
7873
7892
|
Row
|
|
7874
7893
|
});
|
|
7875
7894
|
// src/core/components/NavbarSettingsWidget/index.tsx
|
|
7876
|
-
var
|
|
7895
|
+
var import_lodash14 = __toESM(require_lodash(), 1);
|
|
7877
7896
|
import { Chip as Chip3, Group as Group7 } from "@mantine/core";
|
|
7878
7897
|
import { IconLink as IconLink2 } from "@tabler/icons-react";
|
|
7879
7898
|
import { jsxDEV as jsxDEV33 } from "react/jsx-dev-runtime";
|
|
@@ -7899,7 +7918,7 @@ function NavbarSettingsWidget({
|
|
|
7899
7918
|
navbar: initialUserExperience.navbar
|
|
7900
7919
|
}));
|
|
7901
7920
|
},
|
|
7902
|
-
custom: !
|
|
7921
|
+
custom: !import_lodash14.isEqual(userExperience.navbar, initialUserExperience.navbar),
|
|
7903
7922
|
children: /* @__PURE__ */ jsxDEV33(SettingsTable_default, {
|
|
7904
7923
|
...componentsProps?.table,
|
|
7905
7924
|
children: [
|
package/dist/jsonforms/index.cjs
CHANGED
|
@@ -6853,11 +6853,13 @@ function WidgetWrapper({
|
|
|
6853
6853
|
}
|
|
6854
6854
|
// src/core/components/Widget/index.tsx
|
|
6855
6855
|
var import_core20 = require("@mantine/core");
|
|
6856
|
+
var import_lodash13 = __toESM(require_lodash());
|
|
6856
6857
|
var jsx_dev_runtime26 = require("react/jsx-dev-runtime");
|
|
6857
6858
|
var react2 = require("react");
|
|
6858
6859
|
function Widget({
|
|
6859
6860
|
id,
|
|
6860
6861
|
title,
|
|
6862
|
+
description,
|
|
6861
6863
|
config,
|
|
6862
6864
|
badges: badgesProp,
|
|
6863
6865
|
buttons: buttonsProp,
|
|
@@ -6896,21 +6898,36 @@ function Widget({
|
|
|
6896
6898
|
justify: "space-between",
|
|
6897
6899
|
wrap: "nowrap",
|
|
6898
6900
|
children: [
|
|
6899
|
-
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.
|
|
6900
|
-
gap:
|
|
6901
|
-
wrap: "nowrap",
|
|
6901
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.Stack, {
|
|
6902
|
+
gap: 4,
|
|
6902
6903
|
children: [
|
|
6903
|
-
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.
|
|
6904
|
-
order: 1,
|
|
6905
|
-
size: "h2",
|
|
6906
|
-
lineClamp: 1,
|
|
6907
|
-
...componentsProps?.title,
|
|
6908
|
-
children: title ?? id
|
|
6909
|
-
}, undefined, false, undefined, this),
|
|
6910
|
-
badges !== undefined && /* @__PURE__ */ jsx_dev_runtime26.jsxDEV(BadgeGroup, {
|
|
6911
|
-
badges,
|
|
6904
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.Group, {
|
|
6912
6905
|
gap: badgesGap,
|
|
6913
|
-
|
|
6906
|
+
wrap: "nowrap",
|
|
6907
|
+
children: [
|
|
6908
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.Title, {
|
|
6909
|
+
order: 1,
|
|
6910
|
+
size: "h2",
|
|
6911
|
+
lineClamp: 1,
|
|
6912
|
+
...componentsProps?.title,
|
|
6913
|
+
children: title ?? id
|
|
6914
|
+
}, undefined, false, undefined, this),
|
|
6915
|
+
badges !== undefined && /* @__PURE__ */ jsx_dev_runtime26.jsxDEV(BadgeGroup, {
|
|
6916
|
+
badges,
|
|
6917
|
+
gap: badgesGap,
|
|
6918
|
+
...componentsProps?.badgeGroup
|
|
6919
|
+
}, undefined, false, undefined, this)
|
|
6920
|
+
]
|
|
6921
|
+
}, undefined, true, undefined, this),
|
|
6922
|
+
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.Transition, {
|
|
6923
|
+
mounted: Boolean(description),
|
|
6924
|
+
children: (transitionStyle) => /* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.Text, {
|
|
6925
|
+
size: "sm",
|
|
6926
|
+
c: "dimmed",
|
|
6927
|
+
...componentsProps?.description,
|
|
6928
|
+
style: import_lodash13.merge(transitionStyle, componentsProps?.description?.style),
|
|
6929
|
+
children: description
|
|
6930
|
+
}, undefined, false, undefined, this)
|
|
6914
6931
|
}, undefined, false, undefined, this)
|
|
6915
6932
|
]
|
|
6916
6933
|
}, undefined, true, undefined, this),
|
|
@@ -6949,7 +6966,7 @@ function Widget({
|
|
|
6949
6966
|
});
|
|
6950
6967
|
})
|
|
6951
6968
|
}, undefined, false, undefined, this),
|
|
6952
|
-
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.ScrollArea.Autosize, {
|
|
6969
|
+
(loading || Boolean(children)) && /* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.ScrollArea.Autosize, {
|
|
6953
6970
|
flex: 1,
|
|
6954
6971
|
...componentsProps?.childrenContainer,
|
|
6955
6972
|
children: loading ? /* @__PURE__ */ jsx_dev_runtime26.jsxDEV(import_core20.Center, {
|
|
@@ -7120,7 +7137,7 @@ var SettingsTable_default = Object.assign(SettingsTable, {
|
|
|
7120
7137
|
Row
|
|
7121
7138
|
});
|
|
7122
7139
|
// src/core/components/NavbarSettingsWidget/index.tsx
|
|
7123
|
-
var
|
|
7140
|
+
var import_lodash14 = __toESM(require_lodash());
|
|
7124
7141
|
var import_core24 = require("@mantine/core");
|
|
7125
7142
|
var import_icons_react12 = require("@tabler/icons-react");
|
|
7126
7143
|
var jsx_dev_runtime33 = require("react/jsx-dev-runtime");
|
|
@@ -7405,7 +7422,7 @@ var import_react26 = require("@jsonforms/react");
|
|
|
7405
7422
|
var import_core31 = require("@mantine/core");
|
|
7406
7423
|
var import_icons_react13 = require("@tabler/icons-react");
|
|
7407
7424
|
var import_core32 = require("remoraid/core");
|
|
7408
|
-
var
|
|
7425
|
+
var import_lodash15 = __toESM(require_lodash());
|
|
7409
7426
|
var jsx_dev_runtime39 = require("react/jsx-dev-runtime");
|
|
7410
7427
|
function PlainArrayControl(props) {
|
|
7411
7428
|
const theme = import_core32.useRemoraidTheme();
|
|
@@ -7463,7 +7480,7 @@ function PlainArrayControl(props) {
|
|
|
7463
7480
|
renderers: renderers ?? [],
|
|
7464
7481
|
cells: cells ?? [],
|
|
7465
7482
|
onChange: ({ data: newData }) => {
|
|
7466
|
-
if (
|
|
7483
|
+
if (import_lodash15.isEqual(data[i], newData.item)) {
|
|
7467
7484
|
return;
|
|
7468
7485
|
}
|
|
7469
7486
|
const dataCopy = [...data];
|
package/dist/jsonforms/index.js
CHANGED
|
@@ -6920,13 +6920,17 @@ import {
|
|
|
6920
6920
|
Title,
|
|
6921
6921
|
Stack as Stack5,
|
|
6922
6922
|
Box as Box5,
|
|
6923
|
-
ScrollArea as ScrollArea3
|
|
6923
|
+
ScrollArea as ScrollArea3,
|
|
6924
|
+
Transition as Transition8,
|
|
6925
|
+
Text as Text2
|
|
6924
6926
|
} from "@mantine/core";
|
|
6927
|
+
var import_lodash13 = __toESM(require_lodash(), 1);
|
|
6925
6928
|
import { jsxDEV as jsxDEV26 } from "react/jsx-dev-runtime";
|
|
6926
6929
|
import { createElement as createElement2 } from "react";
|
|
6927
6930
|
function Widget({
|
|
6928
6931
|
id,
|
|
6929
6932
|
title,
|
|
6933
|
+
description,
|
|
6930
6934
|
config,
|
|
6931
6935
|
badges: badgesProp,
|
|
6932
6936
|
buttons: buttonsProp,
|
|
@@ -6965,21 +6969,36 @@ function Widget({
|
|
|
6965
6969
|
justify: "space-between",
|
|
6966
6970
|
wrap: "nowrap",
|
|
6967
6971
|
children: [
|
|
6968
|
-
/* @__PURE__ */ jsxDEV26(
|
|
6969
|
-
gap:
|
|
6970
|
-
wrap: "nowrap",
|
|
6972
|
+
/* @__PURE__ */ jsxDEV26(Stack5, {
|
|
6973
|
+
gap: 4,
|
|
6971
6974
|
children: [
|
|
6972
|
-
/* @__PURE__ */ jsxDEV26(
|
|
6973
|
-
order: 1,
|
|
6974
|
-
size: "h2",
|
|
6975
|
-
lineClamp: 1,
|
|
6976
|
-
...componentsProps?.title,
|
|
6977
|
-
children: title ?? id
|
|
6978
|
-
}, undefined, false, undefined, this),
|
|
6979
|
-
badges !== undefined && /* @__PURE__ */ jsxDEV26(BadgeGroup, {
|
|
6980
|
-
badges,
|
|
6975
|
+
/* @__PURE__ */ jsxDEV26(Group5, {
|
|
6981
6976
|
gap: badgesGap,
|
|
6982
|
-
|
|
6977
|
+
wrap: "nowrap",
|
|
6978
|
+
children: [
|
|
6979
|
+
/* @__PURE__ */ jsxDEV26(Title, {
|
|
6980
|
+
order: 1,
|
|
6981
|
+
size: "h2",
|
|
6982
|
+
lineClamp: 1,
|
|
6983
|
+
...componentsProps?.title,
|
|
6984
|
+
children: title ?? id
|
|
6985
|
+
}, undefined, false, undefined, this),
|
|
6986
|
+
badges !== undefined && /* @__PURE__ */ jsxDEV26(BadgeGroup, {
|
|
6987
|
+
badges,
|
|
6988
|
+
gap: badgesGap,
|
|
6989
|
+
...componentsProps?.badgeGroup
|
|
6990
|
+
}, undefined, false, undefined, this)
|
|
6991
|
+
]
|
|
6992
|
+
}, undefined, true, undefined, this),
|
|
6993
|
+
/* @__PURE__ */ jsxDEV26(Transition8, {
|
|
6994
|
+
mounted: Boolean(description),
|
|
6995
|
+
children: (transitionStyle) => /* @__PURE__ */ jsxDEV26(Text2, {
|
|
6996
|
+
size: "sm",
|
|
6997
|
+
c: "dimmed",
|
|
6998
|
+
...componentsProps?.description,
|
|
6999
|
+
style: import_lodash13.merge(transitionStyle, componentsProps?.description?.style),
|
|
7000
|
+
children: description
|
|
7001
|
+
}, undefined, false, undefined, this)
|
|
6983
7002
|
}, undefined, false, undefined, this)
|
|
6984
7003
|
]
|
|
6985
7004
|
}, undefined, true, undefined, this),
|
|
@@ -7018,7 +7037,7 @@ function Widget({
|
|
|
7018
7037
|
});
|
|
7019
7038
|
})
|
|
7020
7039
|
}, undefined, false, undefined, this),
|
|
7021
|
-
/* @__PURE__ */ jsxDEV26(ScrollArea3.Autosize, {
|
|
7040
|
+
(loading || Boolean(children)) && /* @__PURE__ */ jsxDEV26(ScrollArea3.Autosize, {
|
|
7022
7041
|
flex: 1,
|
|
7023
7042
|
...componentsProps?.childrenContainer,
|
|
7024
7043
|
children: loading ? /* @__PURE__ */ jsxDEV26(Center, {
|
|
@@ -7131,7 +7150,7 @@ import { createContext as createContext7, useContext as useContext10 } from "rea
|
|
|
7131
7150
|
import { Table as Table2 } from "@mantine/core";
|
|
7132
7151
|
|
|
7133
7152
|
// src/core/components/SettingsWidget/SettingsTable/Row/index.tsx
|
|
7134
|
-
import { Table, Text as
|
|
7153
|
+
import { Table, Text as Text3 } from "@mantine/core";
|
|
7135
7154
|
import { jsxDEV as jsxDEV31 } from "react/jsx-dev-runtime";
|
|
7136
7155
|
function Row({
|
|
7137
7156
|
children,
|
|
@@ -7142,7 +7161,7 @@ function Row({
|
|
|
7142
7161
|
children: [
|
|
7143
7162
|
/* @__PURE__ */ jsxDEV31(Table.Th, {
|
|
7144
7163
|
w: options.leftColumnWidth,
|
|
7145
|
-
children: /* @__PURE__ */ jsxDEV31(
|
|
7164
|
+
children: /* @__PURE__ */ jsxDEV31(Text3, {
|
|
7146
7165
|
size: "sm",
|
|
7147
7166
|
children: label
|
|
7148
7167
|
}, undefined, false, undefined, this)
|
|
@@ -7189,7 +7208,7 @@ var SettingsTable_default = Object.assign(SettingsTable, {
|
|
|
7189
7208
|
Row
|
|
7190
7209
|
});
|
|
7191
7210
|
// src/core/components/NavbarSettingsWidget/index.tsx
|
|
7192
|
-
var
|
|
7211
|
+
var import_lodash14 = __toESM(require_lodash(), 1);
|
|
7193
7212
|
import { Chip as Chip3, Group as Group7 } from "@mantine/core";
|
|
7194
7213
|
import { IconLink as IconLink2 } from "@tabler/icons-react";
|
|
7195
7214
|
import { jsxDEV as jsxDEV33 } from "react/jsx-dev-runtime";
|
|
@@ -7491,7 +7510,7 @@ import {
|
|
|
7491
7510
|
} from "@jsonforms/react";
|
|
7492
7511
|
import { Box as Box7, Button as Button2, Flex as Flex4, Input as Input3, Paper as Paper6, Stack as Stack6 } from "@mantine/core";
|
|
7493
7512
|
import { IconPlus, IconTrash } from "@tabler/icons-react";
|
|
7494
|
-
var
|
|
7513
|
+
var import_lodash15 = __toESM(require_lodash(), 1);
|
|
7495
7514
|
import {
|
|
7496
7515
|
AlertCategory as AlertCategory3,
|
|
7497
7516
|
AlertMinimal as AlertMinimal2,
|
|
@@ -7555,7 +7574,7 @@ function PlainArrayControl(props) {
|
|
|
7555
7574
|
renderers: renderers ?? [],
|
|
7556
7575
|
cells: cells ?? [],
|
|
7557
7576
|
onChange: ({ data: newData }) => {
|
|
7558
|
-
if (
|
|
7577
|
+
if (import_lodash15.isEqual(data[i], newData.item)) {
|
|
7559
7578
|
return;
|
|
7560
7579
|
}
|
|
7561
7580
|
const dataCopy = [...data];
|