@apexcura/ui-components 0.0.14-Beta32 → 0.0.14-Beta33
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 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +6 -4
- package/dist/index.mjs +6 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -26,8 +26,9 @@ type ElementType = {
|
|
|
26
26
|
fields?: any[];
|
|
27
27
|
schema?: any[];
|
|
28
28
|
options?: any[];
|
|
29
|
-
firstOptions
|
|
30
|
-
secondOptions
|
|
29
|
+
firstOptions?: any[];
|
|
30
|
+
secondOptions?: any[];
|
|
31
|
+
view?: boolean;
|
|
31
32
|
onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
|
|
32
33
|
onClick?: () => void;
|
|
33
34
|
dropDownOptions?: any[];
|
package/dist/index.d.ts
CHANGED
|
@@ -26,8 +26,9 @@ type ElementType = {
|
|
|
26
26
|
fields?: any[];
|
|
27
27
|
schema?: any[];
|
|
28
28
|
options?: any[];
|
|
29
|
-
firstOptions
|
|
30
|
-
secondOptions
|
|
29
|
+
firstOptions?: any[];
|
|
30
|
+
secondOptions?: any[];
|
|
31
|
+
view?: boolean;
|
|
31
32
|
onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
|
|
32
33
|
onClick?: () => void;
|
|
33
34
|
dropDownOptions?: any[];
|
package/dist/index.js
CHANGED
|
@@ -683,8 +683,10 @@ var TableElement = (props) => {
|
|
|
683
683
|
}
|
|
684
684
|
}
|
|
685
685
|
}
|
|
686
|
-
}))
|
|
687
|
-
|
|
686
|
+
}))
|
|
687
|
+
];
|
|
688
|
+
if (props.view) {
|
|
689
|
+
columns.push({
|
|
688
690
|
title: "View",
|
|
689
691
|
dataIndex: "View",
|
|
690
692
|
key: "View",
|
|
@@ -699,8 +701,8 @@ var TableElement = (props) => {
|
|
|
699
701
|
},
|
|
700
702
|
"View"
|
|
701
703
|
)
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
+
});
|
|
705
|
+
}
|
|
704
706
|
}
|
|
705
707
|
const dataSource = tbody && tbody.map((row, index) => ({
|
|
706
708
|
...row,
|
package/dist/index.mjs
CHANGED
|
@@ -624,8 +624,10 @@ var TableElement = (props) => {
|
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
|
-
}))
|
|
628
|
-
|
|
627
|
+
}))
|
|
628
|
+
];
|
|
629
|
+
if (props.view) {
|
|
630
|
+
columns.push({
|
|
629
631
|
title: "View",
|
|
630
632
|
dataIndex: "View",
|
|
631
633
|
key: "View",
|
|
@@ -640,8 +642,8 @@ var TableElement = (props) => {
|
|
|
640
642
|
},
|
|
641
643
|
"View"
|
|
642
644
|
)
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
+
});
|
|
646
|
+
}
|
|
645
647
|
}
|
|
646
648
|
const dataSource = tbody && tbody.map((row, index) => ({
|
|
647
649
|
...row,
|