datastake-daf 0.6.643 → 0.6.645
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/components/index.js +10 -0
- package/dist/style/datastake/datastake.css +20 -0
- package/package.json +1 -1
- package/src/@daf/core/components/EditForm/components/groupInput.js +6 -0
- package/src/@daf/core/components/EditForm/storyConfig.js +1 -1
- package/src/@daf/core/components/EditForm/storyConfig2.js +631 -12702
- package/src/styles/datastake/datastake.css +20 -0
package/dist/components/index.js
CHANGED
|
@@ -30695,6 +30695,10 @@ function GroupInput({
|
|
|
30695
30695
|
getApiBaseUrl,
|
|
30696
30696
|
getAppHeader
|
|
30697
30697
|
} = useEditContext();
|
|
30698
|
+
console.log({
|
|
30699
|
+
groupInputs,
|
|
30700
|
+
inputMeta
|
|
30701
|
+
});
|
|
30698
30702
|
const getFormItemName = data => {
|
|
30699
30703
|
if (typeof data.repeatIndex === 'number' && data.repeatIndex >= 0) {
|
|
30700
30704
|
return [data.repeatIndex, data.inputName];
|
|
@@ -30710,6 +30714,12 @@ function GroupInput({
|
|
|
30710
30714
|
}
|
|
30711
30715
|
const input = (i?.input?.inputs || {})[i.data.name];
|
|
30712
30716
|
const _isHighlighted = isHighlighted && inputIsEmpty(input, formsValue);
|
|
30717
|
+
|
|
30718
|
+
// const defaultvalue = input?.type === 'select' && input?.meta?.defaultOption
|
|
30719
|
+
|
|
30720
|
+
console.log({
|
|
30721
|
+
formsValue
|
|
30722
|
+
});
|
|
30713
30723
|
return /*#__PURE__*/jsxRuntime.jsx(antd.Form.Item, {
|
|
30714
30724
|
noStyle: true,
|
|
30715
30725
|
style: {
|
|
@@ -1533,6 +1533,26 @@ ul.ant-menu.ant-menu-dark.ant-menu-root.ant-menu-vertical::-webkit-scrollbar-thu
|
|
|
1533
1533
|
color: var(--nested-sidenav-text-color, --custom-sidenav-text-color, white) !important;
|
|
1534
1534
|
}
|
|
1535
1535
|
|
|
1536
|
+
.components-layout:not(.nested)
|
|
1537
|
+
.sidenav-cont:not(.straatos) .menus-cont
|
|
1538
|
+
.sidemenu-cont .ant-menu.ant-menu-root.ant-menu-inline.ant-menu-dark
|
|
1539
|
+
.ant-menu-submenu.ant-menu-submenu-inline:not(.selected) .ant-menu-submenu-title span {
|
|
1540
|
+
color: var(--nested-sidenav-text-color, --custom-sidenav-text-color, white) !important;
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
.components-layout:not(.nested)
|
|
1544
|
+
.sidenav-cont:not(.straatos) .menus-cont
|
|
1545
|
+
.sidemenu-cont .ant-menu.ant-menu-root.ant-menu-inline.ant-menu-dark
|
|
1546
|
+
.ant-menu-submenu.ant-menu-submenu-inline:not(.selected) .ant-menu-submenu-title svg path {
|
|
1547
|
+
color: var(--nested-sidenav-text-color, --custom-sidenav-text-color, white) !important;
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
.components-layout:not(.nested)
|
|
1551
|
+
.sidenav-cont:not(.straatos)
|
|
1552
|
+
.sidenav-hover-content {
|
|
1553
|
+
color: var(--nested-sidenav-text-color, --custom-sidenav-text-color, white) !important;
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1536
1556
|
.components-layout.nested
|
|
1537
1557
|
.sidenav-cont
|
|
1538
1558
|
.menus-cont
|
package/package.json
CHANGED
|
@@ -12,6 +12,8 @@ export default function GroupInput({
|
|
|
12
12
|
}) {
|
|
13
13
|
const { t, getApiBaseUrl, getAppHeader } = useEditContext();
|
|
14
14
|
|
|
15
|
+
console.log({groupInputs, inputMeta})
|
|
16
|
+
|
|
15
17
|
const getFormItemName = (data) => {
|
|
16
18
|
if (typeof data.repeatIndex === 'number' && data.repeatIndex >= 0) {
|
|
17
19
|
return [data.repeatIndex, data.inputName]
|
|
@@ -31,6 +33,10 @@ export default function GroupInput({
|
|
|
31
33
|
const input = (i?.input?.inputs || {})[i.data.name];
|
|
32
34
|
const _isHighlighted = isHighlighted && inputIsEmpty(input, formsValue);
|
|
33
35
|
|
|
36
|
+
// const defaultvalue = input?.type === 'select' && input?.meta?.defaultOption
|
|
37
|
+
|
|
38
|
+
console.log({formsValue})
|
|
39
|
+
|
|
34
40
|
return <Form.Item
|
|
35
41
|
key={key}
|
|
36
42
|
noStyle
|