@apexcura/core 0.0.17-Beta22 → 0.0.17-Beta24
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 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +0 -16
- package/dist/index.mjs +1 -19
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -27,6 +27,9 @@ type FormExecutorProps = {
|
|
|
27
27
|
placement?: string;
|
|
28
28
|
profileImageClassName?: string;
|
|
29
29
|
value?: string | number | boolean | any[] | null | object;
|
|
30
|
+
message?: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
notificationType?: "success" | "info" | "warning" | "error";
|
|
30
33
|
picker?: "date" | "week" | "month" | "quarter" | "year";
|
|
31
34
|
weekrange?: boolean;
|
|
32
35
|
img?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,9 @@ type FormExecutorProps = {
|
|
|
27
27
|
placement?: string;
|
|
28
28
|
profileImageClassName?: string;
|
|
29
29
|
value?: string | number | boolean | any[] | null | object;
|
|
30
|
+
message?: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
notificationType?: "success" | "info" | "warning" | "error";
|
|
30
33
|
picker?: "date" | "week" | "month" | "quarter" | "year";
|
|
31
34
|
weekrange?: boolean;
|
|
32
35
|
img?: string;
|
package/dist/index.js
CHANGED
|
@@ -215,14 +215,6 @@ var ElementExecutor = (props) => {
|
|
|
215
215
|
);
|
|
216
216
|
case "add-more":
|
|
217
217
|
return /* @__PURE__ */ import_react.default.createElement(import_ui_components.AddMoreTable, { ...elementProps });
|
|
218
|
-
case "div":
|
|
219
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
220
|
-
import_ui_components.DivContainer,
|
|
221
|
-
{
|
|
222
|
-
...elementProps,
|
|
223
|
-
onClick: () => props.selectedRecord && props.selectedRecord(elementProps)
|
|
224
|
-
}
|
|
225
|
-
);
|
|
226
218
|
case "button":
|
|
227
219
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
228
220
|
import_ui_components.ButtonElement,
|
|
@@ -371,14 +363,6 @@ var ElementExecutor = (props) => {
|
|
|
371
363
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
372
364
|
}
|
|
373
365
|
);
|
|
374
|
-
case "color-picker":
|
|
375
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
376
|
-
import_ui_components.ColorPickerElement,
|
|
377
|
-
{
|
|
378
|
-
...elementProps,
|
|
379
|
-
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
380
|
-
}
|
|
381
|
-
);
|
|
382
366
|
default:
|
|
383
367
|
return null;
|
|
384
368
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -30,9 +30,7 @@ import {
|
|
|
30
30
|
HorizontalBarChart,
|
|
31
31
|
DoubleBarChart,
|
|
32
32
|
LineChart,
|
|
33
|
-
BarChart
|
|
34
|
-
DivContainer,
|
|
35
|
-
ColorPickerElement
|
|
33
|
+
BarChart
|
|
36
34
|
} from "@apexcura/ui-components";
|
|
37
35
|
import moment from "moment";
|
|
38
36
|
|
|
@@ -212,14 +210,6 @@ var ElementExecutor = (props) => {
|
|
|
212
210
|
);
|
|
213
211
|
case "add-more":
|
|
214
212
|
return /* @__PURE__ */ React.createElement(AddMoreTable, { ...elementProps });
|
|
215
|
-
case "div":
|
|
216
|
-
return /* @__PURE__ */ React.createElement(
|
|
217
|
-
DivContainer,
|
|
218
|
-
{
|
|
219
|
-
...elementProps,
|
|
220
|
-
onClick: () => props.selectedRecord && props.selectedRecord(elementProps)
|
|
221
|
-
}
|
|
222
|
-
);
|
|
223
213
|
case "button":
|
|
224
214
|
return /* @__PURE__ */ React.createElement(
|
|
225
215
|
ButtonElement,
|
|
@@ -368,14 +358,6 @@ var ElementExecutor = (props) => {
|
|
|
368
358
|
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
369
359
|
}
|
|
370
360
|
);
|
|
371
|
-
case "color-picker":
|
|
372
|
-
return /* @__PURE__ */ React.createElement(
|
|
373
|
-
ColorPickerElement,
|
|
374
|
-
{
|
|
375
|
-
...elementProps,
|
|
376
|
-
onChange: (value) => onHandleChange(elementProps.name || "", value)
|
|
377
|
-
}
|
|
378
|
-
);
|
|
379
361
|
default:
|
|
380
362
|
return null;
|
|
381
363
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apexcura/core",
|
|
3
|
-
"version": "0.0.17-
|
|
3
|
+
"version": "0.0.17-Beta24",
|
|
4
4
|
"description": "Apex cura React components library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"apex cura",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"build": "tsup"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@apexcura/ui-components": "^0.0.15-
|
|
31
|
+
"@apexcura/ui-components": "^0.0.15-Beta25",
|
|
32
32
|
"@testing-library/jest-dom": "^6.4.2",
|
|
33
33
|
"@testing-library/react": "^15.0.6",
|
|
34
34
|
"@types/react-global-configuration": "^1.3.3",
|