@apexcura/core 0.0.17-Beta132 → 0.0.17-Beta133
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/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -33,9 +33,9 @@ type SchemaField = {
|
|
|
33
33
|
value?: string | number | boolean | null | object | undefined | string[] | UploadFile[] | pagenationType;
|
|
34
34
|
message?: string;
|
|
35
35
|
description?: string;
|
|
36
|
-
notificationType?:
|
|
36
|
+
notificationType?: "error" | "warning" | "success" | "info" | undefined;
|
|
37
37
|
showProgress?: boolean;
|
|
38
|
-
picker?:
|
|
38
|
+
picker?: "date" | "week" | "month" | "quarter" | "year";
|
|
39
39
|
weekrange?: boolean;
|
|
40
40
|
img?: string;
|
|
41
41
|
primaryText?: string;
|
|
@@ -102,7 +102,7 @@ type SchemaField = {
|
|
|
102
102
|
suffix?: React.ReactNode;
|
|
103
103
|
addonBefore?: React.ReactNode;
|
|
104
104
|
defaultValue?: string;
|
|
105
|
-
status?:
|
|
105
|
+
status?: "error" | "warning";
|
|
106
106
|
style?: React.CSSProperties;
|
|
107
107
|
fieldClassName?: string;
|
|
108
108
|
elementClassName?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -33,9 +33,9 @@ type SchemaField = {
|
|
|
33
33
|
value?: string | number | boolean | null | object | undefined | string[] | UploadFile[] | pagenationType;
|
|
34
34
|
message?: string;
|
|
35
35
|
description?: string;
|
|
36
|
-
notificationType?:
|
|
36
|
+
notificationType?: "error" | "warning" | "success" | "info" | undefined;
|
|
37
37
|
showProgress?: boolean;
|
|
38
|
-
picker?:
|
|
38
|
+
picker?: "date" | "week" | "month" | "quarter" | "year";
|
|
39
39
|
weekrange?: boolean;
|
|
40
40
|
img?: string;
|
|
41
41
|
primaryText?: string;
|
|
@@ -102,7 +102,7 @@ type SchemaField = {
|
|
|
102
102
|
suffix?: React.ReactNode;
|
|
103
103
|
addonBefore?: React.ReactNode;
|
|
104
104
|
defaultValue?: string;
|
|
105
|
-
status?:
|
|
105
|
+
status?: "error" | "warning";
|
|
106
106
|
style?: React.CSSProperties;
|
|
107
107
|
fieldClassName?: string;
|
|
108
108
|
elementClassName?: string;
|
package/dist/index.js
CHANGED
|
@@ -418,7 +418,11 @@ var ElementExecutor = (props) => {
|
|
|
418
418
|
}
|
|
419
419
|
);
|
|
420
420
|
case "tooltip":
|
|
421
|
-
|
|
421
|
+
console.log(elementProps);
|
|
422
|
+
return /* @__PURE__ */ import_react.default.createElement(import_antd.Tooltip, { title: elementProps.tooltip_title }, renderElement({
|
|
423
|
+
...elementProps,
|
|
424
|
+
element: elementProps.child_element
|
|
425
|
+
}));
|
|
422
426
|
default:
|
|
423
427
|
return null;
|
|
424
428
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -418,7 +418,11 @@ var ElementExecutor = (props) => {
|
|
|
418
418
|
}
|
|
419
419
|
);
|
|
420
420
|
case "tooltip":
|
|
421
|
-
|
|
421
|
+
console.log(elementProps);
|
|
422
|
+
return /* @__PURE__ */ React.createElement(Tooltip, { title: elementProps.tooltip_title }, renderElement({
|
|
423
|
+
...elementProps,
|
|
424
|
+
element: elementProps.child_element
|
|
425
|
+
}));
|
|
422
426
|
default:
|
|
423
427
|
return null;
|
|
424
428
|
}
|