impaktapps-ui-builder 1.0.50-alpha.20 → 1.0.50-alpha.21
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 +31 -1
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +3 -3
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +2 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +17 -0
- package/src/impaktapps-ui-builder/builder/services/component.ts +16 -1
|
@@ -6304,6 +6304,23 @@ const ComponentSchema = {
|
|
|
6304
6304
|
{ title: "Amount Column", const: "amount" }
|
|
6305
6305
|
]
|
|
6306
6306
|
},
|
|
6307
|
+
filterVariant: {
|
|
6308
|
+
oneOf: [
|
|
6309
|
+
{ title: "Text", const: "text" },
|
|
6310
|
+
{ title: "Autocomplete", const: "autocomplete" },
|
|
6311
|
+
{ title: "Select", const: "select" },
|
|
6312
|
+
{ title: "Multi-Select", const: "multi-select" },
|
|
6313
|
+
{ title: "Range", const: "range" },
|
|
6314
|
+
{ title: "Range Slider", const: "range-slider" },
|
|
6315
|
+
{ title: "Date", const: "date" },
|
|
6316
|
+
{ title: "DateTime", const: "datetime" },
|
|
6317
|
+
{ title: "Date Range", const: "date-range" },
|
|
6318
|
+
{ title: "DateTime Range", const: "datetime-range" },
|
|
6319
|
+
{ title: "Time", const: "time" },
|
|
6320
|
+
{ title: "Time Range", const: "time-range" },
|
|
6321
|
+
{ title: "Checkbox", const: "checkbox" }
|
|
6322
|
+
]
|
|
6323
|
+
},
|
|
6307
6324
|
orientation: {
|
|
6308
6325
|
oneOf: [
|
|
6309
6326
|
{ title: "Horizontal", const: "horizontal" },
|
|
@@ -8545,6 +8562,18 @@ function refreshPage(type, store2) {
|
|
|
8545
8562
|
label: "Element Type"
|
|
8546
8563
|
}
|
|
8547
8564
|
}
|
|
8565
|
+
}, UiSchema.elements[0].elements[0].elements[10] = {
|
|
8566
|
+
type: "Control",
|
|
8567
|
+
scope: "#/properties/filterVariant",
|
|
8568
|
+
options: {
|
|
8569
|
+
widget: "SelectInputField"
|
|
8570
|
+
},
|
|
8571
|
+
config: {
|
|
8572
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8573
|
+
main: {
|
|
8574
|
+
label: "Filter Variant"
|
|
8575
|
+
}
|
|
8576
|
+
}
|
|
8548
8577
|
};
|
|
8549
8578
|
}
|
|
8550
8579
|
if (sessionStorage.getItem("copiedConfig")) {
|
|
@@ -12594,7 +12623,8 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12594
12623
|
enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
|
|
12595
12624
|
columnFilterModeOptions: cellElem.filteringOptions,
|
|
12596
12625
|
enableSorting: cellElem.enableSorting === "No" ? false : true,
|
|
12597
|
-
columnKey: cellElem.columnKey
|
|
12626
|
+
columnKey: cellElem.columnKey,
|
|
12627
|
+
filterVariant: cellElem.filterVariant
|
|
12598
12628
|
};
|
|
12599
12629
|
if (cellElem.type) {
|
|
12600
12630
|
if (cellElem.elementType == "action") {
|