@serenityjs/core 0.8.20-beta-20260328195945 → 0.8.20
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/CHANGELOG.md +7 -7
- package/dist/index.d.mts +37 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.js +18 -18
- package/dist/index.mjs +17 -17
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# @serenityjs/core
|
|
2
2
|
|
|
3
|
-
## 0.8.20
|
|
3
|
+
## 0.8.20
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- [`7b7bb14`](https://github.com/SerenityJS/serenity/commit/7b7bb14c512c33b40d3eda4718c16b7048e28019) Thanks [@PMK744](https://github.com/PMK744)! - init v0.8.20-beta
|
|
8
8
|
|
|
9
9
|
- Updated dependencies [[`7b7bb14`](https://github.com/SerenityJS/serenity/commit/7b7bb14c512c33b40d3eda4718c16b7048e28019)]:
|
|
10
|
-
- @serenityjs/data@0.8.20
|
|
11
|
-
- @serenityjs/emitter@0.8.20
|
|
12
|
-
- @serenityjs/logger@0.8.20
|
|
13
|
-
- @serenityjs/nbt@0.8.20
|
|
14
|
-
- @serenityjs/protocol@0.8.20
|
|
15
|
-
- @serenityjs/raknet@0.8.20
|
|
10
|
+
- @serenityjs/data@0.8.20
|
|
11
|
+
- @serenityjs/emitter@0.8.20
|
|
12
|
+
- @serenityjs/logger@0.8.20
|
|
13
|
+
- @serenityjs/nbt@0.8.20
|
|
14
|
+
- @serenityjs/protocol@0.8.20
|
|
15
|
+
- @serenityjs/raknet@0.8.20
|
|
16
16
|
|
|
17
17
|
## 0.8.19
|
|
18
18
|
|
package/dist/index.d.mts
CHANGED
|
@@ -12932,6 +12932,24 @@ interface SliderElementOptions {
|
|
|
12932
12932
|
step?: number | Observable<number>;
|
|
12933
12933
|
}
|
|
12934
12934
|
|
|
12935
|
+
interface DividerElementOptions {
|
|
12936
|
+
visible?: boolean | Observable<boolean>;
|
|
12937
|
+
}
|
|
12938
|
+
|
|
12939
|
+
interface LabelElementOptions {
|
|
12940
|
+
/**
|
|
12941
|
+
* Whether the label element is visible or hidden in the user interface of the custom form.
|
|
12942
|
+
*/
|
|
12943
|
+
visible?: boolean | Observable<boolean>;
|
|
12944
|
+
}
|
|
12945
|
+
|
|
12946
|
+
interface SpacerElementOptions {
|
|
12947
|
+
/**
|
|
12948
|
+
* Whether the spacer element is visible or hidden in the user interface of the custom form.
|
|
12949
|
+
*/
|
|
12950
|
+
visible?: boolean | Observable<boolean>;
|
|
12951
|
+
}
|
|
12952
|
+
|
|
12935
12953
|
declare abstract class DataDrivenScreen extends ObjectProperty {
|
|
12936
12954
|
/**
|
|
12937
12955
|
* The identifier of the screen.
|
|
@@ -13137,6 +13155,25 @@ declare class CustomForm extends DataDrivenScreen {
|
|
|
13137
13155
|
* @returns The current instance of the CustomForm class to allow for method chaining.
|
|
13138
13156
|
*/
|
|
13139
13157
|
slider(label: string | Observable<string>, value: Observable<number>, minValue: number, maxValue: number, options?: SliderElementOptions): this;
|
|
13158
|
+
/**
|
|
13159
|
+
* Add a divider element to the custom form with the given options.
|
|
13160
|
+
* @param options The options for configuring the divider element, including whether the divider is visible or hidden in the user interface of the custom form. The visibility option allows for dynamic control over whether the divider is displayed to users, enabling more flexible and customizable form layouts based on specific conditions or user interactions. By providing options for configuring the divider element, developers can create more dynamic and interactive user interfaces within their custom forms, enhancing the overall user experience.
|
|
13161
|
+
* @returns The current instance of the CustomForm class to allow for method chaining.
|
|
13162
|
+
*/
|
|
13163
|
+
divider(options?: DividerElementOptions): this;
|
|
13164
|
+
/**
|
|
13165
|
+
* Add a label element to the custom form with the given text and options.
|
|
13166
|
+
* @param text The text to be displayed on the label element.
|
|
13167
|
+
* @param options The options for configuring the label element, including whether the label is visible or hidden in the user interface of the custom form.
|
|
13168
|
+
* @returns The current instance of the CustomForm class to allow for method chaining.
|
|
13169
|
+
*/
|
|
13170
|
+
label(text: string | Observable<string>, options?: LabelElementOptions): this;
|
|
13171
|
+
/**
|
|
13172
|
+
* Add a spacer element to the custom form with the given options.
|
|
13173
|
+
* @param options The options for configuring the spacer element, including whether the spacer is visible or hidden in the user interface of the custom form. The visibility option allows for dynamic control over whether the spacer is displayed to users, enabling more flexible and customizable form layouts based on specific conditions or user interactions. By providing options for configuring the spacer element, developers can create more dynamic and interactive user interfaces within their custom forms, enhancing the overall user experience.
|
|
13174
|
+
* @returns The current instance of the CustomForm class to allow for method chaining.
|
|
13175
|
+
*/
|
|
13176
|
+
spacer(options?: SpacerElementOptions): this;
|
|
13140
13177
|
}
|
|
13141
13178
|
|
|
13142
13179
|
declare class PermissionGroup implements IPermissionGroup<Map<string, Array<string>>> {
|
package/dist/index.d.ts
CHANGED
|
@@ -12932,6 +12932,24 @@ interface SliderElementOptions {
|
|
|
12932
12932
|
step?: number | Observable<number>;
|
|
12933
12933
|
}
|
|
12934
12934
|
|
|
12935
|
+
interface DividerElementOptions {
|
|
12936
|
+
visible?: boolean | Observable<boolean>;
|
|
12937
|
+
}
|
|
12938
|
+
|
|
12939
|
+
interface LabelElementOptions {
|
|
12940
|
+
/**
|
|
12941
|
+
* Whether the label element is visible or hidden in the user interface of the custom form.
|
|
12942
|
+
*/
|
|
12943
|
+
visible?: boolean | Observable<boolean>;
|
|
12944
|
+
}
|
|
12945
|
+
|
|
12946
|
+
interface SpacerElementOptions {
|
|
12947
|
+
/**
|
|
12948
|
+
* Whether the spacer element is visible or hidden in the user interface of the custom form.
|
|
12949
|
+
*/
|
|
12950
|
+
visible?: boolean | Observable<boolean>;
|
|
12951
|
+
}
|
|
12952
|
+
|
|
12935
12953
|
declare abstract class DataDrivenScreen extends ObjectProperty {
|
|
12936
12954
|
/**
|
|
12937
12955
|
* The identifier of the screen.
|
|
@@ -13137,6 +13155,25 @@ declare class CustomForm extends DataDrivenScreen {
|
|
|
13137
13155
|
* @returns The current instance of the CustomForm class to allow for method chaining.
|
|
13138
13156
|
*/
|
|
13139
13157
|
slider(label: string | Observable<string>, value: Observable<number>, minValue: number, maxValue: number, options?: SliderElementOptions): this;
|
|
13158
|
+
/**
|
|
13159
|
+
* Add a divider element to the custom form with the given options.
|
|
13160
|
+
* @param options The options for configuring the divider element, including whether the divider is visible or hidden in the user interface of the custom form. The visibility option allows for dynamic control over whether the divider is displayed to users, enabling more flexible and customizable form layouts based on specific conditions or user interactions. By providing options for configuring the divider element, developers can create more dynamic and interactive user interfaces within their custom forms, enhancing the overall user experience.
|
|
13161
|
+
* @returns The current instance of the CustomForm class to allow for method chaining.
|
|
13162
|
+
*/
|
|
13163
|
+
divider(options?: DividerElementOptions): this;
|
|
13164
|
+
/**
|
|
13165
|
+
* Add a label element to the custom form with the given text and options.
|
|
13166
|
+
* @param text The text to be displayed on the label element.
|
|
13167
|
+
* @param options The options for configuring the label element, including whether the label is visible or hidden in the user interface of the custom form.
|
|
13168
|
+
* @returns The current instance of the CustomForm class to allow for method chaining.
|
|
13169
|
+
*/
|
|
13170
|
+
label(text: string | Observable<string>, options?: LabelElementOptions): this;
|
|
13171
|
+
/**
|
|
13172
|
+
* Add a spacer element to the custom form with the given options.
|
|
13173
|
+
* @param options The options for configuring the spacer element, including whether the spacer is visible or hidden in the user interface of the custom form. The visibility option allows for dynamic control over whether the spacer is displayed to users, enabling more flexible and customizable form layouts based on specific conditions or user interactions. By providing options for configuring the spacer element, developers can create more dynamic and interactive user interfaces within their custom forms, enhancing the overall user experience.
|
|
13174
|
+
* @returns The current instance of the CustomForm class to allow for method chaining.
|
|
13175
|
+
*/
|
|
13176
|
+
spacer(options?: SpacerElementOptions): this;
|
|
13140
13177
|
}
|
|
13141
13178
|
|
|
13142
13179
|
declare class PermissionGroup implements IPermissionGroup<Map<string, Array<string>>> {
|