@feltmaps/js-sdk 1.7.0-next.19 → 1.7.0-next.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/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/{controller-1ASv6qZb.d.cts → controller-9JZIE1UX.d.cts} +1200 -135
- package/dist/{controller-1ASv6qZb.d.ts → controller-9JZIE1UX.d.ts} +1200 -135
- package/dist/controller-bundled.d.ts +1200 -135
- package/dist/handler.cjs +1 -1
- package/dist/handler.d.cts +405 -10
- package/dist/handler.d.ts +405 -10
- package/dist/handler.js +1 -1
- package/package.json +1 -1
|
@@ -9525,6 +9525,44 @@ type MakeUpdateSchema<TElement extends {
|
|
|
9525
9525
|
id?: string;
|
|
9526
9526
|
type: string;
|
|
9527
9527
|
}> = Omit<Partial<TElementCreate>, "id" | "type"> & Pick<TElement, "id" | "type">;
|
|
9528
|
+
declare const uiControlElementOptionSchema: ZodObject<{
|
|
9529
|
+
label: ZodString;
|
|
9530
|
+
value: ZodString;
|
|
9531
|
+
disabled: ZodOptional<ZodBoolean>;
|
|
9532
|
+
}, "strip", ZodTypeAny, {
|
|
9533
|
+
value: string;
|
|
9534
|
+
label: string;
|
|
9535
|
+
disabled?: boolean | undefined;
|
|
9536
|
+
}, {
|
|
9537
|
+
value: string;
|
|
9538
|
+
label: string;
|
|
9539
|
+
disabled?: boolean | undefined;
|
|
9540
|
+
}>;
|
|
9541
|
+
/**
|
|
9542
|
+
* An option to display in a control element.
|
|
9543
|
+
*
|
|
9544
|
+
* Control elements are elements that allow the user to select one or more values from a list of options.
|
|
9545
|
+
* This includes:
|
|
9546
|
+
* - {@link UIRadioGroupElement}
|
|
9547
|
+
* - {@link UICheckboxGroupElement}
|
|
9548
|
+
* - {@link UIToggleGroupElement}
|
|
9549
|
+
* - {@link UISelectElement}
|
|
9550
|
+
*
|
|
9551
|
+
* The option can be disabled by setting the `disabled` property to `true`.
|
|
9552
|
+
*
|
|
9553
|
+
* @example
|
|
9554
|
+
* ```typescript
|
|
9555
|
+
* { label: "Option A", value: "optionA" }
|
|
9556
|
+
* ```
|
|
9557
|
+
*
|
|
9558
|
+
* @example
|
|
9559
|
+
* A disabled option
|
|
9560
|
+
* ```typescript
|
|
9561
|
+
* { label: "Option A", value: "optionA", disabled: true }
|
|
9562
|
+
* ```
|
|
9563
|
+
*/
|
|
9564
|
+
interface UIControlElementOption extends zInfer<typeof uiControlElementOptionSchema> {
|
|
9565
|
+
}
|
|
9528
9566
|
|
|
9529
9567
|
declare const uiButtonElementSchema: ZodObject<objectUtil.extendShape<objectUtil.extendShape<{
|
|
9530
9568
|
onCreate: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
@@ -9825,6 +9863,164 @@ type UIButtonRowElementCreateClonable = Omit<MakeClonableSchema<UIButtonRowEleme
|
|
|
9825
9863
|
interface UIButtonRowElementUpdate extends MakeUpdateSchema<UIButtonRowElement, UIButtonRowElementCreate> {
|
|
9826
9864
|
}
|
|
9827
9865
|
|
|
9866
|
+
declare const uiCheckboxGroupElementSchema: ZodObject<objectUtil.extendShape<objectUtil.extendShape<objectUtil.extendShape<{
|
|
9867
|
+
onCreate: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
9868
|
+
id: ZodString;
|
|
9869
|
+
}, "strip", ZodTypeAny, {
|
|
9870
|
+
id: string;
|
|
9871
|
+
}, {
|
|
9872
|
+
id: string;
|
|
9873
|
+
}>], ZodUnknown>, ZodVoid>>;
|
|
9874
|
+
onDestroy: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
9875
|
+
id: ZodString;
|
|
9876
|
+
}, "strip", ZodTypeAny, {
|
|
9877
|
+
id: string;
|
|
9878
|
+
}, {
|
|
9879
|
+
id: string;
|
|
9880
|
+
}>], ZodUnknown>, ZodVoid>>;
|
|
9881
|
+
}, {
|
|
9882
|
+
id: ZodString;
|
|
9883
|
+
}>, {
|
|
9884
|
+
label: ZodOptional<ZodString>;
|
|
9885
|
+
}>, {
|
|
9886
|
+
type: ZodLiteral<"CheckboxGroup">;
|
|
9887
|
+
/**
|
|
9888
|
+
* The options to display in the checkbox group.
|
|
9889
|
+
*/
|
|
9890
|
+
options: ZodArray<ZodObject<{
|
|
9891
|
+
label: ZodString;
|
|
9892
|
+
value: ZodString;
|
|
9893
|
+
disabled: ZodOptional<ZodBoolean>;
|
|
9894
|
+
}, "strip", ZodTypeAny, {
|
|
9895
|
+
value: string;
|
|
9896
|
+
label: string;
|
|
9897
|
+
disabled?: boolean | undefined;
|
|
9898
|
+
}, {
|
|
9899
|
+
value: string;
|
|
9900
|
+
label: string;
|
|
9901
|
+
disabled?: boolean | undefined;
|
|
9902
|
+
}>, "many">;
|
|
9903
|
+
/**
|
|
9904
|
+
* The value of the checkbox group.
|
|
9905
|
+
*
|
|
9906
|
+
* @defaultValue `[]`
|
|
9907
|
+
*/
|
|
9908
|
+
value: ZodArray<ZodString, "many">;
|
|
9909
|
+
onChange: ZodFunction<ZodTuple<[ZodObject<{
|
|
9910
|
+
value: ZodArray<ZodString, "many">;
|
|
9911
|
+
id: ZodString;
|
|
9912
|
+
}, "strip", ZodTypeAny, {
|
|
9913
|
+
value: string[];
|
|
9914
|
+
id: string;
|
|
9915
|
+
}, {
|
|
9916
|
+
value: string[];
|
|
9917
|
+
id: string;
|
|
9918
|
+
}>], ZodUnknown>, ZodVoid>;
|
|
9919
|
+
}>, "strip", ZodTypeAny, {
|
|
9920
|
+
options: {
|
|
9921
|
+
value: string;
|
|
9922
|
+
label: string;
|
|
9923
|
+
disabled?: boolean | undefined;
|
|
9924
|
+
}[];
|
|
9925
|
+
type: "CheckboxGroup";
|
|
9926
|
+
value: string[];
|
|
9927
|
+
id: string;
|
|
9928
|
+
onChange: (args_0: {
|
|
9929
|
+
value: string[];
|
|
9930
|
+
id: string;
|
|
9931
|
+
}, ...args: unknown[]) => void;
|
|
9932
|
+
onCreate?: ((args_0: {
|
|
9933
|
+
id: string;
|
|
9934
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
9935
|
+
onDestroy?: ((args_0: {
|
|
9936
|
+
id: string;
|
|
9937
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
9938
|
+
label?: string | undefined;
|
|
9939
|
+
}, {
|
|
9940
|
+
options: {
|
|
9941
|
+
value: string;
|
|
9942
|
+
label: string;
|
|
9943
|
+
disabled?: boolean | undefined;
|
|
9944
|
+
}[];
|
|
9945
|
+
type: "CheckboxGroup";
|
|
9946
|
+
value: string[];
|
|
9947
|
+
id: string;
|
|
9948
|
+
onChange: (args_0: {
|
|
9949
|
+
value: string[];
|
|
9950
|
+
id: string;
|
|
9951
|
+
}, ...args: unknown[]) => void;
|
|
9952
|
+
onCreate?: ((args_0: {
|
|
9953
|
+
id: string;
|
|
9954
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
9955
|
+
onDestroy?: ((args_0: {
|
|
9956
|
+
id: string;
|
|
9957
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
9958
|
+
label?: string | undefined;
|
|
9959
|
+
}>;
|
|
9960
|
+
/**
|
|
9961
|
+
* The parameters for creating a checkbox group element.
|
|
9962
|
+
*
|
|
9963
|
+
* The checkbox group is a control that allows the user to select one or more values from a list of options.
|
|
9964
|
+
*
|
|
9965
|
+
* As a control, the checkbox group can have a label displayed above the checkboxes.
|
|
9966
|
+
*
|
|
9967
|
+
* If no value is provided, `value` is `[]`, the checkbox group will be empty.
|
|
9968
|
+
*
|
|
9969
|
+
* <figure>
|
|
9970
|
+
* <img src="./img/checkbox-group-basic.png" alt="Checkbox group basic" />
|
|
9971
|
+
* <figcaption>
|
|
9972
|
+
* A checkbox group with a label
|
|
9973
|
+
* </figcaption>
|
|
9974
|
+
* </figure>
|
|
9975
|
+
*
|
|
9976
|
+
* ```typescript
|
|
9977
|
+
* {
|
|
9978
|
+
* type: "CheckboxGroup",
|
|
9979
|
+
* label: "Select your hobbies",
|
|
9980
|
+
* options: [
|
|
9981
|
+
* { label: "👾 Video games", value: "gaming" },
|
|
9982
|
+
* { label: "🎨 Art", value: "art" },
|
|
9983
|
+
* { label: "🎤 Singing", value: "singing" },
|
|
9984
|
+
* { label: "🎬 Movies", value: "movies" },
|
|
9985
|
+
* ],
|
|
9986
|
+
* value: ["gaming", "art"],
|
|
9987
|
+
* onChange: ({ value, id }) => { }
|
|
9988
|
+
* }
|
|
9989
|
+
* ```
|
|
9990
|
+
*/
|
|
9991
|
+
interface UICheckboxGroupElement extends UILabelReadyElement, Omit<zInfer<typeof uiCheckboxGroupElementSchema>, "onChange" | "onCreate" | "onDestroy" | "options"> {
|
|
9992
|
+
/**
|
|
9993
|
+
* The options to display in the checkbox group.
|
|
9994
|
+
*/
|
|
9995
|
+
options: Array<UIControlElementOption>;
|
|
9996
|
+
/**
|
|
9997
|
+
* The function to call when the value of the checkbox group changes.
|
|
9998
|
+
*
|
|
9999
|
+
* @param args - The arguments passed to the function.
|
|
10000
|
+
* @param args.value - Array of the selected values.
|
|
10001
|
+
* @param args.id - The id of the checkbox group element.
|
|
10002
|
+
*/
|
|
10003
|
+
onChange: (args: {
|
|
10004
|
+
value: Array<UIControlElementOption["value"]>;
|
|
10005
|
+
id: string;
|
|
10006
|
+
}) => void;
|
|
10007
|
+
}
|
|
10008
|
+
/**
|
|
10009
|
+
* The parameters for creating a checkbox group element.
|
|
10010
|
+
*
|
|
10011
|
+
* See {@link UICheckboxGroupElement} for more details.
|
|
10012
|
+
*/
|
|
10013
|
+
interface UICheckboxGroupElementCreate extends Omit<UICheckboxGroupElement, "id">, UILabelReadyElementCreateParams {
|
|
10014
|
+
}
|
|
10015
|
+
type UICheckboxGroupElementCreateClonable = MakeClonableSchema<UICheckboxGroupElementCreate>;
|
|
10016
|
+
/**
|
|
10017
|
+
* The parameters for updating a checkbox group element.
|
|
10018
|
+
*
|
|
10019
|
+
* See {@link UICheckboxGroupElement} for more details.
|
|
10020
|
+
*/
|
|
10021
|
+
interface UICheckboxGroupElementUpdate extends MakeUpdateSchema<UICheckboxGroupElement, UICheckboxGroupElementCreate> {
|
|
10022
|
+
}
|
|
10023
|
+
|
|
9828
10024
|
declare const uiDividerElementSchema: ZodObject<objectUtil.extendShape<objectUtil.extendShape<{
|
|
9829
10025
|
onCreate: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
9830
10026
|
id: ZodString;
|
|
@@ -10002,7 +10198,7 @@ type UIFlexibleSpaceElementCreateClonable = MakeClonableSchema<UIFlexibleSpaceEl
|
|
|
10002
10198
|
interface UIFlexibleSpaceElementUpdate extends MakeUpdateSchema<UIFlexibleSpaceElement, UIFlexibleSpaceElementCreate> {
|
|
10003
10199
|
}
|
|
10004
10200
|
|
|
10005
|
-
declare const
|
|
10201
|
+
declare const uiToggleGroupElementSchema: ZodObject<objectUtil.extendShape<objectUtil.extendShape<objectUtil.extendShape<{
|
|
10006
10202
|
onCreate: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
10007
10203
|
id: ZodString;
|
|
10008
10204
|
}, "strip", ZodTypeAny, {
|
|
@@ -10022,56 +10218,55 @@ declare const uiSelectElementSchema: ZodObject<objectUtil.extendShape<objectUtil
|
|
|
10022
10218
|
}>, {
|
|
10023
10219
|
label: ZodOptional<ZodString>;
|
|
10024
10220
|
}>, {
|
|
10025
|
-
type: ZodLiteral<"
|
|
10221
|
+
type: ZodLiteral<"ToggleGroup">;
|
|
10026
10222
|
/**
|
|
10027
|
-
* The
|
|
10223
|
+
* The alignment of the toggle group.
|
|
10224
|
+
*
|
|
10225
|
+
* @defaultValue `"start"`
|
|
10028
10226
|
*/
|
|
10227
|
+
alignment: ZodOptional<ZodEnum<["start", "end"]>>;
|
|
10029
10228
|
options: ZodArray<ZodObject<{
|
|
10030
10229
|
label: ZodString;
|
|
10031
10230
|
value: ZodString;
|
|
10231
|
+
disabled: ZodOptional<ZodBoolean>;
|
|
10032
10232
|
}, "strip", ZodTypeAny, {
|
|
10033
10233
|
value: string;
|
|
10034
10234
|
label: string;
|
|
10235
|
+
disabled?: boolean | undefined;
|
|
10035
10236
|
}, {
|
|
10036
10237
|
value: string;
|
|
10037
10238
|
label: string;
|
|
10239
|
+
disabled?: boolean | undefined;
|
|
10038
10240
|
}>, "many">;
|
|
10039
10241
|
/**
|
|
10040
|
-
* The value of the
|
|
10041
|
-
*/
|
|
10042
|
-
value: ZodOptional<ZodString>;
|
|
10043
|
-
/**
|
|
10044
|
-
* The placeholder text to display in the select.
|
|
10045
|
-
*/
|
|
10046
|
-
placeholder: ZodOptional<ZodString>;
|
|
10047
|
-
/**
|
|
10048
|
-
* Whether the select should allow searching through the options.
|
|
10242
|
+
* The value of the toggle group.
|
|
10049
10243
|
*
|
|
10050
|
-
* @defaultValue `
|
|
10244
|
+
* @defaultValue `[]`
|
|
10051
10245
|
*/
|
|
10052
|
-
|
|
10246
|
+
value: ZodArray<ZodString, "many">;
|
|
10053
10247
|
onChange: ZodFunction<ZodTuple<[ZodObject<{
|
|
10054
|
-
value: ZodString
|
|
10248
|
+
value: ZodArray<ZodString, "many">;
|
|
10055
10249
|
id: ZodString;
|
|
10056
10250
|
}, "strip", ZodTypeAny, {
|
|
10057
|
-
value: string;
|
|
10251
|
+
value: string[];
|
|
10058
10252
|
id: string;
|
|
10059
10253
|
}, {
|
|
10060
|
-
value: string;
|
|
10254
|
+
value: string[];
|
|
10061
10255
|
id: string;
|
|
10062
10256
|
}>], ZodUnknown>, ZodVoid>;
|
|
10063
10257
|
}>, "strip", ZodTypeAny, {
|
|
10064
10258
|
options: {
|
|
10065
10259
|
value: string;
|
|
10066
10260
|
label: string;
|
|
10261
|
+
disabled?: boolean | undefined;
|
|
10067
10262
|
}[];
|
|
10068
|
-
type: "
|
|
10263
|
+
type: "ToggleGroup";
|
|
10264
|
+
value: string[];
|
|
10069
10265
|
id: string;
|
|
10070
10266
|
onChange: (args_0: {
|
|
10071
|
-
value: string;
|
|
10267
|
+
value: string[];
|
|
10072
10268
|
id: string;
|
|
10073
10269
|
}, ...args: unknown[]) => void;
|
|
10074
|
-
value?: string | undefined;
|
|
10075
10270
|
onCreate?: ((args_0: {
|
|
10076
10271
|
id: string;
|
|
10077
10272
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -10079,20 +10274,20 @@ declare const uiSelectElementSchema: ZodObject<objectUtil.extendShape<objectUtil
|
|
|
10079
10274
|
id: string;
|
|
10080
10275
|
}, ...args: unknown[]) => void) | undefined;
|
|
10081
10276
|
label?: string | undefined;
|
|
10082
|
-
|
|
10083
|
-
search?: boolean | undefined;
|
|
10277
|
+
alignment?: "start" | "end" | undefined;
|
|
10084
10278
|
}, {
|
|
10085
10279
|
options: {
|
|
10086
10280
|
value: string;
|
|
10087
10281
|
label: string;
|
|
10282
|
+
disabled?: boolean | undefined;
|
|
10088
10283
|
}[];
|
|
10089
|
-
type: "
|
|
10284
|
+
type: "ToggleGroup";
|
|
10285
|
+
value: string[];
|
|
10090
10286
|
id: string;
|
|
10091
10287
|
onChange: (args_0: {
|
|
10092
|
-
value: string;
|
|
10288
|
+
value: string[];
|
|
10093
10289
|
id: string;
|
|
10094
10290
|
}, ...args: unknown[]) => void;
|
|
10095
|
-
value?: string | undefined;
|
|
10096
10291
|
onCreate?: ((args_0: {
|
|
10097
10292
|
id: string;
|
|
10098
10293
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -10100,97 +10295,111 @@ declare const uiSelectElementSchema: ZodObject<objectUtil.extendShape<objectUtil
|
|
|
10100
10295
|
id: string;
|
|
10101
10296
|
}, ...args: unknown[]) => void) | undefined;
|
|
10102
10297
|
label?: string | undefined;
|
|
10103
|
-
|
|
10104
|
-
search?: boolean | undefined;
|
|
10298
|
+
alignment?: "start" | "end" | undefined;
|
|
10105
10299
|
}>;
|
|
10106
10300
|
/**
|
|
10107
|
-
*
|
|
10301
|
+
* The parameters for creating a toggle group element.
|
|
10108
10302
|
*
|
|
10109
|
-
*
|
|
10110
|
-
*
|
|
10111
|
-
*
|
|
10112
|
-
*
|
|
10113
|
-
*
|
|
10114
|
-
*
|
|
10115
|
-
*
|
|
10303
|
+
* ### Options
|
|
10304
|
+
*
|
|
10305
|
+
* The options to display in the toggle group are defined using the `options` property.
|
|
10306
|
+
* It can contain one or more options and each option renders a toggle.
|
|
10307
|
+
*
|
|
10308
|
+
* <figure>
|
|
10309
|
+
* <img src="./img/toggle-group-basic.png" alt="Toggle group basic" />
|
|
10310
|
+
* <figcaption>
|
|
10311
|
+
* A group with a single option
|
|
10312
|
+
* </figcaption>
|
|
10313
|
+
* </figure>
|
|
10116
10314
|
*
|
|
10117
|
-
* @example
|
|
10118
|
-
* #### empty select
|
|
10119
10315
|
* ```typescript
|
|
10120
10316
|
* {
|
|
10121
|
-
* type: "
|
|
10122
|
-
* options: [{ label: "Option
|
|
10123
|
-
* value:
|
|
10124
|
-
*
|
|
10125
|
-
* onChange: (args) => console.log(args.value),
|
|
10317
|
+
* type: "ToggleGroup",
|
|
10318
|
+
* options: [{ label: "Option A", value: "optionA" }],
|
|
10319
|
+
* value: [],
|
|
10320
|
+
* onChange: ({ value, id }) => { }
|
|
10126
10321
|
* }
|
|
10127
10322
|
* ```
|
|
10128
10323
|
*
|
|
10129
|
-
*
|
|
10130
|
-
*
|
|
10131
|
-
*
|
|
10132
|
-
* `
|
|
10324
|
+
* ### Alignment
|
|
10325
|
+
*
|
|
10326
|
+
* By default, the toggles are aligned to the start of the group,
|
|
10327
|
+
* but it can be changed to `end` by setting the `alignment` property to `end`.
|
|
10328
|
+
*
|
|
10329
|
+
* <figure>
|
|
10330
|
+
* <img src="./img/toggle-group-end-alignment.png" alt="Toggle group end alignment" />
|
|
10331
|
+
* <figcaption>
|
|
10332
|
+
* The toggles are aligned to the end
|
|
10333
|
+
* </figcaption>
|
|
10334
|
+
* </figure>
|
|
10133
10335
|
*
|
|
10134
10336
|
* ```typescript
|
|
10135
10337
|
* {
|
|
10136
|
-
* type: "
|
|
10137
|
-
*
|
|
10138
|
-
*
|
|
10139
|
-
*
|
|
10140
|
-
*
|
|
10141
|
-
*
|
|
10338
|
+
* type: "ToggleGroup",
|
|
10339
|
+
* alignment: "end",
|
|
10340
|
+
* label: "All options",
|
|
10341
|
+
* options: [
|
|
10342
|
+
* { label: "Option A", value: "optionA" },
|
|
10343
|
+
* { label: "Option B", value: "optionB" },
|
|
10344
|
+
* ],
|
|
10345
|
+
* value: ["optionA"],
|
|
10346
|
+
* onChange: ({ value, id }) => { }
|
|
10142
10347
|
* }
|
|
10143
10348
|
* ```
|
|
10144
10349
|
*
|
|
10145
|
-
*
|
|
10146
|
-
*
|
|
10350
|
+
* ### Label
|
|
10351
|
+
*
|
|
10352
|
+
* As a control, the toggle group can have a label displayed above the toggles.
|
|
10353
|
+
*
|
|
10354
|
+
* <img src="./img/toggle-group-with-label.png" alt="Toggle group with label" />
|
|
10355
|
+
*
|
|
10147
10356
|
* ```typescript
|
|
10148
10357
|
* {
|
|
10149
|
-
* type: "
|
|
10150
|
-
*
|
|
10151
|
-
*
|
|
10152
|
-
*
|
|
10153
|
-
*
|
|
10154
|
-
*
|
|
10358
|
+
* type: "ToggleGroup",
|
|
10359
|
+
* label: "All options",
|
|
10360
|
+
* options: [
|
|
10361
|
+
* { label: "Option A", value: "optionA" },
|
|
10362
|
+
* { label: "Option B", value: "optionB" },
|
|
10363
|
+
* ],
|
|
10364
|
+
* value: ["optionA"],
|
|
10365
|
+
* onChange: ({ value, id }) => { }
|
|
10155
10366
|
* }
|
|
10156
10367
|
* ```
|
|
10157
10368
|
*/
|
|
10158
|
-
interface
|
|
10369
|
+
interface UIToggleGroupElement extends UILabelReadyElement, Omit<zInfer<typeof uiToggleGroupElementSchema>, "onChange" | "onCreate" | "onDestroy" | "options"> {
|
|
10159
10370
|
/**
|
|
10160
|
-
* The
|
|
10371
|
+
* The options to display in the toggle group.
|
|
10372
|
+
*/
|
|
10373
|
+
options: Array<UIControlElementOption>;
|
|
10374
|
+
/**
|
|
10375
|
+
* The function to call when the value of the toggle group changes.
|
|
10161
10376
|
*
|
|
10162
10377
|
* @param args - The arguments passed to the function.
|
|
10163
|
-
* @param args.value -
|
|
10164
|
-
* @param args.id - The id of the
|
|
10378
|
+
* @param args.value - Array of the selected values.
|
|
10379
|
+
* @param args.id - The id of the toggle group element.
|
|
10165
10380
|
*/
|
|
10166
10381
|
onChange: (args: {
|
|
10167
|
-
value:
|
|
10382
|
+
value: Array<UIControlElementOption["value"]>;
|
|
10168
10383
|
id: string;
|
|
10169
10384
|
}) => void;
|
|
10170
10385
|
}
|
|
10171
10386
|
/**
|
|
10172
|
-
* The parameters for creating a
|
|
10173
|
-
*
|
|
10174
|
-
* See {@link UISelectElement} for more details.
|
|
10387
|
+
* The parameters for creating a toggle group element.
|
|
10175
10388
|
*
|
|
10176
|
-
* @
|
|
10177
|
-
* `id` is optional but recommended if you want to be able to perform updates.
|
|
10389
|
+
* See {@link UIToggleGroupElement} for more details.
|
|
10178
10390
|
*/
|
|
10179
|
-
interface
|
|
10391
|
+
interface UIToggleGroupElementCreate extends Omit<UIToggleGroupElement, "id">, UILabelReadyElementCreateParams {
|
|
10180
10392
|
}
|
|
10181
|
-
type
|
|
10393
|
+
type UIToggleGroupElementCreateClonable = MakeClonableSchema<UIToggleGroupElementCreate>;
|
|
10182
10394
|
/**
|
|
10183
|
-
* The parameters for updating a
|
|
10184
|
-
*
|
|
10185
|
-
* See {@link UISelectElement} for more details.
|
|
10395
|
+
* The parameters for updating a toggle group element.
|
|
10186
10396
|
*
|
|
10187
|
-
* @
|
|
10188
|
-
* `id` and `type` are required to identify the element to update.
|
|
10397
|
+
* See {@link UIToggleGroupElement} for more details.
|
|
10189
10398
|
*/
|
|
10190
|
-
interface
|
|
10399
|
+
interface UIToggleGroupElementUpdate extends MakeUpdateSchema<UIToggleGroupElement, UIToggleGroupElementCreate> {
|
|
10191
10400
|
}
|
|
10192
10401
|
|
|
10193
|
-
declare const
|
|
10402
|
+
declare const uiRadioGroupElementSchema: ZodObject<objectUtil.extendShape<objectUtil.extendShape<objectUtil.extendShape<{
|
|
10194
10403
|
onCreate: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
10195
10404
|
id: ZodString;
|
|
10196
10405
|
}, "strip", ZodTypeAny, {
|
|
@@ -10210,25 +10419,379 @@ declare const uiTextInputElementSchema: ZodObject<objectUtil.extendShape<objectU
|
|
|
10210
10419
|
}>, {
|
|
10211
10420
|
label: ZodOptional<ZodString>;
|
|
10212
10421
|
}>, {
|
|
10213
|
-
type: ZodLiteral<"
|
|
10422
|
+
type: ZodLiteral<"RadioGroup">;
|
|
10214
10423
|
/**
|
|
10215
|
-
* The
|
|
10216
|
-
*/
|
|
10217
|
-
value: ZodString;
|
|
10218
|
-
/**
|
|
10219
|
-
* The placeholder text to display in the input.
|
|
10424
|
+
* The options to display in the radio group.
|
|
10220
10425
|
*/
|
|
10221
|
-
|
|
10222
|
-
|
|
10426
|
+
options: ZodArray<ZodObject<{
|
|
10427
|
+
label: ZodString;
|
|
10223
10428
|
value: ZodString;
|
|
10224
|
-
|
|
10429
|
+
disabled: ZodOptional<ZodBoolean>;
|
|
10225
10430
|
}, "strip", ZodTypeAny, {
|
|
10226
10431
|
value: string;
|
|
10227
|
-
|
|
10432
|
+
label: string;
|
|
10433
|
+
disabled?: boolean | undefined;
|
|
10228
10434
|
}, {
|
|
10229
10435
|
value: string;
|
|
10230
|
-
|
|
10231
|
-
|
|
10436
|
+
label: string;
|
|
10437
|
+
disabled?: boolean | undefined;
|
|
10438
|
+
}>, "many">;
|
|
10439
|
+
/**
|
|
10440
|
+
* The value of the radio group.
|
|
10441
|
+
*
|
|
10442
|
+
* @defaultValue `undefined`
|
|
10443
|
+
*/
|
|
10444
|
+
value: ZodOptional<ZodString>;
|
|
10445
|
+
onChange: ZodFunction<ZodTuple<[ZodObject<{
|
|
10446
|
+
value: ZodOptional<ZodString>;
|
|
10447
|
+
id: ZodString;
|
|
10448
|
+
}, "strip", ZodTypeAny, {
|
|
10449
|
+
id: string;
|
|
10450
|
+
value?: string | undefined;
|
|
10451
|
+
}, {
|
|
10452
|
+
id: string;
|
|
10453
|
+
value?: string | undefined;
|
|
10454
|
+
}>], ZodUnknown>, ZodVoid>;
|
|
10455
|
+
}>, "strip", ZodTypeAny, {
|
|
10456
|
+
options: {
|
|
10457
|
+
value: string;
|
|
10458
|
+
label: string;
|
|
10459
|
+
disabled?: boolean | undefined;
|
|
10460
|
+
}[];
|
|
10461
|
+
type: "RadioGroup";
|
|
10462
|
+
id: string;
|
|
10463
|
+
onChange: (args_0: {
|
|
10464
|
+
id: string;
|
|
10465
|
+
value?: string | undefined;
|
|
10466
|
+
}, ...args: unknown[]) => void;
|
|
10467
|
+
value?: string | undefined;
|
|
10468
|
+
onCreate?: ((args_0: {
|
|
10469
|
+
id: string;
|
|
10470
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
10471
|
+
onDestroy?: ((args_0: {
|
|
10472
|
+
id: string;
|
|
10473
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
10474
|
+
label?: string | undefined;
|
|
10475
|
+
}, {
|
|
10476
|
+
options: {
|
|
10477
|
+
value: string;
|
|
10478
|
+
label: string;
|
|
10479
|
+
disabled?: boolean | undefined;
|
|
10480
|
+
}[];
|
|
10481
|
+
type: "RadioGroup";
|
|
10482
|
+
id: string;
|
|
10483
|
+
onChange: (args_0: {
|
|
10484
|
+
id: string;
|
|
10485
|
+
value?: string | undefined;
|
|
10486
|
+
}, ...args: unknown[]) => void;
|
|
10487
|
+
value?: string | undefined;
|
|
10488
|
+
onCreate?: ((args_0: {
|
|
10489
|
+
id: string;
|
|
10490
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
10491
|
+
onDestroy?: ((args_0: {
|
|
10492
|
+
id: string;
|
|
10493
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
10494
|
+
label?: string | undefined;
|
|
10495
|
+
}>;
|
|
10496
|
+
/**
|
|
10497
|
+
* The parameters for creating a radio group element.
|
|
10498
|
+
*
|
|
10499
|
+
* The radio group is a control that allows the user to select a single value from a list of options.
|
|
10500
|
+
*
|
|
10501
|
+
* As a control, the radio group can have a label displayed above the radioes.
|
|
10502
|
+
*
|
|
10503
|
+
* If no value is provided, `value` is `undefined`, the radio group will be empty.
|
|
10504
|
+
*
|
|
10505
|
+
* <figure>
|
|
10506
|
+
* <img src="./img/radio-group-basic.png" alt="Radio group basic" />
|
|
10507
|
+
* <figcaption>
|
|
10508
|
+
* A radio buttons group with a label
|
|
10509
|
+
* </figcaption>
|
|
10510
|
+
* </figure>
|
|
10511
|
+
*
|
|
10512
|
+
* ```typescript
|
|
10513
|
+
* {
|
|
10514
|
+
* type: "RadioGroup",
|
|
10515
|
+
* label: "Select a side",
|
|
10516
|
+
* options: [
|
|
10517
|
+
* { label: "🍟", value: "fries" },
|
|
10518
|
+
* { label: "🍚", value: "rice" },
|
|
10519
|
+
* { label: "🥗", value: "salad" },
|
|
10520
|
+
* ],
|
|
10521
|
+
* value: "rice",
|
|
10522
|
+
* onChange: ({ value, id }) => { }
|
|
10523
|
+
* }
|
|
10524
|
+
* ```
|
|
10525
|
+
*/
|
|
10526
|
+
interface UIRadioGroupElement extends UILabelReadyElement, Omit<zInfer<typeof uiRadioGroupElementSchema>, "onChange" | "onCreate" | "onDestroy" | "options"> {
|
|
10527
|
+
/**
|
|
10528
|
+
* The options to display in the radio group.
|
|
10529
|
+
*/
|
|
10530
|
+
options: Array<UIControlElementOption>;
|
|
10531
|
+
/**
|
|
10532
|
+
* The function to call when the value of the radio group changes.
|
|
10533
|
+
*
|
|
10534
|
+
* @param args - The arguments passed to the function.
|
|
10535
|
+
* @param args.value - The selected value.
|
|
10536
|
+
* @param args.id - The id of the radio group element.
|
|
10537
|
+
*/
|
|
10538
|
+
onChange: (args: {
|
|
10539
|
+
value: UIControlElementOption["value"] | undefined;
|
|
10540
|
+
id: string;
|
|
10541
|
+
}) => void;
|
|
10542
|
+
}
|
|
10543
|
+
/**
|
|
10544
|
+
* The parameters for creating a radio group element.
|
|
10545
|
+
*
|
|
10546
|
+
* See {@link UIRadioGroupElement} for more details.
|
|
10547
|
+
*/
|
|
10548
|
+
interface UIRadioGroupElementCreate extends Omit<UIRadioGroupElement, "id">, UILabelReadyElementCreateParams {
|
|
10549
|
+
}
|
|
10550
|
+
type UIRadioGroupElementCreateClonable = MakeClonableSchema<UIRadioGroupElementCreate>;
|
|
10551
|
+
/**
|
|
10552
|
+
* The parameters for updating a radio group element.
|
|
10553
|
+
*
|
|
10554
|
+
* See {@link UIRadioGroupElement} for more details.
|
|
10555
|
+
*/
|
|
10556
|
+
interface UIRadioGroupElementUpdate extends MakeUpdateSchema<UIRadioGroupElement, UIRadioGroupElementCreate> {
|
|
10557
|
+
}
|
|
10558
|
+
|
|
10559
|
+
declare const uiSelectElementSchema: ZodObject<objectUtil.extendShape<objectUtil.extendShape<objectUtil.extendShape<{
|
|
10560
|
+
onCreate: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
10561
|
+
id: ZodString;
|
|
10562
|
+
}, "strip", ZodTypeAny, {
|
|
10563
|
+
id: string;
|
|
10564
|
+
}, {
|
|
10565
|
+
id: string;
|
|
10566
|
+
}>], ZodUnknown>, ZodVoid>>;
|
|
10567
|
+
onDestroy: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
10568
|
+
id: ZodString;
|
|
10569
|
+
}, "strip", ZodTypeAny, {
|
|
10570
|
+
id: string;
|
|
10571
|
+
}, {
|
|
10572
|
+
id: string;
|
|
10573
|
+
}>], ZodUnknown>, ZodVoid>>;
|
|
10574
|
+
}, {
|
|
10575
|
+
id: ZodString;
|
|
10576
|
+
}>, {
|
|
10577
|
+
label: ZodOptional<ZodString>;
|
|
10578
|
+
}>, {
|
|
10579
|
+
type: ZodLiteral<"Select">;
|
|
10580
|
+
/**
|
|
10581
|
+
* The options to display in the select.
|
|
10582
|
+
*/
|
|
10583
|
+
options: ZodArray<ZodObject<{
|
|
10584
|
+
label: ZodString;
|
|
10585
|
+
value: ZodString;
|
|
10586
|
+
disabled: ZodOptional<ZodBoolean>;
|
|
10587
|
+
}, "strip", ZodTypeAny, {
|
|
10588
|
+
value: string;
|
|
10589
|
+
label: string;
|
|
10590
|
+
disabled?: boolean | undefined;
|
|
10591
|
+
}, {
|
|
10592
|
+
value: string;
|
|
10593
|
+
label: string;
|
|
10594
|
+
disabled?: boolean | undefined;
|
|
10595
|
+
}>, "many">;
|
|
10596
|
+
/**
|
|
10597
|
+
* The value of the select.
|
|
10598
|
+
*/
|
|
10599
|
+
value: ZodOptional<ZodString>;
|
|
10600
|
+
/**
|
|
10601
|
+
* The placeholder text to display in the select.
|
|
10602
|
+
*/
|
|
10603
|
+
placeholder: ZodOptional<ZodString>;
|
|
10604
|
+
/**
|
|
10605
|
+
* Whether the select should allow searching through the options.
|
|
10606
|
+
*
|
|
10607
|
+
* @defaultValue `false`
|
|
10608
|
+
*/
|
|
10609
|
+
search: ZodOptional<ZodBoolean>;
|
|
10610
|
+
onChange: ZodFunction<ZodTuple<[ZodObject<{
|
|
10611
|
+
value: ZodString;
|
|
10612
|
+
id: ZodString;
|
|
10613
|
+
}, "strip", ZodTypeAny, {
|
|
10614
|
+
value: string;
|
|
10615
|
+
id: string;
|
|
10616
|
+
}, {
|
|
10617
|
+
value: string;
|
|
10618
|
+
id: string;
|
|
10619
|
+
}>], ZodUnknown>, ZodVoid>;
|
|
10620
|
+
}>, "strip", ZodTypeAny, {
|
|
10621
|
+
options: {
|
|
10622
|
+
value: string;
|
|
10623
|
+
label: string;
|
|
10624
|
+
disabled?: boolean | undefined;
|
|
10625
|
+
}[];
|
|
10626
|
+
type: "Select";
|
|
10627
|
+
id: string;
|
|
10628
|
+
onChange: (args_0: {
|
|
10629
|
+
value: string;
|
|
10630
|
+
id: string;
|
|
10631
|
+
}, ...args: unknown[]) => void;
|
|
10632
|
+
value?: string | undefined;
|
|
10633
|
+
onCreate?: ((args_0: {
|
|
10634
|
+
id: string;
|
|
10635
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
10636
|
+
onDestroy?: ((args_0: {
|
|
10637
|
+
id: string;
|
|
10638
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
10639
|
+
label?: string | undefined;
|
|
10640
|
+
placeholder?: string | undefined;
|
|
10641
|
+
search?: boolean | undefined;
|
|
10642
|
+
}, {
|
|
10643
|
+
options: {
|
|
10644
|
+
value: string;
|
|
10645
|
+
label: string;
|
|
10646
|
+
disabled?: boolean | undefined;
|
|
10647
|
+
}[];
|
|
10648
|
+
type: "Select";
|
|
10649
|
+
id: string;
|
|
10650
|
+
onChange: (args_0: {
|
|
10651
|
+
value: string;
|
|
10652
|
+
id: string;
|
|
10653
|
+
}, ...args: unknown[]) => void;
|
|
10654
|
+
value?: string | undefined;
|
|
10655
|
+
onCreate?: ((args_0: {
|
|
10656
|
+
id: string;
|
|
10657
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
10658
|
+
onDestroy?: ((args_0: {
|
|
10659
|
+
id: string;
|
|
10660
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
10661
|
+
label?: string | undefined;
|
|
10662
|
+
placeholder?: string | undefined;
|
|
10663
|
+
search?: boolean | undefined;
|
|
10664
|
+
}>;
|
|
10665
|
+
/**
|
|
10666
|
+
* Represents a select element in a panel.
|
|
10667
|
+
*
|
|
10668
|
+
* @remarks
|
|
10669
|
+
* `options` property is required.
|
|
10670
|
+
* `label` property is displayed above the select and used for screen readers.
|
|
10671
|
+
* `value` property is optional, for empty value use `undefined`.
|
|
10672
|
+
* `placeholder` property is displayed in the select when no value is selected.
|
|
10673
|
+
* `search` property is used to enable searching through the options.
|
|
10674
|
+
* `onChange` property is used to handle the value change event.
|
|
10675
|
+
*
|
|
10676
|
+
* @example
|
|
10677
|
+
* #### empty select
|
|
10678
|
+
* ```typescript
|
|
10679
|
+
* {
|
|
10680
|
+
* type: "Select",
|
|
10681
|
+
* options: [{ label: "Option 1", value: "option1" }, { label: "Option 2", value: "option2" }],
|
|
10682
|
+
* value: undefined,
|
|
10683
|
+
* placeholder: "Select an option",
|
|
10684
|
+
* onChange: (args) => console.log(args.value),
|
|
10685
|
+
* }
|
|
10686
|
+
* ```
|
|
10687
|
+
*
|
|
10688
|
+
* @example
|
|
10689
|
+
* #### with label
|
|
10690
|
+
* `label` is displayed above the select and used for screen readers.
|
|
10691
|
+
* `placeholder` is displayed in the select when no value is selected.
|
|
10692
|
+
*
|
|
10693
|
+
* ```typescript
|
|
10694
|
+
* {
|
|
10695
|
+
* type: "Select",
|
|
10696
|
+
* label: "Fruit",
|
|
10697
|
+
* options: [{ label: "Apple", value: "apple" }, { label: "Banana", value: "banana" }],
|
|
10698
|
+
* value: undefined,
|
|
10699
|
+
* placeholder: "Select a fruit",
|
|
10700
|
+
* onChange: (args) => console.log(args.value),
|
|
10701
|
+
* }
|
|
10702
|
+
* ```
|
|
10703
|
+
*
|
|
10704
|
+
* @example
|
|
10705
|
+
* #### with search
|
|
10706
|
+
* ```typescript
|
|
10707
|
+
* {
|
|
10708
|
+
* type: "Select",
|
|
10709
|
+
* options: [{ label: "Option 1", value: "option1" }, { label: "Option 2", value: "option2" }],
|
|
10710
|
+
* value: "option1",
|
|
10711
|
+
* placeholder: "Select an option",
|
|
10712
|
+
* search: true,
|
|
10713
|
+
* onChange: (args) => console.log(args.value),
|
|
10714
|
+
* }
|
|
10715
|
+
* ```
|
|
10716
|
+
*/
|
|
10717
|
+
interface UISelectElement extends UILabelReadyElement, Omit<zInfer<typeof uiSelectElementSchema>, "onChange" | "onCreate" | "onDestroy" | "options"> {
|
|
10718
|
+
/**
|
|
10719
|
+
* The options to display in the select.
|
|
10720
|
+
*/
|
|
10721
|
+
options: Array<UIControlElementOption>;
|
|
10722
|
+
/**
|
|
10723
|
+
* The function to call when the value of the select changes.
|
|
10724
|
+
*
|
|
10725
|
+
* @param args - The arguments passed to the function.
|
|
10726
|
+
* @param args.value - The value of the select.
|
|
10727
|
+
* @param args.id - The id of the select element.
|
|
10728
|
+
*/
|
|
10729
|
+
onChange: (args: {
|
|
10730
|
+
value: string;
|
|
10731
|
+
id: string;
|
|
10732
|
+
}) => void;
|
|
10733
|
+
}
|
|
10734
|
+
/**
|
|
10735
|
+
* The parameters for creating a select element.
|
|
10736
|
+
*
|
|
10737
|
+
* See {@link UISelectElement} for more details.
|
|
10738
|
+
*
|
|
10739
|
+
* @remarks
|
|
10740
|
+
* `id` is optional but recommended if you want to be able to perform updates.
|
|
10741
|
+
*/
|
|
10742
|
+
interface UISelectElementCreate extends Omit<UISelectElement, "id">, UILabelReadyElementCreateParams {
|
|
10743
|
+
}
|
|
10744
|
+
type UISelectElementCreateClonable = MakeClonableSchema<UISelectElementCreate>;
|
|
10745
|
+
/**
|
|
10746
|
+
* The parameters for updating a select element.
|
|
10747
|
+
*
|
|
10748
|
+
* See {@link UISelectElement} for more details.
|
|
10749
|
+
*
|
|
10750
|
+
* @remarks
|
|
10751
|
+
* `id` and `type` are required to identify the element to update.
|
|
10752
|
+
*/
|
|
10753
|
+
interface UISelectElementUpdate extends MakeUpdateSchema<UISelectElement, UISelectElementCreate> {
|
|
10754
|
+
}
|
|
10755
|
+
|
|
10756
|
+
declare const uiTextInputElementSchema: ZodObject<objectUtil.extendShape<objectUtil.extendShape<objectUtil.extendShape<{
|
|
10757
|
+
onCreate: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
10758
|
+
id: ZodString;
|
|
10759
|
+
}, "strip", ZodTypeAny, {
|
|
10760
|
+
id: string;
|
|
10761
|
+
}, {
|
|
10762
|
+
id: string;
|
|
10763
|
+
}>], ZodUnknown>, ZodVoid>>;
|
|
10764
|
+
onDestroy: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
10765
|
+
id: ZodString;
|
|
10766
|
+
}, "strip", ZodTypeAny, {
|
|
10767
|
+
id: string;
|
|
10768
|
+
}, {
|
|
10769
|
+
id: string;
|
|
10770
|
+
}>], ZodUnknown>, ZodVoid>>;
|
|
10771
|
+
}, {
|
|
10772
|
+
id: ZodString;
|
|
10773
|
+
}>, {
|
|
10774
|
+
label: ZodOptional<ZodString>;
|
|
10775
|
+
}>, {
|
|
10776
|
+
type: ZodLiteral<"TextInput">;
|
|
10777
|
+
/**
|
|
10778
|
+
* The value of the input. Use `""` for empty values.
|
|
10779
|
+
*/
|
|
10780
|
+
value: ZodString;
|
|
10781
|
+
/**
|
|
10782
|
+
* The placeholder text to display in the input.
|
|
10783
|
+
*/
|
|
10784
|
+
placeholder: ZodOptional<ZodString>;
|
|
10785
|
+
onChange: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
10786
|
+
value: ZodString;
|
|
10787
|
+
id: ZodString;
|
|
10788
|
+
}, "strip", ZodTypeAny, {
|
|
10789
|
+
value: string;
|
|
10790
|
+
id: string;
|
|
10791
|
+
}, {
|
|
10792
|
+
value: string;
|
|
10793
|
+
id: string;
|
|
10794
|
+
}>], ZodUnknown>, ZodVoid>>;
|
|
10232
10795
|
onBlur: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
10233
10796
|
value: ZodString;
|
|
10234
10797
|
id: ZodString;
|
|
@@ -10679,22 +11242,22 @@ type UIGridContainerElementCreateClonable = Omit<MakeClonableSchema<UIGridContai
|
|
|
10679
11242
|
interface UIGridContainerElementUpdate extends MakeUpdateSchema<UIGridContainerElement, UIGridContainerElementCreate> {
|
|
10680
11243
|
}
|
|
10681
11244
|
|
|
10682
|
-
type UIPanelElement = UIButtonElement | UITextElement | UIDividerElement | UITextInputElement | UISelectElement | UIFlexibleSpaceElement | UIButtonRowElement | UIGridContainerElement;
|
|
11245
|
+
type UIPanelElement = UIButtonElement | UITextElement | UIDividerElement | UITextInputElement | UISelectElement | UIFlexibleSpaceElement | UIButtonRowElement | UICheckboxGroupElement | UIRadioGroupElement | UIToggleGroupElement | UIGridContainerElement;
|
|
10683
11246
|
/**
|
|
10684
11247
|
* This is a union of all the possible elements that can be created inside panel's body or footer.
|
|
10685
11248
|
*
|
|
10686
11249
|
* @remarks
|
|
10687
11250
|
* For the sake of convenience, `id` is optional but recommended if you want to be able to perform updates.
|
|
10688
11251
|
*/
|
|
10689
|
-
type UIPanelElementCreate = UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UIGridContainerElementCreate;
|
|
10690
|
-
type UIPanelElementCreateClonable = UIButtonElementCreateClonable | UITextElementCreateClonable | UIDividerElementCreateClonable | UITextInputElementCreateClonable | UISelectElementCreateClonable | UIFlexibleSpaceElementCreateClonable | UIButtonRowElementCreateClonable | UIGridContainerElementCreateClonable;
|
|
11252
|
+
type UIPanelElementCreate = UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate | UIGridContainerElementCreate;
|
|
11253
|
+
type UIPanelElementCreateClonable = UIButtonElementCreateClonable | UITextElementCreateClonable | UIDividerElementCreateClonable | UITextInputElementCreateClonable | UISelectElementCreateClonable | UIFlexibleSpaceElementCreateClonable | UIButtonRowElementCreateClonable | UICheckboxGroupElementCreateClonable | UIRadioGroupElementCreateClonable | UIToggleGroupElementCreateClonable | UIGridContainerElementCreateClonable;
|
|
10691
11254
|
/**
|
|
10692
11255
|
* 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).
|
|
10693
11256
|
*
|
|
10694
11257
|
* @remarks
|
|
10695
11258
|
* `id` and `type` are required to identify the element to update.
|
|
10696
11259
|
*/
|
|
10697
|
-
type UIPanelElementUpdate = UIButtonElementUpdate | UITextElementUpdate | UITextInputElementUpdate | UISelectElementUpdate | UIDividerElementUpdate | UIButtonRowElementUpdate | UIGridContainerElementUpdate | UIFlexibleSpaceElementUpdate;
|
|
11260
|
+
type UIPanelElementUpdate = UIButtonElementUpdate | UITextElementUpdate | UITextInputElementUpdate | UISelectElementUpdate | UIDividerElementUpdate | UIButtonRowElementUpdate | UICheckboxGroupElementUpdate | UIRadioGroupElementUpdate | UIToggleGroupElementUpdate | UIGridContainerElementUpdate | UIFlexibleSpaceElementUpdate;
|
|
10698
11261
|
|
|
10699
11262
|
declare const placementForUiElementSchema: ZodUnion<[ZodObject<{
|
|
10700
11263
|
after: ZodString;
|
|
@@ -11854,12 +12417,15 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
11854
12417
|
options: ZodOptional<ZodArray<ZodObject<{
|
|
11855
12418
|
label: ZodString;
|
|
11856
12419
|
value: ZodString;
|
|
12420
|
+
disabled: ZodOptional<ZodBoolean>;
|
|
11857
12421
|
}, "strip", ZodTypeAny, {
|
|
11858
12422
|
value: string;
|
|
11859
12423
|
label: string;
|
|
12424
|
+
disabled?: boolean | undefined;
|
|
11860
12425
|
}, {
|
|
11861
12426
|
value: string;
|
|
11862
12427
|
label: string;
|
|
12428
|
+
disabled?: boolean | undefined;
|
|
11863
12429
|
}>, "many">>;
|
|
11864
12430
|
value: ZodOptional<ZodOptional<ZodString>>;
|
|
11865
12431
|
placeholder: ZodOptional<ZodOptional<ZodString>>;
|
|
@@ -11896,6 +12462,7 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
11896
12462
|
options?: {
|
|
11897
12463
|
value: string;
|
|
11898
12464
|
label: string;
|
|
12465
|
+
disabled?: boolean | undefined;
|
|
11899
12466
|
}[] | undefined;
|
|
11900
12467
|
value?: string | undefined;
|
|
11901
12468
|
onCreate?: ((args_0: {
|
|
@@ -11917,6 +12484,7 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
11917
12484
|
options?: {
|
|
11918
12485
|
value: string;
|
|
11919
12486
|
label: string;
|
|
12487
|
+
disabled?: boolean | undefined;
|
|
11920
12488
|
}[] | undefined;
|
|
11921
12489
|
value?: string | undefined;
|
|
11922
12490
|
onCreate?: ((args_0: {
|
|
@@ -12101,26 +12669,277 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12101
12669
|
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
12102
12670
|
}>, "many">>;
|
|
12103
12671
|
}, UnknownKeysParam, ZodTypeAny, {
|
|
12104
|
-
type: "ButtonRow";
|
|
12672
|
+
type: "ButtonRow";
|
|
12673
|
+
id: string;
|
|
12674
|
+
align?: "start" | "end" | undefined;
|
|
12675
|
+
items?: {
|
|
12676
|
+
type: "Button";
|
|
12677
|
+
label: string;
|
|
12678
|
+
onClick: (args_0: {
|
|
12679
|
+
id: string;
|
|
12680
|
+
}, ...args: unknown[]) => void;
|
|
12681
|
+
id?: string | undefined;
|
|
12682
|
+
onCreate?: ((args_0: {
|
|
12683
|
+
id: string;
|
|
12684
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12685
|
+
onDestroy?: ((args_0: {
|
|
12686
|
+
id: string;
|
|
12687
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12688
|
+
disabled?: boolean | undefined;
|
|
12689
|
+
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
12690
|
+
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
12691
|
+
}[] | undefined;
|
|
12692
|
+
onCreate?: ((args_0: {
|
|
12693
|
+
id: string;
|
|
12694
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12695
|
+
onDestroy?: ((args_0: {
|
|
12696
|
+
id: string;
|
|
12697
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12698
|
+
label?: string | 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;
|
|
12727
|
+
}>, ZodObject<{
|
|
12728
|
+
type: ZodLiteral<"CheckboxGroup">;
|
|
12729
|
+
options: ZodOptional<ZodArray<ZodObject<{
|
|
12730
|
+
label: ZodString;
|
|
12731
|
+
value: ZodString;
|
|
12732
|
+
disabled: ZodOptional<ZodBoolean>;
|
|
12733
|
+
}, "strip", ZodTypeAny, {
|
|
12734
|
+
value: string;
|
|
12735
|
+
label: string;
|
|
12736
|
+
disabled?: boolean | undefined;
|
|
12737
|
+
}, {
|
|
12738
|
+
value: string;
|
|
12739
|
+
label: string;
|
|
12740
|
+
disabled?: boolean | undefined;
|
|
12741
|
+
}>, "many">>;
|
|
12742
|
+
value: ZodOptional<ZodArray<ZodString, "many">>;
|
|
12743
|
+
onChange: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12744
|
+
value: ZodArray<ZodString, "many">;
|
|
12745
|
+
id: ZodString;
|
|
12746
|
+
}, "strip", ZodTypeAny, {
|
|
12747
|
+
value: string[];
|
|
12748
|
+
id: string;
|
|
12749
|
+
}, {
|
|
12750
|
+
value: string[];
|
|
12751
|
+
id: string;
|
|
12752
|
+
}>], ZodUnknown>, ZodVoid>>;
|
|
12753
|
+
label: ZodOptional<ZodOptional<ZodString>>;
|
|
12754
|
+
id: ZodString;
|
|
12755
|
+
onCreate: ZodOptional<ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12756
|
+
id: ZodString;
|
|
12757
|
+
}, "strip", ZodTypeAny, {
|
|
12758
|
+
id: string;
|
|
12759
|
+
}, {
|
|
12760
|
+
id: string;
|
|
12761
|
+
}>], ZodUnknown>, ZodVoid>>>;
|
|
12762
|
+
onDestroy: ZodOptional<ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12763
|
+
id: ZodString;
|
|
12764
|
+
}, "strip", ZodTypeAny, {
|
|
12765
|
+
id: string;
|
|
12766
|
+
}, {
|
|
12767
|
+
id: string;
|
|
12768
|
+
}>], ZodUnknown>, ZodVoid>>>;
|
|
12769
|
+
}, UnknownKeysParam, ZodTypeAny, {
|
|
12770
|
+
type: "CheckboxGroup";
|
|
12771
|
+
id: string;
|
|
12772
|
+
options?: {
|
|
12773
|
+
value: string;
|
|
12774
|
+
label: string;
|
|
12775
|
+
disabled?: boolean | undefined;
|
|
12776
|
+
}[] | undefined;
|
|
12777
|
+
value?: string[] | undefined;
|
|
12778
|
+
onCreate?: ((args_0: {
|
|
12779
|
+
id: string;
|
|
12780
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12781
|
+
onDestroy?: ((args_0: {
|
|
12782
|
+
id: string;
|
|
12783
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12784
|
+
label?: string | undefined;
|
|
12785
|
+
onChange?: ((args_0: {
|
|
12786
|
+
value: string[];
|
|
12787
|
+
id: string;
|
|
12788
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12789
|
+
}, {
|
|
12790
|
+
type: "CheckboxGroup";
|
|
12791
|
+
id: string;
|
|
12792
|
+
options?: {
|
|
12793
|
+
value: string;
|
|
12794
|
+
label: string;
|
|
12795
|
+
disabled?: boolean | undefined;
|
|
12796
|
+
}[] | undefined;
|
|
12797
|
+
value?: string[] | undefined;
|
|
12798
|
+
onCreate?: ((args_0: {
|
|
12799
|
+
id: string;
|
|
12800
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12801
|
+
onDestroy?: ((args_0: {
|
|
12802
|
+
id: string;
|
|
12803
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12804
|
+
label?: string | undefined;
|
|
12805
|
+
onChange?: ((args_0: {
|
|
12806
|
+
value: string[];
|
|
12807
|
+
id: string;
|
|
12808
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12809
|
+
}>, ZodObject<{
|
|
12810
|
+
type: ZodLiteral<"RadioGroup">;
|
|
12811
|
+
options: ZodOptional<ZodArray<ZodObject<{
|
|
12812
|
+
label: ZodString;
|
|
12813
|
+
value: ZodString;
|
|
12814
|
+
disabled: ZodOptional<ZodBoolean>;
|
|
12815
|
+
}, "strip", ZodTypeAny, {
|
|
12816
|
+
value: string;
|
|
12817
|
+
label: string;
|
|
12818
|
+
disabled?: boolean | undefined;
|
|
12819
|
+
}, {
|
|
12820
|
+
value: string;
|
|
12821
|
+
label: string;
|
|
12822
|
+
disabled?: boolean | undefined;
|
|
12823
|
+
}>, "many">>;
|
|
12824
|
+
value: ZodOptional<ZodOptional<ZodString>>;
|
|
12825
|
+
onChange: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12826
|
+
value: ZodOptional<ZodString>;
|
|
12827
|
+
id: ZodString;
|
|
12828
|
+
}, "strip", ZodTypeAny, {
|
|
12829
|
+
id: string;
|
|
12830
|
+
value?: string | undefined;
|
|
12831
|
+
}, {
|
|
12832
|
+
id: string;
|
|
12833
|
+
value?: string | undefined;
|
|
12834
|
+
}>], ZodUnknown>, ZodVoid>>;
|
|
12835
|
+
label: ZodOptional<ZodOptional<ZodString>>;
|
|
12836
|
+
id: ZodString;
|
|
12837
|
+
onCreate: ZodOptional<ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12838
|
+
id: ZodString;
|
|
12839
|
+
}, "strip", ZodTypeAny, {
|
|
12840
|
+
id: string;
|
|
12841
|
+
}, {
|
|
12842
|
+
id: string;
|
|
12843
|
+
}>], ZodUnknown>, ZodVoid>>>;
|
|
12844
|
+
onDestroy: ZodOptional<ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12845
|
+
id: ZodString;
|
|
12846
|
+
}, "strip", ZodTypeAny, {
|
|
12847
|
+
id: string;
|
|
12848
|
+
}, {
|
|
12849
|
+
id: string;
|
|
12850
|
+
}>], ZodUnknown>, ZodVoid>>>;
|
|
12851
|
+
}, UnknownKeysParam, ZodTypeAny, {
|
|
12852
|
+
type: "RadioGroup";
|
|
12853
|
+
id: string;
|
|
12854
|
+
options?: {
|
|
12855
|
+
value: string;
|
|
12856
|
+
label: string;
|
|
12857
|
+
disabled?: boolean | undefined;
|
|
12858
|
+
}[] | undefined;
|
|
12859
|
+
value?: string | undefined;
|
|
12860
|
+
onCreate?: ((args_0: {
|
|
12861
|
+
id: string;
|
|
12862
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12863
|
+
onDestroy?: ((args_0: {
|
|
12864
|
+
id: string;
|
|
12865
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12866
|
+
label?: string | undefined;
|
|
12867
|
+
onChange?: ((args_0: {
|
|
12868
|
+
id: string;
|
|
12869
|
+
value?: string | undefined;
|
|
12870
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12871
|
+
}, {
|
|
12872
|
+
type: "RadioGroup";
|
|
12873
|
+
id: string;
|
|
12874
|
+
options?: {
|
|
12875
|
+
value: string;
|
|
12876
|
+
label: string;
|
|
12877
|
+
disabled?: boolean | undefined;
|
|
12878
|
+
}[] | undefined;
|
|
12879
|
+
value?: string | undefined;
|
|
12880
|
+
onCreate?: ((args_0: {
|
|
12881
|
+
id: string;
|
|
12882
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12883
|
+
onDestroy?: ((args_0: {
|
|
12884
|
+
id: string;
|
|
12885
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12886
|
+
label?: string | undefined;
|
|
12887
|
+
onChange?: ((args_0: {
|
|
12888
|
+
id: string;
|
|
12889
|
+
value?: string | undefined;
|
|
12890
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12891
|
+
}>, ZodObject<{
|
|
12892
|
+
type: ZodLiteral<"ToggleGroup">;
|
|
12893
|
+
alignment: ZodOptional<ZodOptional<ZodEnum<["start", "end"]>>>;
|
|
12894
|
+
options: ZodOptional<ZodArray<ZodObject<{
|
|
12895
|
+
label: ZodString;
|
|
12896
|
+
value: ZodString;
|
|
12897
|
+
disabled: ZodOptional<ZodBoolean>;
|
|
12898
|
+
}, "strip", ZodTypeAny, {
|
|
12899
|
+
value: string;
|
|
12900
|
+
label: string;
|
|
12901
|
+
disabled?: boolean | undefined;
|
|
12902
|
+
}, {
|
|
12903
|
+
value: string;
|
|
12904
|
+
label: string;
|
|
12905
|
+
disabled?: boolean | undefined;
|
|
12906
|
+
}>, "many">>;
|
|
12907
|
+
value: ZodOptional<ZodArray<ZodString, "many">>;
|
|
12908
|
+
onChange: ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12909
|
+
value: ZodArray<ZodString, "many">;
|
|
12910
|
+
id: ZodString;
|
|
12911
|
+
}, "strip", ZodTypeAny, {
|
|
12912
|
+
value: string[];
|
|
12913
|
+
id: string;
|
|
12914
|
+
}, {
|
|
12915
|
+
value: string[];
|
|
12916
|
+
id: string;
|
|
12917
|
+
}>], ZodUnknown>, ZodVoid>>;
|
|
12918
|
+
label: ZodOptional<ZodOptional<ZodString>>;
|
|
12919
|
+
id: ZodString;
|
|
12920
|
+
onCreate: ZodOptional<ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12921
|
+
id: ZodString;
|
|
12922
|
+
}, "strip", ZodTypeAny, {
|
|
12923
|
+
id: string;
|
|
12924
|
+
}, {
|
|
12925
|
+
id: string;
|
|
12926
|
+
}>], ZodUnknown>, ZodVoid>>>;
|
|
12927
|
+
onDestroy: ZodOptional<ZodOptional<ZodFunction<ZodTuple<[ZodObject<{
|
|
12928
|
+
id: ZodString;
|
|
12929
|
+
}, "strip", ZodTypeAny, {
|
|
12930
|
+
id: string;
|
|
12931
|
+
}, {
|
|
12932
|
+
id: string;
|
|
12933
|
+
}>], ZodUnknown>, ZodVoid>>>;
|
|
12934
|
+
}, UnknownKeysParam, ZodTypeAny, {
|
|
12935
|
+
type: "ToggleGroup";
|
|
12105
12936
|
id: string;
|
|
12106
|
-
|
|
12107
|
-
|
|
12108
|
-
type: "Button";
|
|
12937
|
+
options?: {
|
|
12938
|
+
value: string;
|
|
12109
12939
|
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
12940
|
disabled?: boolean | undefined;
|
|
12121
|
-
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
12122
|
-
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
12123
12941
|
}[] | undefined;
|
|
12942
|
+
value?: string[] | undefined;
|
|
12124
12943
|
onCreate?: ((args_0: {
|
|
12125
12944
|
id: string;
|
|
12126
12945
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -12128,27 +12947,20 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12128
12947
|
id: string;
|
|
12129
12948
|
}, ...args: unknown[]) => void) | undefined;
|
|
12130
12949
|
label?: string | undefined;
|
|
12950
|
+
onChange?: ((args_0: {
|
|
12951
|
+
value: string[];
|
|
12952
|
+
id: string;
|
|
12953
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12954
|
+
alignment?: "start" | "end" | undefined;
|
|
12131
12955
|
}, {
|
|
12132
|
-
type: "
|
|
12956
|
+
type: "ToggleGroup";
|
|
12133
12957
|
id: string;
|
|
12134
|
-
|
|
12135
|
-
|
|
12136
|
-
type: "Button";
|
|
12958
|
+
options?: {
|
|
12959
|
+
value: string;
|
|
12137
12960
|
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
12961
|
disabled?: boolean | undefined;
|
|
12149
|
-
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
12150
|
-
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
12151
12962
|
}[] | undefined;
|
|
12963
|
+
value?: string[] | undefined;
|
|
12152
12964
|
onCreate?: ((args_0: {
|
|
12153
12965
|
id: string;
|
|
12154
12966
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -12156,6 +12968,11 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12156
12968
|
id: string;
|
|
12157
12969
|
}, ...args: unknown[]) => void) | undefined;
|
|
12158
12970
|
label?: string | undefined;
|
|
12971
|
+
onChange?: ((args_0: {
|
|
12972
|
+
value: string[];
|
|
12973
|
+
id: string;
|
|
12974
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12975
|
+
alignment?: "start" | "end" | undefined;
|
|
12159
12976
|
}>, ZodObject<{
|
|
12160
12977
|
type: ZodLiteral<"Grid">;
|
|
12161
12978
|
id: ZodString;
|
|
@@ -12176,11 +12993,11 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12176
12993
|
grid: ZodOptional<ZodOptional<ZodString>>;
|
|
12177
12994
|
verticalAlignment: ZodOptional<ZodOptional<ZodEnum<["top", "center", "bottom"]>>>;
|
|
12178
12995
|
horizontalDistribution: ZodOptional<ZodOptional<ZodEnum<["start", "center", "end", "space-between", "space-around", "space-evenly"]>>>;
|
|
12179
|
-
items: ZodOptional<ZodType<(UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[], ZodTypeDef, (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[]>>;
|
|
12996
|
+
items: ZodOptional<ZodType<(UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[], ZodTypeDef, (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[]>>;
|
|
12180
12997
|
}, UnknownKeysParam, ZodTypeAny, {
|
|
12181
12998
|
type: "Grid";
|
|
12182
12999
|
id: string;
|
|
12183
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
13000
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[] | undefined;
|
|
12184
13001
|
onCreate?: ((args_0: {
|
|
12185
13002
|
id: string;
|
|
12186
13003
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -12193,7 +13010,7 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12193
13010
|
}, {
|
|
12194
13011
|
type: "Grid";
|
|
12195
13012
|
id: string;
|
|
12196
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
13013
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[] | undefined;
|
|
12197
13014
|
onCreate?: ((args_0: {
|
|
12198
13015
|
id: string;
|
|
12199
13016
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -12261,6 +13078,7 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12261
13078
|
options?: {
|
|
12262
13079
|
value: string;
|
|
12263
13080
|
label: string;
|
|
13081
|
+
disabled?: boolean | undefined;
|
|
12264
13082
|
}[] | undefined;
|
|
12265
13083
|
value?: string | undefined;
|
|
12266
13084
|
onCreate?: ((args_0: {
|
|
@@ -12322,10 +13140,71 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12322
13140
|
id: string;
|
|
12323
13141
|
}, ...args: unknown[]) => void) | undefined;
|
|
12324
13142
|
label?: string | undefined;
|
|
13143
|
+
} | {
|
|
13144
|
+
type: "CheckboxGroup";
|
|
13145
|
+
id: string;
|
|
13146
|
+
options?: {
|
|
13147
|
+
value: string;
|
|
13148
|
+
label: string;
|
|
13149
|
+
disabled?: boolean | undefined;
|
|
13150
|
+
}[] | undefined;
|
|
13151
|
+
value?: string[] | undefined;
|
|
13152
|
+
onCreate?: ((args_0: {
|
|
13153
|
+
id: string;
|
|
13154
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13155
|
+
onDestroy?: ((args_0: {
|
|
13156
|
+
id: string;
|
|
13157
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13158
|
+
label?: string | undefined;
|
|
13159
|
+
onChange?: ((args_0: {
|
|
13160
|
+
value: string[];
|
|
13161
|
+
id: string;
|
|
13162
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13163
|
+
} | {
|
|
13164
|
+
type: "RadioGroup";
|
|
13165
|
+
id: string;
|
|
13166
|
+
options?: {
|
|
13167
|
+
value: string;
|
|
13168
|
+
label: string;
|
|
13169
|
+
disabled?: boolean | undefined;
|
|
13170
|
+
}[] | undefined;
|
|
13171
|
+
value?: string | undefined;
|
|
13172
|
+
onCreate?: ((args_0: {
|
|
13173
|
+
id: string;
|
|
13174
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13175
|
+
onDestroy?: ((args_0: {
|
|
13176
|
+
id: string;
|
|
13177
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13178
|
+
label?: string | undefined;
|
|
13179
|
+
onChange?: ((args_0: {
|
|
13180
|
+
id: string;
|
|
13181
|
+
value?: string | undefined;
|
|
13182
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13183
|
+
} | {
|
|
13184
|
+
type: "ToggleGroup";
|
|
13185
|
+
id: string;
|
|
13186
|
+
options?: {
|
|
13187
|
+
value: string;
|
|
13188
|
+
label: string;
|
|
13189
|
+
disabled?: boolean | undefined;
|
|
13190
|
+
}[] | undefined;
|
|
13191
|
+
value?: string[] | undefined;
|
|
13192
|
+
onCreate?: ((args_0: {
|
|
13193
|
+
id: string;
|
|
13194
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13195
|
+
onDestroy?: ((args_0: {
|
|
13196
|
+
id: string;
|
|
13197
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13198
|
+
label?: string | undefined;
|
|
13199
|
+
onChange?: ((args_0: {
|
|
13200
|
+
value: string[];
|
|
13201
|
+
id: string;
|
|
13202
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13203
|
+
alignment?: "start" | "end" | undefined;
|
|
12325
13204
|
} | {
|
|
12326
13205
|
type: "Grid";
|
|
12327
13206
|
id: string;
|
|
12328
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
13207
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[] | undefined;
|
|
12329
13208
|
onCreate?: ((args_0: {
|
|
12330
13209
|
id: string;
|
|
12331
13210
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -12393,6 +13272,7 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12393
13272
|
options?: {
|
|
12394
13273
|
value: string;
|
|
12395
13274
|
label: string;
|
|
13275
|
+
disabled?: boolean | undefined;
|
|
12396
13276
|
}[] | undefined;
|
|
12397
13277
|
value?: string | undefined;
|
|
12398
13278
|
onCreate?: ((args_0: {
|
|
@@ -12454,10 +13334,71 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12454
13334
|
id: string;
|
|
12455
13335
|
}, ...args: unknown[]) => void) | undefined;
|
|
12456
13336
|
label?: string | undefined;
|
|
13337
|
+
} | {
|
|
13338
|
+
type: "CheckboxGroup";
|
|
13339
|
+
id: string;
|
|
13340
|
+
options?: {
|
|
13341
|
+
value: string;
|
|
13342
|
+
label: string;
|
|
13343
|
+
disabled?: boolean | undefined;
|
|
13344
|
+
}[] | undefined;
|
|
13345
|
+
value?: string[] | undefined;
|
|
13346
|
+
onCreate?: ((args_0: {
|
|
13347
|
+
id: string;
|
|
13348
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13349
|
+
onDestroy?: ((args_0: {
|
|
13350
|
+
id: string;
|
|
13351
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13352
|
+
label?: string | undefined;
|
|
13353
|
+
onChange?: ((args_0: {
|
|
13354
|
+
value: string[];
|
|
13355
|
+
id: string;
|
|
13356
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13357
|
+
} | {
|
|
13358
|
+
type: "RadioGroup";
|
|
13359
|
+
id: string;
|
|
13360
|
+
options?: {
|
|
13361
|
+
value: string;
|
|
13362
|
+
label: string;
|
|
13363
|
+
disabled?: boolean | undefined;
|
|
13364
|
+
}[] | undefined;
|
|
13365
|
+
value?: string | undefined;
|
|
13366
|
+
onCreate?: ((args_0: {
|
|
13367
|
+
id: string;
|
|
13368
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13369
|
+
onDestroy?: ((args_0: {
|
|
13370
|
+
id: string;
|
|
13371
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13372
|
+
label?: string | undefined;
|
|
13373
|
+
onChange?: ((args_0: {
|
|
13374
|
+
id: string;
|
|
13375
|
+
value?: string | undefined;
|
|
13376
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13377
|
+
} | {
|
|
13378
|
+
type: "ToggleGroup";
|
|
13379
|
+
id: string;
|
|
13380
|
+
options?: {
|
|
13381
|
+
value: string;
|
|
13382
|
+
label: string;
|
|
13383
|
+
disabled?: boolean | undefined;
|
|
13384
|
+
}[] | undefined;
|
|
13385
|
+
value?: string[] | undefined;
|
|
13386
|
+
onCreate?: ((args_0: {
|
|
13387
|
+
id: string;
|
|
13388
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13389
|
+
onDestroy?: ((args_0: {
|
|
13390
|
+
id: string;
|
|
13391
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13392
|
+
label?: string | undefined;
|
|
13393
|
+
onChange?: ((args_0: {
|
|
13394
|
+
value: string[];
|
|
13395
|
+
id: string;
|
|
13396
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13397
|
+
alignment?: "start" | "end" | undefined;
|
|
12457
13398
|
} | {
|
|
12458
13399
|
type: "Grid";
|
|
12459
13400
|
id: string;
|
|
12460
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
13401
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[] | undefined;
|
|
12461
13402
|
onCreate?: ((args_0: {
|
|
12462
13403
|
id: string;
|
|
12463
13404
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -12528,6 +13469,7 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12528
13469
|
options?: {
|
|
12529
13470
|
value: string;
|
|
12530
13471
|
label: string;
|
|
13472
|
+
disabled?: boolean | undefined;
|
|
12531
13473
|
}[] | undefined;
|
|
12532
13474
|
value?: string | undefined;
|
|
12533
13475
|
onCreate?: ((args_0: {
|
|
@@ -12589,10 +13531,71 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12589
13531
|
id: string;
|
|
12590
13532
|
}, ...args: unknown[]) => void) | undefined;
|
|
12591
13533
|
label?: string | undefined;
|
|
13534
|
+
} | {
|
|
13535
|
+
type: "CheckboxGroup";
|
|
13536
|
+
id: string;
|
|
13537
|
+
options?: {
|
|
13538
|
+
value: string;
|
|
13539
|
+
label: string;
|
|
13540
|
+
disabled?: boolean | undefined;
|
|
13541
|
+
}[] | undefined;
|
|
13542
|
+
value?: string[] | undefined;
|
|
13543
|
+
onCreate?: ((args_0: {
|
|
13544
|
+
id: string;
|
|
13545
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13546
|
+
onDestroy?: ((args_0: {
|
|
13547
|
+
id: string;
|
|
13548
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13549
|
+
label?: string | undefined;
|
|
13550
|
+
onChange?: ((args_0: {
|
|
13551
|
+
value: string[];
|
|
13552
|
+
id: string;
|
|
13553
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13554
|
+
} | {
|
|
13555
|
+
type: "RadioGroup";
|
|
13556
|
+
id: string;
|
|
13557
|
+
options?: {
|
|
13558
|
+
value: string;
|
|
13559
|
+
label: string;
|
|
13560
|
+
disabled?: boolean | undefined;
|
|
13561
|
+
}[] | undefined;
|
|
13562
|
+
value?: string | undefined;
|
|
13563
|
+
onCreate?: ((args_0: {
|
|
13564
|
+
id: string;
|
|
13565
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13566
|
+
onDestroy?: ((args_0: {
|
|
13567
|
+
id: string;
|
|
13568
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13569
|
+
label?: string | undefined;
|
|
13570
|
+
onChange?: ((args_0: {
|
|
13571
|
+
id: string;
|
|
13572
|
+
value?: string | undefined;
|
|
13573
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13574
|
+
} | {
|
|
13575
|
+
type: "ToggleGroup";
|
|
13576
|
+
id: string;
|
|
13577
|
+
options?: {
|
|
13578
|
+
value: string;
|
|
13579
|
+
label: string;
|
|
13580
|
+
disabled?: boolean | undefined;
|
|
13581
|
+
}[] | undefined;
|
|
13582
|
+
value?: string[] | undefined;
|
|
13583
|
+
onCreate?: ((args_0: {
|
|
13584
|
+
id: string;
|
|
13585
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13586
|
+
onDestroy?: ((args_0: {
|
|
13587
|
+
id: string;
|
|
13588
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13589
|
+
label?: string | undefined;
|
|
13590
|
+
onChange?: ((args_0: {
|
|
13591
|
+
value: string[];
|
|
13592
|
+
id: string;
|
|
13593
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13594
|
+
alignment?: "start" | "end" | undefined;
|
|
12592
13595
|
} | {
|
|
12593
13596
|
type: "Grid";
|
|
12594
13597
|
id: string;
|
|
12595
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
13598
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[] | undefined;
|
|
12596
13599
|
onCreate?: ((args_0: {
|
|
12597
13600
|
id: string;
|
|
12598
13601
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -12663,6 +13666,7 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12663
13666
|
options?: {
|
|
12664
13667
|
value: string;
|
|
12665
13668
|
label: string;
|
|
13669
|
+
disabled?: boolean | undefined;
|
|
12666
13670
|
}[] | undefined;
|
|
12667
13671
|
value?: string | undefined;
|
|
12668
13672
|
onCreate?: ((args_0: {
|
|
@@ -12724,10 +13728,71 @@ declare const UpdatePanelElementsParamsSchema: ZodObject<{
|
|
|
12724
13728
|
id: string;
|
|
12725
13729
|
}, ...args: unknown[]) => void) | undefined;
|
|
12726
13730
|
label?: string | undefined;
|
|
13731
|
+
} | {
|
|
13732
|
+
type: "CheckboxGroup";
|
|
13733
|
+
id: string;
|
|
13734
|
+
options?: {
|
|
13735
|
+
value: string;
|
|
13736
|
+
label: string;
|
|
13737
|
+
disabled?: boolean | undefined;
|
|
13738
|
+
}[] | undefined;
|
|
13739
|
+
value?: string[] | undefined;
|
|
13740
|
+
onCreate?: ((args_0: {
|
|
13741
|
+
id: string;
|
|
13742
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13743
|
+
onDestroy?: ((args_0: {
|
|
13744
|
+
id: string;
|
|
13745
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13746
|
+
label?: string | undefined;
|
|
13747
|
+
onChange?: ((args_0: {
|
|
13748
|
+
value: string[];
|
|
13749
|
+
id: string;
|
|
13750
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13751
|
+
} | {
|
|
13752
|
+
type: "RadioGroup";
|
|
13753
|
+
id: string;
|
|
13754
|
+
options?: {
|
|
13755
|
+
value: string;
|
|
13756
|
+
label: string;
|
|
13757
|
+
disabled?: boolean | undefined;
|
|
13758
|
+
}[] | undefined;
|
|
13759
|
+
value?: string | undefined;
|
|
13760
|
+
onCreate?: ((args_0: {
|
|
13761
|
+
id: string;
|
|
13762
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13763
|
+
onDestroy?: ((args_0: {
|
|
13764
|
+
id: string;
|
|
13765
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13766
|
+
label?: string | undefined;
|
|
13767
|
+
onChange?: ((args_0: {
|
|
13768
|
+
id: string;
|
|
13769
|
+
value?: string | undefined;
|
|
13770
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13771
|
+
} | {
|
|
13772
|
+
type: "ToggleGroup";
|
|
13773
|
+
id: string;
|
|
13774
|
+
options?: {
|
|
13775
|
+
value: string;
|
|
13776
|
+
label: string;
|
|
13777
|
+
disabled?: boolean | undefined;
|
|
13778
|
+
}[] | undefined;
|
|
13779
|
+
value?: string[] | undefined;
|
|
13780
|
+
onCreate?: ((args_0: {
|
|
13781
|
+
id: string;
|
|
13782
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13783
|
+
onDestroy?: ((args_0: {
|
|
13784
|
+
id: string;
|
|
13785
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13786
|
+
label?: string | undefined;
|
|
13787
|
+
onChange?: ((args_0: {
|
|
13788
|
+
value: string[];
|
|
13789
|
+
id: string;
|
|
13790
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
13791
|
+
alignment?: "start" | "end" | undefined;
|
|
12727
13792
|
} | {
|
|
12728
13793
|
type: "Grid";
|
|
12729
13794
|
id: string;
|
|
12730
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
13795
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[] | undefined;
|
|
12731
13796
|
onCreate?: ((args_0: {
|
|
12732
13797
|
id: string;
|
|
12733
13798
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -13562,4 +14627,4 @@ interface FeltController extends ViewportController, UiController, LayersControl
|
|
|
13562
14627
|
iframe: HTMLIFrameElement | null;
|
|
13563
14628
|
}
|
|
13564
14629
|
|
|
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
|
|
14630
|
+
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 UICheckboxGroupElementCreate 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 UICheckboxGroupElement 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 UICheckboxGroupElementUpdate as c0, type UIRadioGroupElement as c1, type UIRadioGroupElementCreate as c2, type UIRadioGroupElementUpdate as c3, type UIToggleGroupElement as c4, type UIToggleGroupElementCreate as c5, type UIToggleGroupElementUpdate as c6, type UIControlElementOption as c7, type UIActionTriggerCreate as c8, type UiController as c9, type SetViewportCenterZoomParams as ca, type ViewportConstraints as cb, type ViewportFitBoundsParams as cc, type ViewportState as cd, type ViewportController as ce, type UnwrapPromise as cf, uiActionTriggerSchema as cg, type UIPanelElementCreateClonable as ch, uiPanelCreateSchema as ci, type UIButtonElementCreateClonable as cj, type MakeClonableSchema as ck, type UIButtonRowElementCreateClonable as cl, type PromiseOrNot as cm, type UnionToIntersection as cn, 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 };
|