@paroicms/admin-ui 1.86.5 → 1.86.7
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.
|
@@ -26,7 +26,7 @@ Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}
|
|
|
26
26
|
Source: (${e.slice(0,-1)}) => {
|
|
27
27
|
${e[e.length-1]}
|
|
28
28
|
}`)}}};class wu{constructor(t,...[n]){return Object.assign(Object.setPrototypeOf(t.bind(n?.bind??this),this.constructor.prototype),n?.attach)}}const aj=nj(()=>{try{return new Function("return false")()}catch{return!0}});class $l{constructor(){}}var oj={};const ij=()=>{try{return((new Error().stack?.split(`
|
|
29
|
-
`)[2]?.trim()||"").match(/\(?(.+?)(?::\d+:\d+)?\)?$/)?.[1]||"unknown").replace(/^file:\/\//,"")}catch{return"unknown"}},lj=oj??{},sj={fileName:ij,env:lj},uj=e=>e[0].toUpperCase()+e.slice(1),h7=e=>new RegExp(cj(e),typeof e=="string"?"":e.flags),cj=e=>`^(?:${typeof e=="string"?e:e.source})$`,su={negativeLookahead:e=>`(?!${e})`,nonCapturingGroup:e=>`(?:${e})`},Cp="\\",ob={" ":1,"\n":1," ":1},dj=/^-0\.?0*$/.source,g7=/[1-9]\d*/.source,fj=/\.\d+/.source,pj=/\.\d*[1-9]/.source,v7=e=>h7(su.negativeLookahead(dj)+su.nonCapturingGroup("-?"+su.nonCapturingGroup(su.nonCapturingGroup("0|"+g7)+su.nonCapturingGroup(e.decimalPattern)+"?")+(e.allowDecimalOnly?"|"+e.decimalPattern:"")+"?")),OD=v7({decimalPattern:pj,allowDecimalOnly:!1}),mj=OD.test.bind(OD),N0=v7({decimalPattern:fj,allowDecimalOnly:!0});N0.test.bind(N0);const hj=/^-?\d*\.?\d*$/,gj=e=>e.length!==0&&hj.test(e),Nv=h7(su.negativeLookahead("^-0$")+"-?"+su.nonCapturingGroup(su.nonCapturingGroup("0|"+g7))),vj=Nv.test.bind(Nv),M0=/^-?\d+$/,bj=M0.test.bind(M0),b7={number:"a number",bigint:"a bigint",integer:"an integer"},y7=(e,t)=>`'${e}' was parsed as ${b7[t]} but could not be narrowed to a literal value. Avoid unnecessary leading or trailing zeros and other abnormal notation`,yj=(e,t)=>t==="number"?mj(e):vj(e),wj=(e,t)=>t==="number"?Number(e):Number.parseInt(e),Sj=(e,t)=>t==="number"?gj(e):bj(e),Cj=(e,t)=>YS(e,"number",t),xj=(e,t)=>YS(e,"number",{...t,strict:!0}),Ej=(e,t)=>YS(e,"integer",t),YS=(e,t,n)=>{const a=wj(e,t);return!Number.isNaN(a)&&Sj(e,t)?n?.strict?yj(e,t)?a:Jt(y7(e,t)):a:n?.errorOnFail?Jt(n?.errorOnFail===!0?`Failed to parse ${b7[t]} from '${e}'`:n?.errorOnFail):void 0},Dj=e=>{if(e[e.length-1]!=="n")return;const t=e.slice(0,-1);let n;try{n=BigInt(t)}catch{return}if(Nv.test(t))return n;if(M0.test(t))return Jt(y7(e,"bigint"))},Oj="0.
|
|
29
|
+
`)[2]?.trim()||"").match(/\(?(.+?)(?::\d+:\d+)?\)?$/)?.[1]||"unknown").replace(/^file:\/\//,"")}catch{return"unknown"}},lj=oj??{},sj={fileName:ij,env:lj},uj=e=>e[0].toUpperCase()+e.slice(1),h7=e=>new RegExp(cj(e),typeof e=="string"?"":e.flags),cj=e=>`^(?:${typeof e=="string"?e:e.source})$`,su={negativeLookahead:e=>`(?!${e})`,nonCapturingGroup:e=>`(?:${e})`},Cp="\\",ob={" ":1,"\n":1," ":1},dj=/^-0\.?0*$/.source,g7=/[1-9]\d*/.source,fj=/\.\d+/.source,pj=/\.\d*[1-9]/.source,v7=e=>h7(su.negativeLookahead(dj)+su.nonCapturingGroup("-?"+su.nonCapturingGroup(su.nonCapturingGroup("0|"+g7)+su.nonCapturingGroup(e.decimalPattern)+"?")+(e.allowDecimalOnly?"|"+e.decimalPattern:"")+"?")),OD=v7({decimalPattern:pj,allowDecimalOnly:!1}),mj=OD.test.bind(OD),N0=v7({decimalPattern:fj,allowDecimalOnly:!0});N0.test.bind(N0);const hj=/^-?\d*\.?\d*$/,gj=e=>e.length!==0&&hj.test(e),Nv=h7(su.negativeLookahead("^-0$")+"-?"+su.nonCapturingGroup(su.nonCapturingGroup("0|"+g7))),vj=Nv.test.bind(Nv),M0=/^-?\d+$/,bj=M0.test.bind(M0),b7={number:"a number",bigint:"a bigint",integer:"an integer"},y7=(e,t)=>`'${e}' was parsed as ${b7[t]} but could not be narrowed to a literal value. Avoid unnecessary leading or trailing zeros and other abnormal notation`,yj=(e,t)=>t==="number"?mj(e):vj(e),wj=(e,t)=>t==="number"?Number(e):Number.parseInt(e),Sj=(e,t)=>t==="number"?gj(e):bj(e),Cj=(e,t)=>YS(e,"number",t),xj=(e,t)=>YS(e,"number",{...t,strict:!0}),Ej=(e,t)=>YS(e,"integer",t),YS=(e,t,n)=>{const a=wj(e,t);return!Number.isNaN(a)&&Sj(e,t)?n?.strict?yj(e,t)?a:Jt(y7(e,t)):a:n?.errorOnFail?Jt(n?.errorOnFail===!0?`Failed to parse ${b7[t]} from '${e}'`:n?.errorOnFail):void 0},Dj=e=>{if(e[e.length-1]!=="n")return;const t=e.slice(0,-1);let n;try{n=BigInt(t)}catch{return}if(Nv.test(t))return n;if(M0.test(t))return Jt(y7(e,"bigint"))},Oj="0.55.0",Pj={version:Oj,filename:sj.fileName(),FileConstructor:f7},Fm=Pj,PD=new Map,A1=Object.create(null),R0=e=>{const t=PD.get(e);if(t)return t;let n=Ij(e);return A1[n]?n=`${n}${A1[n]++}`:A1[n]=1,Fm[n]=e,PD.set(e,n),n},Vp=e=>/^[$A-Z_a-z][\w$]*$/.test(e),Ij=e=>{switch(typeof e){case"object":{if(e===null)break;const t=qS(e)??"object";return t[0].toLowerCase()+t.slice(1)}case"function":return Vp(e.name)?e.name:"fn";case"symbol":return e.description&&Vp(e.description)?e.description:"symbol"}return Ja(`Unexpected attempt to register serializable value of type ${fl(e)}`)},JS=e=>typeof e=="string"?JSON.stringify(e):typeof e=="bigint"?`${e}n`:`${e}`,Nj=(e,t={})=>xp(e,{onUndefined:"$ark.undefined",onBigInt:n=>`$ark.bigint-${n}`,...t},[]),Ur=(e,t)=>{switch(fl(e)){case"object":const n=e,a=n.constructor.name;return a==="Object"||a==="Array"?t?.quoteKeys===!1?Mv(n,t?.indent??0,""):JSON.stringify(xp(n,Ud,[]),null,t?.indent):Mv(n,t?.indent??0,"");case"symbol":return Ud.onSymbol(e);default:return JS(e)}},Mv=(e,t,n)=>{if(typeof e=="function")return Ud.onFunction(e);if(typeof e!="object"||e===null)return JS(e);const a=n+" ".repeat(t);if(Array.isArray(e)){if(e.length===0)return"[]";const l=e.map(s=>Mv(s,t,a)).join(`,
|
|
30
30
|
`+a);return t?`[
|
|
31
31
|
${a}${l}
|
|
32
32
|
${n}]`:`[${l}]`}const r=e.constructor.name;if(r==="Object"){const l=Iv(e).map(([s,c])=>{const f=typeof s=="symbol"?Ud.onSymbol(s):Vp(s)?s:JSON.stringify(s),p=Mv(c,t,a);return`${a}${f}: ${p}`});return l.length===0?"{}":t?`{
|
package/dist/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<meta name="robots" content="noindex, nofollow" />
|
|
7
|
-
<script type="module" crossorigin src="/adm/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/adm/assets/index-C-f41ES6.js"></script>
|
|
8
8
|
<link rel="stylesheet" crossorigin href="/adm/assets/index-DMO-grYE.css">
|
|
9
9
|
</head>
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paroicms/admin-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.86.
|
|
4
|
+
"version": "1.86.7",
|
|
5
5
|
"description": "Admin UI for ParoiCMS",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@paroi/use-async-effect": "~1.0.0",
|
|
38
|
-
"@paroicms/internal-anywhere-lib": "1.35.
|
|
39
|
-
"@paroicms/public-admin-ui-lib": "0.29.
|
|
40
|
-
"@paroicms/public-anywhere-lib": "0.38.
|
|
41
|
-
"@paroicms/react-ui": "0.4.
|
|
42
|
-
"@paroicms/ui-logger": "1.15.
|
|
38
|
+
"@paroicms/internal-anywhere-lib": "1.35.8",
|
|
39
|
+
"@paroicms/public-admin-ui-lib": "0.29.8",
|
|
40
|
+
"@paroicms/public-anywhere-lib": "0.38.3",
|
|
41
|
+
"@paroicms/react-ui": "0.4.3",
|
|
42
|
+
"@paroicms/ui-logger": "1.15.6",
|
|
43
43
|
"@testing-library/jest-dom": "~6.9.1",
|
|
44
44
|
"@testing-library/react": "~16.3.0",
|
|
45
45
|
"@testing-library/user-event": "~14.6.1",
|
|
46
46
|
"@types/react": "~19.2.5",
|
|
47
47
|
"@types/react-dom": "~19.2.3",
|
|
48
48
|
"@vitejs/plugin-react": "~5.1.1",
|
|
49
|
-
"arktype": "~2.1.
|
|
49
|
+
"arktype": "~2.1.27",
|
|
50
50
|
"date-fns": "~4.1.0",
|
|
51
51
|
"graphql": "~16.12.0",
|
|
52
52
|
"i18next": "~25.6.2",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"typescript": "~5.9.3",
|
|
67
67
|
"vite": "~7.2.2",
|
|
68
68
|
"vite-plugin-checker": "~0.11.0",
|
|
69
|
-
"vitest": "~4.0.
|
|
69
|
+
"vitest": "~4.0.10",
|
|
70
70
|
"zustand": "~5.0.8"
|
|
71
71
|
}
|
|
72
72
|
}
|