@tempots/beatui 0.58.0 → 0.60.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-B4jrQ2Q8.cjs → 2019-CSG1mHKh.cjs} +1 -1
- package/dist/{2019-DH5GYJC9.js → 2019-xRoq64Hq.js} +2 -2
- package/dist/{2020-C3vh26yT.js → 2020-BxLJruSu.js} +2 -2
- package/dist/{2020-BVrVGeh-.cjs → 2020-CySfMcC9.cjs} +1 -1
- package/dist/{ar-x9O6JsRN.cjs → ar-B7Vs1jtG.cjs} +1 -1
- package/dist/{ar-CKheF7Rb.js → ar-BOqk-mzn.js} +1 -1
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +4 -4
- package/dist/beatui.css +213 -55
- package/dist/beatui.tailwind.css +213 -55
- package/dist/{de-CqFnIl0Y.js → de-CviZ-p_4.js} +1 -1
- package/dist/{de-C0nhZh4a.cjs → de-DNjhUbYu.cjs} +1 -1
- package/dist/{es-C3c1-2iA.cjs → es-D82T2KKm.cjs} +1 -1
- package/dist/{es-Cv9ZSjqz.js → es-DxuZQTVE.js} +1 -1
- package/dist/{fa-CG8B9M9O.js → fa-BBySqLUh.js} +1 -1
- package/dist/{fa-BbV4_mYi.cjs → fa-C7eY3MZF.cjs} +1 -1
- package/dist/{fr-B2f1Pmal.js → fr-DBCblSme.js} +1 -1
- package/dist/{fr-DlFsnCqK.cjs → fr-DlXc2xhl.cjs} +1 -1
- package/dist/{he-DwQ2QMJE.cjs → he-1Czj0G0s.cjs} +1 -1
- package/dist/{he-BmHa696l.js → he-DUrHwGF6.js} +1 -1
- package/dist/{hi-DNII_Adz.js → hi-BdJqIhvL.js} +1 -1
- package/dist/{hi-DaHMe_1C.cjs → hi-DyWQTexo.cjs} +1 -1
- package/dist/{index-Dd3PocYl.js → index-B6myFAz5.js} +1 -1
- package/dist/{index-ZRQP8j2O.cjs → index-BLTlhUPG.cjs} +1 -1
- package/dist/{index-DjLKVVL-.cjs → index-CMIeO1pS.cjs} +1 -1
- package/dist/{index-Dhaodhgr.cjs → index-Cok4rljj.cjs} +2 -2
- package/dist/{index-DCOaDJ8f.js → index-D6_EcuJG.js} +1 -1
- package/dist/{index-gZaps7_A.js → index-DGQhsTxm.js} +6 -6
- package/dist/{index-COM8WyaG.cjs → index-Duw9TkLf.cjs} +1 -1
- package/dist/{index-BYflP18C.js → index-yhjOw19A.js} +3 -3
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +10 -10
- package/dist/{it-894w7K0i.js → it-B7HY_G0n.js} +1 -1
- package/dist/{it-Cli1u40l.cjs → it-BhqBuhZq.cjs} +1 -1
- package/dist/{ja-DY7Zij7O.cjs → ja-Be1SXGQn.cjs} +1 -1
- package/dist/{ja-j4AV8eVy.js → ja-DavHeIBC.js} +1 -1
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +1 -1
- package/dist/{ko-CNZqypvW.js → ko-Be3o52et.js} +1 -1
- package/dist/{ko-CHlprpVP.cjs → ko-BuyoVlmH.cjs} +1 -1
- package/dist/{modal-1Y-q1wDn.js → modal-BT2LwYlK.js} +2 -2
- package/dist/{modal-D765-SiT.cjs → modal-DT3cH1Kz.cjs} +1 -1
- package/dist/{nl-CzTp9ds0.js → nl-DJIY4R0b.js} +1 -1
- package/dist/{nl-CgMv4O0P.cjs → nl-FD8OAOWL.cjs} +1 -1
- package/dist/{notice-D8w_39td.cjs → notice-CUTUN2Kh.cjs} +1 -1
- package/dist/{notice-DJ-olOQx.js → notice-Cs95CTP3.js} +1 -1
- package/dist/{pl-DQid7ctL.js → pl-Bqoq63Fm.js} +1 -1
- package/dist/{pl-Cm8Lerxg.cjs → pl-weZLWcSD.cjs} +1 -1
- package/dist/prosemirror/index.cjs.js +1 -1
- package/dist/prosemirror/index.es.js +1 -1
- package/dist/{pt-BAU0nrtN.js → pt-7g4YVboz.js} +1 -1
- package/dist/{pt-k6sIkC0v.cjs → pt-BuBrXOmS.cjs} +1 -1
- package/dist/{ru-Dioznrt_.cjs → ru-Br9Wedcu.cjs} +1 -1
- package/dist/{ru-CtYj3NlJ.js → ru-hvj4lu1_.js} +1 -1
- package/dist/{toolbar-BMzapKW0.cjs → toolbar-Bk_vLHOS.cjs} +1 -1
- package/dist/{toolbar-Bo4GA6tM.js → toolbar-ReCF2tBa.js} +1 -1
- package/dist/{tr-CwCsfbe5.cjs → tr-BSuvz1N5.cjs} +1 -1
- package/dist/{tr-wS-zWzvh.js → tr-qxangEut.js} +1 -1
- package/dist/{translations-Dm7vjy7D.js → translations-BtsgtW4T.js} +1 -1
- package/dist/translations-CGTcEchB.cjs +1 -0
- package/dist/{translations-Do71ycSR.js → translations-D5WRSMhS.js} +245 -239
- package/dist/{translations-CD_Qi9EQ.cjs → translations-DmVvxPlr.cjs} +1 -1
- package/dist/types/components/button/button.d.ts +7 -1
- package/dist/types/components/form/input/files-input.d.ts +1 -1
- package/dist/{ur-8NSFWrMo.js → ur-CCcFf5OU.js} +1 -1
- package/dist/{ur-D3nkqfyQ.cjs → ur-DBg2MZvK.cjs} +1 -1
- package/dist/utils-3Mm1sj4Q.cjs +1 -0
- package/dist/{utils-DzKhEJ__.js → utils-CutcxfzK.js} +976 -898
- package/dist/{vi-CngHpCNM.js → vi-BAHqe-lr.js} +1 -1
- package/dist/{vi-BAAJHs3a.cjs → vi-DeH8SXUt.cjs} +1 -1
- package/dist/{zh-Bkxc6ZmR.js → zh-B-ZsrhFY.js} +1 -1
- package/dist/{zh-CRWrZhUp.cjs → zh-Ceo_KGzC.cjs} +1 -1
- package/package.json +1 -1
- package/dist/translations-t-neYabN.cjs +0 -1
- package/dist/utils-dY__yBXk.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as I, f as S, R as $, S as x, F as u, l as w, c as R, a as L } from "./index-
|
|
1
|
+
import { N as I, f as S, R as $, S as x, F as u, l as w, c as R, a as L } from "./index-yhjOw19A.js";
|
|
2
2
|
function b(d, t = null) {
|
|
3
3
|
return function(e, n) {
|
|
4
4
|
let { $from: o, $to: l } = e.selection, f = o.blockRange(l);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as Se, S as de, I as Xe, c as Z, M as Yt, P as Zs, E as Qs, b as Mr, N as ps, L as Le, x as ea, C as ms, i as ta, A as ra, l as na } from "./notice-
|
|
2
|
-
import { ah as $r, ai as sa, S as aa, N as ia, a as ys, j as oa, t as le, x as Ve, w as Zt, H as ua, C as ca, W as la, O as fa, Q as da, v as ha, s as pa, r as ma, u as ya, g as Ue, T as ga, D as va, z as pr, y as _a, M as Ye, K as ba, J as $a, I as wa, R as Sa, A as Ea, q as Pa, G as Oa, m as gs, V as ja, L as ka, f as Ra } from "./utils-
|
|
1
|
+
import { a as Se, S as de, I as Xe, c as Z, M as Yt, P as Zs, E as Qs, b as Mr, N as ps, L as Le, x as ea, C as ms, i as ta, A as ra, l as na } from "./notice-Cs95CTP3.js";
|
|
2
|
+
import { ah as $r, ai as sa, S as aa, N as ia, a as ys, j as oa, t as le, x as Ve, w as Zt, H as ua, C as ca, W as la, O as fa, Q as da, v as ha, s as pa, r as ma, u as ya, g as Ue, T as ga, D as va, z as pr, y as _a, M as Ye, K as ba, J as $a, I as wa, R as Sa, A as Ea, q as Pa, G as Oa, m as gs, V as ja, L as ka, f as Ra } from "./utils-CutcxfzK.js";
|
|
3
3
|
import { attr as F, Value as ne, Fragment as je, WithElement as vs, Empty as _s, html as J, When as We, computedOf as ie, prop as ke, Use as wr, style as bs, Ensure as $s, aria as Na, on as xe, MapSignal as Ut, Async as Aa, OnDispose as Ia } from "@tempots/dom";
|
|
4
|
-
import { T as Ca, a as Sr, I as ws, B as Ta } from "./translations-
|
|
4
|
+
import { T as Ca, a as Sr, I as ws, B as Ta } from "./translations-D5WRSMhS.js";
|
|
5
5
|
import { f as qa } from "./colors-pQZlNrwM.js";
|
|
6
6
|
function Ma(e, t) {
|
|
7
7
|
for (var r = 0; r < t.length; r++) {
|
|
@@ -4730,9 +4730,9 @@ async function ts(e, t, r) {
|
|
|
4730
4730
|
const n = (await (() => {
|
|
4731
4731
|
switch (e) {
|
|
4732
4732
|
case "2020-12":
|
|
4733
|
-
return import("./2020-
|
|
4733
|
+
return import("./2020-BxLJruSu.js").then((a) => a._);
|
|
4734
4734
|
case "2019-09":
|
|
4735
|
-
return import("./2019-
|
|
4735
|
+
return import("./2019-xRoq64Hq.js").then((a) => a._);
|
|
4736
4736
|
case "draft-07":
|
|
4737
4737
|
return Promise.resolve().then(() => hu);
|
|
4738
4738
|
}
|
|
@@ -5659,7 +5659,7 @@ function ns({
|
|
|
5659
5659
|
return n.mediaType && (n.mediaType.startsWith("image/") || n.mediaType.startsWith("video/") || n.mediaType.startsWith("audio/") || n.mediaType === "application/pdf" || a?.preferFileUpload === !0) ? Z(_o, {
|
|
5660
5660
|
...t,
|
|
5661
5661
|
controller: le(r),
|
|
5662
|
-
mode: "
|
|
5662
|
+
mode: "input",
|
|
5663
5663
|
accept: n.mediaType || "*/*",
|
|
5664
5664
|
maxFileSize: (typeof a?.maxBytes == "number" ? a.maxBytes : void 0) || (typeof a?.maxFileSize == "number" ? a.maxFileSize : void 0),
|
|
5665
5665
|
showFileList: !0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const m=require("./index-
|
|
1
|
+
"use strict";const m=require("./index-Cok4rljj.cjs");var R={},_={},O;function H(){if(O)return _;O=1,Object.defineProperty(_,"__esModule",{value:!0}),_.dynamicAnchor=void 0;const e=m.requireCodegen(),r=m.requireNames(),n=m.requireCompile(),l=m.requireRef(),o={keyword:"$dynamicAnchor",schemaType:"string",code:i=>t(i,i.schema)};function t(i,v){const{gen:s,it:d}=i;d.schemaEnv.root.dynamicAnchors[v]=!0;const y=(0,e._)`${r.default.dynamicAnchors}${(0,e.getProperty)(v)}`,a=d.errSchemaPath==="#"?d.validateName:u(i);s.if((0,e._)`!${y}`,()=>s.assign(y,a))}_.dynamicAnchor=t;function u(i){const{schemaEnv:v,schema:s,self:d}=i.it,{root:y,baseId:a,localRefs:f,meta:p}=v.root,{schemaId:S}=d.opts,c=new n.SchemaEnv({schema:s,schemaId:S,root:y,baseId:a,localRefs:f,meta:p});return n.compileSchema.call(d,c),(0,l.getValidate)(i,c)}return _.default=o,_}var q={},C;function J(){if(C)return q;C=1,Object.defineProperty(q,"__esModule",{value:!0}),q.dynamicRef=void 0;const e=m.requireCodegen(),r=m.requireNames(),n=m.requireRef(),l={keyword:"$dynamicRef",schemaType:"string",code:t=>o(t,t.schema)};function o(t,u){const{gen:i,keyword:v,it:s}=t;if(u[0]!=="#")throw new Error(`"${v}" only supports hash fragment reference`);const d=u.slice(1);if(s.allErrors)y();else{const f=i.let("valid",!1);y(f),t.ok(f)}function y(f){if(s.schemaEnv.root.dynamicAnchors[d]){const p=i.let("_v",(0,e._)`${r.default.dynamicAnchors}${(0,e.getProperty)(d)}`);i.if(p,a(p,f),a(s.validateName,f))}else a(s.validateName,f)()}function a(f,p){return p?()=>i.block(()=>{(0,n.callRef)(t,f),i.let(p,!0)}):()=>(0,n.callRef)(t,f)}}return q.dynamicRef=o,q.default=l,q}var $={},N;function K(){if(N)return $;N=1,Object.defineProperty($,"__esModule",{value:!0});const e=H(),r=m.requireUtil(),n={keyword:"$recursiveAnchor",schemaType:"boolean",code(l){l.schema?(0,e.dynamicAnchor)(l,""):(0,r.checkStrictMode)(l.it,"$recursiveAnchor: false is ignored")}};return $.default=n,$}var b={},I;function Q(){if(I)return b;I=1,Object.defineProperty(b,"__esModule",{value:!0});const e=J(),r={keyword:"$recursiveRef",schemaType:"string",code:n=>(0,e.dynamicRef)(n,n.schema)};return b.default=r,b}var U;function W(){if(U)return R;U=1,Object.defineProperty(R,"__esModule",{value:!0});const e=H(),r=J(),n=K(),l=Q(),o=[e.default,r.default,n.default,l.default];return R.default=o,R}var P={},g={},E;function X(){if(E)return g;E=1,Object.defineProperty(g,"__esModule",{value:!0});const e=m.requireDependencies(),r={keyword:"dependentRequired",type:"object",schemaType:"object",error:e.error,code:n=>(0,e.validatePropertyDeps)(n)};return g.default=r,g}var j={},V;function Y(){if(V)return j;V=1,Object.defineProperty(j,"__esModule",{value:!0});const e=m.requireDependencies(),r={keyword:"dependentSchemas",type:"object",schemaType:"object",code:n=>(0,e.validateSchemaDeps)(n)};return j.default=r,j}var k={},L;function Z(){if(L)return k;L=1,Object.defineProperty(k,"__esModule",{value:!0});const e=m.requireUtil(),r={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:n,parentSchema:l,it:o}){l.contains===void 0&&(0,e.checkStrictMode)(o,`"${n}" without "contains" is ignored`)}};return k.default=r,k}var z;function x(){if(z)return P;z=1,Object.defineProperty(P,"__esModule",{value:!0});const e=X(),r=Y(),n=Z(),l=[e.default,r.default,n.default];return P.default=l,P}var w={},A={},B;function ee(){if(B)return A;B=1,Object.defineProperty(A,"__esModule",{value:!0});const e=m.requireCodegen(),r=m.requireUtil(),n=m.requireNames(),o={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:t})=>(0,e._)`{unevaluatedProperty: ${t.unevaluatedProperty}}`},code(t){const{gen:u,schema:i,data:v,errsCount:s,it:d}=t;if(!s)throw new Error("ajv implementation error");const{allErrors:y,props:a}=d;a instanceof e.Name?u.if((0,e._)`${a} !== true`,()=>u.forIn("key",v,c=>u.if(p(a,c),()=>f(c)))):a!==!0&&u.forIn("key",v,c=>a===void 0?f(c):u.if(S(a,c),()=>f(c))),d.props=!0,t.ok((0,e._)`${s} === ${n.default.errors}`);function f(c){if(i===!1){t.setParams({unevaluatedProperty:c}),t.error(),y||u.break();return}if(!(0,r.alwaysValidSchema)(d,i)){const h=u.name("valid");t.subschema({keyword:"unevaluatedProperties",dataProp:c,dataPropType:r.Type.Str},h),y||u.if((0,e.not)(h),()=>u.break())}}function p(c,h){return(0,e._)`!${c} || !${c}[${h}]`}function S(c,h){const T=[];for(const M in c)c[M]===!0&&T.push((0,e._)`${h} !== ${M}`);return(0,e.and)(...T)}}};return A.default=o,A}var D={},F;function re(){if(F)return D;F=1,Object.defineProperty(D,"__esModule",{value:!0});const e=m.requireCodegen(),r=m.requireUtil(),l={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:o}})=>(0,e.str)`must NOT have more than ${o} items`,params:({params:{len:o}})=>(0,e._)`{limit: ${o}}`},code(o){const{gen:t,schema:u,data:i,it:v}=o,s=v.items||0;if(s===!0)return;const d=t.const("len",(0,e._)`${i}.length`);if(u===!1)o.setParams({len:s}),o.fail((0,e._)`${d} > ${s}`);else if(typeof u=="object"&&!(0,r.alwaysValidSchema)(v,u)){const a=t.var("valid",(0,e._)`${d} <= ${s}`);t.if((0,e.not)(a),()=>y(a,s)),o.ok(a)}v.items=!0;function y(a,f){t.forRange("i",f,d,p=>{o.subschema({keyword:"unevaluatedItems",dataProp:p,dataPropType:r.Type.Num},a),v.allErrors||t.if((0,e.not)(a),()=>t.break())})}}};return D.default=l,D}var G;function ne(){if(G)return w;G=1,Object.defineProperty(w,"__esModule",{value:!0});const e=ee(),r=re(),n=[e.default,r.default];return w.default=n,w}exports.requireDynamic=W;exports.requireNext=x;exports.requireUnevaluated=ne;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { When as It, attr as Je, prop as zi, Fragment as Pi, OnDispose as br, Ensure as xr, signal as kr, computedOf as Li, Use as qi, Repeat as el, Value as j, html as fu, Task as tl, WithElement as nl } from "@tempots/dom";
|
|
2
|
-
import { a as Vi, b as $i, T as rl } from "./toolbar-
|
|
3
|
-
import { I as ul, T as il, a as sl } from "./translations-
|
|
2
|
+
import { a as Vi, b as $i, T as rl } from "./toolbar-ReCF2tBa.js";
|
|
3
|
+
import { I as ul, T as il, a as sl } from "./translations-D5WRSMhS.js";
|
|
4
4
|
import { L as ol } from "./link-portal-Cr2l9f3k.js";
|
|
5
5
|
import { ticker as ll } from "@tempots/ui";
|
|
6
6
|
import { T as al } from "./theme-B5pmbvQ_.js";
|
|
@@ -350,7 +350,7 @@ async function gl(t, e) {
|
|
|
350
350
|
r != null && (n(r, { level: e })(t.state, t.dispatch), t.focus());
|
|
351
351
|
}
|
|
352
352
|
async function du(t, e) {
|
|
353
|
-
const { wrapInList: n, liftListItem: r } = await import("./index-
|
|
353
|
+
const { wrapInList: n, liftListItem: r } = await import("./index-D6_EcuJG.js"), u = t.state.schema.nodes[e], i = t.state.schema.nodes.list_item;
|
|
354
354
|
if (u == null || i == null) return;
|
|
355
355
|
const { state: s } = t, { $from: o } = s.selection;
|
|
356
356
|
let l = null;
|