@pie-element/graphing-solution-set 6.1.2-next.2 → 6.1.2-next.20
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/author.js +2 -0
- package/dist/author/configure.js +3 -3
- package/dist/author/correct-response.js +1 -1
- package/dist/author/graphing-config.js +1 -1
- package/dist/author/index.d.ts +1 -0
- package/dist/author/index.js +11 -3
- package/dist/author/utils.js +1 -1
- package/dist/browser/{dist-B9B3lIkf.js → alert-dialog-C-BHwu7G.js} +17052 -24261
- package/dist/browser/alert-dialog-C-BHwu7G.js.map +1 -0
- package/dist/browser/assets/Symbola-4c507403.woff2 +0 -0
- package/dist/browser/author/index.js +2226 -335
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/{browser-pUycHh7Y.js → browser-bbrzkX59.js} +7 -3
- package/dist/browser/browser-bbrzkX59.js.map +1 -0
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/controller/index.js.map +1 -1
- package/dist/browser/delivery/index.js +39 -40
- package/dist/browser/delivery/index.js.map +1 -1
- package/dist/browser/editor-runtime/alert-dialog-6Wq1jxM3.js +34083 -0
- package/dist/browser/editor-runtime/alert-dialog-6Wq1jxM3.js.map +1 -0
- package/dist/browser/editor-runtime/assets/Symbola-4c507403.woff2 +0 -0
- package/dist/browser/editor-runtime/author/index.js +3833 -0
- package/dist/browser/editor-runtime/author/index.js.map +1 -0
- package/dist/browser/editor-runtime/browser-d5JHIrvC.js +352 -0
- package/dist/browser/editor-runtime/browser-d5JHIrvC.js.map +1 -0
- package/dist/browser/editor-runtime/controller/index.js +193 -0
- package/dist/browser/editor-runtime/controller/index.js.map +1 -0
- package/dist/browser/editor-runtime/delivery/index.js +781 -0
- package/dist/browser/editor-runtime/delivery/index.js.map +1 -0
- package/dist/controller/utils.js +1 -1
- package/dist/delivery/index.js +2 -2
- package/dist/delivery/main.js +1 -1
- package/dist/index.iife.js +109 -145
- package/package.json +33 -23
- package/dist/browser/browser-pUycHh7Y.js.map +0 -1
- package/dist/browser/dist-B9B3lIkf.js.map +0 -1
- package/dist/browser/graphing-solution-set.css +0 -2
package/author.js
ADDED
package/dist/author/configure.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e from "./graphing-config.js";
|
|
2
|
-
import t from "./correct-response.js";
|
|
1
|
+
import { GraphingConfig as e } from "./graphing-config.js";
|
|
2
|
+
import { CorrectResponse as t } from "./correct-response.js";
|
|
3
3
|
import n from "react";
|
|
4
4
|
import r from "prop-types";
|
|
5
5
|
import { styled as i } from "@mui/material/styles";
|
|
@@ -187,4 +187,4 @@ var y = i(s)(({ theme: e }) => ({
|
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
//#endregion
|
|
190
|
-
export { x as default };
|
|
190
|
+
export { x as Configure, x as default };
|
package/dist/author/index.d.ts
CHANGED
package/dist/author/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from "./configure.js";
|
|
1
|
+
import { Configure as e } from "./configure.js";
|
|
2
2
|
import t from "./defaults.js";
|
|
3
3
|
import n from "react";
|
|
4
4
|
import { createRoot as r } from "react-dom/client";
|
|
@@ -38,7 +38,12 @@ var d = a("pie-elements:graphing-solution-set:configure"), f = (e) => Object.key
|
|
|
38
38
|
this._model = a.createDefaultModel(e), this._render();
|
|
39
39
|
}
|
|
40
40
|
set configuration(e) {
|
|
41
|
-
this._configuration =
|
|
41
|
+
this._configuration = {
|
|
42
|
+
...t.configuration,
|
|
43
|
+
...e
|
|
44
|
+
};
|
|
45
|
+
let { language: n, languageChoices: r } = this._configuration;
|
|
46
|
+
n?.enabled ? r?.options?.length && (this._model.language = r.options[0].value) : n?.settings ? this._model.language && (this._configuration.language.enabled = !0) : delete this._model.language, this._render();
|
|
42
47
|
}
|
|
43
48
|
onModelChanged = (e) => {
|
|
44
49
|
this._model = e, this._render(), d("[onModelChanged]: ", this._model), this.dispatchEvent(new u(this._model));
|
|
@@ -79,8 +84,11 @@ var d = a("pie-elements:graphing-solution-set:configure"), f = (e) => Object.key
|
|
|
79
84
|
});
|
|
80
85
|
}
|
|
81
86
|
}
|
|
87
|
+
connectedCallback() {
|
|
88
|
+
this._render();
|
|
89
|
+
}
|
|
82
90
|
disconnectedCallback() {
|
|
83
|
-
this._root
|
|
91
|
+
this._root &&= (this._root.unmount(), null);
|
|
84
92
|
}
|
|
85
93
|
};
|
|
86
94
|
//#endregion
|
package/dist/author/utils.js
CHANGED
|
@@ -471,4 +471,4 @@ var t = [
|
|
|
471
471
|
else return !t[1].building;
|
|
472
472
|
};
|
|
473
473
|
//#endregion
|
|
474
|
-
export { o as applyConstraints, E as checkIfLinesAreAdded, c as filterPlotableMarks, w as findSectionsInSolutionSet, i as getGridValues, a as getLabelValues, T as pointInsidePolygon };
|
|
474
|
+
export { r as VALID_LABEL_VALUES, o as applyConstraints, E as checkIfLinesAreAdded, c as filterPlotableMarks, w as findSectionsInSolutionSet, i as getGridValues, a as getLabelValues, T as pointInsidePolygon };
|