@pie-element/complex-rubric 7.1.0-next.28 → 7.1.1-next.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.
Files changed (118) hide show
  1. package/dist/author/defaults.d.ts +231 -0
  2. package/dist/author/defaults.js +177 -0
  3. package/dist/author/index.d.ts +34 -0
  4. package/dist/author/index.js +87 -0
  5. package/dist/author/main.d.ts +23 -0
  6. package/dist/author/main.js +106 -0
  7. package/dist/controller/defaults.d.ts +39 -0
  8. package/dist/controller/defaults.js +42 -0
  9. package/dist/controller/index.d.ts +25 -0
  10. package/dist/controller/index.js +107 -0
  11. package/dist/controller/utils.d.ts +9 -0
  12. package/dist/controller/utils.js +4 -0
  13. package/dist/delivery/index.d.ts +23 -0
  14. package/dist/delivery/index.js +96 -0
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.iife.d.ts +8 -0
  17. package/dist/index.iife.js +145 -0
  18. package/dist/index.js +2 -0
  19. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  20. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +12 -0
  21. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  22. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  23. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  24. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  25. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  26. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  27. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +9 -0
  28. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +14 -0
  29. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  30. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  31. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  32. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  33. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  34. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  35. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  36. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  37. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  38. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +12 -0
  39. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  40. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +13 -0
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +6 -0
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +14 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +8 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js +16 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +6 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  64. package/dist/print/index.d.ts +24 -0
  65. package/dist/print/index.js +84 -0
  66. package/package.json +58 -21
  67. package/CHANGELOG.md +0 -1431
  68. package/LICENSE.md +0 -5
  69. package/README.md +0 -3
  70. package/configure/CHANGELOG.md +0 -1085
  71. package/configure/lib/defaults.js +0 -271
  72. package/configure/lib/defaults.js.map +0 -1
  73. package/configure/lib/index.js +0 -150
  74. package/configure/lib/index.js.map +0 -1
  75. package/configure/lib/main.js +0 -172
  76. package/configure/lib/main.js.map +0 -1
  77. package/configure/package.json +0 -27
  78. package/configure/src/__tests__/index.test.js +0 -94
  79. package/configure/src/__tests__/main.test.jsx +0 -140
  80. package/configure/src/defaults.js +0 -213
  81. package/configure/src/index.js +0 -169
  82. package/configure/src/main.jsx +0 -162
  83. package/controller/CHANGELOG.md +0 -928
  84. package/controller/lib/defaults.js +0 -42
  85. package/controller/lib/defaults.js.map +0 -1
  86. package/controller/lib/index.js +0 -239
  87. package/controller/lib/index.js.map +0 -1
  88. package/controller/lib/utils.js +0 -11
  89. package/controller/lib/utils.js.map +0 -1
  90. package/controller/package.json +0 -16
  91. package/controller/src/__tests__/index.test.js +0 -55
  92. package/controller/src/defaults.js +0 -39
  93. package/controller/src/index.js +0 -220
  94. package/controller/src/utils.js +0 -3
  95. package/docs/config-schema.json +0 -4255
  96. package/docs/config-schema.json.md +0 -3162
  97. package/docs/demo/config.js +0 -8
  98. package/docs/demo/generate.js +0 -196
  99. package/docs/demo/index.html +0 -1
  100. package/docs/demo/session.js +0 -6
  101. package/docs/pie-schema.json +0 -3302
  102. package/docs/pie-schema.json.md +0 -2364
  103. package/lib/index.js +0 -141
  104. package/lib/index.js.map +0 -1
  105. package/lib/print.js +0 -129
  106. package/lib/print.js.map +0 -1
  107. package/module/configure.js +0 -1
  108. package/module/controller.js +0 -262
  109. package/module/demo.js +0 -221
  110. package/module/element.js +0 -1
  111. package/module/index.html +0 -21
  112. package/module/manifest.json +0 -22
  113. package/module/print-demo.js +0 -259
  114. package/module/print.html +0 -18
  115. package/module/print.js +0 -1
  116. package/src/__tests__/index.test.js +0 -256
  117. package/src/index.js +0 -152
  118. package/src/print.js +0 -140
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ import e from "./delivery/index.js";
2
+ export { e as default };
@@ -0,0 +1,5 @@
1
+ import e from "./_root.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
3
+ var t = e.Symbol;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,12 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js
2
+ function e(e, t, n) {
3
+ switch (n.length) {
4
+ case 0: return e.call(t);
5
+ case 1: return e.call(t, n[0]);
6
+ case 2: return e.call(t, n[0], n[1]);
7
+ case 3: return e.call(t, n[0], n[1], n[2]);
8
+ }
9
+ return e.apply(t, n);
10
+ }
11
+ //#endregion
12
+ export { e as default };
@@ -0,0 +1,15 @@
1
+ import e from "./isArray.js";
2
+ import t from "./_isIndex.js";
3
+ import n from "./_baseTimes.js";
4
+ import r from "./isArguments.js";
5
+ import i from "./isBuffer.js";
6
+ import a from "./isTypedArray.js";
7
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js
8
+ var o = Object.prototype.hasOwnProperty;
9
+ function s(s, c) {
10
+ var l = e(s), u = !l && r(s), d = !l && !u && i(s), f = !l && !u && !d && a(s), p = l || u || d || f, m = p ? n(s.length, String) : [], h = m.length;
11
+ for (var g in s) (c || o.call(s, g)) && !(p && (g == "length" || d && (g == "offset" || g == "parent") || f && (g == "buffer" || g == "byteLength" || g == "byteOffset") || t(g, h))) && m.push(g);
12
+ return m;
13
+ }
14
+ //#endregion
15
+ export { s as default };
@@ -0,0 +1,10 @@
1
+ import e from "./_Symbol.js";
2
+ import t from "./_getRawTag.js";
3
+ import n from "./_objectToString.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
5
+ var r = "[object Null]", i = "[object Undefined]", a = e ? e.toStringTag : void 0;
6
+ function o(e) {
7
+ return e == null ? e === void 0 ? i : r : a && a in Object(e) ? t(e) : n(e);
8
+ }
9
+ //#endregion
10
+ export { o as default };
@@ -0,0 +1,9 @@
1
+ import e from "./_baseGetTag.js";
2
+ import t from "./isObjectLike.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
4
+ var n = "[object Arguments]";
5
+ function r(r) {
6
+ return t(r) && e(r) == n;
7
+ }
8
+ //#endregion
9
+ export { r as default };
@@ -0,0 +1,11 @@
1
+ import e from "./isObject.js";
2
+ import t from "./isFunction.js";
3
+ import n from "./_isMasked.js";
4
+ import r from "./_toSource.js";
5
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
6
+ var i = /[\\^$.*+?()[\]{}|]/g, a = /^\[object .+?Constructor\]$/, o = Function.prototype, s = Object.prototype, c = o.toString, l = s.hasOwnProperty, u = RegExp("^" + c.call(l).replace(i, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
7
+ function d(i) {
8
+ return !e(i) || n(i) ? !1 : (t(i) ? u : a).test(r(i));
9
+ }
10
+ //#endregion
11
+ export { d as default };
@@ -0,0 +1,11 @@
1
+ import e from "./_baseGetTag.js";
2
+ import t from "./isObjectLike.js";
3
+ import n from "./isLength.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
5
+ var r = "[object Arguments]", i = "[object Array]", a = "[object Boolean]", o = "[object Date]", s = "[object Error]", c = "[object Function]", l = "[object Map]", u = "[object Number]", d = "[object Object]", f = "[object RegExp]", p = "[object Set]", m = "[object String]", h = "[object WeakMap]", g = "[object ArrayBuffer]", _ = "[object DataView]", v = "[object Float32Array]", y = "[object Float64Array]", b = "[object Int8Array]", x = "[object Int16Array]", S = "[object Int32Array]", C = "[object Uint8Array]", w = "[object Uint8ClampedArray]", T = "[object Uint16Array]", E = "[object Uint32Array]", D = {};
6
+ D[v] = D[y] = D[b] = D[x] = D[S] = D[C] = D[w] = D[T] = D[E] = !0, D[r] = D[i] = D[g] = D[a] = D[_] = D[o] = D[s] = D[c] = D[l] = D[u] = D[d] = D[f] = D[p] = D[m] = D[h] = !1;
7
+ function O(r) {
8
+ return t(r) && n(r.length) && !!D[e(r)];
9
+ }
10
+ //#endregion
11
+ export { O as default };
@@ -0,0 +1,13 @@
1
+ import e from "./isObject.js";
2
+ import t from "./_isPrototype.js";
3
+ import n from "./_nativeKeysIn.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js
5
+ var r = Object.prototype.hasOwnProperty;
6
+ function i(i) {
7
+ if (!e(i)) return n(i);
8
+ var a = t(i), o = [];
9
+ for (var s in i) s == "constructor" && (a || !r.call(i, s)) || o.push(s);
10
+ return o;
11
+ }
12
+ //#endregion
13
+ export { i as default };
@@ -0,0 +1,9 @@
1
+ import e from "./identity.js";
2
+ import t from "./_setToString.js";
3
+ import n from "./_overRest.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js
5
+ function r(r, i) {
6
+ return t(n(r, i, e), r + "");
7
+ }
8
+ //#endregion
9
+ export { r as default };
@@ -0,0 +1,14 @@
1
+ import e from "./identity.js";
2
+ import t from "./constant.js";
3
+ import n from "./_defineProperty.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js
5
+ var r = n ? function(e, r) {
6
+ return n(e, "toString", {
7
+ configurable: !0,
8
+ enumerable: !1,
9
+ value: t(r),
10
+ writable: !0
11
+ });
12
+ } : e;
13
+ //#endregion
14
+ export { r as default };
@@ -0,0 +1,7 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
2
+ function e(e, t) {
3
+ for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
4
+ return r;
5
+ }
6
+ //#endregion
7
+ export { e as default };
@@ -0,0 +1,8 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
2
+ function e(e) {
3
+ return function(t) {
4
+ return e(t);
5
+ };
6
+ }
7
+ //#endregion
8
+ export { e as default };
@@ -0,0 +1,5 @@
1
+ import e from "./_root.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
3
+ var t = e["__core-js_shared__"];
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,10 @@
1
+ import e from "./_getNative.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js
3
+ var t = function() {
4
+ try {
5
+ var t = e(Object, "defineProperty");
6
+ return t({}, "", {}), t;
7
+ } catch {}
8
+ }();
9
+ //#endregion
10
+ export { t as default };
@@ -0,0 +1,4 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
2
+ var e = typeof global == "object" && global && global.Object === Object && global;
3
+ //#endregion
4
+ export { e as default };
@@ -0,0 +1,9 @@
1
+ import e from "./_baseIsNative.js";
2
+ import t from "./_getValue.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
4
+ function n(n, r) {
5
+ var i = t(n, r);
6
+ return e(i) ? i : void 0;
7
+ }
8
+ //#endregion
9
+ export { n as default };
@@ -0,0 +1,14 @@
1
+ import e from "./_Symbol.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
3
+ var t = Object.prototype, n = t.hasOwnProperty, r = t.toString, i = e ? e.toStringTag : void 0;
4
+ function a(e) {
5
+ var t = n.call(e, i), a = e[i];
6
+ try {
7
+ e[i] = void 0;
8
+ var o = !0;
9
+ } catch {}
10
+ var s = r.call(e);
11
+ return o && (t ? e[i] = a : delete e[i]), s;
12
+ }
13
+ //#endregion
14
+ export { a as default };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
2
+ function e(e, t) {
3
+ return e?.[t];
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,8 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
2
+ var e = 9007199254740991, t = /^(?:0|[1-9]\d*)$/;
3
+ function n(n, r) {
4
+ var i = typeof n;
5
+ return r ??= e, !!r && (i == "number" || i != "symbol" && t.test(n)) && n > -1 && n % 1 == 0 && n < r;
6
+ }
7
+ //#endregion
8
+ export { n as default };
@@ -0,0 +1,12 @@
1
+ import e from "./isObject.js";
2
+ import t from "./_isIndex.js";
3
+ import n from "./eq.js";
4
+ import r from "./isArrayLike.js";
5
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js
6
+ function i(i, a, o) {
7
+ if (!e(o)) return !1;
8
+ var s = typeof a;
9
+ return (s == "number" ? r(o) && t(a, o.length) : s == "string" && a in o) ? n(o[a], i) : !1;
10
+ }
11
+ //#endregion
12
+ export { i as default };
@@ -0,0 +1,11 @@
1
+ import e from "./_coreJsData.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js
3
+ var t = function() {
4
+ var t = /[^.]+$/.exec(e && e.keys && e.keys.IE_PROTO || "");
5
+ return t ? "Symbol(src)_1." + t : "";
6
+ }();
7
+ function n(e) {
8
+ return !!t && t in e;
9
+ }
10
+ //#endregion
11
+ export { n as default };
@@ -0,0 +1,8 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
2
+ var e = Object.prototype;
3
+ function t(t) {
4
+ var n = t && t.constructor;
5
+ return t === (typeof n == "function" && n.prototype || e);
6
+ }
7
+ //#endregion
8
+ export { t as default };
@@ -0,0 +1,8 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
2
+ function e(e) {
3
+ var t = [];
4
+ if (e != null) for (var n in Object(e)) t.push(n);
5
+ return t;
6
+ }
7
+ //#endregion
8
+ export { e as default };
@@ -0,0 +1,9 @@
1
+ import e from "./_freeGlobal.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
3
+ var t = typeof exports == "object" && exports && !exports.nodeType && exports, n = t && typeof module == "object" && module && !module.nodeType && module, r = n && n.exports === t && e.process, i = function() {
4
+ try {
5
+ return n && n.require && n.require("util").types || r && r.binding && r.binding("util");
6
+ } catch {}
7
+ }();
8
+ //#endregion
9
+ export { i as default };
@@ -0,0 +1,7 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
2
+ var e = Object.prototype.toString;
3
+ function t(t) {
4
+ return e.call(t);
5
+ }
6
+ //#endregion
7
+ export { t as default };
@@ -0,0 +1,13 @@
1
+ import e from "./_apply.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js
3
+ var t = Math.max;
4
+ function n(n, r, i) {
5
+ return r = t(r === void 0 ? n.length - 1 : r, 0), function() {
6
+ for (var a = arguments, o = -1, s = t(a.length - r, 0), c = Array(s); ++o < s;) c[o] = a[r + o];
7
+ o = -1;
8
+ for (var l = Array(r + 1); ++o < r;) l[o] = a[o];
9
+ return l[r] = i(c), e(n, this, l);
10
+ };
11
+ }
12
+ //#endregion
13
+ export { n as default };
@@ -0,0 +1,5 @@
1
+ import e from "./_freeGlobal.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js
3
+ var t = typeof self == "object" && self && self.Object === Object && self, n = e || t || Function("return this")();
4
+ //#endregion
5
+ export { n as default };
@@ -0,0 +1,6 @@
1
+ import e from "./_shortOut.js";
2
+ import t from "./_baseSetToString.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js
4
+ var n = e(t);
5
+ //#endregion
6
+ export { n as default };
@@ -0,0 +1,14 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
2
+ var e = 800, t = 16, n = Date.now;
3
+ function r(r) {
4
+ var i = 0, a = 0;
5
+ return function() {
6
+ var o = n(), s = t - (o - a);
7
+ if (a = o, s > 0) {
8
+ if (++i >= e) return arguments[0];
9
+ } else i = 0;
10
+ return r.apply(void 0, arguments);
11
+ };
12
+ }
13
+ //#endregion
14
+ export { r as default };
@@ -0,0 +1,15 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
2
+ var e = Function.prototype.toString;
3
+ function t(t) {
4
+ if (t != null) {
5
+ try {
6
+ return e.call(t);
7
+ } catch {}
8
+ try {
9
+ return t + "";
10
+ } catch {}
11
+ }
12
+ return "";
13
+ }
14
+ //#endregion
15
+ export { t as default };
@@ -0,0 +1,8 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js
2
+ function e(e) {
3
+ return function() {
4
+ return e;
5
+ };
6
+ }
7
+ //#endregion
8
+ export { e as default };
@@ -0,0 +1,16 @@
1
+ import e from "./eq.js";
2
+ import t from "./_baseRest.js";
3
+ import n from "./_isIterateeCall.js";
4
+ import r from "./keysIn.js";
5
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js
6
+ var i = Object.prototype, a = i.hasOwnProperty, o = t(function(t, o) {
7
+ t = Object(t);
8
+ var s = -1, c = o.length, l = c > 2 ? o[2] : void 0;
9
+ for (l && n(o[0], o[1], l) && (c = 1); ++s < c;) for (var u = o[s], d = r(u), f = -1, p = d.length; ++f < p;) {
10
+ var m = d[f], h = t[m];
11
+ (h === void 0 || e(h, i[m]) && !a.call(t, m)) && (t[m] = u[m]);
12
+ }
13
+ return t;
14
+ });
15
+ //#endregion
16
+ export { o as default };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js
2
+ function e(e, t) {
3
+ return e === t || e !== e && t !== t;
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js
2
+ function e(e) {
3
+ return e;
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,10 @@
1
+ import e from "./isObjectLike.js";
2
+ import t from "./_baseIsArguments.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
4
+ var n = Object.prototype, r = n.hasOwnProperty, i = n.propertyIsEnumerable, a = t(function() {
5
+ return arguments;
6
+ }()) ? t : function(t) {
7
+ return e(t) && r.call(t, "callee") && !i.call(t, "callee");
8
+ };
9
+ //#endregion
10
+ export { a as default };
@@ -0,0 +1,4 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
2
+ var e = Array.isArray;
3
+ //#endregion
4
+ export { e as default };
@@ -0,0 +1,8 @@
1
+ import e from "./isFunction.js";
2
+ import t from "./isLength.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
4
+ function n(n) {
5
+ return n != null && t(n.length) && !e(n);
6
+ }
7
+ //#endregion
8
+ export { n as default };
@@ -0,0 +1,6 @@
1
+ import e from "./_root.js";
2
+ import t from "./stubFalse.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
4
+ var n = typeof exports == "object" && exports && !exports.nodeType && exports, r = n && typeof module == "object" && module && !module.nodeType && module, i = r && r.exports === n ? e.Buffer : void 0, a = (i ? i.isBuffer : void 0) || t;
5
+ //#endregion
6
+ export { a as default };
@@ -0,0 +1,11 @@
1
+ import e from "./_baseGetTag.js";
2
+ import t from "./isObject.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
4
+ var n = "[object AsyncFunction]", r = "[object Function]", i = "[object GeneratorFunction]", a = "[object Proxy]";
5
+ function o(o) {
6
+ if (!t(o)) return !1;
7
+ var s = e(o);
8
+ return s == r || s == i || s == n || s == a;
9
+ }
10
+ //#endregion
11
+ export { o as default };
@@ -0,0 +1,7 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
2
+ var e = 9007199254740991;
3
+ function t(t) {
4
+ return typeof t == "number" && t > -1 && t % 1 == 0 && t <= e;
5
+ }
6
+ //#endregion
7
+ export { t as default };
@@ -0,0 +1,7 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
2
+ function e(e) {
3
+ var t = typeof e;
4
+ return e != null && (t == "object" || t == "function");
5
+ }
6
+ //#endregion
7
+ export { e as default };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
2
+ function e(e) {
3
+ return typeof e == "object" && !!e;
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,7 @@
1
+ import e from "./_baseIsTypedArray.js";
2
+ import t from "./_baseUnary.js";
3
+ import n from "./_nodeUtil.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
5
+ var r = n && n.isTypedArray, i = r ? t(r) : e;
6
+ //#endregion
7
+ export { i as default };
@@ -0,0 +1,9 @@
1
+ import e from "./isArrayLike.js";
2
+ import t from "./_arrayLikeKeys.js";
3
+ import n from "./_baseKeysIn.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
5
+ function r(r) {
6
+ return e(r) ? t(r, !0) : n(r);
7
+ }
8
+ //#endregion
9
+ export { r as default };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
2
+ function e() {
3
+ return !1;
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @synced-from pie-elements/packages/complex-rubric/src/print.js
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ declare class ComplexRubricPrint extends HTMLElement {
10
+ constructor();
11
+ set type(t: any);
12
+ get type(): any;
13
+ set model(m: any);
14
+ setRubricModel(simpleRubric: any): void;
15
+ setMultiTraitRubricModel(multiTraitRubric: any): void;
16
+ setRubriclessModel(rubricless: any): void;
17
+ set options(o: any);
18
+ get multiTraitRubric(): Element | null;
19
+ get simpleRubric(): Element | null;
20
+ get rubricless(): Element | null;
21
+ connectedCallback(): void;
22
+ _render(): void;
23
+ }
24
+ export default ComplexRubricPrint;
@@ -0,0 +1,84 @@
1
+ import e from "@pie-element/rubric";
2
+ import t from "@pie-element/multi-trait-rubric";
3
+ import { RUBRIC_TYPES as n } from "@pie-lib/rubric";
4
+ //#region src/print/index.ts
5
+ var r = "complex-rubric-simple", i = "complex-rubric-multi-trait", a = class extends e {}, o = class extends t {}, s = {
6
+ [n.SIMPLE_RUBRIC]: `<${r} id="simpleRubric" />`,
7
+ [n.RUBRICLESS]: `<${r} id="rubricless" />`,
8
+ [n.MULTI_TRAIT_RUBRIC]: `<${i} id="multiTraitRubric" />`
9
+ }, c = (e, t) => t.role === "instructor" ? (e.mode = "evaluate", e.animationsDisabled = !0, e) : {};
10
+ customElements.get(r) || customElements.define(r, a), customElements.get(i) || customElements.define(i, o);
11
+ var l = class extends HTMLElement {
12
+ constructor() {
13
+ super(), this._model = {}, this._type = n.SIMPLE_RUBRIC, this._options = null;
14
+ }
15
+ set type(e) {
16
+ this._type = e;
17
+ }
18
+ get type() {
19
+ return this._type;
20
+ }
21
+ set model(e) {
22
+ this._model = e;
23
+ let t = this._type;
24
+ switch (this.type = e.rubricType, this._type) {
25
+ case n.SIMPLE_RUBRIC:
26
+ default:
27
+ customElements.whenDefined(r).then(() => {
28
+ this.setRubricModel(this.simpleRubric);
29
+ });
30
+ break;
31
+ case n.MULTI_TRAIT_RUBRIC:
32
+ customElements.whenDefined(i).then(() => {
33
+ this.setMultiTraitRubricModel(this.multiTraitRubric);
34
+ });
35
+ break;
36
+ case n.RUBRICLESS:
37
+ customElements.whenDefined(r).then(() => {
38
+ this.setRubriclessModel(this.rubricless);
39
+ });
40
+ break;
41
+ }
42
+ t !== this.type && this._render();
43
+ }
44
+ setRubricModel(e) {
45
+ this._model && this._model.rubrics && this._model.rubrics.simpleRubric && (e.model = c(this._model.rubrics.simpleRubric, this._options));
46
+ }
47
+ setMultiTraitRubricModel(e) {
48
+ if (this._model && this._model.rubrics && this._model.rubrics.multiTraitRubric) {
49
+ let { scales: t, excludeZero: n } = this._model.rubrics.multiTraitRubric || {}, r = (t || []).map((e) => ({
50
+ ...e,
51
+ excludeZero: n
52
+ }));
53
+ e.model = {
54
+ ...c(this._model.rubrics.multiTraitRubric, this._options),
55
+ visible: !0,
56
+ arrowsDisabled: !0,
57
+ scales: r
58
+ };
59
+ }
60
+ }
61
+ setRubriclessModel(e) {
62
+ this._model && this._model.rubrics && this._model.rubrics.rubricless && (e.model = c(this._model.rubrics.rubricless, this._options));
63
+ }
64
+ set options(e) {
65
+ this._options = e;
66
+ }
67
+ get multiTraitRubric() {
68
+ return this.querySelector(`${i}#multiTraitRubric`);
69
+ }
70
+ get simpleRubric() {
71
+ return this.querySelector(`${r}#simpleRubric`);
72
+ }
73
+ get rubricless() {
74
+ return this.querySelector(`${r}#rubricless`);
75
+ }
76
+ connectedCallback() {
77
+ this._render();
78
+ }
79
+ _render() {
80
+ this.innerHTML = s[this._type] || "";
81
+ }
82
+ };
83
+ //#endregion
84
+ export { l as default };