@divkitframework/jsonbuilder 29.4.0 → 29.5.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/dist/jsonbuilder.d.ts +29 -29
- package/package.json +1 -1
package/dist/jsonbuilder.d.ts
CHANGED
|
@@ -327,8 +327,8 @@ interface IDivAction {
|
|
|
327
327
|
*/
|
|
328
328
|
download_callbacks?: Type<IDivDownloadCallbacks>;
|
|
329
329
|
/**
|
|
330
|
-
*
|
|
331
|
-
*
|
|
330
|
+
* The parameter disables the action. Disabled actions stop listening to their associated event
|
|
331
|
+
* (clicks, changes in visibility, and so on).
|
|
332
332
|
*/
|
|
333
333
|
is_enabled?: Type<IntBoolean | DivExpression>;
|
|
334
334
|
/**
|
|
@@ -796,7 +796,7 @@ interface DivCircleShapeProps {
|
|
|
796
796
|
|
|
797
797
|
interface IDivCollectionItemBuilder {
|
|
798
798
|
/**
|
|
799
|
-
* Data that will be used to create collection
|
|
799
|
+
* Data that will be used to create collection elements.
|
|
800
800
|
*/
|
|
801
801
|
data: Type<unknown[] | DivExpression>;
|
|
802
802
|
/**
|
|
@@ -805,21 +805,21 @@ interface IDivCollectionItemBuilder {
|
|
|
805
805
|
*/
|
|
806
806
|
data_element_name?: Type<string>;
|
|
807
807
|
/**
|
|
808
|
-
* Array of `div` from which the collection
|
|
808
|
+
* Array of `div` elements from which the collection elements will be created.
|
|
809
809
|
*/
|
|
810
810
|
prototypes: Type<NonEmptyArray<IDivCollectionItemBuilderPrototype>>;
|
|
811
811
|
}
|
|
812
812
|
interface IDivCollectionItemBuilderPrototype {
|
|
813
813
|
/**
|
|
814
|
-
* `Div` from which the collection
|
|
815
|
-
* data from `data
|
|
816
|
-
* `data_element_prefix`.
|
|
814
|
+
* `Div` from which the collection elements will be created. In `Div`, you can use expressions
|
|
815
|
+
* using data from `data`. To access the next `data` element, you need to use the same prefix as
|
|
816
|
+
* in `data_element_prefix`.
|
|
817
817
|
*/
|
|
818
818
|
div: Type<Div>;
|
|
819
819
|
/**
|
|
820
|
-
* A condition that is used to select
|
|
821
|
-
* is more than 1 true condition, the prototype
|
|
822
|
-
* conditions are met, the
|
|
820
|
+
* A condition that is used to select the prototype for the next element in the collection. If
|
|
821
|
+
* there is more than 1 true condition, the earlier prototype is selected. If none of the
|
|
822
|
+
* conditions are met, the element from `data` is skipped.
|
|
823
823
|
*/
|
|
824
824
|
selector?: Type<IntBoolean | DivExpression>;
|
|
825
825
|
}
|
|
@@ -877,7 +877,7 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
877
877
|
*/
|
|
878
878
|
border?: Type<IDivBorder>;
|
|
879
879
|
/**
|
|
880
|
-
*
|
|
880
|
+
* Enables the bounding of child elements by the parent's borders.
|
|
881
881
|
*/
|
|
882
882
|
clip_to_bounds?: Type<IntBoolean | DivExpression>;
|
|
883
883
|
/**
|
|
@@ -925,7 +925,7 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
925
925
|
*/
|
|
926
926
|
id?: Type<string>;
|
|
927
927
|
/**
|
|
928
|
-
*
|
|
928
|
+
* Sets collection elements dynamically using `data` and `prototypes`.
|
|
929
929
|
*/
|
|
930
930
|
item_builder?: Type<IDivCollectionItemBuilder>;
|
|
931
931
|
/**
|
|
@@ -1072,7 +1072,7 @@ interface DivContainerPropsBase {
|
|
|
1072
1072
|
*/
|
|
1073
1073
|
border?: Type<IDivBorder>;
|
|
1074
1074
|
/**
|
|
1075
|
-
*
|
|
1075
|
+
* Enables the bounding of child elements by the parent's borders.
|
|
1076
1076
|
*/
|
|
1077
1077
|
clip_to_bounds?: Type<IntBoolean | DivExpression>;
|
|
1078
1078
|
/**
|
|
@@ -1120,7 +1120,7 @@ interface DivContainerPropsBase {
|
|
|
1120
1120
|
*/
|
|
1121
1121
|
id?: Type<string>;
|
|
1122
1122
|
/**
|
|
1123
|
-
*
|
|
1123
|
+
* Sets collection elements dynamically using `data` and `prototypes`.
|
|
1124
1124
|
*/
|
|
1125
1125
|
item_builder?: Type<IDivCollectionItemBuilder>;
|
|
1126
1126
|
/**
|
|
@@ -1228,7 +1228,7 @@ interface DivContainerProps0 extends DivContainerPropsBase {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
interface DivContainerProps1 extends DivContainerPropsBase {
|
|
1230
1230
|
/**
|
|
1231
|
-
*
|
|
1231
|
+
* Sets collection elements dynamically using `data` and `prototypes`.
|
|
1232
1232
|
*/
|
|
1233
1233
|
item_builder: Type<IDivCollectionItemBuilder>;
|
|
1234
1234
|
}
|
|
@@ -1627,8 +1627,8 @@ interface IDivDisappearAction {
|
|
|
1627
1627
|
*/
|
|
1628
1628
|
download_callbacks?: Type<IDivDownloadCallbacks>;
|
|
1629
1629
|
/**
|
|
1630
|
-
*
|
|
1631
|
-
*
|
|
1630
|
+
* The parameter disables the action. Disabled actions stop listening to their associated event
|
|
1631
|
+
* (clicks, changes in visibility, and so on).
|
|
1632
1632
|
*/
|
|
1633
1633
|
is_enabled?: Type<IntBoolean | DivExpression>;
|
|
1634
1634
|
/**
|
|
@@ -2052,10 +2052,10 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
2052
2052
|
*/
|
|
2053
2053
|
scroll_mode?: Type<DivGalleryScrollMode | DivExpression>;
|
|
2054
2054
|
/**
|
|
2055
|
-
* Scrollbar
|
|
2056
|
-
*
|
|
2057
|
-
* hidden.`auto`
|
|
2058
|
-
* current platform.
|
|
2055
|
+
* Scrollbar behavior. Hidden by default. When choosing a gallery size, keep in mind that the
|
|
2056
|
+
* scrollbar may have a different height and width depending on the platform and user settings.
|
|
2057
|
+
* `none` — the scrollbar is hidden.`auto` — the scrollbar is shown if there isn't enough space
|
|
2058
|
+
* and it needs to be displayed on the current platform.
|
|
2059
2059
|
*/
|
|
2060
2060
|
scrollbar?: Type<DivGalleryScrollbar | DivExpression>;
|
|
2061
2061
|
/**
|
|
@@ -2229,10 +2229,10 @@ interface DivGalleryProps {
|
|
|
2229
2229
|
*/
|
|
2230
2230
|
scroll_mode?: Type<DivGalleryScrollMode | DivExpression>;
|
|
2231
2231
|
/**
|
|
2232
|
-
* Scrollbar
|
|
2233
|
-
*
|
|
2234
|
-
* hidden.`auto`
|
|
2235
|
-
* current platform.
|
|
2232
|
+
* Scrollbar behavior. Hidden by default. When choosing a gallery size, keep in mind that the
|
|
2233
|
+
* scrollbar may have a different height and width depending on the platform and user settings.
|
|
2234
|
+
* `none` — the scrollbar is hidden.`auto` — the scrollbar is shown if there isn't enough space
|
|
2235
|
+
* and it needs to be displayed on the current platform.
|
|
2236
2236
|
*/
|
|
2237
2237
|
scrollbar?: Type<DivGalleryScrollbar | DivExpression>;
|
|
2238
2238
|
/**
|
|
@@ -5858,8 +5858,8 @@ interface IDivSightAction {
|
|
|
5858
5858
|
*/
|
|
5859
5859
|
download_callbacks?: Type<IDivDownloadCallbacks>;
|
|
5860
5860
|
/**
|
|
5861
|
-
*
|
|
5862
|
-
*
|
|
5861
|
+
* The parameter disables the action. Disabled actions stop listening to their associated event
|
|
5862
|
+
* (clicks, changes in visibility, and so on).
|
|
5863
5863
|
*/
|
|
5864
5864
|
is_enabled?: Type<IntBoolean | DivExpression>;
|
|
5865
5865
|
/**
|
|
@@ -8363,8 +8363,8 @@ interface IDivVisibilityAction {
|
|
|
8363
8363
|
*/
|
|
8364
8364
|
download_callbacks?: Type<IDivDownloadCallbacks>;
|
|
8365
8365
|
/**
|
|
8366
|
-
*
|
|
8367
|
-
*
|
|
8366
|
+
* The parameter disables the action. Disabled actions stop listening to their associated event
|
|
8367
|
+
* (clicks, changes in visibility, and so on).
|
|
8368
8368
|
*/
|
|
8369
8369
|
is_enabled?: Type<IntBoolean | DivExpression>;
|
|
8370
8370
|
/**
|