@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
|
@@ -8417,6 +8417,44 @@ type MakeUpdateSchema<TElement extends {
|
|
|
8417
8417
|
id?: string;
|
|
8418
8418
|
type: string;
|
|
8419
8419
|
}> = Omit<Partial<TElementCreate>, "id" | "type"> & Pick<TElement, "id" | "type">;
|
|
8420
|
+
declare const uiControlElementOptionSchema: z.ZodObject<{
|
|
8421
|
+
label: z.ZodString;
|
|
8422
|
+
value: z.ZodString;
|
|
8423
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
8424
|
+
}, "strip", z.ZodTypeAny, {
|
|
8425
|
+
value: string;
|
|
8426
|
+
label: string;
|
|
8427
|
+
disabled?: boolean | undefined;
|
|
8428
|
+
}, {
|
|
8429
|
+
value: string;
|
|
8430
|
+
label: string;
|
|
8431
|
+
disabled?: boolean | undefined;
|
|
8432
|
+
}>;
|
|
8433
|
+
/**
|
|
8434
|
+
* An option to display in a control element.
|
|
8435
|
+
*
|
|
8436
|
+
* Control elements are elements that allow the user to select one or more values from a list of options.
|
|
8437
|
+
* This includes:
|
|
8438
|
+
* - {@link UIRadioGroupElement}
|
|
8439
|
+
* - {@link UICheckboxGroupElement}
|
|
8440
|
+
* - {@link UIToggleGroupElement}
|
|
8441
|
+
* - {@link UISelectElement}
|
|
8442
|
+
*
|
|
8443
|
+
* The option can be disabled by setting the `disabled` property to `true`.
|
|
8444
|
+
*
|
|
8445
|
+
* @example
|
|
8446
|
+
* ```typescript
|
|
8447
|
+
* { label: "Option A", value: "optionA" }
|
|
8448
|
+
* ```
|
|
8449
|
+
*
|
|
8450
|
+
* @example
|
|
8451
|
+
* A disabled option
|
|
8452
|
+
* ```typescript
|
|
8453
|
+
* { label: "Option A", value: "optionA", disabled: true }
|
|
8454
|
+
* ```
|
|
8455
|
+
*/
|
|
8456
|
+
interface UIControlElementOption extends zInfer<typeof uiControlElementOptionSchema> {
|
|
8457
|
+
}
|
|
8420
8458
|
|
|
8421
8459
|
declare const uiButtonElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8422
8460
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
@@ -8717,6 +8755,164 @@ type UIButtonRowElementCreateClonable = Omit<MakeClonableSchema<UIButtonRowEleme
|
|
|
8717
8755
|
interface UIButtonRowElementUpdate extends MakeUpdateSchema<UIButtonRowElement, UIButtonRowElementCreate> {
|
|
8718
8756
|
}
|
|
8719
8757
|
|
|
8758
|
+
declare const uiCheckboxGroupElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8759
|
+
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
8760
|
+
id: z.ZodString;
|
|
8761
|
+
}, "strip", z.ZodTypeAny, {
|
|
8762
|
+
id: string;
|
|
8763
|
+
}, {
|
|
8764
|
+
id: string;
|
|
8765
|
+
}>], z.ZodUnknown>, z.ZodVoid>>;
|
|
8766
|
+
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
8767
|
+
id: z.ZodString;
|
|
8768
|
+
}, "strip", z.ZodTypeAny, {
|
|
8769
|
+
id: string;
|
|
8770
|
+
}, {
|
|
8771
|
+
id: string;
|
|
8772
|
+
}>], z.ZodUnknown>, z.ZodVoid>>;
|
|
8773
|
+
}, {
|
|
8774
|
+
id: z.ZodString;
|
|
8775
|
+
}>, {
|
|
8776
|
+
label: z.ZodOptional<z.ZodString>;
|
|
8777
|
+
}>, {
|
|
8778
|
+
type: z.ZodLiteral<"CheckboxGroup">;
|
|
8779
|
+
/**
|
|
8780
|
+
* The options to display in the checkbox group.
|
|
8781
|
+
*/
|
|
8782
|
+
options: z.ZodArray<z.ZodObject<{
|
|
8783
|
+
label: z.ZodString;
|
|
8784
|
+
value: z.ZodString;
|
|
8785
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
8786
|
+
}, "strip", z.ZodTypeAny, {
|
|
8787
|
+
value: string;
|
|
8788
|
+
label: string;
|
|
8789
|
+
disabled?: boolean | undefined;
|
|
8790
|
+
}, {
|
|
8791
|
+
value: string;
|
|
8792
|
+
label: string;
|
|
8793
|
+
disabled?: boolean | undefined;
|
|
8794
|
+
}>, "many">;
|
|
8795
|
+
/**
|
|
8796
|
+
* The value of the checkbox group.
|
|
8797
|
+
*
|
|
8798
|
+
* @defaultValue `[]`
|
|
8799
|
+
*/
|
|
8800
|
+
value: z.ZodArray<z.ZodString, "many">;
|
|
8801
|
+
onChange: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
8802
|
+
value: z.ZodArray<z.ZodString, "many">;
|
|
8803
|
+
id: z.ZodString;
|
|
8804
|
+
}, "strip", z.ZodTypeAny, {
|
|
8805
|
+
value: string[];
|
|
8806
|
+
id: string;
|
|
8807
|
+
}, {
|
|
8808
|
+
value: string[];
|
|
8809
|
+
id: string;
|
|
8810
|
+
}>], z.ZodUnknown>, z.ZodVoid>;
|
|
8811
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8812
|
+
options: {
|
|
8813
|
+
value: string;
|
|
8814
|
+
label: string;
|
|
8815
|
+
disabled?: boolean | undefined;
|
|
8816
|
+
}[];
|
|
8817
|
+
type: "CheckboxGroup";
|
|
8818
|
+
value: string[];
|
|
8819
|
+
id: string;
|
|
8820
|
+
onChange: (args_0: {
|
|
8821
|
+
value: string[];
|
|
8822
|
+
id: string;
|
|
8823
|
+
}, ...args: unknown[]) => void;
|
|
8824
|
+
onCreate?: ((args_0: {
|
|
8825
|
+
id: string;
|
|
8826
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
8827
|
+
onDestroy?: ((args_0: {
|
|
8828
|
+
id: string;
|
|
8829
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
8830
|
+
label?: string | undefined;
|
|
8831
|
+
}, {
|
|
8832
|
+
options: {
|
|
8833
|
+
value: string;
|
|
8834
|
+
label: string;
|
|
8835
|
+
disabled?: boolean | undefined;
|
|
8836
|
+
}[];
|
|
8837
|
+
type: "CheckboxGroup";
|
|
8838
|
+
value: string[];
|
|
8839
|
+
id: string;
|
|
8840
|
+
onChange: (args_0: {
|
|
8841
|
+
value: string[];
|
|
8842
|
+
id: string;
|
|
8843
|
+
}, ...args: unknown[]) => void;
|
|
8844
|
+
onCreate?: ((args_0: {
|
|
8845
|
+
id: string;
|
|
8846
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
8847
|
+
onDestroy?: ((args_0: {
|
|
8848
|
+
id: string;
|
|
8849
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
8850
|
+
label?: string | undefined;
|
|
8851
|
+
}>;
|
|
8852
|
+
/**
|
|
8853
|
+
* The parameters for creating a checkbox group element.
|
|
8854
|
+
*
|
|
8855
|
+
* The checkbox group is a control that allows the user to select one or more values from a list of options.
|
|
8856
|
+
*
|
|
8857
|
+
* As a control, the checkbox group can have a label displayed above the checkboxes.
|
|
8858
|
+
*
|
|
8859
|
+
* If no value is provided, `value` is `[]`, the checkbox group will be empty.
|
|
8860
|
+
*
|
|
8861
|
+
* <figure>
|
|
8862
|
+
* <img src="./img/checkbox-group-basic.png" alt="Checkbox group basic" />
|
|
8863
|
+
* <figcaption>
|
|
8864
|
+
* A checkbox group with a label
|
|
8865
|
+
* </figcaption>
|
|
8866
|
+
* </figure>
|
|
8867
|
+
*
|
|
8868
|
+
* ```typescript
|
|
8869
|
+
* {
|
|
8870
|
+
* type: "CheckboxGroup",
|
|
8871
|
+
* label: "Select your hobbies",
|
|
8872
|
+
* options: [
|
|
8873
|
+
* { label: "👾 Video games", value: "gaming" },
|
|
8874
|
+
* { label: "🎨 Art", value: "art" },
|
|
8875
|
+
* { label: "🎤 Singing", value: "singing" },
|
|
8876
|
+
* { label: "🎬 Movies", value: "movies" },
|
|
8877
|
+
* ],
|
|
8878
|
+
* value: ["gaming", "art"],
|
|
8879
|
+
* onChange: ({ value, id }) => { }
|
|
8880
|
+
* }
|
|
8881
|
+
* ```
|
|
8882
|
+
*/
|
|
8883
|
+
interface UICheckboxGroupElement extends UILabelReadyElement, Omit<zInfer<typeof uiCheckboxGroupElementSchema>, "onChange" | "onCreate" | "onDestroy" | "options"> {
|
|
8884
|
+
/**
|
|
8885
|
+
* The options to display in the checkbox group.
|
|
8886
|
+
*/
|
|
8887
|
+
options: Array<UIControlElementOption>;
|
|
8888
|
+
/**
|
|
8889
|
+
* The function to call when the value of the checkbox group changes.
|
|
8890
|
+
*
|
|
8891
|
+
* @param args - The arguments passed to the function.
|
|
8892
|
+
* @param args.value - Array of the selected values.
|
|
8893
|
+
* @param args.id - The id of the checkbox group element.
|
|
8894
|
+
*/
|
|
8895
|
+
onChange: (args: {
|
|
8896
|
+
value: Array<UIControlElementOption["value"]>;
|
|
8897
|
+
id: string;
|
|
8898
|
+
}) => void;
|
|
8899
|
+
}
|
|
8900
|
+
/**
|
|
8901
|
+
* The parameters for creating a checkbox group element.
|
|
8902
|
+
*
|
|
8903
|
+
* See {@link UICheckboxGroupElement} for more details.
|
|
8904
|
+
*/
|
|
8905
|
+
interface UICheckboxGroupElementCreate extends Omit<UICheckboxGroupElement, "id">, UILabelReadyElementCreateParams {
|
|
8906
|
+
}
|
|
8907
|
+
type UICheckboxGroupElementCreateClonable = MakeClonableSchema<UICheckboxGroupElementCreate>;
|
|
8908
|
+
/**
|
|
8909
|
+
* The parameters for updating a checkbox group element.
|
|
8910
|
+
*
|
|
8911
|
+
* See {@link UICheckboxGroupElement} for more details.
|
|
8912
|
+
*/
|
|
8913
|
+
interface UICheckboxGroupElementUpdate extends MakeUpdateSchema<UICheckboxGroupElement, UICheckboxGroupElementCreate> {
|
|
8914
|
+
}
|
|
8915
|
+
|
|
8720
8916
|
declare const uiDividerElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8721
8917
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
8722
8918
|
id: z.ZodString;
|
|
@@ -8894,7 +9090,7 @@ type UIFlexibleSpaceElementCreateClonable = MakeClonableSchema<UIFlexibleSpaceEl
|
|
|
8894
9090
|
interface UIFlexibleSpaceElementUpdate extends MakeUpdateSchema<UIFlexibleSpaceElement, UIFlexibleSpaceElementCreate> {
|
|
8895
9091
|
}
|
|
8896
9092
|
|
|
8897
|
-
declare const
|
|
9093
|
+
declare const uiToggleGroupElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8898
9094
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
8899
9095
|
id: z.ZodString;
|
|
8900
9096
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8914,56 +9110,55 @@ declare const uiSelectElementSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
8914
9110
|
}>, {
|
|
8915
9111
|
label: z.ZodOptional<z.ZodString>;
|
|
8916
9112
|
}>, {
|
|
8917
|
-
type: z.ZodLiteral<"
|
|
9113
|
+
type: z.ZodLiteral<"ToggleGroup">;
|
|
8918
9114
|
/**
|
|
8919
|
-
* The
|
|
9115
|
+
* The alignment of the toggle group.
|
|
9116
|
+
*
|
|
9117
|
+
* @defaultValue `"start"`
|
|
8920
9118
|
*/
|
|
9119
|
+
alignment: z.ZodOptional<z.ZodEnum<["start", "end"]>>;
|
|
8921
9120
|
options: z.ZodArray<z.ZodObject<{
|
|
8922
9121
|
label: z.ZodString;
|
|
8923
9122
|
value: z.ZodString;
|
|
9123
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
8924
9124
|
}, "strip", z.ZodTypeAny, {
|
|
8925
9125
|
value: string;
|
|
8926
9126
|
label: string;
|
|
9127
|
+
disabled?: boolean | undefined;
|
|
8927
9128
|
}, {
|
|
8928
9129
|
value: string;
|
|
8929
9130
|
label: string;
|
|
9131
|
+
disabled?: boolean | undefined;
|
|
8930
9132
|
}>, "many">;
|
|
8931
9133
|
/**
|
|
8932
|
-
* The value of the
|
|
8933
|
-
*/
|
|
8934
|
-
value: z.ZodOptional<z.ZodString>;
|
|
8935
|
-
/**
|
|
8936
|
-
* The placeholder text to display in the select.
|
|
8937
|
-
*/
|
|
8938
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
8939
|
-
/**
|
|
8940
|
-
* Whether the select should allow searching through the options.
|
|
9134
|
+
* The value of the toggle group.
|
|
8941
9135
|
*
|
|
8942
|
-
* @defaultValue `
|
|
9136
|
+
* @defaultValue `[]`
|
|
8943
9137
|
*/
|
|
8944
|
-
|
|
9138
|
+
value: z.ZodArray<z.ZodString, "many">;
|
|
8945
9139
|
onChange: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
8946
|
-
value: z.ZodString
|
|
9140
|
+
value: z.ZodArray<z.ZodString, "many">;
|
|
8947
9141
|
id: z.ZodString;
|
|
8948
9142
|
}, "strip", z.ZodTypeAny, {
|
|
8949
|
-
value: string;
|
|
9143
|
+
value: string[];
|
|
8950
9144
|
id: string;
|
|
8951
9145
|
}, {
|
|
8952
|
-
value: string;
|
|
9146
|
+
value: string[];
|
|
8953
9147
|
id: string;
|
|
8954
9148
|
}>], z.ZodUnknown>, z.ZodVoid>;
|
|
8955
9149
|
}>, "strip", z.ZodTypeAny, {
|
|
8956
9150
|
options: {
|
|
8957
9151
|
value: string;
|
|
8958
9152
|
label: string;
|
|
9153
|
+
disabled?: boolean | undefined;
|
|
8959
9154
|
}[];
|
|
8960
|
-
type: "
|
|
9155
|
+
type: "ToggleGroup";
|
|
9156
|
+
value: string[];
|
|
8961
9157
|
id: string;
|
|
8962
9158
|
onChange: (args_0: {
|
|
8963
|
-
value: string;
|
|
9159
|
+
value: string[];
|
|
8964
9160
|
id: string;
|
|
8965
9161
|
}, ...args: unknown[]) => void;
|
|
8966
|
-
value?: string | undefined;
|
|
8967
9162
|
onCreate?: ((args_0: {
|
|
8968
9163
|
id: string;
|
|
8969
9164
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -8971,20 +9166,20 @@ declare const uiSelectElementSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
8971
9166
|
id: string;
|
|
8972
9167
|
}, ...args: unknown[]) => void) | undefined;
|
|
8973
9168
|
label?: string | undefined;
|
|
8974
|
-
|
|
8975
|
-
search?: boolean | undefined;
|
|
9169
|
+
alignment?: "start" | "end" | undefined;
|
|
8976
9170
|
}, {
|
|
8977
9171
|
options: {
|
|
8978
9172
|
value: string;
|
|
8979
9173
|
label: string;
|
|
9174
|
+
disabled?: boolean | undefined;
|
|
8980
9175
|
}[];
|
|
8981
|
-
type: "
|
|
9176
|
+
type: "ToggleGroup";
|
|
9177
|
+
value: string[];
|
|
8982
9178
|
id: string;
|
|
8983
9179
|
onChange: (args_0: {
|
|
8984
|
-
value: string;
|
|
9180
|
+
value: string[];
|
|
8985
9181
|
id: string;
|
|
8986
9182
|
}, ...args: unknown[]) => void;
|
|
8987
|
-
value?: string | undefined;
|
|
8988
9183
|
onCreate?: ((args_0: {
|
|
8989
9184
|
id: string;
|
|
8990
9185
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -8992,97 +9187,111 @@ declare const uiSelectElementSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
8992
9187
|
id: string;
|
|
8993
9188
|
}, ...args: unknown[]) => void) | undefined;
|
|
8994
9189
|
label?: string | undefined;
|
|
8995
|
-
|
|
8996
|
-
search?: boolean | undefined;
|
|
9190
|
+
alignment?: "start" | "end" | undefined;
|
|
8997
9191
|
}>;
|
|
8998
9192
|
/**
|
|
8999
|
-
*
|
|
9193
|
+
* The parameters for creating a toggle group element.
|
|
9000
9194
|
*
|
|
9001
|
-
*
|
|
9002
|
-
*
|
|
9003
|
-
*
|
|
9004
|
-
*
|
|
9005
|
-
*
|
|
9006
|
-
*
|
|
9007
|
-
*
|
|
9195
|
+
* ### Options
|
|
9196
|
+
*
|
|
9197
|
+
* The options to display in the toggle group are defined using the `options` property.
|
|
9198
|
+
* It can contain one or more options and each option renders a toggle.
|
|
9199
|
+
*
|
|
9200
|
+
* <figure>
|
|
9201
|
+
* <img src="./img/toggle-group-basic.png" alt="Toggle group basic" />
|
|
9202
|
+
* <figcaption>
|
|
9203
|
+
* A group with a single option
|
|
9204
|
+
* </figcaption>
|
|
9205
|
+
* </figure>
|
|
9008
9206
|
*
|
|
9009
|
-
* @example
|
|
9010
|
-
* #### empty select
|
|
9011
9207
|
* ```typescript
|
|
9012
9208
|
* {
|
|
9013
|
-
* type: "
|
|
9014
|
-
* options: [{ label: "Option
|
|
9015
|
-
* value:
|
|
9016
|
-
*
|
|
9017
|
-
* onChange: (args) => console.log(args.value),
|
|
9209
|
+
* type: "ToggleGroup",
|
|
9210
|
+
* options: [{ label: "Option A", value: "optionA" }],
|
|
9211
|
+
* value: [],
|
|
9212
|
+
* onChange: ({ value, id }) => { }
|
|
9018
9213
|
* }
|
|
9019
9214
|
* ```
|
|
9020
9215
|
*
|
|
9021
|
-
*
|
|
9022
|
-
*
|
|
9023
|
-
*
|
|
9024
|
-
* `
|
|
9216
|
+
* ### Alignment
|
|
9217
|
+
*
|
|
9218
|
+
* By default, the toggles are aligned to the start of the group,
|
|
9219
|
+
* but it can be changed to `end` by setting the `alignment` property to `end`.
|
|
9220
|
+
*
|
|
9221
|
+
* <figure>
|
|
9222
|
+
* <img src="./img/toggle-group-end-alignment.png" alt="Toggle group end alignment" />
|
|
9223
|
+
* <figcaption>
|
|
9224
|
+
* The toggles are aligned to the end
|
|
9225
|
+
* </figcaption>
|
|
9226
|
+
* </figure>
|
|
9025
9227
|
*
|
|
9026
9228
|
* ```typescript
|
|
9027
9229
|
* {
|
|
9028
|
-
* type: "
|
|
9029
|
-
*
|
|
9030
|
-
*
|
|
9031
|
-
*
|
|
9032
|
-
*
|
|
9033
|
-
*
|
|
9230
|
+
* type: "ToggleGroup",
|
|
9231
|
+
* alignment: "end",
|
|
9232
|
+
* label: "All options",
|
|
9233
|
+
* options: [
|
|
9234
|
+
* { label: "Option A", value: "optionA" },
|
|
9235
|
+
* { label: "Option B", value: "optionB" },
|
|
9236
|
+
* ],
|
|
9237
|
+
* value: ["optionA"],
|
|
9238
|
+
* onChange: ({ value, id }) => { }
|
|
9034
9239
|
* }
|
|
9035
9240
|
* ```
|
|
9036
9241
|
*
|
|
9037
|
-
*
|
|
9038
|
-
*
|
|
9242
|
+
* ### Label
|
|
9243
|
+
*
|
|
9244
|
+
* As a control, the toggle group can have a label displayed above the toggles.
|
|
9245
|
+
*
|
|
9246
|
+
* <img src="./img/toggle-group-with-label.png" alt="Toggle group with label" />
|
|
9247
|
+
*
|
|
9039
9248
|
* ```typescript
|
|
9040
9249
|
* {
|
|
9041
|
-
* type: "
|
|
9042
|
-
*
|
|
9043
|
-
*
|
|
9044
|
-
*
|
|
9045
|
-
*
|
|
9046
|
-
*
|
|
9250
|
+
* type: "ToggleGroup",
|
|
9251
|
+
* label: "All options",
|
|
9252
|
+
* options: [
|
|
9253
|
+
* { label: "Option A", value: "optionA" },
|
|
9254
|
+
* { label: "Option B", value: "optionB" },
|
|
9255
|
+
* ],
|
|
9256
|
+
* value: ["optionA"],
|
|
9257
|
+
* onChange: ({ value, id }) => { }
|
|
9047
9258
|
* }
|
|
9048
9259
|
* ```
|
|
9049
9260
|
*/
|
|
9050
|
-
interface
|
|
9261
|
+
interface UIToggleGroupElement extends UILabelReadyElement, Omit<zInfer<typeof uiToggleGroupElementSchema>, "onChange" | "onCreate" | "onDestroy" | "options"> {
|
|
9051
9262
|
/**
|
|
9052
|
-
* The
|
|
9263
|
+
* The options to display in the toggle group.
|
|
9264
|
+
*/
|
|
9265
|
+
options: Array<UIControlElementOption>;
|
|
9266
|
+
/**
|
|
9267
|
+
* The function to call when the value of the toggle group changes.
|
|
9053
9268
|
*
|
|
9054
9269
|
* @param args - The arguments passed to the function.
|
|
9055
|
-
* @param args.value -
|
|
9056
|
-
* @param args.id - The id of the
|
|
9270
|
+
* @param args.value - Array of the selected values.
|
|
9271
|
+
* @param args.id - The id of the toggle group element.
|
|
9057
9272
|
*/
|
|
9058
9273
|
onChange: (args: {
|
|
9059
|
-
value:
|
|
9274
|
+
value: Array<UIControlElementOption["value"]>;
|
|
9060
9275
|
id: string;
|
|
9061
9276
|
}) => void;
|
|
9062
9277
|
}
|
|
9063
9278
|
/**
|
|
9064
|
-
* The parameters for creating a
|
|
9065
|
-
*
|
|
9066
|
-
* See {@link UISelectElement} for more details.
|
|
9279
|
+
* The parameters for creating a toggle group element.
|
|
9067
9280
|
*
|
|
9068
|
-
* @
|
|
9069
|
-
* `id` is optional but recommended if you want to be able to perform updates.
|
|
9281
|
+
* See {@link UIToggleGroupElement} for more details.
|
|
9070
9282
|
*/
|
|
9071
|
-
interface
|
|
9283
|
+
interface UIToggleGroupElementCreate extends Omit<UIToggleGroupElement, "id">, UILabelReadyElementCreateParams {
|
|
9072
9284
|
}
|
|
9073
|
-
type
|
|
9285
|
+
type UIToggleGroupElementCreateClonable = MakeClonableSchema<UIToggleGroupElementCreate>;
|
|
9074
9286
|
/**
|
|
9075
|
-
* The parameters for updating a
|
|
9076
|
-
*
|
|
9077
|
-
* See {@link UISelectElement} for more details.
|
|
9287
|
+
* The parameters for updating a toggle group element.
|
|
9078
9288
|
*
|
|
9079
|
-
* @
|
|
9080
|
-
* `id` and `type` are required to identify the element to update.
|
|
9289
|
+
* See {@link UIToggleGroupElement} for more details.
|
|
9081
9290
|
*/
|
|
9082
|
-
interface
|
|
9291
|
+
interface UIToggleGroupElementUpdate extends MakeUpdateSchema<UIToggleGroupElement, UIToggleGroupElementCreate> {
|
|
9083
9292
|
}
|
|
9084
9293
|
|
|
9085
|
-
declare const
|
|
9294
|
+
declare const uiRadioGroupElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9086
9295
|
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
9087
9296
|
id: z.ZodString;
|
|
9088
9297
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9102,25 +9311,379 @@ declare const uiTextInputElementSchema: z.ZodObject<z.objectUtil.extendShape<z.o
|
|
|
9102
9311
|
}>, {
|
|
9103
9312
|
label: z.ZodOptional<z.ZodString>;
|
|
9104
9313
|
}>, {
|
|
9105
|
-
type: z.ZodLiteral<"
|
|
9314
|
+
type: z.ZodLiteral<"RadioGroup">;
|
|
9106
9315
|
/**
|
|
9107
|
-
* The
|
|
9108
|
-
*/
|
|
9109
|
-
value: z.ZodString;
|
|
9110
|
-
/**
|
|
9111
|
-
* The placeholder text to display in the input.
|
|
9316
|
+
* The options to display in the radio group.
|
|
9112
9317
|
*/
|
|
9113
|
-
|
|
9114
|
-
|
|
9318
|
+
options: z.ZodArray<z.ZodObject<{
|
|
9319
|
+
label: z.ZodString;
|
|
9115
9320
|
value: z.ZodString;
|
|
9116
|
-
|
|
9321
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
9117
9322
|
}, "strip", z.ZodTypeAny, {
|
|
9118
9323
|
value: string;
|
|
9119
|
-
|
|
9324
|
+
label: string;
|
|
9325
|
+
disabled?: boolean | undefined;
|
|
9120
9326
|
}, {
|
|
9121
9327
|
value: string;
|
|
9122
|
-
|
|
9123
|
-
|
|
9328
|
+
label: string;
|
|
9329
|
+
disabled?: boolean | undefined;
|
|
9330
|
+
}>, "many">;
|
|
9331
|
+
/**
|
|
9332
|
+
* The value of the radio group.
|
|
9333
|
+
*
|
|
9334
|
+
* @defaultValue `undefined`
|
|
9335
|
+
*/
|
|
9336
|
+
value: z.ZodOptional<z.ZodString>;
|
|
9337
|
+
onChange: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
9338
|
+
value: z.ZodOptional<z.ZodString>;
|
|
9339
|
+
id: z.ZodString;
|
|
9340
|
+
}, "strip", z.ZodTypeAny, {
|
|
9341
|
+
id: string;
|
|
9342
|
+
value?: string | undefined;
|
|
9343
|
+
}, {
|
|
9344
|
+
id: string;
|
|
9345
|
+
value?: string | undefined;
|
|
9346
|
+
}>], z.ZodUnknown>, z.ZodVoid>;
|
|
9347
|
+
}>, "strip", z.ZodTypeAny, {
|
|
9348
|
+
options: {
|
|
9349
|
+
value: string;
|
|
9350
|
+
label: string;
|
|
9351
|
+
disabled?: boolean | undefined;
|
|
9352
|
+
}[];
|
|
9353
|
+
type: "RadioGroup";
|
|
9354
|
+
id: string;
|
|
9355
|
+
onChange: (args_0: {
|
|
9356
|
+
id: string;
|
|
9357
|
+
value?: string | undefined;
|
|
9358
|
+
}, ...args: unknown[]) => void;
|
|
9359
|
+
value?: string | undefined;
|
|
9360
|
+
onCreate?: ((args_0: {
|
|
9361
|
+
id: string;
|
|
9362
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
9363
|
+
onDestroy?: ((args_0: {
|
|
9364
|
+
id: string;
|
|
9365
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
9366
|
+
label?: string | undefined;
|
|
9367
|
+
}, {
|
|
9368
|
+
options: {
|
|
9369
|
+
value: string;
|
|
9370
|
+
label: string;
|
|
9371
|
+
disabled?: boolean | undefined;
|
|
9372
|
+
}[];
|
|
9373
|
+
type: "RadioGroup";
|
|
9374
|
+
id: string;
|
|
9375
|
+
onChange: (args_0: {
|
|
9376
|
+
id: string;
|
|
9377
|
+
value?: string | undefined;
|
|
9378
|
+
}, ...args: unknown[]) => void;
|
|
9379
|
+
value?: string | undefined;
|
|
9380
|
+
onCreate?: ((args_0: {
|
|
9381
|
+
id: string;
|
|
9382
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
9383
|
+
onDestroy?: ((args_0: {
|
|
9384
|
+
id: string;
|
|
9385
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
9386
|
+
label?: string | undefined;
|
|
9387
|
+
}>;
|
|
9388
|
+
/**
|
|
9389
|
+
* The parameters for creating a radio group element.
|
|
9390
|
+
*
|
|
9391
|
+
* The radio group is a control that allows the user to select a single value from a list of options.
|
|
9392
|
+
*
|
|
9393
|
+
* As a control, the radio group can have a label displayed above the radioes.
|
|
9394
|
+
*
|
|
9395
|
+
* If no value is provided, `value` is `undefined`, the radio group will be empty.
|
|
9396
|
+
*
|
|
9397
|
+
* <figure>
|
|
9398
|
+
* <img src="./img/radio-group-basic.png" alt="Radio group basic" />
|
|
9399
|
+
* <figcaption>
|
|
9400
|
+
* A radio buttons group with a label
|
|
9401
|
+
* </figcaption>
|
|
9402
|
+
* </figure>
|
|
9403
|
+
*
|
|
9404
|
+
* ```typescript
|
|
9405
|
+
* {
|
|
9406
|
+
* type: "RadioGroup",
|
|
9407
|
+
* label: "Select a side",
|
|
9408
|
+
* options: [
|
|
9409
|
+
* { label: "🍟", value: "fries" },
|
|
9410
|
+
* { label: "🍚", value: "rice" },
|
|
9411
|
+
* { label: "🥗", value: "salad" },
|
|
9412
|
+
* ],
|
|
9413
|
+
* value: "rice",
|
|
9414
|
+
* onChange: ({ value, id }) => { }
|
|
9415
|
+
* }
|
|
9416
|
+
* ```
|
|
9417
|
+
*/
|
|
9418
|
+
interface UIRadioGroupElement extends UILabelReadyElement, Omit<zInfer<typeof uiRadioGroupElementSchema>, "onChange" | "onCreate" | "onDestroy" | "options"> {
|
|
9419
|
+
/**
|
|
9420
|
+
* The options to display in the radio group.
|
|
9421
|
+
*/
|
|
9422
|
+
options: Array<UIControlElementOption>;
|
|
9423
|
+
/**
|
|
9424
|
+
* The function to call when the value of the radio group changes.
|
|
9425
|
+
*
|
|
9426
|
+
* @param args - The arguments passed to the function.
|
|
9427
|
+
* @param args.value - The selected value.
|
|
9428
|
+
* @param args.id - The id of the radio group element.
|
|
9429
|
+
*/
|
|
9430
|
+
onChange: (args: {
|
|
9431
|
+
value: UIControlElementOption["value"] | undefined;
|
|
9432
|
+
id: string;
|
|
9433
|
+
}) => void;
|
|
9434
|
+
}
|
|
9435
|
+
/**
|
|
9436
|
+
* The parameters for creating a radio group element.
|
|
9437
|
+
*
|
|
9438
|
+
* See {@link UIRadioGroupElement} for more details.
|
|
9439
|
+
*/
|
|
9440
|
+
interface UIRadioGroupElementCreate extends Omit<UIRadioGroupElement, "id">, UILabelReadyElementCreateParams {
|
|
9441
|
+
}
|
|
9442
|
+
type UIRadioGroupElementCreateClonable = MakeClonableSchema<UIRadioGroupElementCreate>;
|
|
9443
|
+
/**
|
|
9444
|
+
* The parameters for updating a radio group element.
|
|
9445
|
+
*
|
|
9446
|
+
* See {@link UIRadioGroupElement} for more details.
|
|
9447
|
+
*/
|
|
9448
|
+
interface UIRadioGroupElementUpdate extends MakeUpdateSchema<UIRadioGroupElement, UIRadioGroupElementCreate> {
|
|
9449
|
+
}
|
|
9450
|
+
|
|
9451
|
+
declare const uiSelectElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9452
|
+
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
9453
|
+
id: z.ZodString;
|
|
9454
|
+
}, "strip", z.ZodTypeAny, {
|
|
9455
|
+
id: string;
|
|
9456
|
+
}, {
|
|
9457
|
+
id: string;
|
|
9458
|
+
}>], z.ZodUnknown>, z.ZodVoid>>;
|
|
9459
|
+
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
9460
|
+
id: z.ZodString;
|
|
9461
|
+
}, "strip", z.ZodTypeAny, {
|
|
9462
|
+
id: string;
|
|
9463
|
+
}, {
|
|
9464
|
+
id: string;
|
|
9465
|
+
}>], z.ZodUnknown>, z.ZodVoid>>;
|
|
9466
|
+
}, {
|
|
9467
|
+
id: z.ZodString;
|
|
9468
|
+
}>, {
|
|
9469
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9470
|
+
}>, {
|
|
9471
|
+
type: z.ZodLiteral<"Select">;
|
|
9472
|
+
/**
|
|
9473
|
+
* The options to display in the select.
|
|
9474
|
+
*/
|
|
9475
|
+
options: z.ZodArray<z.ZodObject<{
|
|
9476
|
+
label: z.ZodString;
|
|
9477
|
+
value: z.ZodString;
|
|
9478
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
9479
|
+
}, "strip", z.ZodTypeAny, {
|
|
9480
|
+
value: string;
|
|
9481
|
+
label: string;
|
|
9482
|
+
disabled?: boolean | undefined;
|
|
9483
|
+
}, {
|
|
9484
|
+
value: string;
|
|
9485
|
+
label: string;
|
|
9486
|
+
disabled?: boolean | undefined;
|
|
9487
|
+
}>, "many">;
|
|
9488
|
+
/**
|
|
9489
|
+
* The value of the select.
|
|
9490
|
+
*/
|
|
9491
|
+
value: z.ZodOptional<z.ZodString>;
|
|
9492
|
+
/**
|
|
9493
|
+
* The placeholder text to display in the select.
|
|
9494
|
+
*/
|
|
9495
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
9496
|
+
/**
|
|
9497
|
+
* Whether the select should allow searching through the options.
|
|
9498
|
+
*
|
|
9499
|
+
* @defaultValue `false`
|
|
9500
|
+
*/
|
|
9501
|
+
search: z.ZodOptional<z.ZodBoolean>;
|
|
9502
|
+
onChange: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
9503
|
+
value: z.ZodString;
|
|
9504
|
+
id: z.ZodString;
|
|
9505
|
+
}, "strip", z.ZodTypeAny, {
|
|
9506
|
+
value: string;
|
|
9507
|
+
id: string;
|
|
9508
|
+
}, {
|
|
9509
|
+
value: string;
|
|
9510
|
+
id: string;
|
|
9511
|
+
}>], z.ZodUnknown>, z.ZodVoid>;
|
|
9512
|
+
}>, "strip", z.ZodTypeAny, {
|
|
9513
|
+
options: {
|
|
9514
|
+
value: string;
|
|
9515
|
+
label: string;
|
|
9516
|
+
disabled?: boolean | undefined;
|
|
9517
|
+
}[];
|
|
9518
|
+
type: "Select";
|
|
9519
|
+
id: string;
|
|
9520
|
+
onChange: (args_0: {
|
|
9521
|
+
value: string;
|
|
9522
|
+
id: string;
|
|
9523
|
+
}, ...args: unknown[]) => void;
|
|
9524
|
+
value?: string | undefined;
|
|
9525
|
+
onCreate?: ((args_0: {
|
|
9526
|
+
id: string;
|
|
9527
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
9528
|
+
onDestroy?: ((args_0: {
|
|
9529
|
+
id: string;
|
|
9530
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
9531
|
+
label?: string | undefined;
|
|
9532
|
+
placeholder?: string | undefined;
|
|
9533
|
+
search?: boolean | undefined;
|
|
9534
|
+
}, {
|
|
9535
|
+
options: {
|
|
9536
|
+
value: string;
|
|
9537
|
+
label: string;
|
|
9538
|
+
disabled?: boolean | undefined;
|
|
9539
|
+
}[];
|
|
9540
|
+
type: "Select";
|
|
9541
|
+
id: string;
|
|
9542
|
+
onChange: (args_0: {
|
|
9543
|
+
value: string;
|
|
9544
|
+
id: string;
|
|
9545
|
+
}, ...args: unknown[]) => void;
|
|
9546
|
+
value?: string | undefined;
|
|
9547
|
+
onCreate?: ((args_0: {
|
|
9548
|
+
id: string;
|
|
9549
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
9550
|
+
onDestroy?: ((args_0: {
|
|
9551
|
+
id: string;
|
|
9552
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
9553
|
+
label?: string | undefined;
|
|
9554
|
+
placeholder?: string | undefined;
|
|
9555
|
+
search?: boolean | undefined;
|
|
9556
|
+
}>;
|
|
9557
|
+
/**
|
|
9558
|
+
* Represents a select element in a panel.
|
|
9559
|
+
*
|
|
9560
|
+
* @remarks
|
|
9561
|
+
* `options` property is required.
|
|
9562
|
+
* `label` property is displayed above the select and used for screen readers.
|
|
9563
|
+
* `value` property is optional, for empty value use `undefined`.
|
|
9564
|
+
* `placeholder` property is displayed in the select when no value is selected.
|
|
9565
|
+
* `search` property is used to enable searching through the options.
|
|
9566
|
+
* `onChange` property is used to handle the value change event.
|
|
9567
|
+
*
|
|
9568
|
+
* @example
|
|
9569
|
+
* #### empty select
|
|
9570
|
+
* ```typescript
|
|
9571
|
+
* {
|
|
9572
|
+
* type: "Select",
|
|
9573
|
+
* options: [{ label: "Option 1", value: "option1" }, { label: "Option 2", value: "option2" }],
|
|
9574
|
+
* value: undefined,
|
|
9575
|
+
* placeholder: "Select an option",
|
|
9576
|
+
* onChange: (args) => console.log(args.value),
|
|
9577
|
+
* }
|
|
9578
|
+
* ```
|
|
9579
|
+
*
|
|
9580
|
+
* @example
|
|
9581
|
+
* #### with label
|
|
9582
|
+
* `label` is displayed above the select and used for screen readers.
|
|
9583
|
+
* `placeholder` is displayed in the select when no value is selected.
|
|
9584
|
+
*
|
|
9585
|
+
* ```typescript
|
|
9586
|
+
* {
|
|
9587
|
+
* type: "Select",
|
|
9588
|
+
* label: "Fruit",
|
|
9589
|
+
* options: [{ label: "Apple", value: "apple" }, { label: "Banana", value: "banana" }],
|
|
9590
|
+
* value: undefined,
|
|
9591
|
+
* placeholder: "Select a fruit",
|
|
9592
|
+
* onChange: (args) => console.log(args.value),
|
|
9593
|
+
* }
|
|
9594
|
+
* ```
|
|
9595
|
+
*
|
|
9596
|
+
* @example
|
|
9597
|
+
* #### with search
|
|
9598
|
+
* ```typescript
|
|
9599
|
+
* {
|
|
9600
|
+
* type: "Select",
|
|
9601
|
+
* options: [{ label: "Option 1", value: "option1" }, { label: "Option 2", value: "option2" }],
|
|
9602
|
+
* value: "option1",
|
|
9603
|
+
* placeholder: "Select an option",
|
|
9604
|
+
* search: true,
|
|
9605
|
+
* onChange: (args) => console.log(args.value),
|
|
9606
|
+
* }
|
|
9607
|
+
* ```
|
|
9608
|
+
*/
|
|
9609
|
+
interface UISelectElement extends UILabelReadyElement, Omit<zInfer<typeof uiSelectElementSchema>, "onChange" | "onCreate" | "onDestroy" | "options"> {
|
|
9610
|
+
/**
|
|
9611
|
+
* The options to display in the select.
|
|
9612
|
+
*/
|
|
9613
|
+
options: Array<UIControlElementOption>;
|
|
9614
|
+
/**
|
|
9615
|
+
* The function to call when the value of the select changes.
|
|
9616
|
+
*
|
|
9617
|
+
* @param args - The arguments passed to the function.
|
|
9618
|
+
* @param args.value - The value of the select.
|
|
9619
|
+
* @param args.id - The id of the select element.
|
|
9620
|
+
*/
|
|
9621
|
+
onChange: (args: {
|
|
9622
|
+
value: string;
|
|
9623
|
+
id: string;
|
|
9624
|
+
}) => void;
|
|
9625
|
+
}
|
|
9626
|
+
/**
|
|
9627
|
+
* The parameters for creating a select element.
|
|
9628
|
+
*
|
|
9629
|
+
* See {@link UISelectElement} for more details.
|
|
9630
|
+
*
|
|
9631
|
+
* @remarks
|
|
9632
|
+
* `id` is optional but recommended if you want to be able to perform updates.
|
|
9633
|
+
*/
|
|
9634
|
+
interface UISelectElementCreate extends Omit<UISelectElement, "id">, UILabelReadyElementCreateParams {
|
|
9635
|
+
}
|
|
9636
|
+
type UISelectElementCreateClonable = MakeClonableSchema<UISelectElementCreate>;
|
|
9637
|
+
/**
|
|
9638
|
+
* The parameters for updating a select element.
|
|
9639
|
+
*
|
|
9640
|
+
* See {@link UISelectElement} for more details.
|
|
9641
|
+
*
|
|
9642
|
+
* @remarks
|
|
9643
|
+
* `id` and `type` are required to identify the element to update.
|
|
9644
|
+
*/
|
|
9645
|
+
interface UISelectElementUpdate extends MakeUpdateSchema<UISelectElement, UISelectElementCreate> {
|
|
9646
|
+
}
|
|
9647
|
+
|
|
9648
|
+
declare const uiTextInputElementSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9649
|
+
onCreate: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
9650
|
+
id: z.ZodString;
|
|
9651
|
+
}, "strip", z.ZodTypeAny, {
|
|
9652
|
+
id: string;
|
|
9653
|
+
}, {
|
|
9654
|
+
id: string;
|
|
9655
|
+
}>], z.ZodUnknown>, z.ZodVoid>>;
|
|
9656
|
+
onDestroy: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
9657
|
+
id: z.ZodString;
|
|
9658
|
+
}, "strip", z.ZodTypeAny, {
|
|
9659
|
+
id: string;
|
|
9660
|
+
}, {
|
|
9661
|
+
id: string;
|
|
9662
|
+
}>], z.ZodUnknown>, z.ZodVoid>>;
|
|
9663
|
+
}, {
|
|
9664
|
+
id: z.ZodString;
|
|
9665
|
+
}>, {
|
|
9666
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9667
|
+
}>, {
|
|
9668
|
+
type: z.ZodLiteral<"TextInput">;
|
|
9669
|
+
/**
|
|
9670
|
+
* The value of the input. Use `""` for empty values.
|
|
9671
|
+
*/
|
|
9672
|
+
value: z.ZodString;
|
|
9673
|
+
/**
|
|
9674
|
+
* The placeholder text to display in the input.
|
|
9675
|
+
*/
|
|
9676
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
9677
|
+
onChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
9678
|
+
value: z.ZodString;
|
|
9679
|
+
id: z.ZodString;
|
|
9680
|
+
}, "strip", z.ZodTypeAny, {
|
|
9681
|
+
value: string;
|
|
9682
|
+
id: string;
|
|
9683
|
+
}, {
|
|
9684
|
+
value: string;
|
|
9685
|
+
id: string;
|
|
9686
|
+
}>], z.ZodUnknown>, z.ZodVoid>>;
|
|
9124
9687
|
onBlur: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
9125
9688
|
value: z.ZodString;
|
|
9126
9689
|
id: z.ZodString;
|
|
@@ -9571,22 +10134,22 @@ type UIGridContainerElementCreateClonable = Omit<MakeClonableSchema<UIGridContai
|
|
|
9571
10134
|
interface UIGridContainerElementUpdate extends MakeUpdateSchema<UIGridContainerElement, UIGridContainerElementCreate> {
|
|
9572
10135
|
}
|
|
9573
10136
|
|
|
9574
|
-
type UIPanelElement = UIButtonElement | UITextElement | UIDividerElement | UITextInputElement | UISelectElement | UIFlexibleSpaceElement | UIButtonRowElement | UIGridContainerElement;
|
|
10137
|
+
type UIPanelElement = UIButtonElement | UITextElement | UIDividerElement | UITextInputElement | UISelectElement | UIFlexibleSpaceElement | UIButtonRowElement | UICheckboxGroupElement | UIRadioGroupElement | UIToggleGroupElement | UIGridContainerElement;
|
|
9575
10138
|
/**
|
|
9576
10139
|
* This is a union of all the possible elements that can be created inside panel's body or footer.
|
|
9577
10140
|
*
|
|
9578
10141
|
* @remarks
|
|
9579
10142
|
* For the sake of convenience, `id` is optional but recommended if you want to be able to perform updates.
|
|
9580
10143
|
*/
|
|
9581
|
-
type UIPanelElementCreate = UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UIGridContainerElementCreate;
|
|
9582
|
-
type UIPanelElementCreateClonable = UIButtonElementCreateClonable | UITextElementCreateClonable | UIDividerElementCreateClonable | UITextInputElementCreateClonable | UISelectElementCreateClonable | UIFlexibleSpaceElementCreateClonable | UIButtonRowElementCreateClonable | UIGridContainerElementCreateClonable;
|
|
10144
|
+
type UIPanelElementCreate = UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate | UIGridContainerElementCreate;
|
|
10145
|
+
type UIPanelElementCreateClonable = UIButtonElementCreateClonable | UITextElementCreateClonable | UIDividerElementCreateClonable | UITextInputElementCreateClonable | UISelectElementCreateClonable | UIFlexibleSpaceElementCreateClonable | UIButtonRowElementCreateClonable | UICheckboxGroupElementCreateClonable | UIRadioGroupElementCreateClonable | UIToggleGroupElementCreateClonable | UIGridContainerElementCreateClonable;
|
|
9583
10146
|
/**
|
|
9584
10147
|
* 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).
|
|
9585
10148
|
*
|
|
9586
10149
|
* @remarks
|
|
9587
10150
|
* `id` and `type` are required to identify the element to update.
|
|
9588
10151
|
*/
|
|
9589
|
-
type UIPanelElementUpdate = UIButtonElementUpdate | UITextElementUpdate | UITextInputElementUpdate | UISelectElementUpdate | UIDividerElementUpdate | UIButtonRowElementUpdate | UIGridContainerElementUpdate | UIFlexibleSpaceElementUpdate;
|
|
10152
|
+
type UIPanelElementUpdate = UIButtonElementUpdate | UITextElementUpdate | UITextInputElementUpdate | UISelectElementUpdate | UIDividerElementUpdate | UIButtonRowElementUpdate | UICheckboxGroupElementUpdate | UIRadioGroupElementUpdate | UIToggleGroupElementUpdate | UIGridContainerElementUpdate | UIFlexibleSpaceElementUpdate;
|
|
9590
10153
|
|
|
9591
10154
|
declare const placementForUiElementSchema: z.ZodUnion<[z.ZodObject<{
|
|
9592
10155
|
after: z.ZodString;
|
|
@@ -10746,12 +11309,15 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
10746
11309
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10747
11310
|
label: z.ZodString;
|
|
10748
11311
|
value: z.ZodString;
|
|
11312
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
10749
11313
|
}, "strip", z.ZodTypeAny, {
|
|
10750
11314
|
value: string;
|
|
10751
11315
|
label: string;
|
|
11316
|
+
disabled?: boolean | undefined;
|
|
10752
11317
|
}, {
|
|
10753
11318
|
value: string;
|
|
10754
11319
|
label: string;
|
|
11320
|
+
disabled?: boolean | undefined;
|
|
10755
11321
|
}>, "many">>;
|
|
10756
11322
|
value: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10757
11323
|
placeholder: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -10788,6 +11354,7 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
10788
11354
|
options?: {
|
|
10789
11355
|
value: string;
|
|
10790
11356
|
label: string;
|
|
11357
|
+
disabled?: boolean | undefined;
|
|
10791
11358
|
}[] | undefined;
|
|
10792
11359
|
value?: string | undefined;
|
|
10793
11360
|
onCreate?: ((args_0: {
|
|
@@ -10809,6 +11376,7 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
10809
11376
|
options?: {
|
|
10810
11377
|
value: string;
|
|
10811
11378
|
label: string;
|
|
11379
|
+
disabled?: boolean | undefined;
|
|
10812
11380
|
}[] | undefined;
|
|
10813
11381
|
value?: string | undefined;
|
|
10814
11382
|
onCreate?: ((args_0: {
|
|
@@ -10993,26 +11561,277 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
10993
11561
|
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
10994
11562
|
}>, "many">>;
|
|
10995
11563
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
10996
|
-
type: "ButtonRow";
|
|
11564
|
+
type: "ButtonRow";
|
|
11565
|
+
id: string;
|
|
11566
|
+
align?: "start" | "end" | undefined;
|
|
11567
|
+
items?: {
|
|
11568
|
+
type: "Button";
|
|
11569
|
+
label: string;
|
|
11570
|
+
onClick: (args_0: {
|
|
11571
|
+
id: string;
|
|
11572
|
+
}, ...args: unknown[]) => void;
|
|
11573
|
+
id?: string | undefined;
|
|
11574
|
+
onCreate?: ((args_0: {
|
|
11575
|
+
id: string;
|
|
11576
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11577
|
+
onDestroy?: ((args_0: {
|
|
11578
|
+
id: string;
|
|
11579
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11580
|
+
disabled?: boolean | undefined;
|
|
11581
|
+
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
11582
|
+
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
11583
|
+
}[] | undefined;
|
|
11584
|
+
onCreate?: ((args_0: {
|
|
11585
|
+
id: string;
|
|
11586
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11587
|
+
onDestroy?: ((args_0: {
|
|
11588
|
+
id: string;
|
|
11589
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11590
|
+
label?: string | undefined;
|
|
11591
|
+
}, {
|
|
11592
|
+
type: "ButtonRow";
|
|
11593
|
+
id: string;
|
|
11594
|
+
align?: "start" | "end" | undefined;
|
|
11595
|
+
items?: {
|
|
11596
|
+
type: "Button";
|
|
11597
|
+
label: string;
|
|
11598
|
+
onClick: (args_0: {
|
|
11599
|
+
id: string;
|
|
11600
|
+
}, ...args: unknown[]) => void;
|
|
11601
|
+
id?: string | undefined;
|
|
11602
|
+
onCreate?: ((args_0: {
|
|
11603
|
+
id: string;
|
|
11604
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11605
|
+
onDestroy?: ((args_0: {
|
|
11606
|
+
id: string;
|
|
11607
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11608
|
+
disabled?: boolean | undefined;
|
|
11609
|
+
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
11610
|
+
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
11611
|
+
}[] | undefined;
|
|
11612
|
+
onCreate?: ((args_0: {
|
|
11613
|
+
id: string;
|
|
11614
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11615
|
+
onDestroy?: ((args_0: {
|
|
11616
|
+
id: string;
|
|
11617
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11618
|
+
label?: string | undefined;
|
|
11619
|
+
}>, z.ZodObject<{
|
|
11620
|
+
type: z.ZodLiteral<"CheckboxGroup">;
|
|
11621
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11622
|
+
label: z.ZodString;
|
|
11623
|
+
value: z.ZodString;
|
|
11624
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
11625
|
+
}, "strip", z.ZodTypeAny, {
|
|
11626
|
+
value: string;
|
|
11627
|
+
label: string;
|
|
11628
|
+
disabled?: boolean | undefined;
|
|
11629
|
+
}, {
|
|
11630
|
+
value: string;
|
|
11631
|
+
label: string;
|
|
11632
|
+
disabled?: boolean | undefined;
|
|
11633
|
+
}>, "many">>;
|
|
11634
|
+
value: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11635
|
+
onChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
11636
|
+
value: z.ZodArray<z.ZodString, "many">;
|
|
11637
|
+
id: z.ZodString;
|
|
11638
|
+
}, "strip", z.ZodTypeAny, {
|
|
11639
|
+
value: string[];
|
|
11640
|
+
id: string;
|
|
11641
|
+
}, {
|
|
11642
|
+
value: string[];
|
|
11643
|
+
id: string;
|
|
11644
|
+
}>], z.ZodUnknown>, z.ZodVoid>>;
|
|
11645
|
+
label: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11646
|
+
id: z.ZodString;
|
|
11647
|
+
onCreate: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
11648
|
+
id: z.ZodString;
|
|
11649
|
+
}, "strip", z.ZodTypeAny, {
|
|
11650
|
+
id: string;
|
|
11651
|
+
}, {
|
|
11652
|
+
id: string;
|
|
11653
|
+
}>], z.ZodUnknown>, z.ZodVoid>>>;
|
|
11654
|
+
onDestroy: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
11655
|
+
id: z.ZodString;
|
|
11656
|
+
}, "strip", z.ZodTypeAny, {
|
|
11657
|
+
id: string;
|
|
11658
|
+
}, {
|
|
11659
|
+
id: string;
|
|
11660
|
+
}>], z.ZodUnknown>, z.ZodVoid>>>;
|
|
11661
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
11662
|
+
type: "CheckboxGroup";
|
|
11663
|
+
id: string;
|
|
11664
|
+
options?: {
|
|
11665
|
+
value: string;
|
|
11666
|
+
label: string;
|
|
11667
|
+
disabled?: boolean | undefined;
|
|
11668
|
+
}[] | undefined;
|
|
11669
|
+
value?: string[] | undefined;
|
|
11670
|
+
onCreate?: ((args_0: {
|
|
11671
|
+
id: string;
|
|
11672
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11673
|
+
onDestroy?: ((args_0: {
|
|
11674
|
+
id: string;
|
|
11675
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11676
|
+
label?: string | undefined;
|
|
11677
|
+
onChange?: ((args_0: {
|
|
11678
|
+
value: string[];
|
|
11679
|
+
id: string;
|
|
11680
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11681
|
+
}, {
|
|
11682
|
+
type: "CheckboxGroup";
|
|
11683
|
+
id: string;
|
|
11684
|
+
options?: {
|
|
11685
|
+
value: string;
|
|
11686
|
+
label: string;
|
|
11687
|
+
disabled?: boolean | undefined;
|
|
11688
|
+
}[] | undefined;
|
|
11689
|
+
value?: string[] | undefined;
|
|
11690
|
+
onCreate?: ((args_0: {
|
|
11691
|
+
id: string;
|
|
11692
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11693
|
+
onDestroy?: ((args_0: {
|
|
11694
|
+
id: string;
|
|
11695
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11696
|
+
label?: string | undefined;
|
|
11697
|
+
onChange?: ((args_0: {
|
|
11698
|
+
value: string[];
|
|
11699
|
+
id: string;
|
|
11700
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11701
|
+
}>, z.ZodObject<{
|
|
11702
|
+
type: z.ZodLiteral<"RadioGroup">;
|
|
11703
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11704
|
+
label: z.ZodString;
|
|
11705
|
+
value: z.ZodString;
|
|
11706
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
11707
|
+
}, "strip", z.ZodTypeAny, {
|
|
11708
|
+
value: string;
|
|
11709
|
+
label: string;
|
|
11710
|
+
disabled?: boolean | undefined;
|
|
11711
|
+
}, {
|
|
11712
|
+
value: string;
|
|
11713
|
+
label: string;
|
|
11714
|
+
disabled?: boolean | undefined;
|
|
11715
|
+
}>, "many">>;
|
|
11716
|
+
value: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11717
|
+
onChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
11718
|
+
value: z.ZodOptional<z.ZodString>;
|
|
11719
|
+
id: z.ZodString;
|
|
11720
|
+
}, "strip", z.ZodTypeAny, {
|
|
11721
|
+
id: string;
|
|
11722
|
+
value?: string | undefined;
|
|
11723
|
+
}, {
|
|
11724
|
+
id: string;
|
|
11725
|
+
value?: string | undefined;
|
|
11726
|
+
}>], z.ZodUnknown>, z.ZodVoid>>;
|
|
11727
|
+
label: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11728
|
+
id: z.ZodString;
|
|
11729
|
+
onCreate: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
11730
|
+
id: z.ZodString;
|
|
11731
|
+
}, "strip", z.ZodTypeAny, {
|
|
11732
|
+
id: string;
|
|
11733
|
+
}, {
|
|
11734
|
+
id: string;
|
|
11735
|
+
}>], z.ZodUnknown>, z.ZodVoid>>>;
|
|
11736
|
+
onDestroy: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
11737
|
+
id: z.ZodString;
|
|
11738
|
+
}, "strip", z.ZodTypeAny, {
|
|
11739
|
+
id: string;
|
|
11740
|
+
}, {
|
|
11741
|
+
id: string;
|
|
11742
|
+
}>], z.ZodUnknown>, z.ZodVoid>>>;
|
|
11743
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
11744
|
+
type: "RadioGroup";
|
|
11745
|
+
id: string;
|
|
11746
|
+
options?: {
|
|
11747
|
+
value: string;
|
|
11748
|
+
label: string;
|
|
11749
|
+
disabled?: boolean | undefined;
|
|
11750
|
+
}[] | undefined;
|
|
11751
|
+
value?: string | undefined;
|
|
11752
|
+
onCreate?: ((args_0: {
|
|
11753
|
+
id: string;
|
|
11754
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11755
|
+
onDestroy?: ((args_0: {
|
|
11756
|
+
id: string;
|
|
11757
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11758
|
+
label?: string | undefined;
|
|
11759
|
+
onChange?: ((args_0: {
|
|
11760
|
+
id: string;
|
|
11761
|
+
value?: string | undefined;
|
|
11762
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11763
|
+
}, {
|
|
11764
|
+
type: "RadioGroup";
|
|
11765
|
+
id: string;
|
|
11766
|
+
options?: {
|
|
11767
|
+
value: string;
|
|
11768
|
+
label: string;
|
|
11769
|
+
disabled?: boolean | undefined;
|
|
11770
|
+
}[] | undefined;
|
|
11771
|
+
value?: string | undefined;
|
|
11772
|
+
onCreate?: ((args_0: {
|
|
11773
|
+
id: string;
|
|
11774
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11775
|
+
onDestroy?: ((args_0: {
|
|
11776
|
+
id: string;
|
|
11777
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11778
|
+
label?: string | undefined;
|
|
11779
|
+
onChange?: ((args_0: {
|
|
11780
|
+
id: string;
|
|
11781
|
+
value?: string | undefined;
|
|
11782
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11783
|
+
}>, z.ZodObject<{
|
|
11784
|
+
type: z.ZodLiteral<"ToggleGroup">;
|
|
11785
|
+
alignment: z.ZodOptional<z.ZodOptional<z.ZodEnum<["start", "end"]>>>;
|
|
11786
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11787
|
+
label: z.ZodString;
|
|
11788
|
+
value: z.ZodString;
|
|
11789
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
11790
|
+
}, "strip", z.ZodTypeAny, {
|
|
11791
|
+
value: string;
|
|
11792
|
+
label: string;
|
|
11793
|
+
disabled?: boolean | undefined;
|
|
11794
|
+
}, {
|
|
11795
|
+
value: string;
|
|
11796
|
+
label: string;
|
|
11797
|
+
disabled?: boolean | undefined;
|
|
11798
|
+
}>, "many">>;
|
|
11799
|
+
value: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11800
|
+
onChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
11801
|
+
value: z.ZodArray<z.ZodString, "many">;
|
|
11802
|
+
id: z.ZodString;
|
|
11803
|
+
}, "strip", z.ZodTypeAny, {
|
|
11804
|
+
value: string[];
|
|
11805
|
+
id: string;
|
|
11806
|
+
}, {
|
|
11807
|
+
value: string[];
|
|
11808
|
+
id: string;
|
|
11809
|
+
}>], z.ZodUnknown>, z.ZodVoid>>;
|
|
11810
|
+
label: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11811
|
+
id: z.ZodString;
|
|
11812
|
+
onCreate: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
11813
|
+
id: z.ZodString;
|
|
11814
|
+
}, "strip", z.ZodTypeAny, {
|
|
11815
|
+
id: string;
|
|
11816
|
+
}, {
|
|
11817
|
+
id: string;
|
|
11818
|
+
}>], z.ZodUnknown>, z.ZodVoid>>>;
|
|
11819
|
+
onDestroy: z.ZodOptional<z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
11820
|
+
id: z.ZodString;
|
|
11821
|
+
}, "strip", z.ZodTypeAny, {
|
|
11822
|
+
id: string;
|
|
11823
|
+
}, {
|
|
11824
|
+
id: string;
|
|
11825
|
+
}>], z.ZodUnknown>, z.ZodVoid>>>;
|
|
11826
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
11827
|
+
type: "ToggleGroup";
|
|
10997
11828
|
id: string;
|
|
10998
|
-
|
|
10999
|
-
|
|
11000
|
-
type: "Button";
|
|
11829
|
+
options?: {
|
|
11830
|
+
value: string;
|
|
11001
11831
|
label: string;
|
|
11002
|
-
onClick: (args_0: {
|
|
11003
|
-
id: string;
|
|
11004
|
-
}, ...args: unknown[]) => void;
|
|
11005
|
-
id?: string | undefined;
|
|
11006
|
-
onCreate?: ((args_0: {
|
|
11007
|
-
id: string;
|
|
11008
|
-
}, ...args: unknown[]) => void) | undefined;
|
|
11009
|
-
onDestroy?: ((args_0: {
|
|
11010
|
-
id: string;
|
|
11011
|
-
}, ...args: unknown[]) => void) | undefined;
|
|
11012
11832
|
disabled?: boolean | undefined;
|
|
11013
|
-
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
11014
|
-
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
11015
11833
|
}[] | undefined;
|
|
11834
|
+
value?: string[] | undefined;
|
|
11016
11835
|
onCreate?: ((args_0: {
|
|
11017
11836
|
id: string;
|
|
11018
11837
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -11020,27 +11839,20 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
11020
11839
|
id: string;
|
|
11021
11840
|
}, ...args: unknown[]) => void) | undefined;
|
|
11022
11841
|
label?: string | undefined;
|
|
11842
|
+
onChange?: ((args_0: {
|
|
11843
|
+
value: string[];
|
|
11844
|
+
id: string;
|
|
11845
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11846
|
+
alignment?: "start" | "end" | undefined;
|
|
11023
11847
|
}, {
|
|
11024
|
-
type: "
|
|
11848
|
+
type: "ToggleGroup";
|
|
11025
11849
|
id: string;
|
|
11026
|
-
|
|
11027
|
-
|
|
11028
|
-
type: "Button";
|
|
11850
|
+
options?: {
|
|
11851
|
+
value: string;
|
|
11029
11852
|
label: string;
|
|
11030
|
-
onClick: (args_0: {
|
|
11031
|
-
id: string;
|
|
11032
|
-
}, ...args: unknown[]) => void;
|
|
11033
|
-
id?: string | undefined;
|
|
11034
|
-
onCreate?: ((args_0: {
|
|
11035
|
-
id: string;
|
|
11036
|
-
}, ...args: unknown[]) => void) | undefined;
|
|
11037
|
-
onDestroy?: ((args_0: {
|
|
11038
|
-
id: string;
|
|
11039
|
-
}, ...args: unknown[]) => void) | undefined;
|
|
11040
11853
|
disabled?: boolean | undefined;
|
|
11041
|
-
variant?: "filled" | "transparent" | "outlined" | undefined;
|
|
11042
|
-
tint?: "default" | "primary" | "accent" | "danger" | undefined;
|
|
11043
11854
|
}[] | undefined;
|
|
11855
|
+
value?: string[] | undefined;
|
|
11044
11856
|
onCreate?: ((args_0: {
|
|
11045
11857
|
id: string;
|
|
11046
11858
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -11048,6 +11860,11 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
11048
11860
|
id: string;
|
|
11049
11861
|
}, ...args: unknown[]) => void) | undefined;
|
|
11050
11862
|
label?: string | undefined;
|
|
11863
|
+
onChange?: ((args_0: {
|
|
11864
|
+
value: string[];
|
|
11865
|
+
id: string;
|
|
11866
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
11867
|
+
alignment?: "start" | "end" | undefined;
|
|
11051
11868
|
}>, z.ZodObject<{
|
|
11052
11869
|
type: z.ZodLiteral<"Grid">;
|
|
11053
11870
|
id: z.ZodString;
|
|
@@ -11068,11 +11885,11 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
11068
11885
|
grid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11069
11886
|
verticalAlignment: z.ZodOptional<z.ZodOptional<z.ZodEnum<["top", "center", "bottom"]>>>;
|
|
11070
11887
|
horizontalDistribution: z.ZodOptional<z.ZodOptional<z.ZodEnum<["start", "center", "end", "space-between", "space-around", "space-evenly"]>>>;
|
|
11071
|
-
items: z.ZodOptional<z.ZodType<(UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[], z.ZodTypeDef, (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[]>>;
|
|
11888
|
+
items: z.ZodOptional<z.ZodType<(UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[], z.ZodTypeDef, (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[]>>;
|
|
11072
11889
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
11073
11890
|
type: "Grid";
|
|
11074
11891
|
id: string;
|
|
11075
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
11892
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[] | undefined;
|
|
11076
11893
|
onCreate?: ((args_0: {
|
|
11077
11894
|
id: string;
|
|
11078
11895
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -11085,7 +11902,7 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
11085
11902
|
}, {
|
|
11086
11903
|
type: "Grid";
|
|
11087
11904
|
id: string;
|
|
11088
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
11905
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[] | undefined;
|
|
11089
11906
|
onCreate?: ((args_0: {
|
|
11090
11907
|
id: string;
|
|
11091
11908
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -11153,6 +11970,7 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
11153
11970
|
options?: {
|
|
11154
11971
|
value: string;
|
|
11155
11972
|
label: string;
|
|
11973
|
+
disabled?: boolean | undefined;
|
|
11156
11974
|
}[] | undefined;
|
|
11157
11975
|
value?: string | undefined;
|
|
11158
11976
|
onCreate?: ((args_0: {
|
|
@@ -11214,10 +12032,71 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
11214
12032
|
id: string;
|
|
11215
12033
|
}, ...args: unknown[]) => void) | undefined;
|
|
11216
12034
|
label?: string | undefined;
|
|
12035
|
+
} | {
|
|
12036
|
+
type: "CheckboxGroup";
|
|
12037
|
+
id: string;
|
|
12038
|
+
options?: {
|
|
12039
|
+
value: string;
|
|
12040
|
+
label: string;
|
|
12041
|
+
disabled?: boolean | undefined;
|
|
12042
|
+
}[] | undefined;
|
|
12043
|
+
value?: string[] | undefined;
|
|
12044
|
+
onCreate?: ((args_0: {
|
|
12045
|
+
id: string;
|
|
12046
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12047
|
+
onDestroy?: ((args_0: {
|
|
12048
|
+
id: string;
|
|
12049
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12050
|
+
label?: string | undefined;
|
|
12051
|
+
onChange?: ((args_0: {
|
|
12052
|
+
value: string[];
|
|
12053
|
+
id: string;
|
|
12054
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12055
|
+
} | {
|
|
12056
|
+
type: "RadioGroup";
|
|
12057
|
+
id: string;
|
|
12058
|
+
options?: {
|
|
12059
|
+
value: string;
|
|
12060
|
+
label: string;
|
|
12061
|
+
disabled?: boolean | undefined;
|
|
12062
|
+
}[] | undefined;
|
|
12063
|
+
value?: string | undefined;
|
|
12064
|
+
onCreate?: ((args_0: {
|
|
12065
|
+
id: string;
|
|
12066
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12067
|
+
onDestroy?: ((args_0: {
|
|
12068
|
+
id: string;
|
|
12069
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12070
|
+
label?: string | undefined;
|
|
12071
|
+
onChange?: ((args_0: {
|
|
12072
|
+
id: string;
|
|
12073
|
+
value?: string | undefined;
|
|
12074
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12075
|
+
} | {
|
|
12076
|
+
type: "ToggleGroup";
|
|
12077
|
+
id: string;
|
|
12078
|
+
options?: {
|
|
12079
|
+
value: string;
|
|
12080
|
+
label: string;
|
|
12081
|
+
disabled?: boolean | undefined;
|
|
12082
|
+
}[] | undefined;
|
|
12083
|
+
value?: string[] | undefined;
|
|
12084
|
+
onCreate?: ((args_0: {
|
|
12085
|
+
id: string;
|
|
12086
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12087
|
+
onDestroy?: ((args_0: {
|
|
12088
|
+
id: string;
|
|
12089
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12090
|
+
label?: string | undefined;
|
|
12091
|
+
onChange?: ((args_0: {
|
|
12092
|
+
value: string[];
|
|
12093
|
+
id: string;
|
|
12094
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12095
|
+
alignment?: "start" | "end" | undefined;
|
|
11217
12096
|
} | {
|
|
11218
12097
|
type: "Grid";
|
|
11219
12098
|
id: string;
|
|
11220
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
12099
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[] | undefined;
|
|
11221
12100
|
onCreate?: ((args_0: {
|
|
11222
12101
|
id: string;
|
|
11223
12102
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -11285,6 +12164,7 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
11285
12164
|
options?: {
|
|
11286
12165
|
value: string;
|
|
11287
12166
|
label: string;
|
|
12167
|
+
disabled?: boolean | undefined;
|
|
11288
12168
|
}[] | undefined;
|
|
11289
12169
|
value?: string | undefined;
|
|
11290
12170
|
onCreate?: ((args_0: {
|
|
@@ -11346,10 +12226,71 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
11346
12226
|
id: string;
|
|
11347
12227
|
}, ...args: unknown[]) => void) | undefined;
|
|
11348
12228
|
label?: string | undefined;
|
|
12229
|
+
} | {
|
|
12230
|
+
type: "CheckboxGroup";
|
|
12231
|
+
id: string;
|
|
12232
|
+
options?: {
|
|
12233
|
+
value: string;
|
|
12234
|
+
label: string;
|
|
12235
|
+
disabled?: boolean | undefined;
|
|
12236
|
+
}[] | undefined;
|
|
12237
|
+
value?: string[] | undefined;
|
|
12238
|
+
onCreate?: ((args_0: {
|
|
12239
|
+
id: string;
|
|
12240
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12241
|
+
onDestroy?: ((args_0: {
|
|
12242
|
+
id: string;
|
|
12243
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12244
|
+
label?: string | undefined;
|
|
12245
|
+
onChange?: ((args_0: {
|
|
12246
|
+
value: string[];
|
|
12247
|
+
id: string;
|
|
12248
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12249
|
+
} | {
|
|
12250
|
+
type: "RadioGroup";
|
|
12251
|
+
id: string;
|
|
12252
|
+
options?: {
|
|
12253
|
+
value: string;
|
|
12254
|
+
label: string;
|
|
12255
|
+
disabled?: boolean | undefined;
|
|
12256
|
+
}[] | undefined;
|
|
12257
|
+
value?: string | undefined;
|
|
12258
|
+
onCreate?: ((args_0: {
|
|
12259
|
+
id: string;
|
|
12260
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12261
|
+
onDestroy?: ((args_0: {
|
|
12262
|
+
id: string;
|
|
12263
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12264
|
+
label?: string | undefined;
|
|
12265
|
+
onChange?: ((args_0: {
|
|
12266
|
+
id: string;
|
|
12267
|
+
value?: string | undefined;
|
|
12268
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12269
|
+
} | {
|
|
12270
|
+
type: "ToggleGroup";
|
|
12271
|
+
id: string;
|
|
12272
|
+
options?: {
|
|
12273
|
+
value: string;
|
|
12274
|
+
label: string;
|
|
12275
|
+
disabled?: boolean | undefined;
|
|
12276
|
+
}[] | undefined;
|
|
12277
|
+
value?: string[] | undefined;
|
|
12278
|
+
onCreate?: ((args_0: {
|
|
12279
|
+
id: string;
|
|
12280
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12281
|
+
onDestroy?: ((args_0: {
|
|
12282
|
+
id: string;
|
|
12283
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12284
|
+
label?: string | undefined;
|
|
12285
|
+
onChange?: ((args_0: {
|
|
12286
|
+
value: string[];
|
|
12287
|
+
id: string;
|
|
12288
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12289
|
+
alignment?: "start" | "end" | undefined;
|
|
11349
12290
|
} | {
|
|
11350
12291
|
type: "Grid";
|
|
11351
12292
|
id: string;
|
|
11352
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
12293
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[] | undefined;
|
|
11353
12294
|
onCreate?: ((args_0: {
|
|
11354
12295
|
id: string;
|
|
11355
12296
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -11420,6 +12361,7 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
11420
12361
|
options?: {
|
|
11421
12362
|
value: string;
|
|
11422
12363
|
label: string;
|
|
12364
|
+
disabled?: boolean | undefined;
|
|
11423
12365
|
}[] | undefined;
|
|
11424
12366
|
value?: string | undefined;
|
|
11425
12367
|
onCreate?: ((args_0: {
|
|
@@ -11481,10 +12423,71 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
11481
12423
|
id: string;
|
|
11482
12424
|
}, ...args: unknown[]) => void) | undefined;
|
|
11483
12425
|
label?: string | undefined;
|
|
12426
|
+
} | {
|
|
12427
|
+
type: "CheckboxGroup";
|
|
12428
|
+
id: string;
|
|
12429
|
+
options?: {
|
|
12430
|
+
value: string;
|
|
12431
|
+
label: string;
|
|
12432
|
+
disabled?: boolean | undefined;
|
|
12433
|
+
}[] | undefined;
|
|
12434
|
+
value?: string[] | undefined;
|
|
12435
|
+
onCreate?: ((args_0: {
|
|
12436
|
+
id: string;
|
|
12437
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12438
|
+
onDestroy?: ((args_0: {
|
|
12439
|
+
id: string;
|
|
12440
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12441
|
+
label?: string | undefined;
|
|
12442
|
+
onChange?: ((args_0: {
|
|
12443
|
+
value: string[];
|
|
12444
|
+
id: string;
|
|
12445
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12446
|
+
} | {
|
|
12447
|
+
type: "RadioGroup";
|
|
12448
|
+
id: string;
|
|
12449
|
+
options?: {
|
|
12450
|
+
value: string;
|
|
12451
|
+
label: string;
|
|
12452
|
+
disabled?: boolean | undefined;
|
|
12453
|
+
}[] | undefined;
|
|
12454
|
+
value?: string | undefined;
|
|
12455
|
+
onCreate?: ((args_0: {
|
|
12456
|
+
id: string;
|
|
12457
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12458
|
+
onDestroy?: ((args_0: {
|
|
12459
|
+
id: string;
|
|
12460
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12461
|
+
label?: string | undefined;
|
|
12462
|
+
onChange?: ((args_0: {
|
|
12463
|
+
id: string;
|
|
12464
|
+
value?: string | undefined;
|
|
12465
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12466
|
+
} | {
|
|
12467
|
+
type: "ToggleGroup";
|
|
12468
|
+
id: string;
|
|
12469
|
+
options?: {
|
|
12470
|
+
value: string;
|
|
12471
|
+
label: string;
|
|
12472
|
+
disabled?: boolean | undefined;
|
|
12473
|
+
}[] | undefined;
|
|
12474
|
+
value?: string[] | undefined;
|
|
12475
|
+
onCreate?: ((args_0: {
|
|
12476
|
+
id: string;
|
|
12477
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12478
|
+
onDestroy?: ((args_0: {
|
|
12479
|
+
id: string;
|
|
12480
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12481
|
+
label?: string | undefined;
|
|
12482
|
+
onChange?: ((args_0: {
|
|
12483
|
+
value: string[];
|
|
12484
|
+
id: string;
|
|
12485
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12486
|
+
alignment?: "start" | "end" | undefined;
|
|
11484
12487
|
} | {
|
|
11485
12488
|
type: "Grid";
|
|
11486
12489
|
id: string;
|
|
11487
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
12490
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[] | undefined;
|
|
11488
12491
|
onCreate?: ((args_0: {
|
|
11489
12492
|
id: string;
|
|
11490
12493
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -11555,6 +12558,7 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
11555
12558
|
options?: {
|
|
11556
12559
|
value: string;
|
|
11557
12560
|
label: string;
|
|
12561
|
+
disabled?: boolean | undefined;
|
|
11558
12562
|
}[] | undefined;
|
|
11559
12563
|
value?: string | undefined;
|
|
11560
12564
|
onCreate?: ((args_0: {
|
|
@@ -11616,10 +12620,71 @@ declare const UpdatePanelElementsParamsSchema: z.ZodObject<{
|
|
|
11616
12620
|
id: string;
|
|
11617
12621
|
}, ...args: unknown[]) => void) | undefined;
|
|
11618
12622
|
label?: string | undefined;
|
|
12623
|
+
} | {
|
|
12624
|
+
type: "CheckboxGroup";
|
|
12625
|
+
id: string;
|
|
12626
|
+
options?: {
|
|
12627
|
+
value: string;
|
|
12628
|
+
label: string;
|
|
12629
|
+
disabled?: boolean | undefined;
|
|
12630
|
+
}[] | undefined;
|
|
12631
|
+
value?: string[] | undefined;
|
|
12632
|
+
onCreate?: ((args_0: {
|
|
12633
|
+
id: string;
|
|
12634
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12635
|
+
onDestroy?: ((args_0: {
|
|
12636
|
+
id: string;
|
|
12637
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12638
|
+
label?: string | undefined;
|
|
12639
|
+
onChange?: ((args_0: {
|
|
12640
|
+
value: string[];
|
|
12641
|
+
id: string;
|
|
12642
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12643
|
+
} | {
|
|
12644
|
+
type: "RadioGroup";
|
|
12645
|
+
id: string;
|
|
12646
|
+
options?: {
|
|
12647
|
+
value: string;
|
|
12648
|
+
label: string;
|
|
12649
|
+
disabled?: boolean | undefined;
|
|
12650
|
+
}[] | undefined;
|
|
12651
|
+
value?: string | undefined;
|
|
12652
|
+
onCreate?: ((args_0: {
|
|
12653
|
+
id: string;
|
|
12654
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12655
|
+
onDestroy?: ((args_0: {
|
|
12656
|
+
id: string;
|
|
12657
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12658
|
+
label?: string | undefined;
|
|
12659
|
+
onChange?: ((args_0: {
|
|
12660
|
+
id: string;
|
|
12661
|
+
value?: string | undefined;
|
|
12662
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12663
|
+
} | {
|
|
12664
|
+
type: "ToggleGroup";
|
|
12665
|
+
id: string;
|
|
12666
|
+
options?: {
|
|
12667
|
+
value: string;
|
|
12668
|
+
label: string;
|
|
12669
|
+
disabled?: boolean | undefined;
|
|
12670
|
+
}[] | undefined;
|
|
12671
|
+
value?: string[] | undefined;
|
|
12672
|
+
onCreate?: ((args_0: {
|
|
12673
|
+
id: string;
|
|
12674
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12675
|
+
onDestroy?: ((args_0: {
|
|
12676
|
+
id: string;
|
|
12677
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12678
|
+
label?: string | undefined;
|
|
12679
|
+
onChange?: ((args_0: {
|
|
12680
|
+
value: string[];
|
|
12681
|
+
id: string;
|
|
12682
|
+
}, ...args: unknown[]) => void) | undefined;
|
|
12683
|
+
alignment?: "start" | "end" | undefined;
|
|
11619
12684
|
} | {
|
|
11620
12685
|
type: "Grid";
|
|
11621
12686
|
id: string;
|
|
11622
|
-
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate)[] | undefined;
|
|
12687
|
+
items?: (UIButtonElementCreate | UITextElementCreate | UIDividerElementCreate | UITextInputElementCreate | UISelectElementCreate | UIFlexibleSpaceElementCreate | UIButtonRowElementCreate | UICheckboxGroupElementCreate | UIRadioGroupElementCreate | UIToggleGroupElementCreate)[] | undefined;
|
|
11623
12688
|
onCreate?: ((args_0: {
|
|
11624
12689
|
id: string;
|
|
11625
12690
|
}, ...args: unknown[]) => void) | undefined;
|
|
@@ -12454,4 +13519,4 @@ interface FeltController extends ViewportController, UiController, LayersControl
|
|
|
12454
13519
|
iframe: HTMLIFrameElement | null;
|
|
12455
13520
|
}
|
|
12456
13521
|
|
|
12457
|
-
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
|
|
13522
|
+
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 };
|