@shell-shock/preset-cli 0.9.20 → 0.9.23

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.
Files changed (53) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +29 -1
  2. package/dist/components/banner-builtin.cjs +92 -5
  3. package/dist/components/banner-builtin.d.cts +2 -3
  4. package/dist/components/banner-builtin.d.cts.map +1 -1
  5. package/dist/components/banner-builtin.d.mts +3 -4
  6. package/dist/components/banner-builtin.d.mts.map +1 -1
  7. package/dist/components/banner-builtin.mjs +90 -5
  8. package/dist/components/banner-builtin.mjs.map +1 -1
  9. package/dist/components/command-entry.cjs +358 -56
  10. package/dist/components/command-entry.d.cts +1 -2
  11. package/dist/components/command-entry.d.cts.map +1 -1
  12. package/dist/components/command-entry.d.mts +1 -2
  13. package/dist/components/command-entry.d.mts.map +1 -1
  14. package/dist/components/command-entry.mjs +355 -56
  15. package/dist/components/command-entry.mjs.map +1 -1
  16. package/dist/components/command-router.cjs +59 -4
  17. package/dist/components/command-router.d.cts +2 -3
  18. package/dist/components/command-router.d.cts.map +1 -1
  19. package/dist/components/command-router.d.mts +3 -4
  20. package/dist/components/command-router.d.mts.map +1 -1
  21. package/dist/components/command-router.mjs +57 -4
  22. package/dist/components/command-router.mjs.map +1 -1
  23. package/dist/components/index.cjs +15 -1
  24. package/dist/components/index.mjs +7 -1
  25. package/dist/components/upgrade-builtin.cjs +134 -14
  26. package/dist/components/upgrade-builtin.d.cts +2 -3
  27. package/dist/components/upgrade-builtin.d.cts.map +1 -1
  28. package/dist/components/upgrade-builtin.d.mts +2 -3
  29. package/dist/components/upgrade-builtin.d.mts.map +1 -1
  30. package/dist/components/upgrade-builtin.mjs +132 -14
  31. package/dist/components/upgrade-builtin.mjs.map +1 -1
  32. package/dist/components/virtual-command-entry.cjs +116 -1
  33. package/dist/components/virtual-command-entry.d.cts +1 -2
  34. package/dist/components/virtual-command-entry.d.cts.map +1 -1
  35. package/dist/components/virtual-command-entry.d.mts +1 -2
  36. package/dist/components/virtual-command-entry.d.mts.map +1 -1
  37. package/dist/components/virtual-command-entry.mjs +113 -1
  38. package/dist/components/virtual-command-entry.mjs.map +1 -1
  39. package/dist/helpers/get-global-options.cjs +37 -1
  40. package/dist/helpers/get-global-options.mjs +37 -1
  41. package/dist/helpers/get-global-options.mjs.map +1 -1
  42. package/dist/index.cjs +185 -1
  43. package/dist/index.d.cts.map +1 -1
  44. package/dist/index.d.mts.map +1 -1
  45. package/dist/index.mjs +175 -1
  46. package/dist/index.mjs.map +1 -1
  47. package/dist/types/index.mjs +1 -1
  48. package/dist/types/plugin.d.cts +11 -3
  49. package/dist/types/plugin.d.cts.map +1 -1
  50. package/dist/types/plugin.d.mts +12 -4
  51. package/dist/types/plugin.d.mts.map +1 -1
  52. package/dist/types/plugin.mjs +1 -1
  53. package/package.json +24 -23
