@project-sunbird/collection-editor-react 0.1.15 → 0.1.16
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/collection-editor.umd.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17549,6 +17549,7 @@ const FD = {
|
|
|
17549
17549
|
primaryCategory: "details",
|
|
17550
17550
|
additionalCategories: "details",
|
|
17551
17551
|
board: "details",
|
|
17552
|
+
boardIds: "details",
|
|
17552
17553
|
subject: "details",
|
|
17553
17554
|
subjectIds: "details",
|
|
17554
17555
|
medium: "details",
|
|
@@ -17573,6 +17574,7 @@ const FD = {
|
|
|
17573
17574
|
copyrightYear: "licensing"
|
|
17574
17575
|
}, Yh = {
|
|
17575
17576
|
board: "board",
|
|
17577
|
+
boardIds: "board",
|
|
17576
17578
|
medium: "medium",
|
|
17577
17579
|
gradeLevel: "gradeLevel",
|
|
17578
17580
|
subject: "subject",
|
|
@@ -17654,7 +17656,7 @@ function Xh(e, t) {
|
|
|
17654
17656
|
}
|
|
17655
17657
|
function qD(e) {
|
|
17656
17658
|
const t = (e.inputType ?? e.dataType ?? "").toLowerCase(), n = (e.dataType ?? "").toLowerCase() === "list";
|
|
17657
|
-
return t === "select"
|
|
17659
|
+
return t === "select" ? "select" : t === "framework" || t === "frameworkcategoryselect" ? n ? "multiselect" : "select" : t === "topicselector" ? "chips" : t === "multiselect" || t === "multi-select" ? "multiselect" : t === "keywords" || e.code === "keywords" || e.code === "topic" || e.code === "topicsIds" ? "chips" : t === "radio" ? "radio" : e.code === "appIcon" || t === "appicon" ? "appIcon" : t === "textarea" || e.code === "description" ? "textarea" : t === "datepicker" || t === "date" ? "datepicker" : t === "datetime" || t === "datetime-local" ? "datetime" : t === "tagsinput" ? "tagsinput" : t === "nestedselect" || t === "nested-select" ? n ? "multiselect" : "select" : t === "license" ? "license" : t === "dialcode" || t === "dial-code" ? "dialcode" : "text";
|
|
17658
17660
|
}
|
|
17659
17661
|
function HD(e, t, r) {
|
|
17660
17662
|
var a;
|