@springmicro/page 0.7.12 → 0.7.14
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/{ArrowDownward-BiTU5Hds.js → ArrowDownward-B2-4M8Zl.js} +17 -17
- package/dist/AutoField-Bd1adzmh.js +6 -0
- package/dist/{AutoFields-D6xiKgQ8.js → AutoFields-t99MiaSl.js} +8 -8
- package/dist/{AutoForm-C1AI8_N7.js → AutoForm-gpyAG3HN.js} +13 -13
- package/dist/{CarouselPlugin-CYhVMGwD.js → CarouselPlugin-3rSWHobz.js} +1 -1
- package/dist/{Code-ot_9KxwX.js → Code-DgL9eEA9.js} +1 -1
- package/dist/{CodeSnippet-D1YqmreG.js → CodeSnippet-CFYfBz4z.js} +490 -481
- package/dist/{ColorPicker-Bq8S0ZM-.js → ColorPicker-DFgtha0j.js} +2 -2
- package/dist/{ColorPickerField-BJ3DB-1K.js → ColorPickerField-CslDJbUx.js} +2 -2
- package/dist/{ContactFormExample-DkrOjWHW.js → ContactFormExample-ColLUS0R.js} +1 -1
- package/dist/{Controls-BVAwUVH8.js → Controls-CXi-svzc.js} +3 -3
- package/dist/{CropLandscape-DdU6VThS.js → CropLandscape-C14-24xE.js} +1 -1
- package/dist/{DailyMotion-B34u0TI0.js → DailyMotion-CoKtVnyn.js} +2 -2
- package/dist/{Error-DLgLEAzn.js → Error-DdK56mTz.js} +1 -1
- package/dist/{Facebook-8sgh5RaJ.js → Facebook-pnqa2BZ8.js} +2 -2
- package/dist/{FilePlayer-B6idb9Ou.js → FilePlayer-BUlwr77O.js} +2 -2
- package/dist/{FormatAlignCenter-BQe0pYc7.js → FormatAlignCenter-B1V_hTZG.js} +1 -1
- package/dist/{FormatAlignJustify-CQyv86j9.js → FormatAlignJustify-DGIfgUAz.js} +1 -1
- package/dist/{FormatAlignLeft-CPUDdMFn.js → FormatAlignLeft-DV3jAlbb.js} +1 -1
- package/dist/{FormatAlignRight-CvEvyxEa.js → FormatAlignRight-Cbe0v73F.js} +1 -1
- package/dist/{FormatBold-DYf64baL.js → FormatBold-D3u8ceB5.js} +1 -1
- package/dist/{FormatIndentDecrease-8iwJSeL1.js → FormatIndentDecrease-Qov8b2Yw.js} +1 -1
- package/dist/{FormatIndentIncrease-DAxwxNNO.js → FormatIndentIncrease-B3ng0Ak7.js} +1 -1
- package/dist/{FormatItalic-DLXn8ABM.js → FormatItalic-DCImSuTx.js} +1 -1
- package/dist/{FormatListBulleted-CyRLWvpI.js → FormatListBulleted-BhHVnk6V.js} +1 -1
- package/dist/{FormatListNumbered-Ba0GQHd7.js → FormatListNumbered-DahObPZg.js} +1 -1
- package/dist/{FormatQuote-BKYcZ__v.js → FormatQuote-DllUzdc3.js} +1 -1
- package/dist/{FormatUnderlined-BzvxUlZE.js → FormatUnderlined-CCqBjOiL.js} +1 -1
- package/dist/{HtmlToSlate-DU5AjQJ_.js → HtmlToSlate-CPKM42c1.js} +1 -1
- package/dist/{ImageControls-DkeNnu8I.js → ImageControls-CPNpO8Ag.js} +1 -1
- package/dist/{ImageUpload-Bias08CA.js → ImageUpload-Ct0E6e4a.js} +9 -9
- package/dist/{Kaltura-Droq_eG9.js → Kaltura-BC1FlVGf.js} +2 -2
- package/dist/{Landscape-D26jIxwc.js → Landscape-zM4qGB2N.js} +1 -1
- package/dist/{Link-C8R_c5Kc.js → Link-T4izLtUx.js} +1 -1
- package/dist/{LongTextField-CjKpKzNz.js → LongTextField-DUWTjyW2.js} +2 -2
- package/dist/{Looks3-D9ikDFam.js → Looks3-BRwq1r3G.js} +1 -1
- package/dist/{Looks4-BR5ngKW2.js → Looks4-ndA6C4cI.js} +1 -1
- package/dist/{Looks5-DJ5eZN0H.js → Looks5-B8s-nuFW.js} +1 -1
- package/dist/{Looks6-CDhYGVK_.js → Looks6-Bp7Ovoyb.js} +1 -1
- package/dist/{LooksOne-C0-BaCOV.js → LooksOne-DRDPoNHX.js} +1 -1
- package/dist/{LooksTwo-DOyKu2nG.js → LooksTwo-Bfa28Wyc.js} +1 -1
- package/dist/{Mixcloud-DwCtPjqI.js → Mixcloud-BvwxrGP8.js} +2 -2
- package/dist/{Mux-DxitFIRF.js → Mux-BDA7KixX.js} +2 -2
- package/dist/{Panorama-PQIuXOs5.js → Panorama-TluiZlt1.js} +1 -1
- package/dist/{Preview-Au8BeaCo.js → Preview-6Lp0TPgr.js} +1 -1
- package/dist/{Remove-BWHMFEii.js → Remove-BoAXgmpu.js} +1 -1
- package/dist/{Slider-DAkhCsrK.js → Slider-Bg4M8hQ3.js} +60 -60
- package/dist/{SoundCloud-DyIVI8OL.js → SoundCloud-8afYf6L1.js} +2 -2
- package/dist/{SpacerResizable-_NcdR-Mx.js → SpacerResizable-DlRtz3YE.js} +23 -23
- package/dist/{Streamable-Ch56Eptn.js → Streamable-DeIiA4CE.js} +2 -2
- package/dist/{Subject-Du1JnK1T.js → Subject-DaumtbCP.js} +1 -1
- package/dist/{TablePlugin-_nLAAXBP.js → TablePlugin-DQn94H--.js} +1 -1
- package/dist/{Twitch-CAKISnO4.js → Twitch-5Sf6KM-o.js} +2 -2
- package/dist/{Vidyard-BgGsJo8C.js → Vidyard-BieFyZYz.js} +2 -2
- package/dist/{Vimeo-D1BW-Zlg.js → Vimeo-CWUGjSrg.js} +2 -2
- package/dist/{Wistia-CHMryAGW.js → Wistia-Bn9EjJSl.js} +2 -2
- package/dist/{YouTube-BF6_Uz7x.js → YouTube-CZAsC15x.js} +2 -2
- package/dist/{forEach-CB9Ve4WI.js → forEach-DX7YEUhL.js} +1 -1
- package/dist/{index-DPB_ZMe4.js → index-Cl_BY9Zr.js} +45 -45
- package/dist/{index-DKOG2ywT.js → index-DHOttf4E.js} +16 -16
- package/dist/{index-0lvcsm3m.js → index-DZePYbRf.js} +41334 -43943
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +363 -391
- package/dist/{listUtils-Dp2_7VWS.js → listUtils-CRECurAU.js} +10 -10
- package/dist/{react-katex-CYcGk6BF.js → react-katex-rY2LbJR_.js} +2 -2
- package/package.json +4 -4
- package/dist/AutoField-BOe8c9Mj.js +0 -6
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
var
|
|
2
|
-
var Qn = (t, n, e) => n in t ?
|
|
1
|
+
var Zn = Object.defineProperty;
|
|
2
|
+
var Qn = (t, n, e) => n in t ? Zn(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
|
|
3
3
|
var M = (t, n, e) => Qn(t, typeof n != "symbol" ? n + "" : n, e);
|
|
4
|
-
import {
|
|
4
|
+
import { au as Xn, av as er, bj as tr, aw as mt, j as d, ax as nr, ay as rr, aC as ir, bk as sr, P as ee, bl as Oe, bm as L, bn as rn, bo as le, bp as ke, bq as sn, br as ar, bs as yt, bt as Fe, bu as ne, bv as _, bw as X, bx as ie, by as an, bz as on, bA as K, bB as ye, bC as Ve, bD as Re, bE as pe, bF as je, bG as ln, bH as cn, bI as It, bJ as Q, bK as dn, bL as or, bM as lr, bN as cr, bO as dr, bP as un, bQ as qe, bR as Et, bS as ur, bT as mr, bU as hr, bV as fr, X as pr, bW as yr, Y as gr, bX as xr, bY as br, bZ as Sr, b_ as Fr, b$ as At, c0 as jr, c1 as kt, c2 as Te, c3 as Cr, c4 as vr, c5 as Tr, c6 as P, c7 as Bt, c8 as Dr, U as ce, c9 as Ke, ca as Nt, cb as ht, cc as wr, cd as Or, ce as Ye, cf as Pe, cg as nt, ch as Ir, ci as Er, cj as $t, ck as Ar, cl as kr, b as mn, cm as Br, cn as J, co as ge, cp as gt, a as xt, T as ze, aM as hn, aL as fn, cq as Nr, i as $r, r as _r, aH as pn, aG as Ur, B as Rr, cr as Pr, F as bt, f as yn, aJ as St, aO as _t } from "./index-DZePYbRf.js";
|
|
5
5
|
import * as He from "react";
|
|
6
6
|
import { createElement as Wr, Component as Be, useState as gn, useCallback as V, useEffect as xn, useReducer as Lr, useMemo as Mr, createRef as Vr, forwardRef as qr } from "react";
|
|
7
|
-
import { f as Kr } from "./forEach-
|
|
8
|
-
import { d as Hr } from "./Error-
|
|
9
|
-
import { d as Yr, a as zr, F as Gr, R as
|
|
10
|
-
import { d as Qr } from "./Remove-
|
|
11
|
-
import { S as Xr } from "./Slider-
|
|
7
|
+
import { f as Kr } from "./forEach-DX7YEUhL.js";
|
|
8
|
+
import { d as Hr } from "./Error-DdK56mTz.js";
|
|
9
|
+
import { d as Yr, a as zr, F as Gr, R as Jr, b as Zr } from "./ArrowDownward-B2-4M8Zl.js";
|
|
10
|
+
import { d as Qr } from "./Remove-BoAXgmpu.js";
|
|
11
|
+
import { S as Xr } from "./Slider-Bg4M8hQ3.js";
|
|
12
12
|
const ei = ["className"], ti = (t) => {
|
|
13
13
|
const {
|
|
14
14
|
alignItems: n,
|
|
@@ -665,11 +665,11 @@ function Ct(t) {
|
|
|
665
665
|
function vt(t) {
|
|
666
666
|
return Ne(t, "title");
|
|
667
667
|
}
|
|
668
|
-
function
|
|
668
|
+
function Z(t, n = !1) {
|
|
669
669
|
const e = n ? ` ${Ae(t)}` : "";
|
|
670
670
|
return `${jt(t)} ${xe(t)} ${Ct(t)}${e}`;
|
|
671
671
|
}
|
|
672
|
-
function
|
|
672
|
+
function Je(t, n) {
|
|
673
673
|
return `${t}-${n}`;
|
|
674
674
|
}
|
|
675
675
|
function be(t, n, e) {
|
|
@@ -1329,7 +1329,7 @@ function fe() {
|
|
|
1329
1329
|
return t;
|
|
1330
1330
|
}, fe.apply(this, arguments);
|
|
1331
1331
|
}
|
|
1332
|
-
const Bi = ["children", "options"], Vt = ["allowFullScreen", "allowTransparency", "autoComplete", "autoFocus", "autoPlay", "cellPadding", "cellSpacing", "charSet", "classId", "colSpan", "contentEditable", "contextMenu", "crossOrigin", "encType", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "frameBorder", "hrefLang", "inputMode", "keyParams", "keyType", "marginHeight", "marginWidth", "maxLength", "mediaGroup", "minLength", "noValidate", "radioGroup", "readOnly", "rowSpan", "spellCheck", "srcDoc", "srcLang", "srcSet", "tabIndex", "useMap"].reduce((t, n) => (t[n.toLowerCase()] = n, t), { class: "className", for: "htmlFor" }), qt = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: " ", quot: "“" }, Ni = ["style", "script", "pre"], $i = ["src", "href", "data", "formAction", "srcDoc", "action"], _i = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, Ui = /\n{2,}$/, Kt = /^(\s*>[\s\S]*?)(?=\n\n|$)/, Ri = /^ *> ?/gm, Pi = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, Wi = /^ {2,}\n/, Li = /^(?:([-*_])( *\1){2,}) *(?:\n *)+\n/, Ht = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, Yt = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, Mi = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, Vi = /^(?:\n *)*\n/, qi = /\r\n?/g, Ki = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, Hi = /^\[\^([^\]]+)]/, Yi = /\f/g, zi = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, Gi = /^\s*?\[(x|\s)\]/, zt = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, Gt = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,
|
|
1332
|
+
const Bi = ["children", "options"], Vt = ["allowFullScreen", "allowTransparency", "autoComplete", "autoFocus", "autoPlay", "cellPadding", "cellSpacing", "charSet", "classId", "colSpan", "contentEditable", "contextMenu", "crossOrigin", "encType", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "frameBorder", "hrefLang", "inputMode", "keyParams", "keyType", "marginHeight", "marginWidth", "maxLength", "mediaGroup", "minLength", "noValidate", "radioGroup", "readOnly", "rowSpan", "spellCheck", "srcDoc", "srcLang", "srcSet", "tabIndex", "useMap"].reduce((t, n) => (t[n.toLowerCase()] = n, t), { class: "className", for: "htmlFor" }), qt = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: " ", quot: "“" }, Ni = ["style", "script", "pre"], $i = ["src", "href", "data", "formAction", "srcDoc", "action"], _i = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, Ui = /\n{2,}$/, Kt = /^(\s*>[\s\S]*?)(?=\n\n|$)/, Ri = /^ *> ?/gm, Pi = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, Wi = /^ {2,}\n/, Li = /^(?:([-*_])( *\1){2,}) *(?:\n *)+\n/, Ht = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, Yt = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, Mi = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, Vi = /^(?:\n *)*\n/, qi = /\r\n?/g, Ki = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, Hi = /^\[\^([^\]]+)]/, Yi = /\f/g, zi = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, Gi = /^\s*?\[(x|\s)\]/, zt = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, Gt = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, Jt = /^([^\n]+)\n *(=|-)\2{2,} *\n/, st = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, Ji = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, Zt = /^<!--[\s\S]*?(?:-->)/, Zi = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, at = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, Qi = /^\{.*\}$/, Xi = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, es = /^<([^ >]+[:@\/][^ >]+)>/, ts = /-([a-z])?/gi, Qt = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/, ns = /^[^\n]+(?: \n|\n{2,})/, rs = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, is = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, ss = /^\[([^\]]*)\] ?\[([^\]]*)\]/, as = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, os = /\t/g, ls = /(^ *\||\| *$)/g, cs = /^ *:-+: *$/, ds = /^ *:-+ *$/, us = /^ *-+: *$/, Ze = (t) => `(?=[\\s\\S]+?\\1${t ? "\\1" : ""})`, Qe = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)", ms = RegExp(`^([*_])\\1${Ze(1)}${Qe}\\1\\1(?!\\1)`), hs = RegExp(`^([*_])${Ze(0)}${Qe}\\1(?!\\1)`), fs = RegExp(`^(==)${Ze(0)}${Qe}\\1`), ps = RegExp(`^(~~)${Ze(0)}${Qe}\\1`), ys = /^(:[a-zA-Z0-9-_]+:)/, gs = /^\\([^0-9A-Za-z\s])/, xs = /\\([^0-9A-Za-z\s])/g, bs = /^[\s\S](?:(?! \n|[0-9]\.|http)[^=*_~\-\n:<`\\\[!])*/, Ss = /^\n+/, Fs = /^([ \t]*)/, js = /(?:^|\n)( *)$/, Tt = "(?:\\d+\\.)", Dt = "(?:[*+-])";
|
|
1333
1333
|
function En(t) {
|
|
1334
1334
|
return "( *)(" + (t === 1 ? Tt : Dt) + ") +";
|
|
1335
1335
|
}
|
|
@@ -1496,7 +1496,7 @@ function dt(t, n, e) {
|
|
|
1496
1496
|
}
|
|
1497
1497
|
function Us(t = "", n = {}) {
|
|
1498
1498
|
n.overrides = n.overrides || {}, n.namedCodesToUnicode = n.namedCodesToUnicode ? fe({}, qt, n.namedCodesToUnicode) : qt;
|
|
1499
|
-
const e = n.slugify || we, r = n.sanitizer || Bs, i = n.createElement || He.createElement, s = [Kt, Ht, Yt, n.enforceAtxHeadings ? Gt : zt,
|
|
1499
|
+
const e = n.slugify || we, r = n.sanitizer || Bs, i = n.createElement || He.createElement, s = [Kt, Ht, Yt, n.enforceAtxHeadings ? Gt : zt, Jt, Qt, _n, Un], o = [...s, ns, st, Zt, at];
|
|
1500
1500
|
function l(c, h) {
|
|
1501
1501
|
for (let y = 0; y < c.length; y++) if (c[y].test(h)) return !0;
|
|
1502
1502
|
return !1;
|
|
@@ -1533,7 +1533,7 @@ function Us(t = "", n = {}) {
|
|
|
1533
1533
|
const v = S.indexOf("=");
|
|
1534
1534
|
if (v !== -1) {
|
|
1535
1535
|
const C = function(T) {
|
|
1536
|
-
return T.indexOf("-") !== -1 && T.match(
|
|
1536
|
+
return T.indexOf("-") !== -1 && T.match(Zi) === null && (T = T.replace(ts, function(k, A) {
|
|
1537
1537
|
return A.toUpperCase();
|
|
1538
1538
|
})), T;
|
|
1539
1539
|
}(S.slice(0, v)).trim(), D = function(T) {
|
|
@@ -1589,7 +1589,7 @@ function Us(t = "", n = {}) {
|
|
|
1589
1589
|
const h = c.indexOf(`
|
|
1590
1590
|
`);
|
|
1591
1591
|
return h > 0 && h < c.length - 1 && (c[h + 1] === "=" || c[h + 1] === "-");
|
|
1592
|
-
}, o: re(
|
|
1592
|
+
}, o: re(Jt), i: 1, u: (c, h, y) => ({ children: Me(h, c[1], y), level: c[2] === "=" ? 1 : 2, type: "9" }) }, 11: { t: ["<"], o: Ue(st), i: 1, u(c, h, y) {
|
|
1593
1593
|
const [, x] = c[3].match(Fs), S = RegExp("^" + x, "gm"), v = c[3].replace(S, ""), C = l(o, v) ? $s : Me, D = c[1].toLowerCase(), O = Ni.indexOf(D) !== -1, I = (O ? D : c[1]).trim(), T = { attrs: u(I, c[2]), noInnerParse: O, tag: I };
|
|
1594
1594
|
if (y.inAnchor = y.inAnchor || D === "a", O) T.text = c[3];
|
|
1595
1595
|
else {
|
|
@@ -1600,7 +1600,7 @@ function Us(t = "", n = {}) {
|
|
|
1600
1600
|
}, l: (c, h, y) => a(c.tag, fe({ key: y.key }, c.attrs), c.text || (c.children ? h(c.children, y) : "")) }, 13: { t: ["<"], o: Ue(at), i: 1, u(c) {
|
|
1601
1601
|
const h = c[1].trim();
|
|
1602
1602
|
return { attrs: u(h, c[2] || ""), tag: h };
|
|
1603
|
-
}, l: (c, h, y) => a(c.tag, fe({}, c.attrs, { key: y.key })) }, 12: { t: ["<!--"], o: Ue(
|
|
1603
|
+
}, l: (c, h, y) => a(c.tag, fe({}, c.attrs, { key: y.key })) }, 12: { t: ["<!--"], o: Ue(Zt), i: 1, u: () => ({}), l: ct }, 14: { t: ["!["], o: ae(Os), i: 1, u: (c) => ({ alt: te(c[1]), target: te(c[2]), title: te(c[3]) }), l: (c, h, y) => a("img", { key: y.key, alt: c.alt || void 0, title: c.title || void 0, src: r(c.target, "img", "src") }) }, 15: { t: ["["], o: me(ws), i: 3, u: (c, h, y) => ({ children: Ns(h, c[1], y), target: te(c[2]), title: te(c[3]) }), l: (c, h, y) => a("a", { key: y.key, href: r(c.target, "a", "href"), title: c.title }, h(c.children, y)) }, 16: { t: ["<"], o: me(es), i: 0, u(c) {
|
|
1604
1604
|
let h = c[1], y = !1;
|
|
1605
1605
|
return h.indexOf("@") !== -1 && h.indexOf("//") === -1 && (y = !0, h = h.replace("mailto:", "")), { children: [{ text: h, type: "27" }], target: y ? "mailto:" + h : h, type: "15" };
|
|
1606
1606
|
} }, 17: { t: (c, h) => !h.inAnchor && !n.disableAutoLink && (Le(c, "http://") || Le(c, "https://")), o: me(Xi), i: 0, u: (c) => ({ children: [{ text: c[1], type: "27" }], target: c[1], title: void 0, type: "15" }) }, 20: Xt(a, 1), 33: Xt(a, 2), 19: { t: [`
|
|
@@ -1634,7 +1634,7 @@ function Us(t = "", n = {}) {
|
|
|
1634
1634
|
return Le(c, ":") && (y = ys.exec(c)), y || bs.exec(c);
|
|
1635
1635
|
}), i: 4, u(c) {
|
|
1636
1636
|
const h = c[0];
|
|
1637
|
-
return { text: h.indexOf("&") === -1 ? h : h.replace(
|
|
1637
|
+
return { text: h.indexOf("&") === -1 ? h : h.replace(Ji, (y, x) => n.namedCodesToUnicode[x] || y) };
|
|
1638
1638
|
}, l: (c) => c.text }, 28: { t: ["**", "__"], o: ae(ms), i: 2, u: (c, h, y) => ({ children: h(c[2], y) }), l: (c, h, y) => a("strong", { key: y.key }, h(c.children, y)) }, 29: { t: (c) => {
|
|
1639
1639
|
const h = c[0];
|
|
1640
1640
|
return (h === "*" || h === "_") && c[1] !== h;
|
|
@@ -1887,7 +1887,7 @@ function Ls(t, n, e, r) {
|
|
|
1887
1887
|
};
|
|
1888
1888
|
}
|
|
1889
1889
|
function Ms(t) {
|
|
1890
|
-
const { schema: n, idSchema: e, uiSchema: r, formData: i, errorSchema: s, idPrefix: o, idSeparator: l, name: a, onChange: m, onKeyChange: u, onDropPropertyClick: f, required: p, registry: g, wasPropertyKeyModified: F = !1 } = t, { formContext: j, schemaUtils: b, globalUiOptions: c } = g, h = L(r, c), y = N("FieldTemplate", g, h), x = N("DescriptionFieldTemplate", g, h), S = N("FieldHelpTemplate", g, h), v = N("FieldErrorTemplate", g, h), C = b.retrieveSchema(n, i), D = e[Ve], O = Fe(b.toIdSchema(C, D, i, o, l), e), I = V((ue, Gn,
|
|
1890
|
+
const { schema: n, idSchema: e, uiSchema: r, formData: i, errorSchema: s, idPrefix: o, idSeparator: l, name: a, onChange: m, onKeyChange: u, onDropPropertyClick: f, required: p, registry: g, wasPropertyKeyModified: F = !1 } = t, { formContext: j, schemaUtils: b, globalUiOptions: c } = g, h = L(r, c), y = N("FieldTemplate", g, h), x = N("DescriptionFieldTemplate", g, h), S = N("FieldHelpTemplate", g, h), v = N("FieldErrorTemplate", g, h), C = b.retrieveSchema(n, i), D = e[Ve], O = Fe(b.toIdSchema(C, D, i, o, l), e), I = V((ue, Gn, Jn) => m(ue, Gn, Jn || D), [D, m]), T = Ls(C, h, O, g), k = !!(h.disabled ?? t.disabled), A = !!(h.readonly ?? (t.readonly || t.schema.readOnly || C.readOnly)), $ = h.hideError, E = $ === void 0 ? t.hideError : !!$, w = !!(h.autofocus ?? t.autofocus);
|
|
1891
1891
|
if (Object.keys(C).length === 0)
|
|
1892
1892
|
return null;
|
|
1893
1893
|
const R = b.getDisplayLabel(C, r, c), { __errors: W, ...q } = s || {}, U = ht(r, ["ui:classNames", "classNames", "ui:style"]);
|
|
@@ -1983,14 +1983,14 @@ function Gs(t) {
|
|
|
1983
1983
|
const { canAdd: n, className: e, disabled: r, idSchema: i, uiSchema: s, items: o, onAddClick: l, readonly: a, registry: m, required: u, schema: f, title: p } = t, g = L(s), F = N("ArrayFieldDescriptionTemplate", m, g), j = N("ArrayFieldItemTemplate", m, g), b = N("ArrayFieldTitleTemplate", m, g), { ButtonTemplates: { AddButton: c } } = m.templates;
|
|
1984
1984
|
return d.jsxs("fieldset", { className: e, id: i.$id, children: [d.jsx(b, { idSchema: i, title: g.title || p, required: u, schema: f, uiSchema: s, registry: m }), d.jsx(F, { idSchema: i, description: g.description || f.description, schema: f, uiSchema: s, registry: m }), d.jsx("div", { className: "row array-item-list", children: o && o.map(({ key: h, ...y }) => d.jsx(j, { ...y }, h)) }), n && d.jsx(c, { className: "array-item-add", onClick: l, disabled: r || a, uiSchema: s, registry: m })] });
|
|
1985
1985
|
}
|
|
1986
|
-
function
|
|
1986
|
+
function Js(t) {
|
|
1987
1987
|
const { idSchema: n, title: e, schema: r, uiSchema: i, required: s, registry: o } = t, l = L(i, o.globalUiOptions), { label: a = !0 } = l;
|
|
1988
1988
|
if (!e || !a)
|
|
1989
1989
|
return null;
|
|
1990
1990
|
const m = N("TitleFieldTemplate", o, l);
|
|
1991
1991
|
return d.jsx(m, { id: vt(n), title: e, required: s, schema: r, uiSchema: i, registry: o });
|
|
1992
1992
|
}
|
|
1993
|
-
function
|
|
1993
|
+
function Zs(t) {
|
|
1994
1994
|
const {
|
|
1995
1995
|
id: n,
|
|
1996
1996
|
name: e,
|
|
@@ -2025,7 +2025,7 @@ function Js(t) {
|
|
|
2025
2025
|
let v;
|
|
2026
2026
|
S.type === "number" || S.type === "integer" ? v = r || r === 0 ? r : "" : v = r ?? "";
|
|
2027
2027
|
const C = V(({ target: { value: I } }) => m(I === "" ? f.emptyValue : I), [m, f]), D = V(({ target: I }) => l(n, I && I.value), [l, n]), O = V(({ target: I }) => a(n, I && I.value), [a, n]);
|
|
2028
|
-
return d.jsxs(d.Fragment, { children: [d.jsx("input", { id: n, name: n, className: "form-control", readOnly: i, disabled: s, autoFocus: o, value: v, ...S, list: p.examples ? Ae(n) : void 0, onChange: u || C, onBlur: D, onFocus: O, "aria-describedby":
|
|
2028
|
+
return d.jsxs(d.Fragment, { children: [d.jsx("input", { id: n, name: n, className: "form-control", readOnly: i, disabled: s, autoFocus: o, value: v, ...S, list: p.examples ? Ae(n) : void 0, onChange: u || C, onBlur: D, onFocus: O, "aria-describedby": Z(n, !!p.examples) }), Array.isArray(p.examples) && d.jsx("datalist", { id: Ae(n), children: p.examples.concat(p.default && !p.examples.includes(p.default) ? [p.default] : []).map((I) => d.jsx("option", { value: I }, I)) }, `datalist_${n}`)] });
|
|
2029
2029
|
}
|
|
2030
2030
|
function Qs({ uiSchema: t }) {
|
|
2031
2031
|
const { submitText: n, norender: e, props: r = {} } = On(t);
|
|
@@ -2120,9 +2120,9 @@ function ya() {
|
|
|
2120
2120
|
ArrayFieldDescriptionTemplate: Ys,
|
|
2121
2121
|
ArrayFieldItemTemplate: zs,
|
|
2122
2122
|
ArrayFieldTemplate: Gs,
|
|
2123
|
-
ArrayFieldTitleTemplate:
|
|
2123
|
+
ArrayFieldTitleTemplate: Js,
|
|
2124
2124
|
ButtonTemplates: ia(),
|
|
2125
|
-
BaseInputTemplate:
|
|
2125
|
+
BaseInputTemplate: Zs,
|
|
2126
2126
|
DescriptionFieldTemplate: sa,
|
|
2127
2127
|
ErrorListTemplate: aa,
|
|
2128
2128
|
FieldTemplate: la,
|
|
@@ -2139,7 +2139,7 @@ function ga(t) {
|
|
|
2139
2139
|
}
|
|
2140
2140
|
function xa({ type: t, range: n, value: e, select: r, rootId: i, name: s, disabled: o, readonly: l, autofocus: a, registry: m, onBlur: u, onFocus: f }) {
|
|
2141
2141
|
const p = i + "_" + t, { SelectWidget: g } = m.widgets;
|
|
2142
|
-
return d.jsx(g, { schema: { type: "integer" }, id: p, name: s, className: "form-control", options: { enumOptions: Cn(n[0], n[1]) }, placeholder: t, value: e, disabled: o, readonly: l, autofocus: a, onChange: (F) => r(t, F), onBlur: u, onFocus: f, registry: m, label: "", "aria-describedby":
|
|
2142
|
+
return d.jsx(g, { schema: { type: "integer" }, id: p, name: s, className: "form-control", options: { enumOptions: Cn(n[0], n[1]) }, placeholder: t, value: e, disabled: o, readonly: l, autofocus: a, onChange: (F) => r(t, F), onBlur: u, onFocus: f, registry: m, label: "", "aria-describedby": Z(i) });
|
|
2143
2143
|
}
|
|
2144
2144
|
function ba({ time: t = !1, disabled: n = !1, readonly: e = !1, autofocus: r = !1, options: i, id: s, name: o, registry: l, onBlur: a, onFocus: m, onChange: u, value: f }) {
|
|
2145
2145
|
const { translateString: p } = l, [g, F] = gn(f), [j, b] = Lr((x, S) => ({ ...x, ...S }), it(f, t));
|
|
@@ -2165,14 +2165,14 @@ function Sa({ time: t = !0, ...n }) {
|
|
|
2165
2165
|
}
|
|
2166
2166
|
function Fa({ schema: t, uiSchema: n, options: e, id: r, value: i, disabled: s, readonly: o, label: l, hideLabel: a, autofocus: m = !1, onBlur: u, onFocus: f, onChange: p, registry: g }) {
|
|
2167
2167
|
const F = N("DescriptionFieldTemplate", g, e), j = Ie(t), b = V((x) => p(x.target.checked), [p]), c = V((x) => u(r, x.target.checked), [u, r]), h = V((x) => f(r, x.target.checked), [f, r]), y = e.description ?? t.description;
|
|
2168
|
-
return d.jsxs("div", { className: `checkbox ${s || o ? "disabled" : ""}`, children: [!a && !!y && d.jsx(F, { id: xe(r), description: y, schema: t, uiSchema: n, registry: g }), d.jsxs("label", { children: [d.jsx("input", { type: "checkbox", id: r, name: r, checked: typeof i > "u" ? !1 : i, required: j, disabled: s || o, autoFocus: m, onChange: b, onBlur: c, onFocus: h, "aria-describedby":
|
|
2168
|
+
return d.jsxs("div", { className: `checkbox ${s || o ? "disabled" : ""}`, children: [!a && !!y && d.jsx(F, { id: xe(r), description: y, schema: t, uiSchema: n, registry: g }), d.jsxs("label", { children: [d.jsx("input", { type: "checkbox", id: r, name: r, checked: typeof i > "u" ? !1 : i, required: j, disabled: s || o, autoFocus: m, onChange: b, onBlur: c, onFocus: h, "aria-describedby": Z(r) }), be(d.jsx("span", { children: l }), a)] })] });
|
|
2169
2169
|
}
|
|
2170
2170
|
function ja({ id: t, disabled: n, options: { inline: e = !1, enumOptions: r, enumDisabled: i, emptyValue: s }, value: o, autofocus: l = !1, readonly: a, onChange: m, onBlur: u, onFocus: f }) {
|
|
2171
2171
|
const p = Array.isArray(o) ? o : [o], g = V(({ target: j }) => u(t, z(j && j.value, r, s)), [u, t]), F = V(({ target: j }) => f(t, z(j && j.value, r, s)), [f, t]);
|
|
2172
2172
|
return d.jsx("div", { className: "checkboxes", id: t, children: Array.isArray(r) && r.map((j, b) => {
|
|
2173
2173
|
const c = Ge(j.value, p), h = Array.isArray(i) && i.indexOf(j.value) !== -1, y = n || h || a ? "disabled" : "", x = (v) => {
|
|
2174
2174
|
v.target.checked ? m(Tn(b, p, r)) : m(vn(b, p, r));
|
|
2175
|
-
}, S = d.jsxs("span", { children: [d.jsx("input", { type: "checkbox", id:
|
|
2175
|
+
}, S = d.jsxs("span", { children: [d.jsx("input", { type: "checkbox", id: Je(t, b), name: t, checked: c, value: String(b), disabled: n || h || a, autoFocus: l && b === 0, onChange: x, onBlur: g, onFocus: F, "aria-describedby": Z(t) }), d.jsx("span", { children: j.label })] });
|
|
2176
2176
|
return e ? d.jsx("label", { className: `checkbox-inline ${y}`, children: S }, b) : d.jsx("div", { className: `checkbox ${y}`, children: d.jsx("label", { children: S }) }, b);
|
|
2177
2177
|
}) });
|
|
2178
2178
|
}
|
|
@@ -2276,7 +2276,7 @@ function $a(t) {
|
|
|
2276
2276
|
function _a({ options: t, value: n, required: e, disabled: r, readonly: i, autofocus: s = !1, onBlur: o, onFocus: l, onChange: a, id: m }) {
|
|
2277
2277
|
const { enumOptions: u, enumDisabled: f, inline: p, emptyValue: g } = t, F = V(({ target: b }) => o(m, z(b && b.value, u, g)), [o, m]), j = V(({ target: b }) => l(m, z(b && b.value, u, g)), [l, m]);
|
|
2278
2278
|
return d.jsx("div", { className: "field-radio-group", id: m, children: Array.isArray(u) && u.map((b, c) => {
|
|
2279
|
-
const h = Ge(b.value, n), y = Array.isArray(f) && f.indexOf(b.value) !== -1, x = r || y || i ? "disabled" : "", S = () => a(b.value), v = d.jsxs("span", { children: [d.jsx("input", { type: "radio", id:
|
|
2279
|
+
const h = Ge(b.value, n), y = Array.isArray(f) && f.indexOf(b.value) !== -1, x = r || y || i ? "disabled" : "", S = () => a(b.value), v = d.jsxs("span", { children: [d.jsx("input", { type: "radio", id: Je(m, c), checked: h, name: m, required: e, value: String(c), disabled: r || y || i, autoFocus: s && c === 0, onChange: S, onBlur: F, onFocus: j, "aria-describedby": Z(m) }), d.jsx("span", { children: b.label })] });
|
|
2280
2280
|
return p ? d.jsx("label", { className: `radio-inline ${x}`, children: v }, c) : d.jsx("div", { className: `radio ${x}`, children: d.jsx("label", { children: v }) }, c);
|
|
2281
2281
|
}) });
|
|
2282
2282
|
}
|
|
@@ -2298,14 +2298,14 @@ function Ra({ schema: t, id: n, options: e, value: r, required: i, disabled: s,
|
|
|
2298
2298
|
const C = ut(v, l);
|
|
2299
2299
|
return m(z(C, g, j));
|
|
2300
2300
|
}, [m, t, l, g, j]), x = Ft(r, g, l), S = !l && t.default === void 0;
|
|
2301
|
-
return d.jsxs("select", { id: n, name: n, multiple: l, className: "form-control", value: typeof x > "u" ? b : x, required: i, disabled: s || o, autoFocus: a, onBlur: h, onFocus: c, onChange: y, "aria-describedby":
|
|
2301
|
+
return d.jsxs("select", { id: n, name: n, multiple: l, className: "form-control", value: typeof x > "u" ? b : x, required: i, disabled: s || o, autoFocus: a, onBlur: h, onFocus: c, onChange: y, "aria-describedby": Z(n), children: [S && d.jsx("option", { value: "", children: p }), Array.isArray(g) && g.map(({ value: v, label: C }, D) => {
|
|
2302
2302
|
const O = F && F.indexOf(v) !== -1;
|
|
2303
2303
|
return d.jsx("option", { value: String(D), disabled: O, children: C }, D);
|
|
2304
2304
|
})] });
|
|
2305
2305
|
}
|
|
2306
2306
|
function Pn({ id: t, options: n = {}, placeholder: e, value: r, required: i, disabled: s, readonly: o, autofocus: l = !1, onChange: a, onBlur: m, onFocus: u }) {
|
|
2307
2307
|
const f = V(({ target: { value: F } }) => a(F === "" ? n.emptyValue : F), [a, n.emptyValue]), p = V(({ target: F }) => m(t, F && F.value), [m, t]), g = V(({ target: F }) => u(t, F && F.value), [t, u]);
|
|
2308
|
-
return d.jsx("textarea", { id: t, name: t, className: "form-control", value: r || "", placeholder: e, required: i, disabled: s, readOnly: o, autoFocus: l, rows: n.rows, onBlur: p, onFocus: g, onChange: f, "aria-describedby":
|
|
2308
|
+
return d.jsx("textarea", { id: t, name: t, className: "form-control", value: r || "", placeholder: e, required: i, disabled: s, readOnly: o, autoFocus: l, rows: n.rows, onBlur: p, onFocus: g, onChange: f, "aria-describedby": Z(t) });
|
|
2309
2309
|
}
|
|
2310
2310
|
Pn.defaultProps = {
|
|
2311
2311
|
autofocus: !1,
|
|
@@ -2819,14 +2819,14 @@ function za(t) {
|
|
|
2819
2819
|
fontWeight: "bold",
|
|
2820
2820
|
minWidth: 0
|
|
2821
2821
|
};
|
|
2822
|
-
return d.jsxs(
|
|
2822
|
+
return d.jsxs(J, { container: !0, alignItems: "center", children: [d.jsx(J, { item: !0, xs: !0, style: { overflow: "auto" }, children: d.jsx(ge, { mb: 2, children: d.jsx(gt, { elevation: 2, children: d.jsx(ge, { p: 2, children: n }) }) }) }), r && d.jsxs(J, { item: !0, children: [(o || s) && d.jsx(c, { style: y, disabled: e || p || !o, onClick: f(a, a - 1), uiSchema: g, registry: F }), (o || s) && d.jsx(b, { style: y, disabled: e || p || !s, onClick: f(a, a + 1), uiSchema: g, registry: F }), i && d.jsx(j, { style: y, disabled: e || p, onClick: m(a), uiSchema: g, registry: F }), l && d.jsx(h, { style: y, disabled: e || p, onClick: u(a), uiSchema: g, registry: F })] })] });
|
|
2823
2823
|
}
|
|
2824
2824
|
function Ga(t) {
|
|
2825
2825
|
const { canAdd: n, disabled: e, idSchema: r, uiSchema: i, items: s, onAddClick: o, readonly: l, registry: a, required: m, schema: u, title: f } = t, p = L(i), g = N("ArrayFieldDescriptionTemplate", a, p), F = N("ArrayFieldItemTemplate", a, p), j = N("ArrayFieldTitleTemplate", a, p), { ButtonTemplates: { AddButton: b } } = a.templates;
|
|
2826
|
-
return d.jsx(gt, { elevation: 2, children: d.jsxs(ge, { p: 2, children: [d.jsx(j, { idSchema: r, title: p.title || f, schema: u, uiSchema: i, required: m, registry: a }), d.jsx(g, { idSchema: r, description: p.description || u.description, schema: u, uiSchema: i, registry: a }), s && s.map(({ key: c, ...h }) => d.jsx(F, { ...h }, c)), n && d.jsx(
|
|
2826
|
+
return d.jsx(gt, { elevation: 2, children: d.jsxs(ge, { p: 2, children: [d.jsx(j, { idSchema: r, title: p.title || f, schema: u, uiSchema: i, required: m, registry: a }), d.jsx(g, { idSchema: r, description: p.description || u.description, schema: u, uiSchema: i, registry: a }), s && s.map(({ key: c, ...h }) => d.jsx(F, { ...h }, c)), n && d.jsx(J, { container: !0, justifyContent: "flex-end", children: d.jsx(J, { item: !0, children: d.jsx(ge, { mt: 2, children: d.jsx(b, { className: "array-item-add", onClick: o, disabled: e || l, uiSchema: i, registry: a }) }) }) })] }) });
|
|
2827
2827
|
}
|
|
2828
|
-
const
|
|
2829
|
-
function
|
|
2828
|
+
const Ja = ["date", "datetime-local", "file", "time"];
|
|
2829
|
+
function Za(t) {
|
|
2830
2830
|
const {
|
|
2831
2831
|
id: n,
|
|
2832
2832
|
name: e,
|
|
@@ -2854,11 +2854,11 @@ function Ja(t) {
|
|
|
2854
2854
|
registry: C,
|
|
2855
2855
|
InputLabelProps: D,
|
|
2856
2856
|
...O
|
|
2857
|
-
} = t, I = wn(h, l, c), { step: T, min: k, max: A, accept: $, ...E } = I, w = { step: T, min: k, max: A, accept: $, ...h.examples ? { list: Ae(n) } : void 0 }, R = ({ target: { value: B } }) => p(B === "" ? c.emptyValue : B), W = ({ target: B }) => F(n, B && B.value), q = ({ target: B }) => j(n, B && B.value), U =
|
|
2857
|
+
} = t, I = wn(h, l, c), { step: T, min: k, max: A, accept: $, ...E } = I, w = { step: T, min: k, max: A, accept: $, ...h.examples ? { list: Ae(n) } : void 0 }, R = ({ target: { value: B } }) => p(B === "" ? c.emptyValue : B), W = ({ target: B }) => F(n, B && B.value), q = ({ target: B }) => j(n, B && B.value), U = Ja.includes(l) ? {
|
|
2858
2858
|
...D,
|
|
2859
2859
|
shrink: !0
|
|
2860
2860
|
} : D;
|
|
2861
|
-
return d.jsxs(d.Fragment, { children: [d.jsx(xt, { id: n, name: n, placeholder: r, label: be(a || void 0, m, void 0), autoFocus: b, required: i, disabled: o || s, inputProps: w, ...E, value: f || f === 0 ? f : "", error: x.length > 0, onChange: g || R, onBlur: W, onFocus: q, InputLabelProps: U, ...O, "aria-describedby":
|
|
2861
|
+
return d.jsxs(d.Fragment, { children: [d.jsx(xt, { id: n, name: n, placeholder: r, label: be(a || void 0, m, void 0), autoFocus: b, required: i, disabled: o || s, inputProps: w, ...E, value: f || f === 0 ? f : "", error: x.length > 0, onChange: g || R, onBlur: W, onFocus: q, InputLabelProps: U, ...O, "aria-describedby": Z(n, !!h.examples) }), Array.isArray(h.examples) && d.jsx("datalist", { id: Ae(n), children: h.examples.concat(h.default && !h.examples.includes(h.default) ? [h.default] : []).map((B) => d.jsx("option", { value: B }, B)) })] });
|
|
2862
2862
|
}
|
|
2863
2863
|
function Qa(t) {
|
|
2864
2864
|
const { id: n, description: e } = t;
|
|
@@ -2916,11 +2916,11 @@ function co(t) {
|
|
|
2916
2916
|
}
|
|
2917
2917
|
function uo(t) {
|
|
2918
2918
|
const { description: n, title: e, properties: r, required: i, disabled: s, readonly: o, uiSchema: l, idSchema: a, schema: m, formData: u, onAddClick: f, registry: p } = t, g = L(l), F = N("TitleFieldTemplate", p, g), j = N("DescriptionFieldTemplate", p, g), { ButtonTemplates: { AddButton: b } } = p.templates;
|
|
2919
|
-
return d.jsxs(d.Fragment, { children: [e && d.jsx(F, { id: vt(a), title: e, required: i, schema: m, uiSchema: l, registry: p }), n && d.jsx(j, { id: xe(a), description: n, schema: m, uiSchema: l, registry: p }), d.jsxs(
|
|
2919
|
+
return d.jsxs(d.Fragment, { children: [e && d.jsx(F, { id: vt(a), title: e, required: i, schema: m, uiSchema: l, registry: p }), n && d.jsx(j, { id: xe(a), description: n, schema: m, uiSchema: l, registry: p }), d.jsxs(J, { container: !0, spacing: 2, style: { marginTop: "10px" }, children: [r.map((c, h) => (
|
|
2920
2920
|
// Remove the <Grid> if the inner element is hidden as the <Grid>
|
|
2921
2921
|
// itself would otherwise still take up space.
|
|
2922
|
-
c.hidden ? c.content : d.jsx(
|
|
2923
|
-
)), Sn(m, l, u) && d.jsx(
|
|
2922
|
+
c.hidden ? c.content : d.jsx(J, { item: !0, xs: 12, style: { marginBottom: "10px" }, children: c.content }, h)
|
|
2923
|
+
)), Sn(m, l, u) && d.jsx(J, { container: !0, justifyContent: "flex-end", children: d.jsx(J, { item: !0, children: d.jsx(b, { className: "object-property-expand", onClick: f(m), disabled: s || o, uiSchema: l, registry: p }) }) })] })] });
|
|
2924
2924
|
}
|
|
2925
2925
|
function mo({ uiSchema: t }) {
|
|
2926
2926
|
const { submitText: n, norender: e, props: r = {} } = On(t);
|
|
@@ -2939,13 +2939,13 @@ function fo(t) {
|
|
|
2939
2939
|
if (!h)
|
|
2940
2940
|
return d.jsx("div", { className: e, style: r, children: n });
|
|
2941
2941
|
const x = ({ target: S }) => a(S && S.value);
|
|
2942
|
-
return d.jsxs(
|
|
2942
|
+
return d.jsxs(J, { container: !0, alignItems: "center", spacing: 2, className: e, style: r, children: [d.jsx(J, { item: !0, xs: !0, children: d.jsx(xt, { fullWidth: !0, required: u, label: c, defaultValue: o, disabled: i || m, id: `${s}-key`, name: `${s}-key`, onBlur: m ? void 0 : x, type: "text" }) }), d.jsx(J, { item: !0, xs: !0, children: n }), d.jsx(J, { item: !0, children: d.jsx(b, { iconType: "default", style: y, disabled: i || m, onClick: l(o), uiSchema: p, registry: g }) })] }, `${s}-key`);
|
|
2943
2943
|
}
|
|
2944
2944
|
function Ln() {
|
|
2945
2945
|
return {
|
|
2946
2946
|
ArrayFieldItemTemplate: za,
|
|
2947
2947
|
ArrayFieldTemplate: Ga,
|
|
2948
|
-
BaseInputTemplate:
|
|
2948
|
+
BaseInputTemplate: Za,
|
|
2949
2949
|
ButtonTemplates: {
|
|
2950
2950
|
AddButton: Ya,
|
|
2951
2951
|
CopyButton: ro,
|
|
@@ -2968,30 +2968,30 @@ const Ao = Ln();
|
|
|
2968
2968
|
function po(t) {
|
|
2969
2969
|
var n;
|
|
2970
2970
|
const { schema: e, id: r, value: i, disabled: s, readonly: o, label: l = "", hideLabel: a, autofocus: m, onChange: u, onBlur: f, onFocus: p, registry: g, options: F, uiSchema: j } = t, b = N("DescriptionFieldTemplate", g, F), c = Ie(e), h = (v, C) => u(C), y = ({ target: v }) => f(r, v && v.value), x = ({ target: v }) => p(r, v && v.value), S = (n = F.description) !== null && n !== void 0 ? n : e.description;
|
|
2971
|
-
return d.jsxs(d.Fragment, { children: [!a && !!S && d.jsx(b, { id: xe(r), description: S, schema: e, uiSchema: j, registry: g }), d.jsx(bt, { control: d.jsx(yn, { id: r, name: r, checked: typeof i > "u" ? !1 : !!i, required: c, disabled: s || o, autoFocus: m, onChange: h, onBlur: y, onFocus: x, "aria-describedby":
|
|
2971
|
+
return d.jsxs(d.Fragment, { children: [!a && !!S && d.jsx(b, { id: xe(r), description: S, schema: e, uiSchema: j, registry: g }), d.jsx(bt, { control: d.jsx(yn, { id: r, name: r, checked: typeof i > "u" ? !1 : !!i, required: c, disabled: s || o, autoFocus: m, onChange: h, onBlur: y, onFocus: x, "aria-describedby": Z(r) }), label: be(l, a, !1) })] });
|
|
2972
2972
|
}
|
|
2973
2973
|
function yo({ label: t, hideLabel: n, id: e, disabled: r, options: i, value: s, autofocus: o, readonly: l, required: a, onChange: m, onBlur: u, onFocus: f }) {
|
|
2974
2974
|
const { enumOptions: p, enumDisabled: g, inline: F, emptyValue: j } = i, b = Array.isArray(s) ? s : [s], c = (x) => ({ target: { checked: S } }) => {
|
|
2975
2975
|
m(S ? Tn(x, b, p) : vn(x, b, p));
|
|
2976
2976
|
}, h = ({ target: x }) => u(e, z(x && x.value, p, j)), y = ({ target: x }) => f(e, z(x && x.value, p, j));
|
|
2977
2977
|
return d.jsxs(d.Fragment, { children: [be(d.jsx(St, { required: a, htmlFor: e, children: t || void 0 }), n), d.jsx(Gr, { id: e, row: !!F, children: Array.isArray(p) && p.map((x, S) => {
|
|
2978
|
-
const v = Ge(x.value, b), C = Array.isArray(g) && g.indexOf(x.value) !== -1, D = d.jsx(yn, { id:
|
|
2978
|
+
const v = Ge(x.value, b), C = Array.isArray(g) && g.indexOf(x.value) !== -1, D = d.jsx(yn, { id: Je(e, S), name: e, checked: v, disabled: r || C || l, autoFocus: o && S === 0, onChange: c(S), onBlur: h, onFocus: y, "aria-describedby": Z(e) });
|
|
2979
2979
|
return d.jsx(bt, { control: D, label: x.label }, S);
|
|
2980
2980
|
}) })] });
|
|
2981
2981
|
}
|
|
2982
2982
|
function go({ id: t, options: n, value: e, required: r, disabled: i, readonly: s, label: o, hideLabel: l, onChange: a, onBlur: m, onFocus: u }) {
|
|
2983
2983
|
var f;
|
|
2984
2984
|
const { enumOptions: p, enumDisabled: g, emptyValue: F } = n, j = (x, S) => a(z(S, p, F)), b = ({ target: x }) => m(t, z(x && x.value, p, F)), c = ({ target: x }) => u(t, z(x && x.value, p, F)), h = n ? n.inline : !1, y = (f = Ft(e, p)) !== null && f !== void 0 ? f : null;
|
|
2985
|
-
return d.jsxs(d.Fragment, { children: [be(d.jsx(St, { required: r, htmlFor: t, children: o || void 0 }), l), d.jsx(
|
|
2985
|
+
return d.jsxs(d.Fragment, { children: [be(d.jsx(St, { required: r, htmlFor: t, children: o || void 0 }), l), d.jsx(Jr, { id: t, name: t, value: y, row: h, onChange: j, onBlur: b, onFocus: c, "aria-describedby": Z(t), children: Array.isArray(p) && p.map((x, S) => {
|
|
2986
2986
|
const v = Array.isArray(g) && g.indexOf(x.value) !== -1;
|
|
2987
|
-
return d.jsx(bt, { control: d.jsx(
|
|
2987
|
+
return d.jsx(bt, { control: d.jsx(Zr, { name: t, id: Je(t, S), color: "primary" }), label: x.label, value: String(S), disabled: i || v || s }, S);
|
|
2988
2988
|
}) })] });
|
|
2989
2989
|
}
|
|
2990
2990
|
function xo(t) {
|
|
2991
2991
|
const { value: n, readonly: e, disabled: r, onBlur: i, onFocus: s, options: o, schema: l, onChange: a, required: m, label: u, hideLabel: f, id: p } = t, g = { value: n, label: u, id: p, name: p, ...Dn(l) }, F = (c, h) => {
|
|
2992
2992
|
a(h ?? o.emptyValue);
|
|
2993
2993
|
}, j = ({ target: c }) => i(p, c && c.value), b = ({ target: c }) => s(p, c && c.value);
|
|
2994
|
-
return d.jsxs(d.Fragment, { children: [be(d.jsx(St, { required: m, htmlFor: p, children: u || void 0 }), f), d.jsx(Xr, { disabled: r || e, onChange: F, onBlur: j, onFocus: b, valueLabelDisplay: "auto", ...g, "aria-describedby":
|
|
2994
|
+
return d.jsxs(d.Fragment, { children: [be(d.jsx(St, { required: m, htmlFor: p, children: u || void 0 }), f), d.jsx(Xr, { disabled: r || e, onChange: F, onBlur: j, onFocus: b, valueLabelDisplay: "auto", ...g, "aria-describedby": Z(p) })] });
|
|
2995
2995
|
}
|
|
2996
2996
|
function bo({
|
|
2997
2997
|
schema: t,
|
|
@@ -3028,7 +3028,7 @@ function bo({
|
|
|
3028
3028
|
}, SelectProps: {
|
|
3029
3029
|
...R,
|
|
3030
3030
|
multiple: f
|
|
3031
|
-
}, "aria-describedby":
|
|
3031
|
+
}, "aria-describedby": Z(n), children: [U && d.jsx(_t, { value: "", children: a }), Array.isArray(C) && C.map(({ value: B, label: Y }, H) => {
|
|
3032
3032
|
const G = Array.isArray(D) && D.indexOf(B) !== -1;
|
|
3033
3033
|
return d.jsx(_t, { value: String(H), disabled: G, children: Y }, H);
|
|
3034
3034
|
})] });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as Be, t as Fe, q as k, s as Ke } from "./index-DZePYbRf.js";
|
|
2
2
|
import X from "react";
|
|
3
3
|
function We(e, t) {
|
|
4
4
|
for (var r = 0; r < t.length; r++) {
|
|
@@ -300,7 +300,7 @@ var qt = Yt(Me), m = D, y = zt, Jt = [
|
|
|
300
300
|
canPlay: y.canPlay.youtube,
|
|
301
301
|
lazyPlayer: (0, m.lazy)(() => import(
|
|
302
302
|
/* webpackChunkName: 'reactPlayerYouTube' */
|
|
303
|
-
"./YouTube-
|
|
303
|
+
"./YouTube-CZAsC15x.js"
|
|
304
304
|
).then((e) => e.Y))
|
|
305
305
|
},
|
|
306
306
|
{
|
|
@@ -309,7 +309,7 @@ var qt = Yt(Me), m = D, y = zt, Jt = [
|
|
|
309
309
|
canPlay: y.canPlay.soundcloud,
|
|
310
310
|
lazyPlayer: (0, m.lazy)(() => import(
|
|
311
311
|
/* webpackChunkName: 'reactPlayerSoundCloud' */
|
|
312
|
-
"./SoundCloud-
|
|
312
|
+
"./SoundCloud-8afYf6L1.js"
|
|
313
313
|
).then((e) => e.S))
|
|
314
314
|
},
|
|
315
315
|
{
|
|
@@ -318,7 +318,7 @@ var qt = Yt(Me), m = D, y = zt, Jt = [
|
|
|
318
318
|
canPlay: y.canPlay.vimeo,
|
|
319
319
|
lazyPlayer: (0, m.lazy)(() => import(
|
|
320
320
|
/* webpackChunkName: 'reactPlayerVimeo' */
|
|
321
|
-
"./Vimeo-
|
|
321
|
+
"./Vimeo-CWUGjSrg.js"
|
|
322
322
|
).then((e) => e.V))
|
|
323
323
|
},
|
|
324
324
|
{
|
|
@@ -327,7 +327,7 @@ var qt = Yt(Me), m = D, y = zt, Jt = [
|
|
|
327
327
|
canPlay: y.canPlay.mux,
|
|
328
328
|
lazyPlayer: (0, m.lazy)(() => import(
|
|
329
329
|
/* webpackChunkName: 'reactPlayerMux' */
|
|
330
|
-
"./Mux-
|
|
330
|
+
"./Mux-BDA7KixX.js"
|
|
331
331
|
).then((e) => e.M))
|
|
332
332
|
},
|
|
333
333
|
{
|
|
@@ -336,7 +336,7 @@ var qt = Yt(Me), m = D, y = zt, Jt = [
|
|
|
336
336
|
canPlay: y.canPlay.facebook,
|
|
337
337
|
lazyPlayer: (0, m.lazy)(() => import(
|
|
338
338
|
/* webpackChunkName: 'reactPlayerFacebook' */
|
|
339
|
-
"./Facebook-
|
|
339
|
+
"./Facebook-pnqa2BZ8.js"
|
|
340
340
|
).then((e) => e.F))
|
|
341
341
|
},
|
|
342
342
|
{
|
|
@@ -345,7 +345,7 @@ var qt = Yt(Me), m = D, y = zt, Jt = [
|
|
|
345
345
|
canPlay: y.canPlay.streamable,
|
|
346
346
|
lazyPlayer: (0, m.lazy)(() => import(
|
|
347
347
|
/* webpackChunkName: 'reactPlayerStreamable' */
|
|
348
|
-
"./Streamable-
|
|
348
|
+
"./Streamable-DeIiA4CE.js"
|
|
349
349
|
).then((e) => e.S))
|
|
350
350
|
},
|
|
351
351
|
{
|
|
@@ -354,7 +354,7 @@ var qt = Yt(Me), m = D, y = zt, Jt = [
|
|
|
354
354
|
canPlay: y.canPlay.wistia,
|
|
355
355
|
lazyPlayer: (0, m.lazy)(() => import(
|
|
356
356
|
/* webpackChunkName: 'reactPlayerWistia' */
|
|
357
|
-
"./Wistia-
|
|
357
|
+
"./Wistia-Bn9EjJSl.js"
|
|
358
358
|
).then((e) => e.W))
|
|
359
359
|
},
|
|
360
360
|
{
|
|
@@ -363,7 +363,7 @@ var qt = Yt(Me), m = D, y = zt, Jt = [
|
|
|
363
363
|
canPlay: y.canPlay.twitch,
|
|
364
364
|
lazyPlayer: (0, m.lazy)(() => import(
|
|
365
365
|
/* webpackChunkName: 'reactPlayerTwitch' */
|
|
366
|
-
"./Twitch-
|
|
366
|
+
"./Twitch-5Sf6KM-o.js"
|
|
367
367
|
).then((e) => e.T))
|
|
368
368
|
},
|
|
369
369
|
{
|
|
@@ -372,7 +372,7 @@ var qt = Yt(Me), m = D, y = zt, Jt = [
|
|
|
372
372
|
canPlay: y.canPlay.dailymotion,
|
|
373
373
|
lazyPlayer: (0, m.lazy)(() => import(
|
|
374
374
|
/* webpackChunkName: 'reactPlayerDailyMotion' */
|
|
375
|
-
"./DailyMotion-
|
|
375
|
+
"./DailyMotion-CoKtVnyn.js"
|
|
376
376
|
).then((e) => e.D))
|
|
377
377
|
},
|
|
378
378
|
{
|
|
@@ -381,7 +381,7 @@ var qt = Yt(Me), m = D, y = zt, Jt = [
|
|
|
381
381
|
canPlay: y.canPlay.mixcloud,
|
|
382
382
|
lazyPlayer: (0, m.lazy)(() => import(
|
|
383
383
|
/* webpackChunkName: 'reactPlayerMixcloud' */
|
|
384
|
-
"./Mixcloud-
|
|
384
|
+
"./Mixcloud-BvwxrGP8.js"
|
|
385
385
|
).then((e) => e.M))
|
|
386
386
|
},
|
|
387
387
|
{
|
|
@@ -390,7 +390,7 @@ var qt = Yt(Me), m = D, y = zt, Jt = [
|
|
|
390
390
|
canPlay: y.canPlay.vidyard,
|
|
391
391
|
lazyPlayer: (0, m.lazy)(() => import(
|
|
392
392
|
/* webpackChunkName: 'reactPlayerVidyard' */
|
|
393
|
-
"./Vidyard-
|
|
393
|
+
"./Vidyard-BieFyZYz.js"
|
|
394
394
|
).then((e) => e.V))
|
|
395
395
|
},
|
|
396
396
|
{
|
|
@@ -399,7 +399,7 @@ var qt = Yt(Me), m = D, y = zt, Jt = [
|
|
|
399
399
|
canPlay: y.canPlay.kaltura,
|
|
400
400
|
lazyPlayer: (0, m.lazy)(() => import(
|
|
401
401
|
/* webpackChunkName: 'reactPlayerKaltura' */
|
|
402
|
-
"./Kaltura-
|
|
402
|
+
"./Kaltura-BC1FlVGf.js"
|
|
403
403
|
).then((e) => e.K))
|
|
404
404
|
},
|
|
405
405
|
{
|
|
@@ -409,7 +409,7 @@ var qt = Yt(Me), m = D, y = zt, Jt = [
|
|
|
409
409
|
canEnablePIP: (e) => y.canPlay.file(e) && (document.pictureInPictureEnabled || (0, m.supportsWebKitPresentationMode)()) && !y.AUDIO_EXTENSIONS.test(e),
|
|
410
410
|
lazyPlayer: (0, m.lazy)(() => import(
|
|
411
411
|
/* webpackChunkName: 'reactPlayerFilePlayer' */
|
|
412
|
-
"./FilePlayer-
|
|
412
|
+
"./FilePlayer-BUlwr77O.js"
|
|
413
413
|
).then((e) => e.F))
|
|
414
414
|
}
|
|
415
415
|
], ae = Number.isNaN || function(t) {
|
|
@@ -515,7 +515,7 @@ pr($e, {
|
|
|
515
515
|
defaultProps: () => _r,
|
|
516
516
|
propTypes: () => hr
|
|
517
517
|
});
|
|
518
|
-
var Ie = yr($e), dr = fr(Fe
|
|
518
|
+
var Ie = yr($e), dr = fr(Fe);
|
|
519
519
|
const { string: u, bool: d, number: O, array: z, oneOfType: A, shape: P, object: p, func: l, node: ne } = dr.default, hr = {
|
|
520
520
|
url: A([u, z, p]),
|
|
521
521
|
playing: d,
|
|
@@ -888,7 +888,7 @@ Dr(xe, {
|
|
|
888
888
|
var Nr = Ur(xe), w = I(X), xr = I(le), V = I(tr), ie = I(Ce), M = Ie, ke = D, kr = I(Tr);
|
|
889
889
|
const Hr = (0, ke.lazy)(() => import(
|
|
890
890
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
891
|
-
"./Preview-
|
|
891
|
+
"./Preview-6Lp0TPgr.js"
|
|
892
892
|
).then((e) => e.P)), zr = typeof window < "u" && window.document && typeof document < "u", Vr = typeof k < "u" && k.window && k.window.document, Br = Object.keys(M.propTypes), Fr = zr || Vr ? w.Suspense : () => null, E = [], Kr = (e, t) => {
|
|
893
893
|
var r;
|
|
894
894
|
return r = class extends w.Component {
|