@pie-element/fraction-model 0.1.0
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/author/card-bar.d.ts +21 -0
- package/dist/author/card-bar.d.ts.map +1 -0
- package/dist/author/card-bar.js +40 -0
- package/dist/author/defaults.d.ts +114 -0
- package/dist/author/defaults.d.ts.map +1 -0
- package/dist/author/defaults.js +84 -0
- package/dist/author/index.d.ts +45 -0
- package/dist/author/index.d.ts.map +1 -0
- package/dist/author/index.js +88 -0
- package/dist/author/main.d.ts +26 -0
- package/dist/author/main.d.ts.map +1 -0
- package/dist/author/main.js +156 -0
- package/dist/author/model-options.d.ts +33 -0
- package/dist/author/model-options.d.ts.map +1 -0
- package/dist/author/model-options.js +85 -0
- package/dist/author/number-text-field.d.ts +16 -0
- package/dist/author/number-text-field.d.ts.map +1 -0
- package/dist/author/number-text-field.js +20 -0
- package/dist/controller/defaults.d.ts +22 -0
- package/dist/controller/defaults.d.ts.map +1 -0
- package/dist/controller/defaults.js +13 -0
- package/dist/controller/index.d.ts +24 -0
- package/dist/controller/index.d.ts.map +1 -0
- package/dist/controller/index.js +68 -0
- package/dist/delivery/answer-fraction.d.ts +28 -0
- package/dist/delivery/answer-fraction.d.ts.map +1 -0
- package/dist/delivery/answer-fraction.js +69 -0
- package/dist/delivery/fraction-model-chart.d.ts +12 -0
- package/dist/delivery/fraction-model-chart.d.ts.map +1 -0
- package/dist/delivery/fraction-model-chart.js +154 -0
- package/dist/delivery/index.d.ts +23 -0
- package/dist/delivery/index.d.ts.map +1 -0
- package/dist/delivery/index.js +54 -0
- package/dist/delivery/main.d.ts +39 -0
- package/dist/delivery/main.d.ts.map +1 -0
- package/dist/delivery/main.js +136 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.iife.d.ts +9 -0
- package/dist/index.iife.d.ts.map +1 -0
- package/dist/index.iife.js +179 -0
- package/dist/index.js +2 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_DataView.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Hash.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_ListCache.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Map.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_MapCache.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Promise.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Set.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Stack.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Symbol.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Uint8Array.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_WeakMap.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayEach.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayFilter.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayPush.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_assignValue.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_assocIndexOf.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssign.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignValue.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseClone.js +57 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseCreate.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGetTag.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsArguments.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsMap.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsNative.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsSet.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseKeys.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseKeysIn.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseTimes.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseUnary.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneBuffer.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneDataView.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneRegExp.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneSymbol.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneTypedArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copyArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copyObject.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copySymbols.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copySymbolsIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_coreJsData.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_defineProperty.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_freeGlobal.js +4 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeysIn.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getMapData.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getNative.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getPrototype.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getRawTag.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getSymbols.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getSymbolsIn.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getTag.js +23 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getValue.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashClear.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashDelete.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashGet.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashHas.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashSet.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneByTag.js +33 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneObject.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isIndex.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isKeyable.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isMasked.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isPrototype.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheClear.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheDelete.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheGet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheHas.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheSet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheClear.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheDelete.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheGet.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheHas.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheSet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeCreate.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeys.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeysIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nodeUtil.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_objectToString.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_overArg.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_root.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackClear.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackDelete.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackGet.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackHas.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackSet.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_toSource.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/eq.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArguments.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArray.js +4 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArrayLike.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isBuffer.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isEmpty.js +21 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isFunction.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isLength.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isMap.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isObject.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isObjectLike.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isSet.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isTypedArray.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/keys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/keysIn.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/stubArray.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/stubFalse.js +6 -0
- package/package.json +70 -0
- package/src/author/card-bar.tsx +67 -0
- package/src/author/defaults.ts +88 -0
- package/src/author/index.ts +187 -0
- package/src/author/main.tsx +243 -0
- package/src/author/model-options.tsx +158 -0
- package/src/author/number-text-field.tsx +42 -0
- package/src/controller/defaults.ts +23 -0
- package/src/controller/index.ts +207 -0
- package/src/delivery/answer-fraction.tsx +113 -0
- package/src/delivery/fraction-model-chart.tsx +261 -0
- package/src/delivery/index.ts +96 -0
- package/src/delivery/main.tsx +256 -0
- package/src/index.iife.ts +16 -0
- package/src/index.ts +1 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import e from "./answer-fraction.js";
|
|
2
|
+
import t from "./fraction-model-chart.js";
|
|
3
|
+
import n from "../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.js";
|
|
4
|
+
import r from "react";
|
|
5
|
+
import i from "prop-types";
|
|
6
|
+
import { styled as a } from "@mui/material/styles";
|
|
7
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
8
|
+
import c from "@pie-lib/correct-answer-toggle";
|
|
9
|
+
import { AlertDialog as l } from "@pie-lib/config-ui";
|
|
10
|
+
import * as u from "@pie-lib/render-ui";
|
|
11
|
+
import { PreviewPrompt as d, UiLayout as f } from "@pie-lib/render-ui";
|
|
12
|
+
//#region src/delivery/main.tsx
|
|
13
|
+
function p(e) {
|
|
14
|
+
return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
|
|
15
|
+
}
|
|
16
|
+
function m(e, t) {
|
|
17
|
+
return !e || p(e) ? e : p(e.default) ? e.default : t && p(e[t]) ? e[t] : t && p(e[t]?.default) ? e[t].default : e;
|
|
18
|
+
}
|
|
19
|
+
var h = m(f, "UiLayout") || m(y.UiLayout, "UiLayout"), g = m(d, "PreviewPrompt") || m(y.PreviewPrompt, "PreviewPrompt"), _ = u, v = _.default, y = v && typeof v == "object" ? v : _, b = a("div")({ padding: "16px" }), x = a("div")({
|
|
20
|
+
textAlign: "center",
|
|
21
|
+
fontSize: "20px"
|
|
22
|
+
}), S = class extends r.Component {
|
|
23
|
+
static propTypes = {
|
|
24
|
+
model: i.object,
|
|
25
|
+
session: i.object,
|
|
26
|
+
onSessionChange: i.func.isRequired
|
|
27
|
+
};
|
|
28
|
+
constructor(e) {
|
|
29
|
+
super(e), this.state = {
|
|
30
|
+
session: {
|
|
31
|
+
...e.session,
|
|
32
|
+
answers: e.session && e.session.answers || this.generateAnswers(e.model)
|
|
33
|
+
},
|
|
34
|
+
showCorrect: !1,
|
|
35
|
+
answerChangeDialog: {
|
|
36
|
+
open: !1,
|
|
37
|
+
text: ""
|
|
38
|
+
}
|
|
39
|
+
}, this.callOnSessionChange();
|
|
40
|
+
}
|
|
41
|
+
callOnSessionChange = () => {
|
|
42
|
+
let { onSessionChange: e } = this.props;
|
|
43
|
+
e && e(this.state.session);
|
|
44
|
+
};
|
|
45
|
+
generateAnswers = (e) => {
|
|
46
|
+
let t = { response: [] };
|
|
47
|
+
return e.allowedStudentConfig && (t.noOfModel = "", t.partsPerModel = ""), t;
|
|
48
|
+
};
|
|
49
|
+
onAnswerChange = (e) => {
|
|
50
|
+
let t = n(this.state.session), r = {
|
|
51
|
+
...this.state.session,
|
|
52
|
+
answers: e
|
|
53
|
+
};
|
|
54
|
+
e.response.length > 0 ? this.setState({ answerChangeDialog: {
|
|
55
|
+
open: !0,
|
|
56
|
+
oldSession: t,
|
|
57
|
+
newSession: r,
|
|
58
|
+
text: "Changing either the Number of Models or Parts per Model will remove added answer. Are you sure you want to continue?"
|
|
59
|
+
} }) : this.setState((e) => ({ session: r }), this.callOnSessionChange);
|
|
60
|
+
};
|
|
61
|
+
toggleShowCorrect = (e) => {
|
|
62
|
+
this.setState({ showCorrect: e });
|
|
63
|
+
};
|
|
64
|
+
onResponseChange = (e) => {
|
|
65
|
+
this.setState((t) => ({ session: {
|
|
66
|
+
...t.session,
|
|
67
|
+
answers: {
|
|
68
|
+
...t.session.answers,
|
|
69
|
+
response: e
|
|
70
|
+
}
|
|
71
|
+
} }), this.callOnSessionChange);
|
|
72
|
+
};
|
|
73
|
+
generateRandomKey = () => Math.floor(Math.random() * 1e4);
|
|
74
|
+
render() {
|
|
75
|
+
let { model: n } = this.props, { showCorrect: r, session: i, answerChangeDialog: a } = this.state, { prompt: u, title: d, correctness: f = {}, extraCSSRules: p, language: m } = n, _ = f.correctness && f.correctness !== "correct", v = this.generateRandomKey();
|
|
76
|
+
return /* @__PURE__ */ o(h, {
|
|
77
|
+
extraCSSRules: p,
|
|
78
|
+
children: /* @__PURE__ */ s(b, { children: [
|
|
79
|
+
/* @__PURE__ */ o(x, { children: /* @__PURE__ */ o(g, {
|
|
80
|
+
className: "prompt",
|
|
81
|
+
prompt: d,
|
|
82
|
+
tagName: "h3"
|
|
83
|
+
}) }),
|
|
84
|
+
/* @__PURE__ */ o(g, {
|
|
85
|
+
className: "prompt",
|
|
86
|
+
prompt: u,
|
|
87
|
+
tagName: "p"
|
|
88
|
+
}),
|
|
89
|
+
/* @__PURE__ */ o(c, {
|
|
90
|
+
language: m,
|
|
91
|
+
show: _,
|
|
92
|
+
toggled: r,
|
|
93
|
+
onToggle: this.toggleShowCorrect
|
|
94
|
+
}),
|
|
95
|
+
/* @__PURE__ */ o(e, {
|
|
96
|
+
model: n,
|
|
97
|
+
showCorrect: r,
|
|
98
|
+
disabled: n.view,
|
|
99
|
+
onAnswerChange: this.onAnswerChange,
|
|
100
|
+
answers: i.answers
|
|
101
|
+
}),
|
|
102
|
+
/* @__PURE__ */ o(t, {
|
|
103
|
+
disabled: n.view,
|
|
104
|
+
value: r ? n.correctResponse : i.answers.response,
|
|
105
|
+
modelType: n.modelTypeSelected,
|
|
106
|
+
noOfModels: r ? n.maxModelSelected : n.allowedStudentConfig ? i.answers.noOfModel : n.maxModelSelected,
|
|
107
|
+
partsPerModel: r ? n.partsPerModel : n.allowedStudentConfig ? i.answers.partsPerModel : n.partsPerModel,
|
|
108
|
+
showLabel: n.showGraphLabels,
|
|
109
|
+
onChange: this.onResponseChange
|
|
110
|
+
}, v),
|
|
111
|
+
/* @__PURE__ */ o(l, {
|
|
112
|
+
open: a.open,
|
|
113
|
+
title: "Warning",
|
|
114
|
+
text: a.text,
|
|
115
|
+
onConfirm: () => {
|
|
116
|
+
let e = this.state.answerChangeDialog.newSession;
|
|
117
|
+
e.answers.response = [], this.setState(() => ({
|
|
118
|
+
session: e,
|
|
119
|
+
answerChangeDialog: { open: !1 }
|
|
120
|
+
}), this.callOnSessionChange);
|
|
121
|
+
},
|
|
122
|
+
onClose: () => {
|
|
123
|
+
this.setState((e) => ({
|
|
124
|
+
session: e.answerChangeDialog.oldSession,
|
|
125
|
+
answerChangeDialog: { open: !1 }
|
|
126
|
+
}), this.callOnSessionChange);
|
|
127
|
+
},
|
|
128
|
+
onConfirmText: "OK",
|
|
129
|
+
onCloseText: "Cancel"
|
|
130
|
+
})
|
|
131
|
+
] })
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
//#endregion
|
|
136
|
+
export { S as default };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IIFE entry point for fraction-model element
|
|
3
|
+
* This file is only used for IIFE builds and includes auto-registration
|
|
4
|
+
*
|
|
5
|
+
* @sync-generated - Auto-generated during sync from pie-elements
|
|
6
|
+
*/
|
|
7
|
+
import Element from './index.js';
|
|
8
|
+
export default Element;
|
|
9
|
+
//# sourceMappingURL=index.iife.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.iife.d.ts","sourceRoot":"","sources":["../src/index.iife.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,OAAO,MAAM,YAAY,CAAC;AAQjC,eAAe,OAAO,CAAC"}
|