@@ -1,8 +1,49 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../_virtual/_rolldown/runtime.cjs`);let e=require(`@alloy-js/core/jsx-runtime`),t=require(`@alloy-js/core`),n=require(`@alloy-js/typescript`),r=require(`@shell-shock/core/plugin-utils`),i=require(`@powerlines/plugin-alloy/core/components/spacing`),a=require(`@powerlines/plugin-alloy/core/contexts/context`),o=require(`@shell-shock/preset-script/components`);function s(n){let{commands:i}=n,o=(0,a.usePowerlines)();return(0,e.createComponent)(t.For,{get each(){return Object.values(i??{})},joiner:`,`,hardline:!0,children:n=>n.isVirtual?(0,e.createComponent)(s,{get commands(){return n.children??{}}}):t.code`{ value: [${n.segments.map(e=>`"${e}"`).join(`, `)}], label: "${n.title}", description: \`(${(0,r.getAppBin)(o)} ${n.segments.join(` `)})\`${n.icon?`, icon: "${n.icon.trim()}"`:``} }`})}function c(r){let{segments:a,commands:c}=r;return[(0,e.createComponent)(o.CommandRouter,(0,e.mergeProps)(r,{segments:a,commands:c})),(0,e.createComponent)(i.Spacing,{}),(0,e.createComponent)(n.IfStatement,{condition:t.code`isInteractive && !isHelp()`,get children(){return[t.code`await showBanner();
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
3
+ let _alloy_js_core = require("@alloy-js/core");
4
+ let _alloy_js_typescript = require("@alloy-js/typescript");
5
+ let _shell_shock_core_plugin_utils = require("@shell-shock/core/plugin-utils");
6
+ let _powerlines_plugin_alloy_core_components_spacing = require("@powerlines/plugin-alloy/core/components/spacing");
7
+ let _powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
8
+ let _shell_shock_preset_script_components = require("@shell-shock/preset-script/components");
9
+
10
+ //#region src/components/command-router.tsx
11
+ function CommandRouterSelectOptions(props) {
12
+ const { commands } = props;
13
+ const context = (0, _powerlines_plugin_alloy_core_contexts_context.usePowerlines)();
14
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
15
+ get each() {
16
+ return Object.values(commands ?? {});
17
+ },
18
+ joiner: ",",
19
+ hardline: true,
20
+ children: (command) => command.virtual ? (0, _alloy_js_core_jsx_runtime.createComponent)(CommandRouterSelectOptions, { get commands() {
21
+ return command.children ?? {};
22
+ } }) : _alloy_js_core.code`{ value: [${command.segments.map((segment) => `"${segment}"`).join(", ")}], label: "${command.title}", description: \`(${(0, _shell_shock_core_plugin_utils.getAppBin)(context)} ${command.segments.join(" ")})\`${command.icon ? `, icon: "${command.icon.trim()}"` : ""} }`
23
+ });
24
+ }
25
+ /**
26
+ * A component that renders a command router interface, allowing users to select and execute commands from a provided list of commands and segments. This component serves as a wrapper around the base CommandRouter, adding additional UI elements and logic for command selection.
27
+ */
28
+ function CommandRouter(props) {
29
+ const { segments, commands } = props;
30
+ return [
31
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_shell_shock_preset_script_components.CommandRouter, (0, _alloy_js_core_jsx_runtime.mergeProps)(props, {
32
+ segments,
33
+ commands
34
+ })),
35
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
36
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.IfStatement, {
37
+ condition: _alloy_js_core.code`isInteractive && !isHelp()`,
38
+ get children() {
39
+ return [
40
+ _alloy_js_core.code`await showBanner();
2
41
 
3
42
  let segments = await select({
4
43
  message: "Which command would you like to execute?",
5
- options: [ `,(0,e.createComponent)(s,{commands:c}),(0,e.memo)(()=>` ],
44
+ options: [ `,
45
+ (0, _alloy_js_core_jsx_runtime.createComponent)(CommandRouterSelectOptions, { commands }),
46
+ (0, _alloy_js_core_jsx_runtime.memo)(() => ` ],
6
47
  });
7
48
  if (isCancel(segments)) {
8
49
  return;
@@ -22,8 +63,22 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../_
22
63
  segments = segments.map(segment => dynamics[segment] || segment);
23
64
  const context = useGlobal();
24
65
  if (context) {
25
- context.inputArgs = [args.length > 0 ? args[0] : undefined, args.length > 1 ? args[1] : undefined, ...segments, ...args.slice(${a.length+2})].filter(Boolean) as string[];
66
+ context.inputArgs = [args.length > 0 ? args[0] : undefined, args.length > 1 ? args[1] : undefined, ...segments, ...args.slice(${segments.length + 2})].filter(Boolean) as string[];
26
67
  }
27
68
 
28
69
  command = segments[0];
29
- args = context.inputArgs; `),(0,e.createComponent)(o.CommandRouterBody,(0,e.mergeProps)(r,{segments:a,commands:c}))]}}),(0,e.createComponent)(i.Spacing,{})]}exports.CommandRouter=c,exports.CommandRouterSelectOptions=s;
70
+ args = context.inputArgs; `),
71
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_shell_shock_preset_script_components.CommandRouterBody, (0, _alloy_js_core_jsx_runtime.mergeProps)(props, {
72
+ segments,
73
+ commands
74
+ }))
75
+ ];
76
+ }
77
+ }),
78
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {})
79
+ ];
80
+ }
81
+
82
+ //#endregion
83
+ exports.CommandRouter = CommandRouter;
84
+ exports.CommandRouterSelectOptions = CommandRouterSelectOptions;
@@ -1,4 +1,3 @@
1
- import * as _$_alloy_js_core0 from "@alloy-js/core";
2
1
  import { CommandTree } from "@shell-shock/core";
3
2
  import { CommandRouterProps } from "@shell-shock/preset-script/components";
4
3
 
@@ -6,11 +5,11 @@ import { CommandRouterProps } from "@shell-shock/preset-script/components";
6
5
  interface CommandRouterSelectOptionsProps {
7
6
  commands?: Record<string, CommandTree>;
8
7
  }
9
- declare function CommandRouterSelectOptions(props: CommandRouterSelectOptionsProps): _$_alloy_js_core0.Children;
8
+ declare function CommandRouterSelectOptions(props: CommandRouterSelectOptionsProps): import("@alloy-js/core").Children;
10
9
  /**
11
10
  * A component that renders a command router interface, allowing users to select and execute commands from a provided list of commands and segments. This component serves as a wrapper around the base CommandRouter, adding additional UI elements and logic for command selection.
12
11
  */
13
- declare function CommandRouter(props: CommandRouterProps): _$_alloy_js_core0.Children;
12
+ declare function CommandRouter(props: CommandRouterProps): import("@alloy-js/core").Children;
14
13
  //#endregion
15
14
  export { CommandRouter, CommandRouterSelectOptions, CommandRouterSelectOptionsProps };
16
15
  //# sourceMappingURL=command-router.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"command-router.d.cts","names":[],"sources":["../../src/components/command-router.tsx"],"mappings":";;;;;UA+BiB,+BAAA;EACf,QAAA,GAAW,MAAA,SAAe,WAAA;AAAA;AAAA,iBAGZ,0BAAA,CACd,KAAA,EAAO,+BAAA,GAA+B,iBAAA,CAAA,QAAA;;;;iBA8BxB,aAAA,CAAc,KAAA,EAAO,kBAAA,GAAkB,iBAAA,CAAA,QAAA"}
1
+ {"version":3,"file":"command-router.d.cts","names":[],"sources":["../../src/components/command-router.tsx"],"mappings":";;;;UA+BiB,+BAAA;EACf,QAAA,GAAW,MAAM,SAAS,WAAA;AAAA;AAAA,iBAGZ,0BAAA,CACd,KAAA,EAAO,+BAA+B,4BAAA,QAAA;;;;iBA8BxB,aAAA,CAAc,KAAA,EAAO,kBAAkB,4BAAA,QAAA"}
@@ -1,16 +1,15 @@
1
- import * as _$_alloy_js_core0 from "@alloy-js/core";
2
- import { CommandTree } from "@shell-shock/core";
3
1
  import { CommandRouterProps } from "@shell-shock/preset-script/components";
2
+ import { CommandTree } from "@shell-shock/core";
4
3
 
5
4
  //#region src/components/command-router.d.ts
6
5
  interface CommandRouterSelectOptionsProps {
7
6
  commands?: Record<string, CommandTree>;
8
7
  }
9
- declare function CommandRouterSelectOptions(props: CommandRouterSelectOptionsProps): _$_alloy_js_core0.Children;
8
+ declare function CommandRouterSelectOptions(props: CommandRouterSelectOptionsProps): import("@alloy-js/core").Children;
10
9
  /**
11
10
  * A component that renders a command router interface, allowing users to select and execute commands from a provided list of commands and segments. This component serves as a wrapper around the base CommandRouter, adding additional UI elements and logic for command selection.
12
11
  */
13
- declare function CommandRouter(props: CommandRouterProps): _$_alloy_js_core0.Children;
12
+ declare function CommandRouter(props: CommandRouterProps): import("@alloy-js/core").Children;
14
13
  //#endregion
15
14
  export { CommandRouter, CommandRouterSelectOptions, CommandRouterSelectOptionsProps };
16
15
  //# sourceMappingURL=command-router.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"command-router.d.mts","names":[],"sources":["../../src/components/command-router.tsx"],"mappings":";;;;;UA+BiB,+BAAA;EACf,QAAA,GAAW,MAAA,SAAe,WAAA;AAAA;AAAA,iBAGZ,0BAAA,CACd,KAAA,EAAO,+BAAA,GAA+B,iBAAA,CAAA,QAAA;;;;iBA8BxB,aAAA,CAAc,KAAA,EAAO,kBAAA,GAAkB,iBAAA,CAAA,QAAA"}
1
+ {"version":3,"file":"command-router.d.mts","names":[],"sources":["../../src/components/command-router.tsx"],"mappings":""}
@@ -1,8 +1,48 @@
1
- import{createComponent as e,memo as t,mergeProps as n}from"@alloy-js/core/jsx-runtime";import{For as r,code as i}from"@alloy-js/core";import{IfStatement as a}from"@alloy-js/typescript";import{getAppBin as o}from"@shell-shock/core/plugin-utils";import{Spacing as s}from"@powerlines/plugin-alloy/core/components/spacing";import{usePowerlines as c}from"@powerlines/plugin-alloy/core/contexts/context";import{CommandRouter as l,CommandRouterBody as u}from"@shell-shock/preset-script/components";function d(t){let{commands:n}=t,a=c();return e(r,{get each(){return Object.values(n??{})},joiner:`,`,hardline:!0,children:t=>t.isVirtual?e(d,{get commands(){return t.children??{}}}):i`{ value: [${t.segments.map(e=>`"${e}"`).join(`, `)}], label: "${t.title}", description: \`(${o(a)} ${t.segments.join(` `)})\`${t.icon?`, icon: "${t.icon.trim()}"`:``} }`})}function f(r){let{segments:o,commands:c}=r;return[e(l,n(r,{segments:o,commands:c})),e(s,{}),e(a,{condition:i`isInteractive && !isHelp()`,get children(){return[i`await showBanner();
1
+ import { createComponent, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
2
+ import { For, code } from "@alloy-js/core";
3
+ import { IfStatement } from "@alloy-js/typescript";
4
+ import { getAppBin } from "@shell-shock/core/plugin-utils";
5
+ import { Spacing } from "@powerlines/plugin-alloy/core/components/spacing";
6
+ import { usePowerlines } from "@powerlines/plugin-alloy/core/contexts/context";
7
+ import { CommandRouter as CommandRouter$1, CommandRouterBody } from "@shell-shock/preset-script/components";
8
+
9
+ //#region src/components/command-router.tsx
10
+ function CommandRouterSelectOptions(props) {
11
+ const { commands } = props;
12
+ const context = usePowerlines();
13
+ return createComponent(For, {
14
+ get each() {
15
+ return Object.values(commands ?? {});
16
+ },
17
+ joiner: ",",
18
+ hardline: true,
19
+ children: (command) => command.virtual ? createComponent(CommandRouterSelectOptions, { get commands() {
20
+ return command.children ?? {};
21
+ } }) : code`{ value: [${command.segments.map((segment) => `"${segment}"`).join(", ")}], label: "${command.title}", description: \`(${getAppBin(context)} ${command.segments.join(" ")})\`${command.icon ? `, icon: "${command.icon.trim()}"` : ""} }`
22
+ });
23
+ }
24
+ /**
25
+ * A component that renders a command router interface, allowing users to select and execute commands from a provided list of commands and segments. This component serves as a wrapper around the base CommandRouter, adding additional UI elements and logic for command selection.
26
+ */
27
+ function CommandRouter(props) {
28
+ const { segments, commands } = props;
29
+ return [
30
+ createComponent(CommandRouter$1, mergeProps(props, {
31
+ segments,
32
+ commands
33
+ })),
34
+ createComponent(Spacing, {}),
35
+ createComponent(IfStatement, {
36
+ condition: code`isInteractive && !isHelp()`,
37
+ get children() {
38
+ return [
39
+ code`await showBanner();
2
40
 
3
41
  let segments = await select({
4
42
  message: "Which command would you like to execute?",
5
- options: [ `,e(d,{commands:c}),t(()=>` ],
43
+ options: [ `,
44
+ createComponent(CommandRouterSelectOptions, { commands }),
45
+ memo(() => ` ],
6
46
  });
7
47
  if (isCancel(segments)) {
8
48
  return;
@@ -22,9 +62,22 @@ import{createComponent as e,memo as t,mergeProps as n}from"@alloy-js/core/jsx-ru
22
62
  segments = segments.map(segment => dynamics[segment] || segment);
23
63
  const context = useGlobal();
24
64
  if (context) {
25
- context.inputArgs = [args.length > 0 ? args[0] : undefined, args.length > 1 ? args[1] : undefined, ...segments, ...args.slice(${o.length+2})].filter(Boolean) as string[];
65
+ context.inputArgs = [args.length > 0 ? args[0] : undefined, args.length > 1 ? args[1] : undefined, ...segments, ...args.slice(${segments.length + 2})].filter(Boolean) as string[];
26
66
  }
27
67
 
28
68
  command = segments[0];
29
- args = context.inputArgs; `),e(u,n(r,{segments:o,commands:c}))]}}),e(s,{})]}export{f as CommandRouter,d as CommandRouterSelectOptions};
69
+ args = context.inputArgs; `),
70
+ createComponent(CommandRouterBody, mergeProps(props, {
71
+ segments,
72
+ commands
73
+ }))
74
+ ];
75
+ }
76
+ }),
77
+ createComponent(Spacing, {})
78
+ ];
79
+ }
80
+
81
+ //#endregion
82
+ export { CommandRouter, CommandRouterSelectOptions };
30
83
  //# sourceMappingURL=command-router.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"command-router.mjs","names":[],"sources":["../../src/components/command-router.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { code, For } from \"@alloy-js/core\";\nimport { IfStatement } from \"@alloy-js/typescript\";\nimport { Spacing } from \"@powerlines/plugin-alloy/core/components/spacing\";\nimport { usePowerlines } from \"@powerlines/plugin-alloy/core/contexts/context\";\nimport type { CommandTree } from \"@shell-shock/core\";\nimport { getAppBin } from \"@shell-shock/core/plugin-utils\";\nimport type { CommandRouterProps } from \"@shell-shock/preset-script/components\";\nimport {\n CommandRouter as BaseCommandRouter,\n CommandRouterBody\n} from \"@shell-shock/preset-script/components\";\nimport type { CLIPresetContext } from \"../types\";\n\nexport interface CommandRouterSelectOptionsProps {\n commands?: Record<string, CommandTree>;\n}\n\nexport function CommandRouterSelectOptions(\n props: CommandRouterSelectOptionsProps\n) {\n const { commands } = props;\n\n const context = usePowerlines<CLIPresetContext>();\n\n return (\n <For each={Object.values(commands ?? {})} joiner=\",\" hardline>\n {command =>\n command.isVirtual ? (\n <CommandRouterSelectOptions commands={command.children ?? {}} />\n ) : (\n code`{ value: [${command.segments\n .map(segment => `\"${segment}\"`)\n .join(\n \", \"\n )}], label: \"${command.title}\", description: \\`(${getAppBin(\n context\n )} ${command.segments.join(\" \")})\\`${\n command.icon ? `, icon: \"${command.icon.trim()}\"` : \"\"\n } }`\n )\n }\n </For>\n );\n}\n\n/**\n * A component that renders a command router interface, allowing users to select and execute commands from a provided list of commands and segments. This component serves as a wrapper around the base CommandRouter, adding additional UI elements and logic for command selection.\n */\nexport function CommandRouter(props: CommandRouterProps) {\n const { segments, commands } = props;\n\n return (\n <>\n <BaseCommandRouter {...props} segments={segments} commands={commands} />\n <Spacing />\n <IfStatement condition={code`isInteractive && !isHelp()`}>\n {code`await showBanner();\n\n let segments = await select({\n message: \"Which command would you like to execute?\",\n options: [ `}\n <CommandRouterSelectOptions commands={commands} />\n {` ],\n });\n if (isCancel(segments)) {\n return;\n }\n\n let dynamics = {} as Record<string, string>;\n for (const dynamic of segments.filter(segment => segment.startsWith(\"[\") && segment.endsWith(\"]\"))) {\n const value = await text({\n message: \\`Please provide a value for \\${dynamic.replace(/^\\[+/, \"\").replace(/\\]+$/, \"\")}:\\`,\n });\n if (isCancel(value)) {\n return;\n }\n dynamics[dynamic] = value;\n }\n\n segments = segments.map(segment => dynamics[segment] || segment);\n const context = useGlobal();\n if (context) {\n context.inputArgs = [args.length > 0 ? args[0] : undefined, args.length > 1 ? args[1] : undefined, ...segments, ...args.slice(${\n segments.length + 2\n })].filter(Boolean) as string[];\n }\n\n command = segments[0];\n args = context.inputArgs; `}\n <CommandRouterBody {...props} segments={segments} commands={commands} />\n </IfStatement>\n <Spacing />\n </>\n );\n}\n"],"mappings":"2eAyBA,SAAO,EAAA,EAAA,CACL,GAAA,CACA,YACI,EACC,EAAO,GAAmB,aAEjC,IAAO,MAAA,CACL,OAAW,OAAO,OAAO,GAAY,EAAC,CAAA,aAGxC,SAAO,GACL,SAAO,GAAA,EAAA,UAAA,EAAA,EAAA,CACP,IAAA,UAAA,CACM,OAAE,EAAa,UAAK,EAAA,EAE1B,CAAA,CAAM,CAAA,aAAU,EAAc,SAAA,IAAA,GAAmB,IAAA,EAAA,GAAA,CAAA,KAAA,KAAA,CAAA,aAAA,EAAA,MAAA,qBAAA,EAAA,EAAA,CAAA,GAAA,EAAA,SAAA,KAAA,IAAA,CAAA,KAAA,EAAA,KAAA,YAAA,EAAA,KAAA,MAAA,CAAA,GAAA,GAAA,MAOnD,SAAY,EAAA,EAAA,CACV,GAAM,CACJ,WACA,YACE,EACJ,MAAO,CAAC,EAAiB,EAAiB,EAAgB,EAAE,CAClD,WACE,WACX,CAAC,CAAC,CAAE,EAAkB,EAAS,EAAE,CAAC,CAAE,EAAkB,EAAQ,CAC7D,UAAS,CAAA,6BACT,IAAI,UAAA,CACF,MAAA,CAAA,CAAA;;;;4BAKJ,WACG,CAAA,CAAA,MAAe;;;;;;;;;;;;;;;;;;;;0IAoBZ,EAAA,OAAA,EAAA;;;;oCAI2B,CAAA,EAAA,EAAA,EAAA,EAAA,CACvB,WACA,WACL,CAAC,CAAC,CAAC,EAEP,CAAC,CAAE,EAAI,EAAA,EAAA,CAAA,CAAA"}
1
+ {"version":3,"file":"command-router.mjs","names":[],"sources":[],"mappings":""}
@@ -1 +1,15 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./banner-builtin.cjs`),t=require(`./command-router.cjs`),n=require(`./virtual-command-entry.cjs`),r=require(`./command-entry.cjs`),i=require(`./upgrade-builtin.cjs`);exports.BannerBuiltin=e.BannerBuiltin,exports.BannerFunctionBodyDeclaration=e.BannerFunctionBodyDeclaration,exports.CommandEntry=r.CommandEntry,exports.CommandRouter=t.CommandRouter,exports.CommandRouterSelectOptions=t.CommandRouterSelectOptions,exports.ExecuteUpgradeFunctionDeclaration=i.ExecuteUpgradeFunctionDeclaration,exports.UpgradeBuiltin=i.UpgradeBuiltin,exports.VirtualCommandEntry=n.VirtualCommandEntry;
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_components_banner_builtin = require('./banner-builtin.cjs');
3
+ const require_components_command_router = require('./command-router.cjs');
4
+ const require_components_virtual_command_entry = require('./virtual-command-entry.cjs');
5
+ const require_components_command_entry = require('./command-entry.cjs');
6
+ const require_components_upgrade_builtin = require('./upgrade-builtin.cjs');
7
+
8
+ exports.BannerBuiltin = require_components_banner_builtin.BannerBuiltin;
9
+ exports.BannerFunctionBodyDeclaration = require_components_banner_builtin.BannerFunctionBodyDeclaration;
10
+ exports.CommandEntry = require_components_command_entry.CommandEntry;
11
+ exports.CommandRouter = require_components_command_router.CommandRouter;
12
+ exports.CommandRouterSelectOptions = require_components_command_router.CommandRouterSelectOptions;
13
+ exports.ExecuteUpgradeFunctionDeclaration = require_components_upgrade_builtin.ExecuteUpgradeFunctionDeclaration;
14
+ exports.UpgradeBuiltin = require_components_upgrade_builtin.UpgradeBuiltin;
15
+ exports.VirtualCommandEntry = require_components_virtual_command_entry.VirtualCommandEntry;
@@ -1 +1,7 @@
1
- import{BannerBuiltin as e,BannerFunctionBodyDeclaration as t}from"./banner-builtin.mjs";import{CommandRouter as n,CommandRouterSelectOptions as r}from"./command-router.mjs";import{VirtualCommandEntry as i}from"./virtual-command-entry.mjs";import{CommandEntry as a}from"./command-entry.mjs";import{ExecuteUpgradeFunctionDeclaration as o,UpgradeBuiltin as s}from"./upgrade-builtin.mjs";export{e as BannerBuiltin,t as BannerFunctionBodyDeclaration,a as CommandEntry,n as CommandRouter,r as CommandRouterSelectOptions,o as ExecuteUpgradeFunctionDeclaration,s as UpgradeBuiltin,i as VirtualCommandEntry};
1
+ import { BannerBuiltin, BannerFunctionBodyDeclaration } from "./banner-builtin.mjs";
2
+ import { CommandRouter, CommandRouterSelectOptions } from "./command-router.mjs";
3
+ import { VirtualCommandEntry } from "./virtual-command-entry.mjs";
4
+ import { CommandEntry } from "./command-entry.mjs";
5
+ import { ExecuteUpgradeFunctionDeclaration, UpgradeBuiltin } from "./upgrade-builtin.mjs";
6
+
7
+ export { BannerBuiltin, BannerFunctionBodyDeclaration, CommandEntry, CommandRouter, CommandRouterSelectOptions, ExecuteUpgradeFunctionDeclaration, UpgradeBuiltin, VirtualCommandEntry };
@@ -1,15 +1,72 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../_virtual/_rolldown/runtime.cjs`);let e=require(`@alloy-js/core/jsx-runtime`),t=require(`@alloy-js/core`),n=require(`@alloy-js/typescript`),r=require(`@shell-shock/core/plugin-utils`),i=require(`@powerlines/plugin-alloy/core/components/spacing`),a=require(`@powerlines/plugin-alloy/core/contexts/context`),o=require(`defu`),s=require(`@shell-shock/plugin-upgrade/components/upgrade-builtin`);function c(){let o=(0,a.usePowerlines)();return(0,e.createComponent)(t.Show,{get when(){return o.config.upgradeType!==!1},get children(){return(0,e.createComponent)(n.FunctionDeclaration,{export:!0,async:!0,name:`executeUpgrade`,get doc(){return`Run upgrade processing for the ${(0,r.getAppTitle)(o,!0)} application.`},get children(){return(0,e.createComponent)(n.IfStatement,{condition:t.code`await isCheckForUpdatesRequired()`,get children(){return[(0,e.createComponent)(n.VarDeclaration,{const:!0,name:`spinner`,initializer:t.code`createSpinner({
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
3
+ let _alloy_js_core = require("@alloy-js/core");
4
+ let _alloy_js_typescript = require("@alloy-js/typescript");
5
+ let _shell_shock_core_plugin_utils = require("@shell-shock/core/plugin-utils");
6
+ let _powerlines_plugin_alloy_core_components_spacing = require("@powerlines/plugin-alloy/core/components/spacing");
7
+ let _powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
8
+ let defu = require("defu");
9
+ let _shell_shock_plugin_upgrade_components_upgrade_builtin = require("@shell-shock/plugin-upgrade/components/upgrade-builtin");
10
+
11
+ //#region src/components/upgrade-builtin.tsx
12
+ /**
13
+ * A component to generate the `executeUpgrade` function in the `shell-shock:upgrade` builtin module.
14
+ */
15
+ function ExecuteUpgradeFunctionDeclaration() {
16
+ const context = (0, _powerlines_plugin_alloy_core_contexts_context.usePowerlines)();
17
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
18
+ get when() {
19
+ return context.config.upgradeType !== false;
20
+ },
21
+ get children() {
22
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.FunctionDeclaration, {
23
+ "export": true,
24
+ async: true,
25
+ name: "executeUpgrade",
26
+ get doc() {
27
+ return `Run upgrade processing for the ${(0, _shell_shock_core_plugin_utils.getAppTitle)(context, true)} application.`;
28
+ },
29
+ get children() {
30
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.IfStatement, {
31
+ condition: _alloy_js_core.code`await isCheckForUpdatesRequired()`,
32
+ get children() {
33
+ return [
34
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.VarDeclaration, {
35
+ "const": true,
36
+ name: "spinner",
37
+ initializer: _alloy_js_core.code`createSpinner({
2
38
  message: "Checking for updates..."
3
- }).start(); `}),(0,e.createComponent)(n.VarDeclaration,{const:!0,name:`result`,initializer:t.code`await checkForUpdates({ force: true }); `}),(0,e.createComponent)(n.IfStatement,{condition:t.code`(result as CheckForUpdatesErrorResult)?.isError`,get children(){return t.code`spinner.error(\`An error occurred while checking for ${(0,r.getAppTitle)(o,!0)} application updates. Please try again later - if the problem persists, please contact support.\`);
4
- debug((result as CheckForUpdatesErrorResult).error); `}}),(0,e.createComponent)(n.ElseIfClause,{condition:t.code`!(result as CheckForUpdatesSuccessResult)?.isUpToDate`,get children(){return(0,e.createComponent)(t.Show,{get when(){return o.config.upgradeType!==!1&&(o.config.upgradeType===`confirm`||o.config.upgradeType===`manual`)},get fallback(){return[(0,e.memo)(()=>t.code`spinner.stop();
5
- info(\`A new version of ${(0,r.getAppTitle)(o,!0)} is available: \${red(\`v\${(result as CheckForUpdatesSuccessResult).currentVersion}\`)} \${textColors.body.tertiary("➜")} \${green(\`v\${(result as CheckForUpdatesSuccessResult).latestVersion}\`)}\${(result as CheckForUpdatesSuccessResult).package?.date ? textColors.body.tertiary(\` (updated on \${(result as CheckForUpdatesSuccessResult).package?.date})\`) : ""}\`);
39
+ }).start(); `
40
+ }),
41
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.VarDeclaration, {
42
+ "const": true,
43
+ name: "result",
44
+ initializer: _alloy_js_core.code`await checkForUpdates({ force: true }); `
45
+ }),
46
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.IfStatement, {
47
+ condition: _alloy_js_core.code`(result as CheckForUpdatesErrorResult)?.isError`,
48
+ get children() {
49
+ return _alloy_js_core.code`spinner.error(\`An error occurred while checking for ${(0, _shell_shock_core_plugin_utils.getAppTitle)(context, true)} application updates. Please try again later - if the problem persists, please contact support.\`);
50
+ debug((result as CheckForUpdatesErrorResult).error); `;
51
+ }
52
+ }),
53
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.ElseIfClause, {
54
+ condition: _alloy_js_core.code`!(result as CheckForUpdatesSuccessResult)?.isUpToDate`,
55
+ get children() {
56
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
57
+ get when() {
58
+ return context.config.upgradeType !== false && (context.config.upgradeType === "confirm" || context.config.upgradeType === "manual");
59
+ },
60
+ get fallback() {
61
+ return [(0, _alloy_js_core_jsx_runtime.memo)(() => _alloy_js_core.code`spinner.stop();
62
+ info(\`A new version of ${(0, _shell_shock_core_plugin_utils.getAppTitle)(context, true)} is available: \${red(\`v\${(result as CheckForUpdatesSuccessResult).currentVersion}\`)} \${textColors.body.tertiary("➜")} \${green(\`v\${(result as CheckForUpdatesSuccessResult).latestVersion}\`)}\${(result as CheckForUpdatesSuccessResult).package?.date ? textColors.body.tertiary(\` (updated on \${(result as CheckForUpdatesSuccessResult).package?.date})\`) : ""}\`);
6
63
 
7
64
  try {
8
65
  await upgrade();
9
66
  spinner.success("Update successful! Please restart the application to apply the update.");
10
67
 
11
68
  writeLine("");
12
- help(\`You can view the changelog for this release at any time by running the \${inlineCode("${(0,r.getAppBin)(o)} changelog --latest")} command.\`);
69
+ help(\`The changelog for this release can be viewed by running the \${inlineCode("${(0, _shell_shock_core_plugin_utils.getAppBin)(context)} changelog")} command.\`);
13
70
 
14
71
  writeLine("");
15
72
  writeLine("Press any key to exit the application...");
@@ -17,10 +74,21 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../_
17
74
  await waitForKeyPress();
18
75
  return;
19
76
  } catch (err) {
20
- spinner.error(\`An error occurred while updating ${(0,r.getAppTitle)(o,!0)} to v\${(result as CheckForUpdatesSuccessResult).latestVersion}. Please try again later - if the problem persists, please contact support.\`);
77
+ spinner.error(\`An error occurred while updating ${(0, _shell_shock_core_plugin_utils.getAppTitle)(context, true)} to v\${(result as CheckForUpdatesSuccessResult).latestVersion}. Please try again later - if the problem persists, please contact support.\`);
21
78
  debug(err);
22
- } `),(0,e.createComponent)(i.Spacing,{})]},get children(){return[(0,e.memo)(()=>t.code`spinner.stop();
23
- warn(\`A new version of ${(0,r.getAppTitle)(o,!0)} is available: \${red(\`v\${(result as CheckForUpdatesSuccessResult).currentVersion}\`)} \${textColors.body.tertiary("➜")} \${green(\`v\${(result as CheckForUpdatesSuccessResult).latestVersion}\`)}\${(result as CheckForUpdatesSuccessResult).package.date ? textColors.body.tertiary(\` (updated on \${(result as CheckForUpdatesSuccessResult).package.date})\`) : ""}${o.config.upgradeType!==!1&&o.config.upgradeType===`manual`?` \\nPlease run \`${(0,r.getAppBin)(o)} upgrade\` to upgrade to the latest version.`:``}\`); `),(0,e.createComponent)(i.Spacing,{}),(0,e.createComponent)(t.Show,{get when(){return o.config.upgradeType!==!1&&o.config.upgradeType===`confirm`},get children(){return t.code`const willUpgradeNow = await confirm({
79
+ } `), (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {})];
80
+ },
81
+ get children() {
82
+ return [
83
+ (0, _alloy_js_core_jsx_runtime.memo)(() => _alloy_js_core.code`spinner.stop();
84
+ warn(\`A new version of ${(0, _shell_shock_core_plugin_utils.getAppTitle)(context, true)} is available: \${red(\`v\${(result as CheckForUpdatesSuccessResult).currentVersion}\`)} \${textColors.body.tertiary("➜")} \${green(\`v\${(result as CheckForUpdatesSuccessResult).latestVersion}\`)}\${(result as CheckForUpdatesSuccessResult).package.date ? textColors.body.tertiary(\` (updated on \${(result as CheckForUpdatesSuccessResult).package.date})\`) : ""}${context.config.upgradeType !== false && context.config.upgradeType === "manual" ? ` \\nPlease run \`${(0, _shell_shock_core_plugin_utils.getAppBin)(context)} upgrade\` to upgrade to the latest version.` : ""}\`); `),
85
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
86
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
87
+ get when() {
88
+ return context.config.upgradeType !== false && context.config.upgradeType === "confirm";
89
+ },
90
+ get children() {
91
+ return _alloy_js_core.code`const willUpgradeNow = await confirm({
24
92
  message: \`Would you like to update to v\${(result as CheckForUpdatesSuccessResult).latestVersion} now?\`,
25
93
  initialValue: true
26
94
  });
@@ -29,7 +97,7 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../_
29
97
  }
30
98
 
31
99
  if (willUpgradeNow) {
32
- spinner.text = \`Updating ${(0,r.getAppTitle)(o,!0)} to v\${(result as CheckForUpdatesSuccessResult).latestVersion}...\`;
100
+ spinner.text = \`Updating ${(0, _shell_shock_core_plugin_utils.getAppTitle)(context, true)} to v\${(result as CheckForUpdatesSuccessResult).latestVersion}...\`;
33
101
  spinner.start();
34
102
 
35
103
  try {
@@ -37,7 +105,7 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../_
37
105
  spinner.success("Update successful! Please restart the application to apply the update.");
38
106
 
39
107
  writeLine("");
40
- help(\`You can view the changelog for this release at any time by running the \${inlineCode("${(0,r.getAppBin)(o)} changelog --latest")} command.\`);
108
+ help(\`The changelog for this release can be viewed by running the \${inlineCode("${(0, _shell_shock_core_plugin_utils.getAppBin)(context)} changelog")} command.\`);
41
109
 
42
110
  writeLine("");
43
111
  writeLine("Press any key to exit the application...");
@@ -45,11 +113,63 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../_
45
113
  await waitForKeyPress();
46
114
  return;
47
115
  } catch (err) {
48
- spinner.error(\`An error occurred while updating ${(0,r.getAppTitle)(o,!0)} to v\${(result as CheckForUpdatesSuccessResult).latestVersion}. Please try again later - if the problem persists, please contact support.\`);
116
+ spinner.error(\`An error occurred while updating ${(0, _shell_shock_core_plugin_utils.getAppTitle)(context, true)} to v\${(result as CheckForUpdatesSuccessResult).latestVersion}. Please try again later - if the problem persists, please contact support.\`);
49
117
  return { error: err };
50
118
  }
51
119
  } else {
52
- help("Updates can be performed at any time by running the \`${(0,r.getAppBin)(o)} upgrade\` command. Please remember that keeping your application up to date is important for ensuring you have the latest features, performance improvements, and security patches.");
53
- } `}})]}})}}),(0,e.createComponent)(n.ElseClause,{get children(){return t.code`spinner.success("Currently running the latest version of ${(0,r.getAppTitle)(o,!0)}.");
120
+ help("Updates can be performed at any time by running the \`${(0, _shell_shock_core_plugin_utils.getAppBin)(context)} upgrade\` command. Please remember that keeping your application up to date is important for ensuring you have the latest features, performance improvements, and security patches.");
121
+ } `;
122
+ }
123
+ })
124
+ ];
125
+ }
126
+ });
127
+ }
128
+ }),
129
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.ElseClause, { get children() {
130
+ return _alloy_js_core.code`spinner.success("Currently running the latest version of ${(0, _shell_shock_core_plugin_utils.getAppTitle)(context, true)}.");
54
131
  writeLine("");
55
- `}})]}})}})}})}function l(n){let[{children:r,builtinImports:a},l]=(0,t.splitProps)(n,[`children`,`builtinImports`]);return(0,e.createComponent)(s.UpgradeBuiltin,(0,e.mergeProps)(l,{get builtinImports(){return(0,o.defu)(a??{},{console:[`createSpinner`,`debug`,`info`],prompts:[`waitForKeyPress`]})},get children(){return[(0,e.createComponent)(c,{}),(0,e.createComponent)(i.Spacing,{}),(0,e.createComponent)(t.Show,{get when(){return!!r},children:r})]}}))}exports.ExecuteUpgradeFunctionDeclaration=c,exports.UpgradeBuiltin=l;
132
+ `;
133
+ } })
134
+ ];
135
+ }
136
+ });
137
+ }
138
+ });
139
+ }
140
+ });
141
+ }
142
+ /**
143
+ * A built-in upgrade module for Shell Shock.
144
+ */
145
+ function UpgradeBuiltin(props) {
146
+ const [{ children, builtinImports }, rest] = (0, _alloy_js_core.splitProps)(props, ["children", "builtinImports"]);
147
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_shell_shock_plugin_upgrade_components_upgrade_builtin.UpgradeBuiltin, (0, _alloy_js_core_jsx_runtime.mergeProps)(rest, {
148
+ get builtinImports() {
149
+ return (0, defu.defu)(builtinImports ?? {}, {
150
+ console: [
151
+ "createSpinner",
152
+ "debug",
153
+ "info"
154
+ ],
155
+ prompts: ["waitForKeyPress"]
156
+ });
157
+ },
158
+ get children() {
159
+ return [
160
+ (0, _alloy_js_core_jsx_runtime.createComponent)(ExecuteUpgradeFunctionDeclaration, {}),
161
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
162
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
163
+ get when() {
164
+ return Boolean(children);
165
+ },
166
+ children
167
+ })
168
+ ];
169
+ }
170
+ }));
171
+ }
172
+
173
+ //#endregion
174
+ exports.ExecuteUpgradeFunctionDeclaration = ExecuteUpgradeFunctionDeclaration;
175
+ exports.UpgradeBuiltin = UpgradeBuiltin;
@@ -1,15 +1,14 @@
1
- import * as _$_alloy_js_core0 from "@alloy-js/core";
2
1
  import { UpgradeBuiltinProps } from "@shell-shock/plugin-upgrade/components/upgrade-builtin";
3
2
 
4
3
  //#region src/components/upgrade-builtin.d.ts
5
4
  /**
6
5
  * A component to generate the `executeUpgrade` function in the `shell-shock:upgrade` builtin module.
7
6
  */
8
- declare function ExecuteUpgradeFunctionDeclaration(): _$_alloy_js_core0.Children;
7
+ declare function ExecuteUpgradeFunctionDeclaration(): import("@alloy-js/core").Children;
9
8
  /**
10
9
  * A built-in upgrade module for Shell Shock.
11
10
  */
12
- declare function UpgradeBuiltin(props: UpgradeBuiltinProps): _$_alloy_js_core0.Children;
11
+ declare function UpgradeBuiltin(props: UpgradeBuiltinProps): import("@alloy-js/core").Children;
13
12
  //#endregion
14
13
  export { ExecuteUpgradeFunctionDeclaration, UpgradeBuiltin };
15
14
  //# sourceMappingURL=upgrade-builtin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upgrade-builtin.d.cts","names":[],"sources":["../../src/components/upgrade-builtin.tsx"],"mappings":";;;;;;;iBAqCgB,iCAAA,CAAA,GAAiC,iBAAA,CAAA,QAAA;;;;iBAuJjC,cAAA,CAAe,KAAA,EAAO,mBAAA,GAAmB,iBAAA,CAAA,QAAA"}
1
+ {"version":3,"file":"upgrade-builtin.d.cts","names":[],"sources":["../../src/components/upgrade-builtin.tsx"],"mappings":";;;;;AAqCA;iBAAgB,iCAAA,6BAAiC,QAAA;;;AAAA;iBAuJjC,cAAA,CAAe,KAAA,EAAO,mBAAmB,4BAAA,QAAA"}
@@ -1,15 +1,14 @@
1
- import * as _$_alloy_js_core0 from "@alloy-js/core";
2
1
  import { UpgradeBuiltinProps } from "@shell-shock/plugin-upgrade/components/upgrade-builtin";
3
2
 
4
3
  //#region src/components/upgrade-builtin.d.ts
5
4
  /**
6
5
  * A component to generate the `executeUpgrade` function in the `shell-shock:upgrade` builtin module.
7
6
  */
8
- declare function ExecuteUpgradeFunctionDeclaration(): _$_alloy_js_core0.Children;
7
+ declare function ExecuteUpgradeFunctionDeclaration(): import("@alloy-js/core").Children;
9
8
  /**
10
9
  * A built-in upgrade module for Shell Shock.
11
10
  */
12
- declare function UpgradeBuiltin(props: UpgradeBuiltinProps): _$_alloy_js_core0.Children;
11
+ declare function UpgradeBuiltin(props: UpgradeBuiltinProps): import("@alloy-js/core").Children;
13
12
  //#endregion
14
13
  export { ExecuteUpgradeFunctionDeclaration, UpgradeBuiltin };
15
14
  //# sourceMappingURL=upgrade-builtin.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upgrade-builtin.d.mts","names":[],"sources":["../../src/components/upgrade-builtin.tsx"],"mappings":";;;;;;;iBAqCgB,iCAAA,CAAA,GAAiC,iBAAA,CAAA,QAAA;;;;iBAuJjC,cAAA,CAAe,KAAA,EAAO,mBAAA,GAAmB,iBAAA,CAAA,QAAA"}
1
+ {"version":3,"file":"upgrade-builtin.d.mts","names":[],"sources":["../../src/components/upgrade-builtin.tsx"],"mappings":""}