@m4l/components 9.83.1-beta-bugfix-810-m4l-react-native-ui-date-time-range-picker.0 → 9.84.0-beta-feat-temporal-scatter-widgets-reports.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +1 -1
- package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +1 -1
- package/components/MFLoader/helpers/projectMFHostRuntimeTools/projectMFHostRuntimeTools.d.ts.map +1 -1
- package/components/MFLoader/helpers/projectMFHostRuntimeTools/projectMFHostRuntimeTools.js +4 -9
- package/components/MFLoader/index.d.ts +1 -0
- package/components/MFLoader/index.d.ts.map +1 -1
- package/components/MFLoader/reportTypes.d.ts +19 -0
- package/components/MFLoader/reportTypes.d.ts.map +1 -0
- package/components/MFLoader/types.d.ts +3 -0
- package/components/MFLoader/types.d.ts.map +1 -1
- package/components/WindowBase/icons.d.ts +6 -0
- package/components/WindowBase/icons.d.ts.map +1 -1
- package/components/WindowBase/icons.js +20 -13
- package/components/extended/mui/MenuItem/MenuItem.d.ts.map +1 -1
- package/components/extended/mui/MenuItem/MenuItem.js +15 -13
- package/package.json +11 -11
|
@@ -17,7 +17,7 @@ declare function usePopoverFilter(): {
|
|
|
17
17
|
filterFormValue: FormFilterValue;
|
|
18
18
|
formFilter: FormFilterFieldApplied;
|
|
19
19
|
popupValidationSchema: import('../../..').ValidationSchema<import('../../types').FormFilterValueBoolean> | undefined;
|
|
20
|
-
statusLoad: "initial" | "
|
|
20
|
+
statusLoad: "initial" | "ready" | "reload_values_provider";
|
|
21
21
|
};
|
|
22
22
|
export default usePopoverFilter;
|
|
23
23
|
//# sourceMappingURL=usePopoverFilter.d.ts.map
|
|
@@ -17,7 +17,7 @@ declare function usePopoverSort(): {
|
|
|
17
17
|
sortFormValue: import('../../types').FormSortValueBase;
|
|
18
18
|
formSort: FormSortFieldApplied;
|
|
19
19
|
popupValidationSchema: import('../../..').ValidationSchema<import('../../types').FormSortValueBase> | undefined;
|
|
20
|
-
statusLoad: "initial" | "
|
|
20
|
+
statusLoad: "initial" | "ready" | "reload_values_provider";
|
|
21
21
|
};
|
|
22
22
|
export default usePopoverSort;
|
|
23
23
|
//# sourceMappingURL=usePopoverSort.d.ts.map
|
package/components/MFLoader/helpers/projectMFHostRuntimeTools/projectMFHostRuntimeTools.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectMFHostRuntimeTools.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/MFLoader/helpers/projectMFHostRuntimeTools/projectMFHostRuntimeTools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAErE;;;GAGG;AACH,wBAAgB,yBAAyB,CACvC,WAAW,CAAC,EAAE,aAAa,GAC1B,kBAAkB,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"projectMFHostRuntimeTools.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/MFLoader/helpers/projectMFHostRuntimeTools/projectMFHostRuntimeTools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAErE;;;GAGG;AACH,wBAAgB,yBAAyB,CACvC,WAAW,CAAC,EAAE,aAAa,GAC1B,kBAAkB,GAAG,SAAS,CAiBhC"}
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
function r
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
return {
|
|
5
|
-
realtime: {
|
|
6
|
-
producerTools: o
|
|
7
|
-
}
|
|
8
|
-
};
|
|
1
|
+
function t(r) {
|
|
2
|
+
const e = r?.realtime?.producerTools, o = {};
|
|
3
|
+
return typeof e?.subscribe == "function" && typeof e?.unsubscribe == "function" && (o.realtime = { producerTools: e }), typeof r?.reports?.observe == "function" && (o.reports = r.reports), o.realtime || o.reports ? o : void 0;
|
|
9
4
|
}
|
|
10
5
|
export {
|
|
11
|
-
|
|
6
|
+
t as projectMFHostRuntimeTools
|
|
12
7
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { MFLoader } from './MFLoader';
|
|
2
2
|
export { getMFLoaderComponentsDictionary } from './dictionary';
|
|
3
3
|
export { projectMFHostRuntimeTools } from './helpers/projectMFHostRuntimeTools';
|
|
4
|
+
export type { MFReportRecord, MFReportObservation, MFReportWatchOptions, MFReportTools } from './reportTypes';
|
|
4
5
|
export type { MFBaseProps, MFHostRuntime, MFHostRuntimeTools, MFLegacyRenderOptions, MFRealtimeProducerToolsContract, MFLoaderProps, MFRenderContract, MFRenderEnvironment, MFRenderV1Function, MFRenderV2Function, } from './types';
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFLoader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,+BAA+B,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAChF,YAAY,EACV,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,qBAAqB,EACrB,+BAA+B,EAC/B,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFLoader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,+BAA+B,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAChF,YAAY,EAAE,cAAc,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9G,YAAY,EACV,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,qBAAqB,EACrB,+BAA+B,EAC/B,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** Minimal report status data passed through the host capability boundary. */
|
|
2
|
+
export interface MFReportRecord {
|
|
3
|
+
uuid: string;
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}
|
|
6
|
+
export interface MFReportObservation {
|
|
7
|
+
state: 'loading' | 'pending' | 'ready' | 'failed' | 'unavailable' | 'timeout';
|
|
8
|
+
percentage: number | null;
|
|
9
|
+
report?: MFReportRecord;
|
|
10
|
+
}
|
|
11
|
+
export interface MFReportWatchOptions {
|
|
12
|
+
uuid: string;
|
|
13
|
+
format: 'raw' | 'xls' | 'csv' | 'pdf' | 'json' | 'kml';
|
|
14
|
+
}
|
|
15
|
+
/** Host-owned monitoring; the MF receives observations, never its own polling timer. */
|
|
16
|
+
export interface MFReportTools {
|
|
17
|
+
observe: (options: MFReportWatchOptions, listener: (value: MFReportObservation) => void) => () => void;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=reportTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportTypes.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFLoader/reportTypes.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,aAAa,GAAG,SAAS,CAAC;IAC9E,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;CACxD;AAED,wFAAwF;AACxF,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,CAAC,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,KAAK,MAAM,IAAI,CAAC;CACxG"}
|
|
@@ -8,6 +8,7 @@ import { WebTelemetryContext, MFObservabilityService } from '../../../../../out-
|
|
|
8
8
|
import { M4LOverridesStyleRules } from '../../@types/augmentations';
|
|
9
9
|
import { MF_LOADER_KEY_COMPONENT } from './constants';
|
|
10
10
|
import { MFLoaderSlots } from './slots/MFLoaderEnum';
|
|
11
|
+
import { MFReportTools } from './reportTypes';
|
|
11
12
|
declare global {
|
|
12
13
|
interface Window {
|
|
13
14
|
[key: string]: unknown;
|
|
@@ -90,6 +91,8 @@ export interface MFHostRealtimeCapabilities {
|
|
|
90
91
|
* Herramientas mínimas orientadas al MF proyectadas desde un runtime más rico propiedad del shell.
|
|
91
92
|
*/
|
|
92
93
|
export interface MFHostRuntimeTools {
|
|
94
|
+
/** Host-owned report monitoring. / Seguimiento de reportes propiedad del host. */
|
|
95
|
+
reports?: MFReportTools;
|
|
93
96
|
/**
|
|
94
97
|
* Known realtime capabilities shared by the host or mini-host.
|
|
95
98
|
* Capacidades realtime conocidas compartidas por el host o mini-host.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFLoader/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AACzF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EACd,eAAe,EACf,aAAa,EACb,eAAe,EAChB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,KAAK,EACV,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFLoader/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AACzF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EACd,eAAe,EACf,aAAa,EACb,eAAe,EAChB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,KAAK,EACV,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAA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AE9D;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG,CACrC,QAAQ,EAAE,MAAM,EAChB,eAAe,EAAE,MAAM,KACpB,mBAAmB,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,KAAK,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -8,6 +8,9 @@ export declare const WINDOW_BASE_ICON_IDS: {
|
|
|
8
8
|
readonly SPLIT_HORIZONTAL: "m4l:layout:split-horizontal";
|
|
9
9
|
readonly NO_SPLIT: "m4l:layout:no-split";
|
|
10
10
|
readonly FILE_FOLDER_VIEW: "m4l:file-folder:view";
|
|
11
|
+
readonly DOWNLOAD: "m4l:actions:download";
|
|
12
|
+
readonly FILE_XLSX: "m4l:file:xlsx";
|
|
13
|
+
readonly FILE_PDF: "m4l:file:pdf";
|
|
11
14
|
};
|
|
12
15
|
export declare const WINDOW_BASE_ICON_COMPONENTS: {
|
|
13
16
|
readonly [ICONS.CLOSE]: import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -17,5 +20,8 @@ export declare const WINDOW_BASE_ICON_COMPONENTS: {
|
|
|
17
20
|
readonly "m4l:layout:split-horizontal": import("@emotion/react/jsx-runtime").JSX.Element;
|
|
18
21
|
readonly "m4l:layout:no-split": import("@emotion/react/jsx-runtime").JSX.Element;
|
|
19
22
|
readonly "m4l:file-folder:view": import("@emotion/react/jsx-runtime").JSX.Element;
|
|
23
|
+
readonly "m4l:actions:download": import("@emotion/react/jsx-runtime").JSX.Element;
|
|
24
|
+
readonly "m4l:file:xlsx": import("@emotion/react/jsx-runtime").JSX.Element;
|
|
25
|
+
readonly "m4l:file:pdf": import("@emotion/react/jsx-runtime").JSX.Element;
|
|
20
26
|
};
|
|
21
27
|
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/WindowBase/icons.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/WindowBase/icons.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,KAAK;;;;CAIjB,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;CAQvB,CAAC;AAEX,eAAO,MAAM,2BAA2B;IACtC,SAAA,CAAC,KAAK,CAAC,KAAK,CAAC,mDAA+C;IAC5D,SAAA,CAAC,KAAK,CAAC,OAAO,CAAC,mDAAiD;IAChE,SAAA,CAAC,KAAK,CAAC,aAAa,CAAC,mDAA+C;;;;;;;;CAS5D,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { FilePdf as e, FileXlsx as r, ActionsDownloadOutlined as O, FileFolderViewOutlined as n, LayoutFullOutlined as I, LayoutSplitHorizontalOutlined as L, LayoutSplitVerticalOutlined as s, MenuMoreHorizontalOutlined as _, DevDevelopmentBranchOutlined as E, ActionsCloseSmBoldOutlined as c } from "@m4l/icons";
|
|
3
3
|
import { Icon as o } from "@m4l/base";
|
|
4
|
-
const
|
|
4
|
+
const i = {
|
|
5
5
|
CLOSE: "header_close.svg",
|
|
6
6
|
VERSION: "branch.svg",
|
|
7
7
|
MORE_VERTICAL: "header_menu_options.svg"
|
|
@@ -9,18 +9,25 @@ const e = {
|
|
|
9
9
|
SPLIT_VERTICAL: "m4l:layout:split-vertical",
|
|
10
10
|
SPLIT_HORIZONTAL: "m4l:layout:split-horizontal",
|
|
11
11
|
NO_SPLIT: "m4l:layout:no-split",
|
|
12
|
-
FILE_FOLDER_VIEW: "m4l:file-folder:view"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[t.
|
|
12
|
+
FILE_FOLDER_VIEW: "m4l:file-folder:view",
|
|
13
|
+
DOWNLOAD: "m4l:actions:download",
|
|
14
|
+
FILE_XLSX: "m4l:file:xlsx",
|
|
15
|
+
FILE_PDF: "m4l:file:pdf"
|
|
16
|
+
}, d = {
|
|
17
|
+
[i.CLOSE]: /* @__PURE__ */ l(o, { src: /* @__PURE__ */ l(c, {}) }),
|
|
18
|
+
[i.VERSION]: /* @__PURE__ */ l(o, { src: /* @__PURE__ */ l(E, {}) }),
|
|
19
|
+
[i.MORE_VERTICAL]: /* @__PURE__ */ l(o, { src: /* @__PURE__ */ l(_, {}) }),
|
|
20
|
+
[t.SPLIT_VERTICAL]: /* @__PURE__ */ l(o, { src: /* @__PURE__ */ l(s, {}) }),
|
|
21
|
+
[t.SPLIT_HORIZONTAL]: /* @__PURE__ */ l(o, { src: /* @__PURE__ */ l(L, {}) }),
|
|
22
|
+
[t.NO_SPLIT]: /* @__PURE__ */ l(o, { src: /* @__PURE__ */ l(I, {}) }),
|
|
23
|
+
[t.FILE_FOLDER_VIEW]: /* @__PURE__ */ l(o, { src: /* @__PURE__ */ l(n, {}) }),
|
|
24
|
+
[t.DOWNLOAD]: /* @__PURE__ */ l(o, { src: /* @__PURE__ */ l(O, {}) }),
|
|
25
|
+
// Original-color Icons keep the file artwork while inheriting MenuItem's icon sizing.
|
|
26
|
+
[t.FILE_XLSX]: /* @__PURE__ */ l(o, { src: /* @__PURE__ */ l(r, {}), originalColor: !0 }),
|
|
27
|
+
[t.FILE_PDF]: /* @__PURE__ */ l(o, { src: /* @__PURE__ */ l(e, {}), originalColor: !0 })
|
|
21
28
|
};
|
|
22
29
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
30
|
+
i as ICONS,
|
|
31
|
+
d as WINDOW_BASE_ICON_COMPONENTS,
|
|
25
32
|
t as WINDOW_BASE_ICON_IDS
|
|
26
33
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/MenuItem/MenuItem.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAsB,aAAa,EAAE,MAAM,SAAS,CAAC;AAgB5D;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,OAAO,aAAa,
|
|
1
|
+
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/MenuItem/MenuItem.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAsB,aAAa,EAAE,MAAM,SAAS,CAAC;AAgB5D;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,OAAO,aAAa,qDA0K5C,CAAC"}
|
|
@@ -13,11 +13,11 @@ function X(o) {
|
|
|
13
13
|
}
|
|
14
14
|
const le = (o) => {
|
|
15
15
|
const {
|
|
16
|
-
startIcon:
|
|
17
|
-
endIcon:
|
|
16
|
+
startIcon: x,
|
|
17
|
+
endIcon: g,
|
|
18
18
|
startAdornment: S,
|
|
19
19
|
endAdornment: f,
|
|
20
|
-
label:
|
|
20
|
+
label: v,
|
|
21
21
|
description: l,
|
|
22
22
|
value: w,
|
|
23
23
|
skeletonWidth: C = "100%",
|
|
@@ -26,19 +26,19 @@ const le = (o) => {
|
|
|
26
26
|
disabled: d = !1,
|
|
27
27
|
size: D = "medium",
|
|
28
28
|
checked: y = !1,
|
|
29
|
-
checkable:
|
|
29
|
+
checkable: u = !1,
|
|
30
30
|
className: N,
|
|
31
31
|
dataTestId: T,
|
|
32
32
|
...W
|
|
33
|
-
} = o, L = S !== void 0 ? S :
|
|
33
|
+
} = o, L = S !== void 0 ? S : x, R = f !== void 0 ? f : g, { currentSize: p } = U(D), j = P(), n = p === "small" || p === "medium" ? p : "medium", e = z(() => ({
|
|
34
34
|
size: n,
|
|
35
35
|
disabled: d,
|
|
36
36
|
selected: m,
|
|
37
37
|
color: M,
|
|
38
|
-
checkable:
|
|
38
|
+
checkable: u,
|
|
39
39
|
checked: y,
|
|
40
40
|
hasDescription: l != null
|
|
41
|
-
}), [n, d, m, M,
|
|
41
|
+
}), [n, d, m, M, u, y, l]), h = z(() => (s, A, a) => {
|
|
42
42
|
if (!s || typeof s == "boolean" || typeof s == "number")
|
|
43
43
|
return null;
|
|
44
44
|
if (typeof s == "string")
|
|
@@ -65,12 +65,12 @@ const le = (o) => {
|
|
|
65
65
|
return /* @__PURE__ */ r(_, { ownerState: { ...e }, children: i });
|
|
66
66
|
}
|
|
67
67
|
if (Q(i)) {
|
|
68
|
-
const
|
|
69
|
-
if (
|
|
68
|
+
const c = i.props;
|
|
69
|
+
if (c.color === void 0)
|
|
70
70
|
return /* @__PURE__ */ r(
|
|
71
71
|
E,
|
|
72
72
|
{
|
|
73
|
-
...
|
|
73
|
+
...c,
|
|
74
74
|
ownerState: { ...e },
|
|
75
75
|
selected: m,
|
|
76
76
|
enabledSelected: !0,
|
|
@@ -78,7 +78,9 @@ const le = (o) => {
|
|
|
78
78
|
size: n,
|
|
79
79
|
disabled: d,
|
|
80
80
|
instaceDataTestId: A,
|
|
81
|
-
className: I(
|
|
81
|
+
className: I(c.className, a, t.menuItemIcon, {
|
|
82
|
+
[t.iconExternal]: c.originalColor
|
|
83
|
+
})
|
|
82
84
|
}
|
|
83
85
|
);
|
|
84
86
|
}
|
|
@@ -110,7 +112,7 @@ const le = (o) => {
|
|
|
110
112
|
className: I(N, t.root),
|
|
111
113
|
"data-testid": T || "MenuItemRoot",
|
|
112
114
|
children: [
|
|
113
|
-
|
|
115
|
+
u && /* @__PURE__ */ r(
|
|
114
116
|
B,
|
|
115
117
|
{
|
|
116
118
|
src: O,
|
|
@@ -128,7 +130,7 @@ const le = (o) => {
|
|
|
128
130
|
variant: e.hasDescription ? "bodyDens" : "bodyStandard",
|
|
129
131
|
size: n,
|
|
130
132
|
"data-testid": "MenuItemLabel",
|
|
131
|
-
children:
|
|
133
|
+
children: v
|
|
132
134
|
}
|
|
133
135
|
),
|
|
134
136
|
e.hasDescription ? /* @__PURE__ */ r(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.84.0-beta-feat-temporal-scatter-widgets-reports.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -53,26 +53,26 @@
|
|
|
53
53
|
"@hookform/resolvers": "2.9.11",
|
|
54
54
|
"nprogress": "0.2.0",
|
|
55
55
|
"react-transition-group": "4.4.5",
|
|
56
|
-
"
|
|
56
|
+
"react-rnd": "10.5.2",
|
|
57
57
|
"react-color": "2.19.3",
|
|
58
58
|
"@tanstack/react-virtual": "3.13.23",
|
|
59
|
-
"react-rnd": "10.5.2",
|
|
60
59
|
"react-dropzone": "14.4.1",
|
|
61
|
-
"
|
|
60
|
+
"@mui/x-date-pickers": "6.20.2",
|
|
62
61
|
"react-draggable": "4.5.0",
|
|
63
|
-
"
|
|
64
|
-
"date-fns-tz": "2.0.0",
|
|
65
|
-
"simplebar-react": "3.2.6",
|
|
62
|
+
"react-spinners": "0.13.8",
|
|
66
63
|
"chart.js": "4.5.1",
|
|
67
64
|
"chartjs-chart-error-bars": "4.4.5",
|
|
68
65
|
"qrcode.react": "3.2.0",
|
|
66
|
+
"suncalc": "2.1.1",
|
|
67
|
+
"date-fns-tz": "2.0.0",
|
|
68
|
+
"simplebar-react": "3.2.6",
|
|
69
|
+
"react-resizable-panels": "2.1.9",
|
|
70
|
+
"react-simple-code-editor": "0.14.1",
|
|
69
71
|
"react-data-grid": "7.0.0-beta.47",
|
|
70
72
|
"react-dnd": "16.0.1",
|
|
71
73
|
"react-dnd-html5-backend": "16.0.1",
|
|
72
|
-
"react-resizable-panels": "2.1.9",
|
|
73
|
-
"react-simple-code-editor": "0.14.1",
|
|
74
74
|
"date-fns": "2.30.0",
|
|
75
|
-
"react-
|
|
76
|
-
"react-
|
|
75
|
+
"react-window": "1.8.11",
|
|
76
|
+
"react-resizable": "3.1.3"
|
|
77
77
|
}
|
|
78
78
|
}
|