@tempots/beatui 0.30.2 → 0.32.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/{2019-Cd9nHhvg.js → 2019-BAbSTPyW.js} +9 -10
- package/dist/2019-BMZkvreo.cjs +1 -0
- package/dist/{2020-CyKJpuK6.js → 2020-BQNEk3m-.js} +30 -31
- package/dist/2020-COaJ7nGc.cjs +1 -0
- package/dist/ar-CqAHPRKu.cjs +1 -0
- package/dist/{ar-Dz8Mg5la.js → ar-avevuYiW.js} +30 -15
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +85 -84
- package/dist/beatui.css +218 -11
- package/dist/beatui.tailwind.css +218 -11
- package/dist/de--4OtRESW.cjs +1 -0
- package/dist/{de-ToWTQGEo.js → de-Cz7ah611.js} +27 -12
- package/dist/es-CE1wRgxl.cjs +1 -0
- package/dist/{es-CruxS0Tz.js → es-CiNQQzF1.js} +27 -12
- package/dist/fa-DjuJZNLK.cjs +1 -0
- package/dist/{fa-Cf0NZLWA.js → fa-Gkt0b9XN.js} +30 -15
- package/dist/fr-DotyzMGL.cjs +1 -0
- package/dist/{fr-YKXmqMGr.js → fr-xM9p9Q6G.js} +20 -5
- package/dist/he-BQ6ygVEQ.cjs +1 -0
- package/dist/{he-D8ZOduPw.js → he-CoO6PsiS.js} +30 -15
- package/dist/hi-BCfJ0mRh.cjs +1 -0
- package/dist/{hi-CIamzVEf.js → hi-DA3-4Cdo.js} +30 -15
- package/dist/index-1_pssujS.cjs +8 -0
- package/dist/index-B4irUWVb.cjs +34 -0
- package/dist/index-BI5w0jSz.js +2707 -0
- package/dist/index-Bv2gn_kV.cjs +4 -0
- package/dist/index-CDOHHPwQ.js +14275 -0
- package/dist/{index-O9BwR_8P.cjs → index-CFh4D56e.cjs} +1 -1
- package/dist/index-CKyH3jwP.cjs +1 -0
- package/dist/index-Caetcp0r.js +68 -0
- package/dist/{index-DDpjzV7E.js → index-DfmwsIle.js} +304 -307
- package/dist/{index-B2079wM-.js → index-DjShJtXp.js} +15 -15
- package/dist/index-DqeaEUPG.cjs +1 -0
- package/dist/{index-DFJed4ks.js → index-E76KKV9V.js} +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +1667 -1695
- package/dist/{it-Bn7tG_KC.js → it-EdPuWBJR.js} +29 -14
- package/dist/it-pv2Gm3jb.cjs +1 -0
- package/dist/{ja-i1ULXeiu.js → ja-BSRCR430.js} +25 -10
- package/dist/ja-CuRaPMgh.cjs +1 -0
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +1 -1
- package/dist/ko-C7YP1PL4.cjs +1 -0
- package/dist/{ko-BpKDmtvY.js → ko-Dm4oD1fh.js} +30 -15
- package/dist/markdown/index.cjs.js +1 -2
- package/dist/markdown/index.es.js +4 -420
- package/dist/modal-CepbiM3u.cjs +1 -0
- package/dist/{modal-DvGSDVSv.js → modal-eY-3j_zS.js} +14 -13
- package/dist/monaco/index.cjs.js +1 -1
- package/dist/monaco/index.es.js +1 -1
- package/dist/{nl-Cs4PDWCJ.js → nl-B0l1kdfd.js} +31 -16
- package/dist/nl-ClCD6lP-.cjs +1 -0
- package/dist/notice-Ct8ZHvwq.js +1467 -0
- package/dist/notice-cpODDUvJ.cjs +2 -0
- package/dist/{pl-BFLNf991.js → pl-DVKneBSY.js} +31 -16
- package/dist/pl-fyCkqVrr.cjs +1 -0
- package/dist/prosemirror/index.cjs.js +1 -0
- package/dist/prosemirror/index.es.js +6 -0
- package/dist/prosemirror.css +294 -0
- package/dist/pt-BHExG3lf.cjs +1 -0
- package/dist/{pt-BRZeOkcE.js → pt-Bw0sTDOX.js} +31 -16
- package/dist/{ru-KI7Gowz-.js → ru-B26VQ4f9.js} +35 -20
- package/dist/ru-PuEOLDw1.cjs +1 -0
- package/dist/styles-url-CF_019NX.js +4 -0
- package/dist/styles-url-DhmSan6u.cjs +1 -0
- package/dist/theme-B7C5kIJj.cjs +1 -0
- package/dist/theme-DsQOxXW1.js +34 -0
- package/dist/toolbar-ClJbaKID.js +118 -0
- package/dist/toolbar-kwkvH3nX.cjs +1 -0
- package/dist/tr-CI97fTpD.cjs +1 -0
- package/dist/{tr-CYk8Fua5.js → tr-DQMivdvy.js} +28 -13
- package/dist/{translations-DdNHXAWr.js → translations-1yD6Rm5l.js} +1 -1
- package/dist/translations-DQxg-W9w.cjs +1 -0
- package/dist/translations-ZB5oDFId.cjs +1 -0
- package/dist/translations-iam7PITs.js +831 -0
- package/dist/types/beatui-i18n/default.d.ts +14 -0
- package/dist/types/beatui-i18n/locales/en.d.ts +14 -0
- package/dist/types/beatui-i18n/translations.d.ts +14 -0
- package/dist/types/components/beatui.d.ts +4 -1
- package/dist/types/components/form/input/input-container.d.ts +3 -1
- package/dist/types/components/form/input/input-options.d.ts +6 -0
- package/dist/types/components/navigation/tabs/tabs.d.ts +6 -1
- package/dist/types/components/overlay/index.d.ts +1 -0
- package/dist/types/components/overlay/ribbon.d.ts +22 -0
- package/dist/types/components/prosemirror/etoolbar-button.d.ts +11 -0
- package/dist/types/components/prosemirror/etoolbar-group.d.ts +4 -0
- package/dist/types/components/prosemirror/link-control.d.ts +12 -0
- package/dist/types/components/prosemirror/prosemirror-markdown-input.d.ts +76 -0
- package/dist/types/components/prosemirror/prosemirror-toolbar.d.ts +18 -0
- package/dist/types/components/prosemirror/utils.d.ts +12 -0
- package/dist/types/components/theme/theme.d.ts +5 -2
- package/dist/types/prosemirror/index.d.ts +2 -0
- package/dist/ur-B3CiO8KH.cjs +1 -0
- package/dist/{ur-BIcZGLWt.js → ur-o3rog5MJ.js} +30 -15
- package/dist/utils-CCAYvnZh.cjs +1 -0
- package/dist/{utils-D1op9R8_.js → utils-CuD-_CDx.js} +74 -73
- package/dist/{vi-BeK62QeB.js → vi-C7cb2K_B.js} +19 -4
- package/dist/vi-FibsLfdk.cjs +1 -0
- package/dist/zh-BtSj_Euh.cjs +1 -0
- package/dist/{zh-Dt6yWDu2.js → zh-NGrfqAHM.js} +32 -17
- package/package.json +20 -13
- package/dist/2019-Bl1mhxeM.cjs +0 -1
- package/dist/2020-BKqFJLj6.cjs +0 -1
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +0 -1
- package/dist/apl-B2DGVGxc.js +0 -76
- package/dist/apl-M-DNMvvR.cjs +0 -1
- package/dist/ar-CbsALGhG.cjs +0 -1
- package/dist/asciiarmor-2LVJmxlE.js +0 -34
- package/dist/asciiarmor-BMx3XVjX.cjs +0 -1
- package/dist/asn1-OOsVM4yU.cjs +0 -1
- package/dist/asn1-jKiBa2Ya.js +0 -95
- package/dist/asterisk-B1QUaW1C.cjs +0 -1
- package/dist/asterisk-DS281yxp.js +0 -271
- package/dist/brainfuck-BjUlYKdF.cjs +0 -1
- package/dist/brainfuck-C_p9pTT8.js +0 -34
- package/dist/clike-BEMIzMUI.cjs +0 -1
- package/dist/clike-DGTaUp48.js +0 -620
- package/dist/clojure-Ap_IXD2I.cjs +0 -1
- package/dist/clojure-CCKyeQKf.js +0 -800
- package/dist/cmake-C4D5_VmS.cjs +0 -1
- package/dist/cmake-CuaCgAKt.js +0 -28
- package/dist/cobol-BlTKFDRj.js +0 -72
- package/dist/cobol-Du-cT2hr.cjs +0 -1
- package/dist/coffeescript-BVCvwO8I.js +0 -179
- package/dist/coffeescript-DDFAj2ea.cjs +0 -1
- package/dist/commonlisp-CXBBRCTx.cjs +0 -1
- package/dist/commonlisp-D_kxz07b.js +0 -75
- package/dist/crystal-D309uH6_.js +0 -217
- package/dist/crystal-DAFWRDbh.cjs +0 -1
- package/dist/css-BkF-NPzE.js +0 -1553
- package/dist/css-DzFJyRJ8.cjs +0 -1
- package/dist/cypher-BMq4Fwjl.js +0 -68
- package/dist/cypher-BN0-oCze.cjs +0 -1
- package/dist/d-BHsqGcfm.cjs +0 -1
- package/dist/d-BZcgY6La.js +0 -127
- package/dist/de-MO-u5hoD.cjs +0 -1
- package/dist/diff-CemTHKfk.cjs +0 -1
- package/dist/diff-Cg9d_RX2.js +0 -18
- package/dist/dockerfile-BBTH3voH.cjs +0 -1
- package/dist/dockerfile-DIy8NleC.js +0 -194
- package/dist/dtd-ChoVQPwv.cjs +0 -1
- package/dist/dtd-CtLokQ-U.js +0 -84
- package/dist/dylan-QYeExnWK.js +0 -234
- package/dist/dylan-apTQIgUA.cjs +0 -1
- package/dist/ebnf-DUPDuY4r.js +0 -78
- package/dist/ebnf-LYmLy17h.cjs +0 -1
- package/dist/ecl-C7WNQq7-.cjs +0 -1
- package/dist/ecl-CiXN-g_D.js +0 -121
- package/dist/eiffel-BJThA8RG.cjs +0 -1
- package/dist/eiffel-yQhjl4T1.js +0 -110
- package/dist/elm-CNT9vbN0.js +0 -108
- package/dist/elm-CcXP9T36.cjs +0 -1
- package/dist/erlang-B6mpcObI.cjs +0 -1
- package/dist/erlang-CFOYdy9e.js +0 -487
- package/dist/es-CqkWVfis.cjs +0 -1
- package/dist/fa-DR8j7v-l.cjs +0 -1
- package/dist/factor-B-tsx9yW.cjs +0 -1
- package/dist/factor-DDOC7X6P.js +0 -65
- package/dist/fcl-BzAKklXo.cjs +0 -1
- package/dist/fcl-CPC2WYrI.js +0 -103
- package/dist/forth-BmxRyE9S.js +0 -60
- package/dist/forth-CPAzyZ_n.cjs +0 -1
- package/dist/fortran-9bvPyrOW.js +0 -442
- package/dist/fortran-DHiTlGV1.cjs +0 -1
- package/dist/fr-ClK0mWTO.cjs +0 -1
- package/dist/gas-BiPtGF2E.cjs +0 -1
- package/dist/gas-cpmYfFX2.js +0 -183
- package/dist/gherkin-CJuwpceU.js +0 -34
- package/dist/gherkin-Djo7Y51D.cjs +0 -1
- package/dist/groovy-BMVITiCm.cjs +0 -1
- package/dist/groovy-DZeT_VM-.js +0 -146
- package/dist/haskell-Bvt3Qq1t.js +0 -375
- package/dist/haskell-CngODaW-.cjs +0 -1
- package/dist/haxe-70NVW1pR.js +0 -359
- package/dist/haxe-Dyk-piTh.cjs +0 -1
- package/dist/he-DeJMBRTP.cjs +0 -1
- package/dist/hi-C9Anq8Ae.cjs +0 -1
- package/dist/http-BkLifcnL.cjs +0 -1
- package/dist/http-D9LttvKF.js +0 -44
- package/dist/idl-B6TRFYjl.js +0 -947
- package/dist/idl-FmHDmsE-.cjs +0 -1
- package/dist/index-0dpJGQbC.js +0 -94
- package/dist/index-52kzSRNb.cjs +0 -1
- package/dist/index-5a6_6F3Z.cjs +0 -6
- package/dist/index-BGHGZg_7.js +0 -552
- package/dist/index-BMn-7Ble.js +0 -1307
- package/dist/index-BR0F2BVZ.cjs +0 -1
- package/dist/index-BlCmv2EJ.cjs +0 -1
- package/dist/index-BlamLFdS.js +0 -76
- package/dist/index-By8a3eg5.cjs +0 -1
- package/dist/index-C0sjoDdy.js +0 -309
- package/dist/index-C9RMQY3t.cjs +0 -1
- package/dist/index-CDBeAhhM.js +0 -289
- package/dist/index-CH2HgQJF.cjs +0 -1
- package/dist/index-CT9YDHSn.js +0 -74
- package/dist/index-CUZnWZnQ.cjs +0 -3
- package/dist/index-CVNvgkJN.js +0 -342
- package/dist/index-C_NT6gCL.cjs +0 -1
- package/dist/index-CafCsH0Z.cjs +0 -1
- package/dist/index-Cei6J0b_.cjs +0 -8
- package/dist/index-CmcOKNW2.js +0 -302
- package/dist/index-CvpdOKX2.js +0 -136
- package/dist/index-CxE1PN5L.cjs +0 -1
- package/dist/index-D2BpI4Zz.cjs +0 -2
- package/dist/index-D40RPDMJ.cjs +0 -1
- package/dist/index-D5iq4kyE.cjs +0 -1
- package/dist/index-DFzKuRY8.cjs +0 -1
- package/dist/index-DIO9qaw5.cjs +0 -1
- package/dist/index-DIR2rO5B.cjs +0 -1
- package/dist/index-DPnQDm6f.js +0 -138
- package/dist/index-DU0jpFGR.cjs +0 -1
- package/dist/index-DUvVsNDG.cjs +0 -13
- package/dist/index-DVZnPL32.js +0 -953
- package/dist/index-DiYfLAVQ.js +0 -554
- package/dist/index-DnIheaHS.js +0 -251
- package/dist/index-Dp2K8q6O.cjs +0 -7
- package/dist/index-DrlNzz-e.js +0 -59
- package/dist/index-Dx9UDsJi.cjs +0 -1
- package/dist/index-DxY-AOQA.js +0 -157
- package/dist/index-Mmd0YHPJ.js +0 -960
- package/dist/index-NyiYUSW3.js +0 -101
- package/dist/index-alBMysbQ.js +0 -1874
- package/dist/index-lEkIbMCl.js +0 -612
- package/dist/index-qwDdlmIi.js +0 -270
- package/dist/index-x3mhc_C_.cjs +0 -1
- package/dist/it-5n3LuTHe.cjs +0 -1
- package/dist/ja-Bdp4_B8-.cjs +0 -1
- package/dist/javascript-C2yteZeJ.js +0 -691
- package/dist/javascript-DngSGg_0.cjs +0 -1
- package/dist/jinja2-DnB6dQmV.js +0 -154
- package/dist/jinja2-wbVbDTNi.cjs +0 -1
- package/dist/julia-DA67Qw9E.cjs +0 -1
- package/dist/julia-DpvXAuO6.js +0 -241
- package/dist/ko-B5SwKB-j.cjs +0 -1
- package/dist/livescript-Bg3URadp.cjs +0 -1
- package/dist/livescript-CanGTf8u.js +0 -272
- package/dist/lua-CIsxjGwi.cjs +0 -1
- package/dist/lua-XplVlWi_.js +0 -217
- package/dist/mathematica-BG089QIc.cjs +0 -1
- package/dist/mathematica-jaRHnSxC.js +0 -35
- package/dist/mbox-BctzC1hL.js +0 -76
- package/dist/mbox-CySolFFZ.cjs +0 -1
- package/dist/milkdown/index.cjs.js +0 -1
- package/dist/milkdown/index.es.js +0 -4
- package/dist/milkdown-input-Bkgdi-Bv.cjs +0 -944
- package/dist/milkdown-input-CciSI_a5.js +0 -63967
- package/dist/milkdown-url-D99P-nA-.js +0 -4
- package/dist/milkdown-url-DqoUZH3u.cjs +0 -1
- package/dist/milkdown.css +0 -1914
- package/dist/mirc-BfqEffzk.cjs +0 -1
- package/dist/mirc-CFBPAOaF.js +0 -72
- package/dist/mllike-BSnXJBGA.js +0 -272
- package/dist/mllike-QUjwI6zq.cjs +0 -1
- package/dist/modal-CAKAT7wv.cjs +0 -1
- package/dist/modelica-B6Zhcb-M.cjs +0 -1
- package/dist/modelica-vUgVs--1.js +0 -93
- package/dist/mscgen-BToym4Bs.cjs +0 -1
- package/dist/mscgen-Cpl0NYLN.js +0 -104
- package/dist/mumps-CQoS1kWX.js +0 -25
- package/dist/mumps-wfyQdxSu.cjs +0 -1
- package/dist/nginx-CwqyBUfA.cjs +0 -1
- package/dist/nginx-zDPm3Z74.js +0 -89
- package/dist/nl-Cenl4nr6.cjs +0 -1
- package/dist/notice-DBME6bFw.cjs +0 -2
- package/dist/notice-DVEacWKt.js +0 -2275
- package/dist/nsis-DPj2fUaP.cjs +0 -1
- package/dist/nsis-fePjrhq7.js +0 -62
- package/dist/ntriples-CsNjv2QF.js +0 -79
- package/dist/ntriples-DgwJmozm.cjs +0 -1
- package/dist/octave-1pkKrgAA.cjs +0 -1
- package/dist/octave-C8PmmSRH.js +0 -143
- package/dist/oz-BXOZCt0U.cjs +0 -1
- package/dist/oz-Ce8aN8oE.js +0 -151
- package/dist/pascal-De0D6mP7.js +0 -77
- package/dist/pascal-DtY2LEkJ.cjs +0 -1
- package/dist/perl-B4bSCe1C.js +0 -915
- package/dist/perl-CVDWbEju.cjs +0 -1
- package/dist/pig-D24Z8EXi.js +0 -54
- package/dist/pig-DMByOrnr.cjs +0 -1
- package/dist/pl-7xYNCk-v.cjs +0 -1
- package/dist/powershell-BaoYaFvj.cjs +0 -1
- package/dist/powershell-DkYVfTzP.js +0 -249
- package/dist/preprocess-CvkqwVNt.cjs +0 -3
- package/dist/preprocess-D898zxsP.js +0 -2295
- package/dist/properties-DXHJZ3WE.cjs +0 -1
- package/dist/properties-Dn9wna3M.js +0 -26
- package/dist/protobuf-BKhXdfH6.cjs +0 -1
- package/dist/protobuf-BPIjwpzm.js +0 -49
- package/dist/pt-DOLL0Jpj.cjs +0 -1
- package/dist/pug-CwAQJzGR.js +0 -248
- package/dist/pug-kEfRDOiF.cjs +0 -1
- package/dist/puppet-8mAyuMbW.cjs +0 -1
- package/dist/puppet-nyd4dhjf.js +0 -45
- package/dist/python-BkR3uSy8.js +0 -313
- package/dist/python-D-iU6WXz.cjs +0 -1
- package/dist/q-BPQ45Nxu.cjs +0 -1
- package/dist/q-DXjKs-tC.js +0 -83
- package/dist/r-LKEuhEGI.js +0 -104
- package/dist/r-r2_EZsON.cjs +0 -1
- package/dist/rpm-IznJm2Xc.js +0 -57
- package/dist/rpm-YK81m3qU.cjs +0 -1
- package/dist/ru-DoS9XuqG.cjs +0 -1
- package/dist/ruby-CcYfvIk6.js +0 -228
- package/dist/ruby-Cn1sFkZF.cjs +0 -1
- package/dist/sas-7E8yHoCW.js +0 -105
- package/dist/sas-DAGcJy94.cjs +0 -1
- package/dist/scheme-B0ZrbojV.cjs +0 -1
- package/dist/scheme-DjibxsNh.js +0 -124
- package/dist/shell-BMYo43V6.cjs +0 -1
- package/dist/shell-C0C2sNA_.js +0 -182
- package/dist/sieve-Bwz7vjP5.js +0 -72
- package/dist/sieve-CIYW-b_H.cjs +0 -1
- package/dist/simple-mode-B0dvCdAA.js +0 -89
- package/dist/simple-mode-BIKNPBes.cjs +0 -1
- package/dist/smalltalk-Bhddl2pB.js +0 -48
- package/dist/smalltalk-CSslY-3i.cjs +0 -1
- package/dist/solr-A1kSnAwJ.cjs +0 -1
- package/dist/solr-BNlsLglM.js +0 -41
- package/dist/sparql-DnHMBLLY.cjs +0 -1
- package/dist/sparql-FarWu_Gb.js +0 -197
- package/dist/spreadsheet-B7_BK8hB.cjs +0 -1
- package/dist/spreadsheet-C-cy4P5N.js +0 -49
- package/dist/sql-9VmIWHrZ.cjs +0 -1
- package/dist/sql-CfG5lQ3l.js +0 -282
- package/dist/stex-B4wyjEnp.cjs +0 -1
- package/dist/stex-Du4h4KAU.js +0 -129
- package/dist/stylus-CAdqWld3.js +0 -250
- package/dist/stylus-D6GYOT3Z.cjs +0 -1
- package/dist/swift-DGw6Cgu8.cjs +0 -1
- package/dist/swift-DSxqR9R6.js +0 -230
- package/dist/tcl-ByLXbQFo.cjs +0 -1
- package/dist/tcl-xfoLljhY.js +0 -81
- package/dist/textile-D1AWE-pc.js +0 -295
- package/dist/textile-iryw-lTw.cjs +0 -1
- package/dist/theme-CJVt8QIc.js +0 -34
- package/dist/theme-YS3sFklH.cjs +0 -1
- package/dist/tiddlywiki-5wqsXtSk.js +0 -155
- package/dist/tiddlywiki-D8IJz1k7.cjs +0 -1
- package/dist/tiki-C5p5KSQK.cjs +0 -1
- package/dist/tiki-__Kn3CeS.js +0 -181
- package/dist/toml-3ZsH_4Qa.cjs +0 -1
- package/dist/toml-BHiuTcfn.js +0 -49
- package/dist/tr-BVmoz40w.cjs +0 -1
- package/dist/translations-Dv56lQia.cjs +0 -1
- package/dist/troff-D-3QCOYN.cjs +0 -1
- package/dist/troff-D2UO-fKf.js +0 -35
- package/dist/ttcn-Bsa4sfRm.js +0 -123
- package/dist/ttcn-C2MXAqcM.cjs +0 -1
- package/dist/ttcn-cfg-BYqcMRxC.cjs +0 -1
- package/dist/ttcn-cfg-Bac_acMi.js +0 -88
- package/dist/turtle-DSJNatSv.cjs +0 -1
- package/dist/turtle-xwJUxoPV.js +0 -80
- package/dist/types/components/milkdown/milkdown-input.d.ts +0 -15
- package/dist/types/milkdown/index.d.ts +0 -1
- package/dist/ur-orNTOdMP.cjs +0 -1
- package/dist/utils-Dobqjl2y.cjs +0 -1
- package/dist/vb-c2kQGd6-.js +0 -74
- package/dist/vb-qzHzzvyB.cjs +0 -1
- package/dist/vbscript-1f_Dhg5H.js +0 -324
- package/dist/vbscript-CWm8v9tE.cjs +0 -1
- package/dist/velocity-D3_yAIp3.cjs +0 -1
- package/dist/velocity-DJd0pTTC.js +0 -96
- package/dist/verilog-BOhLNmQo.cjs +0 -1
- package/dist/verilog-CiS1jyi5.js +0 -262
- package/dist/vhdl-CMFbi8Im.cjs +0 -1
- package/dist/vhdl-T9HkrbI2.js +0 -106
- package/dist/vi-BWyUDP07.cjs +0 -1
- package/dist/webidl-CWb_flNk.cjs +0 -1
- package/dist/webidl-CjfDENEo.js +0 -155
- package/dist/xquery-BUQdORAS.js +0 -422
- package/dist/xquery-Cjw5fRnG.cjs +0 -1
- package/dist/yacas-C0absKBh.js +0 -73
- package/dist/yacas-urx_N5C8.cjs +0 -1
- package/dist/z80-CsG3CM6M.cjs +0 -1
- package/dist/z80-Pki2zAjW.js +0 -61
- package/dist/zh-RVJj1NQq.cjs +0 -1
- /package/dist/types/{components/milkdown/milkdown-url.d.ts → prosemirror/styles-url.d.ts} +0 -0
- /package/dist/types/{milkdown → prosemirror}/styles.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as ms } from "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { a as Se, S as de, I as Ft, c as Z, M as Yt, P as Xs, E as Ys, b as Tr, N as ds, L as Le, x as Zs, C as hs, i as Qs, A as ea, l as ta } from "./notice-Ct8ZHvwq.js";
|
|
2
|
+
import { _ as $r, X as ra, S as na, N as sa, a as ps, g as aa, t as le, u as Ve, s as Zt, z as ia, C as oa, W as ua, I as ca, K as la, r as fa, p as da, o as ha, q as pa, c as Ue, T as ma, y as ya, w as pr, v as ga, M as Xe, H as va, D as _a, A as ba, R as $a, x as wa, m as Sa, G as Pa, j as ms, O as Ea, L as Oa, b as ja } from "./utils-CuD-_CDx.js";
|
|
3
|
+
import { attr as F, Value as ne, Fragment as je, WithElement as ys, Empty as gs, html as H, When as Je, computedOf as ie, prop as ke, Use as wr, style as vs, Ensure as _s, aria as ka, on as Ge, MapSignal as Ut, Async as Ra, OnDispose as Na } from "@tempots/dom";
|
|
4
|
+
import { T as Ia, a as Sr, I as bs, B as Aa } from "./translations-iam7PITs.js";
|
|
5
5
|
import { f as Ca } from "./colors-WfmhQ5e1.js";
|
|
6
6
|
function Ta(e, t) {
|
|
7
7
|
for (var r = 0; r < t.length; r++) {
|
|
@@ -19,6 +19,9 @@ function Ta(e, t) {
|
|
|
19
19
|
}
|
|
20
20
|
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
21
21
|
}
|
|
22
|
+
function $s(e) {
|
|
23
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
24
|
+
}
|
|
22
25
|
var Ye = { exports: {} }, Qt = {}, qr;
|
|
23
26
|
function qa() {
|
|
24
27
|
return qr || (qr = 1, function(e) {
|
|
@@ -430,7 +433,7 @@ function Dr() {
|
|
|
430
433
|
}(ar)), ar;
|
|
431
434
|
}
|
|
432
435
|
var zr;
|
|
433
|
-
function
|
|
436
|
+
function G() {
|
|
434
437
|
return zr || (zr = 1, function(e) {
|
|
435
438
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.or = e.and = e.not = e.CodeGen = e.operators = e.varKinds = e.ValueScopeName = e.ValueScope = e.Scope = e.Name = e.regexpCode = e.stringify = e.getProperty = e.nil = e.strConcat = e.str = e._ = void 0;
|
|
436
439
|
const t = Mt(), r = Dr();
|
|
@@ -995,7 +998,7 @@ var J = {}, Lr;
|
|
|
995
998
|
function ee() {
|
|
996
999
|
if (Lr) return J;
|
|
997
1000
|
Lr = 1, Object.defineProperty(J, "__esModule", { value: !0 }), J.checkStrictMode = J.getErrorPath = J.Type = J.useFunc = J.setEvaluated = J.evaluatedPropsToName = J.mergeEvaluated = J.eachItem = J.unescapeJsonPointer = J.escapeJsonPointer = J.escapeFragment = J.unescapeFragment = J.schemaRefOrVal = J.schemaHasRulesButRef = J.schemaHasRules = J.checkUnknownRules = J.alwaysValidSchema = J.toHash = void 0;
|
|
998
|
-
const e =
|
|
1001
|
+
const e = G(), t = Mt();
|
|
999
1002
|
function r(_) {
|
|
1000
1003
|
const b = {};
|
|
1001
1004
|
for (const E of _)
|
|
@@ -1136,7 +1139,7 @@ var Qe = {}, Fr;
|
|
|
1136
1139
|
function Ie() {
|
|
1137
1140
|
if (Fr) return Qe;
|
|
1138
1141
|
Fr = 1, Object.defineProperty(Qe, "__esModule", { value: !0 });
|
|
1139
|
-
const e =
|
|
1142
|
+
const e = G(), t = {
|
|
1140
1143
|
// validation function arguments
|
|
1141
1144
|
data: new e.Name("data"),
|
|
1142
1145
|
// data passed to validation function
|
|
@@ -1171,7 +1174,7 @@ var Ur;
|
|
|
1171
1174
|
function Kt() {
|
|
1172
1175
|
return Ur || (Ur = 1, function(e) {
|
|
1173
1176
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
|
|
1174
|
-
const t =
|
|
1177
|
+
const t = G(), r = ee(), n = Ie();
|
|
1175
1178
|
e.keywordError = {
|
|
1176
1179
|
message: ({ keyword: f }) => (0, t.str)`must pass "${f}" keyword validation`
|
|
1177
1180
|
}, e.keyword$DataError = {
|
|
@@ -1247,7 +1250,7 @@ var Kr;
|
|
|
1247
1250
|
function Ma() {
|
|
1248
1251
|
if (Kr) return Ae;
|
|
1249
1252
|
Kr = 1, Object.defineProperty(Ae, "__esModule", { value: !0 }), Ae.boolOrEmptySchema = Ae.topBoolOrEmptySchema = void 0;
|
|
1250
|
-
const e = Kt(), t =
|
|
1253
|
+
const e = Kt(), t = G(), r = Ie(), n = {
|
|
1251
1254
|
message: "boolean schema is false"
|
|
1252
1255
|
};
|
|
1253
1256
|
function a(u) {
|
|
@@ -1276,7 +1279,7 @@ function Ma() {
|
|
|
1276
1279
|
return Ae;
|
|
1277
1280
|
}
|
|
1278
1281
|
var fe = {}, Ce = {}, Br;
|
|
1279
|
-
function
|
|
1282
|
+
function ws() {
|
|
1280
1283
|
if (Br) return Ce;
|
|
1281
1284
|
Br = 1, Object.defineProperty(Ce, "__esModule", { value: !0 }), Ce.getRules = Ce.isJSONType = void 0;
|
|
1282
1285
|
const e = ["string", "number", "integer", "boolean", "null", "object", "array"], t = new Set(e);
|
|
@@ -1302,7 +1305,7 @@ function Ss() {
|
|
|
1302
1305
|
return Ce.getRules = n, Ce;
|
|
1303
1306
|
}
|
|
1304
1307
|
var Ee = {}, Wr;
|
|
1305
|
-
function
|
|
1308
|
+
function Ss() {
|
|
1306
1309
|
if (Wr) return Ee;
|
|
1307
1310
|
Wr = 1, Object.defineProperty(Ee, "__esModule", { value: !0 }), Ee.shouldUseRule = Ee.shouldUseGroup = Ee.schemaHasRulesForType = void 0;
|
|
1308
1311
|
function e({ schema: n, self: a }, s) {
|
|
@@ -1324,7 +1327,7 @@ var Hr;
|
|
|
1324
1327
|
function Vt() {
|
|
1325
1328
|
if (Hr) return fe;
|
|
1326
1329
|
Hr = 1, Object.defineProperty(fe, "__esModule", { value: !0 }), fe.reportTypeError = fe.checkDataTypes = fe.checkDataType = fe.coerceAndCheckDataType = fe.getJSONTypes = fe.getSchemaTypes = fe.DataType = void 0;
|
|
1327
|
-
const e =
|
|
1330
|
+
const e = ws(), t = Ss(), r = Kt(), n = G(), a = ee();
|
|
1328
1331
|
var s;
|
|
1329
1332
|
(function(i) {
|
|
1330
1333
|
i[i.Correct = 0] = "Correct", i[i.Wrong = 1] = "Wrong";
|
|
@@ -1472,7 +1475,7 @@ var Ke = {}, Jr;
|
|
|
1472
1475
|
function Va() {
|
|
1473
1476
|
if (Jr) return Ke;
|
|
1474
1477
|
Jr = 1, Object.defineProperty(Ke, "__esModule", { value: !0 }), Ke.assignDefaults = void 0;
|
|
1475
|
-
const e =
|
|
1478
|
+
const e = G(), t = ee();
|
|
1476
1479
|
function r(a, s) {
|
|
1477
1480
|
const { properties: o, items: u } = a.schema;
|
|
1478
1481
|
if (s === "object" && o)
|
|
@@ -1495,11 +1498,11 @@ function Va() {
|
|
|
1495
1498
|
}
|
|
1496
1499
|
return Ke;
|
|
1497
1500
|
}
|
|
1498
|
-
var $e = {}, re = {},
|
|
1501
|
+
var $e = {}, re = {}, Gr;
|
|
1499
1502
|
function we() {
|
|
1500
|
-
if (
|
|
1501
|
-
|
|
1502
|
-
const e =
|
|
1503
|
+
if (Gr) return re;
|
|
1504
|
+
Gr = 1, Object.defineProperty(re, "__esModule", { value: !0 }), re.validateUnion = re.validateArray = re.usePattern = re.callValidateCode = re.schemaProperties = re.allSchemaProperties = re.noPropertyInData = re.propertyInData = re.isOwnProperty = re.hasPropFunc = re.reportMissingProp = re.checkMissingProp = re.checkReportMissingProp = void 0;
|
|
1505
|
+
const e = G(), t = ee(), r = Ie(), n = ee();
|
|
1503
1506
|
function a(i, c) {
|
|
1504
1507
|
const { gen: m, data: _, it: b } = i;
|
|
1505
1508
|
m.if(d(m, _, c, b.opts.ownProperties), () => {
|
|
@@ -1604,11 +1607,11 @@ function we() {
|
|
|
1604
1607
|
}
|
|
1605
1608
|
return re.validateUnion = l, re;
|
|
1606
1609
|
}
|
|
1607
|
-
var
|
|
1610
|
+
var xr;
|
|
1608
1611
|
function Da() {
|
|
1609
|
-
if (
|
|
1610
|
-
|
|
1611
|
-
const e =
|
|
1612
|
+
if (xr) return $e;
|
|
1613
|
+
xr = 1, Object.defineProperty($e, "__esModule", { value: !0 }), $e.validateKeywordUsage = $e.validSchemaType = $e.funcKeywordCode = $e.macroKeywordCode = void 0;
|
|
1614
|
+
const e = G(), t = Ie(), r = we(), n = Kt();
|
|
1612
1615
|
function a($, S) {
|
|
1613
1616
|
const { gen: w, keyword: g, schema: f, parentSchema: l, it: i } = $, c = S.macro.call(i.self, f, l, i), m = y(w, g, c);
|
|
1614
1617
|
i.opts.validateSchema !== !1 && i.self.validateSchema(c, !0);
|
|
@@ -1697,7 +1700,7 @@ var Oe = {}, Xr;
|
|
|
1697
1700
|
function za() {
|
|
1698
1701
|
if (Xr) return Oe;
|
|
1699
1702
|
Xr = 1, Object.defineProperty(Oe, "__esModule", { value: !0 }), Oe.extendSubschemaMode = Oe.extendSubschemaData = Oe.getSubschema = void 0;
|
|
1700
|
-
const e =
|
|
1703
|
+
const e = G(), t = ee();
|
|
1701
1704
|
function r(s, { keyword: o, schemaProp: u, schema: h, schemaPath: y, errSchemaPath: d, topSchemaRef: v }) {
|
|
1702
1705
|
if (o !== void 0 && h !== void 0)
|
|
1703
1706
|
throw new Error('both "keyword" and "schema" passed, only one allowed');
|
|
@@ -1750,7 +1753,7 @@ function za() {
|
|
|
1750
1753
|
return Oe.extendSubschemaMode = a, Oe;
|
|
1751
1754
|
}
|
|
1752
1755
|
var he = {}, ir, Yr;
|
|
1753
|
-
function
|
|
1756
|
+
function Ps() {
|
|
1754
1757
|
return Yr || (Yr = 1, ir = function e(t, r) {
|
|
1755
1758
|
if (t === r) return !0;
|
|
1756
1759
|
if (t && r && typeof t == "object" && typeof r == "object") {
|
|
@@ -1856,7 +1859,7 @@ var Qr;
|
|
|
1856
1859
|
function Bt() {
|
|
1857
1860
|
if (Qr) return he;
|
|
1858
1861
|
Qr = 1, Object.defineProperty(he, "__esModule", { value: !0 }), he.getSchemaRefs = he.resolveUrl = he.normalizeId = he._getFullPath = he.getFullPath = he.inlineRef = void 0;
|
|
1859
|
-
const e = ee(), t =
|
|
1862
|
+
const e = ee(), t = Ps(), r = La(), n = /* @__PURE__ */ new Set([
|
|
1860
1863
|
"type",
|
|
1861
1864
|
"format",
|
|
1862
1865
|
"pattern",
|
|
@@ -1965,7 +1968,7 @@ var en;
|
|
|
1965
1968
|
function Wt() {
|
|
1966
1969
|
if (en) return Pe;
|
|
1967
1970
|
en = 1, Object.defineProperty(Pe, "__esModule", { value: !0 }), Pe.getData = Pe.KeywordCxt = Pe.validateFunctionCode = void 0;
|
|
1968
|
-
const e = Ma(), t = Vt(), r =
|
|
1971
|
+
const e = Ma(), t = Vt(), r = Ss(), n = Vt(), a = Va(), s = Da(), o = za(), u = G(), h = Ie(), y = Bt(), d = ee(), v = Kt();
|
|
1969
1972
|
function $(O) {
|
|
1970
1973
|
if (_(O) && (E(O), m(O))) {
|
|
1971
1974
|
f(O);
|
|
@@ -1974,10 +1977,10 @@ function Wt() {
|
|
|
1974
1977
|
S(O, () => (0, e.topBoolOrEmptySchema)(O));
|
|
1975
1978
|
}
|
|
1976
1979
|
Pe.validateFunctionCode = $;
|
|
1977
|
-
function S({ gen: O, validateName: k, schema: T, schemaEnv: z, opts: W },
|
|
1980
|
+
function S({ gen: O, validateName: k, schema: T, schemaEnv: z, opts: W }, x) {
|
|
1978
1981
|
W.code.es5 ? O.func(k, (0, u._)`${h.default.data}, ${h.default.valCxt}`, z.$async, () => {
|
|
1979
|
-
O.code((0, u._)`"use strict"; ${i(T, W)}`), g(O, W), O.code(
|
|
1980
|
-
}) : O.func(k, (0, u._)`${h.default.data}, ${w(W)}`, z.$async, () => O.code(i(T, W)).code(
|
|
1982
|
+
O.code((0, u._)`"use strict"; ${i(T, W)}`), g(O, W), O.code(x);
|
|
1983
|
+
}) : O.func(k, (0, u._)`${h.default.data}, ${w(W)}`, z.$async, () => O.code(i(T, W)).code(x));
|
|
1981
1984
|
}
|
|
1982
1985
|
function w(O) {
|
|
1983
1986
|
return (0, u._)`{${h.default.instancePath}="", ${h.default.parentData}, ${h.default.parentDataProperty}, ${h.default.rootData}=${h.default.data}${O.dynamicRef ? (0, u._)`, ${h.default.dynamicAnchors}={}` : u.nil}}={}`;
|
|
@@ -2024,8 +2027,8 @@ function Wt() {
|
|
|
2024
2027
|
function b(O, k) {
|
|
2025
2028
|
const { schema: T, gen: z, opts: W } = O;
|
|
2026
2029
|
W.$comment && T.$comment && L(O), A(O), V(O);
|
|
2027
|
-
const
|
|
2028
|
-
I(O,
|
|
2030
|
+
const x = z.const("_errs", h.default.errors);
|
|
2031
|
+
I(O, x), z.var(k, (0, u._)`${x} === ${h.default.errors}`);
|
|
2029
2032
|
}
|
|
2030
2033
|
function E(O) {
|
|
2031
2034
|
(0, d.checkUnknownRules)(O), q(O);
|
|
@@ -2053,24 +2056,24 @@ function Wt() {
|
|
|
2053
2056
|
throw new Error("async schema in sync schema");
|
|
2054
2057
|
}
|
|
2055
2058
|
function L({ gen: O, schemaEnv: k, schema: T, errSchemaPath: z, opts: W }) {
|
|
2056
|
-
const
|
|
2059
|
+
const x = T.$comment;
|
|
2057
2060
|
if (W.$comment === !0)
|
|
2058
|
-
O.code((0, u._)`${h.default.self}.logger.log(${
|
|
2061
|
+
O.code((0, u._)`${h.default.self}.logger.log(${x})`);
|
|
2059
2062
|
else if (typeof W.$comment == "function") {
|
|
2060
2063
|
const ue = (0, u.str)`${z}/$comment`, be = O.scopeValue("root", { ref: k.root });
|
|
2061
|
-
O.code((0, u._)`${h.default.self}.opts.$comment(${
|
|
2064
|
+
O.code((0, u._)`${h.default.self}.opts.$comment(${x}, ${ue}, ${be}.schema)`);
|
|
2062
2065
|
}
|
|
2063
2066
|
}
|
|
2064
2067
|
function B(O) {
|
|
2065
|
-
const { gen: k, schemaEnv: T, validateName: z, ValidationError: W, opts:
|
|
2066
|
-
T.$async ? k.if((0, u._)`${h.default.errors} === 0`, () => k.return(h.default.data), () => k.throw((0, u._)`new ${W}(${h.default.vErrors})`)) : (k.assign((0, u._)`${z}.errors`, h.default.vErrors),
|
|
2068
|
+
const { gen: k, schemaEnv: T, validateName: z, ValidationError: W, opts: x } = O;
|
|
2069
|
+
T.$async ? k.if((0, u._)`${h.default.errors} === 0`, () => k.return(h.default.data), () => k.throw((0, u._)`new ${W}(${h.default.vErrors})`)) : (k.assign((0, u._)`${z}.errors`, h.default.vErrors), x.unevaluated && Q(O), k.return((0, u._)`${h.default.errors} === 0`));
|
|
2067
2070
|
}
|
|
2068
2071
|
function Q({ gen: O, evaluated: k, props: T, items: z }) {
|
|
2069
2072
|
T instanceof u.Name && O.assign((0, u._)`${k}.props`, T), z instanceof u.Name && O.assign((0, u._)`${k}.items`, z);
|
|
2070
2073
|
}
|
|
2071
2074
|
function oe(O, k, T, z) {
|
|
2072
|
-
const { gen: W, schema:
|
|
2073
|
-
if (
|
|
2075
|
+
const { gen: W, schema: x, data: ue, allErrors: be, opts: me, self: ye } = O, { RULES: ce } = ye;
|
|
2076
|
+
if (x.$ref && (me.ignoreKeywordsWithRef || !(0, d.schemaHasRulesButRef)(x, ce))) {
|
|
2074
2077
|
W.block(() => U(O, "$ref", ce.all.$ref.definition));
|
|
2075
2078
|
return;
|
|
2076
2079
|
}
|
|
@@ -2080,14 +2083,14 @@ function Wt() {
|
|
|
2080
2083
|
Me(ce.post);
|
|
2081
2084
|
});
|
|
2082
2085
|
function Me(_e) {
|
|
2083
|
-
(0, r.shouldUseGroup)(
|
|
2086
|
+
(0, r.shouldUseGroup)(x, _e) && (_e.type ? (W.if((0, n.checkDataType)(_e.type, ue, me.strictNumbers)), ae(O, _e), k.length === 1 && k[0] === _e.type && T && (W.else(), (0, n.reportTypeError)(O)), W.endIf()) : ae(O, _e), be || W.if((0, u._)`${h.default.errors} === ${z || 0}`));
|
|
2084
2087
|
}
|
|
2085
2088
|
}
|
|
2086
2089
|
function ae(O, k) {
|
|
2087
2090
|
const { gen: T, schema: z, opts: { useDefaults: W } } = O;
|
|
2088
2091
|
W && (0, a.assignDefaults)(O, k.type), T.block(() => {
|
|
2089
|
-
for (const
|
|
2090
|
-
(0, r.shouldUseRule)(z,
|
|
2092
|
+
for (const x of k.rules)
|
|
2093
|
+
(0, r.shouldUseRule)(z, x) && U(O, x.keyword, x.definition, k.type);
|
|
2091
2094
|
});
|
|
2092
2095
|
}
|
|
2093
2096
|
function te(O, k) {
|
|
@@ -2112,8 +2115,8 @@ function Wt() {
|
|
|
2112
2115
|
for (const z in T) {
|
|
2113
2116
|
const W = T[z];
|
|
2114
2117
|
if (typeof W == "object" && (0, r.shouldUseRule)(O.schema, W)) {
|
|
2115
|
-
const { type:
|
|
2116
|
-
|
|
2118
|
+
const { type: x } = W.definition;
|
|
2119
|
+
x.length && !x.some((ue) => C(k, ue)) && P(O, `missing type "${x.join(",")}" for keyword "${z}"`);
|
|
2117
2120
|
}
|
|
2118
2121
|
}
|
|
2119
2122
|
}
|
|
@@ -2195,18 +2198,18 @@ function Wt() {
|
|
|
2195
2198
|
check$data(k = u.nil, T = u.nil) {
|
|
2196
2199
|
if (!this.$data)
|
|
2197
2200
|
return;
|
|
2198
|
-
const { gen: z, schemaCode: W, schemaType:
|
|
2199
|
-
z.if((0, u.or)((0, u._)`${W} === undefined`, T)), k !== u.nil && z.assign(k, !0), (
|
|
2201
|
+
const { gen: z, schemaCode: W, schemaType: x, def: ue } = this;
|
|
2202
|
+
z.if((0, u.or)((0, u._)`${W} === undefined`, T)), k !== u.nil && z.assign(k, !0), (x.length || ue.validateSchema) && (z.elseIf(this.invalid$data()), this.$dataError(), k !== u.nil && z.assign(k, !1)), z.else();
|
|
2200
2203
|
}
|
|
2201
2204
|
invalid$data() {
|
|
2202
|
-
const { gen: k, schemaCode: T, schemaType: z, def: W, it:
|
|
2205
|
+
const { gen: k, schemaCode: T, schemaType: z, def: W, it: x } = this;
|
|
2203
2206
|
return (0, u.or)(ue(), be());
|
|
2204
2207
|
function ue() {
|
|
2205
2208
|
if (z.length) {
|
|
2206
2209
|
if (!(T instanceof u.Name))
|
|
2207
2210
|
throw new Error("ajv implementation error");
|
|
2208
2211
|
const me = Array.isArray(z) ? z : [z];
|
|
2209
|
-
return (0, u._)`${(0, n.checkDataTypes)(me, T,
|
|
2212
|
+
return (0, u._)`${(0, n.checkDataTypes)(me, T, x.opts.strictNumbers, n.DataType.Wrong)}`;
|
|
2210
2213
|
}
|
|
2211
2214
|
return u.nil;
|
|
2212
2215
|
}
|
|
@@ -2241,13 +2244,13 @@ function Wt() {
|
|
|
2241
2244
|
}
|
|
2242
2245
|
const K = /^\/(?:[^~]|~0|~1)*$/, Y = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
|
|
2243
2246
|
function X(O, { dataLevel: k, dataNames: T, dataPathArr: z }) {
|
|
2244
|
-
let W,
|
|
2247
|
+
let W, x;
|
|
2245
2248
|
if (O === "")
|
|
2246
2249
|
return h.default.rootData;
|
|
2247
2250
|
if (O[0] === "/") {
|
|
2248
2251
|
if (!K.test(O))
|
|
2249
2252
|
throw new Error(`Invalid JSON-pointer: ${O}`);
|
|
2250
|
-
W = O,
|
|
2253
|
+
W = O, x = h.default.rootData;
|
|
2251
2254
|
} else {
|
|
2252
2255
|
const ye = Y.exec(O);
|
|
2253
2256
|
if (!ye)
|
|
@@ -2260,13 +2263,13 @@ function Wt() {
|
|
|
2260
2263
|
}
|
|
2261
2264
|
if (ce > k)
|
|
2262
2265
|
throw new Error(me("data", ce));
|
|
2263
|
-
if (
|
|
2264
|
-
return
|
|
2266
|
+
if (x = T[k - ce], !W)
|
|
2267
|
+
return x;
|
|
2265
2268
|
}
|
|
2266
|
-
let ue =
|
|
2269
|
+
let ue = x;
|
|
2267
2270
|
const be = W.split("/");
|
|
2268
2271
|
for (const ye of be)
|
|
2269
|
-
ye && (
|
|
2272
|
+
ye && (x = (0, u._)`${x}${(0, u.getProperty)((0, d.unescapeJsonPointer)(ye))}`, ue = (0, u._)`${ue} && ${x}`);
|
|
2270
2273
|
return ue;
|
|
2271
2274
|
function me(ye, ce) {
|
|
2272
2275
|
return `Cannot access ${ye} ${ce} levels up, current level is ${k}`;
|
|
@@ -2301,7 +2304,7 @@ var ge = {}, nn;
|
|
|
2301
2304
|
function Er() {
|
|
2302
2305
|
if (nn) return ge;
|
|
2303
2306
|
nn = 1, Object.defineProperty(ge, "__esModule", { value: !0 }), ge.resolveSchema = ge.getCompilingSchema = ge.resolveRef = ge.compileSchema = ge.SchemaEnv = void 0;
|
|
2304
|
-
const e =
|
|
2307
|
+
const e = G(), t = Pr(), r = Ie(), n = Bt(), a = ee(), s = Wt();
|
|
2305
2308
|
class o {
|
|
2306
2309
|
constructor(l) {
|
|
2307
2310
|
var i;
|
|
@@ -2464,7 +2467,7 @@ const Fa = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/
|
|
|
2464
2467
|
additionalProperties: Ha
|
|
2465
2468
|
};
|
|
2466
2469
|
var rt = {}, Be = { exports: {} }, ur, sn;
|
|
2467
|
-
function
|
|
2470
|
+
function Ga() {
|
|
2468
2471
|
return sn || (sn = 1, ur = {
|
|
2469
2472
|
HEX: {
|
|
2470
2473
|
0: 0,
|
|
@@ -2493,10 +2496,10 @@ function xa() {
|
|
|
2493
2496
|
}), ur;
|
|
2494
2497
|
}
|
|
2495
2498
|
var cr, an;
|
|
2496
|
-
function
|
|
2499
|
+
function xa() {
|
|
2497
2500
|
if (an) return cr;
|
|
2498
2501
|
an = 1;
|
|
2499
|
-
const { HEX: e } =
|
|
2502
|
+
const { HEX: e } = Ga(), t = /^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;
|
|
2500
2503
|
function r(g) {
|
|
2501
2504
|
if (u(g, ".") < 3)
|
|
2502
2505
|
return { host: g, isIPV4: !1 };
|
|
@@ -2723,7 +2726,7 @@ var un;
|
|
|
2723
2726
|
function Ya() {
|
|
2724
2727
|
if (un) return Be.exports;
|
|
2725
2728
|
un = 1;
|
|
2726
|
-
const { normalizeIPv6: e, normalizeIPv4: t, removeDotSegments: r, recomposeAuthority: n, normalizeComponentEncoding: a } =
|
|
2729
|
+
const { normalizeIPv6: e, normalizeIPv4: t, removeDotSegments: r, recomposeAuthority: n, normalizeComponentEncoding: a } = xa(), s = Xa();
|
|
2727
2730
|
function o(f, l) {
|
|
2728
2731
|
return typeof f == "string" ? f = d(w(f, l), l) : typeof f == "object" && (f = w(d(f, l), l)), f;
|
|
2729
2732
|
}
|
|
@@ -2833,7 +2836,7 @@ function Qa() {
|
|
|
2833
2836
|
Object.defineProperty(e, "KeywordCxt", { enumerable: !0, get: function() {
|
|
2834
2837
|
return t.KeywordCxt;
|
|
2835
2838
|
} });
|
|
2836
|
-
var r =
|
|
2839
|
+
var r = G();
|
|
2837
2840
|
Object.defineProperty(e, "_", { enumerable: !0, get: function() {
|
|
2838
2841
|
return r._;
|
|
2839
2842
|
} }), Object.defineProperty(e, "str", { enumerable: !0, get: function() {
|
|
@@ -2847,7 +2850,7 @@ function Qa() {
|
|
|
2847
2850
|
} }), Object.defineProperty(e, "CodeGen", { enumerable: !0, get: function() {
|
|
2848
2851
|
return r.CodeGen;
|
|
2849
2852
|
} });
|
|
2850
|
-
const n = Pr(), a = Ht(), s =
|
|
2853
|
+
const n = Pr(), a = Ht(), s = ws(), o = Er(), u = G(), h = Bt(), y = Vt(), d = ee(), v = Ja, $ = Za(), S = (M, j) => new RegExp(M, j);
|
|
2851
2854
|
S.code = "new RegExp";
|
|
2852
2855
|
const w = ["removeAdditional", "useDefaults", "coerceTypes"], g = /* @__PURE__ */ new Set([
|
|
2853
2856
|
"validate",
|
|
@@ -2885,17 +2888,17 @@ function Qa() {
|
|
|
2885
2888
|
unicode: '"minLength"/"maxLength" account for unicode characters by default.'
|
|
2886
2889
|
}, i = 200;
|
|
2887
2890
|
function c(M) {
|
|
2888
|
-
var j, C, N, p, P, R, U, K, Y, X, O, k, T, z, W,
|
|
2889
|
-
const
|
|
2891
|
+
var j, C, N, p, P, R, U, K, Y, X, O, k, T, z, W, x, ue, be, me, ye, ce, Me, _e, Gt, xt;
|
|
2892
|
+
const Fe = M.strict, Xt = (j = M.code) === null || j === void 0 ? void 0 : j.optimize, Ar = Xt === !0 || Xt === void 0 ? 1 : Xt || 0, Cr = (N = (C = M.code) === null || C === void 0 ? void 0 : C.regExp) !== null && N !== void 0 ? N : S, xs = (p = M.uriResolver) !== null && p !== void 0 ? p : $.default;
|
|
2890
2893
|
return {
|
|
2891
|
-
strictSchema: (R = (P = M.strictSchema) !== null && P !== void 0 ? P :
|
|
2892
|
-
strictNumbers: (K = (U = M.strictNumbers) !== null && U !== void 0 ? U :
|
|
2893
|
-
strictTypes: (X = (Y = M.strictTypes) !== null && Y !== void 0 ? Y :
|
|
2894
|
-
strictTuples: (k = (O = M.strictTuples) !== null && O !== void 0 ? O :
|
|
2895
|
-
strictRequired: (z = (T = M.strictRequired) !== null && T !== void 0 ? T :
|
|
2894
|
+
strictSchema: (R = (P = M.strictSchema) !== null && P !== void 0 ? P : Fe) !== null && R !== void 0 ? R : !0,
|
|
2895
|
+
strictNumbers: (K = (U = M.strictNumbers) !== null && U !== void 0 ? U : Fe) !== null && K !== void 0 ? K : !0,
|
|
2896
|
+
strictTypes: (X = (Y = M.strictTypes) !== null && Y !== void 0 ? Y : Fe) !== null && X !== void 0 ? X : "log",
|
|
2897
|
+
strictTuples: (k = (O = M.strictTuples) !== null && O !== void 0 ? O : Fe) !== null && k !== void 0 ? k : "log",
|
|
2898
|
+
strictRequired: (z = (T = M.strictRequired) !== null && T !== void 0 ? T : Fe) !== null && z !== void 0 ? z : !1,
|
|
2896
2899
|
code: M.code ? { ...M.code, optimize: Ar, regExp: Cr } : { optimize: Ar, regExp: Cr },
|
|
2897
2900
|
loopRequired: (W = M.loopRequired) !== null && W !== void 0 ? W : i,
|
|
2898
|
-
loopEnum: (
|
|
2901
|
+
loopEnum: (x = M.loopEnum) !== null && x !== void 0 ? x : i,
|
|
2899
2902
|
meta: (ue = M.meta) !== null && ue !== void 0 ? ue : !0,
|
|
2900
2903
|
messages: (be = M.messages) !== null && be !== void 0 ? be : !0,
|
|
2901
2904
|
inlineRefs: (me = M.inlineRefs) !== null && me !== void 0 ? me : !0,
|
|
@@ -2903,9 +2906,9 @@ function Qa() {
|
|
|
2903
2906
|
addUsedSchema: (ce = M.addUsedSchema) !== null && ce !== void 0 ? ce : !0,
|
|
2904
2907
|
validateSchema: (Me = M.validateSchema) !== null && Me !== void 0 ? Me : !0,
|
|
2905
2908
|
validateFormats: (_e = M.validateFormats) !== null && _e !== void 0 ? _e : !0,
|
|
2906
|
-
unicodeRegExp: (
|
|
2907
|
-
int32range: (
|
|
2908
|
-
uriResolver:
|
|
2909
|
+
unicodeRegExp: (Gt = M.unicodeRegExp) !== null && Gt !== void 0 ? Gt : !0,
|
|
2910
|
+
int32range: (xt = M.int32range) !== null && xt !== void 0 ? xt : !0,
|
|
2911
|
+
uriResolver: xs
|
|
2909
2912
|
};
|
|
2910
2913
|
}
|
|
2911
2914
|
class m {
|
|
@@ -3284,7 +3287,7 @@ var Ne = {}, dn;
|
|
|
3284
3287
|
function ti() {
|
|
3285
3288
|
if (dn) return Ne;
|
|
3286
3289
|
dn = 1, Object.defineProperty(Ne, "__esModule", { value: !0 }), Ne.callRef = Ne.getValidate = void 0;
|
|
3287
|
-
const e = Ht(), t = we(), r =
|
|
3290
|
+
const e = Ht(), t = we(), r = G(), n = Ie(), a = Er(), s = ee(), o = {
|
|
3288
3291
|
keyword: "$ref",
|
|
3289
3292
|
schemaType: "string",
|
|
3290
3293
|
code(y) {
|
|
@@ -3387,7 +3390,7 @@ var it = {}, ot = {}, pn;
|
|
|
3387
3390
|
function ni() {
|
|
3388
3391
|
if (pn) return ot;
|
|
3389
3392
|
pn = 1, Object.defineProperty(ot, "__esModule", { value: !0 });
|
|
3390
|
-
const e =
|
|
3393
|
+
const e = G(), t = e.operators, r = {
|
|
3391
3394
|
maximum: { okStr: "<=", ok: t.LTE, fail: t.GT },
|
|
3392
3395
|
minimum: { okStr: ">=", ok: t.GTE, fail: t.LT },
|
|
3393
3396
|
exclusiveMaximum: { okStr: "<", ok: t.LT, fail: t.GTE },
|
|
@@ -3412,7 +3415,7 @@ var ut = {}, mn;
|
|
|
3412
3415
|
function si() {
|
|
3413
3416
|
if (mn) return ut;
|
|
3414
3417
|
mn = 1, Object.defineProperty(ut, "__esModule", { value: !0 });
|
|
3415
|
-
const e =
|
|
3418
|
+
const e = G(), r = {
|
|
3416
3419
|
keyword: "multipleOf",
|
|
3417
3420
|
type: "number",
|
|
3418
3421
|
schemaType: "number",
|
|
@@ -3445,7 +3448,7 @@ var gn;
|
|
|
3445
3448
|
function ii() {
|
|
3446
3449
|
if (gn) return ct;
|
|
3447
3450
|
gn = 1, Object.defineProperty(ct, "__esModule", { value: !0 });
|
|
3448
|
-
const e =
|
|
3451
|
+
const e = G(), t = ee(), r = ai(), a = {
|
|
3449
3452
|
keyword: ["maxLength", "minLength"],
|
|
3450
3453
|
type: "string",
|
|
3451
3454
|
schemaType: "number",
|
|
@@ -3468,7 +3471,7 @@ var ft = {}, vn;
|
|
|
3468
3471
|
function oi() {
|
|
3469
3472
|
if (vn) return ft;
|
|
3470
3473
|
vn = 1, Object.defineProperty(ft, "__esModule", { value: !0 });
|
|
3471
|
-
const e = we(), t =
|
|
3474
|
+
const e = we(), t = G(), n = {
|
|
3472
3475
|
keyword: "pattern",
|
|
3473
3476
|
type: "string",
|
|
3474
3477
|
schemaType: "string",
|
|
@@ -3488,7 +3491,7 @@ var dt = {}, _n;
|
|
|
3488
3491
|
function ui() {
|
|
3489
3492
|
if (_n) return dt;
|
|
3490
3493
|
_n = 1, Object.defineProperty(dt, "__esModule", { value: !0 });
|
|
3491
|
-
const e =
|
|
3494
|
+
const e = G(), r = {
|
|
3492
3495
|
keyword: ["maxProperties", "minProperties"],
|
|
3493
3496
|
type: "object",
|
|
3494
3497
|
schemaType: "number",
|
|
@@ -3511,7 +3514,7 @@ var ht = {}, bn;
|
|
|
3511
3514
|
function ci() {
|
|
3512
3515
|
if (bn) return ht;
|
|
3513
3516
|
bn = 1, Object.defineProperty(ht, "__esModule", { value: !0 });
|
|
3514
|
-
const e = we(), t =
|
|
3517
|
+
const e = we(), t = G(), r = ee(), a = {
|
|
3515
3518
|
keyword: "required",
|
|
3516
3519
|
type: "object",
|
|
3517
3520
|
schemaType: "array",
|
|
@@ -3568,7 +3571,7 @@ var pt = {}, $n;
|
|
|
3568
3571
|
function li() {
|
|
3569
3572
|
if ($n) return pt;
|
|
3570
3573
|
$n = 1, Object.defineProperty(pt, "__esModule", { value: !0 });
|
|
3571
|
-
const e =
|
|
3574
|
+
const e = G(), r = {
|
|
3572
3575
|
keyword: ["maxItems", "minItems"],
|
|
3573
3576
|
type: "array",
|
|
3574
3577
|
schemaType: "number",
|
|
@@ -3591,14 +3594,14 @@ var mt = {}, yt = {}, wn;
|
|
|
3591
3594
|
function Or() {
|
|
3592
3595
|
if (wn) return yt;
|
|
3593
3596
|
wn = 1, Object.defineProperty(yt, "__esModule", { value: !0 });
|
|
3594
|
-
const e =
|
|
3597
|
+
const e = Ps();
|
|
3595
3598
|
return e.code = 'require("ajv/dist/runtime/equal").default', yt.default = e, yt;
|
|
3596
3599
|
}
|
|
3597
3600
|
var Sn;
|
|
3598
3601
|
function fi() {
|
|
3599
3602
|
if (Sn) return mt;
|
|
3600
3603
|
Sn = 1, Object.defineProperty(mt, "__esModule", { value: !0 });
|
|
3601
|
-
const e = Vt(), t =
|
|
3604
|
+
const e = Vt(), t = G(), r = ee(), n = Or(), s = {
|
|
3602
3605
|
keyword: "uniqueItems",
|
|
3603
3606
|
type: "array",
|
|
3604
3607
|
schemaType: "boolean",
|
|
@@ -3642,7 +3645,7 @@ var gt = {}, Pn;
|
|
|
3642
3645
|
function di() {
|
|
3643
3646
|
if (Pn) return gt;
|
|
3644
3647
|
Pn = 1, Object.defineProperty(gt, "__esModule", { value: !0 });
|
|
3645
|
-
const e =
|
|
3648
|
+
const e = G(), t = ee(), r = Or(), a = {
|
|
3646
3649
|
keyword: "const",
|
|
3647
3650
|
$data: !0,
|
|
3648
3651
|
error: {
|
|
@@ -3660,7 +3663,7 @@ var vt = {}, En;
|
|
|
3660
3663
|
function hi() {
|
|
3661
3664
|
if (En) return vt;
|
|
3662
3665
|
En = 1, Object.defineProperty(vt, "__esModule", { value: !0 });
|
|
3663
|
-
const e =
|
|
3666
|
+
const e = G(), t = ee(), r = Or(), a = {
|
|
3664
3667
|
keyword: "enum",
|
|
3665
3668
|
schemaType: "array",
|
|
3666
3669
|
$data: !0,
|
|
@@ -3722,10 +3725,10 @@ function pi() {
|
|
|
3722
3725
|
return it.default = d, it;
|
|
3723
3726
|
}
|
|
3724
3727
|
var _t = {}, De = {}, jn;
|
|
3725
|
-
function
|
|
3728
|
+
function Es() {
|
|
3726
3729
|
if (jn) return De;
|
|
3727
3730
|
jn = 1, Object.defineProperty(De, "__esModule", { value: !0 }), De.validateAdditionalItems = void 0;
|
|
3728
|
-
const e =
|
|
3731
|
+
const e = G(), t = ee(), n = {
|
|
3729
3732
|
keyword: "additionalItems",
|
|
3730
3733
|
type: "array",
|
|
3731
3734
|
schemaType: ["boolean", "object"],
|
|
@@ -3762,10 +3765,10 @@ function Os() {
|
|
|
3762
3765
|
return De.validateAdditionalItems = a, De.default = n, De;
|
|
3763
3766
|
}
|
|
3764
3767
|
var bt = {}, ze = {}, kn;
|
|
3765
|
-
function
|
|
3768
|
+
function Os() {
|
|
3766
3769
|
if (kn) return ze;
|
|
3767
3770
|
kn = 1, Object.defineProperty(ze, "__esModule", { value: !0 }), ze.validateTuple = void 0;
|
|
3768
|
-
const e =
|
|
3771
|
+
const e = G(), t = ee(), r = we(), n = {
|
|
3769
3772
|
keyword: "items",
|
|
3770
3773
|
type: "array",
|
|
3771
3774
|
schemaType: ["object", "array", "boolean"],
|
|
@@ -3802,7 +3805,7 @@ var Rn;
|
|
|
3802
3805
|
function mi() {
|
|
3803
3806
|
if (Rn) return bt;
|
|
3804
3807
|
Rn = 1, Object.defineProperty(bt, "__esModule", { value: !0 });
|
|
3805
|
-
const e =
|
|
3808
|
+
const e = Os(), t = {
|
|
3806
3809
|
keyword: "prefixItems",
|
|
3807
3810
|
type: "array",
|
|
3808
3811
|
schemaType: ["array"],
|
|
@@ -3815,7 +3818,7 @@ var $t = {}, Nn;
|
|
|
3815
3818
|
function yi() {
|
|
3816
3819
|
if (Nn) return $t;
|
|
3817
3820
|
Nn = 1, Object.defineProperty($t, "__esModule", { value: !0 });
|
|
3818
|
-
const e =
|
|
3821
|
+
const e = G(), t = ee(), r = we(), n = Es(), s = {
|
|
3819
3822
|
keyword: "items",
|
|
3820
3823
|
type: "array",
|
|
3821
3824
|
schemaType: ["object", "boolean"],
|
|
@@ -3835,7 +3838,7 @@ var wt = {}, In;
|
|
|
3835
3838
|
function gi() {
|
|
3836
3839
|
if (In) return wt;
|
|
3837
3840
|
In = 1, Object.defineProperty(wt, "__esModule", { value: !0 });
|
|
3838
|
-
const e =
|
|
3841
|
+
const e = G(), t = ee(), n = {
|
|
3839
3842
|
keyword: "contains",
|
|
3840
3843
|
type: "array",
|
|
3841
3844
|
schemaType: ["object", "boolean"],
|
|
@@ -3892,7 +3895,7 @@ var fr = {}, An;
|
|
|
3892
3895
|
function vi() {
|
|
3893
3896
|
return An || (An = 1, function(e) {
|
|
3894
3897
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
|
|
3895
|
-
const t =
|
|
3898
|
+
const t = G(), r = ee(), n = we();
|
|
3896
3899
|
e.error = {
|
|
3897
3900
|
message: ({ params: { property: h, depsCount: y, deps: d } }) => {
|
|
3898
3901
|
const v = y === 1 ? "property" : "properties";
|
|
@@ -3965,7 +3968,7 @@ var St = {}, Cn;
|
|
|
3965
3968
|
function _i() {
|
|
3966
3969
|
if (Cn) return St;
|
|
3967
3970
|
Cn = 1, Object.defineProperty(St, "__esModule", { value: !0 });
|
|
3968
|
-
const e =
|
|
3971
|
+
const e = G(), t = ee(), n = {
|
|
3969
3972
|
keyword: "propertyNames",
|
|
3970
3973
|
type: "object",
|
|
3971
3974
|
schemaType: ["object", "boolean"],
|
|
@@ -3994,10 +3997,10 @@ function _i() {
|
|
|
3994
3997
|
return St.default = n, St;
|
|
3995
3998
|
}
|
|
3996
3999
|
var Pt = {}, Tn;
|
|
3997
|
-
function
|
|
4000
|
+
function js() {
|
|
3998
4001
|
if (Tn) return Pt;
|
|
3999
4002
|
Tn = 1, Object.defineProperty(Pt, "__esModule", { value: !0 });
|
|
4000
|
-
const e = we(), t =
|
|
4003
|
+
const e = we(), t = G(), r = Ie(), n = ee(), s = {
|
|
4001
4004
|
keyword: "additionalProperties",
|
|
4002
4005
|
type: ["object"],
|
|
4003
4006
|
schemaType: ["boolean", "object"],
|
|
@@ -4068,7 +4071,7 @@ var Et = {}, qn;
|
|
|
4068
4071
|
function bi() {
|
|
4069
4072
|
if (qn) return Et;
|
|
4070
4073
|
qn = 1, Object.defineProperty(Et, "__esModule", { value: !0 });
|
|
4071
|
-
const e = Wt(), t = we(), r = ee(), n =
|
|
4074
|
+
const e = Wt(), t = we(), r = ee(), n = js(), a = {
|
|
4072
4075
|
keyword: "properties",
|
|
4073
4076
|
type: "object",
|
|
4074
4077
|
schemaType: "object",
|
|
@@ -4103,7 +4106,7 @@ var Ot = {}, Mn;
|
|
|
4103
4106
|
function $i() {
|
|
4104
4107
|
if (Mn) return Ot;
|
|
4105
4108
|
Mn = 1, Object.defineProperty(Ot, "__esModule", { value: !0 });
|
|
4106
|
-
const e = we(), t =
|
|
4109
|
+
const e = we(), t = G(), r = ee(), n = ee(), a = {
|
|
4107
4110
|
keyword: "patternProperties",
|
|
4108
4111
|
type: "object",
|
|
4109
4112
|
schemaType: "object",
|
|
@@ -4183,7 +4186,7 @@ var Rt = {}, zn;
|
|
|
4183
4186
|
function Pi() {
|
|
4184
4187
|
if (zn) return Rt;
|
|
4185
4188
|
zn = 1, Object.defineProperty(Rt, "__esModule", { value: !0 });
|
|
4186
|
-
const e =
|
|
4189
|
+
const e = G(), t = ee(), n = {
|
|
4187
4190
|
keyword: "oneOf",
|
|
4188
4191
|
schemaType: "array",
|
|
4189
4192
|
trackErrors: !0,
|
|
@@ -4241,7 +4244,7 @@ var It = {}, Fn;
|
|
|
4241
4244
|
function Oi() {
|
|
4242
4245
|
if (Fn) return It;
|
|
4243
4246
|
Fn = 1, Object.defineProperty(It, "__esModule", { value: !0 });
|
|
4244
|
-
const e =
|
|
4247
|
+
const e = G(), t = ee(), n = {
|
|
4245
4248
|
keyword: "if",
|
|
4246
4249
|
schemaType: ["object", "boolean"],
|
|
4247
4250
|
trackErrors: !0,
|
|
@@ -4301,7 +4304,7 @@ var Kn;
|
|
|
4301
4304
|
function ki() {
|
|
4302
4305
|
if (Kn) return _t;
|
|
4303
4306
|
Kn = 1, Object.defineProperty(_t, "__esModule", { value: !0 });
|
|
4304
|
-
const e =
|
|
4307
|
+
const e = Es(), t = mi(), r = Os(), n = yi(), a = gi(), s = vi(), o = _i(), u = js(), h = bi(), y = $i(), d = wi(), v = Si(), $ = Pi(), S = Ei(), w = Oi(), g = ji();
|
|
4305
4308
|
function f(l = !1) {
|
|
4306
4309
|
const i = [
|
|
4307
4310
|
// any
|
|
@@ -4326,7 +4329,7 @@ var Ct = {}, Tt = {}, Bn;
|
|
|
4326
4329
|
function Ri() {
|
|
4327
4330
|
if (Bn) return Tt;
|
|
4328
4331
|
Bn = 1, Object.defineProperty(Tt, "__esModule", { value: !0 });
|
|
4329
|
-
const e =
|
|
4332
|
+
const e = G(), r = {
|
|
4330
4333
|
keyword: "format",
|
|
4331
4334
|
type: ["number", "string"],
|
|
4332
4335
|
schemaType: "string",
|
|
@@ -4428,20 +4431,20 @@ function Ai() {
|
|
|
4428
4431
|
];
|
|
4429
4432
|
return nt.default = s, nt;
|
|
4430
4433
|
}
|
|
4431
|
-
var qt = {}, We = {},
|
|
4434
|
+
var qt = {}, We = {}, Gn;
|
|
4432
4435
|
function Ci() {
|
|
4433
|
-
if (
|
|
4434
|
-
|
|
4436
|
+
if (Gn) return We;
|
|
4437
|
+
Gn = 1, Object.defineProperty(We, "__esModule", { value: !0 }), We.DiscrError = void 0;
|
|
4435
4438
|
var e;
|
|
4436
4439
|
return function(t) {
|
|
4437
4440
|
t.Tag = "tag", t.Mapping = "mapping";
|
|
4438
4441
|
}(e || (We.DiscrError = e = {})), We;
|
|
4439
4442
|
}
|
|
4440
|
-
var
|
|
4443
|
+
var xn;
|
|
4441
4444
|
function Ti() {
|
|
4442
|
-
if (
|
|
4443
|
-
|
|
4444
|
-
const e =
|
|
4445
|
+
if (xn) return qt;
|
|
4446
|
+
xn = 1, Object.defineProperty(qt, "__esModule", { value: !0 });
|
|
4447
|
+
const e = G(), t = Ci(), r = Er(), n = Ht(), a = ee(), o = {
|
|
4445
4448
|
keyword: "discriminator",
|
|
4446
4449
|
type: "object",
|
|
4447
4450
|
schemaType: "object",
|
|
@@ -4524,7 +4527,7 @@ const qi = "http://json-schema.org/draft-07/schema#", Mi = "http://json-schema.o
|
|
|
4524
4527
|
default: !0
|
|
4525
4528
|
};
|
|
4526
4529
|
var Xn;
|
|
4527
|
-
function
|
|
4530
|
+
function ks() {
|
|
4528
4531
|
return Xn || (Xn = 1, function(e, t) {
|
|
4529
4532
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MissingRefError = t.ValidationError = t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = t.Ajv = void 0;
|
|
4530
4533
|
const r = Qa(), n = Ai(), a = Ti(), s = Fi, o = ["/properties"], u = "http://json-schema.org/draft-07/schema";
|
|
@@ -4547,7 +4550,7 @@ function Rs() {
|
|
|
4547
4550
|
Object.defineProperty(t, "KeywordCxt", { enumerable: !0, get: function() {
|
|
4548
4551
|
return y.KeywordCxt;
|
|
4549
4552
|
} });
|
|
4550
|
-
var d =
|
|
4553
|
+
var d = G();
|
|
4551
4554
|
Object.defineProperty(t, "_", { enumerable: !0, get: function() {
|
|
4552
4555
|
return d._;
|
|
4553
4556
|
} }), Object.defineProperty(t, "str", { enumerable: !0, get: function() {
|
|
@@ -4575,7 +4578,7 @@ var Yn;
|
|
|
4575
4578
|
function Ui() {
|
|
4576
4579
|
return Yn || (Yn = 1, function(e) {
|
|
4577
4580
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
|
|
4578
|
-
const t =
|
|
4581
|
+
const t = ks(), r = G(), n = r.operators, a = {
|
|
4579
4582
|
formatMaximum: { okStr: "<=", ok: n.LTE, fail: n.GT },
|
|
4580
4583
|
formatMinimum: { okStr: ">=", ok: n.GTE, fail: n.LT },
|
|
4581
4584
|
formatExclusiveMaximum: { okStr: "<", ok: n.LT, fail: n.GTE },
|
|
@@ -4630,7 +4633,7 @@ var Zn;
|
|
|
4630
4633
|
function Ki() {
|
|
4631
4634
|
return Zn || (Zn = 1, function(e, t) {
|
|
4632
4635
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
4633
|
-
const r = qa(), n = Ui(), a =
|
|
4636
|
+
const r = qa(), n = Ui(), a = G(), s = new a.Name("fullFormats"), o = new a.Name("fastFormats"), u = (y, d = { keywords: !0 }) => {
|
|
4634
4637
|
if (Array.isArray(d))
|
|
4635
4638
|
return h(y, d, r.fullFormats, s), y;
|
|
4636
4639
|
const [v, $] = d.mode === "fast" ? [r.fastFormats, o] : [r.fullFormats, s], S = d.formats || r.formatNames;
|
|
@@ -4652,12 +4655,12 @@ function Ki() {
|
|
|
4652
4655
|
}(Ye, Ye.exports)), Ye.exports;
|
|
4653
4656
|
}
|
|
4654
4657
|
var Bi = Ki();
|
|
4655
|
-
const Wi = /* @__PURE__ */
|
|
4656
|
-
function
|
|
4658
|
+
const Wi = /* @__PURE__ */ $s(Bi);
|
|
4659
|
+
function Rs(e) {
|
|
4657
4660
|
return e.split("/").slice(1).map((t) => t.replace(/~1/g, "/").replace(/~0/g, "~"));
|
|
4658
4661
|
}
|
|
4659
4662
|
function Hi(e) {
|
|
4660
|
-
const t =
|
|
4663
|
+
const t = Rs(e.instancePath || "");
|
|
4661
4664
|
if (e.keyword === "required") {
|
|
4662
4665
|
const r = e.params.missingProperty;
|
|
4663
4666
|
if (r != null) return [...t, r];
|
|
@@ -4675,7 +4678,7 @@ function Hi(e) {
|
|
|
4675
4678
|
function Ji(e) {
|
|
4676
4679
|
return e.message ?? `${e.keyword} validation failed`;
|
|
4677
4680
|
}
|
|
4678
|
-
function
|
|
4681
|
+
function Gi(e) {
|
|
4679
4682
|
return e.reduce((t, r) => {
|
|
4680
4683
|
const n = Hi(r);
|
|
4681
4684
|
if (n == null) return t;
|
|
@@ -4688,10 +4691,10 @@ function xi(e) {
|
|
|
4688
4691
|
}, {});
|
|
4689
4692
|
}
|
|
4690
4693
|
function jr(e) {
|
|
4691
|
-
const t =
|
|
4694
|
+
const t = Gi(e);
|
|
4692
4695
|
return Se.invalid(t);
|
|
4693
4696
|
}
|
|
4694
|
-
function
|
|
4697
|
+
function xi(e) {
|
|
4695
4698
|
const t = {
|
|
4696
4699
|
keyword: "x:ui",
|
|
4697
4700
|
// Accept both string and object shapes for future-proofing
|
|
@@ -4727,9 +4730,9 @@ async function Qn(e, t, r) {
|
|
|
4727
4730
|
const n = (await (() => {
|
|
4728
4731
|
switch (e) {
|
|
4729
4732
|
case "2020-12":
|
|
4730
|
-
return import("./2020-
|
|
4733
|
+
return import("./2020-BQNEk3m-.js").then((s) => s._);
|
|
4731
4734
|
case "2019-09":
|
|
4732
|
-
return import("./2019-
|
|
4735
|
+
return import("./2019-BAbSTPyW.js").then((s) => s._);
|
|
4733
4736
|
case "draft-07":
|
|
4734
4737
|
return Promise.resolve().then(() => iu);
|
|
4735
4738
|
}
|
|
@@ -4751,7 +4754,7 @@ async function Qn(e, t, r) {
|
|
|
4751
4754
|
a.opts.defaultMeta = "http://json-schema.org/draft-07/schema#";
|
|
4752
4755
|
break;
|
|
4753
4756
|
}
|
|
4754
|
-
return Wi(a),
|
|
4757
|
+
return Wi(a), xi(a), a;
|
|
4755
4758
|
}
|
|
4756
4759
|
function Xi(e) {
|
|
4757
4760
|
return e == null || e.includes("draft/2020-12") ? "2020-12" : e.includes("draft/2019-09") ? "2019-09" : "draft-07";
|
|
@@ -4787,7 +4790,7 @@ function es(e) {
|
|
|
4787
4790
|
};
|
|
4788
4791
|
return r(e), [...t];
|
|
4789
4792
|
}
|
|
4790
|
-
function
|
|
4793
|
+
function Ns(e, t) {
|
|
4791
4794
|
for (const r of t) {
|
|
4792
4795
|
const n = r.$id;
|
|
4793
4796
|
if (typeof n == "string" && n.length > 0 && !e.getSchema(n))
|
|
@@ -4823,7 +4826,7 @@ async function Zi(e, t, r, n) {
|
|
|
4823
4826
|
const $ = await r(v);
|
|
4824
4827
|
if (!Array.isArray($) || $.length === 0)
|
|
4825
4828
|
return null;
|
|
4826
|
-
|
|
4829
|
+
Ns(e, $);
|
|
4827
4830
|
for (const S of $) {
|
|
4828
4831
|
const w = S.$id;
|
|
4829
4832
|
typeof w == "string" && w.length > 0 && (a.add(w), s.push(S));
|
|
@@ -4853,7 +4856,7 @@ async function Qi(e, t) {
|
|
|
4853
4856
|
return { ok: !0, value: { ajv: d, validate: $ } };
|
|
4854
4857
|
}
|
|
4855
4858
|
const h = await Qn(r, n, !0);
|
|
4856
|
-
if (t?.externalSchemas && t.externalSchemas.length > 0 &&
|
|
4859
|
+
if (t?.externalSchemas && t.externalSchemas.length > 0 && Ns(h, t.externalSchemas), t?.refResolver) {
|
|
4857
4860
|
const d = await Zi(
|
|
4858
4861
|
h,
|
|
4859
4862
|
e,
|
|
@@ -4918,7 +4921,7 @@ class Rr {
|
|
|
4918
4921
|
}
|
|
4919
4922
|
get widgetLabel() {
|
|
4920
4923
|
const t = this.name;
|
|
4921
|
-
return (typeof this.definition == "object" && this.definition !== null ? this.definition.title : void 0) ?? (t != null ?
|
|
4924
|
+
return (typeof this.definition == "object" && this.definition !== null ? this.definition.title : void 0) ?? (t != null ? $r(ra(t)) : void 0);
|
|
4922
4925
|
}
|
|
4923
4926
|
hasRequiredProperty = (t) => typeof this.definition == "boolean" ? !1 : this.definition.required != null && this.definition.required.includes(t);
|
|
4924
4927
|
get nullable() {
|
|
@@ -5175,7 +5178,7 @@ function no(e, t, r, n = []) {
|
|
|
5175
5178
|
}
|
|
5176
5179
|
}
|
|
5177
5180
|
function so(e, t, r, n = []) {
|
|
5178
|
-
const a = [], s = [], o =
|
|
5181
|
+
const a = [], s = [], o = Is(e, t, r);
|
|
5179
5182
|
o && a.push(o);
|
|
5180
5183
|
const u = Array.isArray(e.required) ? [...e.required] : [];
|
|
5181
5184
|
if (typeof t == "object" && t != null && !Array.isArray(t)) {
|
|
@@ -5208,7 +5211,7 @@ function so(e, t, r, n = []) {
|
|
|
5208
5211
|
}
|
|
5209
5212
|
return s.push(...d), { effective: y, conflicts: s };
|
|
5210
5213
|
}
|
|
5211
|
-
function
|
|
5214
|
+
function Is(e, t, r) {
|
|
5212
5215
|
if (!r || !e.if || typeof e.if != "object") return null;
|
|
5213
5216
|
try {
|
|
5214
5217
|
if (kr(r, e.if)(t)) {
|
|
@@ -5255,7 +5258,7 @@ function He(e, t, r) {
|
|
|
5255
5258
|
e.allOf && e.allOf.forEach((o) => {
|
|
5256
5259
|
typeof o == "object" && He(o, t, r).forEach((h) => n.add(h));
|
|
5257
5260
|
});
|
|
5258
|
-
const a =
|
|
5261
|
+
const a = Is(e, t, r);
|
|
5259
5262
|
a && He(a, t, r).forEach((u) => n.add(u));
|
|
5260
5263
|
const s = e.dependentSchemas;
|
|
5261
5264
|
return s && Object.keys(s).forEach((o) => {
|
|
@@ -5292,7 +5295,7 @@ function Re({
|
|
|
5292
5295
|
horizontal: e.horizontal
|
|
5293
5296
|
};
|
|
5294
5297
|
}
|
|
5295
|
-
function
|
|
5298
|
+
function xe(e, t) {
|
|
5296
5299
|
if (e.default != null)
|
|
5297
5300
|
return t(e.default);
|
|
5298
5301
|
if (Array.isArray(e.examples))
|
|
@@ -5300,10 +5303,10 @@ function Ge(e, t) {
|
|
|
5300
5303
|
if (e.examples != null)
|
|
5301
5304
|
return t(e.examples);
|
|
5302
5305
|
}
|
|
5303
|
-
function
|
|
5306
|
+
function As(e) {
|
|
5304
5307
|
return e == null ? 1 : Math.round(e);
|
|
5305
5308
|
}
|
|
5306
|
-
function
|
|
5309
|
+
function Cs(e) {
|
|
5307
5310
|
const {
|
|
5308
5311
|
options: t,
|
|
5309
5312
|
selected: r,
|
|
@@ -5317,14 +5320,14 @@ function Ts(e) {
|
|
|
5317
5320
|
const d = Object.fromEntries(
|
|
5318
5321
|
t.map((v) => [o(v.value), v.label])
|
|
5319
5322
|
);
|
|
5320
|
-
return
|
|
5323
|
+
return na({
|
|
5321
5324
|
options: d,
|
|
5322
5325
|
value: ne.map(r, (v) => o(v)),
|
|
5323
5326
|
onChange: (v) => n(u(v)),
|
|
5324
5327
|
size: s
|
|
5325
5328
|
});
|
|
5326
5329
|
}
|
|
5327
|
-
return
|
|
5330
|
+
return sa({
|
|
5328
5331
|
options: t.map((d) => ({
|
|
5329
5332
|
type: "value",
|
|
5330
5333
|
value: d.value,
|
|
@@ -5334,7 +5337,7 @@ function Ts(e) {
|
|
|
5334
5337
|
onChange: n
|
|
5335
5338
|
});
|
|
5336
5339
|
}
|
|
5337
|
-
function
|
|
5340
|
+
function Ts({
|
|
5338
5341
|
ctx: e,
|
|
5339
5342
|
showSelector: t,
|
|
5340
5343
|
selector: r,
|
|
@@ -5429,7 +5432,7 @@ function co(e) {
|
|
|
5429
5432
|
const t = e["x:ui"];
|
|
5430
5433
|
return t && Array.isArray(t.textAreaTriggers) ? [...dr, ...t.textAreaTriggers] : dr;
|
|
5431
5434
|
}
|
|
5432
|
-
function
|
|
5435
|
+
function qs(e) {
|
|
5433
5436
|
if (typeof e == "boolean") return;
|
|
5434
5437
|
const t = e["x:ui"];
|
|
5435
5438
|
if (t != null && (typeof t == "string" || typeof t == "object" && t !== null))
|
|
@@ -5437,7 +5440,7 @@ function Ms(e) {
|
|
|
5437
5440
|
}
|
|
5438
5441
|
function Ir(e, t) {
|
|
5439
5442
|
if (typeof e == "boolean") return;
|
|
5440
|
-
const r =
|
|
5443
|
+
const r = qs(e);
|
|
5441
5444
|
if (typeof r == "object" && typeof r.widget == "string")
|
|
5442
5445
|
return {
|
|
5443
5446
|
widget: r.widget,
|
|
@@ -5573,8 +5576,8 @@ function lo(e) {
|
|
|
5573
5576
|
}
|
|
5574
5577
|
}
|
|
5575
5578
|
const fo = (e) => {
|
|
5576
|
-
const { value: t, onBlur: r, onChange: n, onInput: a, after: s, disabled: o, ...u } = e, h =
|
|
5577
|
-
return
|
|
5579
|
+
const { value: t, onBlur: r, onChange: n, onInput: a, after: s, disabled: o, ...u } = e, h = ps(t, o, n);
|
|
5580
|
+
return aa({
|
|
5578
5581
|
...u,
|
|
5579
5582
|
value: ne.map(t, (y) => y ?? void 0),
|
|
5580
5583
|
onChange: n != null ? (y) => n(y ?? null) : void 0,
|
|
@@ -5591,31 +5594,24 @@ function ts({
|
|
|
5591
5594
|
const n = lo(e);
|
|
5592
5595
|
switch (n?.format) {
|
|
5593
5596
|
case "email":
|
|
5594
|
-
return Z(
|
|
5597
|
+
return Z(pa, {
|
|
5595
5598
|
...t,
|
|
5596
5599
|
controller: le(r)
|
|
5597
5600
|
});
|
|
5598
5601
|
case "date":
|
|
5599
|
-
return Yt(
|
|
5602
|
+
return Yt(ha, {
|
|
5600
5603
|
...t,
|
|
5601
5604
|
controller: le(r),
|
|
5602
5605
|
toInput: (a) => a == null ? null : new Date(a),
|
|
5603
5606
|
fromInput: (a) => a?.toISOString().split("T")[0] ?? null
|
|
5604
5607
|
});
|
|
5605
5608
|
case "date-time":
|
|
5606
|
-
return Yt(
|
|
5609
|
+
return Yt(da, {
|
|
5607
5610
|
...t,
|
|
5608
5611
|
controller: le(r),
|
|
5609
5612
|
toInput: (a) => a == null ? null : new Date(a),
|
|
5610
5613
|
fromInput: (a) => a?.toISOString() ?? null
|
|
5611
5614
|
});
|
|
5612
|
-
case "markdown":
|
|
5613
|
-
return vs(import("./milkdown-input-CciSI_a5.js").then((a) => a.K), {
|
|
5614
|
-
then: ({ MilkdownInput: a }) => Z(a, {
|
|
5615
|
-
...t,
|
|
5616
|
-
controller: Le(r)
|
|
5617
|
-
})
|
|
5618
|
-
});
|
|
5619
5615
|
case "time":
|
|
5620
5616
|
return Z(Ve, {
|
|
5621
5617
|
...t,
|
|
@@ -5623,7 +5619,7 @@ function ts({
|
|
|
5623
5619
|
placeholder: "HH:MM:SS"
|
|
5624
5620
|
});
|
|
5625
5621
|
case "password":
|
|
5626
|
-
return Z(
|
|
5622
|
+
return Z(fa, {
|
|
5627
5623
|
...t,
|
|
5628
5624
|
controller: le(r)
|
|
5629
5625
|
});
|
|
@@ -5645,7 +5641,7 @@ function ts({
|
|
|
5645
5641
|
}
|
|
5646
5642
|
case "uri":
|
|
5647
5643
|
case "url":
|
|
5648
|
-
return Z(
|
|
5644
|
+
return Z(la, {
|
|
5649
5645
|
...t,
|
|
5650
5646
|
controller: le(r),
|
|
5651
5647
|
placeholder: "https://example.com"
|
|
@@ -5682,8 +5678,8 @@ function ts({
|
|
|
5682
5678
|
rows: 3
|
|
5683
5679
|
});
|
|
5684
5680
|
case "duration":
|
|
5685
|
-
return
|
|
5686
|
-
({ Duration: a }) => Yt(
|
|
5681
|
+
return ua(
|
|
5682
|
+
({ Duration: a }) => Yt(ca, {
|
|
5687
5683
|
...t,
|
|
5688
5684
|
controller: le(r),
|
|
5689
5685
|
toInput: (s) => s == null ? null : a.from(s),
|
|
@@ -5691,13 +5687,13 @@ function ts({
|
|
|
5691
5687
|
})
|
|
5692
5688
|
);
|
|
5693
5689
|
case "color":
|
|
5694
|
-
return Z(
|
|
5690
|
+
return Z(oa, {
|
|
5695
5691
|
...t,
|
|
5696
5692
|
controller: r,
|
|
5697
5693
|
displayValue: !0
|
|
5698
5694
|
});
|
|
5699
5695
|
case "uuid":
|
|
5700
|
-
return Z(
|
|
5696
|
+
return Z(ia, {
|
|
5701
5697
|
...t,
|
|
5702
5698
|
controller: le(r)
|
|
5703
5699
|
});
|
|
@@ -5721,7 +5717,7 @@ function yr({
|
|
|
5721
5717
|
return je();
|
|
5722
5718
|
const r = {
|
|
5723
5719
|
...Re({ ctx: e }),
|
|
5724
|
-
placeholder:
|
|
5720
|
+
placeholder: xe(e.definition, String),
|
|
5725
5721
|
// Disable input if readOnly (unless overridden) or deprecated
|
|
5726
5722
|
disabled: e.isReadOnly && !e.shouldIgnoreReadOnly || e.isDeprecated
|
|
5727
5723
|
};
|
|
@@ -5745,29 +5741,29 @@ function yr({
|
|
|
5745
5741
|
return ts({ ctx: e, options: r, controller: t });
|
|
5746
5742
|
switch (a) {
|
|
5747
5743
|
case "email":
|
|
5748
|
-
return Z(
|
|
5744
|
+
return Z(Ys, {
|
|
5749
5745
|
...r,
|
|
5750
|
-
controller:
|
|
5746
|
+
controller: Ue(t)
|
|
5751
5747
|
});
|
|
5752
5748
|
case "password":
|
|
5753
|
-
return Z(
|
|
5749
|
+
return Z(Xs, {
|
|
5754
5750
|
...r,
|
|
5755
|
-
controller:
|
|
5751
|
+
controller: Ue(t)
|
|
5756
5752
|
});
|
|
5757
5753
|
case "uuid":
|
|
5758
|
-
return Z(
|
|
5754
|
+
return Z(ya, {
|
|
5759
5755
|
...r,
|
|
5760
|
-
controller:
|
|
5756
|
+
controller: Ue(t)
|
|
5761
5757
|
});
|
|
5762
5758
|
case "textarea":
|
|
5763
|
-
return Z(
|
|
5759
|
+
return Z(ma, {
|
|
5764
5760
|
...r,
|
|
5765
|
-
controller:
|
|
5761
|
+
controller: Ue(t)
|
|
5766
5762
|
});
|
|
5767
5763
|
default:
|
|
5768
|
-
return Z(
|
|
5764
|
+
return Z(Ia, {
|
|
5769
5765
|
...r,
|
|
5770
|
-
controller:
|
|
5766
|
+
controller: Ue(t)
|
|
5771
5767
|
});
|
|
5772
5768
|
}
|
|
5773
5769
|
}
|
|
@@ -5793,7 +5789,7 @@ function zt({
|
|
|
5793
5789
|
return je();
|
|
5794
5790
|
const r = e.definition, n = ho(e), a = {
|
|
5795
5791
|
...Re({ ctx: e }),
|
|
5796
|
-
placeholder:
|
|
5792
|
+
placeholder: xe(e.definition, String),
|
|
5797
5793
|
min: r.minimum,
|
|
5798
5794
|
max: r.maximum,
|
|
5799
5795
|
step: r.multipleOf,
|
|
@@ -5803,20 +5799,20 @@ function zt({
|
|
|
5803
5799
|
switch (n.widget) {
|
|
5804
5800
|
case "rating":
|
|
5805
5801
|
const o = (typeof n.options?.max == "number" ? n.options.max : r.maximum) || 5;
|
|
5806
|
-
return s ? Z(
|
|
5802
|
+
return s ? Z(ba, {
|
|
5807
5803
|
...a,
|
|
5808
5804
|
max: o,
|
|
5809
5805
|
controller: t
|
|
5810
|
-
}) : Z(
|
|
5806
|
+
}) : Z($a, {
|
|
5811
5807
|
...a,
|
|
5812
5808
|
max: o,
|
|
5813
5809
|
controller: t
|
|
5814
5810
|
});
|
|
5815
5811
|
case "slider":
|
|
5816
|
-
return s ? Z(
|
|
5812
|
+
return s ? Z(va, {
|
|
5817
5813
|
...a,
|
|
5818
5814
|
controller: t
|
|
5819
|
-
}) : Z(
|
|
5815
|
+
}) : Z(_a, {
|
|
5820
5816
|
...a,
|
|
5821
5817
|
controller: t
|
|
5822
5818
|
});
|
|
@@ -5845,7 +5841,7 @@ function zt({
|
|
|
5845
5841
|
return s ? Z(pr, {
|
|
5846
5842
|
...a,
|
|
5847
5843
|
controller: t
|
|
5848
|
-
}) : Z(
|
|
5844
|
+
}) : Z(ga, {
|
|
5849
5845
|
...a,
|
|
5850
5846
|
controller: t
|
|
5851
5847
|
});
|
|
@@ -5875,7 +5871,7 @@ function gr({
|
|
|
5875
5871
|
ctx: e.with({
|
|
5876
5872
|
definition: {
|
|
5877
5873
|
...e.definition,
|
|
5878
|
-
multipleOf:
|
|
5874
|
+
multipleOf: As(
|
|
5879
5875
|
e.definition.multipleOf
|
|
5880
5876
|
)
|
|
5881
5877
|
}
|
|
@@ -5900,22 +5896,22 @@ function vr({
|
|
|
5900
5896
|
return !e.isNullable || e.isOptional && !e.shouldShowPresenceToggle ? n : Z(Tr, {
|
|
5901
5897
|
...r,
|
|
5902
5898
|
controller: t,
|
|
5903
|
-
after:
|
|
5899
|
+
after: ps(
|
|
5904
5900
|
t.value,
|
|
5905
5901
|
t.disabled,
|
|
5906
5902
|
(a) => t.change(a)
|
|
5907
5903
|
)
|
|
5908
5904
|
});
|
|
5909
5905
|
}
|
|
5910
|
-
function
|
|
5906
|
+
function Ms({
|
|
5911
5907
|
controller: e
|
|
5912
5908
|
}) {
|
|
5913
|
-
return
|
|
5909
|
+
return ys(() => {
|
|
5914
5910
|
e.change(null);
|
|
5915
5911
|
});
|
|
5916
5912
|
}
|
|
5917
5913
|
let hr = /* @__PURE__ */ new WeakMap(), ss = /* @__PURE__ */ new WeakMap();
|
|
5918
|
-
function
|
|
5914
|
+
function Vs(e, t) {
|
|
5919
5915
|
const r = typeof t == "object" && t != null ? t : null;
|
|
5920
5916
|
if (r != null) {
|
|
5921
5917
|
const o = hr.get(r)?.get(e);
|
|
@@ -5923,7 +5919,7 @@ function Ds(e, t) {
|
|
|
5923
5919
|
}
|
|
5924
5920
|
let n = e;
|
|
5925
5921
|
const a = /* @__PURE__ */ new Set();
|
|
5926
|
-
for (;
|
|
5922
|
+
for (; Ds(n); ) {
|
|
5927
5923
|
const s = n.$ref;
|
|
5928
5924
|
if (!s.startsWith("#")) {
|
|
5929
5925
|
console.warn(`resolveRef: external $ref not supported here: ${s}`);
|
|
@@ -5936,7 +5932,7 @@ function Ds(e, t) {
|
|
|
5936
5932
|
break;
|
|
5937
5933
|
}
|
|
5938
5934
|
a.add(s);
|
|
5939
|
-
const o =
|
|
5935
|
+
const o = zs(t, s);
|
|
5940
5936
|
if (!Jt(o)) {
|
|
5941
5937
|
console.warn(`resolveRef: could not resolve JSON Pointer ${s}`);
|
|
5942
5938
|
break;
|
|
@@ -5950,13 +5946,13 @@ function Ds(e, t) {
|
|
|
5950
5946
|
}
|
|
5951
5947
|
return n;
|
|
5952
5948
|
}
|
|
5953
|
-
function
|
|
5949
|
+
function Ds(e) {
|
|
5954
5950
|
return Jt(e) && typeof e.$ref == "string";
|
|
5955
5951
|
}
|
|
5956
5952
|
function Jt(e) {
|
|
5957
5953
|
return typeof e == "object" && e != null && !Array.isArray(e);
|
|
5958
5954
|
}
|
|
5959
|
-
function
|
|
5955
|
+
function zs(e, t) {
|
|
5960
5956
|
if (!t.startsWith("#")) return;
|
|
5961
5957
|
if (t === "#") return e;
|
|
5962
5958
|
if (typeof e != "object" || e == null) return;
|
|
@@ -5965,7 +5961,7 @@ function Ls(e, t) {
|
|
|
5965
5961
|
n == null && (n = /* @__PURE__ */ new Map(), ss.set(r, n));
|
|
5966
5962
|
const a = n.get(t);
|
|
5967
5963
|
if (a !== void 0) return a;
|
|
5968
|
-
const s =
|
|
5964
|
+
const s = Rs(t);
|
|
5969
5965
|
let o = e;
|
|
5970
5966
|
for (const u of s) {
|
|
5971
5967
|
if (!Jt(o) && !Array.isArray(o)) {
|
|
@@ -5976,13 +5972,13 @@ function Ls(e, t) {
|
|
|
5976
5972
|
}
|
|
5977
5973
|
return n.set(t, o), o;
|
|
5978
5974
|
}
|
|
5979
|
-
function
|
|
5975
|
+
function Ls(e, t, r) {
|
|
5980
5976
|
let n = e;
|
|
5981
5977
|
const a = /* @__PURE__ */ new Set(), s = (o, u) => {
|
|
5982
5978
|
const { $ref: h, ...y } = u;
|
|
5983
5979
|
return { ...o, ...y };
|
|
5984
5980
|
};
|
|
5985
|
-
for (;
|
|
5981
|
+
for (; Ds(n); ) {
|
|
5986
5982
|
const o = n.$ref;
|
|
5987
5983
|
if (a.has(o)) {
|
|
5988
5984
|
console.warn(
|
|
@@ -5991,7 +5987,7 @@ function Fs(e, t, r) {
|
|
|
5991
5987
|
break;
|
|
5992
5988
|
}
|
|
5993
5989
|
if (a.add(o), o.startsWith("#")) {
|
|
5994
|
-
const v =
|
|
5990
|
+
const v = zs(t, o);
|
|
5995
5991
|
if (!Jt(v)) {
|
|
5996
5992
|
console.warn(`resolveAnyRef: could not resolve JSON Pointer ${o}`);
|
|
5997
5993
|
break;
|
|
@@ -6024,7 +6020,7 @@ function Fs(e, t, r) {
|
|
|
6024
6020
|
function mo({
|
|
6025
6021
|
conflicts: e
|
|
6026
6022
|
}) {
|
|
6027
|
-
return e.length === 0 ?
|
|
6023
|
+
return e.length === 0 ? gs : ds(
|
|
6028
6024
|
{
|
|
6029
6025
|
variant: "warning",
|
|
6030
6026
|
tone: "prominent",
|
|
@@ -6051,7 +6047,7 @@ function mo({
|
|
|
6051
6047
|
function yo({
|
|
6052
6048
|
violations: e
|
|
6053
6049
|
}) {
|
|
6054
|
-
return e.length === 0 ?
|
|
6050
|
+
return e.length === 0 ? gs : ds(
|
|
6055
6051
|
{
|
|
6056
6052
|
variant: "danger",
|
|
6057
6053
|
tone: "prominent",
|
|
@@ -6095,7 +6091,7 @@ function go({
|
|
|
6095
6091
|
return de(
|
|
6096
6092
|
H.div(
|
|
6097
6093
|
F.class("bc-presence-toggle"),
|
|
6098
|
-
|
|
6094
|
+
wa({
|
|
6099
6095
|
value: n,
|
|
6100
6096
|
onChange: s,
|
|
6101
6097
|
label: `Include ${a}`,
|
|
@@ -6115,7 +6111,7 @@ function se(e, t, r) {
|
|
|
6115
6111
|
o
|
|
6116
6112
|
);
|
|
6117
6113
|
}
|
|
6118
|
-
function
|
|
6114
|
+
function Fs(e) {
|
|
6119
6115
|
if (typeof e == "boolean") return;
|
|
6120
6116
|
const t = e["x:ui"];
|
|
6121
6117
|
if (!t || !t.visibleIf) return;
|
|
@@ -6209,8 +6205,8 @@ function _r(e, t) {
|
|
|
6209
6205
|
return !1;
|
|
6210
6206
|
}
|
|
6211
6207
|
}
|
|
6212
|
-
function
|
|
6213
|
-
const r = e.conditions.map((n) => "operator" in n && ["and", "or", "not"].includes(n.operator) ?
|
|
6208
|
+
function Us(e, t) {
|
|
6209
|
+
const r = e.conditions.map((n) => "operator" in n && ["and", "or", "not"].includes(n.operator) ? Us(n, t) : _r(n, t));
|
|
6214
6210
|
switch (e.operator) {
|
|
6215
6211
|
case "and":
|
|
6216
6212
|
return r.every(Boolean);
|
|
@@ -6228,7 +6224,7 @@ function bo(e, t) {
|
|
|
6228
6224
|
const r = vo(e);
|
|
6229
6225
|
return _r(r, t);
|
|
6230
6226
|
}
|
|
6231
|
-
return "operator" in e && ["and", "or", "not"].includes(e.operator) ?
|
|
6227
|
+
return "operator" in e && ["and", "or", "not"].includes(e.operator) ? Us(e, t) : _r(e, t);
|
|
6232
6228
|
} catch (r) {
|
|
6233
6229
|
return console.warn("Error evaluating visibility condition:", r), !0;
|
|
6234
6230
|
}
|
|
@@ -6248,7 +6244,7 @@ function wo({
|
|
|
6248
6244
|
children: r,
|
|
6249
6245
|
options: n = is
|
|
6250
6246
|
}) {
|
|
6251
|
-
const a =
|
|
6247
|
+
const a = Fs(e.definition);
|
|
6252
6248
|
if (!a)
|
|
6253
6249
|
return r;
|
|
6254
6250
|
const s = { ...is, ...n }, o = So(t), u = $o(a, o);
|
|
@@ -6284,7 +6280,7 @@ function Po({
|
|
|
6284
6280
|
controller: t
|
|
6285
6281
|
}) {
|
|
6286
6282
|
const r = e.definition;
|
|
6287
|
-
return
|
|
6283
|
+
return Sa({
|
|
6288
6284
|
...Re({ ctx: e }),
|
|
6289
6285
|
options: (r.enum ?? []).map((n) => ({
|
|
6290
6286
|
type: "value",
|
|
@@ -6300,10 +6296,10 @@ function Eo({
|
|
|
6300
6296
|
}) {
|
|
6301
6297
|
const r = e.definition;
|
|
6302
6298
|
return je(
|
|
6303
|
-
|
|
6299
|
+
ys(() => {
|
|
6304
6300
|
ne.get(t.value) !== r.const && t.change(r.const);
|
|
6305
6301
|
}),
|
|
6306
|
-
|
|
6302
|
+
Pa(Zs(e.widgetLabel, ": "), Le(String(r.const)))
|
|
6307
6303
|
);
|
|
6308
6304
|
}
|
|
6309
6305
|
function Oo(e, t, r) {
|
|
@@ -6345,8 +6341,8 @@ function Oo(e, t, r) {
|
|
|
6345
6341
|
$.set(null);
|
|
6346
6342
|
const m = { ...ne.get(n.value) ?? {} }, _ = m[e];
|
|
6347
6343
|
delete m[e], m[i] = _, n.change(m);
|
|
6348
|
-
}, g =
|
|
6349
|
-
|
|
6344
|
+
}, g = wr(
|
|
6345
|
+
Sr,
|
|
6350
6346
|
(l) => hs({
|
|
6351
6347
|
size: "xs",
|
|
6352
6348
|
label: l.$.removeItem,
|
|
@@ -6366,9 +6362,9 @@ function Oo(e, t, r) {
|
|
|
6366
6362
|
);
|
|
6367
6363
|
return H.div(
|
|
6368
6364
|
F.class("bc-object-helpers__row"),
|
|
6369
|
-
|
|
6365
|
+
vs.gridTemplateColumns("2fr 3fr min-content"),
|
|
6370
6366
|
Ft({
|
|
6371
|
-
content:
|
|
6367
|
+
content: ms({
|
|
6372
6368
|
value: v,
|
|
6373
6369
|
onChange: w,
|
|
6374
6370
|
disabled: ie(
|
|
@@ -6376,7 +6372,7 @@ function Oo(e, t, r) {
|
|
|
6376
6372
|
f
|
|
6377
6373
|
)((l, i) => l || i)
|
|
6378
6374
|
}),
|
|
6379
|
-
error:
|
|
6375
|
+
error: _s(
|
|
6380
6376
|
$,
|
|
6381
6377
|
(l) => H.div(F.class("bc-object-helpers__error"), l)
|
|
6382
6378
|
),
|
|
@@ -6439,8 +6435,8 @@ function jo(e, t, r) {
|
|
|
6439
6435
|
S.set(null);
|
|
6440
6436
|
const _ = { ...ne.get(n.value) ?? {} }, b = _[e];
|
|
6441
6437
|
delete _[e], _[c] = b, n.change(_);
|
|
6442
|
-
}, f =
|
|
6443
|
-
|
|
6438
|
+
}, f = wr(
|
|
6439
|
+
Sr,
|
|
6444
6440
|
(i) => hs({
|
|
6445
6441
|
size: "xs",
|
|
6446
6442
|
label: i.$.removeItem,
|
|
@@ -6460,9 +6456,9 @@ function jo(e, t, r) {
|
|
|
6460
6456
|
);
|
|
6461
6457
|
return H.div(
|
|
6462
6458
|
F.class("bc-object-helpers__row"),
|
|
6463
|
-
|
|
6459
|
+
vs.gridTemplateColumns("2fr 3fr min-content"),
|
|
6464
6460
|
Ft({
|
|
6465
|
-
content:
|
|
6461
|
+
content: ms({
|
|
6466
6462
|
value: $,
|
|
6467
6463
|
onChange: g,
|
|
6468
6464
|
disabled: ie(
|
|
@@ -6470,7 +6466,7 @@ function jo(e, t, r) {
|
|
|
6470
6466
|
l
|
|
6471
6467
|
)((i, c) => i || c)
|
|
6472
6468
|
}),
|
|
6473
|
-
error:
|
|
6469
|
+
error: _s(
|
|
6474
6470
|
S,
|
|
6475
6471
|
(i) => H.div(F.class("bc-object-helpers__error"), i)
|
|
6476
6472
|
),
|
|
@@ -6494,7 +6490,7 @@ function jo(e, t, r) {
|
|
|
6494
6490
|
}
|
|
6495
6491
|
function ko(e) {
|
|
6496
6492
|
if (typeof e.definition == "boolean") return;
|
|
6497
|
-
const t =
|
|
6493
|
+
const t = qs(e.definition);
|
|
6498
6494
|
if (typeof t != "object") return;
|
|
6499
6495
|
const r = {};
|
|
6500
6496
|
return typeof t.format == "string" && ["fieldset", "tabs", "accordion", "group", "grid"].includes(t.format) && (r.format = t.format), Array.isArray(t.order) && (r.order = t.order.filter(
|
|
@@ -6518,11 +6514,11 @@ function No({
|
|
|
6518
6514
|
title: e,
|
|
6519
6515
|
children: t
|
|
6520
6516
|
}) {
|
|
6521
|
-
return
|
|
6517
|
+
return Ea(
|
|
6522
6518
|
{ variant: "outlined", size: "md" },
|
|
6523
6519
|
de(
|
|
6524
6520
|
F.class("bc-stack--gap-1"),
|
|
6525
|
-
e ?
|
|
6521
|
+
e ? Le(e) : null,
|
|
6526
6522
|
...t
|
|
6527
6523
|
)
|
|
6528
6524
|
);
|
|
@@ -6572,8 +6568,8 @@ function Ao({
|
|
|
6572
6568
|
F.tabindex(
|
|
6573
6569
|
r.map((o) => o === a ? 0 : -1)
|
|
6574
6570
|
),
|
|
6575
|
-
|
|
6576
|
-
|
|
6571
|
+
Ge.click(() => r.set(a)),
|
|
6572
|
+
Ge.keydown((o) => {
|
|
6577
6573
|
switch (o.key) {
|
|
6578
6574
|
case "ArrowLeft":
|
|
6579
6575
|
o.preventDefault();
|
|
@@ -6655,12 +6651,12 @@ function To({
|
|
|
6655
6651
|
H.button(
|
|
6656
6652
|
F.type("button"),
|
|
6657
6653
|
F.class("bc-accordion__header"),
|
|
6658
|
-
|
|
6659
|
-
|
|
6654
|
+
ka.expanded(o),
|
|
6655
|
+
Ge.click(() => {
|
|
6660
6656
|
const u = n.value, h = new Set(u);
|
|
6661
6657
|
h.has(a) ? h.delete(a) : h.add(a), n.set(h);
|
|
6662
6658
|
}),
|
|
6663
|
-
|
|
6659
|
+
Ge.keydown((u) => {
|
|
6664
6660
|
if (u.key === "Enter" || u.key === " ") {
|
|
6665
6661
|
u.preventDefault();
|
|
6666
6662
|
const h = n.value, y = new Set(h);
|
|
@@ -6668,7 +6664,7 @@ function To({
|
|
|
6668
6664
|
}
|
|
6669
6665
|
}),
|
|
6670
6666
|
H.span(a),
|
|
6671
|
-
|
|
6667
|
+
bs({
|
|
6672
6668
|
icon: ie(o)(
|
|
6673
6669
|
(u) => u ? "chevron-up" : "chevron-down"
|
|
6674
6670
|
),
|
|
@@ -6703,9 +6699,9 @@ function qo({
|
|
|
6703
6699
|
H.button(
|
|
6704
6700
|
F.type("button"),
|
|
6705
6701
|
F.class("bc-accordion__header"),
|
|
6706
|
-
|
|
6702
|
+
Ge.click(() => r.set(!r.value)),
|
|
6707
6703
|
H.span(e),
|
|
6708
|
-
|
|
6704
|
+
bs({
|
|
6709
6705
|
icon: ie(r)(
|
|
6710
6706
|
(n) => n ? "chevron-up" : "chevron-down"
|
|
6711
6707
|
),
|
|
@@ -6794,7 +6790,7 @@ function Mo(e, t, r, n = []) {
|
|
|
6794
6790
|
return de(F.class("bc-stack--gap-1"), ...s);
|
|
6795
6791
|
}
|
|
6796
6792
|
}
|
|
6797
|
-
function
|
|
6793
|
+
function Ks({
|
|
6798
6794
|
ctx: e,
|
|
6799
6795
|
controller: t
|
|
6800
6796
|
}) {
|
|
@@ -6845,7 +6841,7 @@ function Bs({
|
|
|
6845
6841
|
}
|
|
6846
6842
|
return { ok: !0 };
|
|
6847
6843
|
}, V = a["x:ui"], L = !!(V && typeof V == "object" && V.lockKeyAfterSet), B = (p) => {
|
|
6848
|
-
const P =
|
|
6844
|
+
const P = xe(p, (U) => U);
|
|
6849
6845
|
if (P !== void 0) return P;
|
|
6850
6846
|
const R = p.type;
|
|
6851
6847
|
if (R === "string") return "";
|
|
@@ -6859,9 +6855,9 @@ function Bs({
|
|
|
6859
6855
|
let K = 1;
|
|
6860
6856
|
for (; P.has(R + K) || !U(R + K); ) K++;
|
|
6861
6857
|
return R + K;
|
|
6862
|
-
}, oe =
|
|
6863
|
-
|
|
6864
|
-
(p) =>
|
|
6858
|
+
}, oe = wr(
|
|
6859
|
+
Sr,
|
|
6860
|
+
(p) => Aa(
|
|
6865
6861
|
{
|
|
6866
6862
|
variant: "outline",
|
|
6867
6863
|
disabled: !b,
|
|
@@ -6956,7 +6952,7 @@ function Vo(e, t, r) {
|
|
|
6956
6952
|
if (typeof d == "object" && d != null && "$ref" in d) {
|
|
6957
6953
|
const v = d.$ref;
|
|
6958
6954
|
if (typeof v == "string" && v.startsWith("#"))
|
|
6959
|
-
return
|
|
6955
|
+
return Vs(d, e.schema);
|
|
6960
6956
|
}
|
|
6961
6957
|
return d;
|
|
6962
6958
|
}), o = [];
|
|
@@ -7108,20 +7104,20 @@ function Ko({
|
|
|
7108
7104
|
controller: t
|
|
7109
7105
|
}) {
|
|
7110
7106
|
const r = e.definition.anyOf;
|
|
7111
|
-
return
|
|
7107
|
+
return Bs({ ctx: e, controller: t, kind: "anyOf", variants: r });
|
|
7112
7108
|
}
|
|
7113
7109
|
function Bo({
|
|
7114
7110
|
ctx: e,
|
|
7115
7111
|
controller: t
|
|
7116
7112
|
}) {
|
|
7117
7113
|
const r = e.definition.oneOf;
|
|
7118
|
-
return
|
|
7114
|
+
return Bs({ ctx: e, controller: t, kind: "oneOf", variants: r });
|
|
7119
7115
|
}
|
|
7120
7116
|
function bu({
|
|
7121
7117
|
ctx: e,
|
|
7122
7118
|
controller: t
|
|
7123
7119
|
}) {
|
|
7124
|
-
const n = e.definition.allOf.filter((u) => typeof u == "object").map((u) =>
|
|
7120
|
+
const n = e.definition.allOf.filter((u) => typeof u == "object").map((u) => Ls(u, e.schema, e.ajv)), { mergedSchema: a, conflicts: s } = Nr(n, e.path), o = e.with({
|
|
7125
7121
|
definition: a,
|
|
7126
7122
|
schemaConflicts: [...e.schemaConflicts, ...s]
|
|
7127
7123
|
});
|
|
@@ -7130,7 +7126,7 @@ function bu({
|
|
|
7130
7126
|
controller: t
|
|
7131
7127
|
});
|
|
7132
7128
|
}
|
|
7133
|
-
function
|
|
7129
|
+
function Bs({
|
|
7134
7130
|
ctx: e,
|
|
7135
7131
|
controller: t,
|
|
7136
7132
|
kind: r,
|
|
@@ -7162,7 +7158,7 @@ function Ws({
|
|
|
7162
7158
|
t.onDispose(d);
|
|
7163
7159
|
const v = n.length, $ = (g) => {
|
|
7164
7160
|
y = !0, h.set(g);
|
|
7165
|
-
}, S = v > 1 ?
|
|
7161
|
+
}, S = v > 1 ? Cs({
|
|
7166
7162
|
options: n.map((g, f) => ({
|
|
7167
7163
|
value: f,
|
|
7168
7164
|
label: a[f]
|
|
@@ -7178,7 +7174,7 @@ function Ws({
|
|
|
7178
7174
|
}),
|
|
7179
7175
|
controller: t
|
|
7180
7176
|
}));
|
|
7181
|
-
return
|
|
7177
|
+
return Ts({
|
|
7182
7178
|
ctx: e,
|
|
7183
7179
|
showSelector: v > 1,
|
|
7184
7180
|
selector: S,
|
|
@@ -7190,14 +7186,14 @@ function qe({
|
|
|
7190
7186
|
controller: t
|
|
7191
7187
|
}) {
|
|
7192
7188
|
const r = typeof e.definition == "boolean" ? {} : e.definition;
|
|
7193
|
-
let n = r?.$ref ?
|
|
7189
|
+
let n = r?.$ref ? Vs(r, e.schema) : r, a = e.with({ definition: n });
|
|
7194
7190
|
if (n?.allOf != null) {
|
|
7195
7191
|
const o = n.allOf.filter(
|
|
7196
7192
|
(u) => typeof u == "object" && u !== null
|
|
7197
7193
|
);
|
|
7198
7194
|
if (o.length > 0) {
|
|
7199
7195
|
const u = o.map(
|
|
7200
|
-
($) =>
|
|
7196
|
+
($) => Ls($, e.schema, e.ajv)
|
|
7201
7197
|
), { mergedSchema: h, conflicts: y } = Nr(u, e.path), { allOf: d, ...v } = n;
|
|
7202
7198
|
n = { ...v, ...h }, a = e.with({
|
|
7203
7199
|
definition: n,
|
|
@@ -7335,7 +7331,7 @@ function qe({
|
|
|
7335
7331
|
t,
|
|
7336
7332
|
se(
|
|
7337
7333
|
a,
|
|
7338
|
-
|
|
7334
|
+
Hs({
|
|
7339
7335
|
ctx: a,
|
|
7340
7336
|
controller: t
|
|
7341
7337
|
}),
|
|
@@ -7402,17 +7398,17 @@ function qe({
|
|
|
7402
7398
|
t,
|
|
7403
7399
|
se(
|
|
7404
7400
|
a,
|
|
7405
|
-
|
|
7401
|
+
Ws({
|
|
7406
7402
|
ctx: a,
|
|
7407
|
-
controller: t instanceof
|
|
7403
|
+
controller: t instanceof ea ? t : t.array()
|
|
7408
7404
|
}),
|
|
7409
7405
|
t
|
|
7410
7406
|
)
|
|
7411
7407
|
);
|
|
7412
7408
|
case "object": {
|
|
7413
|
-
const o =
|
|
7409
|
+
const o = Ks({
|
|
7414
7410
|
ctx: a,
|
|
7415
|
-
controller: t instanceof
|
|
7411
|
+
controller: t instanceof Qs ? t : t.object()
|
|
7416
7412
|
});
|
|
7417
7413
|
return a.isRoot ? pe(
|
|
7418
7414
|
a,
|
|
@@ -7434,7 +7430,7 @@ function qe({
|
|
|
7434
7430
|
t,
|
|
7435
7431
|
se(
|
|
7436
7432
|
a,
|
|
7437
|
-
|
|
7433
|
+
Ms({
|
|
7438
7434
|
controller: t
|
|
7439
7435
|
}),
|
|
7440
7436
|
t
|
|
@@ -7468,7 +7464,7 @@ function Wo({
|
|
|
7468
7464
|
return e === !0 ? Lt({ ctx: n, controller: t }) : e === !1 ? je() : qe({ ctx: n, controller: t });
|
|
7469
7465
|
}
|
|
7470
7466
|
function pe(e, t, r) {
|
|
7471
|
-
return
|
|
7467
|
+
return Fs(e.definition) ? wo({
|
|
7472
7468
|
ctx: e,
|
|
7473
7469
|
controller: t,
|
|
7474
7470
|
children: r,
|
|
@@ -7502,7 +7498,7 @@ function fs(e) {
|
|
|
7502
7498
|
const t = e["x:ui"];
|
|
7503
7499
|
return Array.isArray(t?.tupleLabels) ? t.tupleLabels : void 0;
|
|
7504
7500
|
}
|
|
7505
|
-
function
|
|
7501
|
+
function Ws({
|
|
7506
7502
|
ctx: e,
|
|
7507
7503
|
controller: t
|
|
7508
7504
|
}) {
|
|
@@ -7565,16 +7561,16 @@ function Hs({
|
|
|
7565
7561
|
return `Must contain at most ${d.maxContains} item(s) matching ${v} (currently ${d.count})`;
|
|
7566
7562
|
}
|
|
7567
7563
|
return `Contains ${d.count} item(s) matching ${v}`;
|
|
7568
|
-
}) : null, y =
|
|
7564
|
+
}) : null, y = Oa({
|
|
7569
7565
|
...Re({ ctx: e }),
|
|
7570
7566
|
createItem: () => {
|
|
7571
7567
|
const d = t.value.value?.length ?? 0;
|
|
7572
7568
|
if (n.isTuple && d < n.prefixItems.length) {
|
|
7573
7569
|
const v = n.prefixItems[d];
|
|
7574
|
-
return
|
|
7570
|
+
return xe(v, () => {
|
|
7575
7571
|
});
|
|
7576
7572
|
} else
|
|
7577
|
-
return
|
|
7573
|
+
return xe(
|
|
7578
7574
|
n.additionalItemsSchema,
|
|
7579
7575
|
() => {
|
|
7580
7576
|
}
|
|
@@ -7599,14 +7595,14 @@ function Hs({
|
|
|
7599
7595
|
let i = g;
|
|
7600
7596
|
w && n.isTuple && (i = de(
|
|
7601
7597
|
F.class("bc-stack--gap-1"),
|
|
7602
|
-
|
|
7598
|
+
Le(F.class("bc-array-control__item-label"), w),
|
|
7603
7599
|
i
|
|
7604
7600
|
));
|
|
7605
7601
|
const c = [];
|
|
7606
7602
|
return r.uniqueItems && c.push(
|
|
7607
7603
|
Je(
|
|
7608
7604
|
f,
|
|
7609
|
-
() =>
|
|
7605
|
+
() => Le(
|
|
7610
7606
|
F.class(
|
|
7611
7607
|
"bc-array-control__indicator bc-array-control__indicator--error"
|
|
7612
7608
|
),
|
|
@@ -7616,7 +7612,7 @@ function Hs({
|
|
|
7616
7612
|
), r.contains && c.push(
|
|
7617
7613
|
Je(
|
|
7618
7614
|
l,
|
|
7619
|
-
() =>
|
|
7615
|
+
() => Le(
|
|
7620
7616
|
F.class(
|
|
7621
7617
|
"bc-array-control__indicator bc-array-control__indicator--success"
|
|
7622
7618
|
),
|
|
@@ -7637,7 +7633,7 @@ function Hs({
|
|
|
7637
7633
|
info: d,
|
|
7638
7634
|
summary: v
|
|
7639
7635
|
})),
|
|
7640
|
-
({ info: d, summary: v }) =>
|
|
7636
|
+
({ info: d, summary: v }) => Le(
|
|
7641
7637
|
F.class(
|
|
7642
7638
|
d.isValid ? "bc-array-control__summary bc-array-control__summary--success" : "bc-array-control__summary bc-array-control__summary--error"
|
|
7643
7639
|
),
|
|
@@ -7649,13 +7645,13 @@ function Hs({
|
|
|
7649
7645
|
function Jo(e) {
|
|
7650
7646
|
return e.map((t) => ({
|
|
7651
7647
|
key: t,
|
|
7652
|
-
label:
|
|
7648
|
+
label: $r(t),
|
|
7653
7649
|
detect: (r) => ao(r, [t]) === t,
|
|
7654
7650
|
convert: (r) => io(r, t),
|
|
7655
7651
|
defaultValue: () => oo(t)
|
|
7656
7652
|
}));
|
|
7657
7653
|
}
|
|
7658
|
-
function
|
|
7654
|
+
function Hs({
|
|
7659
7655
|
ctx: e,
|
|
7660
7656
|
controller: t
|
|
7661
7657
|
}) {
|
|
@@ -7665,7 +7661,7 @@ function Js({
|
|
|
7665
7661
|
(S) => S !== "null" && (S === "string" || S === "number" || S === "integer" || S === "boolean")
|
|
7666
7662
|
), u = s && o.length === n.length - 1;
|
|
7667
7663
|
u && (n = o);
|
|
7668
|
-
const h = Jo(n), y = new
|
|
7664
|
+
const h = Jo(n), y = new ja(
|
|
7669
7665
|
t.path,
|
|
7670
7666
|
t.change,
|
|
7671
7667
|
t.value,
|
|
@@ -7674,8 +7670,8 @@ function Js({
|
|
|
7674
7670
|
h
|
|
7675
7671
|
);
|
|
7676
7672
|
t.onDispose(() => y.dispose());
|
|
7677
|
-
const d = (S) =>
|
|
7678
|
-
options: n.map((w) => ({ value: w, label:
|
|
7673
|
+
const d = (S) => Cs({
|
|
7674
|
+
options: n.map((w) => ({ value: w, label: $r(w) })),
|
|
7679
7675
|
selected: y.activeBranch,
|
|
7680
7676
|
onChange: S,
|
|
7681
7677
|
mode: a.selector ?? "auto"
|
|
@@ -7693,7 +7689,7 @@ function Js({
|
|
|
7693
7689
|
controller: g,
|
|
7694
7690
|
min: l.minimum,
|
|
7695
7691
|
max: l.maximum,
|
|
7696
|
-
step: w === "integer" ?
|
|
7692
|
+
step: w === "integer" ? As(l.multipleOf) : l.multipleOf
|
|
7697
7693
|
});
|
|
7698
7694
|
}
|
|
7699
7695
|
const f = e.with({
|
|
@@ -7723,19 +7719,19 @@ function Js({
|
|
|
7723
7719
|
controller: g
|
|
7724
7720
|
});
|
|
7725
7721
|
case "null":
|
|
7726
|
-
return
|
|
7722
|
+
return Ms({
|
|
7727
7723
|
controller: g
|
|
7728
7724
|
});
|
|
7729
7725
|
case "array": {
|
|
7730
7726
|
const l = g.array();
|
|
7731
|
-
return
|
|
7727
|
+
return Ws({
|
|
7732
7728
|
ctx: f,
|
|
7733
7729
|
controller: l
|
|
7734
7730
|
});
|
|
7735
7731
|
}
|
|
7736
7732
|
case "object": {
|
|
7737
7733
|
const l = g.object();
|
|
7738
|
-
return
|
|
7734
|
+
return Ks({
|
|
7739
7735
|
ctx: f,
|
|
7740
7736
|
controller: l
|
|
7741
7737
|
});
|
|
@@ -7747,7 +7743,7 @@ function Js({
|
|
|
7747
7743
|
});
|
|
7748
7744
|
}
|
|
7749
7745
|
});
|
|
7750
|
-
return
|
|
7746
|
+
return Ts({
|
|
7751
7747
|
ctx: e,
|
|
7752
7748
|
showSelector: n.length > 1,
|
|
7753
7749
|
selector: d(v),
|
|
@@ -7765,7 +7761,7 @@ function Lt({
|
|
|
7765
7761
|
}
|
|
7766
7762
|
}),
|
|
7767
7763
|
controller: t
|
|
7768
|
-
}) :
|
|
7764
|
+
}) : Hs({
|
|
7769
7765
|
ctx: e.with({
|
|
7770
7766
|
definition: {
|
|
7771
7767
|
...e.definition,
|
|
@@ -7775,14 +7771,14 @@ function Lt({
|
|
|
7775
7771
|
controller: t
|
|
7776
7772
|
});
|
|
7777
7773
|
}
|
|
7778
|
-
function
|
|
7774
|
+
function Go(e) {
|
|
7779
7775
|
if (typeof e == "boolean") return [];
|
|
7780
7776
|
const t = e["x:ui"];
|
|
7781
7777
|
return !t || !Array.isArray(t.crossField) ? [] : t.crossField.filter(
|
|
7782
7778
|
(r) => typeof r == "object" && r != null && typeof r.id == "string" && Array.isArray(r.fields) && typeof r.validate == "function"
|
|
7783
7779
|
);
|
|
7784
7780
|
}
|
|
7785
|
-
function
|
|
7781
|
+
function xo(e, t, r = !1) {
|
|
7786
7782
|
const n = [], a = [...t].sort(
|
|
7787
7783
|
(s, o) => (o.priority || 0) - (s.priority || 0)
|
|
7788
7784
|
);
|
|
@@ -7866,7 +7862,7 @@ function Yo(e) {
|
|
|
7866
7862
|
)), Array.isArray(t.crossField) && (r.crossField = t.crossField.filter(
|
|
7867
7863
|
(a) => typeof a == "object" && a != null && Array.isArray(a.fields) && typeof a.validate == "function"
|
|
7868
7864
|
));
|
|
7869
|
-
const n =
|
|
7865
|
+
const n = Go(e);
|
|
7870
7866
|
return n.length > 0 && (r.crossFieldRules = n), Array.isArray(t.async) && (r.async = t.async.filter(
|
|
7871
7867
|
(a) => typeof a == "object" && a != null && typeof a.validate == "function"
|
|
7872
7868
|
)), Object.keys(r).length > 0 ? r : void 0;
|
|
@@ -7946,7 +7942,7 @@ function Qo(e, t, r, n) {
|
|
|
7946
7942
|
console.warn("Error in cross-field validation:", o);
|
|
7947
7943
|
}
|
|
7948
7944
|
if (r.crossFieldRules && r.crossFieldRules.length > 0) {
|
|
7949
|
-
const s =
|
|
7945
|
+
const s = xo(
|
|
7950
7946
|
t,
|
|
7951
7947
|
r.crossFieldRules
|
|
7952
7948
|
);
|
|
@@ -8131,7 +8127,7 @@ function $u({
|
|
|
8131
8127
|
validationMode: s,
|
|
8132
8128
|
validateDebounceMs: o
|
|
8133
8129
|
}, u) {
|
|
8134
|
-
return
|
|
8130
|
+
return Ra(
|
|
8135
8131
|
Qi(e, {
|
|
8136
8132
|
externalSchemas: r,
|
|
8137
8133
|
refResolver: n,
|
|
@@ -8151,7 +8147,7 @@ function $u({
|
|
|
8151
8147
|
v,
|
|
8152
8148
|
d
|
|
8153
8149
|
) : V;
|
|
8154
|
-
}, { controller: f, setStatus: l } =
|
|
8150
|
+
}, { controller: f, setStatus: l } = ta({
|
|
8155
8151
|
initialValue: t,
|
|
8156
8152
|
validationMode: w,
|
|
8157
8153
|
validateDebounceMs: o,
|
|
@@ -8174,7 +8170,7 @@ function $u({
|
|
|
8174
8170
|
S.validateField(A, D, D);
|
|
8175
8171
|
}) : () => {
|
|
8176
8172
|
}, q = je(
|
|
8177
|
-
|
|
8173
|
+
Na(() => {
|
|
8178
8174
|
_(), b(), E(), S?.dispose(), f.dispose();
|
|
8179
8175
|
}),
|
|
8180
8176
|
Wo({ schema: e, controller: f, ajv: y })
|
|
@@ -8185,11 +8181,11 @@ function $u({
|
|
|
8185
8181
|
}
|
|
8186
8182
|
);
|
|
8187
8183
|
}
|
|
8188
|
-
var
|
|
8189
|
-
const Gs = /* @__PURE__ */
|
|
8184
|
+
var Js = ks();
|
|
8185
|
+
const Gs = /* @__PURE__ */ $s(Js), iu = /* @__PURE__ */ Ta({
|
|
8190
8186
|
__proto__: null,
|
|
8191
8187
|
default: Gs
|
|
8192
|
-
}, [
|
|
8188
|
+
}, [Js]);
|
|
8193
8189
|
function wu(e, t) {
|
|
8194
8190
|
const n = (t?.ajv ?? new Gs({ allErrors: !0 })).compile(e);
|
|
8195
8191
|
return {
|
|
@@ -8233,55 +8229,56 @@ function fu(e) {
|
|
|
8233
8229
|
return /^\d+$/.test(e);
|
|
8234
8230
|
}
|
|
8235
8231
|
export {
|
|
8236
|
-
|
|
8237
|
-
|
|
8238
|
-
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
|
|
8232
|
+
kr as A,
|
|
8233
|
+
Qi as B,
|
|
8234
|
+
Nr as C,
|
|
8235
|
+
no as D,
|
|
8236
|
+
so as E,
|
|
8237
|
+
Is as F,
|
|
8238
|
+
He as G,
|
|
8239
|
+
Po as H,
|
|
8240
|
+
Eo as I,
|
|
8245
8241
|
Lt as J,
|
|
8246
|
-
|
|
8247
|
-
|
|
8248
|
-
|
|
8249
|
-
|
|
8250
|
-
|
|
8251
|
-
|
|
8252
|
-
|
|
8253
|
-
|
|
8242
|
+
zt as K,
|
|
8243
|
+
gr as L,
|
|
8244
|
+
yr as M,
|
|
8245
|
+
vr as N,
|
|
8246
|
+
Ms as O,
|
|
8247
|
+
Ws as P,
|
|
8248
|
+
Ks as Q,
|
|
8249
|
+
Hs as R,
|
|
8254
8250
|
Rr as S,
|
|
8255
|
-
|
|
8256
|
-
|
|
8257
|
-
|
|
8258
|
-
|
|
8259
|
-
|
|
8260
|
-
|
|
8251
|
+
Ko as T,
|
|
8252
|
+
Bo as U,
|
|
8253
|
+
bu as V,
|
|
8254
|
+
qe as W,
|
|
8255
|
+
Wo as X,
|
|
8256
|
+
$u as Y,
|
|
8257
|
+
wu as Z,
|
|
8261
8258
|
Ai as a,
|
|
8262
8259
|
Ti as b,
|
|
8263
8260
|
Wt as c,
|
|
8264
|
-
|
|
8261
|
+
G as d,
|
|
8265
8262
|
Pr as e,
|
|
8266
8263
|
Ht as f,
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
|
|
8264
|
+
$s as g,
|
|
8265
|
+
ri as h,
|
|
8266
|
+
pi as i,
|
|
8267
|
+
ki as j,
|
|
8268
|
+
Ni as k,
|
|
8269
|
+
Ii as l,
|
|
8270
|
+
Ie as m,
|
|
8271
|
+
Er as n,
|
|
8272
|
+
ti as o,
|
|
8273
|
+
ee as p,
|
|
8274
|
+
vi as q,
|
|
8278
8275
|
Qa as r,
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8276
|
+
Rs as s,
|
|
8277
|
+
Hi as t,
|
|
8278
|
+
Ji as u,
|
|
8279
|
+
Gi as v,
|
|
8280
|
+
jr as w,
|
|
8281
|
+
gu as x,
|
|
8282
|
+
vu as y,
|
|
8283
|
+
_u as z
|
|
8287
8284
|
};
|