@shell-shock/preset-cli 0.7.0 → 0.7.2
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/components/banner-function-declaration.cjs +3 -3
- package/dist/components/banner-function-declaration.d.cts +2 -2
- package/dist/components/banner-function-declaration.mjs +2 -2
- package/dist/components/banner-function-declaration.mjs.map +1 -1
- package/dist/components/command-entry.cjs +5 -5
- package/dist/components/command-entry.d.cts +2 -2
- package/dist/components/command-entry.mjs +4 -4
- package/dist/components/command-router.d.cts +3 -3
- package/dist/components/command-router.d.cts.map +1 -1
- package/dist/components/index.cjs +0 -9
- package/dist/components/index.d.cts +1 -2
- package/dist/components/index.d.mts +1 -2
- package/dist/components/index.mjs +1 -2
- package/dist/components/virtual-command-entry.cjs +3 -3
- package/dist/components/virtual-command-entry.mjs +2 -2
- package/dist/index.cjs +13 -18
- package/dist/index.d.cts +4 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +4 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +10 -17
- package/dist/index.mjs.map +1 -1
- package/package.json +13 -24
- package/dist/components/prompts-builtin.cjs +0 -2729
- package/dist/components/prompts-builtin.d.cts +0 -40
- package/dist/components/prompts-builtin.d.cts.map +0 -1
- package/dist/components/prompts-builtin.d.mts +0 -40
- package/dist/components/prompts-builtin.d.mts.map +0 -1
- package/dist/components/prompts-builtin.mjs +0 -2721
- package/dist/components/prompts-builtin.mjs.map +0 -1
- package/dist/plugin-upgrade/dist/components/index.cjs +0 -2
- package/dist/plugin-upgrade/dist/components/index.mjs +0 -4
- package/dist/plugin-upgrade/dist/components/upgrade-builtin.cjs +0 -661
- package/dist/plugin-upgrade/dist/components/upgrade-builtin.mjs +0 -655
- package/dist/plugin-upgrade/dist/components/upgrade-builtin.mjs.map +0 -1
- package/dist/plugin-upgrade/dist/components/upgrade-command.cjs +0 -96
- package/dist/plugin-upgrade/dist/components/upgrade-command.mjs +0 -96
- package/dist/plugin-upgrade/dist/components/upgrade-command.mjs.map +0 -1
- package/dist/plugin-upgrade/dist/index.cjs +0 -49
- package/dist/plugin-upgrade/dist/index.mjs +0 -49
- package/dist/plugin-upgrade/dist/index.mjs.map +0 -1
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as _alloy_js_core2 from "@alloy-js/core";
|
|
2
|
-
import { BuiltinFileProps } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
|
|
3
|
-
|
|
4
|
-
//#region src/components/prompts-builtin.d.ts
|
|
5
|
-
interface PromptsBuiltinProps extends Omit<BuiltinFileProps, "id" | "description"> {}
|
|
6
|
-
/**
|
|
7
|
-
* A component that generates TypeScript declarations for built-in prompt types and related utilities, such as the base Prompt class, specific prompt types like TextPrompt and SelectPrompt, and utility functions for handling prompt cancellations. This component serves as a central place to define the types and interfaces for prompts used in the Shell Shock CLI, providing a consistent API for creating and managing prompts throughout the application.
|
|
8
|
-
*/
|
|
9
|
-
declare function BasePromptDeclarations(): _alloy_js_core2.Children;
|
|
10
|
-
/**
|
|
11
|
-
* Declarations for a text-based prompt that allows users to input and edit text, with support for cursor movement, deletion, and custom masking. This prompt type can be used for various text input scenarios, such as entering a username, password, or any other string input. The TextPrompt class extends the base Prompt class and implements specific logic for handling text input and editing interactions.
|
|
12
|
-
*/
|
|
13
|
-
declare function TextPromptDeclarations(): _alloy_js_core2.Children;
|
|
14
|
-
/**
|
|
15
|
-
* Declarations for a select prompt that allows users to choose from a list of options, with support for pagination, option descriptions, and disabled options. This prompt type can be used for scenarios where the user needs to select one option from a predefined list, such as choosing a color, selecting a file, or picking an item from a menu. The SelectPrompt class extends the base Prompt class and implements specific logic for handling option selection and navigation interactions.
|
|
16
|
-
*/
|
|
17
|
-
declare function SelectPromptDeclarations(): _alloy_js_core2.Children;
|
|
18
|
-
/**
|
|
19
|
-
* A component that renders the declarations for the built-in numeric prompt, which allows users to input and select numeric values with various configuration options such as floating point support, precision, increment, and min/max values.
|
|
20
|
-
*/
|
|
21
|
-
declare function NumericPromptDeclarations(): _alloy_js_core2.Children;
|
|
22
|
-
/**
|
|
23
|
-
* A component that renders the declarations for the built-in toggle prompt, which allows users to select a boolean value (true/false) with support for custom messages for the true and false states. This prompt type can be used for scenarios where the user needs to toggle a setting on or off, such as enabling or disabling a feature. The TogglePrompt class extends the base Prompt class and implements specific logic for handling boolean input and rendering interactions.
|
|
24
|
-
*/
|
|
25
|
-
declare function TogglePromptDeclarations(): _alloy_js_core2.Children;
|
|
26
|
-
/**
|
|
27
|
-
* A component that renders the declarations for the built-in confirm prompt, which allows users to select a boolean value (true/false) with support for custom messages for the true and false states. This prompt type can be used for scenarios where the user needs to toggle a setting on or off, such as enabling or disabling a feature. The ConfirmPrompt class extends the base Prompt class and implements specific logic for handling boolean input and rendering interactions.
|
|
28
|
-
*/
|
|
29
|
-
declare function ConfirmPromptDeclarations(): _alloy_js_core2.Children;
|
|
30
|
-
/**
|
|
31
|
-
* Declarations for a password prompt that allows users to input and edit text, with support for cursor movement, deletion, and custom masking. This prompt type can be used for various text input scenarios, such as entering a password or any other string input. The PasswordPrompt class extends the base Prompt class and implements specific logic for handling password input and editing interactions.
|
|
32
|
-
*/
|
|
33
|
-
declare function PasswordPromptDeclaration(): _alloy_js_core2.Children;
|
|
34
|
-
/**
|
|
35
|
-
* A built-in prompts module for Shell Shock.
|
|
36
|
-
*/
|
|
37
|
-
declare function PromptsBuiltin(props: PromptsBuiltinProps): _alloy_js_core2.Children;
|
|
38
|
-
//#endregion
|
|
39
|
-
export { BasePromptDeclarations, ConfirmPromptDeclarations, NumericPromptDeclarations, PasswordPromptDeclaration, PromptsBuiltin, PromptsBuiltinProps, SelectPromptDeclarations, TextPromptDeclarations, TogglePromptDeclarations };
|
|
40
|
-
//# sourceMappingURL=prompts-builtin.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prompts-builtin.d.cts","names":[],"sources":["../../src/components/prompts-builtin.tsx"],"sourcesContent":[],"mappings":";;;;UA8CiB,mBAAA,SAA4B,KAC3C;;AADF;AAQA;AAmuBgB,iBAnuBA,sBAAA,CAAA,CAmuBsB,EAnuBA,eAAA,CAAA,QAmuBA;AA4TtC;AAmbA;AA2YA;AA4OgB,iBAt2CA,sBAAA,CAAA,CAs2CyB,EAt2CH,eAAA,CAAA,QAs2CG;AA8LzC;AAsEA;;iBA9yCgB,wBAAA,CAAA,GAAwB,eAAA,CAAA;;;;iBAmbxB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBA2YzB,wBAAA,CAAA,GAAwB,eAAA,CAAA;;;;iBA4OxB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBA8LzB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBAsEzB,cAAA,QAAsB,sBAAmB,eAAA,CAAA"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as _alloy_js_core4 from "@alloy-js/core";
|
|
2
|
-
import { BuiltinFileProps } from "@powerlines/plugin-alloy/typescript/components/builtin-file";
|
|
3
|
-
|
|
4
|
-
//#region src/components/prompts-builtin.d.ts
|
|
5
|
-
interface PromptsBuiltinProps extends Omit<BuiltinFileProps, "id" | "description"> {}
|
|
6
|
-
/**
|
|
7
|
-
* A component that generates TypeScript declarations for built-in prompt types and related utilities, such as the base Prompt class, specific prompt types like TextPrompt and SelectPrompt, and utility functions for handling prompt cancellations. This component serves as a central place to define the types and interfaces for prompts used in the Shell Shock CLI, providing a consistent API for creating and managing prompts throughout the application.
|
|
8
|
-
*/
|
|
9
|
-
declare function BasePromptDeclarations(): _alloy_js_core4.Children;
|
|
10
|
-
/**
|
|
11
|
-
* Declarations for a text-based prompt that allows users to input and edit text, with support for cursor movement, deletion, and custom masking. This prompt type can be used for various text input scenarios, such as entering a username, password, or any other string input. The TextPrompt class extends the base Prompt class and implements specific logic for handling text input and editing interactions.
|
|
12
|
-
*/
|
|
13
|
-
declare function TextPromptDeclarations(): _alloy_js_core4.Children;
|
|
14
|
-
/**
|
|
15
|
-
* Declarations for a select prompt that allows users to choose from a list of options, with support for pagination, option descriptions, and disabled options. This prompt type can be used for scenarios where the user needs to select one option from a predefined list, such as choosing a color, selecting a file, or picking an item from a menu. The SelectPrompt class extends the base Prompt class and implements specific logic for handling option selection and navigation interactions.
|
|
16
|
-
*/
|
|
17
|
-
declare function SelectPromptDeclarations(): _alloy_js_core4.Children;
|
|
18
|
-
/**
|
|
19
|
-
* A component that renders the declarations for the built-in numeric prompt, which allows users to input and select numeric values with various configuration options such as floating point support, precision, increment, and min/max values.
|
|
20
|
-
*/
|
|
21
|
-
declare function NumericPromptDeclarations(): _alloy_js_core4.Children;
|
|
22
|
-
/**
|
|
23
|
-
* A component that renders the declarations for the built-in toggle prompt, which allows users to select a boolean value (true/false) with support for custom messages for the true and false states. This prompt type can be used for scenarios where the user needs to toggle a setting on or off, such as enabling or disabling a feature. The TogglePrompt class extends the base Prompt class and implements specific logic for handling boolean input and rendering interactions.
|
|
24
|
-
*/
|
|
25
|
-
declare function TogglePromptDeclarations(): _alloy_js_core4.Children;
|
|
26
|
-
/**
|
|
27
|
-
* A component that renders the declarations for the built-in confirm prompt, which allows users to select a boolean value (true/false) with support for custom messages for the true and false states. This prompt type can be used for scenarios where the user needs to toggle a setting on or off, such as enabling or disabling a feature. The ConfirmPrompt class extends the base Prompt class and implements specific logic for handling boolean input and rendering interactions.
|
|
28
|
-
*/
|
|
29
|
-
declare function ConfirmPromptDeclarations(): _alloy_js_core4.Children;
|
|
30
|
-
/**
|
|
31
|
-
* Declarations for a password prompt that allows users to input and edit text, with support for cursor movement, deletion, and custom masking. This prompt type can be used for various text input scenarios, such as entering a password or any other string input. The PasswordPrompt class extends the base Prompt class and implements specific logic for handling password input and editing interactions.
|
|
32
|
-
*/
|
|
33
|
-
declare function PasswordPromptDeclaration(): _alloy_js_core4.Children;
|
|
34
|
-
/**
|
|
35
|
-
* A built-in prompts module for Shell Shock.
|
|
36
|
-
*/
|
|
37
|
-
declare function PromptsBuiltin(props: PromptsBuiltinProps): _alloy_js_core4.Children;
|
|
38
|
-
//#endregion
|
|
39
|
-
export { BasePromptDeclarations, ConfirmPromptDeclarations, NumericPromptDeclarations, PasswordPromptDeclaration, PromptsBuiltin, PromptsBuiltinProps, SelectPromptDeclarations, TextPromptDeclarations, TogglePromptDeclarations };
|
|
40
|
-
//# sourceMappingURL=prompts-builtin.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prompts-builtin.d.mts","names":[],"sources":["../../src/components/prompts-builtin.tsx"],"sourcesContent":[],"mappings":";;;;UA8CiB,mBAAA,SAA4B,KAC3C;;AADF;AAQA;AAmuBgB,iBAnuBA,sBAAA,CAAA,CAmuBsB,EAnuBA,eAAA,CAAA,QAmuBA;AA4TtC;AAmbA;AA2YA;AA4OgB,iBAt2CA,sBAAA,CAAA,CAs2CyB,EAt2CH,eAAA,CAAA,QAs2CG;AA8LzC;AAsEA;;iBA9yCgB,wBAAA,CAAA,GAAwB,eAAA,CAAA;;;;iBAmbxB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBA2YzB,wBAAA,CAAA,GAAwB,eAAA,CAAA;;;;iBA4OxB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBA8LzB,yBAAA,CAAA,GAAyB,eAAA,CAAA;;;;iBAsEzB,cAAA,QAAsB,sBAAmB,eAAA,CAAA"}
|