@feltmaps/js-sdk 1.7.0-next.18 → 1.7.0-next.19
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/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/{controller-Cxe3l6SR.d.cts → controller-1ASv6qZb.d.cts} +433 -12
- package/dist/{controller-Cxe3l6SR.d.ts → controller-1ASv6qZb.d.ts} +433 -12
- package/dist/controller-bundled.d.ts +433 -12
- package/dist/handler.cjs +1 -1
- package/dist/handler.d.cts +249 -10
- package/dist/handler.d.ts +249 -10
- package/dist/handler.js +1 -1
- package/package.json +1 -1
|
@@ -9670,6 +9670,161 @@ interface UIButtonElementCreateClonable extends MakeClonableSchema<UIButtonEleme
|
|
|
9670
9670
|
interface UIButtonElementUpdate extends MakeUpdateSchema<UIButtonElement, UIButtonElementCreate> {
|
|
9671
9671
|
}
|
|
9672
9672
|
|
|
9673
|
+
/**
|
|
9674
|
+
* Represents a row of buttons.
|
|
9675
|
+
*
|
|
9676
|
+
* It is useful to group buttons together and align them.
|
|
9677
|
+
*
|
|
9678
|
+
* Unlike on {@link UIGridContainerElement}, buttons do not expand to fill the container.
|
|
9679
|
+
* Instead, they use the space they need and are wrapped to the next line when they overflow.
|
|
9680
|
+
*
|
|
9681
|
+
* ### Label
|
|
9682
|
+
*
|
|
9683
|
+
* A label can be added to the button row using the `label` property.
|
|
9684
|
+
*
|
|
9685
|
+
* <figure>
|
|
9686
|
+
* <img src="./img/button-row-label.png" alt="Label" />
|
|
9687
|
+
* <figcaption>Label</figcaption>
|
|
9688
|
+
* </figure>
|
|
9689
|
+
*
|
|
9690
|
+
* ```typescript
|
|
9691
|
+
* {
|
|
9692
|
+
* type: "ButtonRow",
|
|
9693
|
+
* label: "Zoom control",
|
|
9694
|
+
* items: [
|
|
9695
|
+
* { type: "Button", label: "Increase", onClick: () => {} },
|
|
9696
|
+
* { type: "Button", label: "Decrease", onClick: () => {} },
|
|
9697
|
+
* ],
|
|
9698
|
+
* }
|
|
9699
|
+
* ```
|
|
9700
|
+
*
|
|
9701
|
+
* ### Alignment
|
|
9702
|
+
*
|
|
9703
|
+
* It is possible to align the button row to the start or end of the container using the `align` property.
|
|
9704
|
+
*
|
|
9705
|
+
* #### Start alignment
|
|
9706
|
+
*
|
|
9707
|
+
* <figure>
|
|
9708
|
+
* <img src="./img/button-row-start-alignment.png" alt="Start alignment" />
|
|
9709
|
+
* <figcaption>Start alignment</figcaption>
|
|
9710
|
+
* </figure>
|
|
9711
|
+
*
|
|
9712
|
+
* ```typescript
|
|
9713
|
+
* {
|
|
9714
|
+
* type: "ButtonRow",
|
|
9715
|
+
* align: "start", // default value
|
|
9716
|
+
* items: [
|
|
9717
|
+
* { type: "Button", label: "Button 1", onClick: () => {} },
|
|
9718
|
+
* { type: "Button", label: "Button 2", onClick: () => {} },
|
|
9719
|
+
* ],
|
|
9720
|
+
* }
|
|
9721
|
+
* ```
|
|
9722
|
+
*
|
|
9723
|
+
* #### End alignment
|
|
9724
|
+
*
|
|
9725
|
+
* <figure>
|
|
9726
|
+
* <img src="./img/button-row-end-alignment.png" alt="End alignment" />
|
|
9727
|
+
* <figcaption>End alignment</figcaption>
|
|
9728
|
+
* </figure>
|
|
9729
|
+
*
|
|
9730
|
+
* ```typescript
|
|
9731
|
+
* {
|
|
9732
|
+
* type: "ButtonRow",
|
|
9733
|
+
* align: "end",
|
|
9734
|
+
* items: [
|
|
9735
|
+
* { type: "Button", label: "Button 1", onClick: () => {} },
|
|
9736
|
+
* { type: "Button", label: "Button 2", onClick: () => {} },
|
|
9737
|
+
* ],
|
|
9738
|
+
* }
|
|
9739
|
+
* ```
|
|
9740
|
+
*
|
|
9741
|
+
* ### Overflow
|
|
9742
|
+
*
|
|
9743
|
+
* When buttons overflow the container, they are wrapped to the next line.
|
|
9744
|
+
*
|
|
9745
|
+
* <figure>
|
|
9746
|
+
* <img src="./img/button-row-overflow.png" alt="Overflow" />
|
|
9747
|
+
* <figcaption>Overflow</figcaption>
|
|
9748
|
+
* </figure>
|
|
9749
|
+
*
|
|
9750
|
+
* ```typescript
|
|
9751
|
+
* {
|
|
9752
|
+
* type: "ButtonRow",
|
|
9753
|
+
* items: [
|
|
9754
|
+
* { type: "Button", label: "Button with a very long text", onClick: () => {} },
|
|
9755
|
+
* { type: "Button", label: "Button 2", onClick: () => {} },
|
|
9756
|
+
* { type: "Button", label: "Button 3", onClick: () => {} },
|
|
9757
|
+
* ],
|
|
9758
|
+
* }
|
|
9759
|
+
* ```
|
|
9760
|
+
*
|
|
9761
|
+
* ### With Grid container
|
|
9762
|
+
*
|
|
9763
|
+
* {@link UIGridContainerElement}, as a generic container, can render {@link UIButtonRowElement} as well.
|
|
9764
|
+
*
|
|
9765
|
+
* In this example, the combination of {@link UIGridContainerElement} and {@link UIButtonRowElement} is used to layout a footer
|
|
9766
|
+
* where the buttons are aligned to the end of the container and the text is at the start.
|
|
9767
|
+
*
|
|
9768
|
+
* <figure>
|
|
9769
|
+
* <img src="./img/button-row-with-grid-container.png" alt="With Grid container" />
|
|
9770
|
+
* <figcaption>With Grid container</figcaption>
|
|
9771
|
+
* </figure>
|
|
9772
|
+
*
|
|
9773
|
+
* ```typescript
|
|
9774
|
+
* {
|
|
9775
|
+
* type: "Grid",
|
|
9776
|
+
* grid: "auto-flow / 1fr auto",
|
|
9777
|
+
* rowItemsJustify: "space-between",
|
|
9778
|
+
* rowItemsAlign: "center",
|
|
9779
|
+
* items: [
|
|
9780
|
+
* { type: "Text", content: "Continue?" },
|
|
9781
|
+
* {
|
|
9782
|
+
* type: "ButtonRow",
|
|
9783
|
+
* align: "end",
|
|
9784
|
+
* items: [
|
|
9785
|
+
* { type: "Button", variant: "transparent", label: "Cancel", onClick: () => {} },
|
|
9786
|
+
* { type: "Button", variant: "filled", tint: "primary", label: "Continue", onClick: () => {} },
|
|
9787
|
+
* ]
|
|
9788
|
+
* },
|
|
9789
|
+
* ],
|
|
9790
|
+
* }
|
|
9791
|
+
* ```
|
|
9792
|
+
*/
|
|
9793
|
+
interface UIButtonRowElement extends UILabelReadyElement {
|
|
9794
|
+
type: "ButtonRow";
|
|
9795
|
+
/**
|
|
9796
|
+
* The alignment of the button row.
|
|
9797
|
+
*
|
|
9798
|
+
* @defaultValue `"start"`
|
|
9799
|
+
*/
|
|
9800
|
+
align?: "start" | "end";
|
|
9801
|
+
/**
|
|
9802
|
+
* The items to add to the button row.
|
|
9803
|
+
*/
|
|
9804
|
+
items: Array<UIButtonElement>;
|
|
9805
|
+
}
|
|
9806
|
+
/**
|
|
9807
|
+
* The parameters for creating a button row element.
|
|
9808
|
+
*
|
|
9809
|
+
* See {@link UIButtonRowElement} for more details.
|
|
9810
|
+
*/
|
|
9811
|
+
interface UIButtonRowElementCreate extends Omit<UIButtonRowElement, "id" | "items">, UILabelReadyElementCreateParams {
|
|
9812
|
+
/**
|
|
9813
|
+
* The items to add to the button row.
|
|
9814
|
+
*/
|
|
9815
|
+
items: Array<UIButtonElementCreate>;
|
|
9816
|
+
}
|
|
9817
|
+
type UIButtonRowElementCreateClonable = Omit<MakeClonableSchema<UIButtonRowElementCreate>, "items"> & {
|
|
9818
|
+
items: Array<UIButtonElementCreateClonable>;
|
|
9819
|
+
};
|
|
9820
|
+
/**
|
|
9821
|
+
* The parameters for updating a button row element.
|
|
9822
|
+
*
|
|
9823
|
+
* See {@link UIButtonRowElement} for more details.
|
|
9824
|
+
*/
|
|
9825
|
+
interface UIButtonRowElementUpdate extends MakeUpdateSchema<UIButtonRowElement, UIButtonRowElementCreate> {
|
|
9826
|
+
}
|
|
9827
|
+
|
|
9673
9828
|
declare const uiDividerElementSchema: ZodObject<objectUtil.extendShape<objectUtil.extendShape<{
|
|
9674
9829
|
onCreate: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
9675
9830
|
id: ZodString;
|
|
@@ -10524,22 +10679,22 @@ type UIGridContainerElementCreateClonable = Omit<MakeClonableSchema<UIGridContai
|
|
|
10524
10679
|
interface UIGridContainerElementUpdate extends MakeUpdateSchema<UIGridContainerElement, UIGridContainerElementCreate> {
|
|
10525
10680
|
}
|
|
10526
10681
|
|
|
10527
|
-
type UIPanelElement = UIButtonElement | UITextElement | UIDividerElement | UITextInputElement | UISelectElement | UIFlexibleSpaceElement | UIGridContainerElement;
|
|
10682
|
+
type UIPanelElement = UIButtonElement | UITextElement | UIDividerElement | UITextInputElement | UISelectElement | UIFlexibleSpaceElement | UIButtonRowElement | UIGridContainerElement;
|
|
10528
10683
|
/**
|
|
10529
10684
|
* This is a union of all the possible elements that can be created inside panel's body or footer.
|
|
10530
10685
|
*
|
|
10531
10686
|
* @remarks
|
|
10532
10687
|
* For the sake of convenience, `id` is optional but recommended if you want to be able to perform updates.
|
|
10533
10688
|
*/
|
|
10534
|
-
type UIPanelElementCreate = UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIGridContainerElementCreate;
|
|
10535
|
-
type UIPanelElementCreateClonable = UIButtonElementCreateClonable | UITextElementCreateClonable | UIDividerElementCreateClonable | UITextInputElementCreateClonable | UISelectElementCreateClonable | UIFlexibleSpaceElementCreateClonable | UIGridContainerElementCreateClonable;
|
|
10689
|
+
type UIPanelElementCreate = UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UIGridContainerElementCreate;
|
|
10690
|
+
type UIPanelElementCreateClonable = UIButtonElementCreateClonable | UITextElementCreateClonable | UIDividerElementCreateClonable | UITextInputElementCreateClonable | UISelectElementCreateClonable | UIFlexibleSpaceElementCreateClonable | UIButtonRowElementCreateClonable | UIGridContainerElementCreateClonable;
|
|
10536
10691
|
/**
|
|
10537
10692
|
* This is a union of all the possible elements that can be updated inside panel's body or footer (excluding Divider and FlexibleSpace elements because they cannot be updated).
|
|
10538
10693
|
*
|
|
10539
10694
|
* @remarks
|
|
10540
10695
|
* `id` and `type` are required to identify the element to update.
|
|
10541
10696
|
*/
|
|
10542
|
-
type UIPanelElementUpdate = UIButtonElementUpdate | UITextElementUpdate | UITextInputElementUpdate | UISelectElementUpdate | UIDividerElementUpdate | UIGridContainerElementUpdate | UIFlexibleSpaceElementUpdate;
|
|
10697
|
+
type UIPanelElementUpdate = UIButtonElementUpdate | UITextElementUpdate | UITextInputElementUpdate | UISelectElementUpdate | UIDividerElementUpdate | UIButtonRowElementUpdate | UIGridContainerElementUpdate | UIFlexibleSpaceElementUpdate;
|
|
10543
10698
|
|
|
10544
10699
|
declare const placementForUiElementSchema: ZodUnion<[ZodObject<{
|
|
10545
10700
|
after: ZodString;
|
|
@@ -11847,6 +12002,160 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
11847
12002
|
onDestroy?: ((args_0: {
|
|
11848
12003
|
id: string;
|
|
11849
12004
|
}, ...args: unknown[]) => void) | undefined;
|
|
12005
|
+
}>, ZodObject<{
|
|
12006
|
+
type: ZodLiteral<"ButtonRow">;
|
|
12007
|
+
id: ZodString;
|
|
12008
|
+
align: ZodOptional<ZodOptional<ZodEnum<["start", "end"]>>>;
|
|
12009
|
+
onCreate: ZodOptional<ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12010
|
+
id: ZodString;
|
|
12011
|
+
}, "strip", ZodTypeAny, {
|
|
12012
|
+
id: string;
|
|
12013
|
+
}, {
|
|
12014
|
+
id: string;
|
|
12015
|
+
}>], ZodUnknown>, ZodVoid>>>;
|
|
12016
|
+
onDestroy: ZodOptional<ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12017
|
+
id: ZodString;
|
|
12018
|
+
}, "strip", ZodTypeAny, {
|
|
12019
|
+
id: string;
|
|
12020
|
+
}, {
|
|
12021
|
+
id: string;
|
|
12022
|
+
}>], ZodUnknown>, ZodVoid>>>;
|
|
12023
|
+
label: ZodOptional<ZodOptional<ZodString>>;
|
|
12024
|
+
items: ZodOptional<ZodArray<ZodObject<objectUtil.extendShape<objectUtil.extendShape<objectUtil.extendShape<{
|
|
12025
|
+
onCreate: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12026
|
+
id: ZodString;
|
|
12027
|
+
}, "strip", ZodTypeAny, {
|
|
12028
|
+
id: string;
|
|
12029
|
+
}, {
|
|
12030
|
+
id: string;
|
|
12031
|
+
}>], ZodUnknown>, ZodVoid>>;
|
|
12032
|
+
onDestroy: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12033
|
+
id: ZodString;
|
|
12034
|
+
}, "strip", ZodTypeAny, {
|
|
12035
|
+
id: string;
|
|
12036
|
+
}, {
|
|
12037
|
+
id: string;
|
|
12038
|
+
}>], ZodUnknown>, ZodVoid>>;
|
|
12039
|
+
}, {
|
|
12040
|
+
id: ZodString;
|
|
12041
|
+
}>, {
|
|
12042
|
+
type: ZodLiteral<"Button">;
|
|
12043
|
+
label: ZodString;
|
|
12044
|
+
variant: ZodOptional<ZodEnum<["filled", "transparent", "outlined"]>>;
|
|
12045
|
+
tint: ZodOptional<ZodEnum<["default", "primary", "accent", "danger"]>>;
|
|
12046
|
+
disabled: ZodOptional<ZodBoolean>;
|
|
12047
|
+
onClick: ZodFunction<ZodTuple<[ZodObject<{
|
|
12048
|
+
id: ZodString;
|
|
12049
|
+
}, "strip", ZodTypeAny, {
|
|
12050
|
+
id: string;
|
|
12051
|
+
}, {
|
|
12052
|
+
id: string;
|
|
12053
|
+
}>], ZodUnknown>, ZodVoid>;
|
|
12054
|
+
}>, {
|
|
12055
|
+
id: ZodOptional<ZodString>;
|
|
12056
|
+
onCreate: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12057
|
+
id: ZodString;
|
|
12058
|
+
}, "strip", ZodTypeAny, {
|
|
12059
|
+
id: string;
|
|
12060
|
+
}, {
|
|
12061
|
+
id: string;
|
|
12062
|
+
}>], ZodUnknown>, ZodVoid>>;
|
|
12063
|
+
onDestroy: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12064
|
+
id: ZodString;
|
|
12065
|
+
}, "strip", ZodTypeAny, {
|
|
12066
|
+
id: string;
|
|
12067
|
+
}, {
|
|
12068
|
+
id: string;
|
|
12069
|
+
}>], ZodUnknown>, ZodVoid>>;
|
|
12070
|
+
}>, "strip", ZodTypeAny, {
|
|
12071
|
+
type: "Button";
|
|
12072
|
+
label: string;
|
|
12073
|
+
onClick: (args_0: {
|
|
12074
|
+
id: string;
|
|
12075
|
+
}, ...args: unknown[]) => void;
|
|
12076
|
+
id?: string | undefined;
|
|
12077
|
+
onCreate?: ((args_0: {
|
|
12078
|
+
id: string;
|
|
12079
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12080
|
+
onDestroy?: ((args_0: {
|
|
12081
|
+
id: string;
|
|
12082
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12083
|
+
disabled?: boolean | undefined;
|
|
12084
|
+
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
12085
|
+
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
12086
|
+
}, {
|
|
12087
|
+
type: "Button";
|
|
12088
|
+
label: string;
|
|
12089
|
+
onClick: (args_0: {
|
|
12090
|
+
id: string;
|
|
12091
|
+
}, ...args: unknown[]) => void;
|
|
12092
|
+
id?: string | undefined;
|
|
12093
|
+
onCreate?: ((args_0: {
|
|
12094
|
+
id: string;
|
|
12095
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12096
|
+
onDestroy?: ((args_0: {
|
|
12097
|
+
id: string;
|
|
12098
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12099
|
+
disabled?: boolean | undefined;
|
|
12100
|
+
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
12101
|
+
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
12102
|
+
}>, "many">>;
|
|
12103
|
+
}, UnknownKeysParam, ZodTypeAny, {
|
|
12104
|
+
type: "ButtonRow";
|
|
12105
|
+
id: string;
|
|
12106
|
+
align?: "start" | "end" | undefined;
|
|
12107
|
+
items?: {
|
|
12108
|
+
type: "Button";
|
|
12109
|
+
label: string;
|
|
12110
|
+
onClick: (args_0: {
|
|
12111
|
+
id: string;
|
|
12112
|
+
}, ...args: unknown[]) => void;
|
|
12113
|
+
id?: string | undefined;
|
|
12114
|
+
onCreate?: ((args_0: {
|
|
12115
|
+
id: string;
|
|
12116
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12117
|
+
onDestroy?: ((args_0: {
|
|
12118
|
+
id: string;
|
|
12119
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12120
|
+
disabled?: boolean | undefined;
|
|
12121
|
+
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
12122
|
+
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
12123
|
+
}[] | undefined;
|
|
12124
|
+
onCreate?: ((args_0: {
|
|
12125
|
+
id: string;
|
|
12126
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12127
|
+
onDestroy?: ((args_0: {
|
|
12128
|
+
id: string;
|
|
12129
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12130
|
+
label?: string | undefined;
|
|
12131
|
+
}, {
|
|
12132
|
+
type: "ButtonRow";
|
|
12133
|
+
id: string;
|
|
12134
|
+
align?: "start" | "end" | undefined;
|
|
12135
|
+
items?: {
|
|
12136
|
+
type: "Button";
|
|
12137
|
+
label: string;
|
|
12138
|
+
onClick: (args_0: {
|
|
12139
|
+
id: string;
|
|
12140
|
+
}, ...args: unknown[]) => void;
|
|
12141
|
+
id?: string | undefined;
|
|
12142
|
+
onCreate?: ((args_0: {
|
|
12143
|
+
id: string;
|
|
12144
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12145
|
+
onDestroy?: ((args_0: {
|
|
12146
|
+
id: string;
|
|
12147
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12148
|
+
disabled?: boolean | undefined;
|
|
12149
|
+
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
12150
|
+
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
12151
|
+
}[] | undefined;
|
|
12152
|
+
onCreate?: ((args_0: {
|
|
12153
|
+
id: string;
|
|
12154
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12155
|
+
onDestroy?: ((args_0: {
|
|
12156
|
+
id: string;
|
|
12157
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12158
|
+
label?: string | undefined;
|
|
11850
12159
|
}>, ZodObject<{
|
|
11851
12160
|
type: ZodLiteral<"Grid">;
|
|
11852
12161
|
id: ZodString;
|
|
@@ -11867,11 +12176,11 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
11867
12176
|
grid: ZodOptional<ZodOptional<ZodString>>;
|
|
11868
12177
|
verticalAlignment: ZodOptional<ZodOptional<ZodEnum<["top", "center", "bottom"]>>>;
|
|
11869
12178
|
horizontalDistribution: ZodOptional<ZodOptional<ZodEnum<["start", "center", "end", "space-between", "space-around", "space-evenly"]>>>;
|
|
11870
|
-
items: ZodOptional<ZodType<(UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[], ZodTypeDef, (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[]>>;
|
|
12179
|
+
items: ZodOptional<ZodType<(UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[], ZodTypeDef, (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[]>>;
|
|
11871
12180
|
}, UnknownKeysParam, ZodTypeAny, {
|
|
11872
12181
|
type: "Grid";
|
|
11873
12182
|
id: string;
|
|
11874
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
|
|
12183
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
11875
12184
|
onCreate?: ((args_0: {
|
|
11876
12185
|
id: string;
|
|
11877
12186
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -11884,7 +12193,7 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
11884
12193
|
}, {
|
|
11885
12194
|
type: "Grid";
|
|
11886
12195
|
id: string;
|
|
11887
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
|
|
12196
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
11888
12197
|
onCreate?: ((args_0: {
|
|
11889
12198
|
id: string;
|
|
11890
12199
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -11985,10 +12294,38 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
11985
12294
|
onDestroy?: ((args_0: {
|
|
11986
12295
|
id: string;
|
|
11987
12296
|
}, ...args: unknown[]) => void) | undefined;
|
|
12297
|
+
} | {
|
|
12298
|
+
type: "ButtonRow";
|
|
12299
|
+
id: string;
|
|
12300
|
+
align?: "start" | "end" | undefined;
|
|
12301
|
+
items?: {
|
|
12302
|
+
type: "Button";
|
|
12303
|
+
label: string;
|
|
12304
|
+
onClick: (args_0: {
|
|
12305
|
+
id: string;
|
|
12306
|
+
}, ...args: unknown[]) => void;
|
|
12307
|
+
id?: string | undefined;
|
|
12308
|
+
onCreate?: ((args_0: {
|
|
12309
|
+
id: string;
|
|
12310
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12311
|
+
onDestroy?: ((args_0: {
|
|
12312
|
+
id: string;
|
|
12313
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12314
|
+
disabled?: boolean | undefined;
|
|
12315
|
+
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
12316
|
+
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
12317
|
+
}[] | undefined;
|
|
12318
|
+
onCreate?: ((args_0: {
|
|
12319
|
+
id: string;
|
|
12320
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12321
|
+
onDestroy?: ((args_0: {
|
|
12322
|
+
id: string;
|
|
12323
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12324
|
+
label?: string | undefined;
|
|
11988
12325
|
} | {
|
|
11989
12326
|
type: "Grid";
|
|
11990
12327
|
id: string;
|
|
11991
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
|
|
12328
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
11992
12329
|
onCreate?: ((args_0: {
|
|
11993
12330
|
id: string;
|
|
11994
12331
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -12089,10 +12426,38 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12089
12426
|
onDestroy?: ((args_0: {
|
|
12090
12427
|
id: string;
|
|
12091
12428
|
}, ...args: unknown[]) => void) | undefined;
|
|
12429
|
+
} | {
|
|
12430
|
+
type: "ButtonRow";
|
|
12431
|
+
id: string;
|
|
12432
|
+
align?: "start" | "end" | undefined;
|
|
12433
|
+
items?: {
|
|
12434
|
+
type: "Button";
|
|
12435
|
+
label: string;
|
|
12436
|
+
onClick: (args_0: {
|
|
12437
|
+
id: string;
|
|
12438
|
+
}, ...args: unknown[]) => void;
|
|
12439
|
+
id?: string | undefined;
|
|
12440
|
+
onCreate?: ((args_0: {
|
|
12441
|
+
id: string;
|
|
12442
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12443
|
+
onDestroy?: ((args_0: {
|
|
12444
|
+
id: string;
|
|
12445
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12446
|
+
disabled?: boolean | undefined;
|
|
12447
|
+
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
12448
|
+
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
12449
|
+
}[] | undefined;
|
|
12450
|
+
onCreate?: ((args_0: {
|
|
12451
|
+
id: string;
|
|
12452
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12453
|
+
onDestroy?: ((args_0: {
|
|
12454
|
+
id: string;
|
|
12455
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12456
|
+
label?: string | undefined;
|
|
12092
12457
|
} | {
|
|
12093
12458
|
type: "Grid";
|
|
12094
12459
|
id: string;
|
|
12095
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
|
|
12460
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
12096
12461
|
onCreate?: ((args_0: {
|
|
12097
12462
|
id: string;
|
|
12098
12463
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -12196,10 +12561,38 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12196
12561
|
onDestroy?: ((args_0: {
|
|
12197
12562
|
id: string;
|
|
12198
12563
|
}, ...args: unknown[]) => void) | undefined;
|
|
12564
|
+
} | {
|
|
12565
|
+
type: "ButtonRow";
|
|
12566
|
+
id: string;
|
|
12567
|
+
align?: "start" | "end" | undefined;
|
|
12568
|
+
items?: {
|
|
12569
|
+
type: "Button";
|
|
12570
|
+
label: string;
|
|
12571
|
+
onClick: (args_0: {
|
|
12572
|
+
id: string;
|
|
12573
|
+
}, ...args: unknown[]) => void;
|
|
12574
|
+
id?: string | undefined;
|
|
12575
|
+
onCreate?: ((args_0: {
|
|
12576
|
+
id: string;
|
|
12577
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12578
|
+
onDestroy?: ((args_0: {
|
|
12579
|
+
id: string;
|
|
12580
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12581
|
+
disabled?: boolean | undefined;
|
|
12582
|
+
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
12583
|
+
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
12584
|
+
}[] | undefined;
|
|
12585
|
+
onCreate?: ((args_0: {
|
|
12586
|
+
id: string;
|
|
12587
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12588
|
+
onDestroy?: ((args_0: {
|
|
12589
|
+
id: string;
|
|
12590
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12591
|
+
label?: string | undefined;
|
|
12199
12592
|
} | {
|
|
12200
12593
|
type: "Grid";
|
|
12201
12594
|
id: string;
|
|
12202
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
|
|
12595
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
12203
12596
|
onCreate?: ((args_0: {
|
|
12204
12597
|
id: string;
|
|
12205
12598
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -12303,10 +12696,38 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12303
12696
|
onDestroy?: ((args_0: {
|
|
12304
12697
|
id: string;
|
|
12305
12698
|
}, ...args: unknown[]) => void) | undefined;
|
|
12699
|
+
} | {
|
|
12700
|
+
type: "ButtonRow";
|
|
12701
|
+
id: string;
|
|
12702
|
+
align?: "start" | "end" | undefined;
|
|
12703
|
+
items?: {
|
|
12704
|
+
type: "Button";
|
|
12705
|
+
label: string;
|
|
12706
|
+
onClick: (args_0: {
|
|
12707
|
+
id: string;
|
|
12708
|
+
}, ...args: unknown[]) => void;
|
|
12709
|
+
id?: string | undefined;
|
|
12710
|
+
onCreate?: ((args_0: {
|
|
12711
|
+
id: string;
|
|
12712
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12713
|
+
onDestroy?: ((args_0: {
|
|
12714
|
+
id: string;
|
|
12715
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12716
|
+
disabled?: boolean | undefined;
|
|
12717
|
+
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
12718
|
+
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
12719
|
+
}[] | undefined;
|
|
12720
|
+
onCreate?: ((args_0: {
|
|
12721
|
+
id: string;
|
|
12722
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12723
|
+
onDestroy?: ((args_0: {
|
|
12724
|
+
id: string;
|
|
12725
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12726
|
+
label?: string | undefined;
|
|
12306
12727
|
} | {
|
|
12307
12728
|
type: "Grid";
|
|
12308
12729
|
id: string;
|
|
12309
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate)[] | undefined;
|
|
12730
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
12310
12731
|
onCreate?: ((args_0: {
|
|
12311
12732
|
id: string;
|
|
12312
12733
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -13141,4 +13562,4 @@ interface FeltController extends ViewportController, UiController, LayersControl
|
|
|
13141
13562
|
iframe: HTMLIFrameElement | null;
|
|
13142
13563
|
}
|
|
13143
13564
|
|
|
13144
|
-
export { type LayerChangeCallbackParams as $, type TextElementUpdate as A, type ElementsController as B, type CircleElementCreate as C, type MapInteractionEvent as D, type Element as E, type FeltController as F, type GetElementGroupsConstraint as G, type HighlighterElementCreate as H, type ImageElementCreate as I, type InteractionsController as J, type CreateLayersFromGeoJsonParams as K, type LinkElementRead as L, type MarkerElementCreate as M, type NoteElementCreate as N, type DataOnlyLayer as O, type PathElementCreate as P, type FeltTiledVectorSource as Q, type GeoJsonDataVectorSource as R, type GeoJsonFileVectorSource as S, type TextElementCreate as T, type UiControlsOptions as U, type ViewportCenterZoom as V, type GeoJsonUrlVectorSource as W, type GetLayerGroupsConstraint as X, type GetLayersConstraint as Y, type GetRenderedFeaturesConstraint as Z, type Layer as _, type CircleElementRead as a, type LngLatTuple as a$, type LayerCommon as a0, type LayerGroup as a1, type LayerGroupChangeCallbackParams as a2, type LayerProcessingStatus as a3, type LegendItem as a4, type LegendItemChangeCallbackParams as a5, type LegendItemIdentifier as a6, type LegendItemsConstraint as a7, type RasterBand as a8, type RasterLayer as a9, type GetLayerCategoriesParams as aA, type GetLayerHistogramBin as aB, type GetLayerHistogramParams as aC, type GetLayerPrecomputedCalculationParams as aD, type GridConfig as aE, type GridType as aF, type MultiAggregationConfig as aG, type PrecomputedAggregationMethod as aH, type ValueConfiguration as aI, type LayersController as aJ, type MapDetails as aK, type MiscController as aL, type ElementGroupNode as aM, type ElementNode as aN, type EntityNode as aO, type FeatureNode as aP, type FeatureSelection as aQ, type LayerGroupNode as aR, type LayerNode as aS, type SelectionController as aT, type FeltBoundary as aU, type FeltZoom as aV, type GeoJsonFeature as aW, type GeoJsonGeometry as aX, type GeoJsonProperties as aY, type LatLng as aZ, type LineStringGeometry as a_, type RasterLayerSource as aa, type UpdateLayerParams as ab, type VectorLayer as ac, type LayerFeature as ad, type RasterValue as ae, type LayerSchema as af, type LayerSchemaAttribute as ag, type LayerSchemaBooleanAttribute as ah, type LayerSchemaCommonAttribute as ai, type LayerSchemaDateAttribute as aj, type LayerSchemaDateTimeAttribute as ak, type LayerSchemaNumericAttribute as al, type LayerSchemaTextAttribute as am, type FilterExpression as an, type FilterLogicGate as ao, type FilterTernary as ap, type Filters as aq, type GeometryFilter as ar, type LayerBoundaries as as, type LayerFilters as at, type AggregatedGridConfig as au, type AggregationConfig as av, type AggregationMethod as aw, type CountGridConfig as ax, type GetLayerCalculationParams as ay, type GetLayerCategoriesGroup as az, type CircleElementUpdate as b, type
|
|
13565
|
+
export { type LayerChangeCallbackParams as $, type TextElementUpdate as A, type ElementsController as B, type CircleElementCreate as C, type MapInteractionEvent as D, type Element as E, type FeltController as F, type GetElementGroupsConstraint as G, type HighlighterElementCreate as H, type ImageElementCreate as I, type InteractionsController as J, type CreateLayersFromGeoJsonParams as K, type LinkElementRead as L, type MarkerElementCreate as M, type NoteElementCreate as N, type DataOnlyLayer as O, type PathElementCreate as P, type FeltTiledVectorSource as Q, type GeoJsonDataVectorSource as R, type GeoJsonFileVectorSource as S, type TextElementCreate as T, type UiControlsOptions as U, type ViewportCenterZoom as V, type GeoJsonUrlVectorSource as W, type GetLayerGroupsConstraint as X, type GetLayersConstraint as Y, type GetRenderedFeaturesConstraint as Z, type Layer as _, type CircleElementRead as a, type LngLatTuple as a$, type LayerCommon as a0, type LayerGroup as a1, type LayerGroupChangeCallbackParams as a2, type LayerProcessingStatus as a3, type LegendItem as a4, type LegendItemChangeCallbackParams as a5, type LegendItemIdentifier as a6, type LegendItemsConstraint as a7, type RasterBand as a8, type RasterLayer as a9, type GetLayerCategoriesParams as aA, type GetLayerHistogramBin as aB, type GetLayerHistogramParams as aC, type GetLayerPrecomputedCalculationParams as aD, type GridConfig as aE, type GridType as aF, type MultiAggregationConfig as aG, type PrecomputedAggregationMethod as aH, type ValueConfiguration as aI, type LayersController as aJ, type MapDetails as aK, type MiscController as aL, type ElementGroupNode as aM, type ElementNode as aN, type EntityNode as aO, type FeatureNode as aP, type FeatureSelection as aQ, type LayerGroupNode as aR, type LayerNode as aS, type SelectionController as aT, type FeltBoundary as aU, type FeltZoom as aV, type GeoJsonFeature as aW, type GeoJsonGeometry as aX, type GeoJsonProperties as aY, type LatLng as aZ, type LineStringGeometry as a_, type RasterLayerSource as aa, type UpdateLayerParams as ab, type VectorLayer as ac, type LayerFeature as ad, type RasterValue as ae, type LayerSchema as af, type LayerSchemaAttribute as ag, type LayerSchemaBooleanAttribute as ah, type LayerSchemaCommonAttribute as ai, type LayerSchemaDateAttribute as aj, type LayerSchemaDateTimeAttribute as ak, type LayerSchemaNumericAttribute as al, type LayerSchemaTextAttribute as am, type FilterExpression as an, type FilterLogicGate as ao, type FilterTernary as ap, type Filters as aq, type GeometryFilter as ar, type LayerBoundaries as as, type LayerFilters as at, type AggregatedGridConfig as au, type AggregationConfig as av, type AggregationMethod as aw, type CountGridConfig as ax, type GetLayerCalculationParams as ay, type GetLayerCategoriesGroup as az, type CircleElementUpdate as b, type UiController as b$, type MultiLineStringGeometry as b0, type MultiPointGeometry as b1, type MultiPolygonGeometry as b2, type PointGeometry as b3, type PolygonGeometry as b4, type SetVisibilityRequest as b5, type SortConfig as b6, type SortDirection as b7, type CircleToolSettings as b8, type ConfigurableToolType as b9, type UIButtonElementCreate as bA, type UIButtonElementUpdate as bB, type UITextElement as bC, type UITextElementCreate as bD, type UITextElementUpdate as bE, type UIFlexibleSpaceElement as bF, type UIFlexibleSpaceElementCreate as bG, type UIFlexibleSpaceElementUpdate as bH, type UIDividerElement as bI, type UIDividerElementCreate as bJ, type UIDividerElementUpdate as bK, type UITextInputElement as bL, type UITextInputElementCreate as bM, type UITextInputElementUpdate as bN, type UISelectElement as bO, type UISelectElementCreate as bP, type UISelectElementUpdate as bQ, type UIPanelElement as bR, type UIPanelElementCreate as bS, type UIPanelElementUpdate as bT, type UIGridContainerElement as bU, type UIGridContainerElementCreate as bV, type UIGridContainerElementUpdate as bW, type UIButtonRowElement as bX, type UIButtonRowElementCreate as bY, type UIButtonRowElementUpdate as bZ, type UIActionTriggerCreate as b_, type HighlighterToolSettings as ba, type InputToolSettings as bb, type LineToolSettings as bc, type MarkerToolSettings as bd, type NoteToolSettings as be, type PinToolSettings as bf, type PlaceFrame as bg, type PlaceSymbol as bh, type PolygonToolSettings as bi, type RouteToolSettings as bj, type TextToolSettings as bk, type ToolSettingsChangeEvent as bl, type ToolSettingsMap as bm, type ToolType as bn, type ToolsController as bo, type CreateActionTriggerParams as bp, type CreateOrUpdatePanelParams as bq, type CreatePanelElementsParams as br, type DeletePanelElementsParams as bs, type UiOnMapInteractionsOptions as bt, type UpdateActionTriggerParams as bu, type UpdatePanelElementsParams as bv, type PlacementForUIElement as bw, type UIPanel as bx, type UIPanelCreateOrUpdate as by, type UIButtonElement as bz, type ElementChangeCallbackParams as c, type SetViewportCenterZoomParams as c0, type ViewportConstraints as c1, type ViewportFitBoundsParams as c2, type ViewportState as c3, type ViewportController as c4, type UnwrapPromise as c5, uiActionTriggerSchema as c6, type UIPanelElementCreateClonable as c7, uiPanelCreateSchema as c8, type UIButtonElementCreateClonable as c9, type MakeClonableSchema as ca, type UIButtonRowElementCreateClonable as cb, type PromiseOrNot as cc, type UnionToIntersection as cd, type ElementCreate as d, type ElementGroup as e, type ElementGroupChangeCallbackParams as f, type ElementUpdate as g, type GetElementsConstraint as h, type HighlighterElementRead as i, type HighlighterElementUpdate as j, type ImageElementRead as k, type ImageElementUpdate as l, type MarkerElementRead as m, type MarkerElementUpdate as n, type NoteElementRead as o, type NoteElementUpdate as p, type PathElementRead as q, type PathElementUpdate as r, type PlaceElementCreate as s, type PlaceElementRead as t, type PlaceElementUpdate as u, type PolygonElementCreate as v, type PolygonElementRead as w, type PolygonElementUpdate as x, type TextElementRead as y, type zInfer as z };
|