@apexcura/core 0.0.14-Beta9 → 0.0.14
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 +1 -25
- package/dist/index.d.ts +1 -25
- package/dist/index.js +2 -13
- package/dist/index.mjs +1 -11
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -38,28 +38,4 @@ type ElementExecutorProps = {
|
|
|
38
38
|
};
|
|
39
39
|
declare const ElementExecutor: (props: ElementExecutorProps & styling) => React.JSX.Element;
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
data: {
|
|
43
|
-
label: string;
|
|
44
|
-
element: string;
|
|
45
|
-
type: string;
|
|
46
|
-
thead?: {
|
|
47
|
-
id: number;
|
|
48
|
-
name: string;
|
|
49
|
-
label: string;
|
|
50
|
-
}[];
|
|
51
|
-
tbody?: {
|
|
52
|
-
label: string;
|
|
53
|
-
element: string;
|
|
54
|
-
type: string;
|
|
55
|
-
variableData?: {
|
|
56
|
-
label: string;
|
|
57
|
-
element: string;
|
|
58
|
-
type: string;
|
|
59
|
-
}[];
|
|
60
|
-
}[];
|
|
61
|
-
}[];
|
|
62
|
-
};
|
|
63
|
-
declare const TableExecutor: (props: TableExecutorProps) => React.JSX.Element;
|
|
64
|
-
|
|
65
|
-
export { ElementExecutor, TableExecutor };
|
|
41
|
+
export { ElementExecutor };
|
package/dist/index.d.ts
CHANGED
|
@@ -38,28 +38,4 @@ type ElementExecutorProps = {
|
|
|
38
38
|
};
|
|
39
39
|
declare const ElementExecutor: (props: ElementExecutorProps & styling) => React.JSX.Element;
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
data: {
|
|
43
|
-
label: string;
|
|
44
|
-
element: string;
|
|
45
|
-
type: string;
|
|
46
|
-
thead?: {
|
|
47
|
-
id: number;
|
|
48
|
-
name: string;
|
|
49
|
-
label: string;
|
|
50
|
-
}[];
|
|
51
|
-
tbody?: {
|
|
52
|
-
label: string;
|
|
53
|
-
element: string;
|
|
54
|
-
type: string;
|
|
55
|
-
variableData?: {
|
|
56
|
-
label: string;
|
|
57
|
-
element: string;
|
|
58
|
-
type: string;
|
|
59
|
-
}[];
|
|
60
|
-
}[];
|
|
61
|
-
}[];
|
|
62
|
-
};
|
|
63
|
-
declare const TableExecutor: (props: TableExecutorProps) => React.JSX.Element;
|
|
64
|
-
|
|
65
|
-
export { ElementExecutor, TableExecutor };
|
|
41
|
+
export { ElementExecutor };
|
package/dist/index.js
CHANGED
|
@@ -30,8 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
30
30
|
// src/index.ts
|
|
31
31
|
var src_exports = {};
|
|
32
32
|
__export(src_exports, {
|
|
33
|
-
ElementExecutor: () => ElementExecutor
|
|
34
|
-
TableExecutor: () => TableExecutor
|
|
33
|
+
ElementExecutor: () => ElementExecutor
|
|
35
34
|
});
|
|
36
35
|
module.exports = __toCommonJS(src_exports);
|
|
37
36
|
|
|
@@ -168,17 +167,7 @@ var ElementExecutor = (props) => {
|
|
|
168
167
|
return null;
|
|
169
168
|
}), /* @__PURE__ */ import_react.default.createElement("div", { onClick: onHandleSubmit }, /* @__PURE__ */ import_react.default.createElement(import_ui_components.ButtonElement, null)));
|
|
170
169
|
};
|
|
171
|
-
|
|
172
|
-
// src/libraries/table-executor.tsx
|
|
173
|
-
var import_react2 = __toESM(require("react"));
|
|
174
|
-
var import_ui_components2 = require("@apexcura/ui-components");
|
|
175
|
-
var TableExecutor = (props) => {
|
|
176
|
-
return /* @__PURE__ */ import_react2.default.createElement(import_react2.default.Fragment, null, props.data?.map((eachEl) => {
|
|
177
|
-
return /* @__PURE__ */ import_react2.default.createElement("div", null, /* @__PURE__ */ import_react2.default.createElement("h1", null, eachEl.label), /* @__PURE__ */ import_react2.default.createElement(import_ui_components2.AddMoreTable, { ...eachEl }));
|
|
178
|
-
}));
|
|
179
|
-
};
|
|
180
170
|
// Annotate the CommonJS export names for ESM import in node:
|
|
181
171
|
0 && (module.exports = {
|
|
182
|
-
ElementExecutor
|
|
183
|
-
TableExecutor
|
|
172
|
+
ElementExecutor
|
|
184
173
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -131,16 +131,6 @@ var ElementExecutor = (props) => {
|
|
|
131
131
|
return null;
|
|
132
132
|
}), /* @__PURE__ */ React.createElement("div", { onClick: onHandleSubmit }, /* @__PURE__ */ React.createElement(ButtonElement, null)));
|
|
133
133
|
};
|
|
134
|
-
|
|
135
|
-
// src/libraries/table-executor.tsx
|
|
136
|
-
import React2 from "react";
|
|
137
|
-
import { AddMoreTable } from "@apexcura/ui-components";
|
|
138
|
-
var TableExecutor = (props) => {
|
|
139
|
-
return /* @__PURE__ */ React2.createElement(React2.Fragment, null, props.data?.map((eachEl) => {
|
|
140
|
-
return /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement("h1", null, eachEl.label), /* @__PURE__ */ React2.createElement(AddMoreTable, { ...eachEl }));
|
|
141
|
-
}));
|
|
142
|
-
};
|
|
143
134
|
export {
|
|
144
|
-
ElementExecutor
|
|
145
|
-
TableExecutor
|
|
135
|
+
ElementExecutor
|
|
146
136
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apexcura/core",
|
|
3
|
-
"version": "0.0.14
|
|
3
|
+
"version": "0.0.14",
|
|
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.
|
|
31
|
+
"@apexcura/ui-components": "^0.0.9-Beta7",
|
|
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",
|