oxfmt 0.54.0 → 0.56.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/configuration_schema.json +1 -1
- package/dist/{acorn-C-l7ouWN.js → acorn-LGWopQvF.js} +2 -2
- package/dist/{angular-4Mc0TmPv.js → angular-BbAuvH72.js} +16 -206
- package/dist/{apis-CngUzqDq.js → apis-C2fbFQF2.js} +5 -5
- package/dist/{babel-DjR61Wf3.js → babel-DLjwvkt5.js} +9 -9
- package/dist/{napi-callbacks-C8y3J_xb.js → bindings-Ab6hoO7p.js} +46 -64
- package/dist/{chunk-DSjvVL_1-BUO3FyMh.js → chunk-DSjvVL_1-DaTvESxp.js} +1 -1
- package/dist/cli-worker.d.ts +2 -2
- package/dist/cli-worker.js +1 -1
- package/dist/cli.js +4 -3
- package/dist/{dist-ZI7w_ao-.js → dist-BMp5jzRv.js} +15 -15
- package/dist/{estree-DHQPBKqf.js → estree-DbmUPhmV.js} +8 -8
- package/dist/{flow-Cz3mJAtC.js → flow-CJbpv7JL.js} +6 -6
- package/dist/{glimmer-ubhL-0tG.js → glimmer-Ba_8Z2bG.js} +6 -6
- package/dist/{graphql-Cl0TIiHU.js → graphql-CZ7EPWgo.js} +3 -3
- package/dist/{html-Cqnv8X__.js → html-DblM11Xw.js} +99 -99
- package/dist/index.js +7 -4
- package/dist/{jiti-Bb1dT6Cw-DPQUX1DC.js → jiti-Bb1dT6Cw-DWQc1k7j.js} +28 -28
- package/dist/{markdown-Eujfu-fQ.js → markdown-B5hFVJKQ.js} +9 -9
- package/dist/{meriyah-DESRG6oe.js → meriyah-DafjRZfO.js} +3 -3
- package/dist/{migrate-prettier-DWPaoKDl.js → migrate-prettier-DrYAkU3F.js} +1 -1
- package/dist/napi-callbacks-Sb-usWTs.js +30 -0
- package/dist/{plugin-CHUKsFCg.js → plugin-CYEM2898.js} +10 -10
- package/dist/{postcss-BFLfznNY.js → postcss-CkhtwsAS.js} +8 -8
- package/dist/{prettier-CttUn4xj.js → prettier-DKAx5A83.js} +28 -28
- package/dist/{chunk-CNf5ZN-e.js → rolldown-runtime-CE-6LUnI.js} +9 -2
- package/dist/{sorter-BZkvDMjt-DCuU-7CM.js → sorter-BZkvDMjt-c-GMCzH3.js} +10 -9
- package/dist/{sorter-CharfNIQ.js → sorter-DK1aMCjs.js} +1 -1
- package/dist/{typescript-lqJOqGcK.js → typescript-DaxiA0nr.js} +16 -16
- package/dist/{v3-D-mr2VVh-C7AdPwxy.js → v3-D-mr2VVh-7G9Y2N0Q.js} +22 -22
- package/dist/{v4-C-HWEQJm-CJKqx13d.js → v4-C-HWEQJm-DKnDZXAs.js} +12 -12
- package/dist/{yaml-BT3ntp8h.js → yaml-BC7gw7un.js} +6 -6
- package/package.json +20 -20
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __esmMin } from "./
|
|
2
|
-
//#region ../../node_modules/.pnpm/prettier@3.8.
|
|
1
|
+
import { n as __esmMin } from "./rolldown-runtime-CE-6LUnI.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/plugins/acorn.mjs
|
|
3
3
|
function je(e, t) {
|
|
4
4
|
for (var i = 65536, s = 0; s < t.length; s += 2) {
|
|
5
5
|
if (i += t[s], i > e) return !1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __esmMin } from "./
|
|
2
|
-
//#region ../../node_modules/.pnpm/prettier@3.8.
|
|
1
|
+
import { n as __esmMin } from "./rolldown-runtime-CE-6LUnI.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/plugins/angular.mjs
|
|
3
3
|
function Fr(t) {
|
|
4
4
|
return typeof t == "string" ? (e) => e === t : (e) => t.test(e);
|
|
5
5
|
}
|
|
@@ -1564,39 +1564,7 @@ var init_angular = __esmMin((() => {
|
|
|
1564
1564
|
this.major = n[0], this.minor = n[1], this.patch = n.slice(2).join(".");
|
|
1565
1565
|
}
|
|
1566
1566
|
};
|
|
1567
|
-
|
|
1568
|
-
[u.And, "&&"],
|
|
1569
|
-
[u.Bigger, ">"],
|
|
1570
|
-
[u.BiggerEquals, ">="],
|
|
1571
|
-
[u.BitwiseOr, "|"],
|
|
1572
|
-
[u.BitwiseAnd, "&"],
|
|
1573
|
-
[u.Divide, "/"],
|
|
1574
|
-
[u.Assign, "="],
|
|
1575
|
-
[u.Equals, "=="],
|
|
1576
|
-
[u.Identical, "==="],
|
|
1577
|
-
[u.Lower, "<"],
|
|
1578
|
-
[u.LowerEquals, "<="],
|
|
1579
|
-
[u.Minus, "-"],
|
|
1580
|
-
[u.Modulo, "%"],
|
|
1581
|
-
[u.Exponentiation, "**"],
|
|
1582
|
-
[u.Multiply, "*"],
|
|
1583
|
-
[u.NotEquals, "!="],
|
|
1584
|
-
[u.NotIdentical, "!=="],
|
|
1585
|
-
[u.NullishCoalesce, "??"],
|
|
1586
|
-
[u.Or, "||"],
|
|
1587
|
-
[u.Plus, "+"],
|
|
1588
|
-
[u.In, "in"],
|
|
1589
|
-
[u.InstanceOf, "instanceof"],
|
|
1590
|
-
[u.AdditionAssignment, "+="],
|
|
1591
|
-
[u.SubtractionAssignment, "-="],
|
|
1592
|
-
[u.MultiplicationAssignment, "*="],
|
|
1593
|
-
[u.DivisionAssignment, "/="],
|
|
1594
|
-
[u.RemainderAssignment, "%="],
|
|
1595
|
-
[u.ExponentiationAssignment, "**="],
|
|
1596
|
-
[u.AndAssignment, "&&="],
|
|
1597
|
-
[u.OrAssignment, "||="],
|
|
1598
|
-
[u.NullishCoalesceAssignment, "??="]
|
|
1599
|
-
]);
|
|
1567
|
+
u.And, u.Bigger, u.BiggerEquals, u.BitwiseOr, u.BitwiseAnd, u.Divide, u.Assign, u.Equals, u.Identical, u.Lower, u.LowerEquals, u.Minus, u.Modulo, u.Exponentiation, u.Multiply, u.NotEquals, u.NotIdentical, u.NullishCoalesce, u.Or, u.Plus, u.In, u.InstanceOf, u.AdditionAssignment, u.SubtractionAssignment, u.MultiplicationAssignment, u.DivisionAssignment, u.RemainderAssignment, u.ExponentiationAssignment, u.AndAssignment, u.OrAssignment, u.NullishCoalesceAssignment;
|
|
1600
1568
|
(function(t) {
|
|
1601
1569
|
t[t.Class = 0] = "Class", t[t.Function = 1] = "Function";
|
|
1602
1570
|
})(Rn || (Rn = {}));
|
|
@@ -2168,99 +2136,18 @@ var init_angular = __esmMin((() => {
|
|
|
2168
2136
|
(function(t) {
|
|
2169
2137
|
t[t.None = 0] = "None", t[t.InChildOperation = 1] = "InChildOperation", t[t.InArrowFunctionOperation = 2] = "InArrowFunctionOperation";
|
|
2170
2138
|
})(W || (W = {}));
|
|
2171
|
-
|
|
2172
|
-
l.Element,
|
|
2173
|
-
l.ElementStart,
|
|
2174
|
-
l.Container,
|
|
2175
|
-
l.ContainerStart,
|
|
2176
|
-
l.Template,
|
|
2177
|
-
l.RepeaterCreate,
|
|
2178
|
-
l.ConditionalCreate,
|
|
2179
|
-
l.ConditionalBranchCreate
|
|
2180
|
-
]);
|
|
2139
|
+
l.Element, l.ElementStart, l.Container, l.ContainerStart, l.Template, l.RepeaterCreate, l.ConditionalCreate, l.ConditionalBranchCreate;
|
|
2181
2140
|
(function(t) {
|
|
2182
2141
|
t[t.Tmpl = 0] = "Tmpl", t[t.Host = 1] = "Host", t[t.Both = 2] = "Both";
|
|
2183
2142
|
})(os || (os = {}));
|
|
2184
2143
|
(function(t) {
|
|
2185
2144
|
t[t.Full = 0] = "Full", t[t.DomOnly = 1] = "DomOnly";
|
|
2186
2145
|
})(as || (as = {}));
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
[c.attribute, c.attribute],
|
|
2190
|
-
[c.classProp, c.classProp],
|
|
2191
|
-
[c.element, c.element],
|
|
2192
|
-
[c.elementContainer, c.elementContainer],
|
|
2193
|
-
[c.elementContainerEnd, c.elementContainerEnd],
|
|
2194
|
-
[c.elementContainerStart, c.elementContainerStart],
|
|
2195
|
-
[c.elementEnd, c.elementEnd],
|
|
2196
|
-
[c.elementStart, c.elementStart],
|
|
2197
|
-
[c.domProperty, c.domProperty],
|
|
2198
|
-
[c.i18nExp, c.i18nExp],
|
|
2199
|
-
[c.listener, c.listener],
|
|
2200
|
-
[c.listener, c.listener],
|
|
2201
|
-
[c.property, c.property],
|
|
2202
|
-
[c.styleProp, c.styleProp],
|
|
2203
|
-
[c.syntheticHostListener, c.syntheticHostListener],
|
|
2204
|
-
[c.syntheticHostProperty, c.syntheticHostProperty],
|
|
2205
|
-
[c.templateCreate, c.templateCreate],
|
|
2206
|
-
[c.twoWayProperty, c.twoWayProperty],
|
|
2207
|
-
[c.twoWayListener, c.twoWayListener],
|
|
2208
|
-
[c.declareLet, c.declareLet],
|
|
2209
|
-
[c.conditionalCreate, c.conditionalBranchCreate],
|
|
2210
|
-
[c.conditionalBranchCreate, c.conditionalBranchCreate],
|
|
2211
|
-
[c.domElement, c.domElement],
|
|
2212
|
-
[c.domElementStart, c.domElementStart],
|
|
2213
|
-
[c.domElementEnd, c.domElementEnd],
|
|
2214
|
-
[c.domElementContainer, c.domElementContainer],
|
|
2215
|
-
[c.domElementContainerStart, c.domElementContainerStart],
|
|
2216
|
-
[c.domElementContainerEnd, c.domElementContainerEnd],
|
|
2217
|
-
[c.domListener, c.domListener],
|
|
2218
|
-
[c.domTemplate, c.domTemplate],
|
|
2219
|
-
[c.animationEnter, c.animationEnter],
|
|
2220
|
-
[c.animationLeave, c.animationLeave],
|
|
2221
|
-
[c.animationEnterListener, c.animationEnterListener],
|
|
2222
|
-
[c.animationLeaveListener, c.animationLeaveListener]
|
|
2223
|
-
]);
|
|
2224
|
-
new Map([
|
|
2225
|
-
["&&", u.And],
|
|
2226
|
-
[">", u.Bigger],
|
|
2227
|
-
[">=", u.BiggerEquals],
|
|
2228
|
-
["|", u.BitwiseOr],
|
|
2229
|
-
["&", u.BitwiseAnd],
|
|
2230
|
-
["/", u.Divide],
|
|
2231
|
-
["=", u.Assign],
|
|
2232
|
-
["==", u.Equals],
|
|
2233
|
-
["===", u.Identical],
|
|
2234
|
-
["<", u.Lower],
|
|
2235
|
-
["<=", u.LowerEquals],
|
|
2236
|
-
["-", u.Minus],
|
|
2237
|
-
["%", u.Modulo],
|
|
2238
|
-
["**", u.Exponentiation],
|
|
2239
|
-
["*", u.Multiply],
|
|
2240
|
-
["!=", u.NotEquals],
|
|
2241
|
-
["!==", u.NotIdentical],
|
|
2242
|
-
["??", u.NullishCoalesce],
|
|
2243
|
-
["||", u.Or],
|
|
2244
|
-
["+", u.Plus],
|
|
2245
|
-
["in", u.In],
|
|
2246
|
-
["instanceof", u.InstanceOf],
|
|
2247
|
-
["+=", u.AdditionAssignment],
|
|
2248
|
-
["-=", u.SubtractionAssignment],
|
|
2249
|
-
["*=", u.MultiplicationAssignment],
|
|
2250
|
-
["/=", u.DivisionAssignment],
|
|
2251
|
-
["%=", u.RemainderAssignment],
|
|
2252
|
-
["**=", u.ExponentiationAssignment],
|
|
2253
|
-
["&&=", u.AndAssignment],
|
|
2254
|
-
["||=", u.OrAssignment],
|
|
2255
|
-
["??=", u.NullishCoalesceAssignment]
|
|
2256
|
-
]);
|
|
2146
|
+
c.ariaProperty, c.ariaProperty, c.attribute, c.attribute, c.classProp, c.classProp, c.element, c.element, c.elementContainer, c.elementContainer, c.elementContainerEnd, c.elementContainerEnd, c.elementContainerStart, c.elementContainerStart, c.elementEnd, c.elementEnd, c.elementStart, c.elementStart, c.domProperty, c.domProperty, c.i18nExp, c.i18nExp, c.listener, c.listener, c.listener, c.listener, c.property, c.property, c.styleProp, c.styleProp, c.syntheticHostListener, c.syntheticHostListener, c.syntheticHostProperty, c.syntheticHostProperty, c.templateCreate, c.templateCreate, c.twoWayProperty, c.twoWayProperty, c.twoWayListener, c.twoWayListener, c.declareLet, c.declareLet, c.conditionalCreate, c.conditionalBranchCreate, c.conditionalBranchCreate, c.conditionalBranchCreate, c.domElement, c.domElement, c.domElementStart, c.domElementStart, c.domElementEnd, c.domElementEnd, c.domElementContainer, c.domElementContainer, c.domElementContainerStart, c.domElementContainerStart, c.domElementContainerEnd, c.domElementContainerEnd, c.domListener, c.domListener, c.domTemplate, c.domTemplate, c.animationEnter, c.animationEnter, c.animationLeave, c.animationLeave, c.animationEnterListener, c.animationEnterListener, c.animationLeaveListener, c.animationLeaveListener;
|
|
2147
|
+
u.And, u.Bigger, u.BiggerEquals, u.BitwiseOr, u.BitwiseAnd, u.Divide, u.Assign, u.Equals, u.Identical, u.Lower, u.LowerEquals, u.Minus, u.Modulo, u.Exponentiation, u.Multiply, u.NotEquals, u.NotIdentical, u.NullishCoalesce, u.Or, u.Plus, u.In, u.InstanceOf, u.AdditionAssignment, u.SubtractionAssignment, u.MultiplicationAssignment, u.DivisionAssignment, u.RemainderAssignment, u.ExponentiationAssignment, u.AndAssignment, u.OrAssignment, u.NullishCoalesceAssignment;
|
|
2257
2148
|
Object.freeze([]);
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
[l.ContainerEnd, [l.ContainerStart, l.Container]],
|
|
2261
|
-
[l.I18nEnd, [l.I18nStart, l.I18n]]
|
|
2262
|
-
]);
|
|
2263
|
-
new Set([l.Pipe]);
|
|
2149
|
+
l.ElementEnd, l.ElementStart, l.Element, l.ContainerEnd, l.ContainerStart, l.Container, l.I18nEnd, l.I18nStart, l.I18n;
|
|
2150
|
+
l.Pipe;
|
|
2264
2151
|
yi = {};
|
|
2265
2152
|
yi.ngsp = "";
|
|
2266
2153
|
(function(t) {
|
|
@@ -2762,7 +2649,7 @@ var init_angular = __esmMin((() => {
|
|
|
2762
2649
|
(function(t) {
|
|
2763
2650
|
t[t.None = 0] = "None", t[t.Writable = 1] = "Writable";
|
|
2764
2651
|
})(se || (se = {}));
|
|
2765
|
-
ps = new Set([
|
|
2652
|
+
ps = /* @__PURE__ */ new Set([
|
|
2766
2653
|
"d",
|
|
2767
2654
|
"g",
|
|
2768
2655
|
"i",
|
|
@@ -3388,95 +3275,18 @@ var init_angular = __esmMin((() => {
|
|
|
3388
3275
|
new he(new Le());
|
|
3389
3276
|
l.StyleMap, l.ClassMap, l.StyleProp, l.ClassProp, l.Attribute, l.Property, l.Attribute, l.Control;
|
|
3390
3277
|
l.DomProperty, l.DomProperty, l.Attribute, l.StyleMap, l.ClassMap, l.StyleProp, l.ClassProp;
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
l.TwoWayListener,
|
|
3394
|
-
l.AnimationListener,
|
|
3395
|
-
l.StyleMap,
|
|
3396
|
-
l.ClassMap,
|
|
3397
|
-
l.StyleProp,
|
|
3398
|
-
l.ClassProp,
|
|
3399
|
-
l.Property,
|
|
3400
|
-
l.TwoWayProperty,
|
|
3401
|
-
l.DomProperty,
|
|
3402
|
-
l.Attribute,
|
|
3403
|
-
l.Animation,
|
|
3404
|
-
l.Control
|
|
3405
|
-
]);
|
|
3406
|
-
new Map([
|
|
3407
|
-
[$.Idle, {
|
|
3408
|
-
none: c.deferOnIdle,
|
|
3409
|
-
prefetch: c.deferPrefetchOnIdle,
|
|
3410
|
-
hydrate: c.deferHydrateOnIdle
|
|
3411
|
-
}],
|
|
3412
|
-
[$.Immediate, {
|
|
3413
|
-
none: c.deferOnImmediate,
|
|
3414
|
-
prefetch: c.deferPrefetchOnImmediate,
|
|
3415
|
-
hydrate: c.deferHydrateOnImmediate
|
|
3416
|
-
}],
|
|
3417
|
-
[$.Timer, {
|
|
3418
|
-
none: c.deferOnTimer,
|
|
3419
|
-
prefetch: c.deferPrefetchOnTimer,
|
|
3420
|
-
hydrate: c.deferHydrateOnTimer
|
|
3421
|
-
}],
|
|
3422
|
-
[$.Hover, {
|
|
3423
|
-
none: c.deferOnHover,
|
|
3424
|
-
prefetch: c.deferPrefetchOnHover,
|
|
3425
|
-
hydrate: c.deferHydrateOnHover
|
|
3426
|
-
}],
|
|
3427
|
-
[$.Interaction, {
|
|
3428
|
-
none: c.deferOnInteraction,
|
|
3429
|
-
prefetch: c.deferPrefetchOnInteraction,
|
|
3430
|
-
hydrate: c.deferHydrateOnInteraction
|
|
3431
|
-
}],
|
|
3432
|
-
[$.Viewport, {
|
|
3433
|
-
none: c.deferOnViewport,
|
|
3434
|
-
prefetch: c.deferPrefetchOnViewport,
|
|
3435
|
-
hydrate: c.deferHydrateOnViewport
|
|
3436
|
-
}],
|
|
3437
|
-
[$.Never, {
|
|
3438
|
-
none: c.deferHydrateNever,
|
|
3439
|
-
prefetch: c.deferHydrateNever,
|
|
3440
|
-
hydrate: c.deferHydrateNever
|
|
3441
|
-
}]
|
|
3442
|
-
]);
|
|
3278
|
+
l.Listener, l.TwoWayListener, l.AnimationListener, l.StyleMap, l.ClassMap, l.StyleProp, l.ClassProp, l.Property, l.TwoWayProperty, l.DomProperty, l.Attribute, l.Animation, l.Control;
|
|
3279
|
+
$.Idle, c.deferOnIdle, c.deferPrefetchOnIdle, c.deferHydrateOnIdle, $.Immediate, c.deferOnImmediate, c.deferPrefetchOnImmediate, c.deferHydrateOnImmediate, $.Timer, c.deferOnTimer, c.deferPrefetchOnTimer, c.deferHydrateOnTimer, $.Hover, c.deferOnHover, c.deferPrefetchOnHover, c.deferHydrateOnHover, $.Interaction, c.deferOnInteraction, c.deferPrefetchOnInteraction, c.deferHydrateOnInteraction, $.Viewport, c.deferOnViewport, c.deferPrefetchOnViewport, c.deferHydrateOnViewport, $.Never, c.deferHydrateNever, c.deferHydrateNever, c.deferHydrateNever;
|
|
3443
3280
|
c.pipeBind1, c.pipeBind2, c.pipeBind3, c.pipeBind4;
|
|
3444
3281
|
c.interpolate, c.interpolate1, c.interpolate2, c.interpolate3, c.interpolate4, c.interpolate5, c.interpolate6, c.interpolate7, c.interpolate8, c.interpolateV;
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
["body", c.resolveBody]
|
|
3449
|
-
]);
|
|
3450
|
-
new Map([
|
|
3451
|
-
[P.HTML, c.sanitizeHtml],
|
|
3452
|
-
[P.RESOURCE_URL, c.sanitizeResourceUrl],
|
|
3453
|
-
[P.SCRIPT, c.sanitizeScript],
|
|
3454
|
-
[P.STYLE, c.sanitizeStyle],
|
|
3455
|
-
[P.URL, c.sanitizeUrl],
|
|
3456
|
-
[P.ATTRIBUTE_NO_BINDING, c.validateAttribute]
|
|
3457
|
-
]);
|
|
3458
|
-
new Map([[P.HTML, c.trustConstantHtml], [P.RESOURCE_URL, c.trustConstantResourceUrl]]);
|
|
3282
|
+
c.resolveWindow, c.resolveDocument, c.resolveBody;
|
|
3283
|
+
P.HTML, c.sanitizeHtml, P.RESOURCE_URL, c.sanitizeResourceUrl, P.SCRIPT, c.sanitizeScript, P.STYLE, c.sanitizeStyle, P.URL, c.sanitizeUrl, P.ATTRIBUTE_NO_BINDING, c.validateAttribute;
|
|
3284
|
+
P.HTML, c.trustConstantHtml, P.RESOURCE_URL, c.trustConstantResourceUrl;
|
|
3459
3285
|
(function(t) {
|
|
3460
3286
|
t[t.None = 0] = "None", t[t.ViewContextRead = 1] = "ViewContextRead", t[t.ViewContextWrite = 2] = "ViewContextWrite", t[t.SideEffectful = 4] = "SideEffectful";
|
|
3461
3287
|
})(hs || (hs = {}));
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
l.ContainerStart,
|
|
3465
|
-
l.ContainerEnd,
|
|
3466
|
-
l.Element,
|
|
3467
|
-
l.ElementStart,
|
|
3468
|
-
l.ElementEnd,
|
|
3469
|
-
l.Template
|
|
3470
|
-
]);
|
|
3471
|
-
new Map([
|
|
3472
|
-
[M.Property, R.Property],
|
|
3473
|
-
[M.TwoWay, R.TwoWayProperty],
|
|
3474
|
-
[M.Attribute, R.Attribute],
|
|
3475
|
-
[M.Class, R.ClassName],
|
|
3476
|
-
[M.Style, R.StyleProperty],
|
|
3477
|
-
[M.LegacyAnimation, R.LegacyAnimation],
|
|
3478
|
-
[M.Animation, R.Animation]
|
|
3479
|
-
]);
|
|
3288
|
+
l.Container, l.ContainerStart, l.ContainerEnd, l.Element, l.ElementStart, l.ElementEnd, l.Template;
|
|
3289
|
+
M.Property, R.Property, M.TwoWay, R.TwoWayProperty, M.Attribute, R.Attribute, M.Class, R.ClassName, M.Style, R.StyleProperty, M.LegacyAnimation, R.LegacyAnimation, M.Animation, R.Animation;
|
|
3480
3290
|
(function(t) {
|
|
3481
3291
|
t[t.NG_CONTENT = 0] = "NG_CONTENT", t[t.STYLE = 1] = "STYLE", t[t.STYLESHEET = 2] = "STYLESHEET", t[t.SCRIPT = 3] = "SCRIPT", t[t.OTHER = 4] = "OTHER";
|
|
3482
3292
|
})(fs || (fs = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as __toESM } from "./
|
|
1
|
+
import { o as __toESM } from "./rolldown-runtime-CE-6LUnI.js";
|
|
2
2
|
//#region src-js/libs/apis.ts
|
|
3
3
|
const CACHES = {
|
|
4
4
|
prettier: null,
|
|
@@ -13,7 +13,7 @@ async function loadCached(key, loader) {
|
|
|
13
13
|
}
|
|
14
14
|
async function loadPrettier() {
|
|
15
15
|
return loadCached("prettier", async () => {
|
|
16
|
-
const prettier = await import("./prettier-
|
|
16
|
+
const prettier = await import("./prettier-DKAx5A83.js");
|
|
17
17
|
const { formatOptionsHiddenDefaults } = prettier.__internal;
|
|
18
18
|
formatOptionsHiddenDefaults.parentParser = null;
|
|
19
19
|
formatOptionsHiddenDefaults.__onHtmlRoot = null;
|
|
@@ -84,7 +84,7 @@ async function formatEmbeddedDoc({ texts, options }) {
|
|
|
84
84
|
* Option mapping (sortTailwindcss.xxx → tailwindXxx) is also done in Rust side.
|
|
85
85
|
*/
|
|
86
86
|
async function setupTailwindPlugin(options) {
|
|
87
|
-
CACHES.tailwindPlugin ??= await loadCached("tailwindPlugin", () => import("./dist-
|
|
87
|
+
CACHES.tailwindPlugin ??= await loadCached("tailwindPlugin", () => import("./dist-BMp5jzRv.js"));
|
|
88
88
|
options.plugins ??= [];
|
|
89
89
|
options.plugins.push(CACHES.tailwindPlugin);
|
|
90
90
|
}
|
|
@@ -94,7 +94,7 @@ async function setupTailwindPlugin(options) {
|
|
|
94
94
|
* @returns Array of sorted class strings (same order/length as input)
|
|
95
95
|
*/
|
|
96
96
|
async function sortTailwindClasses({ classes, options }) {
|
|
97
|
-
CACHES.tailwindSorter ??= await loadCached("tailwindSorter", () => import("./sorter-
|
|
97
|
+
CACHES.tailwindSorter ??= await loadCached("tailwindSorter", () => import("./sorter-DK1aMCjs.js"));
|
|
98
98
|
const { createSorter } = CACHES.tailwindSorter;
|
|
99
99
|
return (await createSorter({
|
|
100
100
|
filepath: options.filepath,
|
|
@@ -108,7 +108,7 @@ async function sortTailwindClasses({ classes, options }) {
|
|
|
108
108
|
* Load prettier-plugin-svelte to provide the `svelte` parser.
|
|
109
109
|
*/
|
|
110
110
|
async function setupSveltePlugin(options) {
|
|
111
|
-
CACHES.sveltePlugin ??= await loadCached("sveltePlugin", async () => await import("./plugin-
|
|
111
|
+
CACHES.sveltePlugin ??= await loadCached("sveltePlugin", async () => await import("./plugin-CYEM2898.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)));
|
|
112
112
|
options.plugins ??= [];
|
|
113
113
|
options.plugins.push(CACHES.sveltePlugin);
|
|
114
114
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __esmMin, r as __exportAll } from "./
|
|
2
|
-
//#region ../../node_modules/.pnpm/prettier@3.8.
|
|
1
|
+
import { n as __esmMin, r as __exportAll } from "./rolldown-runtime-CE-6LUnI.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/plugins/babel.mjs
|
|
3
3
|
var babel_exports = /* @__PURE__ */ __exportAll({
|
|
4
4
|
default: () => Ks,
|
|
5
5
|
parsers: () => ra
|
|
@@ -1268,7 +1268,7 @@ var init_babel = __esmMin((() => {
|
|
|
1268
1268
|
}, Ys = {
|
|
1269
1269
|
ParseExpressionEmptyInput: "Unexpected parseExpression() input: The input is empty or contains only comments.",
|
|
1270
1270
|
ParseExpressionExpectsEOF: ({ unexpected: a }) => `Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(a)}\`.`
|
|
1271
|
-
}, Qs = new Set([
|
|
1271
|
+
}, Qs = /* @__PURE__ */ new Set([
|
|
1272
1272
|
"ArrowFunctionExpression",
|
|
1273
1273
|
"AssignmentExpression",
|
|
1274
1274
|
"ConditionalExpression",
|
|
@@ -2768,7 +2768,7 @@ var init_babel = __esmMin((() => {
|
|
|
2768
2768
|
],
|
|
2769
2769
|
strictBind: ["eval", "arguments"]
|
|
2770
2770
|
}, bi = new Set(At.keyword), Ai = new Set(At.strict), Si = new Set(At.strictBind);
|
|
2771
|
-
Ei = new Set([
|
|
2771
|
+
Ei = /* @__PURE__ */ new Set([
|
|
2772
2772
|
"break",
|
|
2773
2773
|
"case",
|
|
2774
2774
|
"catch",
|
|
@@ -2948,7 +2948,7 @@ var init_babel = __esmMin((() => {
|
|
|
2948
2948
|
checkLocalExport(t) {
|
|
2949
2949
|
this.scopeStack[0].declareFunctions.has(t.name) || super.checkLocalExport(t);
|
|
2950
2950
|
}
|
|
2951
|
-
}, Ni = new Set([
|
|
2951
|
+
}, Ni = /* @__PURE__ */ new Set([
|
|
2952
2952
|
"_",
|
|
2953
2953
|
"any",
|
|
2954
2954
|
"bool",
|
|
@@ -4627,7 +4627,7 @@ var init_babel = __esmMin((() => {
|
|
|
4627
4627
|
}, Ui = function(t) {
|
|
4628
4628
|
return t >= 48 && t <= 57;
|
|
4629
4629
|
}, _t = {
|
|
4630
|
-
decBinOct: new Set([
|
|
4630
|
+
decBinOct: /* @__PURE__ */ new Set([
|
|
4631
4631
|
46,
|
|
4632
4632
|
66,
|
|
4633
4633
|
69,
|
|
@@ -4637,7 +4637,7 @@ var init_babel = __esmMin((() => {
|
|
|
4637
4637
|
101,
|
|
4638
4638
|
111
|
|
4639
4639
|
]),
|
|
4640
|
-
hex: new Set([
|
|
4640
|
+
hex: /* @__PURE__ */ new Set([
|
|
4641
4641
|
46,
|
|
4642
4642
|
88,
|
|
4643
4643
|
95,
|
|
@@ -4649,7 +4649,7 @@ var init_babel = __esmMin((() => {
|
|
|
4649
4649
|
dec: (a) => a >= 48 && a <= 57,
|
|
4650
4650
|
hex: (a) => a >= 48 && a <= 57 || a >= 65 && a <= 70 || a >= 97 && a <= 102
|
|
4651
4651
|
};
|
|
4652
|
-
Vi = new Set([
|
|
4652
|
+
Vi = /* @__PURE__ */ new Set([
|
|
4653
4653
|
103,
|
|
4654
4654
|
109,
|
|
4655
4655
|
115,
|
|
@@ -9811,7 +9811,7 @@ var init_babel = __esmMin((() => {
|
|
|
9811
9811
|
...t,
|
|
9812
9812
|
plugins: [...t.plugins, ...a]
|
|
9813
9813
|
}), zr = /@(?:no)?flow\b/u;
|
|
9814
|
-
Hr = new Set([
|
|
9814
|
+
Hr = /* @__PURE__ */ new Set([
|
|
9815
9815
|
"StrictNumericEscape",
|
|
9816
9816
|
"StrictWith",
|
|
9817
9817
|
"StrictOctalLiteral",
|