@feltmaps/js-sdk 1.7.0-next.3 → 1.7.0-next.4
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.cjs +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +1 -1
- package/dist/{controller-biHGMBte.d.cts → controller-BX0NMWZH.d.cts} +110 -104
- package/dist/{controller-biHGMBte.d.ts → controller-BX0NMWZH.d.ts} +110 -104
- package/dist/handler.cjs +1 -1
- package/dist/handler.d.cts +50 -50
- package/dist/handler.d.ts +50 -50
- package/dist/handler.js +1 -1
- package/package.json +1 -1
|
@@ -8235,8 +8235,8 @@ declare const placementForUiElementSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8235
8235
|
at: "start" | "end";
|
|
8236
8236
|
}>]>;
|
|
8237
8237
|
/**
|
|
8238
|
-
* Used in {@link UiController.
|
|
8239
|
-
* and in {@link UiController.
|
|
8238
|
+
* Used in {@link UiController.createPanel} to specify the position of a panel in the stack
|
|
8239
|
+
* and in {@link UiController.createPanelElements} to specify the position of an element in a panel.
|
|
8240
8240
|
*
|
|
8241
8241
|
* In both cases, the default value is `{ at: "end" }`.
|
|
8242
8242
|
*
|
|
@@ -8276,7 +8276,7 @@ interface UIElementLifecycle extends zInfer<typeof uiElementLifecycleSchema> {
|
|
|
8276
8276
|
}
|
|
8277
8277
|
|
|
8278
8278
|
declare const uiFlexibleSpaceElementSchemas: {
|
|
8279
|
-
|
|
8279
|
+
read: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8280
8280
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8281
8281
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8282
8282
|
}, {
|
|
@@ -8294,7 +8294,7 @@ declare const uiFlexibleSpaceElementSchemas: {
|
|
|
8294
8294
|
onCreate?: ((...args: unknown[]) => void) | undefined;
|
|
8295
8295
|
onDestroy?: ((...args: unknown[]) => void) | undefined;
|
|
8296
8296
|
}>;
|
|
8297
|
-
|
|
8297
|
+
create: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8298
8298
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8299
8299
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8300
8300
|
}, {
|
|
@@ -8332,15 +8332,15 @@ declare const uiFlexibleSpaceElementSchemas: {
|
|
|
8332
8332
|
}>;
|
|
8333
8333
|
};
|
|
8334
8334
|
/**
|
|
8335
|
-
* Only accepted for {@link
|
|
8335
|
+
* Only accepted for {@link UIButtonGroupElementCreate} elements.
|
|
8336
8336
|
*
|
|
8337
8337
|
* @public
|
|
8338
8338
|
*/
|
|
8339
|
-
interface
|
|
8339
|
+
interface UIFlexibleSpaceElementCreate extends UIElementLifecycle, Omit<zInfer<typeof uiFlexibleSpaceElementSchemas.create>, "onCreate" | "onDestroy"> {
|
|
8340
8340
|
}
|
|
8341
8341
|
|
|
8342
8342
|
declare const uiSelectElementSchemas: {
|
|
8343
|
-
|
|
8343
|
+
read: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8344
8344
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8345
8345
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8346
8346
|
}, {
|
|
@@ -8403,7 +8403,7 @@ declare const uiSelectElementSchemas: {
|
|
|
8403
8403
|
placeholder?: string | undefined;
|
|
8404
8404
|
search?: boolean | undefined;
|
|
8405
8405
|
}>;
|
|
8406
|
-
|
|
8406
|
+
create: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8407
8407
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8408
8408
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8409
8409
|
}, {
|
|
@@ -8528,7 +8528,7 @@ declare const uiSelectElementSchemas: {
|
|
|
8528
8528
|
*
|
|
8529
8529
|
* @public
|
|
8530
8530
|
*/
|
|
8531
|
-
interface
|
|
8531
|
+
interface UISelectElementCreate extends UIElementLifecycle, Omit<zInfer<typeof uiSelectElementSchemas.create>, "onCreate" | "onDestroy"> {
|
|
8532
8532
|
/**
|
|
8533
8533
|
* Event handler for when the value of the select changes.
|
|
8534
8534
|
*
|
|
@@ -8541,7 +8541,7 @@ interface UISelectElementInput extends UIElementLifecycle, Omit<zInfer<typeof ui
|
|
|
8541
8541
|
}
|
|
8542
8542
|
|
|
8543
8543
|
declare const uiButtonElementSchemas: {
|
|
8544
|
-
|
|
8544
|
+
read: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8545
8545
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8546
8546
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8547
8547
|
}, {
|
|
@@ -8590,7 +8590,7 @@ declare const uiButtonElementSchemas: {
|
|
|
8590
8590
|
variant?: "primary" | "outlined" | "transparent" | "transparentThin" | undefined;
|
|
8591
8591
|
disabled?: boolean | undefined;
|
|
8592
8592
|
}>;
|
|
8593
|
-
|
|
8593
|
+
create: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8594
8594
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8595
8595
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8596
8596
|
}, {
|
|
@@ -8694,7 +8694,7 @@ declare const uiButtonElementSchemas: {
|
|
|
8694
8694
|
*
|
|
8695
8695
|
* @public
|
|
8696
8696
|
*/
|
|
8697
|
-
interface
|
|
8697
|
+
interface UIButtonElementCreate extends UIElementLifecycle, Omit<zInfer<typeof uiButtonElementSchemas.create>, "onCreate" | "onDestroy"> {
|
|
8698
8698
|
/**
|
|
8699
8699
|
* Event handler for when the button is clicked.
|
|
8700
8700
|
*/
|
|
@@ -8702,7 +8702,7 @@ interface UIButtonElementInput extends UIElementLifecycle, Omit<zInfer<typeof ui
|
|
|
8702
8702
|
}
|
|
8703
8703
|
|
|
8704
8704
|
declare const uiTextElementSchemas: {
|
|
8705
|
-
|
|
8705
|
+
read: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8706
8706
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8707
8707
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8708
8708
|
}, {
|
|
@@ -8726,7 +8726,7 @@ declare const uiTextElementSchemas: {
|
|
|
8726
8726
|
onCreate?: ((...args: unknown[]) => void) | undefined;
|
|
8727
8727
|
onDestroy?: ((...args: unknown[]) => void) | undefined;
|
|
8728
8728
|
}>;
|
|
8729
|
-
|
|
8729
|
+
create: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8730
8730
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8731
8731
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8732
8732
|
}, {
|
|
@@ -8780,11 +8780,11 @@ declare const uiTextElementSchemas: {
|
|
|
8780
8780
|
*
|
|
8781
8781
|
* @public
|
|
8782
8782
|
*/
|
|
8783
|
-
interface
|
|
8783
|
+
interface UITextElementCreate extends UIElementLifecycle, Omit<zInfer<typeof uiTextElementSchemas.create>, "onCreate" | "onDestroy"> {
|
|
8784
8784
|
}
|
|
8785
8785
|
|
|
8786
8786
|
declare const uiButtonGroupElementSchemas: {
|
|
8787
|
-
|
|
8787
|
+
read: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8788
8788
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8789
8789
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8790
8790
|
}, {
|
|
@@ -8921,7 +8921,7 @@ declare const uiButtonGroupElementSchemas: {
|
|
|
8921
8921
|
onCreate?: ((...args: unknown[]) => void) | undefined;
|
|
8922
8922
|
onDestroy?: ((...args: unknown[]) => void) | undefined;
|
|
8923
8923
|
}>;
|
|
8924
|
-
|
|
8924
|
+
create: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8925
8925
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8926
8926
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
8927
8927
|
}, {
|
|
@@ -9204,12 +9204,12 @@ declare const uiButtonGroupElementSchemas: {
|
|
|
9204
9204
|
*
|
|
9205
9205
|
* @public
|
|
9206
9206
|
*/
|
|
9207
|
-
interface
|
|
9208
|
-
items: Array<
|
|
9207
|
+
interface UIButtonGroupElementCreate extends UIElementLifecycle, Omit<zInfer<typeof uiButtonGroupElementSchemas.create>, "onCreate" | "onDestroy"> {
|
|
9208
|
+
items: Array<UIButtonElementCreate | UITextElementCreate | UIFlexibleSpaceElementCreate>;
|
|
9209
9209
|
}
|
|
9210
9210
|
|
|
9211
9211
|
declare const uiDividerElementSchemas: {
|
|
9212
|
-
|
|
9212
|
+
read: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9213
9213
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
9214
9214
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
9215
9215
|
}, {
|
|
@@ -9227,7 +9227,7 @@ declare const uiDividerElementSchemas: {
|
|
|
9227
9227
|
onCreate?: ((...args: unknown[]) => void) | undefined;
|
|
9228
9228
|
onDestroy?: ((...args: unknown[]) => void) | undefined;
|
|
9229
9229
|
}>;
|
|
9230
|
-
|
|
9230
|
+
create: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9231
9231
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
9232
9232
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
9233
9233
|
}, {
|
|
@@ -9272,11 +9272,11 @@ declare const uiDividerElementSchemas: {
|
|
|
9272
9272
|
*
|
|
9273
9273
|
* @public
|
|
9274
9274
|
*/
|
|
9275
|
-
interface
|
|
9275
|
+
interface UIDividerElementCreate extends UIElementLifecycle, Omit<zInfer<typeof uiDividerElementSchemas.create>, "onCreate" | "onDestroy"> {
|
|
9276
9276
|
}
|
|
9277
9277
|
|
|
9278
9278
|
declare const uiTextInputElementSchemas: {
|
|
9279
|
-
|
|
9279
|
+
read: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9280
9280
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
9281
9281
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
9282
9282
|
}, {
|
|
@@ -9320,7 +9320,7 @@ declare const uiTextInputElementSchemas: {
|
|
|
9320
9320
|
onBlur?: ((args_0: string, ...args: unknown[]) => void) | undefined;
|
|
9321
9321
|
onFocus?: ((args_0: string, ...args: unknown[]) => void) | undefined;
|
|
9322
9322
|
}>;
|
|
9323
|
-
|
|
9323
|
+
create: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9324
9324
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
9325
9325
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
9326
9326
|
}, {
|
|
@@ -9444,7 +9444,7 @@ declare const uiTextInputElementSchemas: {
|
|
|
9444
9444
|
*
|
|
9445
9445
|
* @public
|
|
9446
9446
|
*/
|
|
9447
|
-
interface
|
|
9447
|
+
interface UITextInputElementCreate extends UIElementLifecycle, Omit<zInfer<typeof uiTextInputElementSchemas.create>, "onCreate" | "onDestroy"> {
|
|
9448
9448
|
/**
|
|
9449
9449
|
* Event handler for when the value of the input changes.
|
|
9450
9450
|
*
|
|
@@ -9475,7 +9475,7 @@ interface UITextInputElementInput extends UIElementLifecycle, Omit<zInfer<typeof
|
|
|
9475
9475
|
}
|
|
9476
9476
|
|
|
9477
9477
|
declare const uiPanelSchemas: {
|
|
9478
|
-
|
|
9478
|
+
read: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9479
9479
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
9480
9480
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
9481
9481
|
}, {
|
|
@@ -9488,7 +9488,7 @@ declare const uiPanelSchemas: {
|
|
|
9488
9488
|
title: z.ZodOptional<z.ZodString>;
|
|
9489
9489
|
}>, {
|
|
9490
9490
|
onClose: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
9491
|
-
|
|
9491
|
+
body: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9492
9492
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
9493
9493
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
9494
9494
|
}, {
|
|
@@ -10087,7 +10087,7 @@ declare const uiPanelSchemas: {
|
|
|
10087
10087
|
}>, "strip", z.ZodTypeAny, {
|
|
10088
10088
|
type: "Panel";
|
|
10089
10089
|
id: string;
|
|
10090
|
-
|
|
10090
|
+
body: ({
|
|
10091
10091
|
type: "Text";
|
|
10092
10092
|
id: string;
|
|
10093
10093
|
content: string;
|
|
@@ -10244,7 +10244,7 @@ declare const uiPanelSchemas: {
|
|
|
10244
10244
|
}, {
|
|
10245
10245
|
type: "Panel";
|
|
10246
10246
|
id: string;
|
|
10247
|
-
|
|
10247
|
+
body: ({
|
|
10248
10248
|
type: "Text";
|
|
10249
10249
|
id: string;
|
|
10250
10250
|
content: string;
|
|
@@ -10399,7 +10399,7 @@ declare const uiPanelSchemas: {
|
|
|
10399
10399
|
search?: boolean | undefined;
|
|
10400
10400
|
})[] | undefined;
|
|
10401
10401
|
}>;
|
|
10402
|
-
|
|
10402
|
+
create: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
10403
10403
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
10404
10404
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
10405
10405
|
}, {
|
|
@@ -10409,7 +10409,7 @@ declare const uiPanelSchemas: {
|
|
|
10409
10409
|
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10410
10410
|
}>, {
|
|
10411
10411
|
onClose: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
10412
|
-
|
|
10412
|
+
body: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
10413
10413
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
10414
10414
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
10415
10415
|
}, {
|
|
@@ -11066,7 +11066,7 @@ declare const uiPanelSchemas: {
|
|
|
11066
11066
|
search?: boolean | undefined;
|
|
11067
11067
|
}>]>, "many">>;
|
|
11068
11068
|
}>, "strip", z.ZodTypeAny, {
|
|
11069
|
-
|
|
11069
|
+
body: ({
|
|
11070
11070
|
type: "Text";
|
|
11071
11071
|
content: string;
|
|
11072
11072
|
id?: string | undefined;
|
|
@@ -11235,7 +11235,7 @@ declare const uiPanelSchemas: {
|
|
|
11235
11235
|
search?: boolean | undefined;
|
|
11236
11236
|
})[] | undefined;
|
|
11237
11237
|
}, {
|
|
11238
|
-
|
|
11238
|
+
body: ({
|
|
11239
11239
|
type: "Text";
|
|
11240
11240
|
content: string;
|
|
11241
11241
|
id?: string | undefined;
|
|
@@ -11414,7 +11414,7 @@ declare const uiPanelSchemas: {
|
|
|
11414
11414
|
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11415
11415
|
}>, {
|
|
11416
11416
|
onClose: z.ZodOptional<z.ZodString>;
|
|
11417
|
-
|
|
11417
|
+
body: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
11418
11418
|
onCreate: z.ZodOptional<z.ZodString>;
|
|
11419
11419
|
onDestroy: z.ZodOptional<z.ZodString>;
|
|
11420
11420
|
}, {
|
|
@@ -11991,7 +11991,7 @@ declare const uiPanelSchemas: {
|
|
|
11991
11991
|
search?: boolean | undefined;
|
|
11992
11992
|
}>]>, "many">>;
|
|
11993
11993
|
}>, "strip", z.ZodTypeAny, {
|
|
11994
|
-
|
|
11994
|
+
body: ({
|
|
11995
11995
|
type: "Text";
|
|
11996
11996
|
content: string;
|
|
11997
11997
|
id?: string | undefined;
|
|
@@ -12144,7 +12144,7 @@ declare const uiPanelSchemas: {
|
|
|
12144
12144
|
search?: boolean | undefined;
|
|
12145
12145
|
})[] | undefined;
|
|
12146
12146
|
}, {
|
|
12147
|
-
|
|
12147
|
+
body: ({
|
|
12148
12148
|
type: "Text";
|
|
12149
12149
|
content: string;
|
|
12150
12150
|
id?: string | undefined;
|
|
@@ -12299,7 +12299,7 @@ declare const uiPanelSchemas: {
|
|
|
12299
12299
|
}>;
|
|
12300
12300
|
};
|
|
12301
12301
|
/**
|
|
12302
|
-
* The
|
|
12302
|
+
* The panel to add to the map by using the {@link UiController.createPanel} method.
|
|
12303
12303
|
*
|
|
12304
12304
|
* @remarks
|
|
12305
12305
|
* For the sake of convenience, the `id` of the panel and its elements are optional,
|
|
@@ -12307,15 +12307,15 @@ declare const uiPanelSchemas: {
|
|
|
12307
12307
|
*
|
|
12308
12308
|
* @public
|
|
12309
12309
|
*/
|
|
12310
|
-
interface
|
|
12310
|
+
interface UIPanelCreate extends zInfer<typeof uiPanelSchemas.create> {
|
|
12311
12311
|
/**
|
|
12312
12312
|
* The elements to add to the panel body.
|
|
12313
12313
|
*/
|
|
12314
|
-
|
|
12314
|
+
body: UIPanelElementsCreate[];
|
|
12315
12315
|
/**
|
|
12316
12316
|
* The elements to add to the panel footer.
|
|
12317
12317
|
*/
|
|
12318
|
-
footer?:
|
|
12318
|
+
footer?: UIPanelElementsCreate[];
|
|
12319
12319
|
/**
|
|
12320
12320
|
* A function to call when panel's close button is clicked.
|
|
12321
12321
|
*/
|
|
@@ -12330,9 +12330,9 @@ interface UIPanelInput extends zInfer<typeof uiPanelSchemas.input> {
|
|
|
12330
12330
|
*
|
|
12331
12331
|
* @public
|
|
12332
12332
|
*/
|
|
12333
|
-
type
|
|
12333
|
+
type UIPanelElementsCreate = UITextElementCreate | UIButtonElementCreate | UITextInputElementCreate | UIDividerElementCreate | UIButtonGroupElementCreate | UISelectElementCreate;
|
|
12334
12334
|
|
|
12335
|
-
declare const
|
|
12335
|
+
declare const CreatePanelParamsSchema: z.ZodObject<{
|
|
12336
12336
|
panel: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
12337
12337
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
12338
12338
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
@@ -12343,7 +12343,7 @@ declare const AddPanelInputSchema: z.ZodObject<{
|
|
|
12343
12343
|
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12344
12344
|
}>, {
|
|
12345
12345
|
onClose: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
12346
|
-
|
|
12346
|
+
body: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
12347
12347
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
12348
12348
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
12349
12349
|
}, {
|
|
@@ -13000,7 +13000,7 @@ declare const AddPanelInputSchema: z.ZodObject<{
|
|
|
13000
13000
|
search?: boolean | undefined;
|
|
13001
13001
|
}>]>, "many">>;
|
|
13002
13002
|
}>, "strip", z.ZodTypeAny, {
|
|
13003
|
-
|
|
13003
|
+
body: ({
|
|
13004
13004
|
type: "Text";
|
|
13005
13005
|
content: string;
|
|
13006
13006
|
id?: string | undefined;
|
|
@@ -13169,7 +13169,7 @@ declare const AddPanelInputSchema: z.ZodObject<{
|
|
|
13169
13169
|
search?: boolean | undefined;
|
|
13170
13170
|
})[] | undefined;
|
|
13171
13171
|
}, {
|
|
13172
|
-
|
|
13172
|
+
body: ({
|
|
13173
13173
|
type: "Text";
|
|
13174
13174
|
content: string;
|
|
13175
13175
|
id?: string | undefined;
|
|
@@ -13359,7 +13359,7 @@ declare const AddPanelInputSchema: z.ZodObject<{
|
|
|
13359
13359
|
}>]>>;
|
|
13360
13360
|
}, "strip", z.ZodTypeAny, {
|
|
13361
13361
|
panel: {
|
|
13362
|
-
|
|
13362
|
+
body: ({
|
|
13363
13363
|
type: "Text";
|
|
13364
13364
|
content: string;
|
|
13365
13365
|
id?: string | undefined;
|
|
@@ -13537,7 +13537,7 @@ declare const AddPanelInputSchema: z.ZodObject<{
|
|
|
13537
13537
|
} | undefined;
|
|
13538
13538
|
}, {
|
|
13539
13539
|
panel: {
|
|
13540
|
-
|
|
13540
|
+
body: ({
|
|
13541
13541
|
type: "Text";
|
|
13542
13542
|
content: string;
|
|
13543
13543
|
id?: string | undefined;
|
|
@@ -13715,15 +13715,15 @@ declare const AddPanelInputSchema: z.ZodObject<{
|
|
|
13715
13715
|
} | undefined;
|
|
13716
13716
|
}>;
|
|
13717
13717
|
/**
|
|
13718
|
-
* The
|
|
13718
|
+
* The parameters for adding a panel to the map by using {@link UiController.createPanel}.
|
|
13719
13719
|
*
|
|
13720
13720
|
* @public
|
|
13721
13721
|
*/
|
|
13722
|
-
interface
|
|
13722
|
+
interface CreatePanelParams extends zInfer<typeof CreatePanelParamsSchema> {
|
|
13723
13723
|
/**
|
|
13724
13724
|
* The panel to add.
|
|
13725
13725
|
*/
|
|
13726
|
-
panel:
|
|
13726
|
+
panel: UIPanelCreate;
|
|
13727
13727
|
/**
|
|
13728
13728
|
* The placement of the panel on the right sidebar stack.
|
|
13729
13729
|
*
|
|
@@ -13731,10 +13731,14 @@ interface AddPanelInput extends zInfer<typeof AddPanelInputSchema> {
|
|
|
13731
13731
|
*/
|
|
13732
13732
|
placement?: PlacementForUIElement;
|
|
13733
13733
|
}
|
|
13734
|
-
declare const
|
|
13734
|
+
declare const UpdatePanelParamsSchema: z.ZodObject<{
|
|
13735
13735
|
type: z.ZodOptional<z.ZodOptional<z.ZodLiteral<"Panel">>>;
|
|
13736
13736
|
id: z.ZodString;
|
|
13737
|
-
|
|
13737
|
+
onCreate: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>>;
|
|
13738
|
+
onDestroy: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>>;
|
|
13739
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
13740
|
+
onClose: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>>;
|
|
13741
|
+
body: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
13738
13742
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
13739
13743
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
13740
13744
|
}, {
|
|
@@ -14062,10 +14066,6 @@ declare const UpdatePanelInputSchema: z.ZodObject<{
|
|
|
14062
14066
|
placeholder?: string | undefined;
|
|
14063
14067
|
search?: boolean | undefined;
|
|
14064
14068
|
}>]>, "many">>;
|
|
14065
|
-
onCreate: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>>;
|
|
14066
|
-
onDestroy: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>>;
|
|
14067
|
-
title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
14068
|
-
onClose: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>>;
|
|
14069
14069
|
footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
14070
14070
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
14071
14071
|
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
@@ -14397,7 +14397,11 @@ declare const UpdatePanelInputSchema: z.ZodObject<{
|
|
|
14397
14397
|
}, "strip", z.ZodTypeAny, {
|
|
14398
14398
|
id: string;
|
|
14399
14399
|
type?: "Panel" | undefined;
|
|
14400
|
-
|
|
14400
|
+
onCreate?: ((...args: unknown[]) => void) | undefined;
|
|
14401
|
+
onDestroy?: ((...args: unknown[]) => void) | undefined;
|
|
14402
|
+
title?: string | undefined;
|
|
14403
|
+
onClose?: ((...args: unknown[]) => void) | undefined;
|
|
14404
|
+
body?: ({
|
|
14401
14405
|
type: "Text";
|
|
14402
14406
|
content: string;
|
|
14403
14407
|
id?: string | undefined;
|
|
@@ -14478,10 +14482,6 @@ declare const UpdatePanelInputSchema: z.ZodObject<{
|
|
|
14478
14482
|
placeholder?: string | undefined;
|
|
14479
14483
|
search?: boolean | undefined;
|
|
14480
14484
|
})[] | undefined;
|
|
14481
|
-
onCreate?: ((...args: unknown[]) => void) | undefined;
|
|
14482
|
-
onDestroy?: ((...args: unknown[]) => void) | undefined;
|
|
14483
|
-
title?: string | undefined;
|
|
14484
|
-
onClose?: ((...args: unknown[]) => void) | undefined;
|
|
14485
14485
|
footer?: ({
|
|
14486
14486
|
type: "Text";
|
|
14487
14487
|
content: string;
|
|
@@ -14566,7 +14566,11 @@ declare const UpdatePanelInputSchema: z.ZodObject<{
|
|
|
14566
14566
|
}, {
|
|
14567
14567
|
id: string;
|
|
14568
14568
|
type?: "Panel" | undefined;
|
|
14569
|
-
|
|
14569
|
+
onCreate?: ((...args: unknown[]) => void) | undefined;
|
|
14570
|
+
onDestroy?: ((...args: unknown[]) => void) | undefined;
|
|
14571
|
+
title?: string | undefined;
|
|
14572
|
+
onClose?: ((...args: unknown[]) => void) | undefined;
|
|
14573
|
+
body?: ({
|
|
14570
14574
|
type: "Text";
|
|
14571
14575
|
content: string;
|
|
14572
14576
|
id?: string | undefined;
|
|
@@ -14647,10 +14651,6 @@ declare const UpdatePanelInputSchema: z.ZodObject<{
|
|
|
14647
14651
|
placeholder?: string | undefined;
|
|
14648
14652
|
search?: boolean | undefined;
|
|
14649
14653
|
})[] | undefined;
|
|
14650
|
-
onCreate?: ((...args: unknown[]) => void) | undefined;
|
|
14651
|
-
onDestroy?: ((...args: unknown[]) => void) | undefined;
|
|
14652
|
-
title?: string | undefined;
|
|
14653
|
-
onClose?: ((...args: unknown[]) => void) | undefined;
|
|
14654
14654
|
footer?: ({
|
|
14655
14655
|
type: "Text";
|
|
14656
14656
|
content: string;
|
|
@@ -14736,11 +14736,11 @@ declare const UpdatePanelInputSchema: z.ZodObject<{
|
|
|
14736
14736
|
/**
|
|
14737
14737
|
* @public
|
|
14738
14738
|
*/
|
|
14739
|
-
interface
|
|
14740
|
-
|
|
14741
|
-
footer?:
|
|
14739
|
+
interface UpdatePanelParams extends zInfer<typeof UpdatePanelParamsSchema> {
|
|
14740
|
+
body?: CreatePanelParams["panel"]["body"];
|
|
14741
|
+
footer?: CreatePanelParams["panel"]["footer"];
|
|
14742
14742
|
}
|
|
14743
|
-
declare const
|
|
14743
|
+
declare const CreatePanelElementsParamsSchema: z.ZodObject<{
|
|
14744
14744
|
panelId: z.ZodString;
|
|
14745
14745
|
elements: z.ZodArray<z.ZodObject<{
|
|
14746
14746
|
element: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -15088,7 +15088,7 @@ declare const AddPanelElementsInputSchema: z.ZodObject<{
|
|
|
15088
15088
|
onCreate?: ((...args: unknown[]) => void) | undefined;
|
|
15089
15089
|
onDestroy?: ((...args: unknown[]) => void) | undefined;
|
|
15090
15090
|
}>]>;
|
|
15091
|
-
|
|
15091
|
+
container: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"body">, z.ZodLiteral<"footer">, z.ZodObject<{
|
|
15092
15092
|
id: z.ZodString;
|
|
15093
15093
|
}, "strip", z.ZodTypeAny, {
|
|
15094
15094
|
id: string;
|
|
@@ -15208,7 +15208,7 @@ declare const AddPanelElementsInputSchema: z.ZodObject<{
|
|
|
15208
15208
|
} | {
|
|
15209
15209
|
at: "start" | "end";
|
|
15210
15210
|
} | undefined;
|
|
15211
|
-
|
|
15211
|
+
container?: "body" | "footer" | {
|
|
15212
15212
|
id: string;
|
|
15213
15213
|
} | undefined;
|
|
15214
15214
|
}, {
|
|
@@ -15305,7 +15305,7 @@ declare const AddPanelElementsInputSchema: z.ZodObject<{
|
|
|
15305
15305
|
} | {
|
|
15306
15306
|
at: "start" | "end";
|
|
15307
15307
|
} | undefined;
|
|
15308
|
-
|
|
15308
|
+
container?: "body" | "footer" | {
|
|
15309
15309
|
id: string;
|
|
15310
15310
|
} | undefined;
|
|
15311
15311
|
}>, "many">;
|
|
@@ -15405,7 +15405,7 @@ declare const AddPanelElementsInputSchema: z.ZodObject<{
|
|
|
15405
15405
|
} | {
|
|
15406
15406
|
at: "start" | "end";
|
|
15407
15407
|
} | undefined;
|
|
15408
|
-
|
|
15408
|
+
container?: "body" | "footer" | {
|
|
15409
15409
|
id: string;
|
|
15410
15410
|
} | undefined;
|
|
15411
15411
|
}[];
|
|
@@ -15505,7 +15505,7 @@ declare const AddPanelElementsInputSchema: z.ZodObject<{
|
|
|
15505
15505
|
} | {
|
|
15506
15506
|
at: "start" | "end";
|
|
15507
15507
|
} | undefined;
|
|
15508
|
-
|
|
15508
|
+
container?: "body" | "footer" | {
|
|
15509
15509
|
id: string;
|
|
15510
15510
|
} | undefined;
|
|
15511
15511
|
}[];
|
|
@@ -15513,17 +15513,17 @@ declare const AddPanelElementsInputSchema: z.ZodObject<{
|
|
|
15513
15513
|
/**
|
|
15514
15514
|
* @public
|
|
15515
15515
|
*/
|
|
15516
|
-
interface
|
|
15516
|
+
interface CreatePanelElementsParams extends zInfer<typeof CreatePanelElementsParamsSchema> {
|
|
15517
15517
|
elements: Array<{
|
|
15518
|
-
element:
|
|
15518
|
+
element: UIPanelElementsCreate | UIFlexibleSpaceElementCreate;
|
|
15519
15519
|
/**
|
|
15520
15520
|
* The section of the panel to add the element to.
|
|
15521
|
-
* It can be either one of the top-level sections of the panel (`"
|
|
15521
|
+
* It can be either one of the top-level sections of the panel (`"body"` or `"footer"`)
|
|
15522
15522
|
* or a specific container (like `ButtonGroup`) in the panel (`{ id: string }`).
|
|
15523
15523
|
*
|
|
15524
|
-
* @defaultValue `"
|
|
15524
|
+
* @defaultValue `"body"`
|
|
15525
15525
|
*/
|
|
15526
|
-
|
|
15526
|
+
container?: "body" | "footer" | {
|
|
15527
15527
|
id: string;
|
|
15528
15528
|
};
|
|
15529
15529
|
/**
|
|
@@ -15534,7 +15534,7 @@ interface AddPanelElementsInput extends zInfer<typeof AddPanelElementsInputSchem
|
|
|
15534
15534
|
placement?: PlacementForUIElement;
|
|
15535
15535
|
}>;
|
|
15536
15536
|
}
|
|
15537
|
-
declare const
|
|
15537
|
+
declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
15538
15538
|
/**
|
|
15539
15539
|
* The ID of the panel to update.
|
|
15540
15540
|
*/
|
|
@@ -16046,17 +16046,17 @@ declare const UpdatePanelElementsInputSchema: z.ZodObject<{
|
|
|
16046
16046
|
/**
|
|
16047
16047
|
* @public
|
|
16048
16048
|
*/
|
|
16049
|
-
interface
|
|
16049
|
+
interface UpdatePanelElementsParams extends zInfer<typeof UpdatePanelElementsParamsSchema> {
|
|
16050
16050
|
/**
|
|
16051
16051
|
* Dictionary of element IDs to the element to update.
|
|
16052
16052
|
*/
|
|
16053
|
-
elements: Record<string,
|
|
16053
|
+
elements: Record<string, UIPanelElementsCreate | UIFlexibleSpaceElementCreate>;
|
|
16054
16054
|
}
|
|
16055
16055
|
/**
|
|
16056
16056
|
* @internal
|
|
16057
16057
|
* @ignore
|
|
16058
16058
|
*/
|
|
16059
|
-
declare const
|
|
16059
|
+
declare const DeletePanelElementsParamsSchema: z.ZodObject<{
|
|
16060
16060
|
panelId: z.ZodString;
|
|
16061
16061
|
elements: z.ZodArray<z.ZodString, "many">;
|
|
16062
16062
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16069,7 +16069,7 @@ declare const DeletePanelElementsSchema: z.ZodObject<{
|
|
|
16069
16069
|
/**
|
|
16070
16070
|
* @public
|
|
16071
16071
|
*/
|
|
16072
|
-
interface
|
|
16072
|
+
interface DeletePanelElementsParams extends zInfer<typeof DeletePanelElementsParamsSchema> {
|
|
16073
16073
|
}
|
|
16074
16074
|
/**
|
|
16075
16075
|
* @public
|
|
@@ -16220,20 +16220,26 @@ declare const UiOnMapInteractionsOptionsSchema: z.ZodObject<{
|
|
|
16220
16220
|
*/
|
|
16221
16221
|
interface UiController {
|
|
16222
16222
|
/**
|
|
16223
|
-
*
|
|
16224
|
-
*
|
|
16223
|
+
* Creates a panel on map's right sidebar.
|
|
16224
|
+
*
|
|
16225
|
+
* Panels are useful to extend Felt UI for your own use cases (e.g. a form, a settings panel, etc.)
|
|
16226
|
+
* by using Felt UI elements (e.g. Text, Button, etc.). This way the user experience is consistent
|
|
16227
|
+
* with the rest of Felt.
|
|
16228
|
+
*
|
|
16229
|
+
* Panels have two sections:
|
|
16230
|
+
* - `body` - Body of the panel, scrollable.
|
|
16231
|
+
* - `footer` - It sticks to the bottom of the panel, useful to add submit buttons.
|
|
16225
16232
|
*
|
|
16226
16233
|
* By default, the panel will be added to the end of the stack but you can
|
|
16227
16234
|
* specify a placement to add it at a specific position in the stack.
|
|
16228
16235
|
*
|
|
16236
|
+
* Once created, you can add elements to the panel by using the {@link createPanelElements} method or
|
|
16237
|
+
* perform partial updates of elements by using the {@link updatePanelElements} method.
|
|
16238
|
+
*
|
|
16229
16239
|
* When adding a panel, its id is optional as well as its elements' ids.
|
|
16230
16240
|
* It is recommended to provide an id for the panel and its elements to make
|
|
16231
16241
|
* it easier to update or delete them later.
|
|
16232
16242
|
*
|
|
16233
|
-
* Panels have two sections:
|
|
16234
|
-
* - `items` - Body of the panel, scrollable.
|
|
16235
|
-
* - `footer` - It sticks to the bottom of the panel, useful to add submit buttons.
|
|
16236
|
-
*
|
|
16237
16243
|
* @param args - The arguments for the method.
|
|
16238
16244
|
* @param args.panel - The panel to add.
|
|
16239
16245
|
* @param args.placement - The placement of the panel. Optional. Defaults to `{ at: "end" }`.
|
|
@@ -16244,11 +16250,11 @@ interface UiController {
|
|
|
16244
16250
|
*
|
|
16245
16251
|
* @example
|
|
16246
16252
|
* ```typescript
|
|
16247
|
-
* await felt.
|
|
16253
|
+
* await felt.createPanel({
|
|
16248
16254
|
* panel: {
|
|
16249
16255
|
* id: "panel-1", // not required but useful for further updates
|
|
16250
16256
|
* title: "My Panel",
|
|
16251
|
-
*
|
|
16257
|
+
* body: [
|
|
16252
16258
|
* {
|
|
16253
16259
|
* type: "Text",
|
|
16254
16260
|
* content: "Hello, world!",
|
|
@@ -16273,7 +16279,7 @@ interface UiController {
|
|
|
16273
16279
|
* });
|
|
16274
16280
|
* ```
|
|
16275
16281
|
*/
|
|
16276
|
-
|
|
16282
|
+
createPanel(args: CreatePanelParams): void;
|
|
16277
16283
|
/**
|
|
16278
16284
|
* Updates a panel.
|
|
16279
16285
|
*
|
|
@@ -16294,7 +16300,7 @@ interface UiController {
|
|
|
16294
16300
|
* });
|
|
16295
16301
|
* ```
|
|
16296
16302
|
*/
|
|
16297
|
-
updatePanel(panel:
|
|
16303
|
+
updatePanel(panel: UpdatePanelParams): void;
|
|
16298
16304
|
/**
|
|
16299
16305
|
* Deletes a panel.
|
|
16300
16306
|
*
|
|
@@ -16306,7 +16312,7 @@ interface UiController {
|
|
|
16306
16312
|
*/
|
|
16307
16313
|
deletePanel(id: string): void;
|
|
16308
16314
|
/**
|
|
16309
|
-
*
|
|
16315
|
+
* Creates elements in a panel.
|
|
16310
16316
|
*
|
|
16311
16317
|
* @param args - The arguments for the method.
|
|
16312
16318
|
* @param args.panelId - The id of the panel to add the elements to.
|
|
@@ -16316,8 +16322,8 @@ interface UiController {
|
|
|
16316
16322
|
*
|
|
16317
16323
|
* - `element`: The element to add.
|
|
16318
16324
|
*
|
|
16319
|
-
* - `
|
|
16320
|
-
* - `
|
|
16325
|
+
* - `container`: The section of the panel to add the element to. To point to a specific container, use the `id` of the container. Optional. Defaults to `body`.
|
|
16326
|
+
* - `body` - Add the element to the body section of the panel.
|
|
16321
16327
|
* - `footer` - Add the element to the footer section of the panel.
|
|
16322
16328
|
* - `{ id: "container-1" }` - Add the element to the container identified by `id`.
|
|
16323
16329
|
*
|
|
@@ -16329,19 +16335,19 @@ interface UiController {
|
|
|
16329
16335
|
*
|
|
16330
16336
|
* @example
|
|
16331
16337
|
* ```typescript
|
|
16332
|
-
* await felt.
|
|
16338
|
+
* await felt.createPanelElements({
|
|
16333
16339
|
* panelId: "panel-1",
|
|
16334
16340
|
* elements: [
|
|
16335
16341
|
* {
|
|
16336
16342
|
* element: { type: "Text", content: "Hello, world!" },
|
|
16337
|
-
*
|
|
16343
|
+
* container: "body",
|
|
16338
16344
|
* placement: { at: "start" },
|
|
16339
16345
|
* },
|
|
16340
16346
|
* ],
|
|
16341
16347
|
* });
|
|
16342
16348
|
* ```
|
|
16343
16349
|
*/
|
|
16344
|
-
|
|
16350
|
+
createPanelElements(args: CreatePanelElementsParams): void;
|
|
16345
16351
|
/**
|
|
16346
16352
|
* Updates an element in a panel.
|
|
16347
16353
|
*
|
|
@@ -16359,7 +16365,7 @@ interface UiController {
|
|
|
16359
16365
|
* });
|
|
16360
16366
|
* ```
|
|
16361
16367
|
*/
|
|
16362
|
-
updatePanelElements(args:
|
|
16368
|
+
updatePanelElements(args: UpdatePanelElementsParams): void;
|
|
16363
16369
|
/**
|
|
16364
16370
|
* Deletes elements from a panel.
|
|
16365
16371
|
*
|
|
@@ -16374,7 +16380,7 @@ interface UiController {
|
|
|
16374
16380
|
* });
|
|
16375
16381
|
* ```
|
|
16376
16382
|
*/
|
|
16377
|
-
deletePanelElements(args:
|
|
16383
|
+
deletePanelElements(args: DeletePanelElementsParams): void;
|
|
16378
16384
|
/**
|
|
16379
16385
|
* Updates the UI controls on the embedded map.
|
|
16380
16386
|
*
|
|
@@ -16793,4 +16799,4 @@ interface FeltController extends ViewportController, UiController, LayersControl
|
|
|
16793
16799
|
iframe: HTMLIFrameElement | null;
|
|
16794
16800
|
}
|
|
16795
16801
|
|
|
16796
|
-
export type { LayerChangeCallbackParams as $, TextElementUpdate as A, ElementsController as B, CircleElementCreate as C, MapInteractionEvent as D, Element as E, FeltController as F, GetElementGroupsConstraint as G, HighlighterElementCreate as H, ImageElementCreate as I, InteractionsController as J, CreateLayersFromGeoJsonParams as K, LinkElementRead as L, MarkerElementCreate as M, NoteElementCreate as N, DataOnlyLayer as O, PathElementCreate as P, FeltTiledVectorSource as Q, GeoJsonDataVectorSource as R, GeoJsonFileVectorSource as S, TextElementCreate as T, UiControlsOptions as U, ViewportCenterZoom as V, GeoJsonUrlVectorSource as W, GetLayerGroupsConstraint as X, GetLayersConstraint as Y, GetRenderedFeaturesConstraint as Z, Layer as _, CircleElementRead as a, LngLatTuple as a$, LayerCommon as a0, LayerGroup as a1, LayerGroupChangeCallbackParams as a2, LayerProcessingStatus as a3, LegendItem as a4, LegendItemChangeCallbackParams as a5, LegendItemIdentifier as a6, LegendItemsConstraint as a7, RasterBand as a8, RasterLayer as a9, GetLayerCategoriesParams as aA, GetLayerHistogramBin as aB, GetLayerHistogramParams as aC, GetLayerPrecomputedCalculationParams as aD, GridConfig as aE, GridType as aF, MultiAggregationConfig as aG, PrecomputedAggregationMethod as aH, ValueConfiguration as aI, LayersController as aJ, MapDetails as aK, MiscController as aL, ElementGroupNode as aM, ElementNode as aN, EntityNode as aO, FeatureNode as aP, FeatureSelection as aQ, LayerGroupNode as aR, LayerNode as aS, SelectionController as aT, FeltBoundary as aU, FeltZoom as aV, GeoJsonFeature as aW, GeoJsonGeometry as aX, GeoJsonProperties as aY, LatLng as aZ, LineStringGeometry as a_, RasterLayerSource as aa, UpdateLayerParams as ab, VectorLayer as ac, LayerFeature as ad, RasterValue as ae, LayerSchema as af, LayerSchemaAttribute as ag, LayerSchemaBooleanAttribute as ah, LayerSchemaCommonAttribute as ai, LayerSchemaDateAttribute as aj, LayerSchemaDateTimeAttribute as ak, LayerSchemaNumericAttribute as al, LayerSchemaTextAttribute as am, FilterExpression as an, FilterLogicGate as ao, FilterTernary as ap, Filters as aq, GeometryFilter as ar, LayerBoundaries as as, LayerFilters as at, AggregatedGridConfig as au, AggregationConfig as av, AggregationMethod as aw, CountGridConfig as ax, GetLayerCalculationParams as ay, GetLayerCategoriesGroup as az, CircleElementUpdate as b, MultiLineStringGeometry as b0, MultiPointGeometry as b1, MultiPolygonGeometry as b2, PointGeometry as b3, PolygonGeometry as b4, SetVisibilityRequest as b5, SortConfig as b6, SortDirection as b7, CircleToolSettings as b8, ConfigurableToolType as b9,
|
|
16802
|
+
export type { LayerChangeCallbackParams as $, TextElementUpdate as A, ElementsController as B, CircleElementCreate as C, MapInteractionEvent as D, Element as E, FeltController as F, GetElementGroupsConstraint as G, HighlighterElementCreate as H, ImageElementCreate as I, InteractionsController as J, CreateLayersFromGeoJsonParams as K, LinkElementRead as L, MarkerElementCreate as M, NoteElementCreate as N, DataOnlyLayer as O, PathElementCreate as P, FeltTiledVectorSource as Q, GeoJsonDataVectorSource as R, GeoJsonFileVectorSource as S, TextElementCreate as T, UiControlsOptions as U, ViewportCenterZoom as V, GeoJsonUrlVectorSource as W, GetLayerGroupsConstraint as X, GetLayersConstraint as Y, GetRenderedFeaturesConstraint as Z, Layer as _, CircleElementRead as a, LngLatTuple as a$, LayerCommon as a0, LayerGroup as a1, LayerGroupChangeCallbackParams as a2, LayerProcessingStatus as a3, LegendItem as a4, LegendItemChangeCallbackParams as a5, LegendItemIdentifier as a6, LegendItemsConstraint as a7, RasterBand as a8, RasterLayer as a9, GetLayerCategoriesParams as aA, GetLayerHistogramBin as aB, GetLayerHistogramParams as aC, GetLayerPrecomputedCalculationParams as aD, GridConfig as aE, GridType as aF, MultiAggregationConfig as aG, PrecomputedAggregationMethod as aH, ValueConfiguration as aI, LayersController as aJ, MapDetails as aK, MiscController as aL, ElementGroupNode as aM, ElementNode as aN, EntityNode as aO, FeatureNode as aP, FeatureSelection as aQ, LayerGroupNode as aR, LayerNode as aS, SelectionController as aT, FeltBoundary as aU, FeltZoom as aV, GeoJsonFeature as aW, GeoJsonGeometry as aX, GeoJsonProperties as aY, LatLng as aZ, LineStringGeometry as a_, RasterLayerSource as aa, UpdateLayerParams as ab, VectorLayer as ac, LayerFeature as ad, RasterValue as ae, LayerSchema as af, LayerSchemaAttribute as ag, LayerSchemaBooleanAttribute as ah, LayerSchemaCommonAttribute as ai, LayerSchemaDateAttribute as aj, LayerSchemaDateTimeAttribute as ak, LayerSchemaNumericAttribute as al, LayerSchemaTextAttribute as am, FilterExpression as an, FilterLogicGate as ao, FilterTernary as ap, Filters as aq, GeometryFilter as ar, LayerBoundaries as as, LayerFilters as at, AggregatedGridConfig as au, AggregationConfig as av, AggregationMethod as aw, CountGridConfig as ax, GetLayerCalculationParams as ay, GetLayerCategoriesGroup as az, CircleElementUpdate as b, MultiLineStringGeometry as b0, MultiPointGeometry as b1, MultiPolygonGeometry as b2, PointGeometry as b3, PolygonGeometry as b4, SetVisibilityRequest as b5, SortConfig as b6, SortDirection as b7, CircleToolSettings as b8, ConfigurableToolType as b9, UIDividerElementCreate as bA, UIFlexibleSpaceElementCreate as bB, UISelectElementCreate as bC, UITextElementCreate as bD, UITextInputElementCreate as bE, UiController as bF, SetViewportCenterZoomParams as bG, ViewportConstraints as bH, ViewportFitBoundsParams as bI, ViewportState as bJ, ViewportController as bK, UnwrapPromise as bL, UnionToIntersection as bM, PromiseOrNot as bN, HighlighterToolSettings as ba, InputToolSettings as bb, LineToolSettings as bc, MarkerToolSettings as bd, NoteToolSettings as be, PinToolSettings as bf, PlaceFrame as bg, PlaceSymbol as bh, PolygonToolSettings as bi, RouteToolSettings as bj, TextToolSettings as bk, ToolSettingsChangeEvent as bl, ToolSettingsMap as bm, ToolType as bn, ToolsController as bo, CreatePanelElementsParams as bp, CreatePanelParams as bq, DeletePanelElementsParams as br, UiOnMapInteractionsOptions as bs, UpdatePanelElementsParams as bt, UpdatePanelParams as bu, PlacementForUIElement as bv, UIPanelCreate as bw, UIPanelElementsCreate as bx, UIButtonElementCreate as by, UIButtonGroupElementCreate as bz, ElementChangeCallbackParams as c, ElementCreate as d, ElementGroup as e, ElementGroupChangeCallbackParams as f, ElementUpdate as g, GetElementsConstraint as h, HighlighterElementRead as i, HighlighterElementUpdate as j, ImageElementRead as k, ImageElementUpdate as l, MarkerElementRead as m, MarkerElementUpdate as n, NoteElementRead as o, NoteElementUpdate as p, PathElementRead as q, PathElementUpdate as r, PlaceElementCreate as s, PlaceElementRead as t, PlaceElementUpdate as u, PolygonElementCreate as v, PolygonElementRead as w, PolygonElementUpdate as x, TextElementRead as y, zInfer as z };
|