impaktapps-ui-builder 1.0.145 → 1.0.147-test.1
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 +59 -53
- 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/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +69 -51
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +18 -9
|
@@ -8114,7 +8114,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8114
8114
|
getRadioInputField("disableUpload", "Disable Upload", ["YES", "NO"]),
|
|
8115
8115
|
getRadioInputField("disableDelete", "Disable Delete", ["YES", "NO"]),
|
|
8116
8116
|
getRadioInputField("disableDownload", "Disable Download", ["YES", "NO"]),
|
|
8117
|
-
getInputField("
|
|
8117
|
+
getInputField("description", "Enter description"),
|
|
8118
8118
|
emptyBox$1("FileInputEmpty", { xs: 6, sm: 6, md: 8, lg: 9 })
|
|
8119
8119
|
];
|
|
8120
8120
|
break;
|
|
@@ -11550,29 +11550,31 @@ function Card(theme) {
|
|
|
11550
11550
|
type: "WrapperLayout",
|
|
11551
11551
|
config: {
|
|
11552
11552
|
main: {},
|
|
11553
|
-
|
|
11554
|
-
|
|
11555
|
-
|
|
11556
|
-
|
|
11557
|
-
|
|
11558
|
-
|
|
11559
|
-
|
|
11560
|
-
|
|
11561
|
-
|
|
11562
|
-
|
|
11563
|
-
|
|
11564
|
-
|
|
11565
|
-
|
|
11566
|
-
|
|
11567
|
-
|
|
11568
|
-
|
|
11569
|
-
|
|
11570
|
-
|
|
11571
|
-
|
|
11572
|
-
|
|
11573
|
-
|
|
11574
|
-
|
|
11575
|
-
|
|
11553
|
+
style: {
|
|
11554
|
+
wrapperStyle: {
|
|
11555
|
+
position: "relative",
|
|
11556
|
+
top: "50%",
|
|
11557
|
+
transform: "translateY(-50%)",
|
|
11558
|
+
marginBottom: 0
|
|
11559
|
+
},
|
|
11560
|
+
componentsBoxStyle: {
|
|
11561
|
+
boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.1)",
|
|
11562
|
+
flexDirection: "row",
|
|
11563
|
+
flexWrap: "nowrap",
|
|
11564
|
+
width: "100% !important",
|
|
11565
|
+
background: "transparent",
|
|
11566
|
+
border: `1.5px solid ${theme.palette.primary.light}`,
|
|
11567
|
+
borderRadius: "8px",
|
|
11568
|
+
padding: "0px 4px",
|
|
11569
|
+
height: "100%",
|
|
11570
|
+
alignItems: "center",
|
|
11571
|
+
marginLeft: "0px",
|
|
11572
|
+
"&: hover": {
|
|
11573
|
+
background: `${theme.palette.primary.main}`,
|
|
11574
|
+
border: `1.5px solid black`,
|
|
11575
|
+
"& p": {
|
|
11576
|
+
color: "white"
|
|
11577
|
+
}
|
|
11576
11578
|
}
|
|
11577
11579
|
}
|
|
11578
11580
|
},
|
|
@@ -11592,18 +11594,20 @@ function Card(theme) {
|
|
|
11592
11594
|
columnSpacing: 0,
|
|
11593
11595
|
gap: 0
|
|
11594
11596
|
},
|
|
11595
|
-
|
|
11596
|
-
|
|
11597
|
-
|
|
11598
|
-
|
|
11599
|
-
|
|
11600
|
-
|
|
11601
|
-
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
|
|
11606
|
-
|
|
11597
|
+
style: {
|
|
11598
|
+
wrapperStyle: {
|
|
11599
|
+
background: "transparent",
|
|
11600
|
+
marginBottom: 0
|
|
11601
|
+
},
|
|
11602
|
+
componentsBoxStyle: {
|
|
11603
|
+
flexDirection: "column",
|
|
11604
|
+
flexWrap: "nowrap",
|
|
11605
|
+
width: "100%",
|
|
11606
|
+
height: "inherit",
|
|
11607
|
+
background: "transparent",
|
|
11608
|
+
borderRadius: "0px",
|
|
11609
|
+
paddingRight: 0
|
|
11610
|
+
}
|
|
11607
11611
|
},
|
|
11608
11612
|
layout: 12
|
|
11609
11613
|
},
|
|
@@ -11615,21 +11619,23 @@ function Card(theme) {
|
|
|
11615
11619
|
columnSpacing: 0,
|
|
11616
11620
|
gap: 0
|
|
11617
11621
|
},
|
|
11618
|
-
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
|
|
11625
|
-
|
|
11626
|
-
|
|
11627
|
-
|
|
11628
|
-
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11622
|
+
style: {
|
|
11623
|
+
wrapperStyle: {
|
|
11624
|
+
background: "transparent",
|
|
11625
|
+
marginBottom: 0
|
|
11626
|
+
},
|
|
11627
|
+
componentsBoxStyle: {
|
|
11628
|
+
flexDirection: "row",
|
|
11629
|
+
flexWrap: "nowrap",
|
|
11630
|
+
width: "100%",
|
|
11631
|
+
height: "0",
|
|
11632
|
+
background: "transparent",
|
|
11633
|
+
borderRadius: "0px",
|
|
11634
|
+
marginLeft: "-10px",
|
|
11635
|
+
marginTop: "-8px",
|
|
11636
|
+
justifyContent: "start",
|
|
11637
|
+
position: "relative"
|
|
11638
|
+
}
|
|
11633
11639
|
},
|
|
11634
11640
|
layout: 12
|
|
11635
11641
|
},
|
|
@@ -12283,8 +12289,8 @@ const buildFileInput = (config2, componentScope2) => {
|
|
|
12283
12289
|
if (config2.disableDelete) {
|
|
12284
12290
|
box.config.main.disableDelete = config2.disableDelete === "YES" ? true : false;
|
|
12285
12291
|
}
|
|
12286
|
-
if (config2.
|
|
12287
|
-
box.config.main.
|
|
12292
|
+
if (config2.description) {
|
|
12293
|
+
box.config.main.description = config2.description;
|
|
12288
12294
|
}
|
|
12289
12295
|
return box;
|
|
12290
12296
|
};
|