@vue-skuilder/common-ui 0.2.33 → 0.2.35
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/{MarkdownRenderer-kStoDRNE.mjs → MarkdownRenderer-U_iPiA2x.mjs} +219 -216
- package/dist/MarkdownRenderer-U_iPiA2x.mjs.map +1 -0
- package/dist/admin/admin.css +1 -1
- package/dist/admin/common-ui-admin.es.js +24754 -638
- package/dist/admin/common-ui-admin.es.js.map +1 -1
- package/dist/admin/components/EChart.vue.d.ts +14 -0
- package/dist/admin/components/EChart.vue.d.ts.map +1 -0
- package/dist/admin/components/LearnerDiagnostics.vue.d.ts +3 -3
- package/dist/admin/components/LearnerDiagnostics.vue.d.ts.map +1 -1
- package/dist/admin/components/LearnerTagElo.vue.d.ts +14 -0
- package/dist/admin/components/LearnerTagElo.vue.d.ts.map +1 -0
- package/dist/admin/index.d.ts +1 -0
- package/dist/admin/index.d.ts.map +1 -1
- package/dist/common-ui.es.js +3 -3
- package/dist/common-ui.es.js.map +1 -1
- package/dist/common-ui.umd.js +2 -2
- package/dist/common-ui.umd.js.map +1 -1
- package/dist/components/CourseCardBrowser.vue.d.ts +3 -3
- package/dist/components/CourseInformation.vue.d.ts +3 -3
- package/dist/components/PaginatingToolbar.vue.d.ts +3 -3
- package/dist/components/SkMouseTrapToolTip.vue.d.ts +1 -1
- package/dist/composables/CompositionViewable.d.ts +2 -2
- package/dist/composables/CompositionViewable.d.ts.map +1 -1
- package/dist/composables/Displayable.d.ts +6 -1
- package/dist/composables/Displayable.d.ts.map +1 -1
- package/package.json +5 -4
- package/src/admin/components/EChart.vue +59 -0
- package/src/admin/components/LearnerDiagnostics.vue +8 -4
- package/src/admin/components/LearnerTagElo.vue +563 -0
- package/src/admin/index.ts +1 -0
- package/src/composables/CompositionViewable.ts +11 -5
- package/src/composables/Displayable.ts +7 -1
- package/dist/MarkdownRenderer-kStoDRNE.mjs.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ECElementEvent, EChartsCoreOption } from 'echarts/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
option: EChartsCoreOption;
|
|
4
|
+
height: number;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
click: (event: ECElementEvent) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onClick?: ((event: ECElementEvent) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
11
|
+
el: HTMLDivElement;
|
|
12
|
+
}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=EChart.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EChart.vue.d.ts","sourceRoot":"","sources":["../../../src/admin/components/EChart.vue"],"names":[],"mappings":"AA8DA,OAAO,EAAa,KAAK,cAAc,EAAE,KAAK,iBAAiB,EAAoB,MAAM,cAAc,CAAC;AA2BxG,KAAK,WAAW,GAAG;IAAE,MAAM,EAAE,iBAAiB,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;;;;;;;;AAsEjE,wBASG"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DiagnosticsInterpreters, LearnerDataset } from '@vue-skuilder/db/diagnostics';
|
|
2
2
|
/**
|
|
3
|
-
* One learner: sessions (list, then a session's detail), card history,
|
|
3
|
+
* One learner: sessions (list, then a session's detail), card history,
|
|
4
4
|
* when the dataset carries the course's strategy docs, the pipeline with this
|
|
5
|
-
* learner's run stats. Session timelines link into card history. Navigation is internal;
|
|
6
|
-
* hosts that want URLs can compose the
|
|
5
|
+
* learner's run stats, and per-tag ELO. Session timelines link into card history. Navigation is internal;
|
|
6
|
+
* hosts that want URLs can compose the views themselves.
|
|
7
7
|
*/
|
|
8
8
|
type __VLS_Props = {
|
|
9
9
|
dataset: LearnerDataset;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LearnerDiagnostics.vue.d.ts","sourceRoot":"","sources":["../../../src/admin/components/LearnerDiagnostics.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LearnerDiagnostics.vue.d.ts","sourceRoot":"","sources":["../../../src/admin/components/LearnerDiagnostics.vue"],"names":[],"mappings":"AA4FA,OAAO,EAAoB,KAAK,uBAAuB,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAOnH;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,cAAc,CAAC;IACxB,YAAY,CAAC,EAAE,uBAAuB,CAAC;CACxC,CAAC;;AA4PF,wBAOG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DiagnosticsInterpreters, LearnerDataset } from '@vue-skuilder/db/diagnostics';
|
|
2
|
+
/**
|
|
3
|
+
* A learner's per-tag ELO: which skills they're rated high or low on, how
|
|
4
|
+
* much evidence each rating rests on, and how ratings moved. Filtered by tag
|
|
5
|
+
* batch: the namespace × role groups found on the tags, plus any the course
|
|
6
|
+
* names (`interpreters.tagBatches`).
|
|
7
|
+
*/
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
dataset: LearnerDataset;
|
|
10
|
+
interpreters?: DiagnosticsInterpreters;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=LearnerTagElo.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LearnerTagElo.vue.d.ts","sourceRoot":"","sources":["../../../src/admin/components/LearnerTagElo.vue"],"names":[],"mappings":"AAwjBA,OAAO,EAIL,KAAK,uBAAuB,EAE5B,KAAK,cAAc,EAGpB,MAAM,8BAA8B,CAAC;AAItC;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,cAAc,CAAC;IACxB,YAAY,CAAC,EAAE,uBAAuB,CAAC;CACxC,CAAC;;AAo7BF,wBAOG"}
|
package/dist/admin/index.d.ts
CHANGED
|
@@ -20,4 +20,5 @@ export { default as LearnerCardHistory } from './components/LearnerCardHistory.v
|
|
|
20
20
|
export { default as CardDossierDetail } from './components/CardDossierDetail.vue';
|
|
21
21
|
export { default as RunDetail } from './components/RunDetail.vue';
|
|
22
22
|
export { default as PipelineOverview } from './components/PipelineOverview.vue';
|
|
23
|
+
export { default as LearnerTagElo } from './components/LearnerTagElo.vue';
|
|
23
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/admin/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,KAAK,kBAAkB,GACxB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,mCAAmC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/admin/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,KAAK,kBAAkB,GACxB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,gCAAgC,CAAC"}
|
package/dist/common-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, w as S, x as ee, y as te } from "./MarkdownRenderer-
|
|
1
|
+
import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, w as S, x as ee, y as te } from "./MarkdownRenderer-U_iPiA2x.mjs";
|
|
2
2
|
import { Fragment as C, Transition as w, computed as T, createBlock as E, createCommentVNode as D, createElementBlock as O, createElementVNode as k, createSlots as ne, createTextVNode as A, createVNode as j, defineAsyncComponent as re, defineComponent as M, guardReactiveProps as ie, markRaw as N, mergeProps as P, normalizeClass as F, normalizeProps as ae, normalizeStyle as oe, onBeforeUnmount as se, onMounted as I, onUnmounted as ce, openBlock as L, ref as R, renderList as z, renderSlot as B, resolveComponent as V, resolveDynamicComponent as le, toDisplayString as H, vShow as ue, watch as U, withCtx as W, withDirectives as de, withKeys as G, withModifiers as K } from "vue";
|
|
3
3
|
import q from "moment";
|
|
4
4
|
import { FieldType as fe, Status as J, displayableDataToViewData as pe, emptyTagFilter as me, hasActiveFilter as he, log as Y, toCourseElo as ge } from "@vue-skuilder/common";
|
|
@@ -888,7 +888,7 @@ var Displayable = class {
|
|
|
888
888
|
validateData(this.dataShapes(), e);
|
|
889
889
|
}
|
|
890
890
|
};
|
|
891
|
-
S(Displayable, "dataShapes", void 0), S(Displayable, "views", void 0), S(Displayable, "seedData", void 0), S(Displayable, "acceptsUserData", !0);
|
|
891
|
+
S(Displayable, "dataShapes", void 0), S(Displayable, "views", void 0), S(Displayable, "seedData", void 0), S(Displayable, "acceptsUserData", !0), S(Displayable, "seedMeta", void 0);
|
|
892
892
|
function validateData(e, t) {
|
|
893
893
|
for (let n = 0; n < e.length; n++) e[n].fields.forEach((e, r) => {
|
|
894
894
|
console.log(`[Displayable] shape[${n}].field[${r}]:\n ${JSON.stringify(e)}`), t[n][e.name] === void 0 && e.type !== fe.MEDIA_UPLOADS && console.warn("[Displayable] missing data");
|
|
@@ -2194,7 +2194,7 @@ function _sfc_render$15(e, t, n, r, i, a) {
|
|
|
2194
2194
|
t(_sfc_render$15, "_sfc_render");
|
|
2195
2195
|
var Zt = /* @__PURE__ */ r(Ut, [["render", _sfc_render$15], ["__scopeId", "data-v-ad5e0df0"]]), Qt = M({
|
|
2196
2196
|
name: "MultipleChoiceOption",
|
|
2197
|
-
components: { MarkdownRenderer: re(() => import("./MarkdownRenderer-
|
|
2197
|
+
components: { MarkdownRenderer: re(() => import("./MarkdownRenderer-U_iPiA2x.mjs").then((e) => e.n)) },
|
|
2198
2198
|
props: {
|
|
2199
2199
|
content: {
|
|
2200
2200
|
type: String,
|