impaktapps-ui-builder 1.0.147-test.17 → 1.0.147-test.20
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/impaktapps-ui-builder.es.js +10 -5
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildCard.ts +7 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +1 -1
|
@@ -7969,7 +7969,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7969
7969
|
uiSchema.elements = [
|
|
7970
7970
|
getInputField("url", "Image Url"),
|
|
7971
7971
|
getInputField("label", "Label"),
|
|
7972
|
-
getInputField("
|
|
7972
|
+
getInputField("cardValue", "Value"),
|
|
7973
7973
|
getInputField("titleIcon", "Unicode of Icon for title"),
|
|
7974
7974
|
getInputField("description", "Description"),
|
|
7975
7975
|
emptyBox$1("cardEmpty", { xs: 6, sm: 6, md: 8, lg: 9 })
|
|
@@ -8059,7 +8059,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8059
8059
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
8060
8060
|
getInputField("defaultColumnSize", "Default Column Size"),
|
|
8061
8061
|
,
|
|
8062
|
-
emptyBox$1("LazyLoadingTableEmpty3")
|
|
8062
|
+
emptyBox$1("LazyLoadingTableEmpty3", { xs: 0, sm: 0, md: 4, lg: 6 })
|
|
8063
8063
|
]),
|
|
8064
8064
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
8065
8065
|
sizeHolder,
|
|
@@ -11669,7 +11669,7 @@ function Card(theme) {
|
|
|
11669
11669
|
style: {
|
|
11670
11670
|
color: "black",
|
|
11671
11671
|
display: "flex",
|
|
11672
|
-
fontSize: { xs: "22px", md: "
|
|
11672
|
+
fontSize: { xs: "22px", md: "27px" },
|
|
11673
11673
|
fontWeight: "450",
|
|
11674
11674
|
background: "inherit",
|
|
11675
11675
|
justifyContent: "flex-start",
|
|
@@ -11724,9 +11724,14 @@ function Card(theme) {
|
|
|
11724
11724
|
return uiSchema;
|
|
11725
11725
|
}
|
|
11726
11726
|
const buildCard = (config, componentScope, store2) => {
|
|
11727
|
+
var _a, _b, _c;
|
|
11727
11728
|
const card = _.cloneDeep(Card(store2.theme.myTheme));
|
|
11728
11729
|
if (config.style) {
|
|
11730
|
+
const parsedStyle = JSON.parse(config.style);
|
|
11729
11731
|
card.config.wrapperStyle = JSON.parse(config.style);
|
|
11732
|
+
card.elements[1].config.style = { ...card.elements[1].config.style, ...(_a = parsedStyle.labelStyle) != null ? _a : {} };
|
|
11733
|
+
card.elements[3].config.style = { ...card.elements[3].config.style, ...(_b = parsedStyle.descriptionStyle) != null ? _b : {} };
|
|
11734
|
+
card.elements[2].config.style = { ...card.elements[2].config.style, ...(_c = parsedStyle.valueStyle) != null ? _c : {} };
|
|
11730
11735
|
}
|
|
11731
11736
|
card.elements[2].scope = `#/properties/${config.name}/properties/value`;
|
|
11732
11737
|
card.elements[0].scope = `#/properties/${config.name}/properties/url`;
|
|
@@ -11744,8 +11749,8 @@ const buildCard = (config, componentScope, store2) => {
|
|
|
11744
11749
|
if (config.description) {
|
|
11745
11750
|
card.elements[3].config.main.heading = config.description;
|
|
11746
11751
|
}
|
|
11747
|
-
if (config.
|
|
11748
|
-
card.elements[2].config.main.heading = config.
|
|
11752
|
+
if (config.cardValue) {
|
|
11753
|
+
card.elements[2].config.main.heading = config.cardValue;
|
|
11749
11754
|
}
|
|
11750
11755
|
return card;
|
|
11751
11756
|
};
|