@project-sunbird/collection-editor-react 0.1.15 → 0.1.17
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 +19 -7
- 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;
|
|
@@ -20806,16 +20808,26 @@ function Ak(e, t, r) {
|
|
|
20806
20808
|
]), a = /* @__PURE__ */ new Set([
|
|
20807
20809
|
"audience",
|
|
20808
20810
|
"attributions",
|
|
20811
|
+
"keywords",
|
|
20812
|
+
"language",
|
|
20813
|
+
"additionalCategories",
|
|
20814
|
+
// Org-framework fields — legacy codes
|
|
20815
|
+
"board",
|
|
20816
|
+
"medium",
|
|
20817
|
+
"gradeLevel",
|
|
20818
|
+
"subject",
|
|
20819
|
+
// Org-framework fields — *Ids codes used by newer category definitions
|
|
20820
|
+
"boardIds",
|
|
20821
|
+
"mediumIds",
|
|
20822
|
+
"gradeLevelIds",
|
|
20823
|
+
"subjectIds",
|
|
20824
|
+
// Target-framework fields
|
|
20809
20825
|
"targetBoardIds",
|
|
20810
20826
|
"targetMediumIds",
|
|
20811
20827
|
"targetGradeLevelIds",
|
|
20812
20828
|
"targetSubjectIds",
|
|
20813
|
-
|
|
20814
|
-
"
|
|
20815
|
-
"subject",
|
|
20816
|
-
"additionalCategories",
|
|
20817
|
-
"keywords",
|
|
20818
|
-
"language"
|
|
20829
|
+
// Dial codes
|
|
20830
|
+
"dialcodes"
|
|
20819
20831
|
]), l = /* @__PURE__ */ new Set(["copyrightYear", "compatibilityLevel", "version"]);
|
|
20820
20832
|
function u(g, p = !1) {
|
|
20821
20833
|
const b = {};
|