impaktapps-ui-builder 1.0.59 → 1.0.60
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 +22 -2
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +7 -7
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +16 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +7 -0
- package/src/impaktapps-ui-builder/runtime/services/service.ts +5 -1
|
@@ -6304,6 +6304,13 @@ const ComponentSchema = {
|
|
|
6304
6304
|
{ title: "Amount Column", const: "amount" }
|
|
6305
6305
|
]
|
|
6306
6306
|
},
|
|
6307
|
+
variant: {
|
|
6308
|
+
oneOf: [
|
|
6309
|
+
{ title: "Outlined", const: "outlined" },
|
|
6310
|
+
{ title: "Filled", const: "filled" },
|
|
6311
|
+
{ title: "Standard", const: "standard" }
|
|
6312
|
+
]
|
|
6313
|
+
},
|
|
6307
6314
|
orientation: {
|
|
6308
6315
|
oneOf: [
|
|
6309
6316
|
{ title: "Horizontal", const: "horizontal" },
|
|
@@ -7760,7 +7767,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7760
7767
|
uiSchema.elements = [
|
|
7761
7768
|
getInputField("placeholder", "Placeholder"),
|
|
7762
7769
|
getRadioInputField("multiline", "Multiline", ["YES", "NO"]),
|
|
7763
|
-
|
|
7770
|
+
getSelectField("variant", "Variant"),
|
|
7771
|
+
emptyBox$1("TextEmpty1", { xs: 6, sm: 6, md: 0, lg: 3 }),
|
|
7764
7772
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element"),
|
|
7765
7773
|
getInputField("keyName", "Event Key Name")
|
|
7766
7774
|
];
|
|
@@ -7913,12 +7921,14 @@ const buildPropertiesSection = function(type) {
|
|
|
7913
7921
|
uiSchema.elements = [
|
|
7914
7922
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7915
7923
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
7924
|
+
getSelectField("variant", "Variant"),
|
|
7916
7925
|
emptyBox$1("SelectEmpty")
|
|
7917
7926
|
];
|
|
7918
7927
|
break;
|
|
7919
7928
|
case "MultipleSelect":
|
|
7920
7929
|
uiSchema.elements = [
|
|
7921
7930
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7931
|
+
getSelectField("variant", "Variant"),
|
|
7922
7932
|
emptyBox$1("MultipleSelectEmpty1", { xs: 0, sm: 6, md: 4, lg: 4 }),
|
|
7923
7933
|
emptyBox$1("MultipleSelectEmpty2")
|
|
7924
7934
|
];
|
|
@@ -10329,6 +10339,7 @@ var service = (funcParams) => {
|
|
|
10329
10339
|
eventGroups = {};
|
|
10330
10340
|
pageData = await funcParams.pageDataProvider();
|
|
10331
10341
|
const config2 = pageData == null ? void 0 : pageData.config;
|
|
10342
|
+
funcParams == null ? void 0 : funcParams.setExternaldata();
|
|
10332
10343
|
const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
|
|
10333
10344
|
const event2 = new CustomEvent("pageNameChanged", {
|
|
10334
10345
|
detail: { pageName: config2.label, hasBackIcon: true }
|
|
@@ -11106,6 +11117,9 @@ const buildTextField = (config2, componentScope2) => {
|
|
|
11106
11117
|
if (config2.placeholder) {
|
|
11107
11118
|
inputField.config.main.placeholder = config2.placeholder;
|
|
11108
11119
|
}
|
|
11120
|
+
if (config2.variant) {
|
|
11121
|
+
inputField.config.main.variant = config2.variant;
|
|
11122
|
+
}
|
|
11109
11123
|
if (config2.layout) {
|
|
11110
11124
|
inputField.config.layout = createLayoutFormat(config2.layout);
|
|
11111
11125
|
}
|
|
@@ -11140,6 +11154,9 @@ const buildSelect = (config2, componentScope2) => {
|
|
|
11140
11154
|
if (config2.lazyLoading) {
|
|
11141
11155
|
selectInputField.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11142
11156
|
}
|
|
11157
|
+
if (config2.variant) {
|
|
11158
|
+
selectInputField.config.main.variant = config2.variant;
|
|
11159
|
+
}
|
|
11143
11160
|
if (config2.layout) {
|
|
11144
11161
|
selectInputField.config.layout = createLayoutFormat(config2.layout);
|
|
11145
11162
|
}
|
|
@@ -11746,7 +11763,7 @@ var MultipleSelect = {
|
|
|
11746
11763
|
label: "",
|
|
11747
11764
|
type: "text",
|
|
11748
11765
|
multiple: true,
|
|
11749
|
-
variant: "
|
|
11766
|
+
variant: "outlined",
|
|
11750
11767
|
options: []
|
|
11751
11768
|
}
|
|
11752
11769
|
}
|
|
@@ -11763,6 +11780,9 @@ const buildMultiSelect = (config2, componentScope2) => {
|
|
|
11763
11780
|
if (config2.value) {
|
|
11764
11781
|
multipleSelect.config.main.options = config2.value;
|
|
11765
11782
|
}
|
|
11783
|
+
if (config2.variant) {
|
|
11784
|
+
multipleSelect.config.main.variant = config2.variant;
|
|
11785
|
+
}
|
|
11766
11786
|
if (config2.lazyLoading) {
|
|
11767
11787
|
multipleSelect.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11768
11788
|
}
|