@pandacss/language-server 0.0.0-dev-20230825160144 → 0.0.0-dev-20230829122546
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/index.js +96 -90
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -31004,7 +31004,7 @@ ${p}`),r?wet(p,{minify:n}):p}catch(i){throw i instanceof o$t&&(P1.error("sheet",
|
|
|
31004
31004
|
})
|
|
31005
31005
|
}
|
|
31006
31006
|
`,dts:ux`
|
|
31007
|
-
|
|
31007
|
+
${r.file.importType("AnySelector, Selectors","./selectors")}
|
|
31008
31008
|
|
|
31009
31009
|
export type Conditions = {
|
|
31010
31010
|
${n.map(i=>` ${JSON.stringify(i)}: string`).join(`
|
|
@@ -31053,7 +31053,7 @@ ${p}`),r?wet(p,{minify:n}):p}catch(i){throw i instanceof o$t&&(P1.error("sheet",
|
|
|
31053
31053
|
}
|
|
31054
31054
|
`,dts:ux`
|
|
31055
31055
|
`}}function yyr(r){let{utility:n,config:{hash:i,prefix:l},conditions:p}=r,{separator:m,getPropShorthands:g}=n;return{dts:jc`
|
|
31056
|
-
|
|
31056
|
+
${r.file.importType("SystemStyleObject","../types/index")}
|
|
31057
31057
|
|
|
31058
31058
|
interface CssFunction {
|
|
31059
31059
|
(...styles: SystemStyleObject[]): string
|
|
@@ -31212,12 +31212,11 @@ ${p}`),r?wet(p,{minify:n}):p}catch(i){throw i instanceof o$t&&(P1.error("sheet",
|
|
|
31212
31212
|
}
|
|
31213
31213
|
|
|
31214
31214
|
`,dts:jc`
|
|
31215
|
-
|
|
31215
|
+
${r.file.importType("RecipeCreatorFn","../types/recipe")}
|
|
31216
31216
|
|
|
31217
31217
|
export declare const cva: RecipeCreatorFn
|
|
31218
31218
|
|
|
31219
|
-
|
|
31220
|
-
|
|
31219
|
+
${r.file.exportType("RecipeVariantProps","../types/recipe")}
|
|
31221
31220
|
`}}function byr(){return{js:ux`
|
|
31222
31221
|
function cx() {
|
|
31223
31222
|
let str = '',
|
|
@@ -31604,11 +31603,11 @@ export {
|
|
|
31604
31603
|
|
|
31605
31604
|
export { isCssProperty };
|
|
31606
31605
|
`}}function Iyr(r){if(!r.patterns.isEmpty())return r.patterns.details.map(n=>{let{baseName:i,config:l,dashName:p,upperName:m,styleFnName:g,blocklistType:b}=n,{properties:D,transform:I,strict:R,description:V}=l,X=(0,HIn.stringify)({transform:I})??"",ue=["mapObject"];return X.includes("__spreadValues")&&ue.push("__spreadValues"),X.includes("__objRest")&&ue.push("__objRest"),{name:p,dts:jc`
|
|
31607
|
-
|
|
31608
|
-
|
|
31609
|
-
|
|
31610
|
-
|
|
31611
|
-
|
|
31606
|
+
${r.file.importType("SystemStyleObject, ConditionalValue","../types/index")}
|
|
31607
|
+
${r.file.importType("Properties","../types/csstype")}
|
|
31608
|
+
${r.file.importType("PropertyValue","../types/prop-type")}
|
|
31609
|
+
${r.file.importType("DistributiveOmit","../types/system-types")}
|
|
31610
|
+
${r.file.importType("Tokens","../tokens/index")}
|
|
31612
31611
|
|
|
31613
31612
|
export type ${m}Properties = {
|
|
31614
31613
|
${Object.keys(D??{}).map(De=>{let we=D[De];return H_(we).with({type:"property"},We=>`${De}?: PropertyValue<'${We.value}'>`).with({type:"token"},We=>We.property?`${De}?: ConditionalValue<Tokens["${We.value}"] | Properties["${We.property}"]>`:`${De}?: ConditionalValue<Tokens["${We.value}"]>`).with({type:"enum"},We=>`${De}?: ConditionalValue<${Y7(We.value)}>`).otherwise(()=>`${De}?: ConditionalValue<${we.type}>`)}).join(`
|
|
@@ -31720,9 +31719,9 @@ transform`)}
|
|
|
31720
31719
|
},
|
|
31721
31720
|
})
|
|
31722
31721
|
`);return{name:V,js:we,dts:jc`
|
|
31723
|
-
|
|
31724
|
-
|
|
31725
|
-
|
|
31722
|
+
${r.file.importType("ConditionalValue","../types/index")}
|
|
31723
|
+
${r.file.importType("Pretty","../types/helpers")}
|
|
31724
|
+
${r.file.importType("DistributiveOmit","../types/system-types")}
|
|
31726
31725
|
|
|
31727
31726
|
type ${I}Variant = {
|
|
31728
31727
|
${Object.keys(R).map(We=>{let Ne=R[We];return Ne.every(Pyr)?`${We}: boolean`:`${We}: ${Y7(Ne)}`}).join(`
|
|
@@ -31779,7 +31778,7 @@ transform`)}
|
|
|
31779
31778
|
})
|
|
31780
31779
|
}
|
|
31781
31780
|
`,dts:jc`
|
|
31782
|
-
|
|
31781
|
+
${r.file.importType("SlotRecipeCreatorFn","../types/recipe")}
|
|
31783
31782
|
|
|
31784
31783
|
export declare const sva: SlotRecipeCreatorFn
|
|
31785
31784
|
`}}function Lyr(r){let{tokens:n}=r,i=new Map;n.allTokens.forEach(p=>{let{varRef:m}=p.extensions,g=p.isConditional?m:p.value;i.set(p.name,{value:g,variable:m})});let l=Object.fromEntries(i);return{js:ux`
|
|
@@ -31795,14 +31794,14 @@ transform`)}
|
|
|
31795
31794
|
|
|
31796
31795
|
token.var = tokenVar
|
|
31797
31796
|
`,dts:ux`
|
|
31798
|
-
|
|
31797
|
+
${r.file.importType("Token","./tokens")}
|
|
31799
31798
|
|
|
31800
31799
|
export declare const token: {
|
|
31801
31800
|
(path: Token, fallback?: string): string
|
|
31802
31801
|
var: (path: Token, fallback?: string) => string
|
|
31803
31802
|
}
|
|
31804
31803
|
|
|
31805
|
-
|
|
31804
|
+
${r.file.exportTypeStar("./tokens")}
|
|
31806
31805
|
`}}function Myr(r){let{factoryName:n,componentName:i}=r.jsx;return{js:jc`
|
|
31807
31806
|
import { h } from 'preact'
|
|
31808
31807
|
import { forwardRef } from 'preact/compat'
|
|
@@ -31883,9 +31882,9 @@ transform`)}
|
|
|
31883
31882
|
})
|
|
31884
31883
|
`,dts:jc`
|
|
31885
31884
|
import type { FunctionComponent } from 'preact'
|
|
31886
|
-
|
|
31887
|
-
|
|
31888
|
-
|
|
31885
|
+
${r.file.importType(`${p}Properties`,`../patterns/${g}`)}
|
|
31886
|
+
${r.file.importType("DistributiveOmit","../types/system-types")}
|
|
31887
|
+
${r.file.importType(n,"../types/jsx")}
|
|
31889
31888
|
|
|
31890
31889
|
export type ${p}Props = ${p}Properties & DistributiveOmit<${n}<'${V}'>, keyof ${p}Properties ${I}>
|
|
31891
31890
|
|
|
@@ -31896,8 +31895,8 @@ import type { ${p} } from '../types/jsx'
|
|
|
31896
31895
|
export declare const ${n}: ${p}
|
|
31897
31896
|
`,jsxType:jc`
|
|
31898
31897
|
import type { ComponentProps, JSX } from 'preact'
|
|
31899
|
-
|
|
31900
|
-
|
|
31898
|
+
${r.file.importType("Assign, JsxStyleProps, JsxHTMLProps","./system-types")}
|
|
31899
|
+
${r.file.importType("RecipeDefinition, RecipeSelection, RecipeVariantRecord","./recipe")}
|
|
31901
31900
|
|
|
31902
31901
|
type ElementType = keyof JSX.IntrinsicElements
|
|
31903
31902
|
|
|
@@ -31966,7 +31965,7 @@ export type ${m}<T extends ElementType> = JsxHTMLProps<ComponentProps<T>, JsxSty
|
|
|
31966
31965
|
|
|
31967
31966
|
export const ${n} = /* @__PURE__ */ createJsxFactory()
|
|
31968
31967
|
`}}function Gyr(r){let{factoryName:n,styleProps:i,componentName:l,upperName:p,typeName:m}=r.jsx;return{jsxFactory:jc`
|
|
31969
|
-
|
|
31968
|
+
${r.file.importType(p,"../types/jsx")}
|
|
31970
31969
|
export declare const ${n}: ${p}
|
|
31971
31970
|
`,jsxType:jc`
|
|
31972
31971
|
import type { ComponentProps, JSX } from 'preact'
|
|
@@ -32065,16 +32064,16 @@ export type ${m}<T extends ElementType> = ComponentProps<T>
|
|
|
32065
32064
|
}
|
|
32066
32065
|
`,dts:jc`
|
|
32067
32066
|
import type { Component } from '@builder.io/qwik'
|
|
32068
|
-
|
|
32069
|
-
|
|
32070
|
-
|
|
32067
|
+
${r.file.importType(`${p}Properties`,`../patterns/${g}`)}
|
|
32068
|
+
${r.file.importType(n,"../types/jsx")}
|
|
32069
|
+
${r.file.importType("Assign, DistributiveOmit","../types/system-types")}
|
|
32071
32070
|
|
|
32072
32071
|
export type ${p}Props = Assign<${n}<'${V}'>, DistributiveOmit<${p}Properties, ${I||'""'}>>
|
|
32073
32072
|
|
|
32074
32073
|
${R?`/** ${R} */`:""}
|
|
32075
32074
|
export declare const ${b}: Component<${p}Props>
|
|
32076
32075
|
`}})}function Vyr(r){let{factoryName:n,styleProps:i,componentName:l,upperName:p,typeName:m}=r.jsx;return{jsxFactory:jc`
|
|
32077
|
-
|
|
32076
|
+
${r.file.importType(p,"../types/jsx")}
|
|
32078
32077
|
export declare const ${n}: ${p}
|
|
32079
32078
|
`,jsxType:jc`
|
|
32080
32079
|
import type { Component, QwikIntrinsicElements } from '@builder.io/qwik'
|
|
@@ -32150,7 +32149,7 @@ export type ${m}<T extends ElementType> = Assign<ComponentProps<T>, JsxStyleProp
|
|
|
32150
32149
|
export const ${n} = /* @__PURE__ */ createJsxFactory()
|
|
32151
32150
|
|
|
32152
32151
|
`}}function Hyr(r){let{factoryName:n,styleProps:i,componentName:l,upperName:p,typeName:m}=r.jsx;return{jsxFactory:jc`
|
|
32153
|
-
|
|
32152
|
+
${r.file.importType(p,"../types/jsx")}
|
|
32154
32153
|
export declare const ${n}: ${p}
|
|
32155
32154
|
`,jsxType:jc`
|
|
32156
32155
|
import type { Component, QwikIntrinsicElements } from '@builder.io/qwik'
|
|
@@ -32284,21 +32283,21 @@ export type ${m}<T extends ElementType> = ComponentProps<T>
|
|
|
32284
32283
|
})
|
|
32285
32284
|
`,dts:jc`
|
|
32286
32285
|
import type { FunctionComponent } from 'react'
|
|
32287
|
-
|
|
32288
|
-
|
|
32289
|
-
|
|
32286
|
+
${r.file.importType(`${p}Properties`,`../patterns/${g}`)}
|
|
32287
|
+
${r.file.importType(n,"../types/jsx")}
|
|
32288
|
+
${r.file.importType("DistributiveOmit","../types/system-types")}
|
|
32290
32289
|
|
|
32291
32290
|
export type ${p}Props = ${p}Properties & DistributiveOmit<${n}<'${V}'>, keyof ${p}Properties ${I}>
|
|
32292
32291
|
|
|
32293
32292
|
${R?`/** ${R} */`:""}
|
|
32294
32293
|
export declare const ${b}: FunctionComponent<${p}Props>
|
|
32295
32294
|
`}})}function Kyr(r){let{factoryName:n,styleProps:i,componentName:l,upperName:p,typeName:m}=r.jsx;return{jsxFactory:jc`
|
|
32296
|
-
|
|
32295
|
+
${r.file.importType(p,"../types/jsx")}
|
|
32297
32296
|
export declare const ${n}: ${p}
|
|
32298
32297
|
`,jsxType:jc`
|
|
32299
32298
|
import type { ComponentPropsWithoutRef, ElementType, ElementRef, Ref } from 'react'
|
|
32300
|
-
|
|
32301
|
-
|
|
32299
|
+
${r.file.importType("Assign, DistributiveOmit, JsxHTMLProps, JsxStyleProps","./system-types")}
|
|
32300
|
+
${r.file.importType("RecipeDefinition, RecipeSelection, RecipeVariantRecord","./recipe")}
|
|
32302
32301
|
|
|
32303
32302
|
type Dict = Record<string, unknown>
|
|
32304
32303
|
|
|
@@ -32369,11 +32368,11 @@ export type ${m}<T extends ElementType> = JsxHTMLProps<ComponentProps<T>, JsxSty
|
|
|
32369
32368
|
export const ${n} = /* @__PURE__ */ createJsxFactory()
|
|
32370
32369
|
|
|
32371
32370
|
`}}function Yyr(r){let{factoryName:n,styleProps:i,componentName:l,upperName:p,typeName:m}=r.jsx;return{jsxFactory:jc`
|
|
32372
|
-
|
|
32371
|
+
${r.file.importType(p,"../types/jsx")}
|
|
32373
32372
|
export declare const ${n}: ${p}
|
|
32374
32373
|
`,jsxType:jc`
|
|
32375
32374
|
import type { ComponentPropsWithoutRef, ElementType, ElementRef, Ref } from 'react'
|
|
32376
|
-
|
|
32375
|
+
${r.file.importType("DistributiveOmit","../types/system-types")}
|
|
32377
32376
|
|
|
32378
32377
|
type Dict = Record<string, unknown>
|
|
32379
32378
|
|
|
@@ -32484,22 +32483,22 @@ export type ${m}<T extends ElementType> = ComponentProps<T>
|
|
|
32484
32483
|
`)}
|
|
32485
32484
|
}
|
|
32486
32485
|
`,dts:jc`
|
|
32487
|
-
import { Component } from 'solid-js'
|
|
32488
|
-
|
|
32489
|
-
|
|
32490
|
-
|
|
32486
|
+
import type { Component } from 'solid-js'
|
|
32487
|
+
${r.file.importType(`${p}Properties`,`../patterns/${g}`)}
|
|
32488
|
+
${r.file.importType(n,"../types/jsx")}
|
|
32489
|
+
${r.file.importType("DistributiveOmit","../types/system-types")}
|
|
32491
32490
|
|
|
32492
32491
|
export type ${p}Props = ${p}Properties & DistributiveOmit<${n}<'${V}'>, keyof ${p}Properties ${I}>
|
|
32493
32492
|
|
|
32494
32493
|
${R?`/** ${R} */`:""}
|
|
32495
32494
|
export declare const ${b}: Component<${p}Props>
|
|
32496
32495
|
`}})}function Zyr(r){let{factoryName:n,styleProps:i,componentName:l,upperName:p,typeName:m}=r.jsx;return{jsxFactory:jc`
|
|
32497
|
-
|
|
32496
|
+
${r.file.importType(p,"../types/jsx")}
|
|
32498
32497
|
export declare const ${n}: ${p}
|
|
32499
32498
|
`,jsxType:jc`
|
|
32500
32499
|
import type { ComponentProps, Component, JSX } from 'solid-js'
|
|
32501
|
-
|
|
32502
|
-
|
|
32500
|
+
${r.file.importType("Assign, JsxStyleProps, JsxHTMLProps","./system-types")}
|
|
32501
|
+
${r.file.importType("RecipeDefinition, RecipeSelection, RecipeVariantRecord","./recipe")}
|
|
32503
32502
|
|
|
32504
32503
|
type Dict = Record<string, unknown>
|
|
32505
32504
|
|
|
@@ -32574,7 +32573,7 @@ function createJsxFactory() {
|
|
|
32574
32573
|
|
|
32575
32574
|
export const ${i} = /* @__PURE__ */ createJsxFactory()
|
|
32576
32575
|
`}}function tCr(r){let{factoryName:n,styleProps:i,componentName:l,upperName:p,typeName:m}=r.jsx;return{jsxFactory:jc`
|
|
32577
|
-
|
|
32576
|
+
${r.file.importType(p,"../types/jsx")}
|
|
32578
32577
|
export declare const ${n}: ${p}
|
|
32579
32578
|
`,jsxType:jc`
|
|
32580
32579
|
import type { Component, ComponentProps, JSX } from 'solid-js'
|
|
@@ -32729,22 +32728,24 @@ export type ${m}<T extends ElementType> = ComponentProps<T>
|
|
|
32729
32728
|
}
|
|
32730
32729
|
})
|
|
32731
32730
|
`,dts:jc`
|
|
32732
|
-
import { FunctionalComponent } from 'vue'
|
|
32733
|
-
|
|
32734
|
-
|
|
32735
|
-
|
|
32731
|
+
import type { FunctionalComponent } from 'vue'
|
|
32732
|
+
${r.file.importType(`${p}Properties`,`../patterns/${g}`)}
|
|
32733
|
+
${r.file.importType(n,"../types/jsx")}
|
|
32734
|
+
${r.file.importType("DistributiveOmit","../types/system-types")}
|
|
32736
32735
|
|
|
32737
32736
|
export type ${p}Props = ${p}Properties & DistributiveOmit<${n}<'${V}'>, keyof ${p}Properties ${I}>
|
|
32738
32737
|
|
|
32739
32738
|
${R?`/** ${R} */`:""}
|
|
32740
32739
|
export declare const ${b}: FunctionalComponent<${p}Props>
|
|
32741
32740
|
`}})}function oCr(r){let{factoryName:n,styleProps:i,componentName:l,upperName:p,typeName:m}=r.jsx;return{jsxFactory:jc`
|
|
32742
|
-
|
|
32741
|
+
${r.file.importType(p,"../types/jsx")}
|
|
32742
|
+
|
|
32743
32743
|
export declare const ${n}: ${p}
|
|
32744
32744
|
`,jsxType:jc`
|
|
32745
32745
|
import type { Component, FunctionalComponent } from 'vue'
|
|
32746
|
-
|
|
32747
|
-
|
|
32746
|
+
|
|
32747
|
+
${r.file.importType("RecipeDefinition, RecipeSelection, RecipeVariantRecord","./recipe")}
|
|
32748
|
+
${r.file.importType("Assign, JsxStyleProps, JsxHTMLProps","./system-types")}
|
|
32748
32749
|
|
|
32749
32750
|
type IntrinsicElement =
|
|
32750
32751
|
| 'a'
|
|
@@ -32894,7 +32895,8 @@ type IntrinsicElement =
|
|
|
32894
32895
|
|
|
32895
32896
|
export type ${m}<T extends ElementType> = JsxHTMLProps<ComponentProps<T>, JsxStyleProps>
|
|
32896
32897
|
`}}function sCr(r){let{factoryName:n,styleProps:i,componentName:l,upperName:p,typeName:m}=r.jsx;return{jsxFactory:jc`
|
|
32897
|
-
|
|
32898
|
+
${r.file.importType(p,"../types/jsx")}
|
|
32899
|
+
|
|
32898
32900
|
export declare const ${n}: ${p}
|
|
32899
32901
|
`,jsxType:jc`
|
|
32900
32902
|
import type { Component, FunctionalComponent } from 'vue'
|
|
@@ -33038,7 +33040,7 @@ type IntrinsicElement =
|
|
|
33038
33040
|
export type ${p} = JsxFactory ${i==="none"?"":"& JsxElements"}
|
|
33039
33041
|
|
|
33040
33042
|
export type ${m}<T extends ElementType> = ComponentProps<T>
|
|
33041
|
-
`}}var aCr={react:Kyr,preact:Oyr,solid:Zyr,vue:oCr,qwik:Vyr},lCr={react:Yyr,solid:tCr,qwik:Hyr,preact:Gyr,vue:sCr};function JIn(r){return r.jsx.framework?(r.isTemplateLiteralSyntax?lCr[r.jsx.framework]:aCr[r.jsx.framework])?.(r):void 0}var cCr={react:Jyr,solid:Qyr,preact:Myr,vue:nCr,qwik:zyr},uCr={react:Xyr,solid:eCr,qwik:Uyr,preact:Wyr,vue:rCr};function pCr(r){return r.jsx.framework?(r.isTemplateLiteralSyntax?uCr[r.jsx.framework]:cCr[r.jsx.framework])?.(r):void 0}var fCr={react:qyr,solid:$yr,preact:Fyr,vue:iCr,qwik:jyr};function dCr(r){return r.isTemplateLiteralSyntax?[]:r.patterns.isEmpty()&&!r.jsx.framework?[]:fCr[r.jsx.framework](r)}function mCr(r){let{config:{outdir:n
|
|
33043
|
+
`}}var aCr={react:Kyr,preact:Oyr,solid:Zyr,vue:oCr,qwik:Vyr},lCr={react:Yyr,solid:tCr,qwik:Hyr,preact:Gyr,vue:sCr};function JIn(r){return r.jsx.framework?(r.isTemplateLiteralSyntax?lCr[r.jsx.framework]:aCr[r.jsx.framework])?.(r):void 0}var cCr={react:Jyr,solid:Qyr,preact:Myr,vue:nCr,qwik:zyr},uCr={react:Xyr,solid:eCr,qwik:Uyr,preact:Wyr,vue:rCr};function pCr(r){return r.jsx.framework?(r.isTemplateLiteralSyntax?uCr[r.jsx.framework]:cCr[r.jsx.framework])?.(r):void 0}var fCr={react:qyr,solid:$yr,preact:Fyr,vue:iCr,qwik:jyr};function dCr(r){return r.isTemplateLiteralSyntax?[]:r.patterns.isEmpty()&&!r.jsx.framework?[]:fCr[r.jsx.framework](r)}function mCr(r){let{config:{outdir:n}}=r,i={name:n,description:"This package is auto-generated by Panda CSS",version:`0.0.0-${performance.now()}`,type:"module",exports:{"./css":{types:r.file.extDts("./css/index"),require:r.file.ext("./css/index"),import:r.file.ext("./css/index")},"./jsx":{types:r.file.extDts("./jsx/index"),require:r.file.ext("./jsx/index"),import:r.file.ext("./jsx/index")},"./patterns":{types:r.file.extDts("./patterns/index"),require:r.file.ext("./patterns/index"),import:r.file.ext("./patterns/index")},"./recipes":{types:r.file.extDts("./recipes/index"),require:r.file.ext("./recipes/index"),import:r.file.ext("./recipes/index")},"./tokens":{types:r.file.extDts("./tokens/index"),require:r.file.ext("./tokens/index"),import:r.file.ext("./tokens/index")},"./types":{types:r.file.extDts("./types/index")},"./styles.css":"./styles.css"}};return JSON.stringify(i,null,2)}var _Cr={content:`export {};
|
|
33042
33044
|
|
|
33043
33045
|
export type PropertyValue<TValue> = TValue extends Array<infer AValue>
|
|
33044
33046
|
? Array<AValue extends infer TUnpacked & {} ? TUnpacked : AValue>
|
|
@@ -54238,13 +54240,14 @@ type AtRuleType = 'media' | 'layer' | 'container' | 'supports' | 'page'
|
|
|
54238
54240
|
|
|
54239
54241
|
export type AnySelector = \`\${string}&\` | \`&\${string}\` | \`@\${AtRuleType}\${string}\`
|
|
54240
54242
|
export type Selectors = AttributeSelector | ParentSelector
|
|
54241
|
-
`},AIn="export type JsxStyleProps = StyleProps & WithCss";function vCr(r){return{cssType:_Cr.content,recipe:gCr.content,pattern:BCr.content,parts:yCr.content,composition:hCr.content,selectors:CCr.content,system:H_(r.jsx.styleProps).with("all",()=>JGt.content).with("minimal",()=>JGt.content.replace(AIn,"export type JsxStyleProps = WithCss")).with("none",()=>JGt.content.replace(AIn,"export type JsxStyleProps = {}")).exhaustive()}}var bCr=
|
|
54243
|
+
`},AIn="export type JsxStyleProps = StyleProps & WithCss";function vCr(r){let n=i=>i.replace(/import\s+type\s+\{([^}]+)\}\s+from\s+['"]([^'"]+)['"]/g,r.file.importType("$1","$2"));return{cssType:_Cr.content,recipe:n(gCr.content),pattern:n(BCr.content.replace("../tokens","../tokens/index")),parts:n(yCr.content),composition:n(hCr.content),selectors:n(CCr.content),system:n(H_(r.jsx.styleProps).with("all",()=>JGt.content).with("minimal",()=>JGt.content.replace(AIn,"export type JsxStyleProps = WithCss")).with("none",()=>JGt.content.replace(AIn,"export type JsxStyleProps = {}")).exhaustive())}}var bCr=r=>({global:jc`
|
|
54244
|
+
// @ts-nocheck
|
|
54242
54245
|
import type { TextStyles, LayerStyles } from '@pandacss/dev'
|
|
54243
|
-
|
|
54244
|
-
|
|
54245
|
-
|
|
54246
|
-
|
|
54247
|
-
|
|
54246
|
+
${r.file.importType("RecipeVariantRecord, RecipeConfig, SlotRecipeVariantRecord, SlotRecipeConfig","./recipe")}
|
|
54247
|
+
${r.file.importType("Parts","./parts")}
|
|
54248
|
+
${r.file.importType("PatternConfig, PatternProperties","./pattern")}
|
|
54249
|
+
${r.file.importType("GlobalStyleObject, SystemStyleObject","./system-types")}
|
|
54250
|
+
${r.file.importType("CompositionStyles","./composition")}
|
|
54248
54251
|
|
|
54249
54252
|
declare module '@pandacss/dev' {
|
|
54250
54253
|
export function defineRecipe<V extends RecipeVariantRecord>(config: RecipeConfig<V>): RecipeConfig
|
|
@@ -54257,16 +54260,16 @@ export type Selectors = AttributeSelector | ParentSelector
|
|
|
54257
54260
|
export function defineParts<T extends Parts>(parts: T): (config: Partial<Record<keyof T, SystemStyleObject>>) => Partial<Record<keyof T, SystemStyleObject>>
|
|
54258
54261
|
}
|
|
54259
54262
|
`,index:jc`
|
|
54260
|
-
import './global'
|
|
54261
|
-
|
|
54262
|
-
|
|
54263
|
+
import '${r.file.extDts("./global")}'
|
|
54264
|
+
${r.file.exportType("ConditionalValue","./conditions")}
|
|
54265
|
+
${r.file.exportType("GlobalStyleObject, JsxStyleProps, SystemStyleObject","./system-types")}
|
|
54263
54266
|
|
|
54264
54267
|
`,helpers:jc`
|
|
54265
54268
|
export type Pretty<T> = T extends infer U ? { [K in keyof U]: U[K] } : never
|
|
54266
54269
|
`});function SCr(r){let{config:{strictTokens:n},utility:i}=r,l=`${n?"":" | CssValue<T>"}`,p=[jc`
|
|
54267
|
-
|
|
54268
|
-
|
|
54269
|
-
|
|
54270
|
+
${r.file.importType("ConditionalValue","./conditions")}
|
|
54271
|
+
${r.file.importType("CssProperties","./system-types")}
|
|
54272
|
+
${r.file.importType("Tokens","../tokens/index")}
|
|
54270
54273
|
|
|
54271
54274
|
type PropertyValueTypes = {`],m=i.getTypes();for(let[g,b]of m.entries())p.push(` ${g}: ${b.join(" | ")};`);return p.push("}",`
|
|
54272
54275
|
`),p.push(`
|
|
@@ -54285,9 +54288,9 @@ export type Selectors = AttributeSelector | ParentSelector
|
|
|
54285
54288
|
? ConditionalValue<CssProperties[T] | (string & {})>
|
|
54286
54289
|
: ConditionalValue<string | number>
|
|
54287
54290
|
`}function xCr(r){let n=new Set(OGt.concat(r.utility.keys()).filter(Boolean));return ux`
|
|
54288
|
-
|
|
54289
|
-
|
|
54290
|
-
|
|
54291
|
+
${r.file.importType("ConditionalValue","./conditions")}
|
|
54292
|
+
${r.file.importType("PropertyValue","./prop-type")}
|
|
54293
|
+
${r.file.importType("Token","../tokens/index")}
|
|
54291
54294
|
|
|
54292
54295
|
export type CssVarProperties = {
|
|
54293
54296
|
[key in \`--\${string}\`]?: ConditionalValue<Token | (string & {}) | (number & {})>
|
|
@@ -54300,37 +54303,40 @@ export type Selectors = AttributeSelector | ParentSelector
|
|
|
54300
54303
|
`}var ECr=["zIndex","opacity","colors","fonts","fontSizes","fontWeights","lineHeights","letterSpacings","sizes","shadows","spacing","radii","borders","durations","easings","animations","blurs","gradients","breakpoints","assets"];function DCr(r){let{tokens:n,config:{theme:i}}=r,l=new Set;l.add(`export type Token = ${n.isEmpty?"string":Y7(n.allNames)}`);let p=new Set(["export type Tokens = {"]);if(n.isEmpty)p.add("[token: string]: string");else{Object.keys(n.colorPalettes).length&&l.add(`export type ColorPalette = ${Y7(Object.keys(n.colorPalettes))}`);for(let[g,b]of n.categoryMap.entries()){let D=t6(qIn.default.singular(g));l.add(`export type ${D}Token = ${Y7(b.keys())}`),p.add(` ${g}: ${D}Token`)}i?.keyframes&&l.add(`export type AnimationName = ${Y7(Object.keys(i.keyframes))}`),p.add(" animationName: AnimationName")}return p.add("} & { [token: string]: never }"),l.add(Array.from(p).join(`
|
|
54301
54304
|
`)),l.add(`export type TokenCategory = ${Y7(ECr)}`),jc.string(Array.from(l).join(`
|
|
54302
54305
|
|
|
54303
|
-
`))}function TCr(r){let n=Dyr(r);return{files:[{file:r.file.ext("helpers"),code:n.js}]}}function ACr(r){let n=GIn(r);return{dir:r.paths.token,files:[{file:"keyframes.css",code:n}]}}function kIn(r){if(r.tokens.isEmpty)return;let n=Lyr(r),i=VIn(r);return{dir:r.paths.token,files:[{file:"index.css",code:i},{file:
|
|
54304
|
-
`)),dts:ux.string(i.map(p
|
|
54305
|
-
`))};return{dir:r.paths.recipe,files:[...n.map(p=>({file:r.file.ext(p.name),code:p.js})),...n.map(p=>({file
|
|
54306
|
-
`)),dts:ux.string(n.map(l
|
|
54307
|
-
`))};return{dir:r.paths.pattern,files:[...n.map(l=>({file:r.file.ext(l.name),code:l.js})),...n.map(l=>({file
|
|
54308
|
-
${r.file.
|
|
54309
|
-
${n?.js?r.file.
|
|
54310
|
-
${ux.string(p.map(g=>r.file.
|
|
54306
|
+
`))}function TCr(r){let n=Dyr(r);return{files:[{file:r.file.ext("helpers"),code:n.js}]}}function ACr(r){let n=GIn(r);return{dir:r.paths.token,files:[{file:"keyframes.css",code:n}]}}function kIn(r){if(r.tokens.isEmpty)return;let n=Lyr(r),i=VIn(r);return{dir:r.paths.token,files:[{file:"index.css",code:i},{file:r.file.extDts("index"),code:n.dts},{file:r.file.ext("index"),code:n.js},{file:r.file.extDts("tokens"),code:DCr(r)}]}}function kCr(r){let n=vCr(r),i=UIn(r),l=JIn(r),p=bCr(r);return{dir:r.paths.types,files:[l?{file:r.file.extDts("jsx"),code:l.jsxType}:null,{file:r.file.extDts("csstype"),code:n.cssType},{file:r.file.extDts("system-types"),code:n.system},{file:r.file.extDts("selectors"),code:n.selectors},{file:r.file.extDts("composition"),code:n.composition},{file:r.file.extDts("global"),code:p.global},{file:r.file.extDts("helpers"),code:p.helpers},{file:r.file.extDts("recipe"),code:n.recipe},{file:r.file.extDts("pattern"),code:n.pattern},{file:r.file.extDts("parts"),code:n.parts},{file:r.file.extDts("index"),code:p.index},{file:r.file.extDts("prop-type"),code:SCr(r)},{file:r.file.extDts("style-props"),code:xCr(r)},{file:r.file.extDts("conditions"),code:i.dts}].filter(Boolean)}}function wCr(r){let n=r.isTemplateLiteralSyntax?Cyr(r):yyr(r),i=r.isTemplateLiteralSyntax?Byr(r):UIn(r);return{dir:r.paths.css,files:[{file:r.file.ext("conditions"),code:i.js},{file:r.file.ext("css"),code:n.js},{file:r.file.extDts("css"),code:n.dts}]}}function ICr(r){if(r.isTemplateLiteralSyntax)return;let n=vyr(r);return{dir:r.paths.css,files:[{file:r.file.ext("cva"),code:n.js},{file:r.file.extDts("cva"),code:n.dts}]}}function PCr(r){if(r.isTemplateLiteralSyntax)return;let n=Ryr(r);return{dir:r.paths.css,files:[{file:r.file.ext("sva"),code:n.js},{file:r.file.extDts("sva"),code:n.dts}]}}function NCr(r){let n=byr();return{dir:r.paths.css,files:[{file:r.file.ext("cx"),code:n.js},{file:r.file.extDts("cx"),code:n.dts}]}}function RCr(r){let n=Nyr(r);if(!n)return;let i=n.filter(p=>!p.name.includes("create-recipe")),l={js:ux.string(i.map(p=>r.file.exportStar(`./${p.name}`)).join(`
|
|
54307
|
+
`)),dts:ux.string(i.map(p=>r.file.exportTypeStar(`./${p.name}`)).join(`
|
|
54308
|
+
`))};return{dir:r.paths.recipe,files:[...n.map(p=>({file:r.file.ext(p.name),code:p.js})),...n.map(p=>({file:r.file.extDts(p.name),code:p.dts})),{file:r.file.ext("index"),code:l.js},{file:r.file.extDts("index"),code:l.dts}]}}function LCr(r){if(r.isTemplateLiteralSyntax)return;let n=Iyr(r);if(!n)return;let i={js:ux.string(n.map(l=>r.file.exportStar(`./${l.name}`)).join(`
|
|
54309
|
+
`)),dts:ux.string(n.map(l=>r.file.exportTypeStar(`./${l.name}`)).join(`
|
|
54310
|
+
`))};return{dir:r.paths.pattern,files:[...n.map(l=>({file:r.file.ext(l.name),code:l.js})),...n.map(l=>({file:r.file.extDts(l.name),code:l.dts})),{file:r.file.ext("index"),code:i.js},{file:r.file.extDts("index"),code:i.dts}]}}function MCr(r){if(!r.jsx.framework)return;let n=wyr(r),i=JIn(r),l=pCr(r),p=dCr(r),m={js:ux`
|
|
54311
|
+
${r.file.exportStar("./factory")}
|
|
54312
|
+
${n?.js?r.file.exportStar("./is-valid-prop"):""}
|
|
54313
|
+
${ux.string(p.map(g=>r.file.exportStar(`./${g.name}`)).join(`
|
|
54311
54314
|
`))}
|
|
54312
54315
|
`,dts:ux`
|
|
54313
|
-
|
|
54314
|
-
|
|
54315
|
-
${
|
|
54316
|
+
${r.file.exportTypeStar("./factory")}
|
|
54317
|
+
|
|
54318
|
+
${n?.dts?r.file.exportTypeStar("./is-valid-prop"):""}
|
|
54319
|
+
|
|
54320
|
+
${ux.string(p.map(g=>r.file.exportTypeStar(`./${g.name}`)).join(`
|
|
54316
54321
|
`))}
|
|
54317
|
-
|
|
54318
|
-
|
|
54319
|
-
|
|
54320
|
-
${r.file.
|
|
54321
|
-
${r.
|
|
54322
|
-
${r.isTemplateLiteralSyntax?"":r.file.
|
|
54322
|
+
|
|
54323
|
+
${r.file.exportType(r.jsx.typeName,"../types/jsx")}
|
|
54324
|
+
`};return{dir:r.paths.jsx,files:[...p.map(g=>({file:r.file.ext(g.name),code:g.js})),...p.map(g=>({file:r.file.extDts(g.name),code:g.dts})),{file:r.file.ext("is-valid-prop"),code:n?.js},{file:r.file.extDts("is-valid-prop"),code:n?.dts},{file:r.file.ext("factory"),code:l?.js},{file:r.file.extDts("factory"),code:i.jsxFactory},{file:r.file.ext("index"),code:m.js},{file:r.file.extDts("index"),code:m.dts}]}}function FCr(r){let n={js:ux`
|
|
54325
|
+
${r.file.exportStar("./css")}
|
|
54326
|
+
${r.file.exportStar("./cx")}
|
|
54327
|
+
${r.isTemplateLiteralSyntax?"":r.file.exportStar("./cva")}
|
|
54328
|
+
${r.isTemplateLiteralSyntax?"":r.file.exportStar("./sva")}
|
|
54323
54329
|
`,dts:ux`
|
|
54324
|
-
|
|
54325
|
-
|
|
54326
|
-
${r.isTemplateLiteralSyntax?"":"
|
|
54327
|
-
${r.isTemplateLiteralSyntax?"":"
|
|
54328
|
-
`};return{dir:r.paths.css,files:[{file:r.file.ext("index"),code:n.js},{file:
|
|
54330
|
+
${r.file.exportTypeStar("./css")}
|
|
54331
|
+
${r.file.exportTypeStar("./cx")}
|
|
54332
|
+
${r.isTemplateLiteralSyntax?"":r.file.exportTypeStar("./cva")}
|
|
54333
|
+
${r.isTemplateLiteralSyntax?"":r.file.exportTypeStar("./sva")}
|
|
54334
|
+
`};return{dir:r.paths.css,files:[{file:r.file.ext("index"),code:n.js},{file:r.file.extDts("index"),code:n.dts}]}}function OCr(r){let{preflight:n}=r.config;if(!n)return;let i=R8(n)?n.scope:void 0;return{files:[{file:"reset.css",code:zIn(r,i)}]}}function WCr(r){return{files:[{file:"global.css",code:WIn(r)}]}}function GCr(r){return{files:[{file:"static.css",code:jIn(r)}]}}function zCr(r){if(r.config.emitPackage)return{files:[{file:"package.json",code:mCr(r)}]}}var jCr=r=>()=>r.config.emitTokensOnly?[kIn(r)]:[TCr(r),kIn(r),ACr(r),kCr(r),ICr(r),PCr(r),NCr(r),wCr(r),RCr(r),LCr(r),FCr(r),MCr(r),WCr(r),GCr(r),OCr(r),zCr(r)].filter(Boolean).map(n=>((n?.files??[]).forEach(l=>{r.file.isTypeFile(l.file)&&(l.code=`/* eslint-disable */
|
|
54329
54335
|
${l.code}`)}),n)),VCr=r=>n=>{let{files:i,resolve:l}=n,{theme:{keyframes:p}={},preflight:m,minify:g,staticCss:b}=r.config,D=[r.layerString,m&&"@import './reset.css';","@import './global.css';",b&&"@import './static.css';",!r.tokens.isEmpty&&"@import './tokens/index.css';",p&&"@import './tokens/keyframes.css';"].filter(Boolean).join(`
|
|
54330
54336
|
|
|
54331
54337
|
`),I=r.createSheet({content:l?[WIn(r),b&&jIn(r),m&&zIn(r),!r.tokens.isEmpty&&VIn(r),p&&GIn(r)].filter(Boolean).join(`
|
|
54332
54338
|
|
|
54333
|
-
`):D});I.append(...i);let R=I.toCss({optimize:!0,minify:g});return r.hooks.callHook("generator:css","styles.css",R),R},UCr=r=>n=>ok({...r,sheet:r.createSheet(),result:n},Aee(({sheet:i,result:l,patterns:p,recipes:m})=>{l.css.forEach(g=>{g.data.forEach(b=>{i.processAtomic(b)})}),l.cva.forEach(g=>{g.data.forEach(b=>{i.processAtomicRecipe(b)})}),l.sva.forEach(g=>{g.data.forEach(b=>{i.processAtomicSlotRecipe(b)})}),l.jsx.forEach(g=>{g.data.forEach(b=>{i.processStyleProps(b)})}),l.recipe.forEach((g,b)=>{try{for(let D of g){let I=m.getConfig(b);I&&H_(D).with({type:"jsx-recipe"},()=>{D.data.forEach(R=>{let[V,X]=m.splitProps(b,R);i.processStyleProps(X),i.processRecipe(b,I,V)})}).otherwise(()=>{D.data.forEach(R=>{i.processRecipe(b,I,R)})})}}catch(D){P1.error("serializer:recipe",D)}}),l.pattern.forEach((g,b)=>{try{for(let D of g)H_(D).with({type:"jsx-pattern",name:FS.string},({name:I})=>{D.data.forEach(R=>{let V=p.find(I),X=p.transform(V,R);i.processStyleProps(X)})}).otherwise(()=>{D.data.forEach(I=>{let R=p.transform(b,I);i.processAtomic(R)})})}catch(D){P1.error("serializer:pattern",D)}})}),n6(({sheet:i,result:l,config:{minify:p,optimize:m}})=>{let g=l.isEmpty()?void 0:i.toCss({minify:p,optimize:m});return r.hooks.callHook("parser:css",l.filePath??"",g),g},i=>{P1.error("serializer:css","Failed to serialize CSS: "+i)})),HCr={map:pCe},JCr=r=>{let{config:n}=r,i=n.theme??{},l=n.syntax==="template-literal",p={tokens:NZe(n.hash)?n.hash:n.hash?.cssVar,className:NZe(n.hash)?n.hash:n.hash?.className},m={tokens:RZe(n.prefix)?n.prefix:n.prefix?.cssVar,className:RZe(n.prefix)?n.prefix:n.prefix?.className},g=new TIn({breakpoints:i.breakpoints,tokens:i.tokens,semanticTokens:i.semanticTokens,prefix:m.tokens,hash:p.tokens}),b=new nSn({prefix:m.className,tokens:g,config:l?{}:n.utilities,separator:n.separator,shorthands:n.shorthands}),D=new jbn({conditions:l?{}:n.conditions,breakpoints:n.theme?.breakpoints}),{textStyles:I,layerStyles:R}=i,V=cre({textStyle:I,layerStyle:R});zbn(V,{conditions:D,utility:b});let ue=n.layers,De=Object.values(ue),we=zb(Xn=>{let Jt=new Set(Xn.split(",").map(Gs=>Gs.trim()));return Jt.size>=5&&De.every(Gs=>Jt.has(Gs))}),We=`@layer ${De.join(", ")};`,Ne=()=>({root:hB.root(),conditions:D,utility:b,hash:p.className,helpers:HCr,layers:ue}),Me=Xn=>{let Jt=Ne();return new tSn(Jt,{content:Xn?.content,recipes:i?.recipes,slotRecipes:i?.slotRecipes})},Ct=Ne(),Rt=Object.assign({},i.recipes??{},i.slotRecipes??{}),en=new s7t(Rt,Ct);en.save();let Tn=Array.from(new Set(["css",...b.keys(),...D.keys()])),hn=new Map(Tn.map(Xn=>[Xn,!0])),on=zb(Xn=>hn.has(Xn)||vIn(Xn)),Pn={outdir:`${n.outdir}-studio`,...r.config.studio};return{...r,isTemplateLiteralSyntax:l,studio:Pn,hash:p,prefix:m,tokens:g,utility:b,properties:Tn,isValidProperty:on,recipes:en,conditions:D,createSheetContext:Ne,createSheet:Me,layers:ue,isValidLayerRule:we,layerString:We,layerNames:De}},qCr=r=>{let{jsxFactory:n,jsxFramework:i,jsxStyleProps:l}=r;return{factoryName:n,upperName:t6(n),typeName:`HTML${t6(n)}Props`,componentName:`${t6(n)}Component`,framework:i,styleProps:l??"all"}},KCr=({cwd:r,emitPackage:n,outdir:i})=>{let l=p=>[r,n?"node_modules":void 0,i,p].filter(Boolean);return{get:l,root:l(),css:l("css"),token:l("tokens"),types:l("types"),recipe:l("recipes"),pattern:l("patterns"),chunk:l("chunks"),outCss:l("styles.css"),jsx:l("jsx")}},XCr={map:pCe},YCr=r=>{let n=r.patterns??{},i=p=>{let m=t6(p);return{upperName:m,baseName:p,dashName:Uze(p),styleFnName:`get${m}Style`,jsxName:n[p]?.jsxName??m}},l=Object.entries(n).map(([p,m])=>{let g=i(p),b=(m.jsx??[]).concat([g.jsxName]);return{...g,props:Object.keys(m?.properties??{}),blocklistType:m?.blocklist?`| '${m.blocklist.join("' | '")}'`:"",config:m,type:"pattern",match:Jze(b),jsx:b}});return{getConfig:p=>n[p],transform:(p,m)=>n[p]?.transform?.(m,XCr)??{},getNames:i,details:l,find:zb(p=>l.find(m=>m.match.test(p))?.baseName??P4t(p)),filter:zb(p=>l.filter(m=>m.match.test(p))),isEmpty:()=>Object.keys(n).length===0}},QCr=r=>
|
|
54339
|
+
`):D});I.append(...i);let R=I.toCss({optimize:!0,minify:g});return r.hooks.callHook("generator:css","styles.css",R),R},UCr=r=>n=>ok({...r,sheet:r.createSheet(),result:n},Aee(({sheet:i,result:l,patterns:p,recipes:m})=>{l.css.forEach(g=>{g.data.forEach(b=>{i.processAtomic(b)})}),l.cva.forEach(g=>{g.data.forEach(b=>{i.processAtomicRecipe(b)})}),l.sva.forEach(g=>{g.data.forEach(b=>{i.processAtomicSlotRecipe(b)})}),l.jsx.forEach(g=>{g.data.forEach(b=>{i.processStyleProps(b)})}),l.recipe.forEach((g,b)=>{try{for(let D of g){let I=m.getConfig(b);I&&H_(D).with({type:"jsx-recipe"},()=>{D.data.forEach(R=>{let[V,X]=m.splitProps(b,R);i.processStyleProps(X),i.processRecipe(b,I,V)})}).otherwise(()=>{D.data.forEach(R=>{i.processRecipe(b,I,R)})})}}catch(D){P1.error("serializer:recipe",D)}}),l.pattern.forEach((g,b)=>{try{for(let D of g)H_(D).with({type:"jsx-pattern",name:FS.string},({name:I})=>{D.data.forEach(R=>{let V=p.find(I),X=p.transform(V,R);i.processStyleProps(X)})}).otherwise(()=>{D.data.forEach(I=>{let R=p.transform(b,I);i.processAtomic(R)})})}catch(D){P1.error("serializer:pattern",D)}})}),n6(({sheet:i,result:l,config:{minify:p,optimize:m}})=>{let g=l.isEmpty()?void 0:i.toCss({minify:p,optimize:m});return r.hooks.callHook("parser:css",l.filePath??"",g),g},i=>{P1.error("serializer:css","Failed to serialize CSS: "+i)})),HCr={map:pCe},JCr=r=>{let{config:n}=r,i=n.theme??{},l=n.syntax==="template-literal",p={tokens:NZe(n.hash)?n.hash:n.hash?.cssVar,className:NZe(n.hash)?n.hash:n.hash?.className},m={tokens:RZe(n.prefix)?n.prefix:n.prefix?.cssVar,className:RZe(n.prefix)?n.prefix:n.prefix?.className},g=new TIn({breakpoints:i.breakpoints,tokens:i.tokens,semanticTokens:i.semanticTokens,prefix:m.tokens,hash:p.tokens}),b=new nSn({prefix:m.className,tokens:g,config:l?{}:n.utilities,separator:n.separator,shorthands:n.shorthands}),D=new jbn({conditions:l?{}:n.conditions,breakpoints:n.theme?.breakpoints}),{textStyles:I,layerStyles:R}=i,V=cre({textStyle:I,layerStyle:R});zbn(V,{conditions:D,utility:b});let ue=n.layers,De=Object.values(ue),we=zb(Xn=>{let Jt=new Set(Xn.split(",").map(Gs=>Gs.trim()));return Jt.size>=5&&De.every(Gs=>Jt.has(Gs))}),We=`@layer ${De.join(", ")};`,Ne=()=>({root:hB.root(),conditions:D,utility:b,hash:p.className,helpers:HCr,layers:ue}),Me=Xn=>{let Jt=Ne();return new tSn(Jt,{content:Xn?.content,recipes:i?.recipes,slotRecipes:i?.slotRecipes})},Ct=Ne(),Rt=Object.assign({},i.recipes??{},i.slotRecipes??{}),en=new s7t(Rt,Ct);en.save();let Tn=Array.from(new Set(["css",...b.keys(),...D.keys()])),hn=new Map(Tn.map(Xn=>[Xn,!0])),on=zb(Xn=>hn.has(Xn)||vIn(Xn)),Pn={outdir:`${n.outdir}-studio`,...r.config.studio};return{...r,isTemplateLiteralSyntax:l,studio:Pn,hash:p,prefix:m,tokens:g,utility:b,properties:Tn,isValidProperty:on,recipes:en,conditions:D,createSheetContext:Ne,createSheet:Me,layers:ue,isValidLayerRule:we,layerString:We,layerNames:De}},qCr=r=>{let{jsxFactory:n,jsxFramework:i,jsxStyleProps:l}=r;return{factoryName:n,upperName:t6(n),typeName:`HTML${t6(n)}Props`,componentName:`${t6(n)}Component`,framework:i,styleProps:l??"all"}},KCr=({cwd:r,emitPackage:n,outdir:i})=>{let l=p=>[r,n?"node_modules":void 0,i,p].filter(Boolean);return{get:l,root:l(),css:l("css"),token:l("tokens"),types:l("types"),recipe:l("recipes"),pattern:l("patterns"),chunk:l("chunks"),outCss:l("styles.css"),jsx:l("jsx")}},XCr={map:pCe},YCr=r=>{let n=r.patterns??{},i=p=>{let m=t6(p);return{upperName:m,baseName:p,dashName:Uze(p),styleFnName:`get${m}Style`,jsxName:n[p]?.jsxName??m}},l=Object.entries(n).map(([p,m])=>{let g=i(p),b=(m.jsx??[]).concat([g.jsxName]);return{...g,props:Object.keys(m?.properties??{}),blocklistType:m?.blocklist?`| '${m.blocklist.join("' | '")}'`:"",config:m,type:"pattern",match:Jze(b),jsx:b}});return{getConfig:p=>n[p],transform:(p,m)=>n[p]?.transform?.(m,XCr)??{},getNames:i,details:l,find:zb(p=>l.find(m=>m.match.test(p))?.baseName??P4t(p)),filter:zb(p=>l.filter(m=>m.match.test(p))),isEmpty:()=>Object.keys(n).length===0}},QCr=r=>{let{config:n}=r,{forceConsistentTypeExtension:i,outExtension:l}=n;return{...JCr(r),patterns:YCr(n),jsx:qCr(n),paths:KCr(n),file:{ext(p){return`${p}.${l}`},extDts(p){return`${p}.${l==="mjs"&&i?"d.mts":"d.ts"}`},__extDts(p){return i?this.extDts(p):p},import(p,m){return`import { ${p} } from '${this.ext(m)}';`},importType(p,m){return`import type { ${p} } from '${this.__extDts(m)}';`},exportType(p,m){return`export type { ${p} } from '${this.__extDts(m)}';`},exportStar(p){return`export * from '${this.ext(p)}';`},exportTypeStar(p){return`export * from '${this.__extDts(p)}';`},isTypeFile(p){return p.endsWith(".d.ts")||p.endsWith(".d.mts")}}}},$Cr=r=>({...r,config:{cssVarRoot:":where(:root, :host)",jsxFactory:"styled",jsxStyleProps:"all",outExtension:"mjs",shorthands:!0,syntax:"object-literal",...r.config,layers:{reset:"reset",base:"base",tokens:"tokens",recipes:"recipes",utilities:"utilities",...r.config.layers}}}),ZCr=r=>({css:[r,"css"],recipe:[r,"recipes"],pattern:[r,"patterns"],jsx:[r,"jsx"]}),KIn=r=>{let n=QCr($Cr(r)),{config:i,jsx:l,isValidProperty:p,patterns:m,recipes:g}=n,b=r.tsconfig?.compilerOptions??{},D=b.baseUrl??"",I=r.config.cwd,R=D!==I?D.replace(I,"").slice(1):I;return{...n,getArtifacts:jCr(n),getCss:VCr(n),getParserCss:UCr(n),messages:OIn(n),parserOptions:{importMap:ZCr(i.outdir.replace(R,"")),jsx:{factory:l.factoryName,styleProps:l.styleProps,isStyleProp:p,nodes:[...m.details,...g.details]},getRecipesByJsxName:g.filter,getPatternsByJsxName:m.filter,compilerOptions:b,tsOptions:r.tsOptions}}};re();var THe=_d(V8(),1);h1();var xLn=_d(V8(),1);h1();re();re();function D3(r,n){let i=Object.create(null),l=r.split(",");for(let p=0;p<l.length;p++)i[l[p]]=!0;return n?p=>!!i[p.toLowerCase()]:p=>!!i[p]}var e0r=Object.freeze({}),XIn=()=>{},KGt=()=>!1,t0r=/^on[^a-z]/,TNn=r=>t0r.test(r),nte=Object.assign,n0r=Object.prototype.hasOwnProperty,r0r=(r,n)=>n0r.call(r,n),p5=Array.isArray,i0r=r=>gjt(r)==="[object Map]",o0r=r=>gjt(r)==="[object Set]",s0r=r=>typeof r=="function",C1=r=>typeof r=="string",hHe=r=>typeof r=="symbol",qxe=r=>r!==null&&typeof r=="object",ANn=Object.prototype.toString,gjt=r=>ANn.call(r),a0r=r=>gjt(r)==="[object Object]",YIn=D3(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),kNn=D3("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),hlt=r=>{let n=Object.create(null);return i=>n[i]||(n[i]=r(i))},l0r=/-(\w)/g,$j=hlt(r=>r.replace(l0r,(n,i)=>i?i.toUpperCase():"")),c0r=/\B([A-Z])/g,wNn=hlt(r=>r.replace(c0r,"-$1").toLowerCase()),b0e=hlt(r=>r.charAt(0).toUpperCase()+r.slice(1)),u0r=hlt(r=>r?`on${b0e(r)}`:""),p0r=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function QIn(r){return p0r.test(r)?`__props.${r}`:`__props[${JSON.stringify(r)}]`}var UU={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},f0r={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},d0r="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",INn=D3(d0r),$In=2;function m0r(r,n=0,i=r.length){let l=r.split(/(\r?\n)/),p=l.filter((b,D)=>D%2===1);l=l.filter((b,D)=>D%2===0);let m=0,g=[];for(let b=0;b<l.length;b++)if(m+=l[b].length+(p[b]&&p[b].length||0),m>=n){for(let D=b-$In;D<=b+$In||i>m;D++){if(D<0||D>=l.length)continue;let I=D+1;g.push(`${I}${" ".repeat(Math.max(3-String(I).length,0))}| ${l[D]}`);let R=l[D].length,V=p[D]&&p[D].length||0;if(D===b){let X=n-(m-(R+V)),ue=Math.max(1,i>m?R-X:i-n);g.push(" | "+" ".repeat(X)+"^".repeat(ue))}else if(D>b){if(i>m){let X=Math.max(Math.min(i-m,R),1);g.push(" | "+"^".repeat(X))}m+=R+V}}break}return g.join(`
|
|
54334
54340
|
`)}function PNn(r){if(p5(r)){let n={};for(let i=0;i<r.length;i++){let l=r[i],p=C1(l)?NNn(l):PNn(l);if(p)for(let m in p)n[m]=p[m]}return n}else{if(C1(r))return r;if(qxe(r))return r}}var _0r=/;(?![^(]*\))/g,h0r=/:([^]+)/,g0r=/\/\*[^]*?\*\//g;function NNn(r){let n={};return r.replace(g0r,"").split(_0r).forEach(i=>{if(i){let l=i.split(h0r);l.length>1&&(n[l[0].trim()]=l[1].trim())}}),n}function B0r(r){let n="";if(!r||C1(r))return n;for(let i in r){let l=r[i],p=i.startsWith("--")?i:wNn(i);(C1(l)||typeof l=="number")&&(n+=`${p}:${l};`)}return n}function RNn(r){let n="";if(C1(r))n=r;else if(p5(r))for(let i=0;i<r.length;i++){let l=RNn(r[i]);l&&(n+=l+" ")}else if(qxe(r))for(let i in r)r[i]&&(n+=i+" ");return n.trim()}var y0r="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",C0r="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",v0r="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",b0r=D3(y0r),S0r=D3(C0r),LNn=D3(v0r),x0r="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",E0r=D3(x0r+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");var D0r=D3("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),T0r=D3("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),A0r=/["'&<>]/;function d0e(r){let n=""+r,i=A0r.exec(n);if(!i)return n;let l="",p,m,g=0;for(m=i.index;m<n.length;m++){switch(n.charCodeAt(m)){case 34:p=""";break;case 38:p="&";break;case 39:p="'";break;case 60:p="<";break;case 62:p=">";break;default:continue}g!==m&&(l+=n.slice(g,m)),g=m+1,l+=p}return g!==m?l+n.slice(g,m):l}var Bjt=r=>C1(r)?r:r==null?"":p5(r)||qxe(r)&&(r.toString===ANn||!s0r(r.toString))?JSON.stringify(r,MNn,2):String(r),MNn=(r,n)=>n&&n.__v_isRef?MNn(r,n.value):i0r(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((i,[l,p])=>(i[`${l} =>`]=p,i),{})}:o0r(n)?{[`Set(${n.size})`]:[...n.values()]}:qxe(n)&&!p5(n)&&!a0r(n)?String(n):n;function yjt(r){throw r}function FNn(r){console.warn(`[Vue warn] ${r.message}`)}function R1(r,n,i,l){let p=(i||k0r)[r]+(l||""),m=new SyntaxError(String(p));return m.code=r,m.loc=n,m}var k0r={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
54335
54341
|
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',51:"@vnode-* hooks in templates are deprecated. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support will be removed in 3.4.",52:'v-is="component-name" has been deprecated. Use is="vue:component-name" instead. v-is support will be removed in 3.4.',53:""},Nxe=Symbol("Fragment"),Exe=Symbol("Teleport"),glt=Symbol("Suspense"),LUe=Symbol("KeepAlive"),Cjt=Symbol("BaseTransition"),lie=Symbol("openBlock"),vjt=Symbol("createBlock"),bjt=Symbol("createElementBlock"),Blt=Symbol("createVNode"),ylt=Symbol("createElementVNode"),Kxe=Symbol("createCommentVNode"),Clt=Symbol("createTextVNode"),vlt=Symbol("createStaticVNode"),MUe=Symbol("resolveComponent"),FUe=Symbol("resolveDynamicComponent"),blt=Symbol("resolveDirective"),ONn=Symbol("resolveFilter"),Slt=Symbol("withDirectives"),xlt=Symbol("renderList"),Sjt=Symbol("renderSlot"),xjt=Symbol("createSlots"),gHe=Symbol("toDisplayString"),OUe=Symbol("mergeProps"),Elt=Symbol("normalizeClass"),Dlt=Symbol("normalizeStyle"),Rxe=Symbol("normalizeProps"),Xxe=Symbol("guardReactiveProps"),Tlt=Symbol("toHandlers"),Nat=Symbol("camelize"),WNn=Symbol("capitalize"),Rat=Symbol("toHandlerKey"),WUe=Symbol("setBlockTracking"),Alt=Symbol("pushScopeId"),klt=Symbol("popScopeId"),wlt=Symbol("withCtx"),GUe=Symbol("unref"),zUe=Symbol("isRef"),Ilt=Symbol("withMemo"),Ejt=Symbol("isMemoSame"),c4={[Nxe]:"Fragment",[Exe]:"Teleport",[glt]:"Suspense",[LUe]:"KeepAlive",[Cjt]:"BaseTransition",[lie]:"openBlock",[vjt]:"createBlock",[bjt]:"createElementBlock",[Blt]:"createVNode",[ylt]:"createElementVNode",[Kxe]:"createCommentVNode",[Clt]:"createTextVNode",[vlt]:"createStaticVNode",[MUe]:"resolveComponent",[FUe]:"resolveDynamicComponent",[blt]:"resolveDirective",[ONn]:"resolveFilter",[Slt]:"withDirectives",[xlt]:"renderList",[Sjt]:"renderSlot",[xjt]:"createSlots",[gHe]:"toDisplayString",[OUe]:"mergeProps",[Elt]:"normalizeClass",[Dlt]:"normalizeStyle",[Rxe]:"normalizeProps",[Xxe]:"guardReactiveProps",[Tlt]:"toHandlers",[Nat]:"camelize",[WNn]:"capitalize",[Rat]:"toHandlerKey",[WUe]:"setBlockTracking",[Alt]:"pushScopeId",[klt]:"popScopeId",[wlt]:"withCtx",[GUe]:"unref",[zUe]:"isRef",[Ilt]:"withMemo",[Ejt]:"isMemoSame"};function Djt(r){Object.getOwnPropertySymbols(r).forEach(n=>{c4[n]=r[n]})}var dk={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Tjt(r,n=dk){return{type:0,children:r,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:n}}function Lxe(r,n,i,l,p,m,g,b=!1,D=!1,I=!1,R=dk){return r&&(b?(r.helper(lie),r.helper(E0e(r.inSSR,I))):r.helper(x0e(r.inSSR,I)),g&&r.helper(Slt)),{type:13,tag:n,props:i,children:l,patchFlag:p,dynamicProps:m,directives:g,isBlock:b,disableTracking:D,isComponent:I,loc:R}}function Yxe(r,n=dk){return{type:17,loc:n,elements:r}}function J8(r,n=dk){return{type:15,loc:n,properties:r}}function rE(r,n){return{type:16,loc:dk,key:C1(r)?Zg(r,!0):r,value:n}}function Zg(r,n=!1,i=dk,l=0){return{type:4,loc:i,content:r,isStatic:n,constType:n?3:l}}function w0r(r,n){return{type:5,loc:n,content:C1(r)?Zg(r,!1,n):r}}function sM(r,n=dk){return{type:8,loc:n,children:r}}function JD(r,n=[],i=dk){return{type:14,loc:i,callee:r,arguments:n}}function S0e(r,n=void 0,i=!1,l=!1,p=dk){return{type:18,params:r,returns:n,newline:i,isSlot:l,loc:p}}function Lat(r,n,i,l=!0){return{type:19,test:r,consequent:n,alternate:i,newline:l,loc:dk}}function GNn(r,n,i=!1){return{type:20,index:r,value:n,isVNode:i,loc:dk}}function zNn(r){return{type:21,body:r,loc:dk}}function I0r(r){return{type:22,elements:r,loc:dk}}function P0r(r,n,i){return{type:23,test:r,consequent:n,alternate:i,loc:dk}}function N0r(r,n){return{type:24,left:r,right:n,loc:dk}}function R0r(r){return{type:25,expressions:r,loc:dk}}function L0r(r){return{type:26,returns:r,loc:dk}}function x0e(r,n){return r||n?Blt:ylt}function E0e(r,n){return r||n?vjt:bjt}function Plt(r,{helper:n,removeHelper:i,inSSR:l}){r.isBlock||(r.isBlock=!0,i(x0e(l,r.isComponent)),n(lie),n(E0e(l,r.isComponent)))}function M0r(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function BHe(r){if(r.__esModule)return r;var n=r.default;if(typeof n=="function"){var i=function l(){if(this instanceof l){var p=[null];p.push.apply(p,arguments);var m=Function.bind.apply(n,p);return new m}return n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(r).forEach(function(l){var p=Object.getOwnPropertyDescriptor(r,l);Object.defineProperty(i,l,p.get?p:{enumerable:!0,get:function(){return r[l]}})}),i}var Nlt={};Object.defineProperty(Nlt,"__esModule",{value:!0});var ZIn={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function F0r(r){if(r&&r.annexB!=null&&r.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let n={};for(let i of Object.keys(ZIn))n[i]=r&&r[i]!=null?r[i]:ZIn[i];return n}var m0e=class{constructor(n,i){this.token=void 0,this.preserveSpace=void 0,this.token=n,this.preserveSpace=!!i}},jb={brace:new m0e("{"),j_oTag:new m0e("<tag"),j_cTag:new m0e("</tag"),j_expr:new m0e("<tag>...</tag>",!0)};jb.template=new m0e("`",!0);var qy=!0,Id=!0,XGt=!0,_Ue=!0,Zre=!0,O0r=!0,Mat=class{constructor(n,i={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=n,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.rightAssociative=!!i.rightAssociative,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop!=null?i.binop:null,this.updateContext=null}},Ajt=new Map;function m0(r,n={}){n.keyword=r;let i=J_(r,n);return Ajt.set(r,i),i}function iM(r,n){return J_(r,{beforeExpr:qy,binop:n})}var TUe=-1,Xee=[],kjt=[],wjt=[],Ijt=[],Pjt=[],Njt=[];function J_(r,n={}){var i,l,p,m;return++TUe,kjt.push(r),wjt.push((i=n.binop)!=null?i:-1),Ijt.push((l=n.beforeExpr)!=null?l:!1),Pjt.push((p=n.startsExpr)!=null?p:!1),Njt.push((m=n.prefix)!=null?m:!1),Xee.push(new Mat(r,n)),TUe}function MC(r,n={}){var i,l,p,m;return++TUe,Ajt.set(r,TUe),kjt.push(r),wjt.push((i=n.binop)!=null?i:-1),Ijt.push((l=n.beforeExpr)!=null?l:!1),Pjt.push((p=n.startsExpr)!=null?p:!1),Njt.push((m=n.prefix)!=null?m:!1),Xee.push(new Mat("name",n)),TUe}var W0r={bracketL:J_("[",{beforeExpr:qy,startsExpr:Id}),bracketHashL:J_("#[",{beforeExpr:qy,startsExpr:Id}),bracketBarL:J_("[|",{beforeExpr:qy,startsExpr:Id}),bracketR:J_("]"),bracketBarR:J_("|]"),braceL:J_("{",{beforeExpr:qy,startsExpr:Id}),braceBarL:J_("{|",{beforeExpr:qy,startsExpr:Id}),braceHashL:J_("#{",{beforeExpr:qy,startsExpr:Id}),braceR:J_("}"),braceBarR:J_("|}"),parenL:J_("(",{beforeExpr:qy,startsExpr:Id}),parenR:J_(")"),comma:J_(",",{beforeExpr:qy}),semi:J_(";",{beforeExpr:qy}),colon:J_(":",{beforeExpr:qy}),doubleColon:J_("::",{beforeExpr:qy}),dot:J_("."),question:J_("?",{beforeExpr:qy}),questionDot:J_("?."),arrow:J_("=>",{beforeExpr:qy}),template:J_("template"),ellipsis:J_("...",{beforeExpr:qy}),backQuote:J_("`",{startsExpr:Id}),dollarBraceL:J_("${",{beforeExpr:qy,startsExpr:Id}),templateTail:J_("...`",{startsExpr:Id}),templateNonTail:J_("...${",{beforeExpr:qy,startsExpr:Id}),at:J_("@"),hash:J_("#",{startsExpr:Id}),interpreterDirective:J_("#!..."),eq:J_("=",{beforeExpr:qy,isAssign:_Ue}),assign:J_("_=",{beforeExpr:qy,isAssign:_Ue}),slashAssign:J_("_=",{beforeExpr:qy,isAssign:_Ue}),xorAssign:J_("_=",{beforeExpr:qy,isAssign:_Ue}),moduloAssign:J_("_=",{beforeExpr:qy,isAssign:_Ue}),incDec:J_("++/--",{prefix:Zre,postfix:O0r,startsExpr:Id}),bang:J_("!",{beforeExpr:qy,prefix:Zre,startsExpr:Id}),tilde:J_("~",{beforeExpr:qy,prefix:Zre,startsExpr:Id}),doubleCaret:J_("^^",{startsExpr:Id}),doubleAt:J_("@@",{startsExpr:Id}),pipeline:iM("|>",0),nullishCoalescing:iM("??",1),logicalOR:iM("||",1),logicalAND:iM("&&",2),bitwiseOR:iM("|",3),bitwiseXOR:iM("^",4),bitwiseAND:iM("&",5),equality:iM("==/!=/===/!==",6),lt:iM("</>/<=/>=",7),gt:iM("</>/<=/>=",7),relational:iM("</>/<=/>=",7),bitShift:iM("<</>>/>>>",8),bitShiftL:iM("<</>>/>>>",8),bitShiftR:iM("<</>>/>>>",8),plusMin:J_("+/-",{beforeExpr:qy,binop:9,prefix:Zre,startsExpr:Id}),modulo:J_("%",{binop:10,startsExpr:Id}),star:J_("*",{binop:10}),slash:iM("/",10),exponent:J_("**",{beforeExpr:qy,binop:11,rightAssociative:!0}),_in:m0("in",{beforeExpr:qy,binop:7}),_instanceof:m0("instanceof",{beforeExpr:qy,binop:7}),_break:m0("break"),_case:m0("case",{beforeExpr:qy}),_catch:m0("catch"),_continue:m0("continue"),_debugger:m0("debugger"),_default:m0("default",{beforeExpr:qy}),_else:m0("else",{beforeExpr:qy}),_finally:m0("finally"),_function:m0("function",{startsExpr:Id}),_if:m0("if"),_return:m0("return",{beforeExpr:qy}),_switch:m0("switch"),_throw:m0("throw",{beforeExpr:qy,prefix:Zre,startsExpr:Id}),_try:m0("try"),_var:m0("var"),_const:m0("const"),_with:m0("with"),_new:m0("new",{beforeExpr:qy,startsExpr:Id}),_this:m0("this",{startsExpr:Id}),_super:m0("super",{startsExpr:Id}),_class:m0("class",{startsExpr:Id}),_extends:m0("extends",{beforeExpr:qy}),_export:m0("export"),_import:m0("import",{startsExpr:Id}),_null:m0("null",{startsExpr:Id}),_true:m0("true",{startsExpr:Id}),_false:m0("false",{startsExpr:Id}),_typeof:m0("typeof",{beforeExpr:qy,prefix:Zre,startsExpr:Id}),_void:m0("void",{beforeExpr:qy,prefix:Zre,startsExpr:Id}),_delete:m0("delete",{beforeExpr:qy,prefix:Zre,startsExpr:Id}),_do:m0("do",{isLoop:XGt,beforeExpr:qy}),_for:m0("for",{isLoop:XGt}),_while:m0("while",{isLoop:XGt}),_as:MC("as",{startsExpr:Id}),_assert:MC("assert",{startsExpr:Id}),_async:MC("async",{startsExpr:Id}),_await:MC("await",{startsExpr:Id}),_from:MC("from",{startsExpr:Id}),_get:MC("get",{startsExpr:Id}),_let:MC("let",{startsExpr:Id}),_meta:MC("meta",{startsExpr:Id}),_of:MC("of",{startsExpr:Id}),_sent:MC("sent",{startsExpr:Id}),_set:MC("set",{startsExpr:Id}),_static:MC("static",{startsExpr:Id}),_using:MC("using",{startsExpr:Id}),_yield:MC("yield",{startsExpr:Id}),_asserts:MC("asserts",{startsExpr:Id}),_checks:MC("checks",{startsExpr:Id}),_exports:MC("exports",{startsExpr:Id}),_global:MC("global",{startsExpr:Id}),_implements:MC("implements",{startsExpr:Id}),_intrinsic:MC("intrinsic",{startsExpr:Id}),_infer:MC("infer",{startsExpr:Id}),_is:MC("is",{startsExpr:Id}),_mixins:MC("mixins",{startsExpr:Id}),_proto:MC("proto",{startsExpr:Id}),_require:MC("require",{startsExpr:Id}),_satisfies:MC("satisfies",{startsExpr:Id}),_keyof:MC("keyof",{startsExpr:Id}),_readonly:MC("readonly",{startsExpr:Id}),_unique:MC("unique",{startsExpr:Id}),_abstract:MC("abstract",{startsExpr:Id}),_declare:MC("declare",{startsExpr:Id}),_enum:MC("enum",{startsExpr:Id}),_module:MC("module",{startsExpr:Id}),_namespace:MC("namespace",{startsExpr:Id}),_interface:MC("interface",{startsExpr:Id}),_type:MC("type",{startsExpr:Id}),_opaque:MC("opaque",{startsExpr:Id}),name:J_("name",{startsExpr:Id}),string:J_("string",{startsExpr:Id}),num:J_("num",{startsExpr:Id}),bigint:J_("bigint",{startsExpr:Id}),decimal:J_("decimal",{startsExpr:Id}),regexp:J_("regexp",{startsExpr:Id}),privateName:J_("#name",{startsExpr:Id}),eof:J_("eof"),jsxName:J_("jsxName"),jsxText:J_("jsxText",{beforeExpr:!0}),jsxTagStart:J_("jsxTagStart",{startsExpr:!0}),jsxTagEnd:J_("jsxTagEnd"),placeholder:J_("%%",{startsExpr:!0})};function mv(r){return r>=93&&r<=130}function G0r(r){return r<=92}function jU(r){return r>=58&&r<=130}function jNn(r){return r>=58&&r<=134}function z0r(r){return Ijt[r]}function _zt(r){return Pjt[r]}function j0r(r){return r>=29&&r<=33}function ePn(r){return r>=127&&r<=129}function V0r(r){return r>=90&&r<=92}function Rjt(r){return r>=58&&r<=92}function U0r(r){return r>=39&&r<=59}function H0r(r){return r===34}function J0r(r){return Njt[r]}function q0r(r){return r>=119&&r<=121}function K0r(r){return r>=122&&r<=128}function aie(r){return kjt[r]}function bat(r){return wjt[r]}function X0r(r){return r===57}function Fat(r){return r>=24&&r<=25}function Kee(r){return Xee[r]}Xee[8].updateContext=r=>{r.pop()},Xee[5].updateContext=Xee[7].updateContext=Xee[23].updateContext=r=>{r.push(jb.brace)},Xee[22].updateContext=r=>{r[r.length-1]===jb.template?r.pop():r.push(jb.template)},Xee[140].updateContext=r=>{r.push(jb.j_expr,jb.j_oTag)};function Oat(r,n){if(r==null)return{};var i={},l=Object.keys(r),p,m;for(m=0;m<l.length;m++)p=l[m],!(n.indexOf(p)>=0)&&(i[p]=r[p]);return i}var HU=class{constructor(n,i,l){this.line=void 0,this.column=void 0,this.index=void 0,this.line=n,this.column=i,this.index=l}},Mxe=class{constructor(n,i){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=n,this.end=i}};function aM(r,n){let{line:i,column:l,index:p}=r;return new HU(i,l+n,p+n)}var hzt={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},Y0r=(r,n=r.length-1)=>({get(){return r.reduce((i,l)=>i[l],this)},set(i){r.reduce((l,p,m)=>m===n?l[p]=i:l[p],this)}}),Q0r=(r,n,i)=>Object.keys(i).map(l=>[l,i[l]]).filter(([,l])=>!!l).map(([l,p])=>[l,typeof p=="function"?{value:p,enumerable:!1}:typeof p.reflect=="string"?Object.assign({},p,Y0r(p.reflect.split("."))):p]).reduce((l,[p,m])=>Object.defineProperty(l,p,Object.assign({configurable:!0},m)),Object.assign(new r,n)),$0r={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:hzt.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:hzt.SourceTypeModuleError}},tPn={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},gzt=({type:r,prefix:n})=>r==="UpdateExpression"?tPn.UpdateExpression[String(n)]:tPn[r],Z0r={AccessorIsGenerator:({kind:r})=>`A ${r}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitInUsingBinding:"'await' is not allowed to be used as a name in 'using' declarations.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:r})=>`Missing initializer in ${r} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:r})=>`\`${r}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:r,exportName:n})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
54336
54342
|
- Did you mean \`export { '${r}' as '${n}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:r})=>`'${r==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:r})=>`Unsyntactic ${r==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:({importName:r})=>`A string literal cannot be used as an imported binding.
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@pandacss/language-server",
|
|
3
3
|
"displayName": "Panda CSS",
|
|
4
4
|
"description": "🐼 The official Panda language server",
|
|
5
|
-
"version": "0.0.0-dev-
|
|
5
|
+
"version": "0.0.0-dev-20230829122546",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"repository": {
|
|
8
8
|
"url": "https://github.com/chakra-ui/panda",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"vscode-languageserver": "^8.1.0",
|
|
33
33
|
"vscode-languageserver-textdocument": "^1.0.8",
|
|
34
34
|
"vscode-uri": "^3.0.7",
|
|
35
|
-
"@pandacss/core": "0.0.0-dev-
|
|
36
|
-
"@pandacss/extension-shared": "0.0.0-dev-
|
|
37
|
-
"@pandacss/extractor": "0.0.0-dev-
|
|
38
|
-
"@pandacss/node": "0.0.0-dev-
|
|
39
|
-
"@pandacss/parser": "0.0.0-dev-
|
|
40
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
41
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
42
|
-
"@pandacss/types": "0.0.0-dev-
|
|
35
|
+
"@pandacss/core": "0.0.0-dev-20230829122546",
|
|
36
|
+
"@pandacss/extension-shared": "0.0.0-dev-20230829122546",
|
|
37
|
+
"@pandacss/extractor": "0.0.0-dev-20230829122546",
|
|
38
|
+
"@pandacss/node": "0.0.0-dev-20230829122546",
|
|
39
|
+
"@pandacss/parser": "0.0.0-dev-20230829122546",
|
|
40
|
+
"@pandacss/shared": "0.0.0-dev-20230829122546",
|
|
41
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230829122546",
|
|
42
|
+
"@pandacss/types": "0.0.0-dev-20230829122546"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"fast-glob": "^3.3.1"
|