@vue-skuilder/common-ui 0.2.32 → 0.2.34
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/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/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 +4 -4
- package/src/composables/CompositionViewable.ts +11 -5
- package/src/composables/Displayable.ts +7 -1
- package/dist/MarkdownRenderer-kStoDRNE.mjs.map +0 -1
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,
|